@astrale-domains/shell 0.1.0-beta.26 → 0.1.0-beta.28

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 (50) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +29 -7
  3. package/dist/application.d.ts +11 -2240
  4. package/dist/application.js +2 -2
  5. package/dist/functions/group/assign-member-to-group.d.ts +102 -0
  6. package/dist/functions/group/{unassign-user-from-group.js → assign-member-to-group.js} +2 -2
  7. package/dist/functions/group/{change-user-group-membership.d.ts → change-group-membership.d.ts} +1 -1
  8. package/dist/functions/group/{change-user-group-membership.js → change-group-membership.js} +1 -1
  9. package/dist/functions/group/group-membership-errors.d.ts +1 -1
  10. package/dist/functions/group/group-membership-errors.js +1 -1
  11. package/dist/functions/group/index.d.ts +2 -2
  12. package/dist/functions/group/index.js +2 -2
  13. package/dist/functions/group/unassign-member-from-group.d.ts +102 -0
  14. package/dist/functions/group/unassign-member-from-group.js +4 -0
  15. package/dist/functions/user/invite-user.d.ts +11 -2240
  16. package/dist/mutations/group/index.d.ts +1 -1
  17. package/dist/mutations/group/index.js +1 -1
  18. package/dist/mutations/group/set-group-membership.d.ts +101 -0
  19. package/dist/mutations/group/{set-user-group-membership.js → set-group-membership.js} +1 -1
  20. package/dist/queries/group/index.d.ts +1 -1
  21. package/dist/queries/group/index.js +1 -1
  22. package/dist/queries/group/read-group-membership-endpoints.d.ts +12 -2241
  23. package/dist/queries/group/read-group-membership-endpoints.js +2 -2
  24. package/dist/queries/group/read-group-membership.d.ts +90 -0
  25. package/dist/queries/group/{read-user-group-membership.js → read-group-membership.js} +2 -2
  26. package/dist/runtime.d.ts +35 -6722
  27. package/dist/runtime.js +2 -2
  28. package/dist/schema/modules/group/classes/group.d.ts +5 -1237
  29. package/dist/schema/modules/group/classes/group.js +2 -2
  30. package/dist/schema/modules/group/classes/member-of-group.d.ts +1 -1
  31. package/dist/schema/modules/group/classes/member-of-group.js +5 -1
  32. package/dist/schema/modules/group/functions/{unassign-user-from-group.d.ts → assign-member-to-group.d.ts} +2 -2
  33. package/dist/schema/modules/group/functions/{assign-user-to-group.js → assign-member-to-group.js} +1 -1
  34. package/dist/schema/modules/group/functions/index.d.ts +2 -2
  35. package/dist/schema/modules/group/functions/index.js +2 -2
  36. package/dist/schema/modules/group/functions/unassign-member-from-group.d.ts +7 -0
  37. package/dist/schema/modules/group/functions/{unassign-user-from-group.js → unassign-member-from-group.js} +1 -1
  38. package/dist/schema/modules/group/types/{group-user-reference.d.ts → group-membership-input.d.ts} +1 -1
  39. package/dist/schema/modules/group/types/{group-user-reference.js → group-membership-input.js} +1 -1
  40. package/dist/schema/modules/group/types/index.d.ts +1 -1
  41. package/dist/schema/modules/group/types/index.js +1 -1
  42. package/dist/schema/modules/user/classes/user.d.ts +1 -997
  43. package/dist/schema/schema.d.ts +43 -8957
  44. package/package.json +3 -3
  45. package/dist/functions/group/assign-user-to-group.d.ts +0 -2331
  46. package/dist/functions/group/assign-user-to-group.js +0 -4
  47. package/dist/functions/group/unassign-user-from-group.d.ts +0 -2331
  48. package/dist/mutations/group/set-user-group-membership.d.ts +0 -2330
  49. package/dist/queries/group/read-user-group-membership.d.ts +0 -2319
  50. package/dist/schema/modules/group/functions/assign-user-to-group.d.ts +0 -7
