@astrale-os/kernel-core 0.9.0-beta.44 → 0.9.0-beta.46
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/dist/schema/domain/domain.d.ts +569 -122
- package/dist/schema/identity/identity.d.ts +17 -0
- package/dist/schema/kernel/projection/callables.js +1 -1
- package/dist/schema/kernel/projection/keys.js +1 -1
- package/dist/schema/kernel/projection/project.js +1 -1
- package/dist/schema/kernel/schema.d.ts +1006 -529
- package/dist/schema/kernel/schema.js +1 -0
- package/dist/schema/kernel/syscalls/contracts/impersonate.d.ts +7 -0
- package/dist/schema/kernel/syscalls/contracts/impersonate.js +4 -0
- package/dist/schema/kernel/syscalls/contracts/index.d.ts +1 -0
- package/dist/schema/kernel/syscalls/contracts/index.js +1 -0
- package/dist/schema/kernel/syscalls/declarations/impersonate.d.ts +10 -0
- package/dist/schema/kernel/syscalls/declarations/impersonate.js +12 -0
- package/dist/schema/kernel/syscalls/declarations/index.d.ts +32 -23
- package/dist/schema/kernel/syscalls/declarations/index.js +2 -0
- package/dist/schema/kernel/syscalls/descriptors/function.d.ts +1 -0
- package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +21 -0
- package/dist/schema/kernel/syscalls/descriptors/identity.js +1 -0
- package/dist/schema/kernel/syscalls/descriptors/view.d.ts +1 -0
- package/dist/schema/kernel/syscalls/references/identity.d.ts +9 -0
- package/dist/schema/kernel/syscalls/references/identity.js +1 -0
- package/package.json +2 -2
|
@@ -105,6 +105,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
105
105
|
readonly mode: 'value';
|
|
106
106
|
readonly value: string;
|
|
107
107
|
}, "authenticated", true, false>>;
|
|
108
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
109
|
+
audience?: string | undefined;
|
|
110
|
+
ttlSeconds: number;
|
|
111
|
+
grant?: unknown;
|
|
112
|
+
identity: string;
|
|
113
|
+
}, {
|
|
114
|
+
readonly mode: 'value';
|
|
115
|
+
readonly value: string;
|
|
116
|
+
}, "authorized", true, false>>;
|
|
108
117
|
}>;
|
|
109
118
|
}, builder.AuthoredPropertyProjection<({
|
|
110
119
|
claim: string;
|
|
@@ -231,6 +240,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
231
240
|
readonly mode: 'value';
|
|
232
241
|
readonly value: string;
|
|
233
242
|
}, "authenticated", true, false>>;
|
|
243
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
244
|
+
audience?: string | undefined;
|
|
245
|
+
ttlSeconds: number;
|
|
246
|
+
grant?: unknown;
|
|
247
|
+
identity: string;
|
|
248
|
+
}, {
|
|
249
|
+
readonly mode: 'value';
|
|
250
|
+
readonly value: string;
|
|
251
|
+
}, "authorized", true, false>>;
|
|
234
252
|
}>;
|
|
235
253
|
}, builder.AuthoredPropertyProjection<({
|
|
236
254
|
claim: string;
|
|
@@ -275,14 +293,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
275
293
|
})[];
|
|
276
294
|
};
|
|
277
295
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
278
|
-
policy: string;
|
|
279
|
-
object: string;
|
|
280
|
-
}, {
|
|
281
|
-
readonly mode: 'value';
|
|
282
|
-
readonly value: {
|
|
283
|
-
allowed: boolean;
|
|
284
|
-
};
|
|
285
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
286
296
|
principal: string;
|
|
287
297
|
audience: string;
|
|
288
298
|
ttlSeconds: number;
|
|
@@ -291,6 +301,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
291
301
|
readonly mode: 'value';
|
|
292
302
|
readonly value: string;
|
|
293
303
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
304
|
+
policy: string;
|
|
305
|
+
object: string;
|
|
306
|
+
}, {
|
|
307
|
+
readonly mode: 'value';
|
|
308
|
+
readonly value: {
|
|
309
|
+
allowed: boolean;
|
|
310
|
+
};
|
|
311
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
294
312
|
iss: string;
|
|
295
313
|
sub: string;
|
|
296
314
|
}, {
|
|
@@ -320,7 +338,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
320
338
|
}, {
|
|
321
339
|
readonly mode: 'value';
|
|
322
340
|
readonly value: string;
|
|
323
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
341
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
342
|
+
audience?: string | undefined;
|
|
343
|
+
ttlSeconds: number;
|
|
344
|
+
grant?: unknown;
|
|
345
|
+
identity: string;
|
|
346
|
+
}, {
|
|
347
|
+
readonly mode: 'value';
|
|
348
|
+
readonly value: string;
|
|
349
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
|
|
324
350
|
readonly abstract: true;
|
|
325
351
|
readonly depth: 1;
|
|
326
352
|
readonly properties: {
|
|
@@ -423,6 +449,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
423
449
|
readonly mode: 'value';
|
|
424
450
|
readonly value: string;
|
|
425
451
|
}, "authenticated", true, false>>;
|
|
452
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
453
|
+
audience?: string | undefined;
|
|
454
|
+
ttlSeconds: number;
|
|
455
|
+
grant?: unknown;
|
|
456
|
+
identity: string;
|
|
457
|
+
}, {
|
|
458
|
+
readonly mode: 'value';
|
|
459
|
+
readonly value: string;
|
|
460
|
+
}, "authorized", true, false>>;
|
|
426
461
|
}>;
|
|
427
462
|
}, builder.AuthoredPropertyProjection<({
|
|
428
463
|
claim: string;
|
|
@@ -467,14 +502,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
467
502
|
})[];
|
|
468
503
|
};
|
|
469
504
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
470
|
-
policy: string;
|
|
471
|
-
object: string;
|
|
472
|
-
}, {
|
|
473
|
-
readonly mode: 'value';
|
|
474
|
-
readonly value: {
|
|
475
|
-
allowed: boolean;
|
|
476
|
-
};
|
|
477
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
478
505
|
principal: string;
|
|
479
506
|
audience: string;
|
|
480
507
|
ttlSeconds: number;
|
|
@@ -483,6 +510,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
483
510
|
readonly mode: 'value';
|
|
484
511
|
readonly value: string;
|
|
485
512
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
513
|
+
policy: string;
|
|
514
|
+
object: string;
|
|
515
|
+
}, {
|
|
516
|
+
readonly mode: 'value';
|
|
517
|
+
readonly value: {
|
|
518
|
+
allowed: boolean;
|
|
519
|
+
};
|
|
520
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
486
521
|
iss: string;
|
|
487
522
|
sub: string;
|
|
488
523
|
}, {
|
|
@@ -512,7 +547,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
512
547
|
}, {
|
|
513
548
|
readonly mode: 'value';
|
|
514
549
|
readonly value: string;
|
|
515
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
550
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
551
|
+
audience?: string | undefined;
|
|
552
|
+
ttlSeconds: number;
|
|
553
|
+
grant?: unknown;
|
|
554
|
+
identity: string;
|
|
555
|
+
}, {
|
|
556
|
+
readonly mode: 'value';
|
|
557
|
+
readonly value: string;
|
|
558
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
|
|
516
559
|
readonly abstract: true;
|
|
517
560
|
readonly depth: 1;
|
|
518
561
|
readonly properties: {
|
|
@@ -615,6 +658,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
615
658
|
readonly mode: 'value';
|
|
616
659
|
readonly value: string;
|
|
617
660
|
}, "authenticated", true, false>>;
|
|
661
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
662
|
+
audience?: string | undefined;
|
|
663
|
+
ttlSeconds: number;
|
|
664
|
+
grant?: unknown;
|
|
665
|
+
identity: string;
|
|
666
|
+
}, {
|
|
667
|
+
readonly mode: 'value';
|
|
668
|
+
readonly value: string;
|
|
669
|
+
}, "authorized", true, false>>;
|
|
618
670
|
}>;
|
|
619
671
|
}, builder.AuthoredPropertyProjection<({
|
|
620
672
|
claim: string;
|
|
@@ -659,14 +711,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
659
711
|
})[];
|
|
660
712
|
};
|
|
661
713
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
662
|
-
policy: string;
|
|
663
|
-
object: string;
|
|
664
|
-
}, {
|
|
665
|
-
readonly mode: 'value';
|
|
666
|
-
readonly value: {
|
|
667
|
-
allowed: boolean;
|
|
668
|
-
};
|
|
669
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
670
714
|
principal: string;
|
|
671
715
|
audience: string;
|
|
672
716
|
ttlSeconds: number;
|
|
@@ -675,6 +719,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
675
719
|
readonly mode: 'value';
|
|
676
720
|
readonly value: string;
|
|
677
721
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
722
|
+
policy: string;
|
|
723
|
+
object: string;
|
|
724
|
+
}, {
|
|
725
|
+
readonly mode: 'value';
|
|
726
|
+
readonly value: {
|
|
727
|
+
allowed: boolean;
|
|
728
|
+
};
|
|
729
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
678
730
|
iss: string;
|
|
679
731
|
sub: string;
|
|
680
732
|
}, {
|
|
@@ -704,7 +756,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
704
756
|
}, {
|
|
705
757
|
readonly mode: 'value';
|
|
706
758
|
readonly value: string;
|
|
707
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
759
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
760
|
+
audience?: string | undefined;
|
|
761
|
+
ttlSeconds: number;
|
|
762
|
+
grant?: unknown;
|
|
763
|
+
identity: string;
|
|
764
|
+
}, {
|
|
765
|
+
readonly mode: 'value';
|
|
766
|
+
readonly value: string;
|
|
767
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
|
|
708
768
|
readonly abstract: true;
|
|
709
769
|
readonly depth: 1;
|
|
710
770
|
readonly properties: {
|
|
@@ -807,6 +867,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
807
867
|
readonly mode: 'value';
|
|
808
868
|
readonly value: string;
|
|
809
869
|
}, "authenticated", true, false>>;
|
|
870
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
871
|
+
audience?: string | undefined;
|
|
872
|
+
ttlSeconds: number;
|
|
873
|
+
grant?: unknown;
|
|
874
|
+
identity: string;
|
|
875
|
+
}, {
|
|
876
|
+
readonly mode: 'value';
|
|
877
|
+
readonly value: string;
|
|
878
|
+
}, "authorized", true, false>>;
|
|
810
879
|
}>;
|
|
811
880
|
}, builder.AuthoredPropertyProjection<({
|
|
812
881
|
claim: string;
|
|
@@ -851,14 +920,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
851
920
|
})[];
|
|
852
921
|
};
|
|
853
922
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
854
|
-
policy: string;
|
|
855
|
-
object: string;
|
|
856
|
-
}, {
|
|
857
|
-
readonly mode: 'value';
|
|
858
|
-
readonly value: {
|
|
859
|
-
allowed: boolean;
|
|
860
|
-
};
|
|
861
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
862
923
|
principal: string;
|
|
863
924
|
audience: string;
|
|
864
925
|
ttlSeconds: number;
|
|
@@ -867,6 +928,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
867
928
|
readonly mode: 'value';
|
|
868
929
|
readonly value: string;
|
|
869
930
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
931
|
+
policy: string;
|
|
932
|
+
object: string;
|
|
933
|
+
}, {
|
|
934
|
+
readonly mode: 'value';
|
|
935
|
+
readonly value: {
|
|
936
|
+
allowed: boolean;
|
|
937
|
+
};
|
|
938
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
870
939
|
iss: string;
|
|
871
940
|
sub: string;
|
|
872
941
|
}, {
|
|
@@ -896,7 +965,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
896
965
|
}, {
|
|
897
966
|
readonly mode: 'value';
|
|
898
967
|
readonly value: string;
|
|
899
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
968
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
969
|
+
audience?: string | undefined;
|
|
970
|
+
ttlSeconds: number;
|
|
971
|
+
grant?: unknown;
|
|
972
|
+
identity: string;
|
|
973
|
+
}, {
|
|
974
|
+
readonly mode: 'value';
|
|
975
|
+
readonly value: string;
|
|
976
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
900
977
|
readonly mode: 'value';
|
|
901
978
|
readonly value: {
|
|
902
979
|
id: string;
|
|
@@ -1019,6 +1096,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1019
1096
|
readonly mode: 'value';
|
|
1020
1097
|
readonly value: string;
|
|
1021
1098
|
}, "authenticated", true, false>>;
|
|
1099
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1100
|
+
audience?: string | undefined;
|
|
1101
|
+
ttlSeconds: number;
|
|
1102
|
+
grant?: unknown;
|
|
1103
|
+
identity: string;
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly mode: 'value';
|
|
1106
|
+
readonly value: string;
|
|
1107
|
+
}, "authorized", true, false>>;
|
|
1022
1108
|
}>;
|
|
1023
1109
|
}, builder.AuthoredPropertyProjection<({
|
|
1024
1110
|
claim: string;
|
|
@@ -1063,14 +1149,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1063
1149
|
})[];
|
|
1064
1150
|
};
|
|
1065
1151
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1066
|
-
policy: string;
|
|
1067
|
-
object: string;
|
|
1068
|
-
}, {
|
|
1069
|
-
readonly mode: 'value';
|
|
1070
|
-
readonly value: {
|
|
1071
|
-
allowed: boolean;
|
|
1072
|
-
};
|
|
1073
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1074
1152
|
principal: string;
|
|
1075
1153
|
audience: string;
|
|
1076
1154
|
ttlSeconds: number;
|
|
@@ -1079,6 +1157,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1079
1157
|
readonly mode: 'value';
|
|
1080
1158
|
readonly value: string;
|
|
1081
1159
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1160
|
+
policy: string;
|
|
1161
|
+
object: string;
|
|
1162
|
+
}, {
|
|
1163
|
+
readonly mode: 'value';
|
|
1164
|
+
readonly value: {
|
|
1165
|
+
allowed: boolean;
|
|
1166
|
+
};
|
|
1167
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1082
1168
|
iss: string;
|
|
1083
1169
|
sub: string;
|
|
1084
1170
|
}, {
|
|
@@ -1108,15 +1194,23 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1108
1194
|
}, {
|
|
1109
1195
|
readonly mode: 'value';
|
|
1110
1196
|
readonly value: string;
|
|
1111
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1112
|
-
|
|
1113
|
-
|
|
1197
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1198
|
+
audience?: string | undefined;
|
|
1199
|
+
ttlSeconds: number;
|
|
1200
|
+
grant?: unknown;
|
|
1201
|
+
identity: string;
|
|
1114
1202
|
}, {
|
|
1115
1203
|
readonly mode: 'value';
|
|
1116
|
-
readonly value:
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1204
|
+
readonly value: string;
|
|
1205
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1206
|
+
principal: string;
|
|
1207
|
+
audience: string;
|
|
1208
|
+
ttlSeconds: number;
|
|
1209
|
+
attenuation: unknown;
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly mode: 'value';
|
|
1212
|
+
readonly value: string;
|
|
1213
|
+
}, "authenticated", true, false>>, "delegate", builder.ClassOwnerProjection<"node", {
|
|
1120
1214
|
readonly abstract: true;
|
|
1121
1215
|
readonly depth: 1;
|
|
1122
1216
|
readonly properties: {
|
|
@@ -1219,6 +1313,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1219
1313
|
readonly mode: 'value';
|
|
1220
1314
|
readonly value: string;
|
|
1221
1315
|
}, "authenticated", true, false>>;
|
|
1316
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1317
|
+
audience?: string | undefined;
|
|
1318
|
+
ttlSeconds: number;
|
|
1319
|
+
grant?: unknown;
|
|
1320
|
+
identity: string;
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly mode: 'value';
|
|
1323
|
+
readonly value: string;
|
|
1324
|
+
}, "authorized", true, false>>;
|
|
1222
1325
|
}>;
|
|
1223
1326
|
}, builder.AuthoredPropertyProjection<({
|
|
1224
1327
|
claim: string;
|
|
@@ -1263,14 +1366,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1263
1366
|
})[];
|
|
1264
1367
|
};
|
|
1265
1368
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1266
|
-
policy: string;
|
|
1267
|
-
object: string;
|
|
1268
|
-
}, {
|
|
1269
|
-
readonly mode: 'value';
|
|
1270
|
-
readonly value: {
|
|
1271
|
-
allowed: boolean;
|
|
1272
|
-
};
|
|
1273
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1274
1369
|
principal: string;
|
|
1275
1370
|
audience: string;
|
|
1276
1371
|
ttlSeconds: number;
|
|
@@ -1279,6 +1374,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1279
1374
|
readonly mode: 'value';
|
|
1280
1375
|
readonly value: string;
|
|
1281
1376
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1377
|
+
policy: string;
|
|
1378
|
+
object: string;
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly mode: 'value';
|
|
1381
|
+
readonly value: {
|
|
1382
|
+
allowed: boolean;
|
|
1383
|
+
};
|
|
1384
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1282
1385
|
iss: string;
|
|
1283
1386
|
sub: string;
|
|
1284
1387
|
}, {
|
|
@@ -1308,15 +1411,23 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1308
1411
|
}, {
|
|
1309
1412
|
readonly mode: 'value';
|
|
1310
1413
|
readonly value: string;
|
|
1311
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1312
|
-
|
|
1313
|
-
audience: string;
|
|
1414
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1415
|
+
audience?: string | undefined;
|
|
1314
1416
|
ttlSeconds: number;
|
|
1315
|
-
|
|
1417
|
+
grant?: unknown;
|
|
1418
|
+
identity: string;
|
|
1316
1419
|
}, {
|
|
1317
1420
|
readonly mode: 'value';
|
|
1318
1421
|
readonly value: string;
|
|
1319
|
-
}, "
|
|
1422
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1423
|
+
policy: string;
|
|
1424
|
+
object: string;
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly mode: 'value';
|
|
1427
|
+
readonly value: {
|
|
1428
|
+
allowed: boolean;
|
|
1429
|
+
};
|
|
1430
|
+
}, "authenticated", true, false>>, "can", builder.ClassOwnerProjection<"node", {
|
|
1320
1431
|
readonly abstract: true;
|
|
1321
1432
|
readonly depth: 1;
|
|
1322
1433
|
readonly properties: {
|
|
@@ -1419,6 +1530,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1419
1530
|
readonly mode: 'value';
|
|
1420
1531
|
readonly value: string;
|
|
1421
1532
|
}, "authenticated", true, false>>;
|
|
1533
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1534
|
+
audience?: string | undefined;
|
|
1535
|
+
ttlSeconds: number;
|
|
1536
|
+
grant?: unknown;
|
|
1537
|
+
identity: string;
|
|
1538
|
+
}, {
|
|
1539
|
+
readonly mode: 'value';
|
|
1540
|
+
readonly value: string;
|
|
1541
|
+
}, "authorized", true, false>>;
|
|
1422
1542
|
}>;
|
|
1423
1543
|
}, builder.AuthoredPropertyProjection<({
|
|
1424
1544
|
claim: string;
|
|
@@ -1463,14 +1583,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1463
1583
|
})[];
|
|
1464
1584
|
};
|
|
1465
1585
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1466
|
-
policy: string;
|
|
1467
|
-
object: string;
|
|
1468
|
-
}, {
|
|
1469
|
-
readonly mode: 'value';
|
|
1470
|
-
readonly value: {
|
|
1471
|
-
allowed: boolean;
|
|
1472
|
-
};
|
|
1473
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1474
1586
|
principal: string;
|
|
1475
1587
|
audience: string;
|
|
1476
1588
|
ttlSeconds: number;
|
|
@@ -1479,6 +1591,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1479
1591
|
readonly mode: 'value';
|
|
1480
1592
|
readonly value: string;
|
|
1481
1593
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1594
|
+
policy: string;
|
|
1595
|
+
object: string;
|
|
1596
|
+
}, {
|
|
1597
|
+
readonly mode: 'value';
|
|
1598
|
+
readonly value: {
|
|
1599
|
+
allowed: boolean;
|
|
1600
|
+
};
|
|
1601
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1482
1602
|
iss: string;
|
|
1483
1603
|
sub: string;
|
|
1484
1604
|
}, {
|
|
@@ -1508,7 +1628,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1508
1628
|
}, {
|
|
1509
1629
|
readonly mode: 'value';
|
|
1510
1630
|
readonly value: string;
|
|
1511
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1631
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1632
|
+
audience?: string | undefined;
|
|
1633
|
+
ttlSeconds: number;
|
|
1634
|
+
grant?: unknown;
|
|
1635
|
+
identity: string;
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly mode: 'value';
|
|
1638
|
+
readonly value: string;
|
|
1639
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1512
1640
|
iss: string;
|
|
1513
1641
|
sub: string;
|
|
1514
1642
|
}, {
|
|
@@ -1634,6 +1762,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1634
1762
|
readonly mode: 'value';
|
|
1635
1763
|
readonly value: string;
|
|
1636
1764
|
}, "authenticated", true, false>>;
|
|
1765
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1766
|
+
audience?: string | undefined;
|
|
1767
|
+
ttlSeconds: number;
|
|
1768
|
+
grant?: unknown;
|
|
1769
|
+
identity: string;
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly mode: 'value';
|
|
1772
|
+
readonly value: string;
|
|
1773
|
+
}, "authorized", true, false>>;
|
|
1637
1774
|
}>;
|
|
1638
1775
|
}, builder.AuthoredPropertyProjection<({
|
|
1639
1776
|
claim: string;
|
|
@@ -1678,14 +1815,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1678
1815
|
})[];
|
|
1679
1816
|
};
|
|
1680
1817
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1681
|
-
policy: string;
|
|
1682
|
-
object: string;
|
|
1683
|
-
}, {
|
|
1684
|
-
readonly mode: 'value';
|
|
1685
|
-
readonly value: {
|
|
1686
|
-
allowed: boolean;
|
|
1687
|
-
};
|
|
1688
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1689
1818
|
principal: string;
|
|
1690
1819
|
audience: string;
|
|
1691
1820
|
ttlSeconds: number;
|
|
@@ -1694,6 +1823,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1694
1823
|
readonly mode: 'value';
|
|
1695
1824
|
readonly value: string;
|
|
1696
1825
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1826
|
+
policy: string;
|
|
1827
|
+
object: string;
|
|
1828
|
+
}, {
|
|
1829
|
+
readonly mode: 'value';
|
|
1830
|
+
readonly value: {
|
|
1831
|
+
allowed: boolean;
|
|
1832
|
+
};
|
|
1833
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1697
1834
|
iss: string;
|
|
1698
1835
|
sub: string;
|
|
1699
1836
|
}, {
|
|
@@ -1723,16 +1860,24 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1723
1860
|
}, {
|
|
1724
1861
|
readonly mode: 'value';
|
|
1725
1862
|
readonly value: string;
|
|
1726
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1863
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1727
1864
|
audience?: string | undefined;
|
|
1728
1865
|
ttlSeconds: number;
|
|
1729
1866
|
grant?: unknown;
|
|
1867
|
+
identity: string;
|
|
1730
1868
|
}, {
|
|
1731
1869
|
readonly mode: 'value';
|
|
1732
1870
|
readonly value: string;
|
|
1733
|
-
}, "
|
|
1734
|
-
|
|
1735
|
-
|
|
1871
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1872
|
+
audience?: string | undefined;
|
|
1873
|
+
ttlSeconds: number;
|
|
1874
|
+
grant?: unknown;
|
|
1875
|
+
}, {
|
|
1876
|
+
readonly mode: 'value';
|
|
1877
|
+
readonly value: string;
|
|
1878
|
+
}, "authenticated", true, false>>, "mint", builder.ClassOwnerProjection<"node", {
|
|
1879
|
+
readonly abstract: true;
|
|
1880
|
+
readonly depth: 1;
|
|
1736
1881
|
readonly properties: {
|
|
1737
1882
|
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
1738
1883
|
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
@@ -1833,6 +1978,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1833
1978
|
readonly mode: 'value';
|
|
1834
1979
|
readonly value: string;
|
|
1835
1980
|
}, "authenticated", true, false>>;
|
|
1981
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1982
|
+
audience?: string | undefined;
|
|
1983
|
+
ttlSeconds: number;
|
|
1984
|
+
grant?: unknown;
|
|
1985
|
+
identity: string;
|
|
1986
|
+
}, {
|
|
1987
|
+
readonly mode: 'value';
|
|
1988
|
+
readonly value: string;
|
|
1989
|
+
}, "authorized", true, false>>;
|
|
1836
1990
|
}>;
|
|
1837
1991
|
}, builder.AuthoredPropertyProjection<({
|
|
1838
1992
|
claim: string;
|
|
@@ -1877,6 +2031,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1877
2031
|
})[];
|
|
1878
2032
|
};
|
|
1879
2033
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2034
|
+
principal: string;
|
|
2035
|
+
audience: string;
|
|
2036
|
+
ttlSeconds: number;
|
|
2037
|
+
attenuation: unknown;
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly mode: 'value';
|
|
2040
|
+
readonly value: string;
|
|
2041
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1880
2042
|
policy: string;
|
|
1881
2043
|
object: string;
|
|
1882
2044
|
}, {
|
|
@@ -1885,6 +2047,207 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1885
2047
|
allowed: boolean;
|
|
1886
2048
|
};
|
|
1887
2049
|
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2050
|
+
iss: string;
|
|
2051
|
+
sub: string;
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly mode: 'value';
|
|
2054
|
+
readonly value: {
|
|
2055
|
+
id: string;
|
|
2056
|
+
iss: string;
|
|
2057
|
+
sub: string;
|
|
2058
|
+
frozen: boolean;
|
|
2059
|
+
requiredClaims: ({
|
|
2060
|
+
claim: string;
|
|
2061
|
+
op: "contains";
|
|
2062
|
+
value: unknown;
|
|
2063
|
+
} | {
|
|
2064
|
+
claim: string;
|
|
2065
|
+
op: "eq";
|
|
2066
|
+
value: unknown;
|
|
2067
|
+
} | {
|
|
2068
|
+
claim: string;
|
|
2069
|
+
op: "exists";
|
|
2070
|
+
})[];
|
|
2071
|
+
} | null;
|
|
2072
|
+
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2073
|
+
audience?: string | undefined;
|
|
2074
|
+
ttlSeconds: number;
|
|
2075
|
+
grant?: unknown;
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly mode: 'value';
|
|
2078
|
+
readonly value: string;
|
|
2079
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2080
|
+
audience?: string | undefined;
|
|
2081
|
+
ttlSeconds: number;
|
|
2082
|
+
grant?: unknown;
|
|
2083
|
+
identity: string;
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly mode: 'value';
|
|
2086
|
+
readonly value: string;
|
|
2087
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2088
|
+
audience?: string | undefined;
|
|
2089
|
+
ttlSeconds: number;
|
|
2090
|
+
grant?: unknown;
|
|
2091
|
+
identity: string;
|
|
2092
|
+
}, {
|
|
2093
|
+
readonly mode: 'value';
|
|
2094
|
+
readonly value: string;
|
|
2095
|
+
}, "authorized", true, false>>, "impersonate", builder.ClassOwnerProjection<"node", {
|
|
2096
|
+
readonly abstract: true;
|
|
2097
|
+
readonly depth: 1;
|
|
2098
|
+
readonly properties: {
|
|
2099
|
+
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
2100
|
+
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
2101
|
+
readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
|
|
2102
|
+
readonly requiredClaims: builder.AuthoredPropertyProjection<({
|
|
2103
|
+
claim: string;
|
|
2104
|
+
op: "contains";
|
|
2105
|
+
value: unknown;
|
|
2106
|
+
} | {
|
|
2107
|
+
claim: string;
|
|
2108
|
+
op: "eq";
|
|
2109
|
+
value: unknown;
|
|
2110
|
+
} | {
|
|
2111
|
+
claim: string;
|
|
2112
|
+
op: "exists";
|
|
2113
|
+
})[], ({
|
|
2114
|
+
claim: string;
|
|
2115
|
+
op: "contains";
|
|
2116
|
+
value: unknown;
|
|
2117
|
+
} | {
|
|
2118
|
+
claim: string;
|
|
2119
|
+
op: "eq";
|
|
2120
|
+
value: unknown;
|
|
2121
|
+
} | {
|
|
2122
|
+
claim: string;
|
|
2123
|
+
op: "exists";
|
|
2124
|
+
})[], false, "requiredClaims", "self", never>;
|
|
2125
|
+
};
|
|
2126
|
+
readonly methods: Readonly<{
|
|
2127
|
+
delegate: builder.Method<builder.CallableProjection<{
|
|
2128
|
+
principal: string;
|
|
2129
|
+
audience: string;
|
|
2130
|
+
ttlSeconds: number;
|
|
2131
|
+
attenuation: unknown;
|
|
2132
|
+
}, {
|
|
2133
|
+
readonly mode: 'value';
|
|
2134
|
+
readonly value: string;
|
|
2135
|
+
}, "authenticated", true, false>>;
|
|
2136
|
+
can: builder.Method<builder.CallableProjection<{
|
|
2137
|
+
policy: string;
|
|
2138
|
+
object: string;
|
|
2139
|
+
}, {
|
|
2140
|
+
readonly mode: 'value';
|
|
2141
|
+
readonly value: {
|
|
2142
|
+
allowed: boolean;
|
|
2143
|
+
};
|
|
2144
|
+
}, "authenticated", true, false>>;
|
|
2145
|
+
whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
2146
|
+
readonly mode: 'value';
|
|
2147
|
+
readonly value: {
|
|
2148
|
+
id: string;
|
|
2149
|
+
iss: string;
|
|
2150
|
+
sub: string;
|
|
2151
|
+
frozen: boolean;
|
|
2152
|
+
requiredClaims: ({
|
|
2153
|
+
claim: string;
|
|
2154
|
+
op: "contains";
|
|
2155
|
+
value: unknown;
|
|
2156
|
+
} | {
|
|
2157
|
+
claim: string;
|
|
2158
|
+
op: "eq";
|
|
2159
|
+
value: unknown;
|
|
2160
|
+
} | {
|
|
2161
|
+
claim: string;
|
|
2162
|
+
op: "exists";
|
|
2163
|
+
})[];
|
|
2164
|
+
};
|
|
2165
|
+
}, "authenticated", true, false>>;
|
|
2166
|
+
whois: builder.Method<builder.CallableProjection<{
|
|
2167
|
+
iss: string;
|
|
2168
|
+
sub: string;
|
|
2169
|
+
}, {
|
|
2170
|
+
readonly mode: 'value';
|
|
2171
|
+
readonly value: {
|
|
2172
|
+
id: string;
|
|
2173
|
+
iss: string;
|
|
2174
|
+
sub: string;
|
|
2175
|
+
frozen: boolean;
|
|
2176
|
+
requiredClaims: ({
|
|
2177
|
+
claim: string;
|
|
2178
|
+
op: "contains";
|
|
2179
|
+
value: unknown;
|
|
2180
|
+
} | {
|
|
2181
|
+
claim: string;
|
|
2182
|
+
op: "eq";
|
|
2183
|
+
value: unknown;
|
|
2184
|
+
} | {
|
|
2185
|
+
claim: string;
|
|
2186
|
+
op: "exists";
|
|
2187
|
+
})[];
|
|
2188
|
+
} | null;
|
|
2189
|
+
}, "authorized", true, false>>;
|
|
2190
|
+
mint: builder.Method<builder.CallableProjection<{
|
|
2191
|
+
audience?: string | undefined;
|
|
2192
|
+
ttlSeconds: number;
|
|
2193
|
+
grant?: unknown;
|
|
2194
|
+
}, {
|
|
2195
|
+
readonly mode: 'value';
|
|
2196
|
+
readonly value: string;
|
|
2197
|
+
}, "authenticated", true, false>>;
|
|
2198
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2199
|
+
audience?: string | undefined;
|
|
2200
|
+
ttlSeconds: number;
|
|
2201
|
+
grant?: unknown;
|
|
2202
|
+
identity: string;
|
|
2203
|
+
}, {
|
|
2204
|
+
readonly mode: 'value';
|
|
2205
|
+
readonly value: string;
|
|
2206
|
+
}, "authorized", true, false>>;
|
|
2207
|
+
}>;
|
|
2208
|
+
}, builder.AuthoredPropertyProjection<({
|
|
2209
|
+
claim: string;
|
|
2210
|
+
op: "contains";
|
|
2211
|
+
value: unknown;
|
|
2212
|
+
} | {
|
|
2213
|
+
claim: string;
|
|
2214
|
+
op: "eq";
|
|
2215
|
+
value: unknown;
|
|
2216
|
+
} | {
|
|
2217
|
+
claim: string;
|
|
2218
|
+
op: "exists";
|
|
2219
|
+
})[], ({
|
|
2220
|
+
claim: string;
|
|
2221
|
+
op: "contains";
|
|
2222
|
+
value: unknown;
|
|
2223
|
+
} | {
|
|
2224
|
+
claim: string;
|
|
2225
|
+
op: "eq";
|
|
2226
|
+
value: unknown;
|
|
2227
|
+
} | {
|
|
2228
|
+
claim: string;
|
|
2229
|
+
op: "exists";
|
|
2230
|
+
})[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
2231
|
+
readonly mode: 'value';
|
|
2232
|
+
readonly value: {
|
|
2233
|
+
id: string;
|
|
2234
|
+
iss: string;
|
|
2235
|
+
sub: string;
|
|
2236
|
+
frozen: boolean;
|
|
2237
|
+
requiredClaims: ({
|
|
2238
|
+
claim: string;
|
|
2239
|
+
op: "contains";
|
|
2240
|
+
value: unknown;
|
|
2241
|
+
} | {
|
|
2242
|
+
claim: string;
|
|
2243
|
+
op: "eq";
|
|
2244
|
+
value: unknown;
|
|
2245
|
+
} | {
|
|
2246
|
+
claim: string;
|
|
2247
|
+
op: "exists";
|
|
2248
|
+
})[];
|
|
2249
|
+
};
|
|
2250
|
+
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1888
2251
|
principal: string;
|
|
1889
2252
|
audience: string;
|
|
1890
2253
|
ttlSeconds: number;
|
|
@@ -1893,6 +2256,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1893
2256
|
readonly mode: 'value';
|
|
1894
2257
|
readonly value: string;
|
|
1895
2258
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2259
|
+
policy: string;
|
|
2260
|
+
object: string;
|
|
2261
|
+
}, {
|
|
2262
|
+
readonly mode: 'value';
|
|
2263
|
+
readonly value: {
|
|
2264
|
+
allowed: boolean;
|
|
2265
|
+
};
|
|
2266
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1896
2267
|
iss: string;
|
|
1897
2268
|
sub: string;
|
|
1898
2269
|
}, {
|
|
@@ -1922,7 +2293,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
1922
2293
|
}, {
|
|
1923
2294
|
readonly mode: 'value';
|
|
1924
2295
|
readonly value: string;
|
|
1925
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2296
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2297
|
+
audience?: string | undefined;
|
|
2298
|
+
ttlSeconds: number;
|
|
2299
|
+
grant?: unknown;
|
|
2300
|
+
identity: string;
|
|
2301
|
+
}, {
|
|
2302
|
+
readonly mode: 'value';
|
|
2303
|
+
readonly value: string;
|
|
2304
|
+
}, "authorized", true, false>>, "impersonate", unknown>>>>];
|
|
1926
2305
|
readonly properties: {
|
|
1927
2306
|
readonly origin: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined>;
|
|
1928
2307
|
readonly dependencyContext: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never>;
|
|
@@ -2055,6 +2434,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2055
2434
|
readonly mode: 'value';
|
|
2056
2435
|
readonly value: string;
|
|
2057
2436
|
}, "authenticated", true, false>>;
|
|
2437
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2438
|
+
audience?: string | undefined;
|
|
2439
|
+
ttlSeconds: number;
|
|
2440
|
+
grant?: unknown;
|
|
2441
|
+
identity: string;
|
|
2442
|
+
}, {
|
|
2443
|
+
readonly mode: 'value';
|
|
2444
|
+
readonly value: string;
|
|
2445
|
+
}, "authorized", true, false>>;
|
|
2058
2446
|
}>;
|
|
2059
2447
|
}, builder.AuthoredPropertyProjection<({
|
|
2060
2448
|
claim: string;
|
|
@@ -2099,14 +2487,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2099
2487
|
})[];
|
|
2100
2488
|
};
|
|
2101
2489
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2102
|
-
policy: string;
|
|
2103
|
-
object: string;
|
|
2104
|
-
}, {
|
|
2105
|
-
readonly mode: 'value';
|
|
2106
|
-
readonly value: {
|
|
2107
|
-
allowed: boolean;
|
|
2108
|
-
};
|
|
2109
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2110
2490
|
principal: string;
|
|
2111
2491
|
audience: string;
|
|
2112
2492
|
ttlSeconds: number;
|
|
@@ -2115,6 +2495,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2115
2495
|
readonly mode: 'value';
|
|
2116
2496
|
readonly value: string;
|
|
2117
2497
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2498
|
+
policy: string;
|
|
2499
|
+
object: string;
|
|
2500
|
+
}, {
|
|
2501
|
+
readonly mode: 'value';
|
|
2502
|
+
readonly value: {
|
|
2503
|
+
allowed: boolean;
|
|
2504
|
+
};
|
|
2505
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2118
2506
|
iss: string;
|
|
2119
2507
|
sub: string;
|
|
2120
2508
|
}, {
|
|
@@ -2144,7 +2532,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2144
2532
|
}, {
|
|
2145
2533
|
readonly mode: 'value';
|
|
2146
2534
|
readonly value: string;
|
|
2147
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2535
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2536
|
+
audience?: string | undefined;
|
|
2537
|
+
ttlSeconds: number;
|
|
2538
|
+
grant?: unknown;
|
|
2539
|
+
identity: string;
|
|
2540
|
+
}, {
|
|
2541
|
+
readonly mode: 'value';
|
|
2542
|
+
readonly value: string;
|
|
2543
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
|
|
2148
2544
|
readonly abstract: true;
|
|
2149
2545
|
readonly depth: 1;
|
|
2150
2546
|
readonly properties: {
|
|
@@ -2247,6 +2643,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2247
2643
|
readonly mode: 'value';
|
|
2248
2644
|
readonly value: string;
|
|
2249
2645
|
}, "authenticated", true, false>>;
|
|
2646
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2647
|
+
audience?: string | undefined;
|
|
2648
|
+
ttlSeconds: number;
|
|
2649
|
+
grant?: unknown;
|
|
2650
|
+
identity: string;
|
|
2651
|
+
}, {
|
|
2652
|
+
readonly mode: 'value';
|
|
2653
|
+
readonly value: string;
|
|
2654
|
+
}, "authorized", true, false>>;
|
|
2250
2655
|
}>;
|
|
2251
2656
|
}, builder.AuthoredPropertyProjection<({
|
|
2252
2657
|
claim: string;
|
|
@@ -2291,14 +2696,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2291
2696
|
})[];
|
|
2292
2697
|
};
|
|
2293
2698
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2294
|
-
policy: string;
|
|
2295
|
-
object: string;
|
|
2296
|
-
}, {
|
|
2297
|
-
readonly mode: 'value';
|
|
2298
|
-
readonly value: {
|
|
2299
|
-
allowed: boolean;
|
|
2300
|
-
};
|
|
2301
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2302
2699
|
principal: string;
|
|
2303
2700
|
audience: string;
|
|
2304
2701
|
ttlSeconds: number;
|
|
@@ -2307,6 +2704,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2307
2704
|
readonly mode: 'value';
|
|
2308
2705
|
readonly value: string;
|
|
2309
2706
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2707
|
+
policy: string;
|
|
2708
|
+
object: string;
|
|
2709
|
+
}, {
|
|
2710
|
+
readonly mode: 'value';
|
|
2711
|
+
readonly value: {
|
|
2712
|
+
allowed: boolean;
|
|
2713
|
+
};
|
|
2714
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2310
2715
|
iss: string;
|
|
2311
2716
|
sub: string;
|
|
2312
2717
|
}, {
|
|
@@ -2336,7 +2741,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2336
2741
|
}, {
|
|
2337
2742
|
readonly mode: 'value';
|
|
2338
2743
|
readonly value: string;
|
|
2339
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2744
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2745
|
+
audience?: string | undefined;
|
|
2746
|
+
ttlSeconds: number;
|
|
2747
|
+
grant?: unknown;
|
|
2748
|
+
identity: string;
|
|
2749
|
+
}, {
|
|
2750
|
+
readonly mode: 'value';
|
|
2751
|
+
readonly value: string;
|
|
2752
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
|
|
2340
2753
|
readonly abstract: true;
|
|
2341
2754
|
readonly depth: 1;
|
|
2342
2755
|
readonly properties: {
|
|
@@ -2439,6 +2852,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2439
2852
|
readonly mode: 'value';
|
|
2440
2853
|
readonly value: string;
|
|
2441
2854
|
}, "authenticated", true, false>>;
|
|
2855
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2856
|
+
audience?: string | undefined;
|
|
2857
|
+
ttlSeconds: number;
|
|
2858
|
+
grant?: unknown;
|
|
2859
|
+
identity: string;
|
|
2860
|
+
}, {
|
|
2861
|
+
readonly mode: 'value';
|
|
2862
|
+
readonly value: string;
|
|
2863
|
+
}, "authorized", true, false>>;
|
|
2442
2864
|
}>;
|
|
2443
2865
|
}, builder.AuthoredPropertyProjection<({
|
|
2444
2866
|
claim: string;
|
|
@@ -2483,14 +2905,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2483
2905
|
})[];
|
|
2484
2906
|
};
|
|
2485
2907
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2486
|
-
policy: string;
|
|
2487
|
-
object: string;
|
|
2488
|
-
}, {
|
|
2489
|
-
readonly mode: 'value';
|
|
2490
|
-
readonly value: {
|
|
2491
|
-
allowed: boolean;
|
|
2492
|
-
};
|
|
2493
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2494
2908
|
principal: string;
|
|
2495
2909
|
audience: string;
|
|
2496
2910
|
ttlSeconds: number;
|
|
@@ -2499,6 +2913,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2499
2913
|
readonly mode: 'value';
|
|
2500
2914
|
readonly value: string;
|
|
2501
2915
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2916
|
+
policy: string;
|
|
2917
|
+
object: string;
|
|
2918
|
+
}, {
|
|
2919
|
+
readonly mode: 'value';
|
|
2920
|
+
readonly value: {
|
|
2921
|
+
allowed: boolean;
|
|
2922
|
+
};
|
|
2923
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2502
2924
|
iss: string;
|
|
2503
2925
|
sub: string;
|
|
2504
2926
|
}, {
|
|
@@ -2528,7 +2950,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2528
2950
|
}, {
|
|
2529
2951
|
readonly mode: 'value';
|
|
2530
2952
|
readonly value: string;
|
|
2531
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2953
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2954
|
+
audience?: string | undefined;
|
|
2955
|
+
ttlSeconds: number;
|
|
2956
|
+
grant?: unknown;
|
|
2957
|
+
identity: string;
|
|
2958
|
+
}, {
|
|
2959
|
+
readonly mode: 'value';
|
|
2960
|
+
readonly value: string;
|
|
2961
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
|
|
2532
2962
|
readonly abstract: true;
|
|
2533
2963
|
readonly depth: 1;
|
|
2534
2964
|
readonly properties: {
|
|
@@ -2631,6 +3061,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2631
3061
|
readonly mode: 'value';
|
|
2632
3062
|
readonly value: string;
|
|
2633
3063
|
}, "authenticated", true, false>>;
|
|
3064
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
3065
|
+
audience?: string | undefined;
|
|
3066
|
+
ttlSeconds: number;
|
|
3067
|
+
grant?: unknown;
|
|
3068
|
+
identity: string;
|
|
3069
|
+
}, {
|
|
3070
|
+
readonly mode: 'value';
|
|
3071
|
+
readonly value: string;
|
|
3072
|
+
}, "authorized", true, false>>;
|
|
2634
3073
|
}>;
|
|
2635
3074
|
}, builder.AuthoredPropertyProjection<({
|
|
2636
3075
|
claim: string;
|
|
@@ -2675,14 +3114,6 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2675
3114
|
})[];
|
|
2676
3115
|
};
|
|
2677
3116
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2678
|
-
policy: string;
|
|
2679
|
-
object: string;
|
|
2680
|
-
}, {
|
|
2681
|
-
readonly mode: 'value';
|
|
2682
|
-
readonly value: {
|
|
2683
|
-
allowed: boolean;
|
|
2684
|
-
};
|
|
2685
|
-
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2686
3117
|
principal: string;
|
|
2687
3118
|
audience: string;
|
|
2688
3119
|
ttlSeconds: number;
|
|
@@ -2691,6 +3122,14 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2691
3122
|
readonly mode: 'value';
|
|
2692
3123
|
readonly value: string;
|
|
2693
3124
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3125
|
+
policy: string;
|
|
3126
|
+
object: string;
|
|
3127
|
+
}, {
|
|
3128
|
+
readonly mode: 'value';
|
|
3129
|
+
readonly value: {
|
|
3130
|
+
allowed: boolean;
|
|
3131
|
+
};
|
|
3132
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2694
3133
|
iss: string;
|
|
2695
3134
|
sub: string;
|
|
2696
3135
|
}, {
|
|
@@ -2720,7 +3159,15 @@ export declare const Domain: builder.NodeClass<{
|
|
|
2720
3159
|
}, {
|
|
2721
3160
|
readonly mode: 'value';
|
|
2722
3161
|
readonly value: string;
|
|
2723
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
3162
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3163
|
+
audience?: string | undefined;
|
|
3164
|
+
ttlSeconds: number;
|
|
3165
|
+
grant?: unknown;
|
|
3166
|
+
identity: string;
|
|
3167
|
+
}, {
|
|
3168
|
+
readonly mode: 'value';
|
|
3169
|
+
readonly value: string;
|
|
3170
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schema", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schemaRevision", "self", never>);
|
|
2724
3171
|
readonly abstractInstanceMethods: never;
|
|
2725
3172
|
readonly abstractStaticMethods: never;
|
|
2726
3173
|
readonly effectiveInstanceMethods: never;
|