@arcforges/api-client 1.0.0-ci.27.1 → 1.0.0-ci.277.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.
Files changed (54) hide show
  1. package/NOTICE +57 -5
  2. package/README.md +9 -2
  3. package/build-identity.json +246 -0
  4. package/contracts.binpb +0 -0
  5. package/dist/gen/http.d.ts +10 -0
  6. package/dist/gen/http.js +13 -0
  7. package/dist/index.d.ts +10 -1
  8. package/dist/index.js +20 -2
  9. package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
  10. package/dist/shapes/gen/AndroidUpdate.js +620 -0
  11. package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
  12. package/dist/shapes/gen/CatalogIndex.js +703 -0
  13. package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
  14. package/dist/shapes/gen/CatalogRevocations.js +647 -0
  15. package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
  16. package/dist/shapes/gen/DeclarativePanel.js +2988 -0
  17. package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
  18. package/dist/shapes/gen/ExtensionManifest.js +3974 -0
  19. package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
  20. package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
  21. package/dist/shapes/gen/PackageInventory.d.ts +24 -0
  22. package/dist/shapes/gen/PackageInventory.js +327 -0
  23. package/dist/shapes/gen/PartReceipt.d.ts +21 -0
  24. package/dist/shapes/gen/PartReceipt.js +290 -0
  25. package/dist/shapes/gen/PolicyBody.d.ts +269 -0
  26. package/dist/shapes/gen/PolicyBody.js +4188 -0
  27. package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
  28. package/dist/shapes/gen/RealmDescriptor.js +627 -0
  29. package/package.json +15 -7
  30. package/sbom.cdx.json +17 -17
  31. package/schemas/public/http/v1/inventory.schema.json +49 -0
  32. package/schemas/public/http/v1/manifest.schema.json +1459 -0
  33. package/schemas/public/http/v1/panel.schema.json +963 -0
  34. package/schemas/public/http/v1/policy-body.schema.json +1376 -0
  35. package/schemas/public/http/v1/schema.json +30 -0
  36. package/schemas/public/http/v1/signed-formats.schema.json +748 -0
  37. package/schemas/public/http/v1/workflow.schema.json +715 -0
  38. package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
  39. package/schemas/public/proto/arcforges/events/v1/events.proto +343 -0
  40. package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
  41. package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
  42. package/schemas/public/proto/arcforges/publicapi/v1/application.proto +297 -0
  43. package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
  44. package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
  45. package/schemas/public/proto/arcforges/publicapi/v1/content.proto +813 -0
  46. package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
  47. package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
  48. package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
  49. package/schemas/public/proto/arcforges/publicapi/v1/scope.proto +81 -0
  50. package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
  51. package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
  52. package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
  53. package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +413 -0
  54. package/source.json +46 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforges/api-client",
3
- "version": "1.0.0-ci.27.1",
3
+ "version": "1.0.0-ci.277.1",
4
4
  "description": "ArcForges public gRPC-Web client entry point; initial Hello World example.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -18,24 +18,32 @@
18
18
  ".": {
19
19
  "types": "./dist/index.d.ts",
20
20
  "import": "./dist/index.js"
21
- }
21
+ },
22
+ "./build-identity": "./build-identity.json"
22
23
  },
23
24
  "files": [
24
- "dist",
25
25
  "LICENSE",
26
26
  "NOTICE",
27
+ "README.md",
28
+ "build-identity.json",
29
+ "contracts.binpb",
30
+ "dist",
27
31
  "sbom.cdx.json",
28
- "source.json",
29
- "README.md"
32
+ "schemas",
33
+ "source.json"
30
34
  ],
31
35
  "dependencies": {
32
- "@arcforges/proto": "1.0.0-ci.27.1",
33
- "@bufbuild/protobuf": "2.14.1",
36
+ "@arcforges/proto": "1.0.0-ci.277.1",
37
+ "@bufbuild/protobuf": "2.15.0",
34
38
  "@connectrpc/connect": "2.2.0",
35
39
  "@connectrpc/connect-web": "2.2.0"
36
40
  },
37
41
  "publishConfig": {
38
42
  "access": "public",
39
43
  "registry": "https://registry.npmjs.org/"
44
+ },
45
+ "arcforges": {
46
+ "licenceBoundary": "Apache",
47
+ "contractAccess": "public"
40
48
  }
41
49
  }