@@ -1,2331 +0,0 @@
1
- export declare const assignUser: import("@astrale-os/sdk/workflow").WorkflowDefinition<import("@astrale-os/sdk/schema").DefinedSchema<"shell.astrale.ai", import("@astrale-os/sdk/schema").ResolvedDomainOfInput<"shell.astrale.ai", {
2
- readonly dependencies: {
3
- readonly kernel: import("@astrale-os/sdk/schema").KernelSchema;
4
- };
5
- readonly classes: {
6
- readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
7
- readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
8
- readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
9
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
10
- readonly name: "frozen";
11
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
12
- };
13
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
14
- readonly name: "iss";
15
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
16
- };
17
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
18
- claim: string;
19
- op: "contains";
20
- value: unknown;
21
- } | {
22
- claim: string;
23
- op: "eq";
24
- value: unknown;
25
- } | {
26
- claim: string;
27
- op: "exists";
28
- })[], false, never> & {
29
- readonly name: "requiredClaims";
30
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
31
- };
32
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
33
- readonly name: "sub";
34
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
35
- };
36
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
37
- claim: string;
38
- op: "contains";
39
- value: unknown;
40
- } | {
41
- claim: string;
42
- op: "eq";
43
- value: unknown;
44
- } | {
45
- claim: string;
46
- op: "exists";
47
- })[], false, never> & {
48
- readonly name: "requiredClaims";
49
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
50
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
51
- readonly name: "frozen";
52
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
53
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
54
- readonly name: "iss";
55
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
56
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
57
- readonly name: "sub";
58
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
59
- })> & {
60
- readonly byKey: Readonly<{
61
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
62
- readonly name: "frozen";
63
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
64
- };
65
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
66
- readonly name: "iss";
67
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
68
- };
69
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
70
- claim: string;
71
- op: "contains";
72
- value: unknown;
73
- } | {
74
- claim: string;
75
- op: "eq";
76
- value: unknown;
77
- } | {
78
- claim: string;
79
- op: "exists";
80
- })[], false, never> & {
81
- readonly name: "requiredClaims";
82
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
83
- };
84
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
85
- readonly name: "sub";
86
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
87
- };
88
- }>;
89
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
90
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
91
- readonly name: "frozen";
92
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
93
- };
94
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
95
- readonly name: "iss";
96
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
97
- };
98
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
99
- claim: string;
100
- op: "contains";
101
- value: unknown;
102
- } | {
103
- claim: string;
104
- op: "eq";
105
- value: unknown;
106
- } | {
107
- claim: string;
108
- op: "exists";
109
- })[], false, never> & {
110
- readonly name: "requiredClaims";
111
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
112
- };
113
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
114
- readonly name: "sub";
115
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
116
- };
117
- }>[Key];
118
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
119
- from(input: Readonly<{
120
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
121
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
122
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
123
- claim: string;
124
- op: "contains";
125
- value: unknown;
126
- } | {
127
- claim: string;
128
- op: "eq";
129
- value: unknown;
130
- } | {
131
- claim: string;
132
- op: "exists";
133
- })[] | undefined;
134
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
135
- } & {
136
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
137
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
138
- readonly requiredClaims?: ({
139
- claim: string;
140
- op: "contains";
141
- value: unknown;
142
- } | {
143
- claim: string;
144
- op: "eq";
145
- value: unknown;
146
- } | {
147
- claim: string;
148
- op: "exists";
149
- })[] | undefined;
150
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
151
- }>): import("@astrale-os/sdk/schema").PropertyValues;
152
- }, Readonly<Readonly<{}>> & Iterable<never> & {
153
- readonly byKey: Readonly<{}>;
154
- get<Key extends never>(key: Key): Readonly<{}>[Key];
155
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
156
- }, Readonly<Readonly<{
157
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
158
- policy: string;
159
- object: string;
160
- }, {
161
- readonly mode: 'value';
162
- readonly value: {
163
- allowed: boolean;
164
- };
165
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
166
- readonly name: "can";
167
- };
168
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
169
- principal: string;
170
- audience: string;
171
- ttlSeconds: number;
172
- attenuation: unknown;
173
- }, {
174
- readonly mode: 'value';
175
- readonly value: string;
176
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
177
- readonly name: "delegate";
178
- };
179
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
180
- audience?: string | undefined;
181
- ttlSeconds: number;
182
- grant?: unknown;
183
- }, {
184
- readonly mode: 'value';
185
- readonly value: string;
186
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
187
- readonly name: "mint";
188
- };
189
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
190
- readonly mode: 'value';
191
- readonly value: {
192
- id: string;
193
- iss: string;
194
- sub: string;
195
- frozen: boolean;
196
- requiredClaims: ({
197
- claim: string;
198
- op: "contains";
199
- value: unknown;
200
- } | {
201
- claim: string;
202
- op: "eq";
203
- value: unknown;
204
- } | {
205
- claim: string;
206
- op: "exists";
207
- })[];
208
- };
209
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
210
- readonly name: "whoami";
211
- };
212
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
213
- iss: string;
214
- sub: string;
215
- }, {
216
- readonly mode: 'value';
217
- readonly value: {
218
- id: string;
219
- iss: string;
220
- sub: string;
221
- frozen: boolean;
222
- requiredClaims: ({
223
- claim: string;
224
- op: "contains";
225
- value: unknown;
226
- } | {
227
- claim: string;
228
- op: "eq";
229
- value: unknown;
230
- } | {
231
- claim: string;
232
- op: "exists";
233
- })[];
234
- } | null;
235
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
236
- readonly name: "whois";
237
- };
238
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
239
- readonly mode: 'value';
240
- readonly value: {
241
- id: string;
242
- iss: string;
243
- sub: string;
244
- frozen: boolean;
245
- requiredClaims: ({
246
- claim: string;
247
- op: "contains";
248
- value: unknown;
249
- } | {
250
- claim: string;
251
- op: "eq";
252
- value: unknown;
253
- } | {
254
- claim: string;
255
- op: "exists";
256
- })[];
257
- };
258
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
259
- readonly name: "whoami";
260
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
261
- principal: string;
262
- audience: string;
263
- ttlSeconds: number;
264
- attenuation: unknown;
265
- }, {
266
- readonly mode: 'value';
267
- readonly value: string;
268
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
269
- readonly name: "delegate";
270
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
271
- iss: string;
272
- sub: string;
273
- }, {
274
- readonly mode: 'value';
275
- readonly value: {
276
- id: string;
277
- iss: string;
278
- sub: string;
279
- frozen: boolean;
280
- requiredClaims: ({
281
- claim: string;
282
- op: "contains";
283
- value: unknown;
284
- } | {
285
- claim: string;
286
- op: "eq";
287
- value: unknown;
288
- } | {
289
- claim: string;
290
- op: "exists";
291
- })[];
292
- } | null;
293
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
294
- readonly name: "whois";
295
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
296
- policy: string;
297
- object: string;
298
- }, {
299
- readonly mode: 'value';
300
- readonly value: {
301
- allowed: boolean;
302
- };
303
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
304
- readonly name: "can";
305
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
306
- audience?: string | undefined;
307
- ttlSeconds: number;
308
- grant?: unknown;
309
- }, {
310
- readonly mode: 'value';
311
- readonly value: string;
312
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
313
- readonly name: "mint";
314
- })> & {
315
- readonly byKey: Readonly<{
316
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
317
- policy: string;
318
- object: string;
319
- }, {
320
- readonly mode: 'value';
321
- readonly value: {
322
- allowed: boolean;
323
- };
324
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
325
- readonly name: "can";
326
- };
327
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
328
- principal: string;
329
- audience: string;
330
- ttlSeconds: number;
331
- attenuation: unknown;
332
- }, {
333
- readonly mode: 'value';
334
- readonly value: string;
335
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
336
- readonly name: "delegate";
337
- };
338
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
339
- audience?: string | undefined;
340
- ttlSeconds: number;
341
- grant?: unknown;
342
- }, {
343
- readonly mode: 'value';
344
- readonly value: string;
345
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
346
- readonly name: "mint";
347
- };
348
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
349
- readonly mode: 'value';
350
- readonly value: {
351
- id: string;
352
- iss: string;
353
- sub: string;
354
- frozen: boolean;
355
- requiredClaims: ({
356
- claim: string;
357
- op: "contains";
358
- value: unknown;
359
- } | {
360
- claim: string;
361
- op: "eq";
362
- value: unknown;
363
- } | {
364
- claim: string;
365
- op: "exists";
366
- })[];
367
- };
368
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
369
- readonly name: "whoami";
370
- };
371
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
372
- iss: string;
373
- sub: string;
374
- }, {
375
- readonly mode: 'value';
376
- readonly value: {
377
- id: string;
378
- iss: string;
379
- sub: string;
380
- frozen: boolean;
381
- requiredClaims: ({
382
- claim: string;
383
- op: "contains";
384
- value: unknown;
385
- } | {
386
- claim: string;
387
- op: "eq";
388
- value: unknown;
389
- } | {
390
- claim: string;
391
- op: "exists";
392
- })[];
393
- } | null;
394
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
395
- readonly name: "whois";
396
- };
397
- }>;
398
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
399
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
400
- policy: string;
401
- object: string;
402
- }, {
403
- readonly mode: 'value';
404
- readonly value: {
405
- allowed: boolean;
406
- };
407
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
408
- readonly name: "can";
409
- };
410
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
411
- principal: string;
412
- audience: string;
413
- ttlSeconds: number;
414
- attenuation: unknown;
415
- }, {
416
- readonly mode: 'value';
417
- readonly value: string;
418
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
419
- readonly name: "delegate";
420
- };
421
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
422
- audience?: string | undefined;
423
- ttlSeconds: number;
424
- grant?: unknown;
425
- }, {
426
- readonly mode: 'value';
427
- readonly value: string;
428
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
429
- readonly name: "mint";
430
- };
431
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
432
- readonly mode: 'value';
433
- readonly value: {
434
- id: string;
435
- iss: string;
436
- sub: string;
437
- frozen: boolean;
438
- requiredClaims: ({
439
- claim: string;
440
- op: "contains";
441
- value: unknown;
442
- } | {
443
- claim: string;
444
- op: "eq";
445
- value: unknown;
446
- } | {
447
- claim: string;
448
- op: "exists";
449
- })[];
450
- };
451
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
452
- readonly name: "whoami";
453
- };
454
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
455
- iss: string;
456
- sub: string;
457
- }, {
458
- readonly mode: 'value';
459
- readonly value: {
460
- id: string;
461
- iss: string;
462
- sub: string;
463
- frozen: boolean;
464
- requiredClaims: ({
465
- claim: string;
466
- op: "contains";
467
- value: unknown;
468
- } | {
469
- claim: string;
470
- op: "eq";
471
- value: unknown;
472
- } | {
473
- claim: string;
474
- op: "exists";
475
- })[];
476
- } | null;
477
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
478
- readonly name: "whois";
479
- };
480
- }>[Key];
481
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
482
- }, Readonly<Readonly<{
483
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
484
- readonly name: "frozen";
485
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
486
- };
487
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
488
- readonly name: "iss";
489
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
490
- };
491
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
492
- claim: string;
493
- op: "contains";
494
- value: unknown;
495
- } | {
496
- claim: string;
497
- op: "eq";
498
- value: unknown;
499
- } | {
500
- claim: string;
501
- op: "exists";
502
- })[], false, never> & {
503
- readonly name: "requiredClaims";
504
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
505
- };
506
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
507
- readonly name: "sub";
508
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
509
- };
510
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
511
- claim: string;
512
- op: "contains";
513
- value: unknown;
514
- } | {
515
- claim: string;
516
- op: "eq";
517
- value: unknown;
518
- } | {
519
- claim: string;
520
- op: "exists";
521
- })[], false, never> & {
522
- readonly name: "requiredClaims";
523
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
524
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
525
- readonly name: "frozen";
526
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
527
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
528
- readonly name: "iss";
529
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
530
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
531
- readonly name: "sub";
532
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
533
- })> & {
534
- readonly byKey: Readonly<{
535
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
536
- readonly name: "frozen";
537
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
538
- };
539
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
540
- readonly name: "iss";
541
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
542
- };
543
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
544
- claim: string;
545
- op: "contains";
546
- value: unknown;
547
- } | {
548
- claim: string;
549
- op: "eq";
550
- value: unknown;
551
- } | {
552
- claim: string;
553
- op: "exists";
554
- })[], false, never> & {
555
- readonly name: "requiredClaims";
556
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
557
- };
558
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
559
- readonly name: "sub";
560
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
561
- };
562
- }>;
563
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
564
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
565
- readonly name: "frozen";
566
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
567
- };
568
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
569
- readonly name: "iss";
570
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
571
- };
572
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
573
- claim: string;
574
- op: "contains";
575
- value: unknown;
576
- } | {
577
- claim: string;
578
- op: "eq";
579
- value: unknown;
580
- } | {
581
- claim: string;
582
- op: "exists";
583
- })[], false, never> & {
584
- readonly name: "requiredClaims";
585
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
586
- };
587
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
588
- readonly name: "sub";
589
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
590
- };
591
- }>[Key];
592
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
593
- from(input: Readonly<{
594
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
595
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
596
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
597
- claim: string;
598
- op: "contains";
599
- value: unknown;
600
- } | {
601
- claim: string;
602
- op: "eq";
603
- value: unknown;
604
- } | {
605
- claim: string;
606
- op: "exists";
607
- })[] | undefined;
608
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
609
- } & {
610
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
611
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
612
- readonly requiredClaims?: ({
613
- claim: string;
614
- op: "contains";
615
- value: unknown;
616
- } | {
617
- claim: string;
618
- op: "eq";
619
- value: unknown;
620
- } | {
621
- claim: string;
622
- op: "exists";
623
- })[] | undefined;
624
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
625
- }>): import("@astrale-os/sdk/schema").PropertyValues;
626
- }, Readonly<Readonly<{}>> & Iterable<never> & {
627
- readonly byKey: Readonly<{}>;
628
- get<Key extends never>(key: Key): Readonly<{}>[Key];
629
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
630
- }, Readonly<Readonly<{
631
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
632
- policy: string;
633
- object: string;
634
- }, {
635
- readonly mode: 'value';
636
- readonly value: {
637
- allowed: boolean;
638
- };
639
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
640
- readonly name: "can";
641
- };
642
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
643
- principal: string;
644
- audience: string;
645
- ttlSeconds: number;
646
- attenuation: unknown;
647
- }, {
648
- readonly mode: 'value';
649
- readonly value: string;
650
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
651
- readonly name: "delegate";
652
- };
653
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
654
- audience?: string | undefined;
655
- ttlSeconds: number;
656
- grant?: unknown;
657
- }, {
658
- readonly mode: 'value';
659
- readonly value: string;
660
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
661
- readonly name: "mint";
662
- };
663
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
664
- readonly mode: 'value';
665
- readonly value: {
666
- id: string;
667
- iss: string;
668
- sub: string;
669
- frozen: boolean;
670
- requiredClaims: ({
671
- claim: string;
672
- op: "contains";
673
- value: unknown;
674
- } | {
675
- claim: string;
676
- op: "eq";
677
- value: unknown;
678
- } | {
679
- claim: string;
680
- op: "exists";
681
- })[];
682
- };
683
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
684
- readonly name: "whoami";
685
- };
686
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
687
- iss: string;
688
- sub: string;
689
- }, {
690
- readonly mode: 'value';
691
- readonly value: {
692
- id: string;
693
- iss: string;
694
- sub: string;
695
- frozen: boolean;
696
- requiredClaims: ({
697
- claim: string;
698
- op: "contains";
699
- value: unknown;
700
- } | {
701
- claim: string;
702
- op: "eq";
703
- value: unknown;
704
- } | {
705
- claim: string;
706
- op: "exists";
707
- })[];
708
- } | null;
709
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
710
- readonly name: "whois";
711
- };
712
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
713
- readonly mode: 'value';
714
- readonly value: {
715
- id: string;
716
- iss: string;
717
- sub: string;
718
- frozen: boolean;
719
- requiredClaims: ({
720
- claim: string;
721
- op: "contains";
722
- value: unknown;
723
- } | {
724
- claim: string;
725
- op: "eq";
726
- value: unknown;
727
- } | {
728
- claim: string;
729
- op: "exists";
730
- })[];
731
- };
732
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
733
- readonly name: "whoami";
734
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
735
- principal: string;
736
- audience: string;
737
- ttlSeconds: number;
738
- attenuation: unknown;
739
- }, {
740
- readonly mode: 'value';
741
- readonly value: string;
742
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
743
- readonly name: "delegate";
744
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
745
- policy: string;
746
- object: string;
747
- }, {
748
- readonly mode: 'value';
749
- readonly value: {
750
- allowed: boolean;
751
- };
752
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
753
- readonly name: "can";
754
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
755
- iss: string;
756
- sub: string;
757
- }, {
758
- readonly mode: 'value';
759
- readonly value: {
760
- id: string;
761
- iss: string;
762
- sub: string;
763
- frozen: boolean;
764
- requiredClaims: ({
765
- claim: string;
766
- op: "contains";
767
- value: unknown;
768
- } | {
769
- claim: string;
770
- op: "eq";
771
- value: unknown;
772
- } | {
773
- claim: string;
774
- op: "exists";
775
- })[];
776
- } | null;
777
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
778
- readonly name: "whois";
779
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
780
- audience?: string | undefined;
781
- ttlSeconds: number;
782
- grant?: unknown;
783
- }, {
784
- readonly mode: 'value';
785
- readonly value: string;
786
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
787
- readonly name: "mint";
788
- })> & {
789
- readonly byKey: Readonly<{
790
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
791
- policy: string;
792
- object: string;
793
- }, {
794
- readonly mode: 'value';
795
- readonly value: {
796
- allowed: boolean;
797
- };
798
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
799
- readonly name: "can";
800
- };
801
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
802
- principal: string;
803
- audience: string;
804
- ttlSeconds: number;
805
- attenuation: unknown;
806
- }, {
807
- readonly mode: 'value';
808
- readonly value: string;
809
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
810
- readonly name: "delegate";
811
- };
812
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
813
- audience?: string | undefined;
814
- ttlSeconds: number;
815
- grant?: unknown;
816
- }, {
817
- readonly mode: 'value';
818
- readonly value: string;
819
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
820
- readonly name: "mint";
821
- };
822
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
823
- readonly mode: 'value';
824
- readonly value: {
825
- id: string;
826
- iss: string;
827
- sub: string;
828
- frozen: boolean;
829
- requiredClaims: ({
830
- claim: string;
831
- op: "contains";
832
- value: unknown;
833
- } | {
834
- claim: string;
835
- op: "eq";
836
- value: unknown;
837
- } | {
838
- claim: string;
839
- op: "exists";
840
- })[];
841
- };
842
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
843
- readonly name: "whoami";
844
- };
845
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
846
- iss: string;
847
- sub: string;
848
- }, {
849
- readonly mode: 'value';
850
- readonly value: {
851
- id: string;
852
- iss: string;
853
- sub: string;
854
- frozen: boolean;
855
- requiredClaims: ({
856
- claim: string;
857
- op: "contains";
858
- value: unknown;
859
- } | {
860
- claim: string;
861
- op: "eq";
862
- value: unknown;
863
- } | {
864
- claim: string;
865
- op: "exists";
866
- })[];
867
- } | null;
868
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
869
- readonly name: "whois";
870
- };
871
- }>;
872
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
873
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
874
- policy: string;
875
- object: string;
876
- }, {
877
- readonly mode: 'value';
878
- readonly value: {
879
- allowed: boolean;
880
- };
881
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
882
- readonly name: "can";
883
- };
884
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
885
- principal: string;
886
- audience: string;
887
- ttlSeconds: number;
888
- attenuation: unknown;
889
- }, {
890
- readonly mode: 'value';
891
- readonly value: string;
892
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
893
- readonly name: "delegate";
894
- };
895
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
896
- audience?: string | undefined;
897
- ttlSeconds: number;
898
- grant?: unknown;
899
- }, {
900
- readonly mode: 'value';
901
- readonly value: string;
902
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
903
- readonly name: "mint";
904
- };
905
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
906
- readonly mode: 'value';
907
- readonly value: {
908
- id: string;
909
- iss: string;
910
- sub: string;
911
- frozen: boolean;
912
- requiredClaims: ({
913
- claim: string;
914
- op: "contains";
915
- value: unknown;
916
- } | {
917
- claim: string;
918
- op: "eq";
919
- value: unknown;
920
- } | {
921
- claim: string;
922
- op: "exists";
923
- })[];
924
- };
925
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
926
- readonly name: "whoami";
927
- };
928
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
929
- iss: string;
930
- sub: string;
931
- }, {
932
- readonly mode: 'value';
933
- readonly value: {
934
- id: string;
935
- iss: string;
936
- sub: string;
937
- frozen: boolean;
938
- requiredClaims: ({
939
- claim: string;
940
- op: "contains";
941
- value: unknown;
942
- } | {
943
- claim: string;
944
- op: "eq";
945
- value: unknown;
946
- } | {
947
- claim: string;
948
- op: "exists";
949
- })[];
950
- } | null;
951
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
952
- readonly name: "whois";
953
- };
954
- }>[Key];
955
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
956
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
957
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
958
- readonly origin: "kernel.astrale.ai";
959
- };
960
- readonly kind: 'node';
961
- readonly abstract: true;
962
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
963
- readonly byKey: Readonly<{}>;
964
- get<Key extends never>(key: Key): Readonly<{}>[Key];
965
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
966
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
967
- }, Readonly<Readonly<{}>> & Iterable<never> & {
968
- readonly byKey: Readonly<{}>;
969
- get<Key extends never>(key: Key): Readonly<{}>[Key];
970
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
971
- }, Readonly<Readonly<{}>> & Iterable<never> & {
972
- readonly byKey: Readonly<{}>;
973
- get<Key extends never>(key: Key): Readonly<{}>[Key];
974
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
975
- }, Readonly<Readonly<{}>> & Iterable<never> & {
976
- readonly byKey: Readonly<{}>;
977
- get<Key extends never>(key: Key): Readonly<{}>[Key];
978
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
979
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
980
- }, Readonly<Readonly<{}>> & Iterable<never> & {
981
- readonly byKey: Readonly<{}>;
982
- get<Key extends never>(key: Key): Readonly<{}>[Key];
983
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
984
- }, Readonly<Readonly<{}>> & Iterable<never> & {
985
- readonly byKey: Readonly<{}>;
986
- get<Key extends never>(key: Key): Readonly<{}>[Key];
987
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
988
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
989
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
990
- readonly origin: "kernel.astrale.ai";
991
- };
992
- readonly kind: 'node';
993
- readonly abstract: true;
994
- }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
995
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
996
- readonly origin: "kernel.astrale.ai";
997
- };
998
- readonly key: "kernel.astrale.ai:class.Node";
999
- }]> & {
1000
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
1001
- readonly origin: "kernel.astrale.ai";
1002
- };
1003
- readonly key: "kernel.astrale.ai:class.Identity";
1004
- }];
1005
- readonly properties: {
1006
- readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
1007
- };
1008
- readonly methods: {
1009
- readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1010
- user: string;
1011
- email: string;
1012
- }, {
1013
- readonly mode: 'value';
1014
- readonly value: {
1015
- invitationId: string;
1016
- user: string;
1017
- state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
1018
- };
1019
- }, "authorized", true, false>>;
1020
- };
1021
- }>;
1022
- readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1023
- readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1024
- readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
1025
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1026
- readonly name: "frozen";
1027
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1028
- };
1029
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1030
- readonly name: "iss";
1031
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1032
- };
1033
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
1034
- claim: string;
1035
- op: "contains";
1036
- value: unknown;
1037
- } | {
1038
- claim: string;
1039
- op: "eq";
1040
- value: unknown;
1041
- } | {
1042
- claim: string;
1043
- op: "exists";
1044
- })[], false, never> & {
1045
- readonly name: "requiredClaims";
1046
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1047
- };
1048
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1049
- readonly name: "sub";
1050
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1051
- };
1052
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
1053
- claim: string;
1054
- op: "contains";
1055
- value: unknown;
1056
- } | {
1057
- claim: string;
1058
- op: "eq";
1059
- value: unknown;
1060
- } | {
1061
- claim: string;
1062
- op: "exists";
1063
- })[], false, never> & {
1064
- readonly name: "requiredClaims";
1065
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1066
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1067
- readonly name: "frozen";
1068
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1069
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1070
- readonly name: "iss";
1071
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1072
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1073
- readonly name: "sub";
1074
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1075
- })> & {
1076
- readonly byKey: Readonly<{
1077
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1078
- readonly name: "frozen";
1079
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1080
- };
1081
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1082
- readonly name: "iss";
1083
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1084
- };
1085
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1086
- claim: string;
1087
- op: "contains";
1088
- value: unknown;
1089
- } | {
1090
- claim: string;
1091
- op: "eq";
1092
- value: unknown;
1093
- } | {
1094
- claim: string;
1095
- op: "exists";
1096
- })[], false, never> & {
1097
- readonly name: "requiredClaims";
1098
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1099
- };
1100
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1101
- readonly name: "sub";
1102
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1103
- };
1104
- }>;
1105
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
1106
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1107
- readonly name: "frozen";
1108
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1109
- };
1110
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1111
- readonly name: "iss";
1112
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1113
- };
1114
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1115
- claim: string;
1116
- op: "contains";
1117
- value: unknown;
1118
- } | {
1119
- claim: string;
1120
- op: "eq";
1121
- value: unknown;
1122
- } | {
1123
- claim: string;
1124
- op: "exists";
1125
- })[], false, never> & {
1126
- readonly name: "requiredClaims";
1127
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1128
- };
1129
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1130
- readonly name: "sub";
1131
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1132
- };
1133
- }>[Key];
1134
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1135
- from(input: Readonly<{
1136
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1137
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1138
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
1139
- claim: string;
1140
- op: "contains";
1141
- value: unknown;
1142
- } | {
1143
- claim: string;
1144
- op: "eq";
1145
- value: unknown;
1146
- } | {
1147
- claim: string;
1148
- op: "exists";
1149
- })[] | undefined;
1150
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1151
- } & {
1152
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1153
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1154
- readonly requiredClaims?: ({
1155
- claim: string;
1156
- op: "contains";
1157
- value: unknown;
1158
- } | {
1159
- claim: string;
1160
- op: "eq";
1161
- value: unknown;
1162
- } | {
1163
- claim: string;
1164
- op: "exists";
1165
- })[] | undefined;
1166
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1167
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1168
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1169
- readonly byKey: Readonly<{}>;
1170
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1171
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1172
- }, Readonly<Readonly<{
1173
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
1174
- policy: string;
1175
- object: string;
1176
- }, {
1177
- readonly mode: 'value';
1178
- readonly value: {
1179
- allowed: boolean;
1180
- };
1181
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1182
- readonly name: "can";
1183
- };
1184
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
1185
- principal: string;
1186
- audience: string;
1187
- ttlSeconds: number;
1188
- attenuation: unknown;
1189
- }, {
1190
- readonly mode: 'value';
1191
- readonly value: string;
1192
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1193
- readonly name: "delegate";
1194
- };
1195
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
1196
- audience?: string | undefined;
1197
- ttlSeconds: number;
1198
- grant?: unknown;
1199
- }, {
1200
- readonly mode: 'value';
1201
- readonly value: string;
1202
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1203
- readonly name: "mint";
1204
- };
1205
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1206
- readonly mode: 'value';
1207
- readonly value: {
1208
- id: string;
1209
- iss: string;
1210
- sub: string;
1211
- frozen: boolean;
1212
- requiredClaims: ({
1213
- claim: string;
1214
- op: "contains";
1215
- value: unknown;
1216
- } | {
1217
- claim: string;
1218
- op: "eq";
1219
- value: unknown;
1220
- } | {
1221
- claim: string;
1222
- op: "exists";
1223
- })[];
1224
- };
1225
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1226
- readonly name: "whoami";
1227
- };
1228
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
1229
- iss: string;
1230
- sub: string;
1231
- }, {
1232
- readonly mode: 'value';
1233
- readonly value: {
1234
- id: string;
1235
- iss: string;
1236
- sub: string;
1237
- frozen: boolean;
1238
- requiredClaims: ({
1239
- claim: string;
1240
- op: "contains";
1241
- value: unknown;
1242
- } | {
1243
- claim: string;
1244
- op: "eq";
1245
- value: unknown;
1246
- } | {
1247
- claim: string;
1248
- op: "exists";
1249
- })[];
1250
- } | null;
1251
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1252
- readonly name: "whois";
1253
- };
1254
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1255
- readonly mode: 'value';
1256
- readonly value: {
1257
- id: string;
1258
- iss: string;
1259
- sub: string;
1260
- frozen: boolean;
1261
- requiredClaims: ({
1262
- claim: string;
1263
- op: "contains";
1264
- value: unknown;
1265
- } | {
1266
- claim: string;
1267
- op: "eq";
1268
- value: unknown;
1269
- } | {
1270
- claim: string;
1271
- op: "exists";
1272
- })[];
1273
- };
1274
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1275
- readonly name: "whoami";
1276
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1277
- principal: string;
1278
- audience: string;
1279
- ttlSeconds: number;
1280
- attenuation: unknown;
1281
- }, {
1282
- readonly mode: 'value';
1283
- readonly value: string;
1284
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1285
- readonly name: "delegate";
1286
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1287
- iss: string;
1288
- sub: string;
1289
- }, {
1290
- readonly mode: 'value';
1291
- readonly value: {
1292
- id: string;
1293
- iss: string;
1294
- sub: string;
1295
- frozen: boolean;
1296
- requiredClaims: ({
1297
- claim: string;
1298
- op: "contains";
1299
- value: unknown;
1300
- } | {
1301
- claim: string;
1302
- op: "eq";
1303
- value: unknown;
1304
- } | {
1305
- claim: string;
1306
- op: "exists";
1307
- })[];
1308
- } | null;
1309
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1310
- readonly name: "whois";
1311
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1312
- policy: string;
1313
- object: string;
1314
- }, {
1315
- readonly mode: 'value';
1316
- readonly value: {
1317
- allowed: boolean;
1318
- };
1319
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1320
- readonly name: "can";
1321
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1322
- audience?: string | undefined;
1323
- ttlSeconds: number;
1324
- grant?: unknown;
1325
- }, {
1326
- readonly mode: 'value';
1327
- readonly value: string;
1328
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1329
- readonly name: "mint";
1330
- })> & {
1331
- readonly byKey: Readonly<{
1332
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1333
- policy: string;
1334
- object: string;
1335
- }, {
1336
- readonly mode: 'value';
1337
- readonly value: {
1338
- allowed: boolean;
1339
- };
1340
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1341
- readonly name: "can";
1342
- };
1343
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1344
- principal: string;
1345
- audience: string;
1346
- ttlSeconds: number;
1347
- attenuation: unknown;
1348
- }, {
1349
- readonly mode: 'value';
1350
- readonly value: string;
1351
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1352
- readonly name: "delegate";
1353
- };
1354
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1355
- audience?: string | undefined;
1356
- ttlSeconds: number;
1357
- grant?: unknown;
1358
- }, {
1359
- readonly mode: 'value';
1360
- readonly value: string;
1361
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1362
- readonly name: "mint";
1363
- };
1364
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1365
- readonly mode: 'value';
1366
- readonly value: {
1367
- id: string;
1368
- iss: string;
1369
- sub: string;
1370
- frozen: boolean;
1371
- requiredClaims: ({
1372
- claim: string;
1373
- op: "contains";
1374
- value: unknown;
1375
- } | {
1376
- claim: string;
1377
- op: "eq";
1378
- value: unknown;
1379
- } | {
1380
- claim: string;
1381
- op: "exists";
1382
- })[];
1383
- };
1384
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1385
- readonly name: "whoami";
1386
- };
1387
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1388
- iss: string;
1389
- sub: string;
1390
- }, {
1391
- readonly mode: 'value';
1392
- readonly value: {
1393
- id: string;
1394
- iss: string;
1395
- sub: string;
1396
- frozen: boolean;
1397
- requiredClaims: ({
1398
- claim: string;
1399
- op: "contains";
1400
- value: unknown;
1401
- } | {
1402
- claim: string;
1403
- op: "eq";
1404
- value: unknown;
1405
- } | {
1406
- claim: string;
1407
- op: "exists";
1408
- })[];
1409
- } | null;
1410
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1411
- readonly name: "whois";
1412
- };
1413
- }>;
1414
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
1415
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1416
- policy: string;
1417
- object: string;
1418
- }, {
1419
- readonly mode: 'value';
1420
- readonly value: {
1421
- allowed: boolean;
1422
- };
1423
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1424
- readonly name: "can";
1425
- };
1426
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1427
- principal: string;
1428
- audience: string;
1429
- ttlSeconds: number;
1430
- attenuation: unknown;
1431
- }, {
1432
- readonly mode: 'value';
1433
- readonly value: string;
1434
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1435
- readonly name: "delegate";
1436
- };
1437
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1438
- audience?: string | undefined;
1439
- ttlSeconds: number;
1440
- grant?: unknown;
1441
- }, {
1442
- readonly mode: 'value';
1443
- readonly value: string;
1444
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1445
- readonly name: "mint";
1446
- };
1447
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1448
- readonly mode: 'value';
1449
- readonly value: {
1450
- id: string;
1451
- iss: string;
1452
- sub: string;
1453
- frozen: boolean;
1454
- requiredClaims: ({
1455
- claim: string;
1456
- op: "contains";
1457
- value: unknown;
1458
- } | {
1459
- claim: string;
1460
- op: "eq";
1461
- value: unknown;
1462
- } | {
1463
- claim: string;
1464
- op: "exists";
1465
- })[];
1466
- };
1467
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1468
- readonly name: "whoami";
1469
- };
1470
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1471
- iss: string;
1472
- sub: string;
1473
- }, {
1474
- readonly mode: 'value';
1475
- readonly value: {
1476
- id: string;
1477
- iss: string;
1478
- sub: string;
1479
- frozen: boolean;
1480
- requiredClaims: ({
1481
- claim: string;
1482
- op: "contains";
1483
- value: unknown;
1484
- } | {
1485
- claim: string;
1486
- op: "eq";
1487
- value: unknown;
1488
- } | {
1489
- claim: string;
1490
- op: "exists";
1491
- })[];
1492
- } | null;
1493
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1494
- readonly name: "whois";
1495
- };
1496
- }>[Key];
1497
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1498
- }, Readonly<Readonly<{
1499
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1500
- readonly name: "frozen";
1501
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1502
- };
1503
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1504
- readonly name: "iss";
1505
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1506
- };
1507
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
1508
- claim: string;
1509
- op: "contains";
1510
- value: unknown;
1511
- } | {
1512
- claim: string;
1513
- op: "eq";
1514
- value: unknown;
1515
- } | {
1516
- claim: string;
1517
- op: "exists";
1518
- })[], false, never> & {
1519
- readonly name: "requiredClaims";
1520
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1521
- };
1522
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1523
- readonly name: "sub";
1524
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1525
- };
1526
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
1527
- claim: string;
1528
- op: "contains";
1529
- value: unknown;
1530
- } | {
1531
- claim: string;
1532
- op: "eq";
1533
- value: unknown;
1534
- } | {
1535
- claim: string;
1536
- op: "exists";
1537
- })[], false, never> & {
1538
- readonly name: "requiredClaims";
1539
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1540
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1541
- readonly name: "frozen";
1542
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1543
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1544
- readonly name: "iss";
1545
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1546
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1547
- readonly name: "sub";
1548
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1549
- })> & {
1550
- readonly byKey: Readonly<{
1551
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1552
- readonly name: "frozen";
1553
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1554
- };
1555
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1556
- readonly name: "iss";
1557
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1558
- };
1559
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1560
- claim: string;
1561
- op: "contains";
1562
- value: unknown;
1563
- } | {
1564
- claim: string;
1565
- op: "eq";
1566
- value: unknown;
1567
- } | {
1568
- claim: string;
1569
- op: "exists";
1570
- })[], false, never> & {
1571
- readonly name: "requiredClaims";
1572
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1573
- };
1574
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1575
- readonly name: "sub";
1576
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1577
- };
1578
- }>;
1579
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
1580
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1581
- readonly name: "frozen";
1582
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1583
- };
1584
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1585
- readonly name: "iss";
1586
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1587
- };
1588
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1589
- claim: string;
1590
- op: "contains";
1591
- value: unknown;
1592
- } | {
1593
- claim: string;
1594
- op: "eq";
1595
- value: unknown;
1596
- } | {
1597
- claim: string;
1598
- op: "exists";
1599
- })[], false, never> & {
1600
- readonly name: "requiredClaims";
1601
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1602
- };
1603
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
1604
- readonly name: "sub";
1605
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1606
- };
1607
- }>[Key];
1608
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1609
- from(input: Readonly<{
1610
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1611
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1612
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
1613
- claim: string;
1614
- op: "contains";
1615
- value: unknown;
1616
- } | {
1617
- claim: string;
1618
- op: "eq";
1619
- value: unknown;
1620
- } | {
1621
- claim: string;
1622
- op: "exists";
1623
- })[] | undefined;
1624
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1625
- } & {
1626
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1627
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1628
- readonly requiredClaims?: ({
1629
- claim: string;
1630
- op: "contains";
1631
- value: unknown;
1632
- } | {
1633
- claim: string;
1634
- op: "eq";
1635
- value: unknown;
1636
- } | {
1637
- claim: string;
1638
- op: "exists";
1639
- })[] | undefined;
1640
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1641
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1642
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1643
- readonly byKey: Readonly<{}>;
1644
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1645
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1646
- }, Readonly<Readonly<{
1647
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
1648
- policy: string;
1649
- object: string;
1650
- }, {
1651
- readonly mode: 'value';
1652
- readonly value: {
1653
- allowed: boolean;
1654
- };
1655
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1656
- readonly name: "can";
1657
- };
1658
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
1659
- principal: string;
1660
- audience: string;
1661
- ttlSeconds: number;
1662
- attenuation: unknown;
1663
- }, {
1664
- readonly mode: 'value';
1665
- readonly value: string;
1666
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1667
- readonly name: "delegate";
1668
- };
1669
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
1670
- audience?: string | undefined;
1671
- ttlSeconds: number;
1672
- grant?: unknown;
1673
- }, {
1674
- readonly mode: 'value';
1675
- readonly value: string;
1676
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1677
- readonly name: "mint";
1678
- };
1679
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1680
- readonly mode: 'value';
1681
- readonly value: {
1682
- id: string;
1683
- iss: string;
1684
- sub: string;
1685
- frozen: boolean;
1686
- requiredClaims: ({
1687
- claim: string;
1688
- op: "contains";
1689
- value: unknown;
1690
- } | {
1691
- claim: string;
1692
- op: "eq";
1693
- value: unknown;
1694
- } | {
1695
- claim: string;
1696
- op: "exists";
1697
- })[];
1698
- };
1699
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1700
- readonly name: "whoami";
1701
- };
1702
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
1703
- iss: string;
1704
- sub: string;
1705
- }, {
1706
- readonly mode: 'value';
1707
- readonly value: {
1708
- id: string;
1709
- iss: string;
1710
- sub: string;
1711
- frozen: boolean;
1712
- requiredClaims: ({
1713
- claim: string;
1714
- op: "contains";
1715
- value: unknown;
1716
- } | {
1717
- claim: string;
1718
- op: "eq";
1719
- value: unknown;
1720
- } | {
1721
- claim: string;
1722
- op: "exists";
1723
- })[];
1724
- } | null;
1725
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1726
- readonly name: "whois";
1727
- };
1728
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1729
- readonly mode: 'value';
1730
- readonly value: {
1731
- id: string;
1732
- iss: string;
1733
- sub: string;
1734
- frozen: boolean;
1735
- requiredClaims: ({
1736
- claim: string;
1737
- op: "contains";
1738
- value: unknown;
1739
- } | {
1740
- claim: string;
1741
- op: "eq";
1742
- value: unknown;
1743
- } | {
1744
- claim: string;
1745
- op: "exists";
1746
- })[];
1747
- };
1748
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1749
- readonly name: "whoami";
1750
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1751
- principal: string;
1752
- audience: string;
1753
- ttlSeconds: number;
1754
- attenuation: unknown;
1755
- }, {
1756
- readonly mode: 'value';
1757
- readonly value: string;
1758
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1759
- readonly name: "delegate";
1760
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1761
- policy: string;
1762
- object: string;
1763
- }, {
1764
- readonly mode: 'value';
1765
- readonly value: {
1766
- allowed: boolean;
1767
- };
1768
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1769
- readonly name: "can";
1770
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1771
- iss: string;
1772
- sub: string;
1773
- }, {
1774
- readonly mode: 'value';
1775
- readonly value: {
1776
- id: string;
1777
- iss: string;
1778
- sub: string;
1779
- frozen: boolean;
1780
- requiredClaims: ({
1781
- claim: string;
1782
- op: "contains";
1783
- value: unknown;
1784
- } | {
1785
- claim: string;
1786
- op: "eq";
1787
- value: unknown;
1788
- } | {
1789
- claim: string;
1790
- op: "exists";
1791
- })[];
1792
- } | null;
1793
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1794
- readonly name: "whois";
1795
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1796
- audience?: string | undefined;
1797
- ttlSeconds: number;
1798
- grant?: unknown;
1799
- }, {
1800
- readonly mode: 'value';
1801
- readonly value: string;
1802
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1803
- readonly name: "mint";
1804
- })> & {
1805
- readonly byKey: Readonly<{
1806
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1807
- policy: string;
1808
- object: string;
1809
- }, {
1810
- readonly mode: 'value';
1811
- readonly value: {
1812
- allowed: boolean;
1813
- };
1814
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1815
- readonly name: "can";
1816
- };
1817
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1818
- principal: string;
1819
- audience: string;
1820
- ttlSeconds: number;
1821
- attenuation: unknown;
1822
- }, {
1823
- readonly mode: 'value';
1824
- readonly value: string;
1825
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1826
- readonly name: "delegate";
1827
- };
1828
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1829
- audience?: string | undefined;
1830
- ttlSeconds: number;
1831
- grant?: unknown;
1832
- }, {
1833
- readonly mode: 'value';
1834
- readonly value: string;
1835
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1836
- readonly name: "mint";
1837
- };
1838
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1839
- readonly mode: 'value';
1840
- readonly value: {
1841
- id: string;
1842
- iss: string;
1843
- sub: string;
1844
- frozen: boolean;
1845
- requiredClaims: ({
1846
- claim: string;
1847
- op: "contains";
1848
- value: unknown;
1849
- } | {
1850
- claim: string;
1851
- op: "eq";
1852
- value: unknown;
1853
- } | {
1854
- claim: string;
1855
- op: "exists";
1856
- })[];
1857
- };
1858
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1859
- readonly name: "whoami";
1860
- };
1861
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1862
- iss: string;
1863
- sub: string;
1864
- }, {
1865
- readonly mode: 'value';
1866
- readonly value: {
1867
- id: string;
1868
- iss: string;
1869
- sub: string;
1870
- frozen: boolean;
1871
- requiredClaims: ({
1872
- claim: string;
1873
- op: "contains";
1874
- value: unknown;
1875
- } | {
1876
- claim: string;
1877
- op: "eq";
1878
- value: unknown;
1879
- } | {
1880
- claim: string;
1881
- op: "exists";
1882
- })[];
1883
- } | null;
1884
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1885
- readonly name: "whois";
1886
- };
1887
- }>;
1888
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.delegate" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
1889
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1890
- policy: string;
1891
- object: string;
1892
- }, {
1893
- readonly mode: 'value';
1894
- readonly value: {
1895
- allowed: boolean;
1896
- };
1897
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
1898
- readonly name: "can";
1899
- };
1900
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1901
- principal: string;
1902
- audience: string;
1903
- ttlSeconds: number;
1904
- attenuation: unknown;
1905
- }, {
1906
- readonly mode: 'value';
1907
- readonly value: string;
1908
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1909
- readonly name: "delegate";
1910
- };
1911
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1912
- audience?: string | undefined;
1913
- ttlSeconds: number;
1914
- grant?: unknown;
1915
- }, {
1916
- readonly mode: 'value';
1917
- readonly value: string;
1918
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1919
- readonly name: "mint";
1920
- };
1921
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1922
- readonly mode: 'value';
1923
- readonly value: {
1924
- id: string;
1925
- iss: string;
1926
- sub: string;
1927
- frozen: boolean;
1928
- requiredClaims: ({
1929
- claim: string;
1930
- op: "contains";
1931
- value: unknown;
1932
- } | {
1933
- claim: string;
1934
- op: "eq";
1935
- value: unknown;
1936
- } | {
1937
- claim: string;
1938
- op: "exists";
1939
- })[];
1940
- };
1941
- }, true, false, "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1942
- readonly name: "whoami";
1943
- };
1944
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1945
- iss: string;
1946
- sub: string;
1947
- }, {
1948
- readonly mode: 'value';
1949
- readonly value: {
1950
- id: string;
1951
- iss: string;
1952
- sub: string;
1953
- frozen: boolean;
1954
- requiredClaims: ({
1955
- claim: string;
1956
- op: "contains";
1957
- value: unknown;
1958
- } | {
1959
- claim: string;
1960
- op: "eq";
1961
- value: unknown;
1962
- } | {
1963
- claim: string;
1964
- op: "exists";
1965
- })[];
1966
- } | null;
1967
- }, true, false, "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1968
- readonly name: "whois";
1969
- };
1970
- }>[Key];
1971
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1972
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1973
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
1974
- readonly origin: "kernel.astrale.ai";
1975
- };
1976
- readonly kind: 'node';
1977
- readonly abstract: true;
1978
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
1979
- readonly byKey: Readonly<{}>;
1980
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1981
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1982
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1983
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1984
- readonly byKey: Readonly<{}>;
1985
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1986
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1987
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1988
- readonly byKey: Readonly<{}>;
1989
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1990
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1991
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1992
- readonly byKey: Readonly<{}>;
1993
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1994
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1995
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1996
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1997
- readonly byKey: Readonly<{}>;
1998
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1999
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2000
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2001
- readonly byKey: Readonly<{}>;
2002
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2003
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2004
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2005
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2006
- readonly origin: "kernel.astrale.ai";
2007
- };
2008
- readonly kind: 'node';
2009
- readonly abstract: true;
2010
- }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
2011
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2012
- readonly origin: "kernel.astrale.ai";
2013
- };
2014
- readonly key: "kernel.astrale.ai:class.Node";
2015
- }]> & {
2016
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
2017
- readonly origin: "kernel.astrale.ai";
2018
- };
2019
- readonly key: "kernel.astrale.ai:class.Identity";
2020
- }, import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
2021
- name: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2022
- readonly name: "name";
2023
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2024
- };
2025
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2026
- readonly name: "name";
2027
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2028
- }> & {
2029
- readonly byKey: Readonly<{
2030
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2031
- readonly name: "name";
2032
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2033
- };
2034
- }>;
2035
- get<Key extends "kernel.astrale.ai:class.Named.property.name">(key: Key): Readonly<{
2036
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2037
- readonly name: "name";
2038
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2039
- };
2040
- }>[Key];
2041
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2042
- from(input: Readonly<{
2043
- readonly "kernel.astrale.ai:class.Named.property.name"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2044
- } & {
2045
- readonly name?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2046
- }>): import("@astrale-os/sdk/schema").PropertyValues;
2047
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2048
- readonly byKey: Readonly<{}>;
2049
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2050
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2051
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2052
- readonly byKey: Readonly<{}>;
2053
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2054
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2055
- }, Readonly<Readonly<{
2056
- name: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2057
- readonly name: "name";
2058
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2059
- };
2060
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2061
- readonly name: "name";
2062
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2063
- }> & {
2064
- readonly byKey: Readonly<{
2065
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2066
- readonly name: "name";
2067
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2068
- };
2069
- }>;
2070
- get<Key extends "kernel.astrale.ai:class.Named.property.name">(key: Key): Readonly<{
2071
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
2072
- readonly name: "name";
2073
- readonly key: "kernel.astrale.ai:class.Named.property.name";
2074
- };
2075
- }>[Key];
2076
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2077
- from(input: Readonly<{
2078
- readonly "kernel.astrale.ai:class.Named.property.name"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2079
- } & {
2080
- readonly name?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2081
- }>): import("@astrale-os/sdk/schema").PropertyValues;
2082
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2083
- readonly byKey: Readonly<{}>;
2084
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2085
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2086
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2087
- readonly byKey: Readonly<{}>;
2088
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2089
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2090
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2091
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
2092
- readonly origin: "kernel.astrale.ai";
2093
- };
2094
- readonly kind: 'node';
2095
- readonly abstract: true;
2096
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
2097
- readonly byKey: Readonly<{}>;
2098
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2099
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2100
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2101
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2102
- readonly byKey: Readonly<{}>;
2103
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2104
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2105
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2106
- readonly byKey: Readonly<{}>;
2107
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2108
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2109
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2110
- readonly byKey: Readonly<{}>;
2111
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2112
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2113
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2114
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2115
- readonly byKey: Readonly<{}>;
2116
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2117
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2118
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2119
- readonly byKey: Readonly<{}>;
2120
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2121
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2122
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2123
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2124
- readonly origin: "kernel.astrale.ai";
2125
- };
2126
- readonly kind: 'node';
2127
- readonly abstract: true;
2128
- }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
2129
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2130
- readonly origin: "kernel.astrale.ai";
2131
- };
2132
- readonly key: "kernel.astrale.ai:class.Node";
2133
- }]> & {
2134
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
2135
- readonly origin: "kernel.astrale.ai";
2136
- };
2137
- readonly key: "kernel.astrale.ai:class.Named";
2138
- }, import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
2139
- description: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2140
- readonly name: "description";
2141
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2142
- };
2143
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2144
- readonly name: "description";
2145
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2146
- }> & {
2147
- readonly byKey: Readonly<{
2148
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2149
- readonly name: "description";
2150
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2151
- };
2152
- }>;
2153
- get<Key extends "kernel.astrale.ai:class.Descriptable.property.description">(key: Key): Readonly<{
2154
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2155
- readonly name: "description";
2156
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2157
- };
2158
- }>[Key];
2159
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2160
- from(input: Readonly<{
2161
- readonly "kernel.astrale.ai:class.Descriptable.property.description"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2162
- } & {
2163
- readonly description?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2164
- }>): import("@astrale-os/sdk/schema").PropertyValues;
2165
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2166
- readonly byKey: Readonly<{}>;
2167
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2168
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2169
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2170
- readonly byKey: Readonly<{}>;
2171
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2172
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2173
- }, Readonly<Readonly<{
2174
- description: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2175
- readonly name: "description";
2176
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2177
- };
2178
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2179
- readonly name: "description";
2180
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2181
- }> & {
2182
- readonly byKey: Readonly<{
2183
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2184
- readonly name: "description";
2185
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2186
- };
2187
- }>;
2188
- get<Key extends "kernel.astrale.ai:class.Descriptable.property.description">(key: Key): Readonly<{
2189
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
2190
- readonly name: "description";
2191
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
2192
- };
2193
- }>[Key];
2194
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2195
- from(input: Readonly<{
2196
- readonly "kernel.astrale.ai:class.Descriptable.property.description"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2197
- } & {
2198
- readonly description?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2199
- }>): import("@astrale-os/sdk/schema").PropertyValues;
2200
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2201
- readonly byKey: Readonly<{}>;
2202
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2203
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2204
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2205
- readonly byKey: Readonly<{}>;
2206
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2207
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2208
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2209
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
2210
- readonly origin: "kernel.astrale.ai";
2211
- };
2212
- readonly kind: 'node';
2213
- readonly abstract: true;
2214
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
2215
- readonly byKey: Readonly<{}>;
2216
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2217
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2218
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2219
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2220
- readonly byKey: Readonly<{}>;
2221
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2222
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2223
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2224
- readonly byKey: Readonly<{}>;
2225
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2226
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2227
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2228
- readonly byKey: Readonly<{}>;
2229
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2230
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2231
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2232
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2233
- readonly byKey: Readonly<{}>;
2234
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2235
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2236
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2237
- readonly byKey: Readonly<{}>;
2238
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2239
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2240
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2241
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2242
- readonly origin: "kernel.astrale.ai";
2243
- };
2244
- readonly kind: 'node';
2245
- readonly abstract: true;
2246
- }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
2247
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2248
- readonly origin: "kernel.astrale.ai";
2249
- };
2250
- readonly key: "kernel.astrale.ai:class.Node";
2251
- }]> & {
2252
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
2253
- readonly origin: "kernel.astrale.ai";
2254
- };
2255
- readonly key: "kernel.astrale.ai:class.Descriptable";
2256
- }];
2257
- readonly methods: {
2258
- readonly assignUser: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
2259
- user: string;
2260
- group: string;
2261
- }, {
2262
- readonly mode: 'value';
2263
- readonly value: Record<string, never>;
2264
- }, "authorized", true, false>>;
2265
- readonly unassignUser: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
2266
- user: string;
2267
- group: string;
2268
- }, {
2269
- readonly mode: 'value';
2270
- readonly value: Record<string, never>;
2271
- }, "authorized", true, false>>;
2272
- };
2273
- }>;
2274
- readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
2275
- readonly depth: 0;
2276
- readonly abstract: false;
2277
- readonly extends: readonly [];
2278
- readonly properties: never;
2279
- readonly source: {
2280
- readonly as: "user";
2281
- readonly outgoing: "0..*";
2282
- };
2283
- readonly target: {
2284
- readonly as: "group";
2285
- readonly incoming: "0..*";
2286
- };
2287
- readonly constraints: Record<never, never>;
2288
- readonly effectiveProperties: never;
2289
- }>;
2290
- };
2291
- readonly policies: {
2292
- readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
2293
- readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
2294
- readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
2295
- };
2296
- readonly views: {
2297
- readonly application: import("@astrale-os/sdk/schema").View;
2298
- };
2299
- readonly core: {
2300
- readonly nodes: {
2301
- readonly admin: import("@astrale-os/sdk/schema").CoreNode;
2302
- readonly member: import("@astrale-os/sdk/schema").CoreNode;
2303
- };
2304
- };
2305
- }>>, "Group.assignUser", Readonly<Record<never, never>>, {
2306
- readonly GROUP_MEMBERSHIP_ENDPOINTS_UNAVAILABLE: {
2307
- readonly family: 'CONFLICT';
2308
- readonly message: 'Shell must be able to traverse both membership endpoints before confirming membership.';
2309
- readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
2310
- };
2311
- readonly INVALID_GROUP_MEMBERSHIP_REFERENCE: {
2312
- readonly family: 'VALIDATION_ERROR';
2313
- readonly message: 'User and group must be exact canonical @NodeId paths.';
2314
- readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
2315
- };
2316
- readonly GROUP_MEMBERSHIP_CONFLICT: {
2317
- readonly family: 'CONFLICT';
2318
- readonly message: 'Membership changed concurrently; retry the operation.';
2319
- readonly details: import("zod").ZodObject<{
2320
- cause: import("zod").ZodString;
2321
- }, import("zod/v4/core").$strict>;
2322
- };
2323
- readonly GROUP_MEMBERSHIP_UNCONFIRMED: {
2324
- readonly family: 'CONFLICT';
2325
- readonly message: 'The requested membership could not be confirmed; retry the operation.';
2326
- readonly details: import("zod").ZodObject<{
2327
- cause: import("zod").ZodString;
2328
- outcomeKnown: import("zod").ZodLiteral<false>;
2329
- }, import("zod/v4/core").$strict>;
2330
- };
2331
- }>;