Skip to content

Commit d8aa4b7

Browse files
chore: update client instance refactor (#22)
Because - we need to update client instance to manage all `.env` This commit - updated client instance refactor
1 parent 4961eaa commit d8aa4b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+5441
-5557
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ MODEL_BACKEND_BASE_URL=http://localhost:8083
8585
| function | params |
8686
| :------------------------------------ | :----------------------------------------------------------: |
8787
| listPipelinesQuery | pageSize, nextPageToken, accessToken |
88-
| listUserPipelinesQuery | pageSize, nextPageToken, accessToken, userName |
88+
| listUserPipelinesQuery | pageSize, nextPageToken, userName |
8989
| getUserPipelineQuery | pipelineName, accessToken |
9090
| ListUserPipelineReleasesQuery | userName, pipelineName, pageSize, nextPageToken, accessToken |
9191
| getUserPipelineReleaseQuery | pipelineReleaseName, accessToken |
@@ -97,19 +97,19 @@ MODEL_BACKEND_BASE_URL=http://localhost:8083
9797
| createUserPipelineReleaseMutation | pipelineName, payload, accessToken |
9898
| updateUserPipelineReleaseMutation | pipelineReleaseName, payload, accessToken |
9999
| deleteUserPipelineReleaseMutation | pipelineReleaseName, accessToken |
100-
| triggerUserPipelineAction | pipelineName, payload, accessToken, returnTraces |
101-
| triggerAsyncUserPipelineAction | pipelineName, payload, accessToken, returnTraces |
100+
| triggerUserPipelineAction | pipelineName, payload, returnTraces |
101+
| triggerAsyncUserPipelineAction | pipelineName, payload, returnTraces |
102102
| setDefaultUserPipelineReleaseMutation | pipelineReleaseName, accessToken |
103103
| restoreUserPipelineReleaseMutation | pipelineReleaseName, accessToken |
104-
| triggerUserPipelineReleaseAction | pipelineReleaseName, payload, accessToken, returnTraces |
105-
| triggerAsyncUserPipelineReleaseAction | pipelineReleaseName, payload, accessToken, returnTraces |
104+
| triggerUserPipelineReleaseAction | pipelineReleaseName, payload, returnTraces |
105+
| triggerAsyncUserPipelineReleaseAction | pipelineReleaseName, payload, returnTraces |
106106

107107
### Connector
108108

109109
| function | params |
110110
| :---------------------------------------- | :----------------------------------------------------: |
111-
| listConnectorResourcesQuery | userName, pageSize, nextPageToken, accessToken, filter |
112-
| listUserConnectorResourcesQuery | pageSize, nextPageToken, accessToken, filter |
111+
| listConnectorResourcesQuery | userName, pageSize, nextPageToken, filter |
112+
| listUserConnectorResourcesQuery | pageSize, nextPageToken, filter |
113113
| listConnectorDefinitionsQuery | connectorDefinitionName, accessToken |
114114
| getConnectorDefinitionQuery | connectorDefinitionName, accessToken |
115115
| getUserConnectorResourceQuery | connectorDefinitionName, accessToken |
@@ -126,11 +126,11 @@ MODEL_BACKEND_BASE_URL=http://localhost:8083
126126

127127
| function | params |
128128
| :------------------------------ | :------------------------------------------: |
129-
| listPipelineTriggerRecordsQuery | pageSize, nextPageToken, accessToken, filter |
130-
| listTriggeredPipelineQuery | pageSize, nextPageToken, accessToken, filter |
131-
| listTriggeredPipelineChartQuery | pageSize, nextPageToken, accessToken, filter |
129+
| listPipelineTriggerRecordsQuery | pageSize, nextPageToken, filter |
130+
| listTriggeredPipelineQuery | pageSize, nextPageToken, filter |
131+
| listTriggeredPipelineChartQuery | pageSize, nextPageToken, filter |
132132

133-
modelDefinitionName, accessToken,
133+
modelDefinitionName,
134134

135135
### Model
136136

File renamed without changes.

examples/my-app/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
20+
21+
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
22+
23+
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
24+
25+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
26+
27+
## Learn More
28+
29+
To learn more about Next.js, take a look at the following resources:
30+
31+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
32+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
33+
34+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
35+
36+
## Deploy on Vercel
37+
38+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
39+
40+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
File renamed without changes.

examples/my-app/package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "my-app",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"@instill-ai/typescript-sdk": "0.0.8-rc.12",
13+
"next": "latest",
14+
"react": "latest",
15+
"react-dom": "latest"
16+
},
17+
"devDependencies": {
18+
"@types/node": "latest",
19+
"@types/react": "latest",
20+
"@types/react-dom": "latest",
21+
"typescript": "latest"
22+
}
23+
}

0 commit comments

Comments
 (0)