package/sbom.cdx.json CHANGED
@@ -5,10 +5,10 @@
5
5
  "metadata": {
6
6
  "component": {
7
7
  "type": "library",
8
- "bom-ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.27.1",
8
+ "bom-ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.277.1",
9
9
  "name": "@arcforges/api-client",
10
- "version": "1.0.0-ci.27.1",
11
- "purl": "pkg:npm/%40arcforges/api-client@1.0.0-ci.27.1",
10
+ "version": "1.0.0-ci.277.1",
11
+ "purl": "pkg:npm/%40arcforges/api-client@1.0.0-ci.277.1",
12
12
  "licenses": [
13
13
  {
14
14
  "expression": "Apache-2.0"
@@ -19,10 +19,10 @@
19
19
  "components": [
20
20
  {
21
21
  "type": "library",
22
- "bom-ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.27.1",
22
+ "bom-ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.277.1",
23
23
  "name": "@arcforges/proto",
24
- "version": "1.0.0-ci.27.1",
25
- "purl": "pkg:npm/%40arcforges/proto@1.0.0-ci.27.1",
24
+ "version": "1.0.0-ci.277.1",
25
+ "purl": "pkg:npm/%40arcforges/proto@1.0.0-ci.277.1",
26
26
  "licenses": [
27
27
  {
28
28
  "expression": "Apache-2.0"
@@ -31,10 +31,10 @@
31
31
  },
32
32
  {
33
33
  "type": "library",
34
- "bom-ref": "pkg:npm/%40bufbuild/protobuf@2.14.1",
34
+ "bom-ref": "pkg:npm/%40bufbuild/protobuf@2.15.0",
35
35
  "name": "@bufbuild/protobuf",
36
- "version": "2.14.1",
37
- "purl": "pkg:npm/%40bufbuild/protobuf@2.14.1",
36
+ "version": "2.15.0",
37
+ "purl": "pkg:npm/%40bufbuild/protobuf@2.15.0",
38
38
  "licenses": [
39
39
  {
40
40
  "expression": "(Apache-2.0 AND BSD-3-Clause)"
@@ -68,33 +68,33 @@
68
68
  ],
69
69
  "dependencies": [
70
70
  {
71
- "ref": "pkg:npm/%40bufbuild/protobuf@2.14.1",
71
+ "ref": "pkg:npm/%40bufbuild/protobuf@2.15.0",
72
72
  "dependsOn": []
73
73
  },
74
74
  {
75
- "ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.27.1",
75
+ "ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.277.1",
76
76
  "dependsOn": [
77
- "pkg:npm/%40bufbuild/protobuf@2.14.1"
77
+ "pkg:npm/%40bufbuild/protobuf@2.15.0"
78
78
  ]
79
79
  },
80
80
  {
81
81
  "ref": "pkg:npm/%40connectrpc/connect@2.2.0",
82
82
  "dependsOn": [
83
- "pkg:npm/%40bufbuild/protobuf@2.14.1"
83
+ "pkg:npm/%40bufbuild/protobuf@2.15.0"
84
84
  ]
85
85
  },
86
86
  {
87
87
  "ref": "pkg:npm/%40connectrpc/connect-web@2.2.0",
88
88
  "dependsOn": [
89
- "pkg:npm/%40bufbuild/protobuf@2.14.1",
89
+ "pkg:npm/%40bufbuild/protobuf@2.15.0",
90
90
  "pkg:npm/%40connectrpc/connect@2.2.0"
91
91
  ]
92
92
  },
93
93
  {
94
- "ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.27.1",
94
+ "ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.277.1",
95
95
  "dependsOn": [
96
- "pkg:npm/%40arcforges/proto@1.0.0-ci.27.1",
97
- "pkg:npm/%40bufbuild/protobuf@2.14.1",
96
+ "pkg:npm/%40arcforges/proto@1.0.0-ci.277.1",
97
+ "pkg:npm/%40bufbuild/protobuf@2.15.0",
98
98
  "pkg:npm/%40connectrpc/connect@2.2.0",
99
99
  "pkg:npm/%40connectrpc/connect-web@2.2.0"
100
100
  ]
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$comment": "SPDX-License-Identifier: Apache-2.0",
4
+ "title": "PackageInventory",
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "type": "string",
9
+ "const": "inventory.v1"
10
+ },
11
+ "files": {
12
+ "type": "array",
13
+ "maxItems": 10000,
14
+ "items": {
15
+ "$ref": "#/$defs/InventoryFile"
16
+ },
17
+ "minItems": 1
18
+ }
19
+ },
20
+ "required": ["schemaVersion", "files"],
21
+ "additionalProperties": false,
22
+ "$defs": {
23
+ "InventoryFile": {
24
+ "title": "InventoryFile",
25
+ "type": "object",
26
+ "properties": {
27
+ "path": {
28
+ "type": "string",
29
+ "pattern": "^[A-Za-z0-9_.-]+(/[A-Za-z0-9_.-]+)*$"
30
+ },
31
+ "size": {
32
+ "type": "string",
33
+ "pattern": "^(0|[1-9][0-9]*)$",
34
+ "maxLength": 20,
35
+ "x-arcforges-rules": ["uint64String"]
36
+ },
37
+ "sha256": {
38
+ "type": "string",
39
+ "pattern": "^[0-9a-f]{64}$"
40
+ }
41
+ },
42
+ "required": ["path", "size", "sha256"],
43
+ "additionalProperties": false
44
+ }
45
+ },
46
+ "x-arcforges-rules": ["inventoryPaths", "inventoryBounds"],
47
+ "x-arcforges-max-bytes": 4194304,
48
+ "x-arcforges-schema-version": "1"
49
+ }