openlayer 0.2.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +1 -9
- package/package.json +1 -1
- package/resources/commits/test-results.d.ts +3 -3
- package/resources/commits/test-results.d.ts.map +1 -1
- package/resources/commits/test-results.js +3 -3
- package/resources/commits/test-results.js.map +1 -1
- package/resources/commits/test-results.mjs +3 -3
- package/resources/commits/test-results.mjs.map +1 -1
- package/resources/inference-pipelines/data.d.ts +4 -4
- package/resources/inference-pipelines/data.d.ts.map +1 -1
- package/resources/inference-pipelines/data.js +3 -3
- package/resources/inference-pipelines/data.js.map +1 -1
- package/resources/inference-pipelines/data.mjs +3 -3
- package/resources/inference-pipelines/data.mjs.map +1 -1
- package/resources/inference-pipelines/index.d.ts +1 -0
- package/resources/inference-pipelines/index.d.ts.map +1 -1
- package/resources/inference-pipelines/index.js +3 -1
- package/resources/inference-pipelines/index.js.map +1 -1
- package/resources/inference-pipelines/index.mjs +1 -0
- package/resources/inference-pipelines/index.mjs.map +1 -1
- package/resources/inference-pipelines/inference-pipelines.d.ts +5 -0
- package/resources/inference-pipelines/inference-pipelines.d.ts.map +1 -1
- package/resources/inference-pipelines/inference-pipelines.js +3 -0
- package/resources/inference-pipelines/inference-pipelines.js.map +1 -1
- package/resources/inference-pipelines/inference-pipelines.mjs +3 -0
- package/resources/inference-pipelines/inference-pipelines.mjs.map +1 -1
- package/resources/inference-pipelines/rows.d.ts +58 -0
- package/resources/inference-pipelines/rows.d.ts.map +1 -0
- package/resources/inference-pipelines/rows.js +22 -0
- package/resources/inference-pipelines/rows.js.map +1 -0
- package/resources/inference-pipelines/rows.mjs +18 -0
- package/resources/inference-pipelines/rows.mjs.map +1 -0
- package/resources/inference-pipelines/test-results.d.ts +3 -7
- package/resources/inference-pipelines/test-results.d.ts.map +1 -1
- package/resources/inference-pipelines/test-results.js +3 -3
- package/resources/inference-pipelines/test-results.js.map +1 -1
- package/resources/inference-pipelines/test-results.mjs +3 -3
- package/resources/inference-pipelines/test-results.mjs.map +1 -1
- package/resources/projects/commits.d.ts +3 -3
- package/resources/projects/commits.d.ts.map +1 -1
- package/resources/projects/commits.js +3 -3
- package/resources/projects/commits.js.map +1 -1
- package/resources/projects/commits.mjs +3 -3
- package/resources/projects/commits.mjs.map +1 -1
- package/resources/projects/inference-pipelines.d.ts +4 -20
- package/resources/projects/inference-pipelines.d.ts.map +1 -1
- package/resources/projects/inference-pipelines.js +6 -6
- package/resources/projects/inference-pipelines.js.map +1 -1
- package/resources/projects/inference-pipelines.mjs +6 -6
- package/resources/projects/inference-pipelines.mjs.map +1 -1
- package/resources/projects/projects.d.ts +2 -63
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/projects/projects.js +1 -1
- package/resources/projects/projects.js.map +1 -1
- package/resources/projects/projects.mjs +1 -1
- package/resources/projects/projects.mjs.map +1 -1
- package/src/resources/commits/test-results.ts +6 -6
- package/src/resources/inference-pipelines/data.ts +5 -5
- package/src/resources/inference-pipelines/index.ts +1 -0
- package/src/resources/inference-pipelines/inference-pipelines.ts +5 -0
- package/src/resources/inference-pipelines/rows.ts +81 -0
- package/src/resources/inference-pipelines/test-results.ts +6 -11
- package/src/resources/projects/commits.ts +6 -6
- package/src/resources/projects/inference-pipelines.ts +8 -28
- package/src/resources/projects/projects.ts +2 -81
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -7,34 +7,34 @@ import * as InferencePipelinesAPI from './inference-pipelines';
|
|
|
7
7
|
|
|
8
8
|
export class InferencePipelines extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Create an inference pipeline
|
|
10
|
+
* Create an inference pipeline in a project.
|
|
11
11
|
*/
|
|
12
12
|
create(
|
|
13
|
-
|
|
13
|
+
projectId: string,
|
|
14
14
|
body: InferencePipelineCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<InferencePipelineCreateResponse> {
|
|
17
|
-
return this._client.post(`/projects/${
|
|
17
|
+
return this._client.post(`/projects/${projectId}/inference-pipelines`, { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* List the inference pipelines in a project.
|
|
22
22
|
*/
|
|
23
23
|
list(
|
|
24
|
-
|
|
24
|
+
projectId: string,
|
|
25
25
|
query?: InferencePipelineListParams,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
27
|
): Core.APIPromise<InferencePipelineListResponse>;
|
|
28
|
-
list(
|
|
28
|
+
list(projectId: string, options?: Core.RequestOptions): Core.APIPromise<InferencePipelineListResponse>;
|
|
29
29
|
list(
|
|
30
|
-
|
|
30
|
+
projectId: string,
|
|
31
31
|
query: InferencePipelineListParams | Core.RequestOptions = {},
|
|
32
32
|
options?: Core.RequestOptions,
|
|
33
33
|
): Core.APIPromise<InferencePipelineListResponse> {
|
|
34
34
|
if (isRequestOptions(query)) {
|
|
35
|
-
return this.list(
|
|
35
|
+
return this.list(projectId, {}, query);
|
|
36
36
|
}
|
|
37
|
-
return this._client.get(`/projects/${
|
|
37
|
+
return this._client.get(`/projects/${projectId}/inference-pipelines`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -110,11 +110,6 @@ export interface InferencePipelineCreateResponse {
|
|
|
110
110
|
* The total number of tests.
|
|
111
111
|
*/
|
|
112
112
|
totalGoalCount: number;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* The storage type.
|
|
116
|
-
*/
|
|
117
|
-
storageType?: 'local' | 's3' | 'gcs' | 'azure';
|
|
118
113
|
}
|
|
119
114
|
|
|
120
115
|
export namespace InferencePipelineCreateResponse {
|
|
@@ -224,11 +219,6 @@ export namespace InferencePipelineListResponse {
|
|
|
224
219
|
* The total number of tests.
|
|
225
220
|
*/
|
|
226
221
|
totalGoalCount: number;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* The storage type.
|
|
230
|
-
*/
|
|
231
|
-
storageType?: 'local' | 's3' | 'gcs' | 'azure';
|
|
232
222
|
}
|
|
233
223
|
|
|
234
224
|
export namespace Item {
|
|
@@ -248,16 +238,6 @@ export interface InferencePipelineCreateParams {
|
|
|
248
238
|
* The inference pipeline name.
|
|
249
239
|
*/
|
|
250
240
|
name: string;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* The reference dataset URI.
|
|
254
|
-
*/
|
|
255
|
-
referenceDatasetUri?: string | null;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* The storage type.
|
|
259
|
-
*/
|
|
260
|
-
storageType?: 'local' | 's3' | 'gcs' | 'azure';
|
|
261
241
|
}
|
|
262
242
|
|
|
263
243
|
export interface InferencePipelineListParams {
|
|
@@ -14,14 +14,14 @@ export class Projects extends APIResource {
|
|
|
14
14
|
);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Create a project
|
|
17
|
+
* Create a project in your workspace.
|
|
18
18
|
*/
|
|
19
19
|
create(body: ProjectCreateParams, options?: Core.RequestOptions): Core.APIPromise<ProjectCreateResponse> {
|
|
20
20
|
return this._client.post('/projects', { body, ...options });
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* List
|
|
24
|
+
* List your workspace's projects.
|
|
25
25
|
*/
|
|
26
26
|
list(query?: ProjectListParams, options?: Core.RequestOptions): Core.APIPromise<ProjectListResponse>;
|
|
27
27
|
list(options?: Core.RequestOptions): Core.APIPromise<ProjectListResponse>;
|
|
@@ -87,11 +87,6 @@ export interface ProjectCreateResponse {
|
|
|
87
87
|
*/
|
|
88
88
|
name: string;
|
|
89
89
|
|
|
90
|
-
/**
|
|
91
|
-
* Whether the project is a sample project or a user-created project.
|
|
92
|
-
*/
|
|
93
|
-
sample: boolean;
|
|
94
|
-
|
|
95
90
|
/**
|
|
96
91
|
* The source of the project.
|
|
97
92
|
*/
|
|
@@ -118,26 +113,6 @@ export interface ProjectCreateResponse {
|
|
|
118
113
|
description?: string | null;
|
|
119
114
|
|
|
120
115
|
gitRepo?: ProjectCreateResponse.GitRepo | null;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* The slack channel id connected to the project.
|
|
124
|
-
*/
|
|
125
|
-
slackChannelId?: string | null;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* The slack channel connected to the project.
|
|
129
|
-
*/
|
|
130
|
-
slackChannelName?: string | null;
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Whether slack channel notifications are enabled for the project.
|
|
134
|
-
*/
|
|
135
|
-
slackChannelNotificationsEnabled?: boolean;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* The number of unread notifications in the project.
|
|
139
|
-
*/
|
|
140
|
-
unreadNotificationCount?: number;
|
|
141
116
|
}
|
|
142
117
|
|
|
143
118
|
export namespace ProjectCreateResponse {
|
|
@@ -255,11 +230,6 @@ export namespace ProjectListResponse {
|
|
|
255
230
|
*/
|
|
256
231
|
name: string;
|
|
257
232
|
|
|
258
|
-
/**
|
|
259
|
-
* Whether the project is a sample project or a user-created project.
|
|
260
|
-
*/
|
|
261
|
-
sample: boolean;
|
|
262
|
-
|
|
263
233
|
/**
|
|
264
234
|
* The source of the project.
|
|
265
235
|
*/
|
|
@@ -286,26 +256,6 @@ export namespace ProjectListResponse {
|
|
|
286
256
|
description?: string | null;
|
|
287
257
|
|
|
288
258
|
gitRepo?: Item.GitRepo | null;
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* The slack channel id connected to the project.
|
|
292
|
-
*/
|
|
293
|
-
slackChannelId?: string | null;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* The slack channel connected to the project.
|
|
297
|
-
*/
|
|
298
|
-
slackChannelName?: string | null;
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Whether slack channel notifications are enabled for the project.
|
|
302
|
-
*/
|
|
303
|
-
slackChannelNotificationsEnabled?: boolean;
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* The number of unread notifications in the project.
|
|
307
|
-
*/
|
|
308
|
-
unreadNotificationCount?: number;
|
|
309
259
|
}
|
|
310
260
|
|
|
311
261
|
export namespace Item {
|
|
@@ -359,35 +309,6 @@ export interface ProjectCreateParams {
|
|
|
359
309
|
* The project description.
|
|
360
310
|
*/
|
|
361
311
|
description?: string | null;
|
|
362
|
-
|
|
363
|
-
gitRepo?: ProjectCreateParams.GitRepo | null;
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* The slack channel id connected to the project.
|
|
367
|
-
*/
|
|
368
|
-
slackChannelId?: string | null;
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* The slack channel connected to the project.
|
|
372
|
-
*/
|
|
373
|
-
slackChannelName?: string | null;
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* Whether slack channel notifications are enabled for the project.
|
|
377
|
-
*/
|
|
378
|
-
slackChannelNotificationsEnabled?: boolean;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
export namespace ProjectCreateParams {
|
|
382
|
-
export interface GitRepo {
|
|
383
|
-
gitAccountId: string;
|
|
384
|
-
|
|
385
|
-
gitId: number;
|
|
386
|
-
|
|
387
|
-
branch?: string;
|
|
388
|
-
|
|
389
|
-
rootDir?: string;
|
|
390
|
-
}
|
|
391
312
|
}
|
|
392
313
|
|
|
393
314
|
export interface ProjectListParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.4.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.4.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|