@arcforges/api-client 1.0.0-ci.25.1 → 1.0.0-ci.258.1
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/NOTICE +57 -5
- package/README.md +9 -2
- package/build-identity.json +221 -0
- package/contracts.binpb +0 -0
- package/dist/gen/http.d.ts +10 -0
- package/dist/gen/http.js +13 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +20 -2
- package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
- package/dist/shapes/gen/AndroidUpdate.js +620 -0
- package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
- package/dist/shapes/gen/CatalogIndex.js +703 -0
- package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
- package/dist/shapes/gen/CatalogRevocations.js +647 -0
- package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
- package/dist/shapes/gen/DeclarativePanel.js +2988 -0
- package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
- package/dist/shapes/gen/ExtensionManifest.js +3974 -0
- package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
- package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
- package/dist/shapes/gen/PackageInventory.d.ts +24 -0
- package/dist/shapes/gen/PackageInventory.js +327 -0
- package/dist/shapes/gen/PartReceipt.d.ts +21 -0
- package/dist/shapes/gen/PartReceipt.js +290 -0
- package/dist/shapes/gen/PolicyBody.d.ts +269 -0
- package/dist/shapes/gen/PolicyBody.js +4188 -0
- package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
- package/dist/shapes/gen/RealmDescriptor.js +627 -0
- package/package.json +15 -7
- package/sbom.cdx.json +17 -17
- package/schemas/public/http/v1/inventory.schema.json +49 -0
- package/schemas/public/http/v1/manifest.schema.json +1459 -0
- package/schemas/public/http/v1/panel.schema.json +963 -0
- package/schemas/public/http/v1/policy-body.schema.json +1376 -0
- package/schemas/public/http/v1/schema.json +30 -0
- package/schemas/public/http/v1/signed-formats.schema.json +748 -0
- package/schemas/public/http/v1/workflow.schema.json +715 -0
- package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
- package/schemas/public/proto/arcforges/events/v1/events.proto +14 -0
- package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
- package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
- package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
- package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
- package/schemas/public/proto/arcforges/publicapi/v1/content.proto +774 -0
- package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
- package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
- package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
- package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
- package/source.json +41 -10
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package arcforges.publicapi.v1;
|
|
5
|
+
|
|
6
|
+
import "arcforges/foundation/v1/foundation.proto";
|
|
7
|
+
|
|
8
|
+
option csharp_namespace = "ArcForges.Contracts.PublicApi.V1";
|
|
9
|
+
option java_package = "io.github.arcforges.contracts.publicapi.v1";
|
|
10
|
+
option java_multiple_files = true;
|
|
11
|
+
option java_outer_classname = "TransferProto";
|
|
12
|
+
|
|
13
|
+
// realm-transfer.v1 schema surface. Included roots and per-root fidelity are
|
|
14
|
+
// represented by the typed TransferRoot and TransferIssue records. These
|
|
15
|
+
// declarations do not implement import/export jobs or owner authorization.
|
|
16
|
+
service TransferService {
|
|
17
|
+
rpc RequestExport(TransferServiceRequestExportRequest) returns (TransferServiceRequestExportResponse);
|
|
18
|
+
rpc PreviewImport(TransferServicePreviewImportRequest) returns (TransferServicePreviewImportResponse);
|
|
19
|
+
rpc CommitImport(TransferServiceCommitImportRequest) returns (TransferServiceCommitImportResponse);
|
|
20
|
+
rpc Get(TransferServiceGetRequest) returns (TransferServiceGetResponse);
|
|
21
|
+
rpc List(TransferServiceListRequest) returns (TransferServiceListResponse);
|
|
22
|
+
rpc Cancel(TransferServiceCancelRequest) returns (TransferServiceCancelResponse);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
enum TransferState {
|
|
26
|
+
TRANSFER_STATE_UNSPECIFIED = 0;
|
|
27
|
+
TRANSFER_STATE_QUEUED = 1;
|
|
28
|
+
TRANSFER_STATE_VALIDATING = 2;
|
|
29
|
+
TRANSFER_STATE_WAITING_CONSENT = 3;
|
|
30
|
+
TRANSFER_STATE_IMPORTING = 4;
|
|
31
|
+
TRANSFER_STATE_SUCCEEDED = 5;
|
|
32
|
+
TRANSFER_STATE_PARTIALLY_SUCCEEDED = 6;
|
|
33
|
+
TRANSFER_STATE_FAILED = 7;
|
|
34
|
+
TRANSFER_STATE_CANCELED = 8;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message TransferManifest {
|
|
38
|
+
arcforges.foundation.v1.Id transfer_id = 1 [json_name = "transferId"];
|
|
39
|
+
string version = 2 [json_name = "version"];
|
|
40
|
+
string source_realm = 3 [json_name = "sourceRealm"];
|
|
41
|
+
arcforges.foundation.v1.Id source_workspace_id = 4 [json_name = "sourceWorkspaceId"];
|
|
42
|
+
arcforges.foundation.v1.Instant created_at = 5 [json_name = "createdAt"];
|
|
43
|
+
repeated TransferRoot roots = 6 [json_name = "roots"];
|
|
44
|
+
repeated arcforges.foundation.v1.ResourceVersionRef blobs = 7 [json_name = "blobs"];
|
|
45
|
+
string sha256 = 8 [json_name = "sha256"];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message TransferRoot {
|
|
49
|
+
arcforges.foundation.v1.VersionedRef source = 1 [json_name = "source"];
|
|
50
|
+
string kind = 2 [json_name = "kind"];
|
|
51
|
+
arcforges.foundation.v1.ResourceVersionRef body = 3 [json_name = "body"];
|
|
52
|
+
arcforges.foundation.v1.ContentOrigin origin = 4 [json_name = "origin"];
|
|
53
|
+
repeated arcforges.foundation.v1.AggregateRef dependencies = 5 [json_name = "dependencies"];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message TransferIssue {
|
|
57
|
+
string code = 1 [json_name = "code"];
|
|
58
|
+
arcforges.foundation.v1.AggregateRef source = 2 [json_name = "source"];
|
|
59
|
+
string detail = 3 [json_name = "detail"];
|
|
60
|
+
optional bool blocks_commit = 4 [json_name = "blocksCommit"];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message TransferJob {
|
|
64
|
+
arcforges.foundation.v1.Id transfer_id = 1 [json_name = "transferId"];
|
|
65
|
+
TransferState state = 2 [json_name = "state"];
|
|
66
|
+
arcforges.foundation.v1.Revision revision = 3 [json_name = "revision"];
|
|
67
|
+
arcforges.foundation.v1.ResourceVersionRef manifest = 4 [json_name = "manifest"];
|
|
68
|
+
optional string preview_hash = 5 [json_name = "previewHash"];
|
|
69
|
+
uint64 committed_roots = 6 [json_name = "committedRoots"];
|
|
70
|
+
uint64 total_roots = 7 [json_name = "totalRoots"];
|
|
71
|
+
repeated TransferIssue issues = 8 [json_name = "issues"];
|
|
72
|
+
arcforges.foundation.v1.PageState page = 9 [json_name = "page"];
|
|
73
|
+
arcforges.foundation.v1.Instant expires_at = 10 [json_name = "expiresAt"];
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
message TransferMapping {
|
|
77
|
+
arcforges.foundation.v1.AggregateRef source = 1 [json_name = "source"];
|
|
78
|
+
arcforges.foundation.v1.AggregateRef target = 2 [json_name = "target"];
|
|
79
|
+
arcforges.foundation.v1.Revision target_revision = 3 [json_name = "targetRevision"];
|
|
80
|
+
string state = 4 [json_name = "state"];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message TransferServiceRequestExportRequest {
|
|
84
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
85
|
+
reserved 2 to 9;
|
|
86
|
+
arcforges.foundation.v1.Id transfer_id = 10 [json_name = "transferId"];
|
|
87
|
+
repeated arcforges.foundation.v1.AggregateRef roots = 11 [json_name = "roots"];
|
|
88
|
+
}
|
|
89
|
+
message TransferServiceRequestExportValue {
|
|
90
|
+
TransferJob job = 10 [json_name = "job"];
|
|
91
|
+
}
|
|
92
|
+
message TransferServiceRequestExportResponse {
|
|
93
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
94
|
+
oneof outcome {
|
|
95
|
+
TransferServiceRequestExportValue value = 2 [json_name = "value"];
|
|
96
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
97
|
+
}
|
|
98
|
+
reserved 4 to 9;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
message TransferServicePreviewImportRequest {
|
|
102
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
103
|
+
reserved 2 to 9;
|
|
104
|
+
arcforges.foundation.v1.Id transfer_id = 10 [json_name = "transferId"];
|
|
105
|
+
arcforges.foundation.v1.ResourceVersionRef manifest = 11 [json_name = "manifest"];
|
|
106
|
+
}
|
|
107
|
+
message TransferServicePreviewImportValue {
|
|
108
|
+
TransferJob job = 10 [json_name = "job"];
|
|
109
|
+
}
|
|
110
|
+
message TransferServicePreviewImportResponse {
|
|
111
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
112
|
+
oneof outcome {
|
|
113
|
+
TransferServicePreviewImportValue value = 2 [json_name = "value"];
|
|
114
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
115
|
+
}
|
|
116
|
+
reserved 4 to 9;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message TransferServiceCommitImportRequest {
|
|
120
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
121
|
+
reserved 2 to 9;
|
|
122
|
+
arcforges.foundation.v1.Id transfer_id = 10 [json_name = "transferId"];
|
|
123
|
+
string preview_hash = 11 [json_name = "previewHash"];
|
|
124
|
+
repeated string accepted_issues = 12 [json_name = "acceptedIssues"];
|
|
125
|
+
}
|
|
126
|
+
message TransferServiceCommitImportValue {
|
|
127
|
+
TransferJob job = 10 [json_name = "job"];
|
|
128
|
+
}
|
|
129
|
+
message TransferServiceCommitImportResponse {
|
|
130
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
131
|
+
oneof outcome {
|
|
132
|
+
TransferServiceCommitImportValue value = 2 [json_name = "value"];
|
|
133
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
134
|
+
}
|
|
135
|
+
reserved 4 to 9;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
message TransferServiceGetRequest {
|
|
139
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
140
|
+
reserved 2 to 9;
|
|
141
|
+
arcforges.foundation.v1.Id transfer_id = 10 [json_name = "transferId"];
|
|
142
|
+
arcforges.foundation.v1.PageRequest page = 11 [json_name = "page"];
|
|
143
|
+
}
|
|
144
|
+
message TransferServiceGetValue {
|
|
145
|
+
TransferJob job = 10 [json_name = "job"];
|
|
146
|
+
repeated TransferMapping mappings = 11 [json_name = "mappings"];
|
|
147
|
+
}
|
|
148
|
+
message TransferServiceGetResponse {
|
|
149
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
150
|
+
oneof outcome {
|
|
151
|
+
TransferServiceGetValue value = 2 [json_name = "value"];
|
|
152
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
153
|
+
}
|
|
154
|
+
reserved 4 to 9;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
message TransferServiceListRequest {
|
|
158
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
159
|
+
reserved 2 to 9;
|
|
160
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
161
|
+
}
|
|
162
|
+
message TransferServiceListValue {
|
|
163
|
+
repeated TransferJob jobs = 10 [json_name = "jobs"];
|
|
164
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
165
|
+
}
|
|
166
|
+
message TransferServiceListResponse {
|
|
167
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
168
|
+
oneof outcome {
|
|
169
|
+
TransferServiceListValue value = 2 [json_name = "value"];
|
|
170
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
171
|
+
}
|
|
172
|
+
reserved 4 to 9;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
message TransferServiceCancelRequest {
|
|
176
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
177
|
+
reserved 2 to 9;
|
|
178
|
+
arcforges.foundation.v1.Id transfer_id = 10 [json_name = "transferId"];
|
|
179
|
+
}
|
|
180
|
+
message TransferServiceCancelValue {
|
|
181
|
+
TransferJob job = 10 [json_name = "job"];
|
|
182
|
+
}
|
|
183
|
+
message TransferServiceCancelResponse {
|
|
184
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
185
|
+
oneof outcome {
|
|
186
|
+
TransferServiceCancelValue value = 2 [json_name = "value"];
|
|
187
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
188
|
+
}
|
|
189
|
+
reserved 4 to 9;
|
|
190
|
+
}
|
package/source.json
CHANGED
|
@@ -1,16 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "https://github.com/ArcForges/Contracts",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "67f1f08e35b7f46bc4292aba3f0f7be4a5044875",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"version": "1.0.0-ci.
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"version": "1.0.0-ci.258.1",
|
|
6
|
+
"contractAccess": "public",
|
|
7
|
+
"schemaSources": {
|
|
8
|
+
"public/http/v1/inventory.schema.json": "2d17acc663de43ff847e522ddb16f32b1e7ec356df7db7dcafe8342d3fb014ce",
|
|
9
|
+
"public/http/v1/manifest.schema.json": "1f768f3d5cd7ffba35c2f2460914d6a7ab7f2b6988cb90abd02c8e49065ba844",
|
|
10
|
+
"public/http/v1/panel.schema.json": "e47e3fcad128918ca888c7f2a61ac03876ab50467a46b7597cda5cce53de21ce",
|
|
11
|
+
"public/http/v1/policy-body.schema.json": "62509c5a2f104b4d84fcbee28a0bf41946e49a89a3c5baf1e609700e05f24f68",
|
|
12
|
+
"public/http/v1/schema.json": "8d4c1282c0f93452a0304e44c832179d4c6f65fa563ae53517aa324af87105ce",
|
|
13
|
+
"public/http/v1/signed-formats.schema.json": "9719004a495ae2475841dc3506b86a7ba8faa2eeb33d774dbf12effa5d495a03",
|
|
14
|
+
"public/http/v1/workflow.schema.json": "a23961e89badb790abca4f7fef01a833d647394b16194c51d7b4f79352181b42",
|
|
15
|
+
"public/proto/arcforges/catalog/v1/catalog.proto": "ff77d24be445e107d4fb4a0b3f7fd6b205664317e856a3696e471be1a18f0828",
|
|
16
|
+
"public/proto/arcforges/events/v1/events.proto": "ea0ac740c06bbb5b81724b4a7e601110424cabc4940b07e579cf97d852880f43",
|
|
17
|
+
"public/proto/arcforges/foundation/v1/foundation.proto": "e7e634103664dcca4c63383dd0eda5d90b408edb4786bfdf4a148856fed92736",
|
|
18
|
+
"public/proto/arcforges/hello/v1/hello.proto": "92489f89d1898a3d3bbea56c72116416cd0152ae8866c98745739437020c67d9",
|
|
19
|
+
"public/proto/arcforges/publicapi/v1/chat.proto": "b878ad06144a626e426e78addb76ca7fceb3c36d6a99f087f918fad1968e109a",
|
|
20
|
+
"public/proto/arcforges/publicapi/v1/commerce.proto": "e0ed5700197fdb20006c7ea699d9071dd8c4ac9d4248651f8a148363ad8af9dc",
|
|
21
|
+
"public/proto/arcforges/publicapi/v1/content.proto": "1c912ac9fa37633a3e5d186cb6f3838bd886f09f935e1ce41c5a665640c54abd",
|
|
22
|
+
"public/proto/arcforges/publicapi/v1/descriptors.proto": "d8a43c27fd345d55786a67ce9776efa0b4bc089f57361c3e532dd1b5f9326161",
|
|
23
|
+
"public/proto/arcforges/publicapi/v1/inprocess-values.proto": "24921ae4f54f48800ea1201a9eee27a4e23a476b738cc3903665dff137a10eea",
|
|
24
|
+
"public/proto/arcforges/publicapi/v1/sync.proto": "2e7861c2cbb6d55aa36c9703b4409f3149365f2f1f53741f2dce3f0589cb84d6",
|
|
25
|
+
"public/proto/arcforges/publicapi/v1/transfer.proto": "f7d53346a43cd977224154b33d8f1f3f3f4b973c67e513caf384b195654abc0e"
|
|
26
|
+
},
|
|
27
|
+
"descriptorSha256": "e129257392506bb95bf1ff25425e38d09470db53fb7e115770061dc3bad83dfd",
|
|
8
28
|
"dependencyLocks": {
|
|
9
|
-
"package-lock.json": "
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"src/public/
|
|
13
|
-
"src/public/
|
|
14
|
-
"src/public/
|
|
29
|
+
"package-lock.json": "3e536db25743ceb5a021559dbc1f31d57112211c62d94f84df34daca5382709c",
|
|
30
|
+
"src/public/dotnet/ArcForges.Contracts.Foundation/packages.lock.json": "fa17fe6057706e36ae0b9370a457536d05d0f3a8f0f72df622881bfc1628337e",
|
|
31
|
+
"src/public/dotnet/ArcForges.Contracts.PublicApi/packages.lock.json": "950f637a1c8b5152e0fdabff441cb2a8802ac50ae8aae0b97a89b4fa1e633b29",
|
|
32
|
+
"src/public/dotnet/ArcForges.Contracts.Events/packages.lock.json": "bfc4981894f94a4ee6f2518f6e1f5997d7d20e17749125c5711794cd2ee10d94",
|
|
33
|
+
"src/public/dotnet/ArcForges.Sdk.Contracts/packages.lock.json": "0490ab15d029c97f1015d0483d419737a7963c4d7be002247d917eac684f74ce",
|
|
34
|
+
"src/public/dotnet/ArcForges.Contracts.Validation/packages.lock.json": "0c7b05824fdd61702898b2d3c3297d40f19fde0a10ffcc9851920620c4168296",
|
|
35
|
+
"src/public/dotnet/ArcForges.Sdk.Client/packages.lock.json": "4a90644c21c833eda8fa5d74e2e850860a34605c026f3983114149f162a4e38a",
|
|
36
|
+
"src/public/dotnet/ArcForges.Cli/packages.lock.json": "b82fce1d2e52e143a0c83b6807b7207a720dd70479ff61fa95f9325bbfbbc3f3",
|
|
37
|
+
"src/internal/dotnet/ArcForges.Contracts.LocalRpc.Platform/packages.lock.json": "4af9f61c399adec188a1e1717c4ba13b2291d4039af5a374d99832cfd9228586",
|
|
38
|
+
"src/internal/dotnet/ArcForges.Contracts.LocalRpc.Sandbox/packages.lock.json": "950f637a1c8b5152e0fdabff441cb2a8802ac50ae8aae0b97a89b4fa1e633b29",
|
|
39
|
+
"src/internal/dotnet/ArcForges.Contracts.LocalRpc.Chat/packages.lock.json": "2ffa6c7fb3cf873b86775fa67fcce30516bed510d126113933bfef7fbed3e052",
|
|
40
|
+
"src/internal/dotnet/ArcForges.Contracts.LocalRpc.Scope/packages.lock.json": "2ffa6c7fb3cf873b86775fa67fcce30516bed510d126113933bfef7fbed3e052",
|
|
41
|
+
"src/internal/dotnet/ArcForges.Contracts.CloudInternal/packages.lock.json": "bfc4981894f94a4ee6f2518f6e1f5997d7d20e17749125c5711794cd2ee10d94",
|
|
42
|
+
"gradle.lockfile": "b176c43fe3fdb8fc99e36c8ccafc6dd1c07c2a2c0c0e9e5cbb3a328b70d128df",
|
|
43
|
+
"src/public/kotlin/contract-fixtures/gradle.lockfile": "14dc5803d23ab183aa24b2849ee51541e52e4d26fbada80e19082d15e0b1c654",
|
|
44
|
+
"src/public/kotlin/contracts-connect-client/gradle.lockfile": "9b5447a219bb4ec726f780a103ce193eaa6468378da8314316558bbf79ff7281",
|
|
45
|
+
"src/public/kotlin/contracts-proto/gradle.lockfile": "15e984aed92f5b614310976df0ca1d27d23d40b333ae732b5287c4bbd72ca90a"
|
|
15
46
|
}
|
|
16
47
|
}
|