@arcforges/proto 1.0.0-ci.9.1 → 1.0.0-ci.94.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 +56 -4
- package/README.md +23 -7
- package/build-identity.json +106 -0
- package/contracts.binpb +0 -0
- package/dist/gen/arcforges/events/v1/events_pb.d.ts +22 -0
- package/dist/gen/arcforges/events/v1/events_pb.js +13 -0
- package/dist/gen/arcforges/foundation/v1/foundation_pb.d.ts +986 -0
- package/dist/gen/arcforges/foundation/v1/foundation_pb.js +308 -0
- package/dist/gen/arcforges/hello/v1/hello_pb.js +3 -1
- package/dist/gen/arcforges/publicapi/v1/content_pb.d.ts +4398 -0
- package/dist/gen/arcforges/publicapi/v1/content_pb.js +789 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.js +9 -1
- package/dist/services/gen/catalog.d.ts +8 -0
- package/dist/services/gen/catalog.js +6 -0
- package/dist/shapes/gen/proto.d.ts +149 -0
- package/dist/shapes/gen/proto.js +9140 -0
- package/dist/values/gen/identifiers.d.ts +79 -0
- package/dist/values/gen/identifiers.js +22 -0
- package/dist/values.d.ts +56 -0
- package/dist/values.js +178 -0
- package/dist/wire.d.ts +34 -0
- package/dist/wire.js +49 -0
- package/package.json +16 -9
- package/sbom.cdx.json +9 -9
- package/schemas/public/proto/arcforges/events/v1/events.proto +14 -0
- package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +248 -0
- package/{proto → schemas/public/proto}/arcforges/hello/v1/hello.proto +3 -0
- package/schemas/public/proto/arcforges/publicapi/v1/content.proto +1200 -0
- package/source.json +29 -6
package/NOTICE
CHANGED
|
@@ -1,10 +1,62 @@
|
|
|
1
1
|
ArcForges Contracts
|
|
2
2
|
Copyright 2026 ArcForges contributors
|
|
3
3
|
|
|
4
|
-
@arcforges/proto 1.0.0-ci.
|
|
4
|
+
@arcforges/proto 1.0.0-ci.94.1 (Apache-2.0)
|
|
5
5
|
|
|
6
6
|
Resolved runtime dependency inventory (dependencies retain their own licences):
|
|
7
|
-
- @bufbuild/protobuf 2.
|
|
7
|
+
- @bufbuild/protobuf 2.15.0: (Apache-2.0 AND BSD-3-Clause) (pkg:npm/%40bufbuild/protobuf@2.15.0)
|
|
8
8
|
|
|
9
|
-
Third-party dependencies are referenced, not vendored into this package.
|
|
10
|
-
|
|
9
|
+
Third-party dependencies are referenced, not vendored into this package. Installed dependencies supply their original licence and notice files.
|
|
10
|
+
|
|
11
|
+
ArcForges source provenance notices
|
|
12
|
+
|
|
13
|
+
Generated from reviewed active records. Original licence files and dependency notices remain authoritative.
|
|
14
|
+
|
|
15
|
+
contract-bindings-r5
|
|
16
|
+
Source: https://github.com/ArcForges/Contracts @ b6795dc55852e16bcd555751a58bd494958e3917
|
|
17
|
+
Material licence: Apache-2.0
|
|
18
|
+
Notice scope: packages
|
|
19
|
+
Copyright 2026 ArcForges contributors.
|
|
20
|
+
Copyright 2008 Google Inc. All rights reserved.
|
|
21
|
+
Copyright 2015, 2019, 2020 gRPC authors.
|
|
22
|
+
Copyright 2021-2026 Buf Technologies, Inc.
|
|
23
|
+
Copyright 2022-2026 The Connect Authors.
|
|
24
|
+
Selected ArcForges contract bindings are generated from Apache-2.0 schemas using Grpc.Tools 2.84.0, protoc-gen-es 2.15.0 and Connect-Kotlin 0.9.0. Shape validators, domain identity adapters and fixture exports use Apache-2.0 repository tooling. Historical protobuf BSD-3-Clause and applicable generator Apache-2.0 attributions are retained. Build tools are not bundled in client packages. Native-grpc-only Android generation remains retired.
|
|
25
|
+
|
|
26
|
+
protobuf-generator-licence-r1
|
|
27
|
+
Source: https://github.com/protocolbuffers/protobuf @ 35cd01f9fe9afbeea38cc7b979a3b6bfcde82c03
|
|
28
|
+
Material licence: BSD-3-Clause
|
|
29
|
+
Notice scope: packages
|
|
30
|
+
Copyright 2008 Google Inc. All rights reserved.
|
|
31
|
+
Copyright 2008 Google Inc. All rights reserved.
|
|
32
|
+
|
|
33
|
+
Redistribution and use in source and binary forms, with or without
|
|
34
|
+
modification, are permitted provided that the following conditions are
|
|
35
|
+
met:
|
|
36
|
+
|
|
37
|
+
* Redistributions of source code must retain the above copyright
|
|
38
|
+
notice, this list of conditions and the following disclaimer.
|
|
39
|
+
* Redistributions in binary form must reproduce the above
|
|
40
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
41
|
+
in the documentation and/or other materials provided with the
|
|
42
|
+
distribution.
|
|
43
|
+
* Neither the name of Google Inc. nor the names of its
|
|
44
|
+
contributors may be used to endorse or promote products derived from
|
|
45
|
+
this software without specific prior written permission.
|
|
46
|
+
|
|
47
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
48
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
49
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
50
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
51
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
52
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
53
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
54
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
55
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
56
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
57
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
58
|
+
|
|
59
|
+
Code generated by the Protocol Buffer compiler is owned by the owner
|
|
60
|
+
of the input file used when generating it. This code is not
|
|
61
|
+
standalone and requires a support library to be linked with it. This
|
|
62
|
+
support library is itself covered by the above license.
|
package/README.md
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
# @arcforges/proto
|
|
2
2
|
|
|
3
|
-
Generated public Protocol Buffers messages
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
Generated public Protocol Buffers messages, shape validators and exact value
|
|
4
|
+
adapters, shared by TypeScript Web consumers. The selected public closure includes
|
|
5
|
+
Foundation, Notes scalar/query, Scope measurement, all owner-body variants and
|
|
6
|
+
events, alongside the retained `arcforges.hello.v1` packaging example. There are
|
|
7
|
+
no Node or DOM imports in this package and it does not implement networking.
|
|
7
8
|
|
|
8
9
|
Use `create(SayHelloRequestSchema, { name: "World" })`, `toBinary` and
|
|
9
10
|
`fromBinary` from `@bufbuild/protobuf`. Use the exported `HelloService`
|
|
10
11
|
descriptor with a compatible gRPC/gRPC-Web client transport.
|
|
11
12
|
|
|
13
|
+
`decodeContract(schema, bytes, limit)` and `encodeContract` apply the registry size
|
|
14
|
+
classes in `wireLimits` (4 MiB unary/helper, 256 KiB inline page, 32 KiB stream frame,
|
|
15
|
+
64 MiB large projection) and the root-plus-100 nesting bound, retaining unknown fields.
|
|
16
|
+
Refusals are `ContractSerializationError` values with `tooLarge`, `tooDeep` or
|
|
17
|
+
`malformed`. `contractServices` lists the generated services; nothing is discovered
|
|
18
|
+
at runtime.
|
|
19
|
+
|
|
20
|
+
Use `parseId` and `idToWire` to preserve an explicit identifier domain, bigint for
|
|
21
|
+
exact 64-bit values, and `notesDecimal`/`decimalParts` for Notes decimal boundaries.
|
|
22
|
+
The generated `is<Type>` functions check the current supported mutation profile.
|
|
23
|
+
`readProjection` and `preserveProjection` retain compatible unknown read data;
|
|
24
|
+
revalidate the actual message before a mutation. These checks do not authorize
|
|
25
|
+
access, query product state or execute numerical engines. See the
|
|
26
|
+
[Foundation API and coverage profile](https://github.com/ArcForges/Contracts/blob/main/docs/wp03-01-foundation.md).
|
|
27
|
+
|
|
12
28
|
The package ships ESM JavaScript, TypeScript declarations, the authored proto and
|
|
13
29
|
its descriptor set. Pin the exact version in your dependency manifest and lock
|
|
14
|
-
file.
|
|
15
|
-
|
|
30
|
+
file. Android uses separately generated Kotlin artifacts from the same authored
|
|
31
|
+
proto; TypeScript codec validation does not establish Android runtime behavior.
|
|
16
32
|
|
|
17
33
|
Apache-2.0. See [the repository](https://github.com/ArcForges/Contracts) for
|
|
18
|
-
examples,
|
|
34
|
+
examples, licensing and release setup.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "arcforges.build-identity.v1",
|
|
3
|
+
"owner": "Contracts",
|
|
4
|
+
"artifact": {
|
|
5
|
+
"id": "@arcforges/proto",
|
|
6
|
+
"version": "1.0.0-ci.94.1"
|
|
7
|
+
},
|
|
8
|
+
"build": {
|
|
9
|
+
"sourceCommit": "01daa44eced946eb3d46e9a576c9dcb8a86f57d9",
|
|
10
|
+
"dirty": false,
|
|
11
|
+
"kind": "ci",
|
|
12
|
+
"buildId": "35989648063.1",
|
|
13
|
+
"runId": "35989648063",
|
|
14
|
+
"runAttempt": 1,
|
|
15
|
+
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/35989648063",
|
|
16
|
+
"sourceDateEpoch": 1790247086
|
|
17
|
+
},
|
|
18
|
+
"axes": {
|
|
19
|
+
"AppVersion": {
|
|
20
|
+
"status": "not-applicable",
|
|
21
|
+
"reason": "Contracts distributes libraries, not an installed product."
|
|
22
|
+
},
|
|
23
|
+
"ContractSet": {
|
|
24
|
+
"status": "present",
|
|
25
|
+
"values": [
|
|
26
|
+
{
|
|
27
|
+
"subject": "arcforges.events",
|
|
28
|
+
"version": "1",
|
|
29
|
+
"source": {
|
|
30
|
+
"path": "public/proto/arcforges/events/v1/events.proto",
|
|
31
|
+
"sha256": "ea0ac740c06bbb5b81724b4a7e601110424cabc4940b07e579cf97d852880f43"
|
|
32
|
+
},
|
|
33
|
+
"descriptorSha256": "f735938a31ead03abb331db2dd04dd12ace5335b6793e47feaeb4c5623386aba"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"subject": "arcforges.foundation",
|
|
37
|
+
"version": "1",
|
|
38
|
+
"source": {
|
|
39
|
+
"path": "public/proto/arcforges/foundation/v1/foundation.proto",
|
|
40
|
+
"sha256": "ceda869bf2998ca4bc21c4b7504c365a4662e7f28183e6db81660592d5bcdb3f"
|
|
41
|
+
},
|
|
42
|
+
"descriptorSha256": "f735938a31ead03abb331db2dd04dd12ace5335b6793e47feaeb4c5623386aba"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"subject": "arcforges.hello",
|
|
46
|
+
"version": "1",
|
|
47
|
+
"source": {
|
|
48
|
+
"path": "public/proto/arcforges/hello/v1/hello.proto",
|
|
49
|
+
"sha256": "92489f89d1898a3d3bbea56c72116416cd0152ae8866c98745739437020c67d9"
|
|
50
|
+
},
|
|
51
|
+
"descriptorSha256": "f735938a31ead03abb331db2dd04dd12ace5335b6793e47feaeb4c5623386aba"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"subject": "arcforges.publicapi",
|
|
55
|
+
"version": "1",
|
|
56
|
+
"source": {
|
|
57
|
+
"path": "public/proto/arcforges/publicapi/v1/content.proto",
|
|
58
|
+
"sha256": "a352f31e0bcee5e5523e59cb6bcfe2af04423e78389c67fc0d8d0ab52f104dee"
|
|
59
|
+
},
|
|
60
|
+
"descriptorSha256": "f735938a31ead03abb331db2dd04dd12ace5335b6793e47feaeb4c5623386aba"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"CapabilityVersion": {
|
|
65
|
+
"status": "not-produced",
|
|
66
|
+
"reason": "The selected contract records do not declare implemented product capabilities.",
|
|
67
|
+
"producer": "WP09 and product capability owners"
|
|
68
|
+
},
|
|
69
|
+
"NativeFormatVersion": {
|
|
70
|
+
"status": "not-produced",
|
|
71
|
+
"reason": "No portable product format exists here.",
|
|
72
|
+
"producer": "WP18/28, WP34 and WP38"
|
|
73
|
+
},
|
|
74
|
+
"StorageSchemaVersion": {
|
|
75
|
+
"status": "not-produced",
|
|
76
|
+
"reason": "Contracts owns no implemented migration set.",
|
|
77
|
+
"producer": "WP07/21 and product storage owners"
|
|
78
|
+
},
|
|
79
|
+
"NativeAbiVersion": {
|
|
80
|
+
"status": "not-applicable",
|
|
81
|
+
"reason": "These packages contain no first-party native C boundary."
|
|
82
|
+
},
|
|
83
|
+
"PolicySchemaVersion": {
|
|
84
|
+
"status": "not-produced",
|
|
85
|
+
"reason": "The selected schemas contain no implemented product policy declaration.",
|
|
86
|
+
"producer": "WP03 and WP44"
|
|
87
|
+
},
|
|
88
|
+
"ExtensionProtocolVersion": {
|
|
89
|
+
"status": "not-applicable",
|
|
90
|
+
"reason": "This package closure contains no extension protocol."
|
|
91
|
+
},
|
|
92
|
+
"PackageVersion": {
|
|
93
|
+
"status": "present",
|
|
94
|
+
"values": [
|
|
95
|
+
{
|
|
96
|
+
"subject": "pkg:npm/%40bufbuild/protobuf",
|
|
97
|
+
"version": "2.15.0",
|
|
98
|
+
"source": {
|
|
99
|
+
"path": "sbom.cdx.json#components",
|
|
100
|
+
"sha256": "fbb52dbfc5a773d25a741e43a52d2aecc859ed3fdcf145dec4150c5d519e03ad"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
package/contracts.binpb
CHANGED
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file arcforges/events/v1/events.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_arcforges_events_v1_events: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* The complete entitlement.changed hint payload; not the full Event envelope.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message arcforges.events.v1.EntitlementChanged
|
|
11
|
+
*/
|
|
12
|
+
export type EntitlementChanged = Message<"arcforges.events.v1.EntitlementChanged"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional int64 entitlement_version = 1;
|
|
15
|
+
*/
|
|
16
|
+
entitlementVersion?: bigint | undefined;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message arcforges.events.v1.EntitlementChanged.
|
|
20
|
+
* Use `create(EntitlementChangedSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const EntitlementChangedSchema: GenMessage<EntitlementChanged>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// Generated by ArcForges Contracts; do not edit.
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file arcforges/events/v1/events.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_arcforges_events_v1_events = /*@__PURE__*/ fileDesc("CiBhcmNmb3JnZXMvZXZlbnRzL3YxL2V2ZW50cy5wcm90bxITYXJjZm9yZ2VzLmV2ZW50cy52MSJOChJFbnRpdGxlbWVudENoYW5nZWQSIAoTZW50aXRsZW1lbnRfdmVyc2lvbhgBIAEoA0gAiAEBQhYKFF9lbnRpdGxlbWVudF92ZXJzaW9uQlgKJ2lvLmdpdGh1Yi5hcmNmb3JnZXMuY29udHJhY3RzLmV2ZW50cy52MUILRXZlbnRzUHJvdG9QAaoCHUFyY0Zvcmdlcy5Db250cmFjdHMuRXZlbnRzLlYxYgZwcm90bzM");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message arcforges.events.v1.EntitlementChanged.
|
|
11
|
+
* Use `create(EntitlementChangedSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const EntitlementChangedSchema = /*@__PURE__*/ messageDesc(file_arcforges_events_v1_events, 0);
|