openlayer 0.10.2 → 0.11.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 +16 -0
- package/LICENSE +1 -1
- package/index.d.mts +2 -2
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/commits/commits.d.ts +128 -0
- package/resources/commits/commits.d.ts.map +1 -1
- package/resources/commits/commits.js +6 -0
- package/resources/commits/commits.js.map +1 -1
- package/resources/commits/commits.mjs +6 -0
- package/resources/commits/commits.mjs.map +1 -1
- package/resources/commits/index.d.ts +1 -1
- package/resources/commits/index.d.ts.map +1 -1
- package/resources/commits/index.js.map +1 -1
- package/resources/commits/index.mjs.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/src/index.ts +2 -2
- package/src/resources/commits/commits.ts +161 -0
- package/src/resources/commits/index.ts +1 -1
- package/src/resources/index.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0 (2025-03-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.10.3...v0.11.0](https://github.com/openlayer-ai/openlayer-ts/compare/v0.10.3...v0.11.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add endpoint to retrieve commit by id ([#103](https://github.com/openlayer-ai/openlayer-ts/issues/103)) ([5247899](https://github.com/openlayer-ai/openlayer-ts/commit/52478996d3008109c42e9b4f0e11c206717474ac))
|
|
10
|
+
|
|
11
|
+
## 0.10.3 (2025-01-01)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.10.2...v0.10.3](https://github.com/openlayer-ai/openlayer-ts/compare/v0.10.2...v0.10.3)
|
|
14
|
+
|
|
15
|
+
### Chores
|
|
16
|
+
|
|
17
|
+
* **internal:** version bump ([#101](https://github.com/openlayer-ai/openlayer-ts/issues/101)) ([5d4e0ad](https://github.com/openlayer-ai/openlayer-ts/commit/5d4e0ad5a119b8c81b62b8dd918082bcd00dabc8))
|
|
18
|
+
|
|
3
19
|
## 0.10.2 (2024-12-21)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.10.1...v0.10.2](https://github.com/openlayer-ai/openlayer-ts/compare/v0.10.1...v0.10.2)
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2025 Openlayer
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as Core from "./core.js";
|
|
|
3
3
|
import * as Errors from "./error.js";
|
|
4
4
|
import * as Uploads from "./uploads.js";
|
|
5
5
|
import * as API from "./resources/index.js";
|
|
6
|
-
import { Commits } from "./resources/commits/commits.js";
|
|
6
|
+
import { CommitRetrieveResponse, Commits } from "./resources/commits/commits.js";
|
|
7
7
|
import { InferencePipelineRetrieveParams, InferencePipelineRetrieveResponse, InferencePipelineUpdateParams, InferencePipelineUpdateResponse, InferencePipelines } from "./resources/inference-pipelines/inference-pipelines.js";
|
|
8
8
|
import { ProjectCreateParams, ProjectCreateResponse, ProjectListParams, ProjectListResponse, Projects } from "./resources/projects/projects.js";
|
|
9
9
|
import { Storage } from "./resources/storage/storage.js";
|
|
@@ -111,7 +111,7 @@ export declare class Openlayer extends Core.APIClient {
|
|
|
111
111
|
export declare namespace Openlayer {
|
|
112
112
|
export type RequestOptions = Core.RequestOptions;
|
|
113
113
|
export { Projects as Projects, type ProjectCreateResponse as ProjectCreateResponse, type ProjectListResponse as ProjectListResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectListParams as ProjectListParams, };
|
|
114
|
-
export { Commits as Commits };
|
|
114
|
+
export { Commits as Commits, type CommitRetrieveResponse as CommitRetrieveResponse };
|
|
115
115
|
export { InferencePipelines as InferencePipelines, type InferencePipelineRetrieveResponse as InferencePipelineRetrieveResponse, type InferencePipelineUpdateResponse as InferencePipelineUpdateResponse, type InferencePipelineRetrieveParams as InferencePipelineRetrieveParams, type InferencePipelineUpdateParams as InferencePipelineUpdateParams, };
|
|
116
116
|
export { Storage as Storage };
|
|
117
117
|
}
|
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as Core from "./core.js";
|
|
|
3
3
|
import * as Errors from "./error.js";
|
|
4
4
|
import * as Uploads from "./uploads.js";
|
|
5
5
|
import * as API from "./resources/index.js";
|
|
6
|
-
import { Commits } from "./resources/commits/commits.js";
|
|
6
|
+
import { CommitRetrieveResponse, Commits } from "./resources/commits/commits.js";
|
|
7
7
|
import { InferencePipelineRetrieveParams, InferencePipelineRetrieveResponse, InferencePipelineUpdateParams, InferencePipelineUpdateResponse, InferencePipelines } from "./resources/inference-pipelines/inference-pipelines.js";
|
|
8
8
|
import { ProjectCreateParams, ProjectCreateResponse, ProjectListParams, ProjectListResponse, Projects } from "./resources/projects/projects.js";
|
|
9
9
|
import { Storage } from "./resources/storage/storage.js";
|
|
@@ -111,7 +111,7 @@ export declare class Openlayer extends Core.APIClient {
|
|
|
111
111
|
export declare namespace Openlayer {
|
|
112
112
|
export type RequestOptions = Core.RequestOptions;
|
|
113
113
|
export { Projects as Projects, type ProjectCreateResponse as ProjectCreateResponse, type ProjectListResponse as ProjectListResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectListParams as ProjectListParams, };
|
|
114
|
-
export { Commits as Commits };
|
|
114
|
+
export { Commits as Commits, type CommitRetrieveResponse as CommitRetrieveResponse };
|
|
115
115
|
export { InferencePipelines as InferencePipelines, type InferencePipelineRetrieveResponse as InferencePipelineRetrieveResponse, type InferencePipelineUpdateResponse as InferencePipelineUpdateResponse, type InferencePipelineRetrieveParams as InferencePipelineRetrieveParams, type InferencePipelineUpdateParams as InferencePipelineUpdateParams, };
|
|
116
116
|
export { Storage as Storage };
|
|
117
117
|
}
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EACL,+BAA+B,EAC/B,iCAAiC,EACjC,6BAA6B,EAC7B,+BAA+B,EAC/B,kBAAkB,EACnB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACT,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,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KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,eAAe,SAAS,CAAC"}
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,2DAAoC;AACpC,gDAA+B;AAC/B,mDAAkC;AAClC,sDAAqC;AACrC,0DAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,2DAAoC;AACpC,gDAA+B;AAC/B,mDAAkC;AAClC,sDAAqC;AACrC,0DAAyC;AACzC,4DAA8E;AAC9E,gGAM6D;AAC7D,+DAMuC;AACvC,4DAAsD;AAiEtD;;GAEG;AACH,MAAa,SAAU,SAAQ,IAAI,CAAC,SAAS;IAK3C;;;;;;;;;;;OAWG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAC5C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,IAAI,EAClD,GAAG,IAAI,KACU,EAAE;QACnB,MAAM,OAAO,GAAkB;YAC7B,MAAM;YACN,GAAG,IAAI;YACP,OAAO,EAAE,OAAO,IAAI,8BAA8B;SACnD,CAAC;QAEF,KAAK,C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uGAAA,cAAc,OAAA;AACd,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA;AAG1B,kBAAe,SAAS,CAAC"}
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,EAAE;OACP,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,EAAE;OACP,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAA0B,OAAO,EAAE;OACnC,EAKL,kBAAkB,GACnB;OACM,EAKL,QAAQ,GACT;OACM,EAAE,OAAO,EAAE;AAiElB;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,IAAI,CAAC,SAAS;IAK3C;;;;;;;;;;;OAWG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAC5C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,IAAI,EAClD,GAAG,IAAI,KACU,EAAE;QACnB,MAAM,OAAO,GAAkB;YAC7B,MAAM;YACN,GAAG,IAAI;YACP,OAAO,EAAE,OAAO,IAAI,8BAA8B;SACnD,CAAC;QAEF,KAAK,CAAC;YACJ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,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;AAED,eAAe,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,138 @@
|
|
|
1
1
|
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
2
3
|
import * as TestResultsAPI from "./test-results.js";
|
|
3
4
|
import { TestResultListParams, TestResultListResponse, TestResults } from "./test-results.js";
|
|
4
5
|
export declare class Commits extends APIResource {
|
|
5
6
|
testResults: TestResultsAPI.TestResults;
|
|
7
|
+
/**
|
|
8
|
+
* Retrieve a project version (commit) by its id.
|
|
9
|
+
*/
|
|
10
|
+
retrieve(projectVersionId: string, options?: Core.RequestOptions): Core.APIPromise<CommitRetrieveResponse>;
|
|
11
|
+
}
|
|
12
|
+
export interface CommitRetrieveResponse {
|
|
13
|
+
/**
|
|
14
|
+
* The project version (commit) id.
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* The details of a commit (project version).
|
|
19
|
+
*/
|
|
20
|
+
commit: CommitRetrieveResponse.Commit;
|
|
21
|
+
/**
|
|
22
|
+
* The commit archive date.
|
|
23
|
+
*/
|
|
24
|
+
dateArchived: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The project version (commit) creation date.
|
|
27
|
+
*/
|
|
28
|
+
dateCreated: string;
|
|
29
|
+
/**
|
|
30
|
+
* The number of tests that are failing for the commit.
|
|
31
|
+
*/
|
|
32
|
+
failingGoalCount: number;
|
|
33
|
+
/**
|
|
34
|
+
* The model id.
|
|
35
|
+
*/
|
|
36
|
+
mlModelId: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The number of tests that are passing for the commit.
|
|
39
|
+
*/
|
|
40
|
+
passingGoalCount: number;
|
|
41
|
+
/**
|
|
42
|
+
* The project id.
|
|
43
|
+
*/
|
|
44
|
+
projectId: string;
|
|
45
|
+
/**
|
|
46
|
+
* The commit status. Initially, the commit is `queued`, then, it switches to
|
|
47
|
+
* `running`. Finally, it can be `paused`, `failed`, or `completed`.
|
|
48
|
+
*/
|
|
49
|
+
status: 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown';
|
|
50
|
+
/**
|
|
51
|
+
* The commit status message.
|
|
52
|
+
*/
|
|
53
|
+
statusMessage: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* The total number of tests for the commit.
|
|
56
|
+
*/
|
|
57
|
+
totalGoalCount: number;
|
|
58
|
+
/**
|
|
59
|
+
* The training dataset id.
|
|
60
|
+
*/
|
|
61
|
+
trainingDatasetId: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The validation dataset id.
|
|
64
|
+
*/
|
|
65
|
+
validationDatasetId: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the commit is archived.
|
|
68
|
+
*/
|
|
69
|
+
archived?: boolean | null;
|
|
70
|
+
/**
|
|
71
|
+
* The deployment status associated with the commit's model.
|
|
72
|
+
*/
|
|
73
|
+
deploymentStatus?: string;
|
|
74
|
+
links?: CommitRetrieveResponse.Links;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace CommitRetrieveResponse {
|
|
77
|
+
/**
|
|
78
|
+
* The details of a commit (project version).
|
|
79
|
+
*/
|
|
80
|
+
interface Commit {
|
|
81
|
+
/**
|
|
82
|
+
* The commit id.
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
/**
|
|
86
|
+
* The author id of the commit.
|
|
87
|
+
*/
|
|
88
|
+
authorId: string;
|
|
89
|
+
/**
|
|
90
|
+
* The size of the commit bundle in bytes.
|
|
91
|
+
*/
|
|
92
|
+
fileSize: number | null;
|
|
93
|
+
/**
|
|
94
|
+
* The commit message.
|
|
95
|
+
*/
|
|
96
|
+
message: string;
|
|
97
|
+
/**
|
|
98
|
+
* The model id.
|
|
99
|
+
*/
|
|
100
|
+
mlModelId: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* The storage URI where the commit bundle is stored.
|
|
103
|
+
*/
|
|
104
|
+
storageUri: string;
|
|
105
|
+
/**
|
|
106
|
+
* The training dataset id.
|
|
107
|
+
*/
|
|
108
|
+
trainingDatasetId: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* The validation dataset id.
|
|
111
|
+
*/
|
|
112
|
+
validationDatasetId: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* The commit creation date.
|
|
115
|
+
*/
|
|
116
|
+
dateCreated?: string;
|
|
117
|
+
/**
|
|
118
|
+
* The ref of the corresponding git commit.
|
|
119
|
+
*/
|
|
120
|
+
gitCommitRef?: string;
|
|
121
|
+
/**
|
|
122
|
+
* The SHA of the corresponding git commit.
|
|
123
|
+
*/
|
|
124
|
+
gitCommitSha?: number;
|
|
125
|
+
/**
|
|
126
|
+
* The URL of the corresponding git commit.
|
|
127
|
+
*/
|
|
128
|
+
gitCommitUrl?: string;
|
|
129
|
+
}
|
|
130
|
+
interface Links {
|
|
131
|
+
app: string;
|
|
132
|
+
}
|
|
6
133
|
}
|
|
7
134
|
export declare namespace Commits {
|
|
135
|
+
export { type CommitRetrieveResponse as CommitRetrieveResponse };
|
|
8
136
|
export { TestResults as TestResults, type TestResultListResponse as TestResultListResponse, type TestResultListParams as TestResultListParams, };
|
|
9
137
|
}
|
|
10
138
|
//# sourceMappingURL=commits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commits.d.ts","sourceRoot":"","sources":["../../src/resources/commits/commits.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,cAAc,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE3F,qBAAa,OAAQ,SAAQ,WAAW;IACtC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;
|
|
1
|
+
{"version":3,"file":"commits.d.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EnC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,sBAAsB,CAAC,KAAK,CAAC;CACtC;AAED,yBAAiB,sBAAsB,CAAC;IACtC;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;QAEjC;;WAEG;QACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,KAAK;QACpB,GAAG,EAAE,MAAM,CAAC;KACb;CACF;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,sBAAsB,IAAI,sBAAsB,EAAE,CAAC;IAEjE,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -33,6 +33,12 @@ class Commits extends resource_1.APIResource {
|
|
|
33
33
|
super(...arguments);
|
|
34
34
|
this.testResults = new TestResultsAPI.TestResults(this._client);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Retrieve a project version (commit) by its id.
|
|
38
|
+
*/
|
|
39
|
+
retrieve(projectVersionId, options) {
|
|
40
|
+
return this._client.get(`/versions/${projectVersionId}`, options);
|
|
41
|
+
}
|
|
36
42
|
}
|
|
37
43
|
exports.Commits = Commits;
|
|
38
44
|
Commits.TestResults = test_results_1.TestResults;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commits.js","sourceRoot":"","sources":["../../src/resources/commits/commits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;
|
|
1
|
+
{"version":3,"file":"commits.js","sourceRoot":"","sources":["../../src/resources/commits/commits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAE7C,kEAAiD;AACjD,oDAA2F;AAE3F,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQzF,CAAC;IANC;;OAEG;IACH,QAAQ,CAAC,gBAAwB,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,gBAAgB,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AATD,0BASC;AAyJD,OAAO,CAAC,WAAW,GAAG,0BAAW,CAAC"}
|
|
@@ -7,6 +7,12 @@ export class Commits extends APIResource {
|
|
|
7
7
|
super(...arguments);
|
|
8
8
|
this.testResults = new TestResultsAPI.TestResults(this._client);
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Retrieve a project version (commit) by its id.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(projectVersionId, options) {
|
|
14
|
+
return this._client.get(`/versions/${projectVersionId}`, options);
|
|
15
|
+
}
|
|
10
16
|
}
|
|
11
17
|
Commits.TestResults = TestResults;
|
|
12
18
|
//# sourceMappingURL=commits.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commits.mjs","sourceRoot":"","sources":["../../src/resources/commits/commits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"commits.mjs","sourceRoot":"","sources":["../../src/resources/commits/commits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,cAAc;OACnB,EAAgD,WAAW,EAAE;AAEpE,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQzF,CAAC;IANC;;OAEG;IACH,QAAQ,CAAC,gBAAwB,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,gBAAgB,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAyJD,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/commits/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/commits/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/commits/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/commits/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAiE;AAAxD,kGAAA,OAAO,OAAA;AAChB,kDAAqG;AAA5F,2GAAA,WAAW,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/commits/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/commits/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA+B;OACxC,EAAE,WAAW,EAA0D"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Commits } from "./commits/commits.js";
|
|
1
|
+
export { Commits, type CommitRetrieveResponse } from "./commits/commits.js";
|
|
2
2
|
export { InferencePipelines, type InferencePipelineRetrieveResponse, type InferencePipelineUpdateResponse, type InferencePipelineRetrieveParams, type InferencePipelineUpdateParams, } from "./inference-pipelines/inference-pipelines.js";
|
|
3
3
|
export { Projects, type ProjectCreateResponse, type ProjectListResponse, type ProjectCreateParams, type ProjectListParams, } from "./projects/projects.js";
|
|
4
4
|
export { Storage } from "./storage/storage.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EACL,kBAAkB,EAClB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAyE;AAAhE,kGAAA,OAAO,OAAA;AAChB,oFAMmD;AALjD,yHAAA,kBAAkB,OAAA;AAMpB,mDAM6B;AAL3B,oGAAA,QAAQ,OAAA;AAMV,gDAA4C;AAAnC,kGAAA,OAAO,OAAA"}
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA+B;OACxC,EACL,kBAAkB,GAKnB;OACM,EACL,QAAQ,GAKT;OACM,EAAE,OAAO,EAAE"}
|
package/src/index.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as Core from './core';
|
|
|
6
6
|
import * as Errors from './error';
|
|
7
7
|
import * as Uploads from './uploads';
|
|
8
8
|
import * as API from './resources/index';
|
|
9
|
-
import { Commits } from './resources/commits/commits';
|
|
9
|
+
import { CommitRetrieveResponse, Commits } from './resources/commits/commits';
|
|
10
10
|
import {
|
|
11
11
|
InferencePipelineRetrieveParams,
|
|
12
12
|
InferencePipelineRetrieveResponse,
|
|
@@ -206,7 +206,7 @@ export declare namespace Openlayer {
|
|
|
206
206
|
type ProjectListParams as ProjectListParams,
|
|
207
207
|
};
|
|
208
208
|
|
|
209
|
-
export { Commits as Commits };
|
|
209
|
+
export { Commits as Commits, type CommitRetrieveResponse as CommitRetrieveResponse };
|
|
210
210
|
|
|
211
211
|
export {
|
|
212
212
|
InferencePipelines as InferencePipelines,
|
|
@@ -1,16 +1,177 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
|
+
import * as Core from '../../core';
|
|
4
5
|
import * as TestResultsAPI from './test-results';
|
|
5
6
|
import { TestResultListParams, TestResultListResponse, TestResults } from './test-results';
|
|
6
7
|
|
|
7
8
|
export class Commits extends APIResource {
|
|
8
9
|
testResults: TestResultsAPI.TestResults = new TestResultsAPI.TestResults(this._client);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve a project version (commit) by its id.
|
|
13
|
+
*/
|
|
14
|
+
retrieve(projectVersionId: string, options?: Core.RequestOptions): Core.APIPromise<CommitRetrieveResponse> {
|
|
15
|
+
return this._client.get(`/versions/${projectVersionId}`, options);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface CommitRetrieveResponse {
|
|
20
|
+
/**
|
|
21
|
+
* The project version (commit) id.
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The details of a commit (project version).
|
|
27
|
+
*/
|
|
28
|
+
commit: CommitRetrieveResponse.Commit;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The commit archive date.
|
|
32
|
+
*/
|
|
33
|
+
dateArchived: string | null;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The project version (commit) creation date.
|
|
37
|
+
*/
|
|
38
|
+
dateCreated: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The number of tests that are failing for the commit.
|
|
42
|
+
*/
|
|
43
|
+
failingGoalCount: number;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The model id.
|
|
47
|
+
*/
|
|
48
|
+
mlModelId: string | null;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The number of tests that are passing for the commit.
|
|
52
|
+
*/
|
|
53
|
+
passingGoalCount: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The project id.
|
|
57
|
+
*/
|
|
58
|
+
projectId: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The commit status. Initially, the commit is `queued`, then, it switches to
|
|
62
|
+
* `running`. Finally, it can be `paused`, `failed`, or `completed`.
|
|
63
|
+
*/
|
|
64
|
+
status: 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown';
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The commit status message.
|
|
68
|
+
*/
|
|
69
|
+
statusMessage: string | null;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The total number of tests for the commit.
|
|
73
|
+
*/
|
|
74
|
+
totalGoalCount: number;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The training dataset id.
|
|
78
|
+
*/
|
|
79
|
+
trainingDatasetId: string | null;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The validation dataset id.
|
|
83
|
+
*/
|
|
84
|
+
validationDatasetId: string | null;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Whether the commit is archived.
|
|
88
|
+
*/
|
|
89
|
+
archived?: boolean | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The deployment status associated with the commit's model.
|
|
93
|
+
*/
|
|
94
|
+
deploymentStatus?: string;
|
|
95
|
+
|
|
96
|
+
links?: CommitRetrieveResponse.Links;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export namespace CommitRetrieveResponse {
|
|
100
|
+
/**
|
|
101
|
+
* The details of a commit (project version).
|
|
102
|
+
*/
|
|
103
|
+
export interface Commit {
|
|
104
|
+
/**
|
|
105
|
+
* The commit id.
|
|
106
|
+
*/
|
|
107
|
+
id: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The author id of the commit.
|
|
111
|
+
*/
|
|
112
|
+
authorId: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The size of the commit bundle in bytes.
|
|
116
|
+
*/
|
|
117
|
+
fileSize: number | null;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* The commit message.
|
|
121
|
+
*/
|
|
122
|
+
message: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The model id.
|
|
126
|
+
*/
|
|
127
|
+
mlModelId: string | null;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The storage URI where the commit bundle is stored.
|
|
131
|
+
*/
|
|
132
|
+
storageUri: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The training dataset id.
|
|
136
|
+
*/
|
|
137
|
+
trainingDatasetId: string | null;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The validation dataset id.
|
|
141
|
+
*/
|
|
142
|
+
validationDatasetId: string | null;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The commit creation date.
|
|
146
|
+
*/
|
|
147
|
+
dateCreated?: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The ref of the corresponding git commit.
|
|
151
|
+
*/
|
|
152
|
+
gitCommitRef?: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The SHA of the corresponding git commit.
|
|
156
|
+
*/
|
|
157
|
+
gitCommitSha?: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* The URL of the corresponding git commit.
|
|
161
|
+
*/
|
|
162
|
+
gitCommitUrl?: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface Links {
|
|
166
|
+
app: string;
|
|
167
|
+
}
|
|
9
168
|
}
|
|
10
169
|
|
|
11
170
|
Commits.TestResults = TestResults;
|
|
12
171
|
|
|
13
172
|
export declare namespace Commits {
|
|
173
|
+
export { type CommitRetrieveResponse as CommitRetrieveResponse };
|
|
174
|
+
|
|
14
175
|
export {
|
|
15
176
|
TestResults as TestResults,
|
|
16
177
|
type TestResultListResponse as TestResultListResponse,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { Commits } from './commits';
|
|
3
|
+
export { Commits, type CommitRetrieveResponse } from './commits';
|
|
4
4
|
export { TestResults, type TestResultListResponse, type TestResultListParams } from './test-results';
|
package/src/resources/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { Commits } from './commits/commits';
|
|
3
|
+
export { Commits, type CommitRetrieveResponse } from './commits/commits';
|
|
4
4
|
export {
|
|
5
5
|
InferencePipelines,
|
|
6
6
|
type InferencePipelineRetrieveResponse,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.11.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.11.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.11.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|