@openvtc/trust-tasks 0.20.2 → 0.20.4
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 +65 -0
- package/dist/_shared/components.d.ts +175 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/git-ns/_shared/0.1/git-ns.d.ts +16 -0
- package/dist/git-ns/_shared/0.1/git-ns.d.ts.map +1 -0
- package/dist/git-ns/_shared/0.1/git-ns.js +6 -0
- package/dist/git-ns/_shared/0.1/git-ns.js.map +1 -0
- package/dist/git-ns/account/link/0.1/payload.d.ts +355 -0
- package/dist/git-ns/account/link/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/account/link/0.1/payload.js +192 -0
- package/dist/git-ns/account/link/0.1/payload.js.map +1 -0
- package/dist/git-ns/account/link-status/0.1/payload.d.ts +403 -0
- package/dist/git-ns/account/link-status/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/account/link-status/0.1/payload.js +234 -0
- package/dist/git-ns/account/link-status/0.1/payload.js.map +1 -0
- package/dist/git-ns/bridge/event/0.1/payload.d.ts +1348 -0
- package/dist/git-ns/bridge/event/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/event/0.1/payload.js +785 -0
- package/dist/git-ns/bridge/event/0.1/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/0.1/payload.d.ts +1044 -0
- package/dist/git-ns/bridge/job/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/0.1/payload.js +564 -0
- package/dist/git-ns/bridge/job/0.1/payload.js.map +1 -0
- package/dist/git-ns/bridge/result/0.1/payload.d.ts +462 -0
- package/dist/git-ns/bridge/result/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/result/0.1/payload.js +248 -0
- package/dist/git-ns/bridge/result/0.1/payload.js.map +1 -0
- package/dist/git-ns/namespace/bind/0.1/payload.d.ts +547 -0
- package/dist/git-ns/namespace/bind/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/bind/0.1/payload.js +322 -0
- package/dist/git-ns/namespace/bind/0.1/payload.js.map +1 -0
- package/dist/git-ns/namespace/unbind/0.1/payload.d.ts +300 -0
- package/dist/git-ns/namespace/unbind/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/unbind/0.1/payload.js +168 -0
- package/dist/git-ns/namespace/unbind/0.1/payload.js.map +1 -0
- package/dist/git-ns/repo/adopt/0.1/payload.d.ts +962 -0
- package/dist/git-ns/repo/adopt/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/adopt/0.1/payload.js +583 -0
- package/dist/git-ns/repo/adopt/0.1/payload.js.map +1 -0
- package/dist/git-ns/repo/archive/0.1/payload.d.ts +959 -0
- package/dist/git-ns/repo/archive/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/archive/0.1/payload.js +584 -0
- package/dist/git-ns/repo/archive/0.1/payload.js.map +1 -0
- package/dist/git-ns/repo/create/0.1/payload.d.ts +1074 -0
- package/dist/git-ns/repo/create/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/create/0.1/payload.js +636 -0
- package/dist/git-ns/repo/create/0.1/payload.js.map +1 -0
- package/dist/git-ns/repo/transfer/0.1/payload.d.ts +947 -0
- package/dist/git-ns/repo/transfer/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/transfer/0.1/payload.js +577 -0
- package/dist/git-ns/repo/transfer/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/grant/0.1/payload.d.ts +506 -0
- package/dist/git-ns/right/grant/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/grant/0.1/payload.js +289 -0
- package/dist/git-ns/right/grant/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/revoke/0.1/payload.d.ts +492 -0
- package/dist/git-ns/right/revoke/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/revoke/0.1/payload.js +284 -0
- package/dist/git-ns/right/revoke/0.1/payload.js.map +1 -0
- package/dist/git-ns/view/0.1/payload.d.ts +1407 -0
- package/dist/git-ns/view/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/view/0.1/payload.js +860 -0
- package/dist/git-ns/view/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +181 -0
- package/src/git-ns/_shared/0.1/git-ns.ts +17 -0
- package/src/git-ns/account/link/0.1/payload.ts +242 -0
- package/src/git-ns/account/link-status/0.1/payload.ts +276 -0
- package/src/git-ns/bridge/event/0.1/payload.ts +902 -0
- package/src/git-ns/bridge/job/0.1/payload.ts +676 -0
- package/src/git-ns/bridge/result/0.1/payload.ts +321 -0
- package/src/git-ns/namespace/bind/0.1/payload.ts +374 -0
- package/src/git-ns/namespace/unbind/0.1/payload.ts +211 -0
- package/src/git-ns/repo/adopt/0.1/payload.ts +628 -0
- package/src/git-ns/repo/archive/0.1/payload.ts +626 -0
- package/src/git-ns/repo/create/0.1/payload.ts +689 -0
- package/src/git-ns/repo/transfer/0.1/payload.ts +619 -0
- package/src/git-ns/right/grant/0.1/payload.ts +340 -0
- package/src/git-ns/right/revoke/0.1/payload.ts +331 -0
- package/src/git-ns/view/0.1/payload.ts +906 -0
- package/src/index.ts +15 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/git-ns/account/link-status/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext, ForgeAccount, ForgeHost, ForgeId } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* A member asks where a forge account link they began stands.
|
|
8
|
+
*/
|
|
9
|
+
export interface GitNamespacesForgeAccountLinkStatusPayload {
|
|
10
|
+
/**
|
|
11
|
+
* From git-ns/account/link.
|
|
12
|
+
*/
|
|
13
|
+
linkId: string;
|
|
14
|
+
ext?: Ext;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Where the link stands.
|
|
18
|
+
*/
|
|
19
|
+
export interface GitNamespacesForgeAccountLinkStatusResponsePayload {
|
|
20
|
+
/**
|
|
21
|
+
* `pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member.
|
|
22
|
+
*/
|
|
23
|
+
state: "pending" | "linked" | "expired" | "failed";
|
|
24
|
+
/**
|
|
25
|
+
* The linked account. Present only when `state` is `linked`.
|
|
26
|
+
*/
|
|
27
|
+
account?: ForgeAccount;
|
|
28
|
+
ext?: Ext;
|
|
29
|
+
}
|
|
30
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
31
|
+
export type { Ext, ForgeAccount, ForgeHost, ForgeId };
|
|
32
|
+
/** Trust Task type URI. */
|
|
33
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/git-ns/account/link-status/0.1";
|
|
34
|
+
/** Stable alias for this specification's request payload shape. */
|
|
35
|
+
export type Payload = GitNamespacesForgeAccountLinkStatusPayload;
|
|
36
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
37
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/git-ns/account/link-status/0.1#response";
|
|
38
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
39
|
+
export type Response = GitNamespacesForgeAccountLinkStatusResponsePayload;
|
|
40
|
+
/**
|
|
41
|
+
* This specification's payload schema, as a value.
|
|
42
|
+
*
|
|
43
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
44
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
45
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
46
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
47
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
48
|
+
*/
|
|
49
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
50
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
51
|
+
readonly $id: "https://trusttasks.org/spec/git-ns/account/link-status/0.1";
|
|
52
|
+
readonly title: "Git Namespaces — Forge Account Link Status — payload";
|
|
53
|
+
readonly description: "A member asks where a forge account link they began stands.";
|
|
54
|
+
readonly type: "object";
|
|
55
|
+
readonly additionalProperties: false;
|
|
56
|
+
readonly required: readonly ["linkId"];
|
|
57
|
+
readonly properties: {
|
|
58
|
+
readonly linkId: {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly minLength: 1;
|
|
61
|
+
readonly maxLength: 128;
|
|
62
|
+
readonly description: "From git-ns/account/link.";
|
|
63
|
+
};
|
|
64
|
+
readonly ext: {
|
|
65
|
+
readonly $ref: "#/$defs/Ext";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly $defs: {
|
|
69
|
+
readonly Response: {
|
|
70
|
+
readonly $anchor: "response";
|
|
71
|
+
readonly title: "Git Namespaces — Forge Account Link Status — response payload";
|
|
72
|
+
readonly description: "Where the link stands.";
|
|
73
|
+
readonly type: "object";
|
|
74
|
+
readonly additionalProperties: false;
|
|
75
|
+
readonly required: readonly ["state"];
|
|
76
|
+
readonly properties: {
|
|
77
|
+
readonly state: {
|
|
78
|
+
readonly type: "string";
|
|
79
|
+
readonly enum: readonly ["pending", "linked", "expired", "failed"];
|
|
80
|
+
readonly description: "`pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member.";
|
|
81
|
+
};
|
|
82
|
+
readonly account: {
|
|
83
|
+
readonly $ref: "#/$defs/ForgeAccount";
|
|
84
|
+
readonly description: "The linked account. Present only when `state` is `linked`.";
|
|
85
|
+
};
|
|
86
|
+
readonly ext: {
|
|
87
|
+
readonly $ref: "#/$defs/Ext";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
readonly Ext: {
|
|
92
|
+
readonly title: "Ext";
|
|
93
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
94
|
+
readonly type: "object";
|
|
95
|
+
readonly minProperties: 1;
|
|
96
|
+
readonly additionalProperties: true;
|
|
97
|
+
readonly propertyNames: {
|
|
98
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly ForgeAccount: {
|
|
102
|
+
readonly title: "ForgeAccount";
|
|
103
|
+
readonly description: "A person's account on one forge. `id` is authoritative; `login` is for display only, because logins can be renamed and re-registered.";
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly additionalProperties: false;
|
|
106
|
+
readonly required: readonly ["forge", "id", "login"];
|
|
107
|
+
readonly properties: {
|
|
108
|
+
readonly forge: {
|
|
109
|
+
readonly $ref: "#/$defs/ForgeHost";
|
|
110
|
+
};
|
|
111
|
+
readonly id: {
|
|
112
|
+
readonly $ref: "#/$defs/ForgeId";
|
|
113
|
+
};
|
|
114
|
+
readonly login: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly minLength: 1;
|
|
117
|
+
readonly maxLength: 100;
|
|
118
|
+
readonly description: "The account's current login, as the forge reported it when last seen. Display only.";
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
readonly ForgeId: {
|
|
123
|
+
readonly title: "ForgeId";
|
|
124
|
+
readonly description: "An identifier the forge itself assigns — a repository id, a user or organisation id — carried as a string so a forge whose ids are not numbers needs no new version. GitHub and Forgejo ids are decimal integers written as strings (`\"812736451\"`). Unlike a name, it survives renames and transfers, which is why rights and bindings are keyed by it.";
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly minLength: 1;
|
|
127
|
+
readonly maxLength: 64;
|
|
128
|
+
};
|
|
129
|
+
readonly ForgeHost: {
|
|
130
|
+
readonly title: "ForgeHost";
|
|
131
|
+
readonly description: "The lowercased DNS host of a forge: `github.com`, a GitHub Enterprise Server host, `codeberg.org`, or a self-hosted Forgejo instance such as `git.example.org`. No scheme, no port, no path. The host is a segment of every resource, so a right never crosses forges.";
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly minLength: 3;
|
|
134
|
+
readonly maxLength: 253;
|
|
135
|
+
readonly pattern: "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
140
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
141
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
142
|
+
readonly $ref: "#/$defs/Response";
|
|
143
|
+
readonly $defs: {
|
|
144
|
+
readonly Response: {
|
|
145
|
+
readonly $anchor: "response";
|
|
146
|
+
readonly title: "Git Namespaces — Forge Account Link Status — response payload";
|
|
147
|
+
readonly description: "Where the link stands.";
|
|
148
|
+
readonly type: "object";
|
|
149
|
+
readonly additionalProperties: false;
|
|
150
|
+
readonly required: readonly ["state"];
|
|
151
|
+
readonly properties: {
|
|
152
|
+
readonly state: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly enum: readonly ["pending", "linked", "expired", "failed"];
|
|
155
|
+
readonly description: "`pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member.";
|
|
156
|
+
};
|
|
157
|
+
readonly account: {
|
|
158
|
+
readonly $ref: "#/$defs/ForgeAccount";
|
|
159
|
+
readonly description: "The linked account. Present only when `state` is `linked`.";
|
|
160
|
+
};
|
|
161
|
+
readonly ext: {
|
|
162
|
+
readonly $ref: "#/$defs/Ext";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly Ext: {
|
|
167
|
+
readonly title: "Ext";
|
|
168
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
169
|
+
readonly type: "object";
|
|
170
|
+
readonly minProperties: 1;
|
|
171
|
+
readonly additionalProperties: true;
|
|
172
|
+
readonly propertyNames: {
|
|
173
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
readonly ForgeAccount: {
|
|
177
|
+
readonly title: "ForgeAccount";
|
|
178
|
+
readonly description: "A person's account on one forge. `id` is authoritative; `login` is for display only, because logins can be renamed and re-registered.";
|
|
179
|
+
readonly type: "object";
|
|
180
|
+
readonly additionalProperties: false;
|
|
181
|
+
readonly required: readonly ["forge", "id", "login"];
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly forge: {
|
|
184
|
+
readonly $ref: "#/$defs/ForgeHost";
|
|
185
|
+
};
|
|
186
|
+
readonly id: {
|
|
187
|
+
readonly $ref: "#/$defs/ForgeId";
|
|
188
|
+
};
|
|
189
|
+
readonly login: {
|
|
190
|
+
readonly type: "string";
|
|
191
|
+
readonly minLength: 1;
|
|
192
|
+
readonly maxLength: 100;
|
|
193
|
+
readonly description: "The account's current login, as the forge reported it when last seen. Display only.";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly ForgeId: {
|
|
198
|
+
readonly title: "ForgeId";
|
|
199
|
+
readonly description: "An identifier the forge itself assigns — a repository id, a user or organisation id — carried as a string so a forge whose ids are not numbers needs no new version. GitHub and Forgejo ids are decimal integers written as strings (`\"812736451\"`). Unlike a name, it survives renames and transfers, which is why rights and bindings are keyed by it.";
|
|
200
|
+
readonly type: "string";
|
|
201
|
+
readonly minLength: 1;
|
|
202
|
+
readonly maxLength: 64;
|
|
203
|
+
};
|
|
204
|
+
readonly ForgeHost: {
|
|
205
|
+
readonly title: "ForgeHost";
|
|
206
|
+
readonly description: "The lowercased DNS host of a forge: `github.com`, a GitHub Enterprise Server host, `codeberg.org`, or a self-hosted Forgejo instance such as `git.example.org`. No scheme, no port, no path. The host is a segment of every resource, so a right never crosses forges.";
|
|
207
|
+
readonly type: "string";
|
|
208
|
+
readonly minLength: 3;
|
|
209
|
+
readonly maxLength: 253;
|
|
210
|
+
readonly pattern: "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
216
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
217
|
+
* per-specification and cannot be derived from the document alone, and
|
|
218
|
+
* item 2 needs the schema this carries.
|
|
219
|
+
*/
|
|
220
|
+
export declare const SPEC: {
|
|
221
|
+
readonly typeUri: "https://trusttasks.org/spec/git-ns/account/link-status/0.1";
|
|
222
|
+
readonly isBearer: false;
|
|
223
|
+
readonly isProofRequired: false;
|
|
224
|
+
readonly isRecipientRequired: true;
|
|
225
|
+
readonly isIssuedAtRequired: false;
|
|
226
|
+
readonly payloadSchema: {
|
|
227
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
228
|
+
readonly $id: "https://trusttasks.org/spec/git-ns/account/link-status/0.1";
|
|
229
|
+
readonly title: "Git Namespaces — Forge Account Link Status — payload";
|
|
230
|
+
readonly description: "A member asks where a forge account link they began stands.";
|
|
231
|
+
readonly type: "object";
|
|
232
|
+
readonly additionalProperties: false;
|
|
233
|
+
readonly required: readonly ["linkId"];
|
|
234
|
+
readonly properties: {
|
|
235
|
+
readonly linkId: {
|
|
236
|
+
readonly type: "string";
|
|
237
|
+
readonly minLength: 1;
|
|
238
|
+
readonly maxLength: 128;
|
|
239
|
+
readonly description: "From git-ns/account/link.";
|
|
240
|
+
};
|
|
241
|
+
readonly ext: {
|
|
242
|
+
readonly $ref: "#/$defs/Ext";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
readonly $defs: {
|
|
246
|
+
readonly Response: {
|
|
247
|
+
readonly $anchor: "response";
|
|
248
|
+
readonly title: "Git Namespaces — Forge Account Link Status — response payload";
|
|
249
|
+
readonly description: "Where the link stands.";
|
|
250
|
+
readonly type: "object";
|
|
251
|
+
readonly additionalProperties: false;
|
|
252
|
+
readonly required: readonly ["state"];
|
|
253
|
+
readonly properties: {
|
|
254
|
+
readonly state: {
|
|
255
|
+
readonly type: "string";
|
|
256
|
+
readonly enum: readonly ["pending", "linked", "expired", "failed"];
|
|
257
|
+
readonly description: "`pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member.";
|
|
258
|
+
};
|
|
259
|
+
readonly account: {
|
|
260
|
+
readonly $ref: "#/$defs/ForgeAccount";
|
|
261
|
+
readonly description: "The linked account. Present only when `state` is `linked`.";
|
|
262
|
+
};
|
|
263
|
+
readonly ext: {
|
|
264
|
+
readonly $ref: "#/$defs/Ext";
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly Ext: {
|
|
269
|
+
readonly title: "Ext";
|
|
270
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
271
|
+
readonly type: "object";
|
|
272
|
+
readonly minProperties: 1;
|
|
273
|
+
readonly additionalProperties: true;
|
|
274
|
+
readonly propertyNames: {
|
|
275
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
readonly ForgeAccount: {
|
|
279
|
+
readonly title: "ForgeAccount";
|
|
280
|
+
readonly description: "A person's account on one forge. `id` is authoritative; `login` is for display only, because logins can be renamed and re-registered.";
|
|
281
|
+
readonly type: "object";
|
|
282
|
+
readonly additionalProperties: false;
|
|
283
|
+
readonly required: readonly ["forge", "id", "login"];
|
|
284
|
+
readonly properties: {
|
|
285
|
+
readonly forge: {
|
|
286
|
+
readonly $ref: "#/$defs/ForgeHost";
|
|
287
|
+
};
|
|
288
|
+
readonly id: {
|
|
289
|
+
readonly $ref: "#/$defs/ForgeId";
|
|
290
|
+
};
|
|
291
|
+
readonly login: {
|
|
292
|
+
readonly type: "string";
|
|
293
|
+
readonly minLength: 1;
|
|
294
|
+
readonly maxLength: 100;
|
|
295
|
+
readonly description: "The account's current login, as the forge reported it when last seen. Display only.";
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
readonly ForgeId: {
|
|
300
|
+
readonly title: "ForgeId";
|
|
301
|
+
readonly description: "An identifier the forge itself assigns — a repository id, a user or organisation id — carried as a string so a forge whose ids are not numbers needs no new version. GitHub and Forgejo ids are decimal integers written as strings (`\"812736451\"`). Unlike a name, it survives renames and transfers, which is why rights and bindings are keyed by it.";
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
readonly minLength: 1;
|
|
304
|
+
readonly maxLength: 64;
|
|
305
|
+
};
|
|
306
|
+
readonly ForgeHost: {
|
|
307
|
+
readonly title: "ForgeHost";
|
|
308
|
+
readonly description: "The lowercased DNS host of a forge: `github.com`, a GitHub Enterprise Server host, `codeberg.org`, or a self-hosted Forgejo instance such as `git.example.org`. No scheme, no port, no path. The host is a segment of every resource, so a right never crosses forges.";
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
readonly minLength: 3;
|
|
311
|
+
readonly maxLength: 253;
|
|
312
|
+
readonly pattern: "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
319
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
320
|
+
* parties (§7.3 item 5).
|
|
321
|
+
*/
|
|
322
|
+
export declare const RESPONSE_SPEC: {
|
|
323
|
+
readonly typeUri: "https://trusttasks.org/spec/git-ns/account/link-status/0.1#response";
|
|
324
|
+
readonly isBearer: false;
|
|
325
|
+
readonly isProofRequired: false;
|
|
326
|
+
readonly isRecipientRequired: true;
|
|
327
|
+
readonly isIssuedAtRequired: false;
|
|
328
|
+
readonly payloadSchema: {
|
|
329
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
330
|
+
readonly $ref: "#/$defs/Response";
|
|
331
|
+
readonly $defs: {
|
|
332
|
+
readonly Response: {
|
|
333
|
+
readonly $anchor: "response";
|
|
334
|
+
readonly title: "Git Namespaces — Forge Account Link Status — response payload";
|
|
335
|
+
readonly description: "Where the link stands.";
|
|
336
|
+
readonly type: "object";
|
|
337
|
+
readonly additionalProperties: false;
|
|
338
|
+
readonly required: readonly ["state"];
|
|
339
|
+
readonly properties: {
|
|
340
|
+
readonly state: {
|
|
341
|
+
readonly type: "string";
|
|
342
|
+
readonly enum: readonly ["pending", "linked", "expired", "failed"];
|
|
343
|
+
readonly description: "`pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member.";
|
|
344
|
+
};
|
|
345
|
+
readonly account: {
|
|
346
|
+
readonly $ref: "#/$defs/ForgeAccount";
|
|
347
|
+
readonly description: "The linked account. Present only when `state` is `linked`.";
|
|
348
|
+
};
|
|
349
|
+
readonly ext: {
|
|
350
|
+
readonly $ref: "#/$defs/Ext";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
readonly Ext: {
|
|
355
|
+
readonly title: "Ext";
|
|
356
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
357
|
+
readonly type: "object";
|
|
358
|
+
readonly minProperties: 1;
|
|
359
|
+
readonly additionalProperties: true;
|
|
360
|
+
readonly propertyNames: {
|
|
361
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
readonly ForgeAccount: {
|
|
365
|
+
readonly title: "ForgeAccount";
|
|
366
|
+
readonly description: "A person's account on one forge. `id` is authoritative; `login` is for display only, because logins can be renamed and re-registered.";
|
|
367
|
+
readonly type: "object";
|
|
368
|
+
readonly additionalProperties: false;
|
|
369
|
+
readonly required: readonly ["forge", "id", "login"];
|
|
370
|
+
readonly properties: {
|
|
371
|
+
readonly forge: {
|
|
372
|
+
readonly $ref: "#/$defs/ForgeHost";
|
|
373
|
+
};
|
|
374
|
+
readonly id: {
|
|
375
|
+
readonly $ref: "#/$defs/ForgeId";
|
|
376
|
+
};
|
|
377
|
+
readonly login: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
readonly minLength: 1;
|
|
380
|
+
readonly maxLength: 100;
|
|
381
|
+
readonly description: "The account's current login, as the forge reported it when last seen. Display only.";
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly ForgeId: {
|
|
386
|
+
readonly title: "ForgeId";
|
|
387
|
+
readonly description: "An identifier the forge itself assigns — a repository id, a user or organisation id — carried as a string so a forge whose ids are not numbers needs no new version. GitHub and Forgejo ids are decimal integers written as strings (`\"812736451\"`). Unlike a name, it survives renames and transfers, which is why rights and bindings are keyed by it.";
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
readonly minLength: 1;
|
|
390
|
+
readonly maxLength: 64;
|
|
391
|
+
};
|
|
392
|
+
readonly ForgeHost: {
|
|
393
|
+
readonly title: "ForgeHost";
|
|
394
|
+
readonly description: "The lowercased DNS host of a forge: `github.com`, a GitHub Enterprise Server host, `codeberg.org`, or a self-hosted Forgejo instance such as `git.example.org`. No scheme, no port, no path. The host is a segment of every resource, so a right never crosses forges.";
|
|
395
|
+
readonly type: "string";
|
|
396
|
+
readonly minLength: 3;
|
|
397
|
+
readonly maxLength: 253;
|
|
398
|
+
readonly pattern: "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$";
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/git-ns/account/link-status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAG/F;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACzD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,kDAAkD;IACjE;;OAEG;IACH,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IACnD;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AAEtD,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4DAAqE,CAAC;AAE9F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,0CAA0C,CAAC;AAEjE,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,qEAA8E,CAAC;AAEhH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,kDAAkD,CAAC;AAE1E;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoF1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/git-ns/account/link-status/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/git-ns/account/link-status/0.1";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/git-ns/account/link-status/0.1#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/git-ns/account/link-status/0.1",
|
|
21
|
+
"title": "Git Namespaces — Forge Account Link Status — payload",
|
|
22
|
+
"description": "A member asks where a forge account link they began stands.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"linkId"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"linkId": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"maxLength": 128,
|
|
33
|
+
"description": "From git-ns/account/link."
|
|
34
|
+
},
|
|
35
|
+
"ext": {
|
|
36
|
+
"$ref": "#/$defs/Ext"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"$defs": {
|
|
40
|
+
"Response": {
|
|
41
|
+
"$anchor": "response",
|
|
42
|
+
"title": "Git Namespaces — Forge Account Link Status — response payload",
|
|
43
|
+
"description": "Where the link stands.",
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": [
|
|
47
|
+
"state"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"state": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enum": [
|
|
53
|
+
"pending",
|
|
54
|
+
"linked",
|
|
55
|
+
"expired",
|
|
56
|
+
"failed"
|
|
57
|
+
],
|
|
58
|
+
"description": "`pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member."
|
|
59
|
+
},
|
|
60
|
+
"account": {
|
|
61
|
+
"$ref": "#/$defs/ForgeAccount",
|
|
62
|
+
"description": "The linked account. Present only when `state` is `linked`."
|
|
63
|
+
},
|
|
64
|
+
"ext": {
|
|
65
|
+
"$ref": "#/$defs/Ext"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"Ext": {
|
|
70
|
+
"title": "Ext",
|
|
71
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"minProperties": 1,
|
|
74
|
+
"additionalProperties": true,
|
|
75
|
+
"propertyNames": {
|
|
76
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"ForgeAccount": {
|
|
80
|
+
"title": "ForgeAccount",
|
|
81
|
+
"description": "A person's account on one forge. `id` is authoritative; `login` is for display only, because logins can be renamed and re-registered.",
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"required": [
|
|
85
|
+
"forge",
|
|
86
|
+
"id",
|
|
87
|
+
"login"
|
|
88
|
+
],
|
|
89
|
+
"properties": {
|
|
90
|
+
"forge": {
|
|
91
|
+
"$ref": "#/$defs/ForgeHost"
|
|
92
|
+
},
|
|
93
|
+
"id": {
|
|
94
|
+
"$ref": "#/$defs/ForgeId"
|
|
95
|
+
},
|
|
96
|
+
"login": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"minLength": 1,
|
|
99
|
+
"maxLength": 100,
|
|
100
|
+
"description": "The account's current login, as the forge reported it when last seen. Display only."
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"ForgeId": {
|
|
105
|
+
"title": "ForgeId",
|
|
106
|
+
"description": "An identifier the forge itself assigns — a repository id, a user or organisation id — carried as a string so a forge whose ids are not numbers needs no new version. GitHub and Forgejo ids are decimal integers written as strings (`\"812736451\"`). Unlike a name, it survives renames and transfers, which is why rights and bindings are keyed by it.",
|
|
107
|
+
"type": "string",
|
|
108
|
+
"minLength": 1,
|
|
109
|
+
"maxLength": 64
|
|
110
|
+
},
|
|
111
|
+
"ForgeHost": {
|
|
112
|
+
"title": "ForgeHost",
|
|
113
|
+
"description": "The lowercased DNS host of a forge: `github.com`, a GitHub Enterprise Server host, `codeberg.org`, or a self-hosted Forgejo instance such as `git.example.org`. No scheme, no port, no path. The host is a segment of every resource, so a right never crosses forges.",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 3,
|
|
116
|
+
"maxLength": 253,
|
|
117
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
122
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
123
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
124
|
+
"$ref": "#/$defs/Response",
|
|
125
|
+
"$defs": {
|
|
126
|
+
"Response": {
|
|
127
|
+
"$anchor": "response",
|
|
128
|
+
"title": "Git Namespaces — Forge Account Link Status — response payload",
|
|
129
|
+
"description": "Where the link stands.",
|
|
130
|
+
"type": "object",
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"required": [
|
|
133
|
+
"state"
|
|
134
|
+
],
|
|
135
|
+
"properties": {
|
|
136
|
+
"state": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enum": [
|
|
139
|
+
"pending",
|
|
140
|
+
"linked",
|
|
141
|
+
"expired",
|
|
142
|
+
"failed"
|
|
143
|
+
],
|
|
144
|
+
"description": "`pending` — waiting for the member to authorise. `linked` — the account is bound to the member's DID. `expired` — not authorised in time. `failed` — the forge refused, or the account is already linked to another member."
|
|
145
|
+
},
|
|
146
|
+
"account": {
|
|
147
|
+
"$ref": "#/$defs/ForgeAccount",
|
|
148
|
+
"description": "The linked account. Present only when `state` is `linked`."
|
|
149
|
+
},
|
|
150
|
+
"ext": {
|
|
151
|
+
"$ref": "#/$defs/Ext"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"Ext": {
|
|
156
|
+
"title": "Ext",
|
|
157
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
158
|
+
"type": "object",
|
|
159
|
+
"minProperties": 1,
|
|
160
|
+
"additionalProperties": true,
|
|
161
|
+
"propertyNames": {
|
|
162
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"ForgeAccount": {
|
|
166
|
+
"title": "ForgeAccount",
|
|
167
|
+
"description": "A person's account on one forge. `id` is authoritative; `login` is for display only, because logins can be renamed and re-registered.",
|
|
168
|
+
"type": "object",
|
|
169
|
+
"additionalProperties": false,
|
|
170
|
+
"required": [
|
|
171
|
+
"forge",
|
|
172
|
+
"id",
|
|
173
|
+
"login"
|
|
174
|
+
],
|
|
175
|
+
"properties": {
|
|
176
|
+
"forge": {
|
|
177
|
+
"$ref": "#/$defs/ForgeHost"
|
|
178
|
+
},
|
|
179
|
+
"id": {
|
|
180
|
+
"$ref": "#/$defs/ForgeId"
|
|
181
|
+
},
|
|
182
|
+
"login": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1,
|
|
185
|
+
"maxLength": 100,
|
|
186
|
+
"description": "The account's current login, as the forge reported it when last seen. Display only."
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"ForgeId": {
|
|
191
|
+
"title": "ForgeId",
|
|
192
|
+
"description": "An identifier the forge itself assigns — a repository id, a user or organisation id — carried as a string so a forge whose ids are not numbers needs no new version. GitHub and Forgejo ids are decimal integers written as strings (`\"812736451\"`). Unlike a name, it survives renames and transfers, which is why rights and bindings are keyed by it.",
|
|
193
|
+
"type": "string",
|
|
194
|
+
"minLength": 1,
|
|
195
|
+
"maxLength": 64
|
|
196
|
+
},
|
|
197
|
+
"ForgeHost": {
|
|
198
|
+
"title": "ForgeHost",
|
|
199
|
+
"description": "The lowercased DNS host of a forge: `github.com`, a GitHub Enterprise Server host, `codeberg.org`, or a self-hosted Forgejo instance such as `git.example.org`. No scheme, no port, no path. The host is a segment of every resource, so a right never crosses forges.",
|
|
200
|
+
"type": "string",
|
|
201
|
+
"minLength": 3,
|
|
202
|
+
"maxLength": 253,
|
|
203
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
209
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
210
|
+
* per-specification and cannot be derived from the document alone, and
|
|
211
|
+
* item 2 needs the schema this carries.
|
|
212
|
+
*/
|
|
213
|
+
export const SPEC = {
|
|
214
|
+
typeUri: TYPE_URI,
|
|
215
|
+
isBearer: false,
|
|
216
|
+
isProofRequired: false,
|
|
217
|
+
isRecipientRequired: true,
|
|
218
|
+
isIssuedAtRequired: false,
|
|
219
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
223
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
224
|
+
* parties (§7.3 item 5).
|
|
225
|
+
*/
|
|
226
|
+
export const RESPONSE_SPEC = {
|
|
227
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
228
|
+
isBearer: false,
|
|
229
|
+
isProofRequired: false,
|
|
230
|
+
isRecipientRequired: true,
|
|
231
|
+
isIssuedAtRequired: false,
|
|
232
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
233
|
+
};
|
|
234
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/git-ns/account/link-status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,qEAA8E,CAAC;AAKhH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,4DAA4D;IACnE,OAAO,EAAE,sDAAsD;IAC/D,aAAa,EAAE,6DAA6D;IAC5E,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,QAAQ;KACT;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,2BAA2B;SAC3C;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,+DAA+D;YACxE,aAAa,EAAE,wBAAwB;YACvC,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE;oBACP,MAAM,EAAE,QAAQ;oBAChB,MAAM,EAAE;wBACN,SAAS;wBACT,QAAQ;wBACR,SAAS;wBACT,QAAQ;qBACT;oBACD,aAAa,EAAE,6NAA6N;iBAC7O;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE,sBAAsB;oBAC9B,aAAa,EAAE,4DAA4D;iBAC5E;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAA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