@astrale-domains/shell 0.1.0-beta.8 → 0.1.0-beta.9

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