@spec0/sdk-public-platform 1.5.1 → 1.8.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/dist/generated/models/PublicPublishRequestV1.d.ts +25 -0
- package/dist/generated/models/PublicPublishRequestV1.d.ts.map +1 -1
- package/dist/generated/models/PublicPublishResponseV1.d.ts +6 -0
- package/dist/generated/models/PublicPublishResponseV1.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/models/PublicPublishRequestV1.ts +25 -0
- package/src/generated/models/PublicPublishResponseV1.ts +6 -0
|
@@ -67,5 +67,30 @@ export type PublicPublishRequestV1 = {
|
|
|
67
67
|
*
|
|
68
68
|
*/
|
|
69
69
|
clientName?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Provenance of this public API. AUTHORED — the publishing org owns the
|
|
72
|
+
* contract. MIRRORED — an official third-party spec republished by the
|
|
73
|
+
* showcase mirror pipeline; carries origin attribution and is admission-gated
|
|
74
|
+
* by lint score at publish time. Immutable after create (differing source →
|
|
75
|
+
* 409). Omitted = keep the existing value (AUTHORED on create).
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
source?: 'AUTHORED' | 'MIRRORED';
|
|
79
|
+
/**
|
|
80
|
+
* MIRRORED only — URL of the official spec document this API mirrors
|
|
81
|
+
*/
|
|
82
|
+
originUrl?: string;
|
|
83
|
+
/**
|
|
84
|
+
* MIRRORED only — the company/organisation that owns the API
|
|
85
|
+
*/
|
|
86
|
+
originOwner?: string;
|
|
87
|
+
/**
|
|
88
|
+
* MIRRORED only — SPDX id of the origin spec's license
|
|
89
|
+
*/
|
|
90
|
+
originLicense?: string;
|
|
91
|
+
/**
|
|
92
|
+
* MIRRORED only — the producer's official developer docs URL
|
|
93
|
+
*/
|
|
94
|
+
originDocsUrl?: string;
|
|
70
95
|
};
|
|
71
96
|
//# sourceMappingURL=PublicPublishRequestV1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicPublishRequestV1.d.ts","sourceRoot":"","sources":["../../../src/generated/models/PublicPublishRequestV1.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"PublicPublishRequestV1.d.ts","sourceRoot":"","sources":["../../../src/generated/models/PublicPublishRequestV1.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -10,5 +10,11 @@ export type PublicPublishResponseV1 = {
|
|
|
10
10
|
created?: boolean;
|
|
11
11
|
versionCreated?: boolean;
|
|
12
12
|
publicUrl?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Lint score (0-100) computed synchronously for MIRRORED publishes at the
|
|
15
|
+
* admission gate. Null for AUTHORED publishes (scored asynchronously).
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
lintScore?: number;
|
|
13
19
|
};
|
|
14
20
|
//# sourceMappingURL=PublicPublishResponseV1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicPublishResponseV1.d.ts","sourceRoot":"","sources":["../../../src/generated/models/PublicPublishResponseV1.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"PublicPublishResponseV1.d.ts","sourceRoot":"","sources":["../../../src/generated/models/PublicPublishResponseV1.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spec0/sdk-public-platform",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "TypeScript SDK for Spec0's public API surface (https://app.spec0.io). Generated from the OpenAPI spec published at spec0/spec0-platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -71,5 +71,30 @@ export type PublicPublishRequestV1 = {
|
|
|
71
71
|
*
|
|
72
72
|
*/
|
|
73
73
|
clientName?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Provenance of this public API. AUTHORED — the publishing org owns the
|
|
76
|
+
* contract. MIRRORED — an official third-party spec republished by the
|
|
77
|
+
* showcase mirror pipeline; carries origin attribution and is admission-gated
|
|
78
|
+
* by lint score at publish time. Immutable after create (differing source →
|
|
79
|
+
* 409). Omitted = keep the existing value (AUTHORED on create).
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
source?: 'AUTHORED' | 'MIRRORED';
|
|
83
|
+
/**
|
|
84
|
+
* MIRRORED only — URL of the official spec document this API mirrors
|
|
85
|
+
*/
|
|
86
|
+
originUrl?: string;
|
|
87
|
+
/**
|
|
88
|
+
* MIRRORED only — the company/organisation that owns the API
|
|
89
|
+
*/
|
|
90
|
+
originOwner?: string;
|
|
91
|
+
/**
|
|
92
|
+
* MIRRORED only — SPDX id of the origin spec's license
|
|
93
|
+
*/
|
|
94
|
+
originLicense?: string;
|
|
95
|
+
/**
|
|
96
|
+
* MIRRORED only — the producer's official developer docs URL
|
|
97
|
+
*/
|
|
98
|
+
originDocsUrl?: string;
|
|
74
99
|
};
|
|
75
100
|
|
|
@@ -14,5 +14,11 @@ export type PublicPublishResponseV1 = {
|
|
|
14
14
|
created?: boolean;
|
|
15
15
|
versionCreated?: boolean;
|
|
16
16
|
publicUrl?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Lint score (0-100) computed synchronously for MIRRORED publishes at the
|
|
19
|
+
* admission gate. Null for AUTHORED publishes (scored asynchronously).
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
lintScore?: number;
|
|
17
23
|
};
|
|
18
24
|
|