@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
|
@@ -164,6 +164,15 @@ declare const KernelDefinitions: {
|
|
|
164
164
|
readonly mode: 'value';
|
|
165
165
|
readonly value: string;
|
|
166
166
|
}, "authenticated", true, false>>;
|
|
167
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
168
|
+
audience?: string | undefined;
|
|
169
|
+
ttlSeconds: number;
|
|
170
|
+
grant?: unknown;
|
|
171
|
+
identity: string;
|
|
172
|
+
}, {
|
|
173
|
+
readonly mode: 'value';
|
|
174
|
+
readonly value: string;
|
|
175
|
+
}, "authorized", true, false>>;
|
|
167
176
|
}>;
|
|
168
177
|
readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never> | builder.AuthoredPropertyProjection<({
|
|
169
178
|
claim: string;
|
|
@@ -212,14 +221,6 @@ declare const KernelDefinitions: {
|
|
|
212
221
|
})[];
|
|
213
222
|
};
|
|
214
223
|
}, "authenticated", true, false>>, "whoami", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
215
|
-
principal: string;
|
|
216
|
-
audience: string;
|
|
217
|
-
ttlSeconds: number;
|
|
218
|
-
attenuation: unknown;
|
|
219
|
-
}, {
|
|
220
|
-
readonly mode: 'value';
|
|
221
|
-
readonly value: string;
|
|
222
|
-
}, "authenticated", true, false>>, "delegate", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
223
224
|
iss: string;
|
|
224
225
|
sub: string;
|
|
225
226
|
}, {
|
|
@@ -243,6 +244,14 @@ declare const KernelDefinitions: {
|
|
|
243
244
|
})[];
|
|
244
245
|
} | null;
|
|
245
246
|
}, "authorized", true, false>>, "whois", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
247
|
+
principal: string;
|
|
248
|
+
audience: string;
|
|
249
|
+
ttlSeconds: number;
|
|
250
|
+
attenuation: unknown;
|
|
251
|
+
}, {
|
|
252
|
+
readonly mode: 'value';
|
|
253
|
+
readonly value: string;
|
|
254
|
+
}, "authenticated", true, false>>, "delegate", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
246
255
|
policy: string;
|
|
247
256
|
object: string;
|
|
248
257
|
}, {
|
|
@@ -257,7 +266,15 @@ declare const KernelDefinitions: {
|
|
|
257
266
|
}, {
|
|
258
267
|
readonly mode: 'value';
|
|
259
268
|
readonly value: string;
|
|
260
|
-
}, "authenticated", true, false>>, "mint", "self"
|
|
269
|
+
}, "authenticated", true, false>>, "mint", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
270
|
+
audience?: string | undefined;
|
|
271
|
+
ttlSeconds: number;
|
|
272
|
+
grant?: unknown;
|
|
273
|
+
identity: string;
|
|
274
|
+
}, {
|
|
275
|
+
readonly mode: 'value';
|
|
276
|
+
readonly value: string;
|
|
277
|
+
}, "authorized", true, false>>, "impersonate", "self">;
|
|
261
278
|
}>;
|
|
262
279
|
readonly Named: builder.NodeClass<{
|
|
263
280
|
readonly depth: 1;
|
|
@@ -513,6 +530,15 @@ declare const KernelDefinitions: {
|
|
|
513
530
|
readonly mode: 'value';
|
|
514
531
|
readonly value: string;
|
|
515
532
|
}, "authenticated", true, false>>;
|
|
533
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
534
|
+
audience?: string | undefined;
|
|
535
|
+
ttlSeconds: number;
|
|
536
|
+
grant?: unknown;
|
|
537
|
+
identity: string;
|
|
538
|
+
}, {
|
|
539
|
+
readonly mode: 'value';
|
|
540
|
+
readonly value: string;
|
|
541
|
+
}, "authorized", true, false>>;
|
|
516
542
|
}>;
|
|
517
543
|
}, builder.AuthoredPropertyProjection<({
|
|
518
544
|
claim: string;
|
|
@@ -639,6 +665,15 @@ declare const KernelDefinitions: {
|
|
|
639
665
|
readonly mode: 'value';
|
|
640
666
|
readonly value: string;
|
|
641
667
|
}, "authenticated", true, false>>;
|
|
668
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
669
|
+
audience?: string | undefined;
|
|
670
|
+
ttlSeconds: number;
|
|
671
|
+
grant?: unknown;
|
|
672
|
+
identity: string;
|
|
673
|
+
}, {
|
|
674
|
+
readonly mode: 'value';
|
|
675
|
+
readonly value: string;
|
|
676
|
+
}, "authorized", true, false>>;
|
|
642
677
|
}>;
|
|
643
678
|
}, builder.AuthoredPropertyProjection<({
|
|
644
679
|
claim: string;
|
|
@@ -683,14 +718,6 @@ declare const KernelDefinitions: {
|
|
|
683
718
|
})[];
|
|
684
719
|
};
|
|
685
720
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
686
|
-
principal: string;
|
|
687
|
-
audience: string;
|
|
688
|
-
ttlSeconds: number;
|
|
689
|
-
attenuation: unknown;
|
|
690
|
-
}, {
|
|
691
|
-
readonly mode: 'value';
|
|
692
|
-
readonly value: string;
|
|
693
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
694
721
|
iss: string;
|
|
695
722
|
sub: string;
|
|
696
723
|
}, {
|
|
@@ -714,6 +741,14 @@ declare const KernelDefinitions: {
|
|
|
714
741
|
})[];
|
|
715
742
|
} | null;
|
|
716
743
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
744
|
+
principal: string;
|
|
745
|
+
audience: string;
|
|
746
|
+
ttlSeconds: number;
|
|
747
|
+
attenuation: unknown;
|
|
748
|
+
}, {
|
|
749
|
+
readonly mode: 'value';
|
|
750
|
+
readonly value: string;
|
|
751
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
717
752
|
policy: string;
|
|
718
753
|
object: string;
|
|
719
754
|
}, {
|
|
@@ -728,7 +763,15 @@ declare const KernelDefinitions: {
|
|
|
728
763
|
}, {
|
|
729
764
|
readonly mode: 'value';
|
|
730
765
|
readonly value: string;
|
|
731
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
766
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
767
|
+
audience?: string | undefined;
|
|
768
|
+
ttlSeconds: number;
|
|
769
|
+
grant?: unknown;
|
|
770
|
+
identity: string;
|
|
771
|
+
}, {
|
|
772
|
+
readonly mode: 'value';
|
|
773
|
+
readonly value: string;
|
|
774
|
+
}, "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", {
|
|
732
775
|
readonly abstract: true;
|
|
733
776
|
readonly depth: 1;
|
|
734
777
|
readonly properties: {
|
|
@@ -831,6 +874,15 @@ declare const KernelDefinitions: {
|
|
|
831
874
|
readonly mode: 'value';
|
|
832
875
|
readonly value: string;
|
|
833
876
|
}, "authenticated", true, false>>;
|
|
877
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
878
|
+
audience?: string | undefined;
|
|
879
|
+
ttlSeconds: number;
|
|
880
|
+
grant?: unknown;
|
|
881
|
+
identity: string;
|
|
882
|
+
}, {
|
|
883
|
+
readonly mode: 'value';
|
|
884
|
+
readonly value: string;
|
|
885
|
+
}, "authorized", true, false>>;
|
|
834
886
|
}>;
|
|
835
887
|
}, builder.AuthoredPropertyProjection<({
|
|
836
888
|
claim: string;
|
|
@@ -875,14 +927,6 @@ declare const KernelDefinitions: {
|
|
|
875
927
|
})[];
|
|
876
928
|
};
|
|
877
929
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
878
|
-
principal: string;
|
|
879
|
-
audience: string;
|
|
880
|
-
ttlSeconds: number;
|
|
881
|
-
attenuation: unknown;
|
|
882
|
-
}, {
|
|
883
|
-
readonly mode: 'value';
|
|
884
|
-
readonly value: string;
|
|
885
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
886
930
|
iss: string;
|
|
887
931
|
sub: string;
|
|
888
932
|
}, {
|
|
@@ -906,6 +950,14 @@ declare const KernelDefinitions: {
|
|
|
906
950
|
})[];
|
|
907
951
|
} | null;
|
|
908
952
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
953
|
+
principal: string;
|
|
954
|
+
audience: string;
|
|
955
|
+
ttlSeconds: number;
|
|
956
|
+
attenuation: unknown;
|
|
957
|
+
}, {
|
|
958
|
+
readonly mode: 'value';
|
|
959
|
+
readonly value: string;
|
|
960
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
909
961
|
policy: string;
|
|
910
962
|
object: string;
|
|
911
963
|
}, {
|
|
@@ -920,7 +972,15 @@ declare const KernelDefinitions: {
|
|
|
920
972
|
}, {
|
|
921
973
|
readonly mode: 'value';
|
|
922
974
|
readonly value: string;
|
|
923
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
975
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
976
|
+
audience?: string | undefined;
|
|
977
|
+
ttlSeconds: number;
|
|
978
|
+
grant?: unknown;
|
|
979
|
+
identity: string;
|
|
980
|
+
}, {
|
|
981
|
+
readonly mode: 'value';
|
|
982
|
+
readonly value: string;
|
|
983
|
+
}, "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", {
|
|
924
984
|
readonly abstract: true;
|
|
925
985
|
readonly depth: 1;
|
|
926
986
|
readonly properties: {
|
|
@@ -1023,6 +1083,15 @@ declare const KernelDefinitions: {
|
|
|
1023
1083
|
readonly mode: 'value';
|
|
1024
1084
|
readonly value: string;
|
|
1025
1085
|
}, "authenticated", true, false>>;
|
|
1086
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1087
|
+
audience?: string | undefined;
|
|
1088
|
+
ttlSeconds: number;
|
|
1089
|
+
grant?: unknown;
|
|
1090
|
+
identity: string;
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly mode: 'value';
|
|
1093
|
+
readonly value: string;
|
|
1094
|
+
}, "authorized", true, false>>;
|
|
1026
1095
|
}>;
|
|
1027
1096
|
}, builder.AuthoredPropertyProjection<({
|
|
1028
1097
|
claim: string;
|
|
@@ -1067,14 +1136,6 @@ declare const KernelDefinitions: {
|
|
|
1067
1136
|
})[];
|
|
1068
1137
|
};
|
|
1069
1138
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1070
|
-
principal: string;
|
|
1071
|
-
audience: string;
|
|
1072
|
-
ttlSeconds: number;
|
|
1073
|
-
attenuation: unknown;
|
|
1074
|
-
}, {
|
|
1075
|
-
readonly mode: 'value';
|
|
1076
|
-
readonly value: string;
|
|
1077
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1078
1139
|
iss: string;
|
|
1079
1140
|
sub: string;
|
|
1080
1141
|
}, {
|
|
@@ -1098,6 +1159,14 @@ declare const KernelDefinitions: {
|
|
|
1098
1159
|
})[];
|
|
1099
1160
|
} | null;
|
|
1100
1161
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1162
|
+
principal: string;
|
|
1163
|
+
audience: string;
|
|
1164
|
+
ttlSeconds: number;
|
|
1165
|
+
attenuation: unknown;
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly mode: 'value';
|
|
1168
|
+
readonly value: string;
|
|
1169
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1101
1170
|
policy: string;
|
|
1102
1171
|
object: string;
|
|
1103
1172
|
}, {
|
|
@@ -1112,7 +1181,15 @@ declare const KernelDefinitions: {
|
|
|
1112
1181
|
}, {
|
|
1113
1182
|
readonly mode: 'value';
|
|
1114
1183
|
readonly value: string;
|
|
1115
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1184
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1185
|
+
audience?: string | undefined;
|
|
1186
|
+
ttlSeconds: number;
|
|
1187
|
+
grant?: unknown;
|
|
1188
|
+
identity: string;
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly mode: 'value';
|
|
1191
|
+
readonly value: string;
|
|
1192
|
+
}, "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", {
|
|
1116
1193
|
readonly abstract: true;
|
|
1117
1194
|
readonly depth: 1;
|
|
1118
1195
|
readonly properties: {
|
|
@@ -1215,6 +1292,15 @@ declare const KernelDefinitions: {
|
|
|
1215
1292
|
readonly mode: 'value';
|
|
1216
1293
|
readonly value: string;
|
|
1217
1294
|
}, "authenticated", true, false>>;
|
|
1295
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1296
|
+
audience?: string | undefined;
|
|
1297
|
+
ttlSeconds: number;
|
|
1298
|
+
grant?: unknown;
|
|
1299
|
+
identity: string;
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly mode: 'value';
|
|
1302
|
+
readonly value: string;
|
|
1303
|
+
}, "authorized", true, false>>;
|
|
1218
1304
|
}>;
|
|
1219
1305
|
}, builder.AuthoredPropertyProjection<({
|
|
1220
1306
|
claim: string;
|
|
@@ -1259,14 +1345,6 @@ declare const KernelDefinitions: {
|
|
|
1259
1345
|
})[];
|
|
1260
1346
|
};
|
|
1261
1347
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1262
|
-
principal: string;
|
|
1263
|
-
audience: string;
|
|
1264
|
-
ttlSeconds: number;
|
|
1265
|
-
attenuation: unknown;
|
|
1266
|
-
}, {
|
|
1267
|
-
readonly mode: 'value';
|
|
1268
|
-
readonly value: string;
|
|
1269
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1270
1348
|
iss: string;
|
|
1271
1349
|
sub: string;
|
|
1272
1350
|
}, {
|
|
@@ -1290,6 +1368,14 @@ declare const KernelDefinitions: {
|
|
|
1290
1368
|
})[];
|
|
1291
1369
|
} | null;
|
|
1292
1370
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1371
|
+
principal: string;
|
|
1372
|
+
audience: string;
|
|
1373
|
+
ttlSeconds: number;
|
|
1374
|
+
attenuation: unknown;
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly mode: 'value';
|
|
1377
|
+
readonly value: string;
|
|
1378
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1293
1379
|
policy: string;
|
|
1294
1380
|
object: string;
|
|
1295
1381
|
}, {
|
|
@@ -1304,7 +1390,15 @@ declare const KernelDefinitions: {
|
|
|
1304
1390
|
}, {
|
|
1305
1391
|
readonly mode: 'value';
|
|
1306
1392
|
readonly value: string;
|
|
1307
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1393
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1394
|
+
audience?: string | undefined;
|
|
1395
|
+
ttlSeconds: number;
|
|
1396
|
+
grant?: unknown;
|
|
1397
|
+
identity: string;
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly mode: 'value';
|
|
1400
|
+
readonly value: string;
|
|
1401
|
+
}, "authorized", true, false>>, "impersonate", unknown>>, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
1308
1402
|
readonly mode: 'value';
|
|
1309
1403
|
readonly value: {
|
|
1310
1404
|
id: string;
|
|
@@ -1427,6 +1521,15 @@ declare const KernelDefinitions: {
|
|
|
1427
1521
|
readonly mode: 'value';
|
|
1428
1522
|
readonly value: string;
|
|
1429
1523
|
}, "authenticated", true, false>>;
|
|
1524
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1525
|
+
audience?: string | undefined;
|
|
1526
|
+
ttlSeconds: number;
|
|
1527
|
+
grant?: unknown;
|
|
1528
|
+
identity: string;
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly mode: 'value';
|
|
1531
|
+
readonly value: string;
|
|
1532
|
+
}, "authorized", true, false>>;
|
|
1430
1533
|
}>;
|
|
1431
1534
|
}, builder.AuthoredPropertyProjection<({
|
|
1432
1535
|
claim: string;
|
|
@@ -1471,14 +1574,6 @@ declare const KernelDefinitions: {
|
|
|
1471
1574
|
})[];
|
|
1472
1575
|
};
|
|
1473
1576
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1474
|
-
principal: string;
|
|
1475
|
-
audience: string;
|
|
1476
|
-
ttlSeconds: number;
|
|
1477
|
-
attenuation: unknown;
|
|
1478
|
-
}, {
|
|
1479
|
-
readonly mode: 'value';
|
|
1480
|
-
readonly value: string;
|
|
1481
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1482
1577
|
iss: string;
|
|
1483
1578
|
sub: string;
|
|
1484
1579
|
}, {
|
|
@@ -1502,6 +1597,14 @@ declare const KernelDefinitions: {
|
|
|
1502
1597
|
})[];
|
|
1503
1598
|
} | null;
|
|
1504
1599
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1600
|
+
principal: string;
|
|
1601
|
+
audience: string;
|
|
1602
|
+
ttlSeconds: number;
|
|
1603
|
+
attenuation: unknown;
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly mode: 'value';
|
|
1606
|
+
readonly value: string;
|
|
1607
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1505
1608
|
policy: string;
|
|
1506
1609
|
object: string;
|
|
1507
1610
|
}, {
|
|
@@ -1516,15 +1619,38 @@ declare const KernelDefinitions: {
|
|
|
1516
1619
|
}, {
|
|
1517
1620
|
readonly mode: 'value';
|
|
1518
1621
|
readonly value: string;
|
|
1519
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1520
|
-
|
|
1521
|
-
audience: string;
|
|
1622
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1623
|
+
audience?: string | undefined;
|
|
1522
1624
|
ttlSeconds: number;
|
|
1523
|
-
|
|
1625
|
+
grant?: unknown;
|
|
1626
|
+
identity: string;
|
|
1524
1627
|
}, {
|
|
1525
1628
|
readonly mode: 'value';
|
|
1526
1629
|
readonly value: string;
|
|
1527
|
-
}, "
|
|
1630
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1631
|
+
iss: string;
|
|
1632
|
+
sub: string;
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly mode: 'value';
|
|
1635
|
+
readonly value: {
|
|
1636
|
+
id: string;
|
|
1637
|
+
iss: string;
|
|
1638
|
+
sub: string;
|
|
1639
|
+
frozen: boolean;
|
|
1640
|
+
requiredClaims: ({
|
|
1641
|
+
claim: string;
|
|
1642
|
+
op: "contains";
|
|
1643
|
+
value: unknown;
|
|
1644
|
+
} | {
|
|
1645
|
+
claim: string;
|
|
1646
|
+
op: "eq";
|
|
1647
|
+
value: unknown;
|
|
1648
|
+
} | {
|
|
1649
|
+
claim: string;
|
|
1650
|
+
op: "exists";
|
|
1651
|
+
})[];
|
|
1652
|
+
} | null;
|
|
1653
|
+
}, "authorized", true, false>>, "whois", builder.ClassOwnerProjection<"node", {
|
|
1528
1654
|
readonly abstract: true;
|
|
1529
1655
|
readonly depth: 1;
|
|
1530
1656
|
readonly properties: {
|
|
@@ -1627,6 +1753,15 @@ declare const KernelDefinitions: {
|
|
|
1627
1753
|
readonly mode: 'value';
|
|
1628
1754
|
readonly value: string;
|
|
1629
1755
|
}, "authenticated", true, false>>;
|
|
1756
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1757
|
+
audience?: string | undefined;
|
|
1758
|
+
ttlSeconds: number;
|
|
1759
|
+
grant?: unknown;
|
|
1760
|
+
identity: string;
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly mode: 'value';
|
|
1763
|
+
readonly value: string;
|
|
1764
|
+
}, "authorized", true, false>>;
|
|
1630
1765
|
}>;
|
|
1631
1766
|
}, builder.AuthoredPropertyProjection<({
|
|
1632
1767
|
claim: string;
|
|
@@ -1671,14 +1806,6 @@ declare const KernelDefinitions: {
|
|
|
1671
1806
|
})[];
|
|
1672
1807
|
};
|
|
1673
1808
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1674
|
-
principal: string;
|
|
1675
|
-
audience: string;
|
|
1676
|
-
ttlSeconds: number;
|
|
1677
|
-
attenuation: unknown;
|
|
1678
|
-
}, {
|
|
1679
|
-
readonly mode: 'value';
|
|
1680
|
-
readonly value: string;
|
|
1681
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1682
1809
|
iss: string;
|
|
1683
1810
|
sub: string;
|
|
1684
1811
|
}, {
|
|
@@ -1702,6 +1829,14 @@ declare const KernelDefinitions: {
|
|
|
1702
1829
|
})[];
|
|
1703
1830
|
} | null;
|
|
1704
1831
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1832
|
+
principal: string;
|
|
1833
|
+
audience: string;
|
|
1834
|
+
ttlSeconds: number;
|
|
1835
|
+
attenuation: unknown;
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly mode: 'value';
|
|
1838
|
+
readonly value: string;
|
|
1839
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1705
1840
|
policy: string;
|
|
1706
1841
|
object: string;
|
|
1707
1842
|
}, {
|
|
@@ -1716,37 +1851,30 @@ declare const KernelDefinitions: {
|
|
|
1716
1851
|
}, {
|
|
1717
1852
|
readonly mode: 'value';
|
|
1718
1853
|
readonly value: string;
|
|
1719
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
1720
|
-
|
|
1721
|
-
|
|
1854
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1855
|
+
audience?: string | undefined;
|
|
1856
|
+
ttlSeconds: number;
|
|
1857
|
+
grant?: unknown;
|
|
1858
|
+
identity: string;
|
|
1722
1859
|
}, {
|
|
1723
1860
|
readonly mode: 'value';
|
|
1724
|
-
readonly value:
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
} | null;
|
|
1742
|
-
}, "authorized", true, false>>, "whois", builder.ClassOwnerProjection<"node", {
|
|
1743
|
-
readonly abstract: true;
|
|
1744
|
-
readonly depth: 1;
|
|
1745
|
-
readonly properties: {
|
|
1746
|
-
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
1747
|
-
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
1748
|
-
readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
|
|
1749
|
-
readonly requiredClaims: builder.AuthoredPropertyProjection<({
|
|
1861
|
+
readonly value: string;
|
|
1862
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1863
|
+
principal: string;
|
|
1864
|
+
audience: string;
|
|
1865
|
+
ttlSeconds: number;
|
|
1866
|
+
attenuation: unknown;
|
|
1867
|
+
}, {
|
|
1868
|
+
readonly mode: 'value';
|
|
1869
|
+
readonly value: string;
|
|
1870
|
+
}, "authenticated", true, false>>, "delegate", builder.ClassOwnerProjection<"node", {
|
|
1871
|
+
readonly abstract: true;
|
|
1872
|
+
readonly depth: 1;
|
|
1873
|
+
readonly properties: {
|
|
1874
|
+
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
1875
|
+
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
1876
|
+
readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
|
|
1877
|
+
readonly requiredClaims: builder.AuthoredPropertyProjection<({
|
|
1750
1878
|
claim: string;
|
|
1751
1879
|
op: "contains";
|
|
1752
1880
|
value: unknown;
|
|
@@ -1842,6 +1970,15 @@ declare const KernelDefinitions: {
|
|
|
1842
1970
|
readonly mode: 'value';
|
|
1843
1971
|
readonly value: string;
|
|
1844
1972
|
}, "authenticated", true, false>>;
|
|
1973
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
1974
|
+
audience?: string | undefined;
|
|
1975
|
+
ttlSeconds: number;
|
|
1976
|
+
grant?: unknown;
|
|
1977
|
+
identity: string;
|
|
1978
|
+
}, {
|
|
1979
|
+
readonly mode: 'value';
|
|
1980
|
+
readonly value: string;
|
|
1981
|
+
}, "authorized", true, false>>;
|
|
1845
1982
|
}>;
|
|
1846
1983
|
}, builder.AuthoredPropertyProjection<({
|
|
1847
1984
|
claim: string;
|
|
@@ -1886,14 +2023,6 @@ declare const KernelDefinitions: {
|
|
|
1886
2023
|
})[];
|
|
1887
2024
|
};
|
|
1888
2025
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1889
|
-
principal: string;
|
|
1890
|
-
audience: string;
|
|
1891
|
-
ttlSeconds: number;
|
|
1892
|
-
attenuation: unknown;
|
|
1893
|
-
}, {
|
|
1894
|
-
readonly mode: 'value';
|
|
1895
|
-
readonly value: string;
|
|
1896
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1897
2026
|
iss: string;
|
|
1898
2027
|
sub: string;
|
|
1899
2028
|
}, {
|
|
@@ -1917,6 +2046,14 @@ declare const KernelDefinitions: {
|
|
|
1917
2046
|
})[];
|
|
1918
2047
|
} | null;
|
|
1919
2048
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2049
|
+
principal: string;
|
|
2050
|
+
audience: string;
|
|
2051
|
+
ttlSeconds: number;
|
|
2052
|
+
attenuation: unknown;
|
|
2053
|
+
}, {
|
|
2054
|
+
readonly mode: 'value';
|
|
2055
|
+
readonly value: string;
|
|
2056
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1920
2057
|
policy: string;
|
|
1921
2058
|
object: string;
|
|
1922
2059
|
}, {
|
|
@@ -1931,7 +2068,15 @@ declare const KernelDefinitions: {
|
|
|
1931
2068
|
}, {
|
|
1932
2069
|
readonly mode: 'value';
|
|
1933
2070
|
readonly value: string;
|
|
1934
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2071
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2072
|
+
audience?: string | undefined;
|
|
2073
|
+
ttlSeconds: number;
|
|
2074
|
+
grant?: unknown;
|
|
2075
|
+
identity: string;
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly mode: 'value';
|
|
2078
|
+
readonly value: string;
|
|
2079
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
1935
2080
|
policy: string;
|
|
1936
2081
|
object: string;
|
|
1937
2082
|
}, {
|
|
@@ -2042,6 +2187,15 @@ declare const KernelDefinitions: {
|
|
|
2042
2187
|
readonly mode: 'value';
|
|
2043
2188
|
readonly value: string;
|
|
2044
2189
|
}, "authenticated", true, false>>;
|
|
2190
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2191
|
+
audience?: string | undefined;
|
|
2192
|
+
ttlSeconds: number;
|
|
2193
|
+
grant?: unknown;
|
|
2194
|
+
identity: string;
|
|
2195
|
+
}, {
|
|
2196
|
+
readonly mode: 'value';
|
|
2197
|
+
readonly value: string;
|
|
2198
|
+
}, "authorized", true, false>>;
|
|
2045
2199
|
}>;
|
|
2046
2200
|
}, builder.AuthoredPropertyProjection<({
|
|
2047
2201
|
claim: string;
|
|
@@ -2086,14 +2240,6 @@ declare const KernelDefinitions: {
|
|
|
2086
2240
|
})[];
|
|
2087
2241
|
};
|
|
2088
2242
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2089
|
-
principal: string;
|
|
2090
|
-
audience: string;
|
|
2091
|
-
ttlSeconds: number;
|
|
2092
|
-
attenuation: unknown;
|
|
2093
|
-
}, {
|
|
2094
|
-
readonly mode: 'value';
|
|
2095
|
-
readonly value: string;
|
|
2096
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2097
2243
|
iss: string;
|
|
2098
2244
|
sub: string;
|
|
2099
2245
|
}, {
|
|
@@ -2117,6 +2263,14 @@ declare const KernelDefinitions: {
|
|
|
2117
2263
|
})[];
|
|
2118
2264
|
} | null;
|
|
2119
2265
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2266
|
+
principal: string;
|
|
2267
|
+
audience: string;
|
|
2268
|
+
ttlSeconds: number;
|
|
2269
|
+
attenuation: unknown;
|
|
2270
|
+
}, {
|
|
2271
|
+
readonly mode: 'value';
|
|
2272
|
+
readonly value: string;
|
|
2273
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2120
2274
|
policy: string;
|
|
2121
2275
|
object: string;
|
|
2122
2276
|
}, {
|
|
@@ -2131,7 +2285,15 @@ declare const KernelDefinitions: {
|
|
|
2131
2285
|
}, {
|
|
2132
2286
|
readonly mode: 'value';
|
|
2133
2287
|
readonly value: string;
|
|
2134
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2288
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2289
|
+
audience?: string | undefined;
|
|
2290
|
+
ttlSeconds: number;
|
|
2291
|
+
grant?: unknown;
|
|
2292
|
+
identity: string;
|
|
2293
|
+
}, {
|
|
2294
|
+
readonly mode: 'value';
|
|
2295
|
+
readonly value: string;
|
|
2296
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2135
2297
|
audience?: string | undefined;
|
|
2136
2298
|
ttlSeconds: number;
|
|
2137
2299
|
grant?: unknown;
|
|
@@ -2241,6 +2403,15 @@ declare const KernelDefinitions: {
|
|
|
2241
2403
|
readonly mode: 'value';
|
|
2242
2404
|
readonly value: string;
|
|
2243
2405
|
}, "authenticated", true, false>>;
|
|
2406
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2407
|
+
audience?: string | undefined;
|
|
2408
|
+
ttlSeconds: number;
|
|
2409
|
+
grant?: unknown;
|
|
2410
|
+
identity: string;
|
|
2411
|
+
}, {
|
|
2412
|
+
readonly mode: 'value';
|
|
2413
|
+
readonly value: string;
|
|
2414
|
+
}, "authorized", true, false>>;
|
|
2244
2415
|
}>;
|
|
2245
2416
|
}, builder.AuthoredPropertyProjection<({
|
|
2246
2417
|
claim: string;
|
|
@@ -2285,14 +2456,6 @@ declare const KernelDefinitions: {
|
|
|
2285
2456
|
})[];
|
|
2286
2457
|
};
|
|
2287
2458
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2288
|
-
principal: string;
|
|
2289
|
-
audience: string;
|
|
2290
|
-
ttlSeconds: number;
|
|
2291
|
-
attenuation: unknown;
|
|
2292
|
-
}, {
|
|
2293
|
-
readonly mode: 'value';
|
|
2294
|
-
readonly value: string;
|
|
2295
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2296
2459
|
iss: string;
|
|
2297
2460
|
sub: string;
|
|
2298
2461
|
}, {
|
|
@@ -2316,6 +2479,14 @@ declare const KernelDefinitions: {
|
|
|
2316
2479
|
})[];
|
|
2317
2480
|
} | null;
|
|
2318
2481
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2482
|
+
principal: string;
|
|
2483
|
+
audience: string;
|
|
2484
|
+
ttlSeconds: number;
|
|
2485
|
+
attenuation: unknown;
|
|
2486
|
+
}, {
|
|
2487
|
+
readonly mode: 'value';
|
|
2488
|
+
readonly value: string;
|
|
2489
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2319
2490
|
policy: string;
|
|
2320
2491
|
object: string;
|
|
2321
2492
|
}, {
|
|
@@ -2330,37 +2501,23 @@ declare const KernelDefinitions: {
|
|
|
2330
2501
|
}, {
|
|
2331
2502
|
readonly mode: 'value';
|
|
2332
2503
|
readonly value: string;
|
|
2333
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
value:
|
|
2349
|
-
}
|
|
2350
|
-
claim: string;
|
|
2351
|
-
op: "exists";
|
|
2352
|
-
})[], ({
|
|
2353
|
-
claim: string;
|
|
2354
|
-
op: "contains";
|
|
2355
|
-
value: unknown;
|
|
2356
|
-
} | {
|
|
2357
|
-
claim: string;
|
|
2358
|
-
op: "eq";
|
|
2359
|
-
value: unknown;
|
|
2360
|
-
} | {
|
|
2361
|
-
claim: string;
|
|
2362
|
-
op: "exists";
|
|
2363
|
-
})[], false, "requiredClaims", builder.ClassOwnerProjection<"node", {
|
|
2504
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2505
|
+
audience?: string | undefined;
|
|
2506
|
+
ttlSeconds: number;
|
|
2507
|
+
grant?: unknown;
|
|
2508
|
+
identity: string;
|
|
2509
|
+
}, {
|
|
2510
|
+
readonly mode: 'value';
|
|
2511
|
+
readonly value: string;
|
|
2512
|
+
}, "authorized", true, false>>, "impersonate", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2513
|
+
audience?: string | undefined;
|
|
2514
|
+
ttlSeconds: number;
|
|
2515
|
+
grant?: unknown;
|
|
2516
|
+
identity: string;
|
|
2517
|
+
}, {
|
|
2518
|
+
readonly mode: 'value';
|
|
2519
|
+
readonly value: string;
|
|
2520
|
+
}, "authorized", true, false>>, "impersonate", builder.ClassOwnerProjection<"node", {
|
|
2364
2521
|
readonly abstract: true;
|
|
2365
2522
|
readonly depth: 1;
|
|
2366
2523
|
readonly properties: {
|
|
@@ -2463,6 +2620,15 @@ declare const KernelDefinitions: {
|
|
|
2463
2620
|
readonly mode: 'value';
|
|
2464
2621
|
readonly value: string;
|
|
2465
2622
|
}, "authenticated", true, false>>;
|
|
2623
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2624
|
+
audience?: string | undefined;
|
|
2625
|
+
ttlSeconds: number;
|
|
2626
|
+
grant?: unknown;
|
|
2627
|
+
identity: string;
|
|
2628
|
+
}, {
|
|
2629
|
+
readonly mode: 'value';
|
|
2630
|
+
readonly value: string;
|
|
2631
|
+
}, "authorized", true, false>>;
|
|
2466
2632
|
}>;
|
|
2467
2633
|
}, builder.AuthoredPropertyProjection<({
|
|
2468
2634
|
claim: string;
|
|
@@ -2507,14 +2673,6 @@ declare const KernelDefinitions: {
|
|
|
2507
2673
|
})[];
|
|
2508
2674
|
};
|
|
2509
2675
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2510
|
-
principal: string;
|
|
2511
|
-
audience: string;
|
|
2512
|
-
ttlSeconds: number;
|
|
2513
|
-
attenuation: unknown;
|
|
2514
|
-
}, {
|
|
2515
|
-
readonly mode: 'value';
|
|
2516
|
-
readonly value: string;
|
|
2517
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2518
2676
|
iss: string;
|
|
2519
2677
|
sub: string;
|
|
2520
2678
|
}, {
|
|
@@ -2538,6 +2696,14 @@ declare const KernelDefinitions: {
|
|
|
2538
2696
|
})[];
|
|
2539
2697
|
} | null;
|
|
2540
2698
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2699
|
+
principal: string;
|
|
2700
|
+
audience: string;
|
|
2701
|
+
ttlSeconds: number;
|
|
2702
|
+
attenuation: unknown;
|
|
2703
|
+
}, {
|
|
2704
|
+
readonly mode: 'value';
|
|
2705
|
+
readonly value: string;
|
|
2706
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2541
2707
|
policy: string;
|
|
2542
2708
|
object: string;
|
|
2543
2709
|
}, {
|
|
@@ -2552,7 +2718,45 @@ declare const KernelDefinitions: {
|
|
|
2552
2718
|
}, {
|
|
2553
2719
|
readonly mode: 'value';
|
|
2554
2720
|
readonly value: string;
|
|
2555
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2721
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2722
|
+
audience?: string | undefined;
|
|
2723
|
+
ttlSeconds: number;
|
|
2724
|
+
grant?: unknown;
|
|
2725
|
+
identity: string;
|
|
2726
|
+
}, {
|
|
2727
|
+
readonly mode: 'value';
|
|
2728
|
+
readonly value: string;
|
|
2729
|
+
}, "authorized", true, false>>, "impersonate", unknown>>>>];
|
|
2730
|
+
readonly properties: {
|
|
2731
|
+
readonly origin: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined>;
|
|
2732
|
+
readonly dependencyContext: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never>;
|
|
2733
|
+
readonly schema: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schema", "self", never>;
|
|
2734
|
+
readonly schemaRevision: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schemaRevision", "self", never>;
|
|
2735
|
+
};
|
|
2736
|
+
readonly methods: Readonly<Record<never, never>>;
|
|
2737
|
+
readonly effectiveProperties: builder.AuthoredPropertyProjection<({
|
|
2738
|
+
claim: string;
|
|
2739
|
+
op: "contains";
|
|
2740
|
+
value: unknown;
|
|
2741
|
+
} | {
|
|
2742
|
+
claim: string;
|
|
2743
|
+
op: "eq";
|
|
2744
|
+
value: unknown;
|
|
2745
|
+
} | {
|
|
2746
|
+
claim: string;
|
|
2747
|
+
op: "exists";
|
|
2748
|
+
})[], ({
|
|
2749
|
+
claim: string;
|
|
2750
|
+
op: "contains";
|
|
2751
|
+
value: unknown;
|
|
2752
|
+
} | {
|
|
2753
|
+
claim: string;
|
|
2754
|
+
op: "eq";
|
|
2755
|
+
value: unknown;
|
|
2756
|
+
} | {
|
|
2757
|
+
claim: string;
|
|
2758
|
+
op: "exists";
|
|
2759
|
+
})[], false, "requiredClaims", builder.ClassOwnerProjection<"node", {
|
|
2556
2760
|
readonly abstract: true;
|
|
2557
2761
|
readonly depth: 1;
|
|
2558
2762
|
readonly properties: {
|
|
@@ -2655,6 +2859,15 @@ declare const KernelDefinitions: {
|
|
|
2655
2859
|
readonly mode: 'value';
|
|
2656
2860
|
readonly value: string;
|
|
2657
2861
|
}, "authenticated", true, false>>;
|
|
2862
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
2863
|
+
audience?: string | undefined;
|
|
2864
|
+
ttlSeconds: number;
|
|
2865
|
+
grant?: unknown;
|
|
2866
|
+
identity: string;
|
|
2867
|
+
}, {
|
|
2868
|
+
readonly mode: 'value';
|
|
2869
|
+
readonly value: string;
|
|
2870
|
+
}, "authorized", true, false>>;
|
|
2658
2871
|
}>;
|
|
2659
2872
|
}, builder.AuthoredPropertyProjection<({
|
|
2660
2873
|
claim: string;
|
|
@@ -2699,14 +2912,6 @@ declare const KernelDefinitions: {
|
|
|
2699
2912
|
})[];
|
|
2700
2913
|
};
|
|
2701
2914
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2702
|
-
principal: string;
|
|
2703
|
-
audience: string;
|
|
2704
|
-
ttlSeconds: number;
|
|
2705
|
-
attenuation: unknown;
|
|
2706
|
-
}, {
|
|
2707
|
-
readonly mode: 'value';
|
|
2708
|
-
readonly value: string;
|
|
2709
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2710
2915
|
iss: string;
|
|
2711
2916
|
sub: string;
|
|
2712
2917
|
}, {
|
|
@@ -2730,6 +2935,14 @@ declare const KernelDefinitions: {
|
|
|
2730
2935
|
})[];
|
|
2731
2936
|
} | null;
|
|
2732
2937
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2938
|
+
principal: string;
|
|
2939
|
+
audience: string;
|
|
2940
|
+
ttlSeconds: number;
|
|
2941
|
+
attenuation: unknown;
|
|
2942
|
+
}, {
|
|
2943
|
+
readonly mode: 'value';
|
|
2944
|
+
readonly value: string;
|
|
2945
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2733
2946
|
policy: string;
|
|
2734
2947
|
object: string;
|
|
2735
2948
|
}, {
|
|
@@ -2744,7 +2957,15 @@ declare const KernelDefinitions: {
|
|
|
2744
2957
|
}, {
|
|
2745
2958
|
readonly mode: 'value';
|
|
2746
2959
|
readonly value: string;
|
|
2747
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2960
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2961
|
+
audience?: string | undefined;
|
|
2962
|
+
ttlSeconds: number;
|
|
2963
|
+
grant?: unknown;
|
|
2964
|
+
identity: string;
|
|
2965
|
+
}, {
|
|
2966
|
+
readonly mode: 'value';
|
|
2967
|
+
readonly value: string;
|
|
2968
|
+
}, "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", {
|
|
2748
2969
|
readonly abstract: true;
|
|
2749
2970
|
readonly depth: 1;
|
|
2750
2971
|
readonly properties: {
|
|
@@ -2847,6 +3068,15 @@ declare const KernelDefinitions: {
|
|
|
2847
3068
|
readonly mode: 'value';
|
|
2848
3069
|
readonly value: string;
|
|
2849
3070
|
}, "authenticated", true, false>>;
|
|
3071
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
3072
|
+
audience?: string | undefined;
|
|
3073
|
+
ttlSeconds: number;
|
|
3074
|
+
grant?: unknown;
|
|
3075
|
+
identity: string;
|
|
3076
|
+
}, {
|
|
3077
|
+
readonly mode: 'value';
|
|
3078
|
+
readonly value: string;
|
|
3079
|
+
}, "authorized", true, false>>;
|
|
2850
3080
|
}>;
|
|
2851
3081
|
}, builder.AuthoredPropertyProjection<({
|
|
2852
3082
|
claim: string;
|
|
@@ -2891,14 +3121,6 @@ declare const KernelDefinitions: {
|
|
|
2891
3121
|
})[];
|
|
2892
3122
|
};
|
|
2893
3123
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2894
|
-
principal: string;
|
|
2895
|
-
audience: string;
|
|
2896
|
-
ttlSeconds: number;
|
|
2897
|
-
attenuation: unknown;
|
|
2898
|
-
}, {
|
|
2899
|
-
readonly mode: 'value';
|
|
2900
|
-
readonly value: string;
|
|
2901
|
-
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2902
3124
|
iss: string;
|
|
2903
3125
|
sub: string;
|
|
2904
3126
|
}, {
|
|
@@ -2922,6 +3144,14 @@ declare const KernelDefinitions: {
|
|
|
2922
3144
|
})[];
|
|
2923
3145
|
} | null;
|
|
2924
3146
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3147
|
+
principal: string;
|
|
3148
|
+
audience: string;
|
|
3149
|
+
ttlSeconds: number;
|
|
3150
|
+
attenuation: unknown;
|
|
3151
|
+
}, {
|
|
3152
|
+
readonly mode: 'value';
|
|
3153
|
+
readonly value: string;
|
|
3154
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
2925
3155
|
policy: string;
|
|
2926
3156
|
object: string;
|
|
2927
3157
|
}, {
|
|
@@ -2936,11 +3166,19 @@ declare const KernelDefinitions: {
|
|
|
2936
3166
|
}, {
|
|
2937
3167
|
readonly mode: 'value';
|
|
2938
3168
|
readonly value: string;
|
|
2939
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
3169
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3170
|
+
audience?: string | undefined;
|
|
3171
|
+
ttlSeconds: number;
|
|
3172
|
+
grant?: unknown;
|
|
3173
|
+
identity: string;
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly mode: 'value';
|
|
3176
|
+
readonly value: string;
|
|
3177
|
+
}, "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", {
|
|
3178
|
+
readonly abstract: true;
|
|
3179
|
+
readonly depth: 1;
|
|
3180
|
+
readonly properties: {
|
|
3181
|
+
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
2944
3182
|
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
2945
3183
|
readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
|
|
2946
3184
|
readonly requiredClaims: builder.AuthoredPropertyProjection<({
|
|
@@ -3039,6 +3277,15 @@ declare const KernelDefinitions: {
|
|
|
3039
3277
|
readonly mode: 'value';
|
|
3040
3278
|
readonly value: string;
|
|
3041
3279
|
}, "authenticated", true, false>>;
|
|
3280
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
3281
|
+
audience?: string | undefined;
|
|
3282
|
+
ttlSeconds: number;
|
|
3283
|
+
grant?: unknown;
|
|
3284
|
+
identity: string;
|
|
3285
|
+
}, {
|
|
3286
|
+
readonly mode: 'value';
|
|
3287
|
+
readonly value: string;
|
|
3288
|
+
}, "authorized", true, false>>;
|
|
3042
3289
|
}>;
|
|
3043
3290
|
}, builder.AuthoredPropertyProjection<({
|
|
3044
3291
|
claim: string;
|
|
@@ -3083,6 +3330,29 @@ declare const KernelDefinitions: {
|
|
|
3083
3330
|
})[];
|
|
3084
3331
|
};
|
|
3085
3332
|
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3333
|
+
iss: string;
|
|
3334
|
+
sub: string;
|
|
3335
|
+
}, {
|
|
3336
|
+
readonly mode: 'value';
|
|
3337
|
+
readonly value: {
|
|
3338
|
+
id: string;
|
|
3339
|
+
iss: string;
|
|
3340
|
+
sub: string;
|
|
3341
|
+
frozen: boolean;
|
|
3342
|
+
requiredClaims: ({
|
|
3343
|
+
claim: string;
|
|
3344
|
+
op: "contains";
|
|
3345
|
+
value: unknown;
|
|
3346
|
+
} | {
|
|
3347
|
+
claim: string;
|
|
3348
|
+
op: "eq";
|
|
3349
|
+
value: unknown;
|
|
3350
|
+
} | {
|
|
3351
|
+
claim: string;
|
|
3352
|
+
op: "exists";
|
|
3353
|
+
})[];
|
|
3354
|
+
} | null;
|
|
3355
|
+
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3086
3356
|
principal: string;
|
|
3087
3357
|
audience: string;
|
|
3088
3358
|
ttlSeconds: number;
|
|
@@ -3091,6 +3361,184 @@ declare const KernelDefinitions: {
|
|
|
3091
3361
|
readonly mode: 'value';
|
|
3092
3362
|
readonly value: string;
|
|
3093
3363
|
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3364
|
+
policy: string;
|
|
3365
|
+
object: string;
|
|
3366
|
+
}, {
|
|
3367
|
+
readonly mode: 'value';
|
|
3368
|
+
readonly value: {
|
|
3369
|
+
allowed: boolean;
|
|
3370
|
+
};
|
|
3371
|
+
}, "authenticated", true, false>>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3372
|
+
audience?: string | undefined;
|
|
3373
|
+
ttlSeconds: number;
|
|
3374
|
+
grant?: unknown;
|
|
3375
|
+
}, {
|
|
3376
|
+
readonly mode: 'value';
|
|
3377
|
+
readonly value: string;
|
|
3378
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3379
|
+
audience?: string | undefined;
|
|
3380
|
+
ttlSeconds: number;
|
|
3381
|
+
grant?: unknown;
|
|
3382
|
+
identity: string;
|
|
3383
|
+
}, {
|
|
3384
|
+
readonly mode: 'value';
|
|
3385
|
+
readonly value: string;
|
|
3386
|
+
}, "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", {
|
|
3387
|
+
readonly abstract: true;
|
|
3388
|
+
readonly depth: 1;
|
|
3389
|
+
readonly properties: {
|
|
3390
|
+
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
3391
|
+
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
3392
|
+
readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
|
|
3393
|
+
readonly requiredClaims: builder.AuthoredPropertyProjection<({
|
|
3394
|
+
claim: string;
|
|
3395
|
+
op: "contains";
|
|
3396
|
+
value: unknown;
|
|
3397
|
+
} | {
|
|
3398
|
+
claim: string;
|
|
3399
|
+
op: "eq";
|
|
3400
|
+
value: unknown;
|
|
3401
|
+
} | {
|
|
3402
|
+
claim: string;
|
|
3403
|
+
op: "exists";
|
|
3404
|
+
})[], ({
|
|
3405
|
+
claim: string;
|
|
3406
|
+
op: "contains";
|
|
3407
|
+
value: unknown;
|
|
3408
|
+
} | {
|
|
3409
|
+
claim: string;
|
|
3410
|
+
op: "eq";
|
|
3411
|
+
value: unknown;
|
|
3412
|
+
} | {
|
|
3413
|
+
claim: string;
|
|
3414
|
+
op: "exists";
|
|
3415
|
+
})[], false, "requiredClaims", "self", never>;
|
|
3416
|
+
};
|
|
3417
|
+
readonly methods: Readonly<{
|
|
3418
|
+
delegate: builder.Method<builder.CallableProjection<{
|
|
3419
|
+
principal: string;
|
|
3420
|
+
audience: string;
|
|
3421
|
+
ttlSeconds: number;
|
|
3422
|
+
attenuation: unknown;
|
|
3423
|
+
}, {
|
|
3424
|
+
readonly mode: 'value';
|
|
3425
|
+
readonly value: string;
|
|
3426
|
+
}, "authenticated", true, false>>;
|
|
3427
|
+
can: builder.Method<builder.CallableProjection<{
|
|
3428
|
+
policy: string;
|
|
3429
|
+
object: string;
|
|
3430
|
+
}, {
|
|
3431
|
+
readonly mode: 'value';
|
|
3432
|
+
readonly value: {
|
|
3433
|
+
allowed: boolean;
|
|
3434
|
+
};
|
|
3435
|
+
}, "authenticated", true, false>>;
|
|
3436
|
+
whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
3437
|
+
readonly mode: 'value';
|
|
3438
|
+
readonly value: {
|
|
3439
|
+
id: string;
|
|
3440
|
+
iss: string;
|
|
3441
|
+
sub: string;
|
|
3442
|
+
frozen: boolean;
|
|
3443
|
+
requiredClaims: ({
|
|
3444
|
+
claim: string;
|
|
3445
|
+
op: "contains";
|
|
3446
|
+
value: unknown;
|
|
3447
|
+
} | {
|
|
3448
|
+
claim: string;
|
|
3449
|
+
op: "eq";
|
|
3450
|
+
value: unknown;
|
|
3451
|
+
} | {
|
|
3452
|
+
claim: string;
|
|
3453
|
+
op: "exists";
|
|
3454
|
+
})[];
|
|
3455
|
+
};
|
|
3456
|
+
}, "authenticated", true, false>>;
|
|
3457
|
+
whois: builder.Method<builder.CallableProjection<{
|
|
3458
|
+
iss: string;
|
|
3459
|
+
sub: string;
|
|
3460
|
+
}, {
|
|
3461
|
+
readonly mode: 'value';
|
|
3462
|
+
readonly value: {
|
|
3463
|
+
id: string;
|
|
3464
|
+
iss: string;
|
|
3465
|
+
sub: string;
|
|
3466
|
+
frozen: boolean;
|
|
3467
|
+
requiredClaims: ({
|
|
3468
|
+
claim: string;
|
|
3469
|
+
op: "contains";
|
|
3470
|
+
value: unknown;
|
|
3471
|
+
} | {
|
|
3472
|
+
claim: string;
|
|
3473
|
+
op: "eq";
|
|
3474
|
+
value: unknown;
|
|
3475
|
+
} | {
|
|
3476
|
+
claim: string;
|
|
3477
|
+
op: "exists";
|
|
3478
|
+
})[];
|
|
3479
|
+
} | null;
|
|
3480
|
+
}, "authorized", true, false>>;
|
|
3481
|
+
mint: builder.Method<builder.CallableProjection<{
|
|
3482
|
+
audience?: string | undefined;
|
|
3483
|
+
ttlSeconds: number;
|
|
3484
|
+
grant?: unknown;
|
|
3485
|
+
}, {
|
|
3486
|
+
readonly mode: 'value';
|
|
3487
|
+
readonly value: string;
|
|
3488
|
+
}, "authenticated", true, false>>;
|
|
3489
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
3490
|
+
audience?: string | undefined;
|
|
3491
|
+
ttlSeconds: number;
|
|
3492
|
+
grant?: unknown;
|
|
3493
|
+
identity: string;
|
|
3494
|
+
}, {
|
|
3495
|
+
readonly mode: 'value';
|
|
3496
|
+
readonly value: string;
|
|
3497
|
+
}, "authorized", true, false>>;
|
|
3498
|
+
}>;
|
|
3499
|
+
}, builder.AuthoredPropertyProjection<({
|
|
3500
|
+
claim: string;
|
|
3501
|
+
op: "contains";
|
|
3502
|
+
value: unknown;
|
|
3503
|
+
} | {
|
|
3504
|
+
claim: string;
|
|
3505
|
+
op: "eq";
|
|
3506
|
+
value: unknown;
|
|
3507
|
+
} | {
|
|
3508
|
+
claim: string;
|
|
3509
|
+
op: "exists";
|
|
3510
|
+
})[], ({
|
|
3511
|
+
claim: string;
|
|
3512
|
+
op: "contains";
|
|
3513
|
+
value: unknown;
|
|
3514
|
+
} | {
|
|
3515
|
+
claim: string;
|
|
3516
|
+
op: "eq";
|
|
3517
|
+
value: unknown;
|
|
3518
|
+
} | {
|
|
3519
|
+
claim: string;
|
|
3520
|
+
op: "exists";
|
|
3521
|
+
})[], 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>, {
|
|
3522
|
+
readonly mode: 'value';
|
|
3523
|
+
readonly value: {
|
|
3524
|
+
id: string;
|
|
3525
|
+
iss: string;
|
|
3526
|
+
sub: string;
|
|
3527
|
+
frozen: boolean;
|
|
3528
|
+
requiredClaims: ({
|
|
3529
|
+
claim: string;
|
|
3530
|
+
op: "contains";
|
|
3531
|
+
value: unknown;
|
|
3532
|
+
} | {
|
|
3533
|
+
claim: string;
|
|
3534
|
+
op: "eq";
|
|
3535
|
+
value: unknown;
|
|
3536
|
+
} | {
|
|
3537
|
+
claim: string;
|
|
3538
|
+
op: "exists";
|
|
3539
|
+
})[];
|
|
3540
|
+
};
|
|
3541
|
+
}, "authenticated", true, false>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3094
3542
|
iss: string;
|
|
3095
3543
|
sub: string;
|
|
3096
3544
|
}, {
|
|
@@ -3114,6 +3562,14 @@ declare const KernelDefinitions: {
|
|
|
3114
3562
|
})[];
|
|
3115
3563
|
} | null;
|
|
3116
3564
|
}, "authorized", true, false>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3565
|
+
principal: string;
|
|
3566
|
+
audience: string;
|
|
3567
|
+
ttlSeconds: number;
|
|
3568
|
+
attenuation: unknown;
|
|
3569
|
+
}, {
|
|
3570
|
+
readonly mode: 'value';
|
|
3571
|
+
readonly value: string;
|
|
3572
|
+
}, "authenticated", true, false>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3117
3573
|
policy: string;
|
|
3118
3574
|
object: string;
|
|
3119
3575
|
}, {
|
|
@@ -3128,7 +3584,15 @@ declare const KernelDefinitions: {
|
|
|
3128
3584
|
}, {
|
|
3129
3585
|
readonly mode: 'value';
|
|
3130
3586
|
readonly value: string;
|
|
3131
|
-
}, "authenticated", true, false>>, "mint", unknown
|
|
3587
|
+
}, "authenticated", true, false>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
3588
|
+
audience?: string | undefined;
|
|
3589
|
+
ttlSeconds: number;
|
|
3590
|
+
grant?: unknown;
|
|
3591
|
+
identity: string;
|
|
3592
|
+
}, {
|
|
3593
|
+
readonly mode: 'value';
|
|
3594
|
+
readonly value: string;
|
|
3595
|
+
}, "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>);
|
|
3132
3596
|
readonly abstractInstanceMethods: never;
|
|
3133
3597
|
readonly abstractStaticMethods: never;
|
|
3134
3598
|
readonly effectiveInstanceMethods: never;
|
|
@@ -3957,6 +4421,29 @@ declare const KernelDefinitions: {
|
|
|
3957
4421
|
};
|
|
3958
4422
|
})[];
|
|
3959
4423
|
operations: ({
|
|
4424
|
+
op: "edge.update";
|
|
4425
|
+
edge: {
|
|
4426
|
+
source: string;
|
|
4427
|
+
target: string;
|
|
4428
|
+
class: string;
|
|
4429
|
+
};
|
|
4430
|
+
slug: unknown;
|
|
4431
|
+
props?: {
|
|
4432
|
+
set: Record<string, unknown>;
|
|
4433
|
+
unset: string[];
|
|
4434
|
+
} | undefined;
|
|
4435
|
+
} | {
|
|
4436
|
+
op: "edge.update";
|
|
4437
|
+
edge: {
|
|
4438
|
+
source: string;
|
|
4439
|
+
target: string;
|
|
4440
|
+
class: string;
|
|
4441
|
+
};
|
|
4442
|
+
props: {
|
|
4443
|
+
set: Record<string, unknown>;
|
|
4444
|
+
unset: string[];
|
|
4445
|
+
};
|
|
4446
|
+
} | {
|
|
3960
4447
|
op: "node.create";
|
|
3961
4448
|
as: string;
|
|
3962
4449
|
class: string;
|
|
@@ -3985,30 +4472,7 @@ declare const KernelDefinitions: {
|
|
|
3985
4472
|
slug?: unknown;
|
|
3986
4473
|
props: Record<string, unknown>;
|
|
3987
4474
|
} | {
|
|
3988
|
-
op: "edge.
|
|
3989
|
-
edge: {
|
|
3990
|
-
source: string;
|
|
3991
|
-
target: string;
|
|
3992
|
-
class: string;
|
|
3993
|
-
};
|
|
3994
|
-
slug: unknown;
|
|
3995
|
-
props?: {
|
|
3996
|
-
set: Record<string, unknown>;
|
|
3997
|
-
unset: string[];
|
|
3998
|
-
} | undefined;
|
|
3999
|
-
} | {
|
|
4000
|
-
op: "edge.update";
|
|
4001
|
-
edge: {
|
|
4002
|
-
source: string;
|
|
4003
|
-
target: string;
|
|
4004
|
-
class: string;
|
|
4005
|
-
};
|
|
4006
|
-
props: {
|
|
4007
|
-
set: Record<string, unknown>;
|
|
4008
|
-
unset: string[];
|
|
4009
|
-
};
|
|
4010
|
-
} | {
|
|
4011
|
-
op: "edge.delete";
|
|
4475
|
+
op: "edge.delete";
|
|
4012
4476
|
edge: {
|
|
4013
4477
|
source: string;
|
|
4014
4478
|
target: string;
|
|
@@ -4431,6 +4895,31 @@ export declare const AuthorityRelations: Readonly<{
|
|
|
4431
4895
|
}>;
|
|
4432
4896
|
/** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
|
|
4433
4897
|
export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4898
|
+
operation: string;
|
|
4899
|
+
domains: ({
|
|
4900
|
+
artifact: {
|
|
4901
|
+
digest: string;
|
|
4902
|
+
mediaType: string;
|
|
4903
|
+
size: number;
|
|
4904
|
+
};
|
|
4905
|
+
currentRevision?: string | null | undefined;
|
|
4906
|
+
} | {
|
|
4907
|
+
publication: {
|
|
4908
|
+
url: string;
|
|
4909
|
+
token?: string | undefined;
|
|
4910
|
+
etag?: string | undefined;
|
|
4911
|
+
};
|
|
4912
|
+
revision?: string | undefined;
|
|
4913
|
+
currentRevision?: string | null | undefined;
|
|
4914
|
+
})[];
|
|
4915
|
+
}, {
|
|
4916
|
+
readonly mode: 'binary';
|
|
4917
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4918
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
4919
|
+
readonly origin: "kernel.astrale.ai";
|
|
4920
|
+
};
|
|
4921
|
+
readonly key: "kernel.astrale.ai:function.install";
|
|
4922
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4434
4923
|
invocation?: {
|
|
4435
4924
|
source: string;
|
|
4436
4925
|
id: string;
|
|
@@ -4462,93 +4951,296 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
4462
4951
|
readonly origin: "kernel.astrale.ai";
|
|
4463
4952
|
};
|
|
4464
4953
|
readonly key: "kernel.astrale.ai:function.journal";
|
|
4465
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4466
|
-
idempotencyKey: string;
|
|
4467
|
-
identities: ({
|
|
4468
|
-
id: string;
|
|
4469
|
-
mode: "external";
|
|
4470
|
-
credential: string;
|
|
4471
|
-
} | {
|
|
4472
|
-
id: string;
|
|
4473
|
-
mode: "self";
|
|
4474
|
-
publicKey: unknown;
|
|
4475
|
-
credential: string;
|
|
4476
|
-
})[];
|
|
4477
|
-
}, {
|
|
4478
|
-
readonly mode: 'value';
|
|
4479
|
-
readonly value: {
|
|
4480
|
-
identities: {
|
|
4481
|
-
id: string;
|
|
4482
|
-
iss: string;
|
|
4483
|
-
sub: string;
|
|
4484
|
-
}[];
|
|
4485
|
-
};
|
|
4486
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4487
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
|
|
4488
|
-
readonly origin: "kernel.astrale.ai";
|
|
4489
|
-
};
|
|
4490
|
-
readonly key: "kernel.astrale.ai:function.register";
|
|
4491
4954
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4492
4955
|
ast: {
|
|
4493
|
-
format: "astrale.graph.
|
|
4494
|
-
version: "
|
|
4495
|
-
|
|
4956
|
+
format: "astrale.graph.mutation";
|
|
4957
|
+
version: "v3";
|
|
4958
|
+
preconditions: ({
|
|
4496
4959
|
kind: "node";
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4960
|
+
node: string;
|
|
4961
|
+
class: string;
|
|
4962
|
+
props?: {
|
|
4963
|
+
equals: Record<string, unknown>;
|
|
4964
|
+
absent?: string[] | undefined;
|
|
4500
4965
|
} | {
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
origin: string;
|
|
4504
|
-
kind: "class";
|
|
4505
|
-
name: string;
|
|
4506
|
-
};
|
|
4507
|
-
})[];
|
|
4508
|
-
binding: string;
|
|
4966
|
+
absent: string[];
|
|
4967
|
+
} | undefined;
|
|
4509
4968
|
} | {
|
|
4510
4969
|
kind: "edge";
|
|
4511
|
-
|
|
4512
|
-
kind: "class";
|
|
4513
|
-
class: {
|
|
4514
|
-
origin: string;
|
|
4515
|
-
kind: "class";
|
|
4516
|
-
name: string;
|
|
4517
|
-
};
|
|
4518
|
-
}[];
|
|
4519
|
-
bindings: {
|
|
4970
|
+
edge: {
|
|
4520
4971
|
source: string;
|
|
4521
|
-
edge: string;
|
|
4522
4972
|
target: string;
|
|
4973
|
+
class: string;
|
|
4523
4974
|
};
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
predicate: {
|
|
4529
|
-
kind: "class.satisfies";
|
|
4530
|
-
class: {
|
|
4531
|
-
origin: string;
|
|
4532
|
-
kind: "class";
|
|
4533
|
-
name: string;
|
|
4534
|
-
};
|
|
4975
|
+
slug?: unknown;
|
|
4976
|
+
props?: {
|
|
4977
|
+
equals: Record<string, unknown>;
|
|
4978
|
+
absent?: string[] | undefined;
|
|
4535
4979
|
} | {
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4980
|
+
absent: string[];
|
|
4981
|
+
} | undefined;
|
|
4982
|
+
} | {
|
|
4983
|
+
kind: "query";
|
|
4984
|
+
query: {
|
|
4985
|
+
format: "astrale.graph.query";
|
|
4986
|
+
version: "v6";
|
|
4987
|
+
source: {
|
|
4988
|
+
kind: "node";
|
|
4989
|
+
terms: ({
|
|
4990
|
+
kind: "path";
|
|
4991
|
+
path: string;
|
|
4992
|
+
} | {
|
|
4993
|
+
kind: "class";
|
|
4994
|
+
class: {
|
|
4995
|
+
origin: string;
|
|
4996
|
+
kind: "class";
|
|
4997
|
+
name: string;
|
|
4998
|
+
};
|
|
4999
|
+
})[];
|
|
5000
|
+
binding: string;
|
|
5001
|
+
} | {
|
|
5002
|
+
kind: "edge";
|
|
5003
|
+
terms: {
|
|
5004
|
+
kind: "class";
|
|
5005
|
+
class: {
|
|
5006
|
+
origin: string;
|
|
5007
|
+
kind: "class";
|
|
5008
|
+
name: string;
|
|
5009
|
+
};
|
|
5010
|
+
}[];
|
|
5011
|
+
bindings: {
|
|
5012
|
+
source: string;
|
|
5013
|
+
edge: string;
|
|
5014
|
+
target: string;
|
|
5015
|
+
};
|
|
4541
5016
|
};
|
|
5017
|
+
steps: ({
|
|
5018
|
+
op: "filter";
|
|
5019
|
+
binding: string;
|
|
5020
|
+
predicate: {
|
|
5021
|
+
kind: "class.satisfies";
|
|
5022
|
+
class: {
|
|
5023
|
+
origin: string;
|
|
5024
|
+
kind: "class";
|
|
5025
|
+
name: string;
|
|
5026
|
+
};
|
|
5027
|
+
} | {
|
|
5028
|
+
kind: "class.equal";
|
|
5029
|
+
class: {
|
|
5030
|
+
origin: string;
|
|
5031
|
+
kind: "class";
|
|
5032
|
+
name: string;
|
|
5033
|
+
};
|
|
5034
|
+
} | {
|
|
5035
|
+
kind: "property.equal";
|
|
5036
|
+
property: string;
|
|
5037
|
+
value: unknown;
|
|
5038
|
+
} | {
|
|
5039
|
+
kind: "property.present";
|
|
5040
|
+
property: string;
|
|
5041
|
+
} | {
|
|
5042
|
+
kind: "identity.equal";
|
|
5043
|
+
identity: string | {
|
|
5044
|
+
source: string;
|
|
5045
|
+
target: string;
|
|
5046
|
+
class: string;
|
|
5047
|
+
};
|
|
5048
|
+
};
|
|
5049
|
+
} | {
|
|
5050
|
+
op: "expand";
|
|
5051
|
+
from: string;
|
|
5052
|
+
via: {
|
|
5053
|
+
origin: string;
|
|
5054
|
+
kind: "class";
|
|
5055
|
+
name: string;
|
|
5056
|
+
}[];
|
|
5057
|
+
direction: "incident" | "incoming" | "outgoing";
|
|
5058
|
+
bindings: {
|
|
5059
|
+
edge: string;
|
|
5060
|
+
node: string;
|
|
5061
|
+
};
|
|
5062
|
+
})[];
|
|
5063
|
+
select: {
|
|
5064
|
+
kind: "graph";
|
|
5065
|
+
binding: string;
|
|
5066
|
+
order?: {
|
|
5067
|
+
property: string;
|
|
5068
|
+
direction: "asc" | "desc";
|
|
5069
|
+
unranked: "first" | "last";
|
|
5070
|
+
} | undefined;
|
|
5071
|
+
} | {
|
|
5072
|
+
kind: "nodes";
|
|
5073
|
+
binding: string;
|
|
5074
|
+
projection: {
|
|
5075
|
+
kind: "reference" | "value";
|
|
5076
|
+
};
|
|
5077
|
+
order?: {
|
|
5078
|
+
property: string;
|
|
5079
|
+
direction: "asc" | "desc";
|
|
5080
|
+
unranked: "first" | "last";
|
|
5081
|
+
} | undefined;
|
|
5082
|
+
} | {
|
|
5083
|
+
kind: "edges";
|
|
5084
|
+
binding: string;
|
|
5085
|
+
projection: {
|
|
5086
|
+
edge: "reference" | "value";
|
|
5087
|
+
source: "reference" | "value";
|
|
5088
|
+
target: "reference" | "value";
|
|
5089
|
+
};
|
|
5090
|
+
order?: {
|
|
5091
|
+
property: string;
|
|
5092
|
+
direction: "asc" | "desc";
|
|
5093
|
+
unranked: "first" | "last";
|
|
5094
|
+
} | undefined;
|
|
5095
|
+
};
|
|
5096
|
+
};
|
|
5097
|
+
equals: {
|
|
5098
|
+
kind: "node";
|
|
5099
|
+
ids: string[];
|
|
4542
5100
|
} | {
|
|
4543
|
-
kind: "
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
}
|
|
4550
|
-
|
|
4551
|
-
|
|
5101
|
+
kind: "edge";
|
|
5102
|
+
keys: {
|
|
5103
|
+
source: string;
|
|
5104
|
+
target: string;
|
|
5105
|
+
class: string;
|
|
5106
|
+
}[];
|
|
5107
|
+
};
|
|
5108
|
+
})[];
|
|
5109
|
+
operations: ({
|
|
5110
|
+
op: "edge.update";
|
|
5111
|
+
edge: {
|
|
5112
|
+
source: string;
|
|
5113
|
+
target: string;
|
|
5114
|
+
class: string;
|
|
5115
|
+
};
|
|
5116
|
+
slug: unknown;
|
|
5117
|
+
props?: {
|
|
5118
|
+
set: Record<string, unknown>;
|
|
5119
|
+
unset: string[];
|
|
5120
|
+
} | undefined;
|
|
5121
|
+
} | {
|
|
5122
|
+
op: "edge.update";
|
|
5123
|
+
edge: {
|
|
5124
|
+
source: string;
|
|
5125
|
+
target: string;
|
|
5126
|
+
class: string;
|
|
5127
|
+
};
|
|
5128
|
+
props: {
|
|
5129
|
+
set: Record<string, unknown>;
|
|
5130
|
+
unset: string[];
|
|
5131
|
+
};
|
|
5132
|
+
} | {
|
|
5133
|
+
op: "node.create";
|
|
5134
|
+
as: string;
|
|
5135
|
+
class: string;
|
|
5136
|
+
props: Record<string, unknown>;
|
|
5137
|
+
} | {
|
|
5138
|
+
op: "node.update";
|
|
5139
|
+
node: string;
|
|
5140
|
+
class: string;
|
|
5141
|
+
props: {
|
|
5142
|
+
set: Record<string, unknown>;
|
|
5143
|
+
unset: string[];
|
|
5144
|
+
};
|
|
5145
|
+
} | {
|
|
5146
|
+
op: "node.delete";
|
|
5147
|
+
node: string;
|
|
5148
|
+
class: string;
|
|
5149
|
+
} | {
|
|
5150
|
+
op: "edge.create";
|
|
5151
|
+
class: string;
|
|
5152
|
+
source: string | {
|
|
5153
|
+
created: string;
|
|
5154
|
+
};
|
|
5155
|
+
target: string | {
|
|
5156
|
+
created: string;
|
|
5157
|
+
};
|
|
5158
|
+
slug?: unknown;
|
|
5159
|
+
props: Record<string, unknown>;
|
|
5160
|
+
} | {
|
|
5161
|
+
op: "edge.delete";
|
|
5162
|
+
edge: {
|
|
5163
|
+
source: string;
|
|
5164
|
+
target: string;
|
|
5165
|
+
class: string;
|
|
5166
|
+
};
|
|
5167
|
+
})[];
|
|
5168
|
+
};
|
|
5169
|
+
expected?: {
|
|
5170
|
+
origin: string;
|
|
5171
|
+
revision: string;
|
|
5172
|
+
}[] | undefined;
|
|
5173
|
+
}, {
|
|
5174
|
+
readonly mode: 'value';
|
|
5175
|
+
readonly value: {
|
|
5176
|
+
createdNodes: Record<string, string>;
|
|
5177
|
+
};
|
|
5178
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5179
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"mutate"> & {
|
|
5180
|
+
readonly origin: "kernel.astrale.ai";
|
|
5181
|
+
};
|
|
5182
|
+
readonly key: "kernel.astrale.ai:function.mutate";
|
|
5183
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5184
|
+
ast: {
|
|
5185
|
+
format: "astrale.graph.query";
|
|
5186
|
+
version: "v6";
|
|
5187
|
+
source: {
|
|
5188
|
+
kind: "node";
|
|
5189
|
+
terms: ({
|
|
5190
|
+
kind: "path";
|
|
5191
|
+
path: string;
|
|
5192
|
+
} | {
|
|
5193
|
+
kind: "class";
|
|
5194
|
+
class: {
|
|
5195
|
+
origin: string;
|
|
5196
|
+
kind: "class";
|
|
5197
|
+
name: string;
|
|
5198
|
+
};
|
|
5199
|
+
})[];
|
|
5200
|
+
binding: string;
|
|
5201
|
+
} | {
|
|
5202
|
+
kind: "edge";
|
|
5203
|
+
terms: {
|
|
5204
|
+
kind: "class";
|
|
5205
|
+
class: {
|
|
5206
|
+
origin: string;
|
|
5207
|
+
kind: "class";
|
|
5208
|
+
name: string;
|
|
5209
|
+
};
|
|
5210
|
+
}[];
|
|
5211
|
+
bindings: {
|
|
5212
|
+
source: string;
|
|
5213
|
+
edge: string;
|
|
5214
|
+
target: string;
|
|
5215
|
+
};
|
|
5216
|
+
};
|
|
5217
|
+
steps: ({
|
|
5218
|
+
op: "filter";
|
|
5219
|
+
binding: string;
|
|
5220
|
+
predicate: {
|
|
5221
|
+
kind: "class.satisfies";
|
|
5222
|
+
class: {
|
|
5223
|
+
origin: string;
|
|
5224
|
+
kind: "class";
|
|
5225
|
+
name: string;
|
|
5226
|
+
};
|
|
5227
|
+
} | {
|
|
5228
|
+
kind: "class.equal";
|
|
5229
|
+
class: {
|
|
5230
|
+
origin: string;
|
|
5231
|
+
kind: "class";
|
|
5232
|
+
name: string;
|
|
5233
|
+
};
|
|
5234
|
+
} | {
|
|
5235
|
+
kind: "property.equal";
|
|
5236
|
+
property: string;
|
|
5237
|
+
value: unknown;
|
|
5238
|
+
} | {
|
|
5239
|
+
kind: "property.present";
|
|
5240
|
+
property: string;
|
|
5241
|
+
} | {
|
|
5242
|
+
kind: "identity.equal";
|
|
5243
|
+
identity: string | {
|
|
4552
5244
|
source: string;
|
|
4553
5245
|
target: string;
|
|
4554
5246
|
class: string;
|
|
@@ -4716,259 +5408,31 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
4716
5408
|
};
|
|
4717
5409
|
readonly key: "kernel.astrale.ai:function.query";
|
|
4718
5410
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
absent: string[];
|
|
4731
|
-
} | undefined;
|
|
4732
|
-
} | {
|
|
4733
|
-
kind: "edge";
|
|
4734
|
-
edge: {
|
|
4735
|
-
source: string;
|
|
4736
|
-
target: string;
|
|
4737
|
-
class: string;
|
|
4738
|
-
};
|
|
4739
|
-
slug?: unknown;
|
|
4740
|
-
props?: {
|
|
4741
|
-
equals: Record<string, unknown>;
|
|
4742
|
-
absent?: string[] | undefined;
|
|
4743
|
-
} | {
|
|
4744
|
-
absent: string[];
|
|
4745
|
-
} | undefined;
|
|
4746
|
-
} | {
|
|
4747
|
-
kind: "query";
|
|
4748
|
-
query: {
|
|
4749
|
-
format: "astrale.graph.query";
|
|
4750
|
-
version: "v6";
|
|
4751
|
-
source: {
|
|
4752
|
-
kind: "node";
|
|
4753
|
-
terms: ({
|
|
4754
|
-
kind: "path";
|
|
4755
|
-
path: string;
|
|
4756
|
-
} | {
|
|
4757
|
-
kind: "class";
|
|
4758
|
-
class: {
|
|
4759
|
-
origin: string;
|
|
4760
|
-
kind: "class";
|
|
4761
|
-
name: string;
|
|
4762
|
-
};
|
|
4763
|
-
})[];
|
|
4764
|
-
binding: string;
|
|
4765
|
-
} | {
|
|
4766
|
-
kind: "edge";
|
|
4767
|
-
terms: {
|
|
4768
|
-
kind: "class";
|
|
4769
|
-
class: {
|
|
4770
|
-
origin: string;
|
|
4771
|
-
kind: "class";
|
|
4772
|
-
name: string;
|
|
4773
|
-
};
|
|
4774
|
-
}[];
|
|
4775
|
-
bindings: {
|
|
4776
|
-
source: string;
|
|
4777
|
-
edge: string;
|
|
4778
|
-
target: string;
|
|
4779
|
-
};
|
|
4780
|
-
};
|
|
4781
|
-
steps: ({
|
|
4782
|
-
op: "filter";
|
|
4783
|
-
binding: string;
|
|
4784
|
-
predicate: {
|
|
4785
|
-
kind: "class.satisfies";
|
|
4786
|
-
class: {
|
|
4787
|
-
origin: string;
|
|
4788
|
-
kind: "class";
|
|
4789
|
-
name: string;
|
|
4790
|
-
};
|
|
4791
|
-
} | {
|
|
4792
|
-
kind: "class.equal";
|
|
4793
|
-
class: {
|
|
4794
|
-
origin: string;
|
|
4795
|
-
kind: "class";
|
|
4796
|
-
name: string;
|
|
4797
|
-
};
|
|
4798
|
-
} | {
|
|
4799
|
-
kind: "property.equal";
|
|
4800
|
-
property: string;
|
|
4801
|
-
value: unknown;
|
|
4802
|
-
} | {
|
|
4803
|
-
kind: "property.present";
|
|
4804
|
-
property: string;
|
|
4805
|
-
} | {
|
|
4806
|
-
kind: "identity.equal";
|
|
4807
|
-
identity: string | {
|
|
4808
|
-
source: string;
|
|
4809
|
-
target: string;
|
|
4810
|
-
class: string;
|
|
4811
|
-
};
|
|
4812
|
-
};
|
|
4813
|
-
} | {
|
|
4814
|
-
op: "expand";
|
|
4815
|
-
from: string;
|
|
4816
|
-
via: {
|
|
4817
|
-
origin: string;
|
|
4818
|
-
kind: "class";
|
|
4819
|
-
name: string;
|
|
4820
|
-
}[];
|
|
4821
|
-
direction: "incident" | "incoming" | "outgoing";
|
|
4822
|
-
bindings: {
|
|
4823
|
-
edge: string;
|
|
4824
|
-
node: string;
|
|
4825
|
-
};
|
|
4826
|
-
})[];
|
|
4827
|
-
select: {
|
|
4828
|
-
kind: "graph";
|
|
4829
|
-
binding: string;
|
|
4830
|
-
order?: {
|
|
4831
|
-
property: string;
|
|
4832
|
-
direction: "asc" | "desc";
|
|
4833
|
-
unranked: "first" | "last";
|
|
4834
|
-
} | undefined;
|
|
4835
|
-
} | {
|
|
4836
|
-
kind: "nodes";
|
|
4837
|
-
binding: string;
|
|
4838
|
-
projection: {
|
|
4839
|
-
kind: "reference" | "value";
|
|
4840
|
-
};
|
|
4841
|
-
order?: {
|
|
4842
|
-
property: string;
|
|
4843
|
-
direction: "asc" | "desc";
|
|
4844
|
-
unranked: "first" | "last";
|
|
4845
|
-
} | undefined;
|
|
4846
|
-
} | {
|
|
4847
|
-
kind: "edges";
|
|
4848
|
-
binding: string;
|
|
4849
|
-
projection: {
|
|
4850
|
-
edge: "reference" | "value";
|
|
4851
|
-
source: "reference" | "value";
|
|
4852
|
-
target: "reference" | "value";
|
|
4853
|
-
};
|
|
4854
|
-
order?: {
|
|
4855
|
-
property: string;
|
|
4856
|
-
direction: "asc" | "desc";
|
|
4857
|
-
unranked: "first" | "last";
|
|
4858
|
-
} | undefined;
|
|
4859
|
-
};
|
|
4860
|
-
};
|
|
4861
|
-
equals: {
|
|
4862
|
-
kind: "node";
|
|
4863
|
-
ids: string[];
|
|
4864
|
-
} | {
|
|
4865
|
-
kind: "edge";
|
|
4866
|
-
keys: {
|
|
4867
|
-
source: string;
|
|
4868
|
-
target: string;
|
|
4869
|
-
class: string;
|
|
4870
|
-
}[];
|
|
4871
|
-
};
|
|
4872
|
-
})[];
|
|
4873
|
-
operations: ({
|
|
4874
|
-
op: "node.create";
|
|
4875
|
-
as: string;
|
|
4876
|
-
class: string;
|
|
4877
|
-
props: Record<string, unknown>;
|
|
4878
|
-
} | {
|
|
4879
|
-
op: "node.update";
|
|
4880
|
-
node: string;
|
|
4881
|
-
class: string;
|
|
4882
|
-
props: {
|
|
4883
|
-
set: Record<string, unknown>;
|
|
4884
|
-
unset: string[];
|
|
4885
|
-
};
|
|
4886
|
-
} | {
|
|
4887
|
-
op: "node.delete";
|
|
4888
|
-
node: string;
|
|
4889
|
-
class: string;
|
|
4890
|
-
} | {
|
|
4891
|
-
op: "edge.create";
|
|
4892
|
-
class: string;
|
|
4893
|
-
source: string | {
|
|
4894
|
-
created: string;
|
|
4895
|
-
};
|
|
4896
|
-
target: string | {
|
|
4897
|
-
created: string;
|
|
4898
|
-
};
|
|
4899
|
-
slug?: unknown;
|
|
4900
|
-
props: Record<string, unknown>;
|
|
4901
|
-
} | {
|
|
4902
|
-
op: "edge.update";
|
|
4903
|
-
edge: {
|
|
4904
|
-
source: string;
|
|
4905
|
-
target: string;
|
|
4906
|
-
class: string;
|
|
4907
|
-
};
|
|
4908
|
-
slug: unknown;
|
|
4909
|
-
props?: {
|
|
4910
|
-
set: Record<string, unknown>;
|
|
4911
|
-
unset: string[];
|
|
4912
|
-
} | undefined;
|
|
4913
|
-
} | {
|
|
4914
|
-
op: "edge.update";
|
|
4915
|
-
edge: {
|
|
4916
|
-
source: string;
|
|
4917
|
-
target: string;
|
|
4918
|
-
class: string;
|
|
4919
|
-
};
|
|
4920
|
-
props: {
|
|
4921
|
-
set: Record<string, unknown>;
|
|
4922
|
-
unset: string[];
|
|
4923
|
-
};
|
|
4924
|
-
} | {
|
|
4925
|
-
op: "edge.delete";
|
|
4926
|
-
edge: {
|
|
4927
|
-
source: string;
|
|
4928
|
-
target: string;
|
|
4929
|
-
class: string;
|
|
4930
|
-
};
|
|
4931
|
-
})[];
|
|
4932
|
-
};
|
|
4933
|
-
expected?: {
|
|
4934
|
-
origin: string;
|
|
4935
|
-
revision: string;
|
|
4936
|
-
}[] | undefined;
|
|
5411
|
+
idempotencyKey: string;
|
|
5412
|
+
identities: ({
|
|
5413
|
+
id: string;
|
|
5414
|
+
mode: "external";
|
|
5415
|
+
credential: string;
|
|
5416
|
+
} | {
|
|
5417
|
+
id: string;
|
|
5418
|
+
mode: "self";
|
|
5419
|
+
publicKey: unknown;
|
|
5420
|
+
credential: string;
|
|
5421
|
+
})[];
|
|
4937
5422
|
}, {
|
|
4938
5423
|
readonly mode: 'value';
|
|
4939
5424
|
readonly value: {
|
|
4940
|
-
|
|
5425
|
+
identities: {
|
|
5426
|
+
id: string;
|
|
5427
|
+
iss: string;
|
|
5428
|
+
sub: string;
|
|
5429
|
+
}[];
|
|
4941
5430
|
};
|
|
4942
5431
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4943
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
4944
|
-
readonly origin: "kernel.astrale.ai";
|
|
4945
|
-
};
|
|
4946
|
-
readonly key: "kernel.astrale.ai:function.mutate";
|
|
4947
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4948
|
-
operation: string;
|
|
4949
|
-
domains: ({
|
|
4950
|
-
artifact: {
|
|
4951
|
-
digest: string;
|
|
4952
|
-
mediaType: string;
|
|
4953
|
-
size: number;
|
|
4954
|
-
};
|
|
4955
|
-
currentRevision?: string | null | undefined;
|
|
4956
|
-
} | {
|
|
4957
|
-
publication: {
|
|
4958
|
-
url: string;
|
|
4959
|
-
token?: string | undefined;
|
|
4960
|
-
etag?: string | undefined;
|
|
4961
|
-
};
|
|
4962
|
-
revision?: string | undefined;
|
|
4963
|
-
currentRevision?: string | null | undefined;
|
|
4964
|
-
})[];
|
|
4965
|
-
}, {
|
|
4966
|
-
readonly mode: 'binary';
|
|
4967
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4968
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
5432
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
|
|
4969
5433
|
readonly origin: "kernel.astrale.ai";
|
|
4970
5434
|
};
|
|
4971
|
-
readonly key: "kernel.astrale.ai:function.
|
|
5435
|
+
readonly key: "kernel.astrale.ai:function.register";
|
|
4972
5436
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4973
5437
|
operation: string;
|
|
4974
5438
|
domains: string[];
|
|
@@ -5039,6 +5503,7 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5039
5503
|
} | null;
|
|
5040
5504
|
}, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
|
|
5041
5505
|
readonly name: "whois";
|
|
5506
|
+
readonly executable: true;
|
|
5042
5507
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5043
5508
|
target: string;
|
|
5044
5509
|
}, {
|
|
@@ -5073,6 +5538,18 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5073
5538
|
};
|
|
5074
5539
|
}, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.View.method.resolve"> & {
|
|
5075
5540
|
readonly name: "resolve";
|
|
5541
|
+
readonly executable: true;
|
|
5542
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5543
|
+
audience?: string | undefined;
|
|
5544
|
+
ttlSeconds: number;
|
|
5545
|
+
grant?: unknown;
|
|
5546
|
+
identity: string;
|
|
5547
|
+
}, {
|
|
5548
|
+
readonly mode: 'value';
|
|
5549
|
+
readonly value: string;
|
|
5550
|
+
}, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.impersonate"> & {
|
|
5551
|
+
readonly name: "impersonate";
|
|
5552
|
+
readonly executable: true;
|
|
5076
5553
|
}))[];
|
|
5077
5554
|
export { AuthorityOperationOrder, AuthorityOperations, operationOf } from '../authority/index.js';
|
|
5078
5555
|
export type { AuthorityOperation, AuthorityRelation } from '../authority/index.js';
|