@zephytiju/juntai-typescript-sdk 3.3.0 → 3.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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
- Generate Blueprint 3.1.0 from its immutable released OpenAPI and exact OCI/source pins.
|
|
6
|
+
- Add the `artifact_registry` reference variant for authoritative Artifact Registry IDs and separate manifest/payload digests, media type and size.
|
|
7
|
+
- Preserve legacy Artifact and Configuration reference schemas, request routing, idempotency and injected authentication/cancellation behavior.
|
|
8
|
+
|
|
3
9
|
## 3.3.0
|
|
4
10
|
|
|
5
11
|
- Add Prism Composition Service 1.0.0 and Prism Build Service 1.0.0 from their exact released source commits and checksum-verified OpenAPI artifacts.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { createAsset, deprecateVersion, listAssets, type Options, rebuildSearchProjection, registerAssetVersion, resolveVersion, searchBlueprintVersions } from './sdk.gen.js';
|
|
2
|
-
export type { ArtifactReference, Asset, AssetLifecycle, AssetPage, BlueprintVersionDescriptor, BlueprintVersionSummary, BoundedMetadata, ClientOptions, ConfigurationReference, CreateAssetData, CreateAssetError, CreateAssetErrors, CreateAssetRequest, CreateAssetResponse, CreateAssetResponses, DeprecateVersionData, DeprecateVersionError, DeprecateVersionErrors, DeprecateVersionRequest, DeprecateVersionResponse, DeprecateVersionResponses, HealthResponse, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ListAssetsData, ListAssetsError, ListAssetsErrors, ListAssetsResponse, ListAssetsResponses, ProblemDetails, ProjectionRebuildResult, RebuildSearchProjectionData, RebuildSearchProjectionError, RebuildSearchProjectionErrors, RebuildSearchProjectionResponse, RebuildSearchProjectionResponses, RegisterAssetVersionData, RegisterAssetVersionError, RegisterAssetVersionErrors, RegisterAssetVersionRequest, RegisterAssetVersionResponse, RegisterAssetVersionResponses, ResolveVersionData, ResolveVersionError, ResolveVersionErrors, ResolveVersionResponse, ResolveVersionResponses, SearchBlueprintVersionsData, SearchBlueprintVersionsError, SearchBlueprintVersionsErrors, SearchBlueprintVersionsResponse, SearchBlueprintVersionsResponses, SearchPage, SearchRequest, ValidationError, VersionLifecycle, Visibility } from './types.gen.js';
|
|
2
|
+
export type { ArtifactReference, ArtifactRegistryReference, Asset, AssetLifecycle, AssetPage, BlueprintVersionDescriptor, BlueprintVersionSummary, BoundedMetadata, ClientOptions, ConfigurationReference, CreateAssetData, CreateAssetError, CreateAssetErrors, CreateAssetRequest, CreateAssetResponse, CreateAssetResponses, DeprecateVersionData, DeprecateVersionError, DeprecateVersionErrors, DeprecateVersionRequest, DeprecateVersionResponse, DeprecateVersionResponses, HealthResponse, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ListAssetsData, ListAssetsError, ListAssetsErrors, ListAssetsResponse, ListAssetsResponses, ProblemDetails, ProjectionRebuildResult, RebuildSearchProjectionData, RebuildSearchProjectionError, RebuildSearchProjectionErrors, RebuildSearchProjectionResponse, RebuildSearchProjectionResponses, RegisterAssetVersionData, RegisterAssetVersionError, RegisterAssetVersionErrors, RegisterAssetVersionRequest, RegisterAssetVersionResponse, RegisterAssetVersionResponses, ResolveVersionData, ResolveVersionError, ResolveVersionErrors, ResolveVersionResponse, ResolveVersionResponses, SearchBlueprintVersionsData, SearchBlueprintVersionsError, SearchBlueprintVersionsErrors, SearchBlueprintVersionsResponse, SearchBlueprintVersionsResponses, SearchPage, SearchRequest, ValidationError, VersionLifecycle, Visibility } from './types.gen.js';
|
|
@@ -34,6 +34,41 @@ export type ArtifactReference = {
|
|
|
34
34
|
*/
|
|
35
35
|
version: string;
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* ArtifactRegistryReference
|
|
39
|
+
*
|
|
40
|
+
* Canonical Registry identity; selected payload metadata never contains a locator.
|
|
41
|
+
*/
|
|
42
|
+
export type ArtifactRegistryReference = {
|
|
43
|
+
/**
|
|
44
|
+
* Artifact Id
|
|
45
|
+
*/
|
|
46
|
+
artifact_id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Manifest Digest
|
|
49
|
+
*/
|
|
50
|
+
manifest_digest: string;
|
|
51
|
+
/**
|
|
52
|
+
* Media Type
|
|
53
|
+
*/
|
|
54
|
+
media_type: string;
|
|
55
|
+
/**
|
|
56
|
+
* Payload Digest
|
|
57
|
+
*/
|
|
58
|
+
payload_digest: string;
|
|
59
|
+
/**
|
|
60
|
+
* Reference Type
|
|
61
|
+
*/
|
|
62
|
+
reference_type: 'artifact_registry';
|
|
63
|
+
/**
|
|
64
|
+
* Size
|
|
65
|
+
*/
|
|
66
|
+
size: number;
|
|
67
|
+
/**
|
|
68
|
+
* Version Id
|
|
69
|
+
*/
|
|
70
|
+
version_id: string;
|
|
71
|
+
};
|
|
37
72
|
/**
|
|
38
73
|
* Asset
|
|
39
74
|
*/
|
|
@@ -151,7 +186,9 @@ export type BlueprintVersionDescriptor = {
|
|
|
151
186
|
reference_type: 'configuration';
|
|
152
187
|
} & ConfigurationReference) | ({
|
|
153
188
|
reference_type: 'artifact';
|
|
154
|
-
} & ArtifactReference)
|
|
189
|
+
} & ArtifactReference) | ({
|
|
190
|
+
reference_type: 'artifact_registry';
|
|
191
|
+
} & ArtifactRegistryReference);
|
|
155
192
|
lifecycle: VersionLifecycle;
|
|
156
193
|
/**
|
|
157
194
|
* Owning Route Key
|
|
@@ -400,7 +437,9 @@ export type RegisterAssetVersionRequest = {
|
|
|
400
437
|
reference_type: 'configuration';
|
|
401
438
|
} & ConfigurationReference) | ({
|
|
402
439
|
reference_type: 'artifact';
|
|
403
|
-
} & ArtifactReference)
|
|
440
|
+
} & ArtifactReference) | ({
|
|
441
|
+
reference_type: 'artifact_registry';
|
|
442
|
+
} & ArtifactRegistryReference);
|
|
404
443
|
lifecycle?: VersionLifecycle;
|
|
405
444
|
producer_provenance?: BoundedMetadata;
|
|
406
445
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": "juntai.typescript-sdk/release-manifest/v1",
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@zephytiju/juntai-typescript-sdk",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.4.0"
|
|
6
6
|
},
|
|
7
7
|
"openapiLock": {
|
|
8
8
|
"path": "sources/openapi.lock.json",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "5438d8cfc3e6c2e058e08df1b757be6c1b346d0f3ec0efd1c93542810800c636"
|
|
10
10
|
},
|
|
11
11
|
"generator": {
|
|
12
12
|
"name": "@hey-api/openapi-ts",
|
|
@@ -86,17 +86,17 @@
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"serviceId": "platform.blueprint",
|
|
89
|
-
"serviceVersion": "3.
|
|
89
|
+
"serviceVersion": "3.1.0",
|
|
90
90
|
"ownerRepository": "https://github.com/zephytiju/JuntaiBlueprintMarketplace",
|
|
91
|
-
"sourceCommit": "
|
|
92
|
-
"artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:
|
|
93
|
-
"artifactManifestDigest": "sha256:
|
|
91
|
+
"sourceCommit": "410390b349a50490ec9ee5fff4ffc730a08fc27a",
|
|
92
|
+
"artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
|
|
93
|
+
"artifactManifestDigest": "sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
|
|
94
94
|
"openapiPath": "contracts/openapi/blueprint-service.v1.json",
|
|
95
|
-
"openapiSha256": "
|
|
95
|
+
"openapiSha256": "413bb1d84c780416266d7b576b8accc1f47330b03171199c09ddc776cda34135",
|
|
96
96
|
"generatorProfile": "juntai.fuse.openapi/v1",
|
|
97
97
|
"namespace": "platformBlueprint",
|
|
98
98
|
"outputPath": "src/generated/platform.blueprint",
|
|
99
|
-
"outputSha256": "
|
|
99
|
+
"outputSha256": "c105bd4b22a250d5f1a759c675140aa67b30f000f5be6f1aa0e1111c75743522"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"serviceId": "platform.iam",
|
package/package.json
CHANGED
|
@@ -105,20 +105,20 @@
|
|
|
105
105
|
"serviceId": "platform.blueprint",
|
|
106
106
|
"ownerTeam": "Juntai Platform Team",
|
|
107
107
|
"ownerRepository": "https://github.com/zephytiju/JuntaiBlueprintMarketplace",
|
|
108
|
-
"sourceCommit": "
|
|
109
|
-
"serviceVersion": "3.
|
|
110
|
-
"artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:
|
|
111
|
-
"artifactManifestDigest": "sha256:
|
|
108
|
+
"sourceCommit": "410390b349a50490ec9ee5fff4ffc730a08fc27a",
|
|
109
|
+
"serviceVersion": "3.1.0",
|
|
110
|
+
"artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
|
|
111
|
+
"artifactManifestDigest": "sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
|
|
112
112
|
"openapiPath": "contracts/openapi/blueprint-service.v1.json",
|
|
113
|
-
"openapiSha256": "
|
|
114
|
-
"snapshotPath": "sources/artifacts/platform.blueprint/
|
|
113
|
+
"openapiSha256": "413bb1d84c780416266d7b576b8accc1f47330b03171199c09ddc776cda34135",
|
|
114
|
+
"snapshotPath": "sources/artifacts/platform.blueprint/413bb1d84c780416266d7b576b8accc1f47330b03171199c09ddc776cda34135.json",
|
|
115
115
|
"generatorName": "@hey-api/openapi-ts",
|
|
116
116
|
"generatorVersion": "0.99.0",
|
|
117
117
|
"generatorProfile": "juntai.fuse.openapi/v1",
|
|
118
118
|
"namespace": "platformBlueprint",
|
|
119
|
-
"compatibility": "
|
|
119
|
+
"compatibility": "compatible",
|
|
120
120
|
"outputPath": "src/generated/platform.blueprint",
|
|
121
|
-
"outputSha256": "
|
|
121
|
+
"outputSha256": "c105bd4b22a250d5f1a759c675140aa67b30f000f5be6f1aa0e1111c75743522"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"serviceId": "platform.iam",
|