@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,1003 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
3
3
  readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
4
- readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
5
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
6
- readonly name: "frozen";
7
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
8
- };
9
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
10
- readonly name: "iss";
11
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
12
- };
13
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
14
- claim: string;
15
- op: "contains";
16
- value: unknown;
17
- } | {
18
- claim: string;
19
- op: "eq";
20
- value: unknown;
21
- } | {
22
- claim: string;
23
- op: "exists";
24
- })[], false, never> & {
25
- readonly name: "requiredClaims";
26
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
27
- };
28
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
29
- readonly name: "sub";
30
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
31
- };
32
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
33
- claim: string;
34
- op: "contains";
35
- value: unknown;
36
- } | {
37
- claim: string;
38
- op: "eq";
39
- value: unknown;
40
- } | {
41
- claim: string;
42
- op: "exists";
43
- })[], false, never> & {
44
- readonly name: "requiredClaims";
45
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
46
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
47
- readonly name: "frozen";
48
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
49
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
50
- readonly name: "iss";
51
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
52
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
53
- readonly name: "sub";
54
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
55
- })> & {
56
- readonly byKey: Readonly<{
57
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
58
- readonly name: "frozen";
59
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
60
- };
61
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
62
- readonly name: "iss";
63
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
64
- };
65
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
66
- claim: string;
67
- op: "contains";
68
- value: unknown;
69
- } | {
70
- claim: string;
71
- op: "eq";
72
- value: unknown;
73
- } | {
74
- claim: string;
75
- op: "exists";
76
- })[], false, never> & {
77
- readonly name: "requiredClaims";
78
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
79
- };
80
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
81
- readonly name: "sub";
82
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
83
- };
84
- }>;
85
- 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<{
86
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
87
- readonly name: "frozen";
88
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
89
- };
90
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
91
- readonly name: "iss";
92
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
93
- };
94
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
95
- claim: string;
96
- op: "contains";
97
- value: unknown;
98
- } | {
99
- claim: string;
100
- op: "eq";
101
- value: unknown;
102
- } | {
103
- claim: string;
104
- op: "exists";
105
- })[], false, never> & {
106
- readonly name: "requiredClaims";
107
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
108
- };
109
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
110
- readonly name: "sub";
111
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
112
- };
113
- }>[Key];
114
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
115
- from(input: Readonly<{
116
- 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;
117
- 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;
118
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
119
- claim: string;
120
- op: "contains";
121
- value: unknown;
122
- } | {
123
- claim: string;
124
- op: "eq";
125
- value: unknown;
126
- } | {
127
- claim: string;
128
- op: "exists";
129
- })[] | undefined;
130
- 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;
131
- } & {
132
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
133
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
134
- readonly requiredClaims?: ({
135
- claim: string;
136
- op: "contains";
137
- value: unknown;
138
- } | {
139
- claim: string;
140
- op: "eq";
141
- value: unknown;
142
- } | {
143
- claim: string;
144
- op: "exists";
145
- })[] | undefined;
146
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
147
- }>): import("@astrale-os/sdk/schema").PropertyValues;
148
- }, Readonly<Readonly<{}>> & Iterable<never> & {
149
- readonly byKey: Readonly<{}>;
150
- get<Key extends never>(key: Key): Readonly<{}>[Key];
151
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
152
- }, Readonly<Readonly<{
153
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
154
- policy: string;
155
- object: string;
156
- }, {
157
- readonly mode: 'value';
158
- readonly value: {
159
- allowed: boolean;
160
- };
161
- }, 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"> & {
162
- readonly name: "can";
163
- };
164
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
165
- principal: string;
166
- audience: string;
167
- ttlSeconds: number;
168
- attenuation: unknown;
169
- }, {
170
- readonly mode: 'value';
171
- readonly value: string;
172
- }, 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"> & {
173
- readonly name: "delegate";
174
- };
175
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
176
- audience?: string | undefined;
177
- ttlSeconds: number;
178
- grant?: unknown;
179
- }, {
180
- readonly mode: 'value';
181
- readonly value: string;
182
- }, 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"> & {
183
- readonly name: "mint";
184
- };
185
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
186
- readonly mode: 'value';
187
- readonly value: {
188
- id: string;
189
- iss: string;
190
- sub: string;
191
- frozen: boolean;
192
- requiredClaims: ({
193
- claim: string;
194
- op: "contains";
195
- value: unknown;
196
- } | {
197
- claim: string;
198
- op: "eq";
199
- value: unknown;
200
- } | {
201
- claim: string;
202
- op: "exists";
203
- })[];
204
- };
205
- }, 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"> & {
206
- readonly name: "whoami";
207
- };
208
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
209
- iss: string;
210
- sub: string;
211
- }, {
212
- readonly mode: 'value';
213
- readonly value: {
214
- id: string;
215
- iss: string;
216
- sub: string;
217
- frozen: boolean;
218
- requiredClaims: ({
219
- claim: string;
220
- op: "contains";
221
- value: unknown;
222
- } | {
223
- claim: string;
224
- op: "eq";
225
- value: unknown;
226
- } | {
227
- claim: string;
228
- op: "exists";
229
- })[];
230
- } | null;
231
- }, 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"> & {
232
- readonly name: "whois";
233
- };
234
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
235
- readonly mode: 'value';
236
- readonly value: {
237
- id: string;
238
- iss: string;
239
- sub: string;
240
- frozen: boolean;
241
- requiredClaims: ({
242
- claim: string;
243
- op: "contains";
244
- value: unknown;
245
- } | {
246
- claim: string;
247
- op: "eq";
248
- value: unknown;
249
- } | {
250
- claim: string;
251
- op: "exists";
252
- })[];
253
- };
254
- }, 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"> & {
255
- readonly name: "whoami";
256
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
257
- principal: string;
258
- audience: string;
259
- ttlSeconds: number;
260
- attenuation: unknown;
261
- }, {
262
- readonly mode: 'value';
263
- readonly value: string;
264
- }, 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"> & {
265
- readonly name: "delegate";
266
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
267
- iss: string;
268
- sub: string;
269
- }, {
270
- readonly mode: 'value';
271
- readonly value: {
272
- id: string;
273
- iss: string;
274
- sub: string;
275
- frozen: boolean;
276
- requiredClaims: ({
277
- claim: string;
278
- op: "contains";
279
- value: unknown;
280
- } | {
281
- claim: string;
282
- op: "eq";
283
- value: unknown;
284
- } | {
285
- claim: string;
286
- op: "exists";
287
- })[];
288
- } | null;
289
- }, 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"> & {
290
- readonly name: "whois";
291
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
292
- policy: string;
293
- object: string;
294
- }, {
295
- readonly mode: 'value';
296
- readonly value: {
297
- allowed: boolean;
298
- };
299
- }, 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"> & {
300
- readonly name: "can";
301
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
302
- audience?: string | undefined;
303
- ttlSeconds: number;
304
- grant?: unknown;
305
- }, {
306
- readonly mode: 'value';
307
- readonly value: string;
308
- }, 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"> & {
309
- readonly name: "mint";
310
- })> & {
311
- readonly byKey: Readonly<{
312
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
313
- policy: string;
314
- object: string;
315
- }, {
316
- readonly mode: 'value';
317
- readonly value: {
318
- allowed: boolean;
319
- };
320
- }, 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"> & {
321
- readonly name: "can";
322
- };
323
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
324
- principal: string;
325
- audience: string;
326
- ttlSeconds: number;
327
- attenuation: unknown;
328
- }, {
329
- readonly mode: 'value';
330
- readonly value: string;
331
- }, 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"> & {
332
- readonly name: "delegate";
333
- };
334
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
335
- audience?: string | undefined;
336
- ttlSeconds: number;
337
- grant?: unknown;
338
- }, {
339
- readonly mode: 'value';
340
- readonly value: string;
341
- }, 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"> & {
342
- readonly name: "mint";
343
- };
344
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
345
- readonly mode: 'value';
346
- readonly value: {
347
- id: string;
348
- iss: string;
349
- sub: string;
350
- frozen: boolean;
351
- requiredClaims: ({
352
- claim: string;
353
- op: "contains";
354
- value: unknown;
355
- } | {
356
- claim: string;
357
- op: "eq";
358
- value: unknown;
359
- } | {
360
- claim: string;
361
- op: "exists";
362
- })[];
363
- };
364
- }, 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"> & {
365
- readonly name: "whoami";
366
- };
367
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
368
- iss: string;
369
- sub: string;
370
- }, {
371
- readonly mode: 'value';
372
- readonly value: {
373
- id: string;
374
- iss: string;
375
- sub: string;
376
- frozen: boolean;
377
- requiredClaims: ({
378
- claim: string;
379
- op: "contains";
380
- value: unknown;
381
- } | {
382
- claim: string;
383
- op: "eq";
384
- value: unknown;
385
- } | {
386
- claim: string;
387
- op: "exists";
388
- })[];
389
- } | null;
390
- }, 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"> & {
391
- readonly name: "whois";
392
- };
393
- }>;
394
- 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<{
395
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
396
- policy: string;
397
- object: string;
398
- }, {
399
- readonly mode: 'value';
400
- readonly value: {
401
- allowed: boolean;
402
- };
403
- }, 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"> & {
404
- readonly name: "can";
405
- };
406
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
407
- principal: string;
408
- audience: string;
409
- ttlSeconds: number;
410
- attenuation: unknown;
411
- }, {
412
- readonly mode: 'value';
413
- readonly value: string;
414
- }, 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"> & {
415
- readonly name: "delegate";
416
- };
417
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
418
- audience?: string | undefined;
419
- ttlSeconds: number;
420
- grant?: unknown;
421
- }, {
422
- readonly mode: 'value';
423
- readonly value: string;
424
- }, 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"> & {
425
- readonly name: "mint";
426
- };
427
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
428
- readonly mode: 'value';
429
- readonly value: {
430
- id: string;
431
- iss: string;
432
- sub: string;
433
- frozen: boolean;
434
- requiredClaims: ({
435
- claim: string;
436
- op: "contains";
437
- value: unknown;
438
- } | {
439
- claim: string;
440
- op: "eq";
441
- value: unknown;
442
- } | {
443
- claim: string;
444
- op: "exists";
445
- })[];
446
- };
447
- }, 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"> & {
448
- readonly name: "whoami";
449
- };
450
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
451
- iss: string;
452
- sub: string;
453
- }, {
454
- readonly mode: 'value';
455
- readonly value: {
456
- id: string;
457
- iss: string;
458
- sub: string;
459
- frozen: boolean;
460
- requiredClaims: ({
461
- claim: string;
462
- op: "contains";
463
- value: unknown;
464
- } | {
465
- claim: string;
466
- op: "eq";
467
- value: unknown;
468
- } | {
469
- claim: string;
470
- op: "exists";
471
- })[];
472
- } | null;
473
- }, 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"> & {
474
- readonly name: "whois";
475
- };
476
- }>[Key];
477
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
478
- }, Readonly<Readonly<{
479
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
480
- readonly name: "frozen";
481
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
482
- };
483
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
484
- readonly name: "iss";
485
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
486
- };
487
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
488
- claim: string;
489
- op: "contains";
490
- value: unknown;
491
- } | {
492
- claim: string;
493
- op: "eq";
494
- value: unknown;
495
- } | {
496
- claim: string;
497
- op: "exists";
498
- })[], false, never> & {
499
- readonly name: "requiredClaims";
500
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
501
- };
502
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
503
- readonly name: "sub";
504
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
505
- };
506
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<({
507
- claim: string;
508
- op: "contains";
509
- value: unknown;
510
- } | {
511
- claim: string;
512
- op: "eq";
513
- value: unknown;
514
- } | {
515
- claim: string;
516
- op: "exists";
517
- })[], false, never> & {
518
- readonly name: "requiredClaims";
519
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
520
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
521
- readonly name: "frozen";
522
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
523
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
524
- readonly name: "iss";
525
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
526
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
527
- readonly name: "sub";
528
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
529
- })> & {
530
- readonly byKey: Readonly<{
531
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
532
- readonly name: "frozen";
533
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
534
- };
535
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
536
- readonly name: "iss";
537
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
538
- };
539
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
540
- claim: string;
541
- op: "contains";
542
- value: unknown;
543
- } | {
544
- claim: string;
545
- op: "eq";
546
- value: unknown;
547
- } | {
548
- claim: string;
549
- op: "exists";
550
- })[], false, never> & {
551
- readonly name: "requiredClaims";
552
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
553
- };
554
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
555
- readonly name: "sub";
556
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
557
- };
558
- }>;
559
- 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<{
560
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
561
- readonly name: "frozen";
562
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
563
- };
564
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
565
- readonly name: "iss";
566
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
567
- };
568
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
569
- claim: string;
570
- op: "contains";
571
- value: unknown;
572
- } | {
573
- claim: string;
574
- op: "eq";
575
- value: unknown;
576
- } | {
577
- claim: string;
578
- op: "exists";
579
- })[], false, never> & {
580
- readonly name: "requiredClaims";
581
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
582
- };
583
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
584
- readonly name: "sub";
585
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
586
- };
587
- }>[Key];
588
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
589
- from(input: Readonly<{
590
- 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;
591
- 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;
592
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
593
- claim: string;
594
- op: "contains";
595
- value: unknown;
596
- } | {
597
- claim: string;
598
- op: "eq";
599
- value: unknown;
600
- } | {
601
- claim: string;
602
- op: "exists";
603
- })[] | undefined;
604
- 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;
605
- } & {
606
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
607
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
608
- readonly requiredClaims?: ({
609
- claim: string;
610
- op: "contains";
611
- value: unknown;
612
- } | {
613
- claim: string;
614
- op: "eq";
615
- value: unknown;
616
- } | {
617
- claim: string;
618
- op: "exists";
619
- })[] | undefined;
620
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
621
- }>): import("@astrale-os/sdk/schema").PropertyValues;
622
- }, Readonly<Readonly<{}>> & Iterable<never> & {
623
- readonly byKey: Readonly<{}>;
624
- get<Key extends never>(key: Key): Readonly<{}>[Key];
625
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
626
- }, Readonly<Readonly<{
627
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
628
- policy: string;
629
- object: string;
630
- }, {
631
- readonly mode: 'value';
632
- readonly value: {
633
- allowed: boolean;
634
- };
635
- }, 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"> & {
636
- readonly name: "can";
637
- };
638
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
639
- principal: string;
640
- audience: string;
641
- ttlSeconds: number;
642
- attenuation: unknown;
643
- }, {
644
- readonly mode: 'value';
645
- readonly value: string;
646
- }, 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"> & {
647
- readonly name: "delegate";
648
- };
649
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
650
- audience?: string | undefined;
651
- ttlSeconds: number;
652
- grant?: unknown;
653
- }, {
654
- readonly mode: 'value';
655
- readonly value: string;
656
- }, 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"> & {
657
- readonly name: "mint";
658
- };
659
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
660
- readonly mode: 'value';
661
- readonly value: {
662
- id: string;
663
- iss: string;
664
- sub: string;
665
- frozen: boolean;
666
- requiredClaims: ({
667
- claim: string;
668
- op: "contains";
669
- value: unknown;
670
- } | {
671
- claim: string;
672
- op: "eq";
673
- value: unknown;
674
- } | {
675
- claim: string;
676
- op: "exists";
677
- })[];
678
- };
679
- }, 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"> & {
680
- readonly name: "whoami";
681
- };
682
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
683
- iss: string;
684
- sub: string;
685
- }, {
686
- readonly mode: 'value';
687
- readonly value: {
688
- id: string;
689
- iss: string;
690
- sub: string;
691
- frozen: boolean;
692
- requiredClaims: ({
693
- claim: string;
694
- op: "contains";
695
- value: unknown;
696
- } | {
697
- claim: string;
698
- op: "eq";
699
- value: unknown;
700
- } | {
701
- claim: string;
702
- op: "exists";
703
- })[];
704
- } | null;
705
- }, 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"> & {
706
- readonly name: "whois";
707
- };
708
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
709
- readonly mode: 'value';
710
- readonly value: {
711
- id: string;
712
- iss: string;
713
- sub: string;
714
- frozen: boolean;
715
- requiredClaims: ({
716
- claim: string;
717
- op: "contains";
718
- value: unknown;
719
- } | {
720
- claim: string;
721
- op: "eq";
722
- value: unknown;
723
- } | {
724
- claim: string;
725
- op: "exists";
726
- })[];
727
- };
728
- }, 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"> & {
729
- readonly name: "whoami";
730
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
731
- principal: string;
732
- audience: string;
733
- ttlSeconds: number;
734
- attenuation: unknown;
735
- }, {
736
- readonly mode: 'value';
737
- readonly value: string;
738
- }, 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"> & {
739
- readonly name: "delegate";
740
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
741
- policy: string;
742
- object: string;
743
- }, {
744
- readonly mode: 'value';
745
- readonly value: {
746
- allowed: boolean;
747
- };
748
- }, 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"> & {
749
- readonly name: "can";
750
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
751
- iss: string;
752
- sub: string;
753
- }, {
754
- readonly mode: 'value';
755
- readonly value: {
756
- id: string;
757
- iss: string;
758
- sub: string;
759
- frozen: boolean;
760
- requiredClaims: ({
761
- claim: string;
762
- op: "contains";
763
- value: unknown;
764
- } | {
765
- claim: string;
766
- op: "eq";
767
- value: unknown;
768
- } | {
769
- claim: string;
770
- op: "exists";
771
- })[];
772
- } | null;
773
- }, 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"> & {
774
- readonly name: "whois";
775
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
776
- audience?: string | undefined;
777
- ttlSeconds: number;
778
- grant?: unknown;
779
- }, {
780
- readonly mode: 'value';
781
- readonly value: string;
782
- }, 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"> & {
783
- readonly name: "mint";
784
- })> & {
785
- readonly byKey: Readonly<{
786
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
787
- policy: string;
788
- object: string;
789
- }, {
790
- readonly mode: 'value';
791
- readonly value: {
792
- allowed: boolean;
793
- };
794
- }, 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"> & {
795
- readonly name: "can";
796
- };
797
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
798
- principal: string;
799
- audience: string;
800
- ttlSeconds: number;
801
- attenuation: unknown;
802
- }, {
803
- readonly mode: 'value';
804
- readonly value: string;
805
- }, 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"> & {
806
- readonly name: "delegate";
807
- };
808
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
809
- audience?: string | undefined;
810
- ttlSeconds: number;
811
- grant?: unknown;
812
- }, {
813
- readonly mode: 'value';
814
- readonly value: string;
815
- }, 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"> & {
816
- readonly name: "mint";
817
- };
818
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
819
- readonly mode: 'value';
820
- readonly value: {
821
- id: string;
822
- iss: string;
823
- sub: string;
824
- frozen: boolean;
825
- requiredClaims: ({
826
- claim: string;
827
- op: "contains";
828
- value: unknown;
829
- } | {
830
- claim: string;
831
- op: "eq";
832
- value: unknown;
833
- } | {
834
- claim: string;
835
- op: "exists";
836
- })[];
837
- };
838
- }, 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"> & {
839
- readonly name: "whoami";
840
- };
841
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
842
- iss: string;
843
- sub: string;
844
- }, {
845
- readonly mode: 'value';
846
- readonly value: {
847
- id: string;
848
- iss: string;
849
- sub: string;
850
- frozen: boolean;
851
- requiredClaims: ({
852
- claim: string;
853
- op: "contains";
854
- value: unknown;
855
- } | {
856
- claim: string;
857
- op: "eq";
858
- value: unknown;
859
- } | {
860
- claim: string;
861
- op: "exists";
862
- })[];
863
- } | null;
864
- }, 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"> & {
865
- readonly name: "whois";
866
- };
867
- }>;
868
- 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<{
869
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
870
- policy: string;
871
- object: string;
872
- }, {
873
- readonly mode: 'value';
874
- readonly value: {
875
- allowed: boolean;
876
- };
877
- }, 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"> & {
878
- readonly name: "can";
879
- };
880
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
881
- principal: string;
882
- audience: string;
883
- ttlSeconds: number;
884
- attenuation: unknown;
885
- }, {
886
- readonly mode: 'value';
887
- readonly value: string;
888
- }, 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"> & {
889
- readonly name: "delegate";
890
- };
891
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
892
- audience?: string | undefined;
893
- ttlSeconds: number;
894
- grant?: unknown;
895
- }, {
896
- readonly mode: 'value';
897
- readonly value: string;
898
- }, 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"> & {
899
- readonly name: "mint";
900
- };
901
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
902
- readonly mode: 'value';
903
- readonly value: {
904
- id: string;
905
- iss: string;
906
- sub: string;
907
- frozen: boolean;
908
- requiredClaims: ({
909
- claim: string;
910
- op: "contains";
911
- value: unknown;
912
- } | {
913
- claim: string;
914
- op: "eq";
915
- value: unknown;
916
- } | {
917
- claim: string;
918
- op: "exists";
919
- })[];
920
- };
921
- }, 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"> & {
922
- readonly name: "whoami";
923
- };
924
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
925
- iss: string;
926
- sub: string;
927
- }, {
928
- readonly mode: 'value';
929
- readonly value: {
930
- id: string;
931
- iss: string;
932
- sub: string;
933
- frozen: boolean;
934
- requiredClaims: ({
935
- claim: string;
936
- op: "contains";
937
- value: unknown;
938
- } | {
939
- claim: string;
940
- op: "eq";
941
- value: unknown;
942
- } | {
943
- claim: string;
944
- op: "exists";
945
- })[];
946
- } | null;
947
- }, 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"> & {
948
- readonly name: "whois";
949
- };
950
- }>[Key];
951
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
952
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
953
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
954
- readonly origin: "kernel.astrale.ai";
955
- };
956
- readonly kind: 'node';
957
- readonly abstract: true;
958
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
959
- readonly byKey: Readonly<{}>;
960
- get<Key extends never>(key: Key): Readonly<{}>[Key];
961
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
962
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
963
- }, Readonly<Readonly<{}>> & Iterable<never> & {
964
- readonly byKey: Readonly<{}>;
965
- get<Key extends never>(key: Key): Readonly<{}>[Key];
966
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
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").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
975
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
976
- }, Readonly<Readonly<{}>> & Iterable<never> & {
977
- readonly byKey: Readonly<{}>;
978
- get<Key extends never>(key: Key): Readonly<{}>[Key];
979
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
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
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
985
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
986
- readonly origin: "kernel.astrale.ai";
987
- };
988
- readonly kind: 'node';
989
- readonly abstract: true;
990
- }, readonly import("@astrale-os/sdk/schema").AnyResolvedClass[]> & {
991
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
992
- readonly origin: "kernel.astrale.ai";
993
- };
994
- readonly key: "kernel.astrale.ai:class.Node";
995
- }]> & {
996
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
997
- readonly origin: "kernel.astrale.ai";
998
- };
999
- readonly key: "kernel.astrale.ai:class.Identity";
1000
- }];
4
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
1001
5
  readonly properties: {
1002
6
  readonly creationKey: z.ZodOptional<z.ZodString>;
1003
7
  };