@arcforges/api-client 1.0.0-ci.195.1 → 1.0.0-ci.201.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 CHANGED
@@ -1,10 +1,10 @@
1
1
  ArcForges Contracts
2
2
  Copyright 2026 ArcForges contributors
3
3
 
4
- @arcforges/api-client 1.0.0-ci.195.1 (Apache-2.0)
4
+ @arcforges/api-client 1.0.0-ci.201.1 (Apache-2.0)
5
5
 
6
6
  Resolved runtime dependency inventory (dependencies retain their own licences):
7
- - @arcforges/proto 1.0.0-ci.195.1: Apache-2.0 (pkg:npm/%40arcforges/proto@1.0.0-ci.195.1)
7
+ - @arcforges/proto 1.0.0-ci.201.1: Apache-2.0 (pkg:npm/%40arcforges/proto@1.0.0-ci.201.1)
8
8
  - @bufbuild/protobuf 2.15.0: (Apache-2.0 AND BSD-3-Clause) (pkg:npm/%40bufbuild/protobuf@2.15.0)
9
9
  - @connectrpc/connect 2.2.0: Apache-2.0 (pkg:npm/%40connectrpc/connect@2.2.0)
10
10
  - @connectrpc/connect-web 2.2.0: Apache-2.0 (pkg:npm/%40connectrpc/connect-web@2.2.0)
@@ -15,8 +15,8 @@ ArcForges source provenance notices
15
15
 
16
16
  Generated from reviewed active records. Original licence files and dependency notices remain authoritative.
17
17
 
18
- con02-descriptor-bindings-r1
19
- Source: https://github.com/ArcForges/Contracts @ f7b8ffebdbe476e419b227ad1b60a26287582e17
18
+ con-12-bindings-r1
19
+ Source: https://github.com/ArcForges/Contracts @ 1117193c8e2c00f0b2e0c6fcf304f6cbc500a6c0
20
20
  Material licence: Apache-2.0
21
21
  Notice scope: packages
22
22
  Copyright 2026 ArcForges contributors.
@@ -3,17 +3,17 @@
3
3
  "owner": "Contracts",
4
4
  "artifact": {
5
5
  "id": "@arcforges/api-client",
6
- "version": "1.0.0-ci.195.1"
6
+ "version": "1.0.0-ci.201.1"
7
7
  },
8
8
  "build": {
9
- "sourceCommit": "dbfb192751a3745626e89c7907ace188e01b41d7",
9
+ "sourceCommit": "665f0e887dbb1fca61dd3cda1b27d1d8f6c56e71",
10
10
  "dirty": false,
11
11
  "kind": "ci",
12
- "buildId": "36348240598.1",
13
- "runId": "36348240598",
12
+ "buildId": "36355148074.1",
13
+ "runId": "36355148074",
14
14
  "runAttempt": 1,
15
- "pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/36348240598",
16
- "sourceDateEpoch": 1790540988
15
+ "pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/36355148074",
16
+ "sourceDateEpoch": 1790547835
17
17
  },
18
18
  "axes": {
19
19
  "AppVersion": {
@@ -65,6 +65,30 @@
65
65
  }
66
66
  ]
67
67
  },
68
+ {
69
+ "subject": "json:DeclarativePanel",
70
+ "version": "1",
71
+ "source": {
72
+ "path": "public/http/v1/panel.schema.json",
73
+ "sha256": "e47e3fcad128918ca888c7f2a61ac03876ab50467a46b7597cda5cce53de21ce"
74
+ }
75
+ },
76
+ {
77
+ "subject": "json:ExtensionManifest",
78
+ "version": "1",
79
+ "source": {
80
+ "path": "public/http/v1/manifest.schema.json",
81
+ "sha256": "1f768f3d5cd7ffba35c2f2460914d6a7ab7f2b6988cb90abd02c8e49065ba844"
82
+ }
83
+ },
84
+ {
85
+ "subject": "json:ExtensionWorkflow",
86
+ "version": "1",
87
+ "source": {
88
+ "path": "public/http/v1/workflow.schema.json",
89
+ "sha256": "a23961e89badb790abca4f7fef01a833d647394b16194c51d7b4f79352181b42"
90
+ }
91
+ },
68
92
  {
69
93
  "subject": "json:PackageInventory",
70
94
  "version": "1",
@@ -81,6 +105,14 @@
81
105
  "sha256": "8d4c1282c0f93452a0304e44c832179d4c6f65fa563ae53517aa324af87105ce"
82
106
  }
83
107
  },
