@astrale-domains/shell 0.1.0-beta.46 → 0.1.0-beta.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -5
- package/dist/domain.d.ts +49 -0
- package/dist/domain.js +12 -1
- package/dist/functions/namespace/index.js +3 -0
- package/dist/functions/namespace/link.js +30 -0
- package/dist/functions/namespace/namespace-errors.js +28 -0
- package/dist/functions/namespace/namespace-name.js +13 -0
- package/dist/functions/namespace/rename.js +31 -0
- package/dist/functions/namespace/unlink.js +21 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mutations/namespace/alias-write.js +22 -0
- package/dist/mutations/namespace/index.js +3 -0
- package/dist/mutations/namespace/link-alias.js +15 -0
- package/dist/mutations/namespace/rename-alias.js +13 -0
- package/dist/mutations/namespace/unlink-alias.js +13 -0
- package/dist/queries/namespace/index.js +1 -0
- package/dist/queries/namespace/read-designated-node.js +12 -0
- package/dist/runtime.d.ts +731 -1
- package/dist/runtime.js +10 -1
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/modules/group/classes/group.d.ts +1 -0
- package/dist/schema/modules/group/classes/group.js +2 -0
- package/dist/schema/modules/namespace/classes/alias.d.ts +21 -0
- package/dist/schema/modules/namespace/classes/alias.js +13 -0
- package/dist/schema/modules/namespace/classes/index.d.ts +2 -0
- package/dist/schema/modules/namespace/classes/index.js +2 -0
- package/dist/schema/modules/namespace/classes/namespace.d.ts +31 -0
- package/dist/schema/modules/namespace/classes/namespace.js +10 -0
- package/dist/schema/modules/namespace/core/index.d.ts +1 -0
- package/dist/schema/modules/namespace/core/index.js +1 -0
- package/dist/schema/modules/namespace/core/views-namespace.d.ts +2 -0
- package/dist/schema/modules/namespace/core/views-namespace.js +7 -0
- package/dist/schema/modules/namespace/functions/index.js +3 -0
- package/dist/schema/modules/namespace/functions/link.js +11 -0
- package/dist/schema/modules/namespace/functions/rename.js +11 -0
- package/dist/schema/modules/namespace/functions/unlink.js +11 -0
- package/dist/schema/modules/namespace/index.d.ts +2 -0
- package/dist/schema/modules/namespace/index.js +2 -0
- package/dist/schema/modules/namespace/types/index.js +1 -0
- package/dist/schema/modules/namespace/types/namespace-name.js +7 -0
- package/dist/schema/modules/user/classes/user.d.ts +1 -0
- package/dist/schema/modules/user/classes/user.js +2 -0
- package/dist/schema/schema.d.ts +195 -0
- package/dist/schema/schema.js +8 -2
- package/package.json +2 -2
package/dist/runtime.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
18
18
|
readonly classes: {
|
|
19
19
|
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
20
20
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
21
|
+
readonly inheritance: "open";
|
|
21
22
|
readonly policies: {
|
|
22
23
|
readonly read: true;
|
|
23
24
|
};
|
|
@@ -41,6 +42,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
41
42
|
}>;
|
|
42
43
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
43
44
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
45
|
+
readonly inheritance: "open";
|
|
44
46
|
readonly policies: {
|
|
45
47
|
readonly read: true;
|
|
46
48
|
};
|
|
@@ -78,6 +80,52 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
78
80
|
readonly constraints: Record<never, never>;
|
|
79
81
|
readonly effectiveProperties: never;
|
|
80
82
|
}>;
|
|
83
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
84
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
85
|
+
readonly policies: {
|
|
86
|
+
readonly read: true;
|
|
87
|
+
readonly traverse: true;
|
|
88
|
+
};
|
|
89
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
90
|
+
readonly methods: {
|
|
91
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
92
|
+
name: string;
|
|
93
|
+
target: string;
|
|
94
|
+
}, {
|
|
95
|
+
readonly mode: 'value';
|
|
96
|
+
readonly value: Record<string, never>;
|
|
97
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
98
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
99
|
+
name: string;
|
|
100
|
+
}, {
|
|
101
|
+
readonly mode: 'value';
|
|
102
|
+
readonly value: Record<string, never>;
|
|
103
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
104
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
105
|
+
name: string;
|
|
106
|
+
to: string;
|
|
107
|
+
}, {
|
|
108
|
+
readonly mode: 'value';
|
|
109
|
+
readonly value: Record<string, never>;
|
|
110
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
111
|
+
};
|
|
112
|
+
}>;
|
|
113
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
114
|
+
readonly depth: 0;
|
|
115
|
+
readonly abstract: false;
|
|
116
|
+
readonly extends: readonly [];
|
|
117
|
+
readonly properties: never;
|
|
118
|
+
readonly source: {
|
|
119
|
+
readonly as: "namespace";
|
|
120
|
+
readonly outgoing: "0..*";
|
|
121
|
+
};
|
|
122
|
+
readonly target: {
|
|
123
|
+
readonly as: "node";
|
|
124
|
+
readonly incoming: "0..*";
|
|
125
|
+
};
|
|
126
|
+
readonly constraints: Record<never, never>;
|
|
127
|
+
readonly effectiveProperties: never;
|
|
128
|
+
}>;
|
|
81
129
|
};
|
|
82
130
|
readonly functions: {
|
|
83
131
|
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
@@ -105,6 +153,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
105
153
|
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
106
154
|
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
107
155
|
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
156
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
108
157
|
};
|
|
109
158
|
};
|
|
110
159
|
}, {
|
|
@@ -143,6 +192,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
143
192
|
readonly classes: {
|
|
144
193
|
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
145
194
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
195
|
+
readonly inheritance: "open";
|
|
146
196
|
readonly policies: {
|
|
147
197
|
readonly read: true;
|
|
148
198
|
};
|
|
@@ -166,6 +216,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
166
216
|
}>;
|
|
167
217
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
168
218
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
219
|
+
readonly inheritance: "open";
|
|
169
220
|
readonly policies: {
|
|
170
221
|
readonly read: true;
|
|
171
222
|
};
|
|
@@ -203,6 +254,52 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
203
254
|
readonly constraints: Record<never, never>;
|
|
204
255
|
readonly effectiveProperties: never;
|
|
205
256
|
}>;
|
|
257
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
258
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
259
|
+
readonly policies: {
|
|
260
|
+
readonly read: true;
|
|
261
|
+
readonly traverse: true;
|
|
262
|
+
};
|
|
263
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
264
|
+
readonly methods: {
|
|
265
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
266
|
+
name: string;
|
|
267
|
+
target: string;
|
|
268
|
+
}, {
|
|
269
|
+
readonly mode: 'value';
|
|
270
|
+
readonly value: Record<string, never>;
|
|
271
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
272
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
273
|
+
name: string;
|
|
274
|
+
}, {
|
|
275
|
+
readonly mode: 'value';
|
|
276
|
+
readonly value: Record<string, never>;
|
|
277
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
278
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
279
|
+
name: string;
|
|
280
|
+
to: string;
|
|
281
|
+
}, {
|
|
282
|
+
readonly mode: 'value';
|
|
283
|
+
readonly value: Record<string, never>;
|
|
284
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
285
|
+
};
|
|
286
|
+
}>;
|
|
287
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
288
|
+
readonly depth: 0;
|
|
289
|
+
readonly abstract: false;
|
|
290
|
+
readonly extends: readonly [];
|
|
291
|
+
readonly properties: never;
|
|
292
|
+
readonly source: {
|
|
293
|
+
readonly as: "namespace";
|
|
294
|
+
readonly outgoing: "0..*";
|
|
295
|
+
};
|
|
296
|
+
readonly target: {
|
|
297
|
+
readonly as: "node";
|
|
298
|
+
readonly incoming: "0..*";
|
|
299
|
+
};
|
|
300
|
+
readonly constraints: Record<never, never>;
|
|
301
|
+
readonly effectiveProperties: never;
|
|
302
|
+
}>;
|
|
206
303
|
};
|
|
207
304
|
readonly functions: {
|
|
208
305
|
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
@@ -230,6 +327,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
230
327
|
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
231
328
|
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
232
329
|
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
330
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
233
331
|
};
|
|
234
332
|
};
|
|
235
333
|
}, {
|
|
@@ -266,6 +364,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
266
364
|
readonly classes: {
|
|
267
365
|
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
268
366
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
367
|
+
readonly inheritance: "open";
|
|
269
368
|
readonly policies: {
|
|
270
369
|
readonly read: true;
|
|
271
370
|
};
|
|
@@ -289,6 +388,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
289
388
|
}>;
|
|
290
389
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
291
390
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
391
|
+
readonly inheritance: "open";
|
|
292
392
|
readonly policies: {
|
|
293
393
|
readonly read: true;
|
|
294
394
|
};
|
|
@@ -326,6 +426,52 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
326
426
|
readonly constraints: Record<never, never>;
|
|
327
427
|
readonly effectiveProperties: never;
|
|
328
428
|
}>;
|
|
429
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
430
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
431
|
+
readonly policies: {
|
|
432
|
+
readonly read: true;
|
|
433
|
+
readonly traverse: true;
|
|
434
|
+
};
|
|
435
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
436
|
+
readonly methods: {
|
|
437
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
438
|
+
name: string;
|
|
439
|
+
target: string;
|
|
440
|
+
}, {
|
|
441
|
+
readonly mode: 'value';
|
|
442
|
+
readonly value: Record<string, never>;
|
|
443
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
444
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
445
|
+
name: string;
|
|
446
|
+
}, {
|
|
447
|
+
readonly mode: 'value';
|
|
448
|
+
readonly value: Record<string, never>;
|
|
449
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
450
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
451
|
+
name: string;
|
|
452
|
+
to: string;
|
|
453
|
+
}, {
|
|
454
|
+
readonly mode: 'value';
|
|
455
|
+
readonly value: Record<string, never>;
|
|
456
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
457
|
+
};
|
|
458
|
+
}>;
|
|
459
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
460
|
+
readonly depth: 0;
|
|
461
|
+
readonly abstract: false;
|
|
462
|
+
readonly extends: readonly [];
|
|
463
|
+
readonly properties: never;
|
|
464
|
+
readonly source: {
|
|
465
|
+
readonly as: "namespace";
|
|
466
|
+
readonly outgoing: "0..*";
|
|
467
|
+
};
|
|
468
|
+
readonly target: {
|
|
469
|
+
readonly as: "node";
|
|
470
|
+
readonly incoming: "0..*";
|
|
471
|
+
};
|
|
472
|
+
readonly constraints: Record<never, never>;
|
|
473
|
+
readonly effectiveProperties: never;
|
|
474
|
+
}>;
|
|
329
475
|
};
|
|
330
476
|
readonly functions: {
|
|
331
477
|
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
@@ -353,6 +499,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
353
499
|
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
354
500
|
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
355
501
|
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
502
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
356
503
|
};
|
|
357
504
|
};
|
|
358
505
|
}, {
|
|
@@ -389,6 +536,153 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
389
536
|
readonly classes: {
|
|
390
537
|
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
391
538
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
539
|
+
readonly inheritance: "open";
|
|
540
|
+
readonly policies: {
|
|
541
|
+
readonly read: true;
|
|
542
|
+
};
|
|
543
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
544
|
+
readonly properties: {
|
|
545
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
546
|
+
};
|
|
547
|
+
readonly methods: {
|
|
548
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
549
|
+
user: string;
|
|
550
|
+
email: string;
|
|
551
|
+
}, {
|
|
552
|
+
readonly mode: 'value';
|
|
553
|
+
readonly value: {
|
|
554
|
+
invitationId: string;
|
|
555
|
+
user: string;
|
|
556
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
557
|
+
};
|
|
558
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
559
|
+
};
|
|
560
|
+
}>;
|
|
561
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
562
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
563
|
+
readonly inheritance: "open";
|
|
564
|
+
readonly policies: {
|
|
565
|
+
readonly read: true;
|
|
566
|
+
};
|
|
567
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
568
|
+
readonly methods: {
|
|
569
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
570
|
+
member: string;
|
|
571
|
+
group: string;
|
|
572
|
+
}, {
|
|
573
|
+
readonly mode: 'value';
|
|
574
|
+
readonly value: Record<string, never>;
|
|
575
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
576
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
577
|
+
member: string;
|
|
578
|
+
group: string;
|
|
579
|
+
}, {
|
|
580
|
+
readonly mode: 'value';
|
|
581
|
+
readonly value: Record<string, never>;
|
|
582
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
583
|
+
};
|
|
584
|
+
}>;
|
|
585
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
586
|
+
readonly depth: 0;
|
|
587
|
+
readonly abstract: false;
|
|
588
|
+
readonly extends: readonly [];
|
|
589
|
+
readonly properties: never;
|
|
590
|
+
readonly source: {
|
|
591
|
+
readonly as: "member";
|
|
592
|
+
readonly outgoing: "0..*";
|
|
593
|
+
};
|
|
594
|
+
readonly target: {
|
|
595
|
+
readonly as: "group";
|
|
596
|
+
readonly incoming: "0..*";
|
|
597
|
+
};
|
|
598
|
+
readonly constraints: Record<never, never>;
|
|
599
|
+
readonly effectiveProperties: never;
|
|
600
|
+
}>;
|
|
601
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
602
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
603
|
+
readonly policies: {
|
|
604
|
+
readonly read: true;
|
|
605
|
+
readonly traverse: true;
|
|
606
|
+
};
|
|
607
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
608
|
+
readonly methods: {
|
|
609
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
610
|
+
name: string;
|
|
611
|
+
target: string;
|
|
612
|
+
}, {
|
|
613
|
+
readonly mode: 'value';
|
|
614
|
+
readonly value: Record<string, never>;
|
|
615
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
616
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
617
|
+
name: string;
|
|
618
|
+
}, {
|
|
619
|
+
readonly mode: 'value';
|
|
620
|
+
readonly value: Record<string, never>;
|
|
621
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
622
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
623
|
+
name: string;
|
|
624
|
+
to: string;
|
|
625
|
+
}, {
|
|
626
|
+
readonly mode: 'value';
|
|
627
|
+
readonly value: Record<string, never>;
|
|
628
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
629
|
+
};
|
|
630
|
+
}>;
|
|
631
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
632
|
+
readonly depth: 0;
|
|
633
|
+
readonly abstract: false;
|
|
634
|
+
readonly extends: readonly [];
|
|
635
|
+
readonly properties: never;
|
|
636
|
+
readonly source: {
|
|
637
|
+
readonly as: "namespace";
|
|
638
|
+
readonly outgoing: "0..*";
|
|
639
|
+
};
|
|
640
|
+
readonly target: {
|
|
641
|
+
readonly as: "node";
|
|
642
|
+
readonly incoming: "0..*";
|
|
643
|
+
};
|
|
644
|
+
readonly constraints: Record<never, never>;
|
|
645
|
+
readonly effectiveProperties: never;
|
|
646
|
+
}>;
|
|
647
|
+
};
|
|
648
|
+
readonly functions: {
|
|
649
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
650
|
+
readonly mode: 'value';
|
|
651
|
+
readonly value: {
|
|
652
|
+
entrypoints: {
|
|
653
|
+
origin: string;
|
|
654
|
+
name: string;
|
|
655
|
+
view: string;
|
|
656
|
+
}[];
|
|
657
|
+
};
|
|
658
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
659
|
+
};
|
|
660
|
+
readonly policies: {
|
|
661
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
662
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
663
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
664
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
665
|
+
};
|
|
666
|
+
readonly views: {
|
|
667
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
668
|
+
};
|
|
669
|
+
readonly core: {
|
|
670
|
+
readonly nodes: {
|
|
671
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
672
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
673
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
674
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
}, {
|
|
678
|
+
readonly kernel: "kernel.astrale.ai";
|
|
679
|
+
}]>, "listEntrypoints", Readonly<Record<never, never>>, Readonly<Record<never, never>>>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
680
|
+
readonly name: 'Shell';
|
|
681
|
+
readonly entrypoint: 'application';
|
|
682
|
+
readonly classes: {
|
|
683
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
684
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
685
|
+
readonly inheritance: "open";
|
|
392
686
|
readonly policies: {
|
|
393
687
|
readonly read: true;
|
|
394
688
|
};
|
|
@@ -412,6 +706,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
412
706
|
}>;
|
|
413
707
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
414
708
|
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
709
|
+
readonly inheritance: "open";
|
|
415
710
|
readonly policies: {
|
|
416
711
|
readonly read: true;
|
|
417
712
|
};
|
|
@@ -449,6 +744,52 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
449
744
|
readonly constraints: Record<never, never>;
|
|
450
745
|
readonly effectiveProperties: never;
|
|
451
746
|
}>;
|
|
747
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
748
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
749
|
+
readonly policies: {
|
|
750
|
+
readonly read: true;
|
|
751
|
+
readonly traverse: true;
|
|
752
|
+
};
|
|
753
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
754
|
+
readonly methods: {
|
|
755
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
756
|
+
name: string;
|
|
757
|
+
target: string;
|
|
758
|
+
}, {
|
|
759
|
+
readonly mode: 'value';
|
|
760
|
+
readonly value: Record<string, never>;
|
|
761
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
762
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
763
|
+
name: string;
|
|
764
|
+
}, {
|
|
765
|
+
readonly mode: 'value';
|
|
766
|
+
readonly value: Record<string, never>;
|
|
767
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
768
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
769
|
+
name: string;
|
|
770
|
+
to: string;
|
|
771
|
+
}, {
|
|
772
|
+
readonly mode: 'value';
|
|
773
|
+
readonly value: Record<string, never>;
|
|
774
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
775
|
+
};
|
|
776
|
+
}>;
|
|
777
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
778
|
+
readonly depth: 0;
|
|
779
|
+
readonly abstract: false;
|
|
780
|
+
readonly extends: readonly [];
|
|
781
|
+
readonly properties: never;
|
|
782
|
+
readonly source: {
|
|
783
|
+
readonly as: "namespace";
|
|
784
|
+
readonly outgoing: "0..*";
|
|
785
|
+
};
|
|
786
|
+
readonly target: {
|
|
787
|
+
readonly as: "node";
|
|
788
|
+
readonly incoming: "0..*";
|
|
789
|
+
};
|
|
790
|
+
readonly constraints: Record<never, never>;
|
|
791
|
+
readonly effectiveProperties: never;
|
|
792
|
+
}>;
|
|
452
793
|
};
|
|
453
794
|
readonly functions: {
|
|
454
795
|
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
@@ -476,11 +817,400 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
476
817
|
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
477
818
|
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
478
819
|
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
820
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
479
821
|
};
|
|
480
822
|
};
|
|
481
823
|
}, {
|
|
482
824
|
readonly kernel: "kernel.astrale.ai";
|
|
483
|
-
}]>, "
|
|
825
|
+
}]>, "Namespace.link", Readonly<Record<never, never>>, {
|
|
826
|
+
readonly INVALID_NAME: {
|
|
827
|
+
readonly family: 'VALIDATION_ERROR';
|
|
828
|
+
readonly message: 'A name uses lower-case letters, digits, ".", "_" and "-", and starts and ends with a letter or digit.';
|
|
829
|
+
readonly details: import("zod").ZodObject<{
|
|
830
|
+
name: import("zod").ZodString;
|
|
831
|
+
}, import("zod/v4/core").$strict>;
|
|
832
|
+
};
|
|
833
|
+
readonly TARGET_NOT_FOUND: {
|
|
834
|
+
readonly family: 'NOT_FOUND';
|
|
835
|
+
readonly message: 'The target Path reaches no Node.';
|
|
836
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
837
|
+
};
|
|
838
|
+
readonly NAME_TAKEN: {
|
|
839
|
+
readonly family: 'CONFLICT';
|
|
840
|
+
readonly message: 'This name already designates a Node in this Namespace.';
|
|
841
|
+
readonly details: import("zod").ZodObject<{
|
|
842
|
+
name: import("zod").ZodString;
|
|
843
|
+
}, import("zod/v4/core").$strict>;
|
|
844
|
+
};
|
|
845
|
+
readonly TARGET_ALREADY_ALIASED: {
|
|
846
|
+
readonly family: 'CONFLICT';
|
|
847
|
+
readonly message: 'This Node already has an alias in this Namespace; rename it instead.';
|
|
848
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
849
|
+
};
|
|
850
|
+
readonly NAME_NOT_FOUND: {
|
|
851
|
+
readonly family: 'NOT_FOUND';
|
|
852
|
+
readonly message: 'No alias of this Namespace has this name.';
|
|
853
|
+
readonly details: import("zod").ZodObject<{
|
|
854
|
+
name: import("zod").ZodString;
|
|
855
|
+
}, import("zod/v4/core").$strict>;
|
|
856
|
+
};
|
|
857
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
858
|
+
readonly name: 'Shell';
|
|
859
|
+
readonly entrypoint: 'application';
|
|
860
|
+
readonly classes: {
|
|
861
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
862
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
863
|
+
readonly inheritance: "open";
|
|
864
|
+
readonly policies: {
|
|
865
|
+
readonly read: true;
|
|
866
|
+
};
|
|
867
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
868
|
+
readonly properties: {
|
|
869
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
870
|
+
};
|
|
871
|
+
readonly methods: {
|
|
872
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
873
|
+
user: string;
|
|
874
|
+
email: string;
|
|
875
|
+
}, {
|
|
876
|
+
readonly mode: 'value';
|
|
877
|
+
readonly value: {
|
|
878
|
+
invitationId: string;
|
|
879
|
+
user: string;
|
|
880
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
881
|
+
};
|
|
882
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
883
|
+
};
|
|
884
|
+
}>;
|
|
885
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
886
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
887
|
+
readonly inheritance: "open";
|
|
888
|
+
readonly policies: {
|
|
889
|
+
readonly read: true;
|
|
890
|
+
};
|
|
891
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
892
|
+
readonly methods: {
|
|
893
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
894
|
+
member: string;
|
|
895
|
+
group: string;
|
|
896
|
+
}, {
|
|
897
|
+
readonly mode: 'value';
|
|
898
|
+
readonly value: Record<string, never>;
|
|
899
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
900
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
901
|
+
member: string;
|
|
902
|
+
group: string;
|
|
903
|
+
}, {
|
|
904
|
+
readonly mode: 'value';
|
|
905
|
+
readonly value: Record<string, never>;
|
|
906
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
907
|
+
};
|
|
908
|
+
}>;
|
|
909
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
910
|
+
readonly depth: 0;
|
|
911
|
+
readonly abstract: false;
|
|
912
|
+
readonly extends: readonly [];
|
|
913
|
+
readonly properties: never;
|
|
914
|
+
readonly source: {
|
|
915
|
+
readonly as: "member";
|
|
916
|
+
readonly outgoing: "0..*";
|
|
917
|
+
};
|
|
918
|
+
readonly target: {
|
|
919
|
+
readonly as: "group";
|
|
920
|
+
readonly incoming: "0..*";
|
|
921
|
+
};
|
|
922
|
+
readonly constraints: Record<never, never>;
|
|
923
|
+
readonly effectiveProperties: never;
|
|
924
|
+
}>;
|
|
925
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
926
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
927
|
+
readonly policies: {
|
|
928
|
+
readonly read: true;
|
|
929
|
+
readonly traverse: true;
|
|
930
|
+
};
|
|
931
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
932
|
+
readonly methods: {
|
|
933
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
934
|
+
name: string;
|
|
935
|
+
target: string;
|
|
936
|
+
}, {
|
|
937
|
+
readonly mode: 'value';
|
|
938
|
+
readonly value: Record<string, never>;
|
|
939
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
940
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
941
|
+
name: string;
|
|
942
|
+
}, {
|
|
943
|
+
readonly mode: 'value';
|
|
944
|
+
readonly value: Record<string, never>;
|
|
945
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
946
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
947
|
+
name: string;
|
|
948
|
+
to: string;
|
|
949
|
+
}, {
|
|
950
|
+
readonly mode: 'value';
|
|
951
|
+
readonly value: Record<string, never>;
|
|
952
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
953
|
+
};
|
|
954
|
+
}>;
|
|
955
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
956
|
+
readonly depth: 0;
|
|
957
|
+
readonly abstract: false;
|
|
958
|
+
readonly extends: readonly [];
|
|
959
|
+
readonly properties: never;
|
|
960
|
+
readonly source: {
|
|
961
|
+
readonly as: "namespace";
|
|
962
|
+
readonly outgoing: "0..*";
|
|
963
|
+
};
|
|
964
|
+
readonly target: {
|
|
965
|
+
readonly as: "node";
|
|
966
|
+
readonly incoming: "0..*";
|
|
967
|
+
};
|
|
968
|
+
readonly constraints: Record<never, never>;
|
|
969
|
+
readonly effectiveProperties: never;
|
|
970
|
+
}>;
|
|
971
|
+
};
|
|
972
|
+
readonly functions: {
|
|
973
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
974
|
+
readonly mode: 'value';
|
|
975
|
+
readonly value: {
|
|
976
|
+
entrypoints: {
|
|
977
|
+
origin: string;
|
|
978
|
+
name: string;
|
|
979
|
+
view: string;
|
|
980
|
+
}[];
|
|
981
|
+
};
|
|
982
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
983
|
+
};
|
|
984
|
+
readonly policies: {
|
|
985
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
986
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
987
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
988
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
989
|
+
};
|
|
990
|
+
readonly views: {
|
|
991
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
992
|
+
};
|
|
993
|
+
readonly core: {
|
|
994
|
+
readonly nodes: {
|
|
995
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
996
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
997
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
998
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly kernel: "kernel.astrale.ai";
|
|
1003
|
+
}]>, "Namespace.unlink", Readonly<Record<never, never>>, {
|
|
1004
|
+
readonly INVALID_NAME: {
|
|
1005
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1006
|
+
readonly message: 'A name uses lower-case letters, digits, ".", "_" and "-", and starts and ends with a letter or digit.';
|
|
1007
|
+
readonly details: import("zod").ZodObject<{
|
|
1008
|
+
name: import("zod").ZodString;
|
|
1009
|
+
}, import("zod/v4/core").$strict>;
|
|
1010
|
+
};
|
|
1011
|
+
readonly TARGET_NOT_FOUND: {
|
|
1012
|
+
readonly family: 'NOT_FOUND';
|
|
1013
|
+
readonly message: 'The target Path reaches no Node.';
|
|
1014
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1015
|
+
};
|
|
1016
|
+
readonly NAME_TAKEN: {
|
|
1017
|
+
readonly family: 'CONFLICT';
|
|
1018
|
+
readonly message: 'This name already designates a Node in this Namespace.';
|
|
1019
|
+
readonly details: import("zod").ZodObject<{
|
|
1020
|
+
name: import("zod").ZodString;
|
|
1021
|
+
}, import("zod/v4/core").$strict>;
|
|
1022
|
+
};
|
|
1023
|
+
readonly TARGET_ALREADY_ALIASED: {
|
|
1024
|
+
readonly family: 'CONFLICT';
|
|
1025
|
+
readonly message: 'This Node already has an alias in this Namespace; rename it instead.';
|
|
1026
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1027
|
+
};
|
|
1028
|
+
readonly NAME_NOT_FOUND: {
|
|
1029
|
+
readonly family: 'NOT_FOUND';
|
|
1030
|
+
readonly message: 'No alias of this Namespace has this name.';
|
|
1031
|
+
readonly details: import("zod").ZodObject<{
|
|
1032
|
+
name: import("zod").ZodString;
|
|
1033
|
+
}, import("zod/v4/core").$strict>;
|
|
1034
|
+
};
|
|
1035
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
1036
|
+
readonly name: 'Shell';
|
|
1037
|
+
readonly entrypoint: 'application';
|
|
1038
|
+
readonly classes: {
|
|
1039
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1040
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1041
|
+
readonly inheritance: "open";
|
|
1042
|
+
readonly policies: {
|
|
1043
|
+
readonly read: true;
|
|
1044
|
+
};
|
|
1045
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
1046
|
+
readonly properties: {
|
|
1047
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1048
|
+
};
|
|
1049
|
+
readonly methods: {
|
|
1050
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1051
|
+
user: string;
|
|
1052
|
+
email: string;
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly mode: 'value';
|
|
1055
|
+
readonly value: {
|
|
1056
|
+
invitationId: string;
|
|
1057
|
+
user: string;
|
|
1058
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
1059
|
+
};
|
|
1060
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1061
|
+
};
|
|
1062
|
+
}>;
|
|
1063
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1064
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1065
|
+
readonly inheritance: "open";
|
|
1066
|
+
readonly policies: {
|
|
1067
|
+
readonly read: true;
|
|
1068
|
+
};
|
|
1069
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1070
|
+
readonly methods: {
|
|
1071
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1072
|
+
member: string;
|
|
1073
|
+
group: string;
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly mode: 'value';
|
|
1076
|
+
readonly value: Record<string, never>;
|
|
1077
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1078
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1079
|
+
member: string;
|
|
1080
|
+
group: string;
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly mode: 'value';
|
|
1083
|
+
readonly value: Record<string, never>;
|
|
1084
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1085
|
+
};
|
|
1086
|
+
}>;
|
|
1087
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1088
|
+
readonly depth: 0;
|
|
1089
|
+
readonly abstract: false;
|
|
1090
|
+
readonly extends: readonly [];
|
|
1091
|
+
readonly properties: never;
|
|
1092
|
+
readonly source: {
|
|
1093
|
+
readonly as: "member";
|
|
1094
|
+
readonly outgoing: "0..*";
|
|
1095
|
+
};
|
|
1096
|
+
readonly target: {
|
|
1097
|
+
readonly as: "group";
|
|
1098
|
+
readonly incoming: "0..*";
|
|
1099
|
+
};
|
|
1100
|
+
readonly constraints: Record<never, never>;
|
|
1101
|
+
readonly effectiveProperties: never;
|
|
1102
|
+
}>;
|
|
1103
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1104
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1105
|
+
readonly policies: {
|
|
1106
|
+
readonly read: true;
|
|
1107
|
+
readonly traverse: true;
|
|
1108
|
+
};
|
|
1109
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1110
|
+
readonly methods: {
|
|
1111
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1112
|
+
name: string;
|
|
1113
|
+
target: string;
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly mode: 'value';
|
|
1116
|
+
readonly value: Record<string, never>;
|
|
1117
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1118
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1119
|
+
name: string;
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly mode: 'value';
|
|
1122
|
+
readonly value: Record<string, never>;
|
|
1123
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1124
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1125
|
+
name: string;
|
|
1126
|
+
to: string;
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly mode: 'value';
|
|
1129
|
+
readonly value: Record<string, never>;
|
|
1130
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1131
|
+
};
|
|
1132
|
+
}>;
|
|
1133
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1134
|
+
readonly depth: 0;
|
|
1135
|
+
readonly abstract: false;
|
|
1136
|
+
readonly extends: readonly [];
|
|
1137
|
+
readonly properties: never;
|
|
1138
|
+
readonly source: {
|
|
1139
|
+
readonly as: "namespace";
|
|
1140
|
+
readonly outgoing: "0..*";
|
|
1141
|
+
};
|
|
1142
|
+
readonly target: {
|
|
1143
|
+
readonly as: "node";
|
|
1144
|
+
readonly incoming: "0..*";
|
|
1145
|
+
};
|
|
1146
|
+
readonly constraints: Record<never, never>;
|
|
1147
|
+
readonly effectiveProperties: never;
|
|
1148
|
+
}>;
|
|
1149
|
+
};
|
|
1150
|
+
readonly functions: {
|
|
1151
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1152
|
+
readonly mode: 'value';
|
|
1153
|
+
readonly value: {
|
|
1154
|
+
entrypoints: {
|
|
1155
|
+
origin: string;
|
|
1156
|
+
name: string;
|
|
1157
|
+
view: string;
|
|
1158
|
+
}[];
|
|
1159
|
+
};
|
|
1160
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1161
|
+
};
|
|
1162
|
+
readonly policies: {
|
|
1163
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1164
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1165
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1166
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1167
|
+
};
|
|
1168
|
+
readonly views: {
|
|
1169
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1170
|
+
};
|
|
1171
|
+
readonly core: {
|
|
1172
|
+
readonly nodes: {
|
|
1173
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1174
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1175
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1176
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly kernel: "kernel.astrale.ai";
|
|
1181
|
+
}]>, "Namespace.rename", Readonly<Record<never, never>>, {
|
|
1182
|
+
readonly INVALID_NAME: {
|
|
1183
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1184
|
+
readonly message: 'A name uses lower-case letters, digits, ".", "_" and "-", and starts and ends with a letter or digit.';
|
|
1185
|
+
readonly details: import("zod").ZodObject<{
|
|
1186
|
+
name: import("zod").ZodString;
|
|
1187
|
+
}, import("zod/v4/core").$strict>;
|
|
1188
|
+
};
|
|
1189
|
+
readonly TARGET_NOT_FOUND: {
|
|
1190
|
+
readonly family: 'NOT_FOUND';
|
|
1191
|
+
readonly message: 'The target Path reaches no Node.';
|
|
1192
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1193
|
+
};
|
|
1194
|
+
readonly NAME_TAKEN: {
|
|
1195
|
+
readonly family: 'CONFLICT';
|
|
1196
|
+
readonly message: 'This name already designates a Node in this Namespace.';
|
|
1197
|
+
readonly details: import("zod").ZodObject<{
|
|
1198
|
+
name: import("zod").ZodString;
|
|
1199
|
+
}, import("zod/v4/core").$strict>;
|
|
1200
|
+
};
|
|
1201
|
+
readonly TARGET_ALREADY_ALIASED: {
|
|
1202
|
+
readonly family: 'CONFLICT';
|
|
1203
|
+
readonly message: 'This Node already has an alias in this Namespace; rename it instead.';
|
|
1204
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1205
|
+
};
|
|
1206
|
+
readonly NAME_NOT_FOUND: {
|
|
1207
|
+
readonly family: 'NOT_FOUND';
|
|
1208
|
+
readonly message: 'No alias of this Namespace has this name.';
|
|
1209
|
+
readonly details: import("zod").ZodObject<{
|
|
1210
|
+
name: import("zod").ZodString;
|
|
1211
|
+
}, import("zod/v4/core").$strict>;
|
|
1212
|
+
};
|
|
1213
|
+
}>];
|
|
484
1214
|
export type ShellRuntime = Runtime<ShellSchema, typeof integrations, typeof initialize, typeof functions>;
|
|
485
1215
|
declare const runtime: ShellRuntime;
|
|
486
1216
|
export default runtime;
|