108
+ {
109
+ "subject": "json:PolicyBody",
110
+ "version": "1",
111
+ "source": {
112
+ "path": "public/http/v1/policy-body.schema.json",
113
+ "sha256": "62509c5a2f104b4d84fcbee28a0bf41946e49a89a3c5baf1e609700e05f24f68"
114
+ }
115
+ },
84
116
  {
85
117
  "subject": "json:SignedFormats",
86
118
  "version": "1",
@@ -124,10 +156,10 @@
124
156
  "values": [
125
157
  {
126
158
  "subject": "pkg:npm/%40arcforges/proto",
127
- "version": "1.0.0-ci.195.1",
159
+ "version": "1.0.0-ci.201.1",
128
160
  "source": {
129
161
  "path": "sbom.cdx.json#components",
130
- "sha256": "9d6556f926230219f32c5e554c4f126806a53f5e5f1a4be5a9480192703db619"
162
+ "sha256": "14705b8f1aca9f22a9be2bc980c8e36accb5723401f7087e0452d8a61969156c"
131
163
  }
132
164
  },
133
165
  {
@@ -135,7 +167,7 @@
135
167
  "version": "2.15.0",
136
168
  "source": {
137
169
  "path": "sbom.cdx.json#components",
138
- "sha256": "9d6556f926230219f32c5e554c4f126806a53f5e5f1a4be5a9480192703db619"
170
+ "sha256": "14705b8f1aca9f22a9be2bc980c8e36accb5723401f7087e0452d8a61969156c"
139
171
  }
140
172
  },
141
173
  {
@@ -143,7 +175,7 @@
143
175
  "version": "2.2.0",
144
176
  "source": {
145
177
  "path": "sbom.cdx.json#components",
146
- "sha256": "9d6556f926230219f32c5e554c4f126806a53f5e5f1a4be5a9480192703db619"
178
+ "sha256": "14705b8f1aca9f22a9be2bc980c8e36accb5723401f7087e0452d8a61969156c"
147
179
  }
148
180
  },
149
181
  {
@@ -151,7 +183,7 @@
151
183
  "version": "2.2.0",
152
184
  "source": {
153
185
  "path": "sbom.cdx.json#components",
154
- "sha256": "9d6556f926230219f32c5e554c4f126806a53f5e5f1a4be5a9480192703db619"
186
+ "sha256": "14705b8f1aca9f22a9be2bc980c8e36accb5723401f7087e0452d8a61969156c"
155
187
  }
156
188
  }
157
189
  ]
@@ -1,3 +1,7 @@
1
+ export * from "../shapes/gen/ExtensionManifest.js";
2
+ export * from "../shapes/gen/ExtensionWorkflow.js";
3
+ export * from "../shapes/gen/DeclarativePanel.js";
4
+ export * from "../shapes/gen/PolicyBody.js";
1
5
  export * from "../shapes/gen/PartReceipt.js";
2
6
  export * from "../shapes/gen/PackageInventory.js";
3
7
  export * from "../shapes/gen/CatalogIndex.js";
package/dist/gen/http.js CHANGED
@@ -1,6 +1,10 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
2
  // <auto-generated />
3
3
  // Generated by eng/generate_shapes.py; do not edit.
4
+ export * from "../shapes/gen/ExtensionManifest.js";
5
+ export * from "../shapes/gen/ExtensionWorkflow.js";
6
+ export * from "../shapes/gen/DeclarativePanel.js";
7
+ export * from "../shapes/gen/PolicyBody.js";
4
8
  export * from "../shapes/gen/PartReceipt.js";
5
9
  export * from "../shapes/gen/PackageInventory.js";
6
10
  export * from "../shapes/gen/CatalogIndex.js";
@@ -0,0 +1,154 @@
1
+ export interface DeclarativePanel {
2
+ schemaVersion: string;
3
+ inputSchemaId?: string;
4
+ controls: PanelControl[];
5
+ }
6
+ export type PanelControl = PanelColumnControl | PanelRowControl | PanelSectionControl | PanelTextControl | PanelTextInputControl | PanelNumberInputControl | PanelToggleControl | PanelSelectControl | PanelButtonControl | PanelListControl | PanelTableControl | PanelResourceLinkControl | PanelPreviewControl;
7
+ export interface PanelButtonControl {
8
+ id: string;
9
+ kind: string;
10
+ label?: Record<string, string>;
11
+ help?: Record<string, string>;
12
+ visible?: PanelPredicate;
13
+ operationId: string;
14
+ arguments: PanelArgument[];
15
+ }
16
+ export interface PanelArgument {
17
+ name: string;
18
+ valueRef: PanelValueRef;
19
+ }
20
+ export interface PanelColumnControl {
21
+ id: string;
22
+ kind: string;
23
+ label?: Record<string, string>;
24
+ help?: Record<string, string>;
25
+ visible?: PanelPredicate;
26
+ children: string[];
27
+ }
28
+ export interface PanelListControl {
29
+ id: string;
30
+ kind: string;
31
+ label?: Record<string, string>;
32
+ help?: Record<string, string>;
33
+ visible?: PanelPredicate;
34
+ binding: PanelValueRef;
35
+ pageSize: number;
36
+ }
37
+ export interface PanelNumberInputControl {
38
+ id: string;
39
+ kind: string;
40
+ label?: Record<string, string>;
41
+ help?: Record<string, string>;
42
+ visible?: PanelPredicate;
43
+ binding: PanelValueRef;
44
+ }
45
+ export type PanelPredicate = PanelComparison | PanelExists | PanelAll | PanelAny;
46
+ export interface PanelAll {
47
+ operator: string;
48
+ predicates: PanelPredicate[];
49
+ }
50
+ export interface PanelAny {
51
+ operator: string;
52
+ predicates: PanelPredicate[];
53
+ }
54
+ export interface PanelComparison {
55
+ operator: string;
56
+ left: PanelValueRef;
57
+ right: PanelValueRef;
58
+ }
59
+ export interface PanelExists {
60
+ operator: string;
61
+ value: PanelValueRef;
62
+ }
63
+ export interface PanelPreviewControl {
64
+ id: string;
65
+ kind: string;
66
+ label?: Record<string, string>;
67
+ help?: Record<string, string>;
68
+ visible?: PanelPredicate;
69
+ binding: PanelValueRef;
70
+ }
71
+ export interface PanelResourceLinkControl {
72
+ id: string;
73
+ kind: string;
74
+ label?: Record<string, string>;
75
+ help?: Record<string, string>;
76
+ visible?: PanelPredicate;
77
+ binding: PanelValueRef;
78
+ }
79
+ export interface PanelRowControl {
80
+ id: string;
81
+ kind: string;
82
+ label?: Record<string, string>;
83
+ help?: Record<string, string>;
84
+ visible?: PanelPredicate;
85
+ children: string[];
86
+ }
87
+ export interface PanelSectionControl {
88
+ id: string;
89
+ kind: string;
90
+ label?: Record<string, string>;
91
+ help?: Record<string, string>;
92
+ visible?: PanelPredicate;
93
+ children: string[];
94
+ }
95
+ export interface PanelSelectControl {
96
+ id: string;
97
+ kind: string;
98
+ label?: Record<string, string>;
99
+ help?: Record<string, string>;
100
+ visible?: PanelPredicate;
101
+ binding: PanelValueRef;
102
+ optionsBinding: PanelValueRef;
103
+ }
104
+ export interface PanelTableControl {
105
+ id: string;
106
+ kind: string;
107
+ label?: Record<string, string>;
108
+ help?: Record<string, string>;
109
+ visible?: PanelPredicate;
110
+ binding: PanelValueRef;
111
+ pageSize: number;
112
+ }
113
+ export interface PanelTextControl {
114
+ id: string;
115
+ kind: string;
116
+ label?: Record<string, string>;
117
+ help?: Record<string, string>;
118
+ visible?: PanelPredicate;
119
+ text: Record<string, string>;
120
+ }
121
+ export interface PanelTextInputControl {
122
+ id: string;
123
+ kind: string;
124
+ label?: Record<string, string>;
125
+ help?: Record<string, string>;
126
+ visible?: PanelPredicate;
127
+ binding: PanelValueRef;
128
+ }
129
+ export interface PanelToggleControl {
130
+ id: string;
131
+ kind: string;
132
+ label?: Record<string, string>;
133
+ help?: Record<string, string>;
134
+ visible?: PanelPredicate;
135
+ binding: PanelValueRef;
136
+ }
137
+ export interface PanelValueRef {
138
+ property: string;
139
+ }
140
+ export declare function isDeclarativePanel(value: unknown): value is DeclarativePanel;
141
+ /** The schema's declared UTF-8 document bound in bytes. */
142
+ export declare const declarativePanelJsonMaxBytes = 4194304;
143
+ /** Parses one strict DeclarativePanel document; refusal kinds match the C# codec. */
144
+ export declare function tryParseDeclarativePanelJson(input: Uint8Array | string): {
145
+ ok: true;
146
+ value: DeclarativePanel;
147
+ } | {
148
+ ok: false;
149
+ failure: "tooLarge" | "malformed" | "invalid";
150
+ };
151
+ /** Parses one strict DeclarativePanel document or throws an error carrying the refusal kind. */
152
+ export declare function parseDeclarativePanelJson(input: Uint8Array | string): DeclarativePanel;
153
+ /** Writes compact UTF-8 in schema property order and refuses output the schema rejects. */
154
+ export declare function serializeDeclarativePanelJson(value: DeclarativePanel): Uint8Array;