@astrale-os/kernel-core 0.9.0-beta.45 → 0.9.0-beta.47
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/callables/view.d.ts +14 -0
- package/dist/schema/domain/domain.d.ts +569 -122
- package/dist/schema/identity/identity.d.ts +17 -0
- package/dist/schema/kernel/schema.d.ts +944 -448
- 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/contracts/view-host-requirements.d.ts +17 -0
- package/dist/schema/kernel/syscalls/contracts/view-host-requirements.js +40 -0
- package/dist/schema/kernel/syscalls/contracts/view-resolve.d.ts +7 -0
- package/dist/schema/kernel/syscalls/contracts/view-resolve.js +2 -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 +39 -23
- package/dist/schema/kernel/syscalls/declarations/index.js +2 -0
- package/dist/schema/kernel/syscalls/declarations/view-resolve.d.ts +7 -0
- package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +16 -0
- package/dist/schema/kernel/syscalls/descriptors/identity.js +1 -0
- package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.d.ts +3 -1
- package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.js +4 -0
- package/dist/schema/kernel/syscalls/descriptors/view.d.ts +7 -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;
|
|
@@ -3322,6 +3786,13 @@ declare const KernelDefinitions: {
|
|
|
3322
3786
|
sandbox?: string[] | undefined;
|
|
3323
3787
|
allow?: string[] | undefined;
|
|
3324
3788
|
} | undefined;
|
|
3789
|
+
host?: {
|
|
3790
|
+
navigation: {
|
|
3791
|
+
external: {
|
|
3792
|
+
origins: string[];
|
|
3793
|
+
};
|
|
3794
|
+
};
|
|
3795
|
+
} | undefined;
|
|
3325
3796
|
issuer: string;
|
|
3326
3797
|
etag: string;
|
|
3327
3798
|
revision: string;
|
|
@@ -3367,6 +3838,13 @@ declare const KernelDefinitions: {
|
|
|
3367
3838
|
sandbox?: string[] | undefined;
|
|
3368
3839
|
allow?: string[] | undefined;
|
|
3369
3840
|
} | undefined;
|
|
3841
|
+
host?: {
|
|
3842
|
+
navigation: {
|
|
3843
|
+
external: {
|
|
3844
|
+
origins: string[];
|
|
3845
|
+
};
|
|
3846
|
+
};
|
|
3847
|
+
} | undefined;
|
|
3370
3848
|
issuer: string;
|
|
3371
3849
|
etag: string;
|
|
3372
3850
|
revision: string;
|
|
@@ -4431,31 +4909,6 @@ export declare const AuthorityRelations: Readonly<{
|
|
|
4431
4909
|
}>;
|
|
4432
4910
|
/** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
|
|
4433
4911
|
export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4434
|
-
operation: string;
|
|
4435
|
-
domains: ({
|
|
4436
|
-
artifact: {
|
|
4437
|
-
digest: string;
|
|
4438
|
-
mediaType: string;
|
|
4439
|
-
size: number;
|
|
4440
|
-
};
|
|
4441
|
-
currentRevision?: string | null | undefined;
|
|
4442
|
-
} | {
|
|
4443
|
-
publication: {
|
|
4444
|
-
url: string;
|
|
4445
|
-
token?: string | undefined;
|
|
4446
|
-
etag?: string | undefined;
|
|
4447
|
-
};
|
|
4448
|
-
revision?: string | undefined;
|
|
4449
|
-
currentRevision?: string | null | undefined;
|
|
4450
|
-
})[];
|
|
4451
|
-
}, {
|
|
4452
|
-
readonly mode: 'binary';
|
|
4453
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4454
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
4455
|
-
readonly origin: "kernel.astrale.ai";
|
|
4456
|
-
};
|
|
4457
|
-
readonly key: "kernel.astrale.ai:function.install";
|
|
4458
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4459
4912
|
invocation?: {
|
|
4460
4913
|
source: string;
|
|
4461
4914
|
id: string;
|
|
@@ -4488,234 +4941,31 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
4488
4941
|
};
|
|
4489
4942
|
readonly key: "kernel.astrale.ai:function.journal";
|
|
4490
4943
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
absent: string[];
|
|
4503
|
-
} | undefined;
|
|
4504
|
-
} | {
|
|
4505
|
-
kind: "edge";
|
|
4506
|
-
edge: {
|
|
4507
|
-
source: string;
|
|
4508
|
-
target: string;
|
|
4509
|
-
class: string;
|
|
4510
|
-
};
|
|
4511
|
-
slug?: unknown;
|
|
4512
|
-
props?: {
|
|
4513
|
-
equals: Record<string, unknown>;
|
|
4514
|
-
absent?: string[] | undefined;
|
|
4515
|
-
} | {
|
|
4516
|
-
absent: string[];
|
|
4517
|
-
} | undefined;
|
|
4518
|
-
} | {
|
|
4519
|
-
kind: "query";
|
|
4520
|
-
query: {
|
|
4521
|
-
format: "astrale.graph.query";
|
|
4522
|
-
version: "v6";
|
|
4523
|
-
source: {
|
|
4524
|
-
kind: "node";
|
|
4525
|
-
terms: ({
|
|
4526
|
-
kind: "path";
|
|
4527
|
-
path: string;
|
|
4528
|
-
} | {
|
|
4529
|
-
kind: "class";
|
|
4530
|
-
class: {
|
|
4531
|
-
origin: string;
|
|
4532
|
-
kind: "class";
|
|
4533
|
-
name: string;
|
|
4534
|
-
};
|
|
4535
|
-
})[];
|
|
4536
|
-
binding: string;
|
|
4537
|
-
} | {
|
|
4538
|
-
kind: "edge";
|
|
4539
|
-
terms: {
|
|
4540
|
-
kind: "class";
|
|
4541
|
-
class: {
|
|
4542
|
-
origin: string;
|
|
4543
|
-
kind: "class";
|
|
4544
|
-
name: string;
|
|
4545
|
-
};
|
|
4546
|
-
}[];
|
|
4547
|
-
bindings: {
|
|
4548
|
-
source: string;
|
|
4549
|
-
edge: string;
|
|
4550
|
-
target: string;
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
steps: ({
|
|
4554
|
-
op: "filter";
|
|
4555
|
-
binding: string;
|
|
4556
|
-
predicate: {
|
|
4557
|
-
kind: "class.satisfies";
|
|
4558
|
-
class: {
|
|
4559
|
-
origin: string;
|
|
4560
|
-
kind: "class";
|
|
4561
|
-
name: string;
|
|
4562
|
-
};
|
|
4563
|
-
} | {
|
|
4564
|
-
kind: "class.equal";
|
|
4565
|
-
class: {
|
|
4566
|
-
origin: string;
|
|
4567
|
-
kind: "class";
|
|
4568
|
-
name: string;
|
|
4569
|
-
};
|
|
4570
|
-
} | {
|
|
4571
|
-
kind: "property.equal";
|
|
4572
|
-
property: string;
|
|
4573
|
-
value: unknown;
|
|
4574
|
-
} | {
|
|
4575
|
-
kind: "property.present";
|
|
4576
|
-
property: string;
|
|
4577
|
-
} | {
|
|
4578
|
-
kind: "identity.equal";
|
|
4579
|
-
identity: string | {
|
|
4580
|
-
source: string;
|
|
4581
|
-
target: string;
|
|
4582
|
-
class: string;
|
|
4583
|
-
};
|
|
4584
|
-
};
|
|
4585
|
-
} | {
|
|
4586
|
-
op: "expand";
|
|
4587
|
-
from: string;
|
|
4588
|
-
via: {
|
|
4589
|
-
origin: string;
|
|
4590
|
-
kind: "class";
|
|
4591
|
-
name: string;
|
|
4592
|
-
}[];
|
|
4593
|
-
direction: "incident" | "incoming" | "outgoing";
|
|
4594
|
-
bindings: {
|
|
4595
|
-
edge: string;
|
|
4596
|
-
node: string;
|
|
4597
|
-
};
|
|
4598
|
-
})[];
|
|
4599
|
-
select: {
|
|
4600
|
-
kind: "graph";
|
|
4601
|
-
binding: string;
|
|
4602
|
-
order?: {
|
|
4603
|
-
property: string;
|
|
4604
|
-
direction: "asc" | "desc";
|
|
4605
|
-
unranked: "first" | "last";
|
|
4606
|
-
} | undefined;
|
|
4607
|
-
} | {
|
|
4608
|
-
kind: "nodes";
|
|
4609
|
-
binding: string;
|
|
4610
|
-
projection: {
|
|
4611
|
-
kind: "reference" | "value";
|
|
4612
|
-
};
|
|
4613
|
-
order?: {
|
|
4614
|
-
property: string;
|
|
4615
|
-
direction: "asc" | "desc";
|
|
4616
|
-
unranked: "first" | "last";
|
|
4617
|
-
} | undefined;
|
|
4618
|
-
} | {
|
|
4619
|
-
kind: "edges";
|
|
4620
|
-
binding: string;
|
|
4621
|
-
projection: {
|
|
4622
|
-
edge: "reference" | "value";
|
|
4623
|
-
source: "reference" | "value";
|
|
4624
|
-
target: "reference" | "value";
|
|
4625
|
-
};
|
|
4626
|
-
order?: {
|
|
4627
|
-
property: string;
|
|
4628
|
-
direction: "asc" | "desc";
|
|
4629
|
-
unranked: "first" | "last";
|
|
4630
|
-
} | undefined;
|
|
4631
|
-
};
|
|
4632
|
-
};
|
|
4633
|
-
equals: {
|
|
4634
|
-
kind: "node";
|
|
4635
|
-
ids: string[];
|
|
4636
|
-
} | {
|
|
4637
|
-
kind: "edge";
|
|
4638
|
-
keys: {
|
|
4639
|
-
source: string;
|
|
4640
|
-
target: string;
|
|
4641
|
-
class: string;
|
|
4642
|
-
}[];
|
|
4643
|
-
};
|
|
4644
|
-
})[];
|
|
4645
|
-
operations: ({
|
|
4646
|
-
op: "node.create";
|
|
4647
|
-
as: string;
|
|
4648
|
-
class: string;
|
|
4649
|
-
props: Record<string, unknown>;
|
|
4650
|
-
} | {
|
|
4651
|
-
op: "node.update";
|
|
4652
|
-
node: string;
|
|
4653
|
-
class: string;
|
|
4654
|
-
props: {
|
|
4655
|
-
set: Record<string, unknown>;
|
|
4656
|
-
unset: string[];
|
|
4657
|
-
};
|
|
4658
|
-
} | {
|
|
4659
|
-
op: "node.delete";
|
|
4660
|
-
node: string;
|
|
4661
|
-
class: string;
|
|
4662
|
-
} | {
|
|
4663
|
-
op: "edge.create";
|
|
4664
|
-
class: string;
|
|
4665
|
-
source: string | {
|
|
4666
|
-
created: string;
|
|
4667
|
-
};
|
|
4668
|
-
target: string | {
|
|
4669
|
-
created: string;
|
|
4670
|
-
};
|
|
4671
|
-
slug?: unknown;
|
|
4672
|
-
props: Record<string, unknown>;
|
|
4673
|
-
} | {
|
|
4674
|
-
op: "edge.update";
|
|
4675
|
-
edge: {
|
|
4676
|
-
source: string;
|
|
4677
|
-
target: string;
|
|
4678
|
-
class: string;
|
|
4679
|
-
};
|
|
4680
|
-
slug: unknown;
|
|
4681
|
-
props?: {
|
|
4682
|
-
set: Record<string, unknown>;
|
|
4683
|
-
unset: string[];
|
|
4684
|
-
} | undefined;
|
|
4685
|
-
} | {
|
|
4686
|
-
op: "edge.update";
|
|
4687
|
-
edge: {
|
|
4688
|
-
source: string;
|
|
4689
|
-
target: string;
|
|
4690
|
-
class: string;
|
|
4691
|
-
};
|
|
4692
|
-
props: {
|
|
4693
|
-
set: Record<string, unknown>;
|
|
4694
|
-
unset: string[];
|
|
4695
|
-
};
|
|
4696
|
-
} | {
|
|
4697
|
-
op: "edge.delete";
|
|
4698
|
-
edge: {
|
|
4699
|
-
source: string;
|
|
4700
|
-
target: string;
|
|
4701
|
-
class: string;
|
|
4702
|
-
};
|
|
4703
|
-
})[];
|
|
4704
|
-
};
|
|
4705
|
-
expected?: {
|
|
4706
|
-
origin: string;
|
|
4707
|
-
revision: string;
|
|
4708
|
-
}[] | undefined;
|
|
4944
|
+
idempotencyKey: string;
|
|
4945
|
+
identities: ({
|
|
4946
|
+
id: string;
|
|
4947
|
+
mode: "external";
|
|
4948
|
+
credential: string;
|
|
4949
|
+
} | {
|
|
4950
|
+
id: string;
|
|
4951
|
+
mode: "self";
|
|
4952
|
+
publicKey: unknown;
|
|
4953
|
+
credential: string;
|
|
4954
|
+
})[];
|
|
4709
4955
|
}, {
|
|
4710
4956
|
readonly mode: 'value';
|
|
4711
4957
|
readonly value: {
|
|
4712
|
-
|
|
4958
|
+
identities: {
|
|
4959
|
+
id: string;
|
|
4960
|
+
iss: string;
|
|
4961
|
+
sub: string;
|
|
4962
|
+
}[];
|
|
4713
4963
|
};
|
|
4714
4964
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4715
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
4965
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
|
|
4716
4966
|
readonly origin: "kernel.astrale.ai";
|
|
4717
4967
|
};
|
|
4718
|
-
readonly key: "kernel.astrale.ai:function.
|
|
4968
|
+
readonly key: "kernel.astrale.ai:function.register";
|
|
4719
4969
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4720
4970
|
ast: {
|
|
4721
4971
|
format: "astrale.graph.query";
|
|
@@ -4944,31 +5194,259 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
4944
5194
|
};
|
|
4945
5195
|
readonly key: "kernel.astrale.ai:function.query";
|
|
4946
5196
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
5197
|
+
ast: {
|
|
5198
|
+
format: "astrale.graph.mutation";
|
|
5199
|
+
version: "v3";
|
|
5200
|
+
preconditions: ({
|
|
5201
|
+
kind: "node";
|
|
5202
|
+
node: string;
|
|
5203
|
+
class: string;
|
|
5204
|
+
props?: {
|
|
5205
|
+
equals: Record<string, unknown>;
|
|
5206
|
+
absent?: string[] | undefined;
|
|
5207
|
+
} | {
|
|
5208
|
+
absent: string[];
|
|
5209
|
+
} | undefined;
|
|
5210
|
+
} | {
|
|
5211
|
+
kind: "edge";
|
|
5212
|
+
edge: {
|
|
5213
|
+
source: string;
|
|
5214
|
+
target: string;
|
|
5215
|
+
class: string;
|
|
5216
|
+
};
|
|
5217
|
+
slug?: unknown;
|
|
5218
|
+
props?: {
|
|
5219
|
+
equals: Record<string, unknown>;
|
|
5220
|
+
absent?: string[] | undefined;
|
|
5221
|
+
} | {
|
|
5222
|
+
absent: string[];
|
|
5223
|
+
} | undefined;
|
|
5224
|
+
} | {
|
|
5225
|
+
kind: "query";
|
|
5226
|
+
query: {
|
|
5227
|
+
format: "astrale.graph.query";
|
|
5228
|
+
version: "v6";
|
|
5229
|
+
source: {
|
|
5230
|
+
kind: "node";
|
|
5231
|
+
terms: ({
|
|
5232
|
+
kind: "path";
|
|
5233
|
+
path: string;
|
|
5234
|
+
} | {
|
|
5235
|
+
kind: "class";
|
|
5236
|
+
class: {
|
|
5237
|
+
origin: string;
|
|
5238
|
+
kind: "class";
|
|
5239
|
+
name: string;
|
|
5240
|
+
};
|
|
5241
|
+
})[];
|
|
5242
|
+
binding: string;
|
|
5243
|
+
} | {
|
|
5244
|
+
kind: "edge";
|
|
5245
|
+
terms: {
|
|
5246
|
+
kind: "class";
|
|
5247
|
+
class: {
|
|
5248
|
+
origin: string;
|
|
5249
|
+
kind: "class";
|
|
5250
|
+
name: string;
|
|
5251
|
+
};
|
|
5252
|
+
}[];
|
|
5253
|
+
bindings: {
|
|
5254
|
+
source: string;
|
|
5255
|
+
edge: string;
|
|
5256
|
+
target: string;
|
|
5257
|
+
};
|
|
5258
|
+
};
|
|
5259
|
+
steps: ({
|
|
5260
|
+
op: "filter";
|
|
5261
|
+
binding: string;
|
|
5262
|
+
predicate: {
|
|
5263
|
+
kind: "class.satisfies";
|
|
5264
|
+
class: {
|
|
5265
|
+
origin: string;
|
|
5266
|
+
kind: "class";
|
|
5267
|
+
name: string;
|
|
5268
|
+
};
|
|
5269
|
+
} | {
|
|
5270
|
+
kind: "class.equal";
|
|
5271
|
+
class: {
|
|
5272
|
+
origin: string;
|
|
5273
|
+
kind: "class";
|
|
5274
|
+
name: string;
|
|
5275
|
+
};
|
|
5276
|
+
} | {
|
|
5277
|
+
kind: "property.equal";
|
|
5278
|
+
property: string;
|
|
5279
|
+
value: unknown;
|
|
5280
|
+
} | {
|
|
5281
|
+
kind: "property.present";
|
|
5282
|
+
property: string;
|
|
5283
|
+
} | {
|
|
5284
|
+
kind: "identity.equal";
|
|
5285
|
+
identity: string | {
|
|
5286
|
+
source: string;
|
|
5287
|
+
target: string;
|
|
5288
|
+
class: string;
|
|
5289
|
+
};
|
|
5290
|
+
};
|
|
5291
|
+
} | {
|
|
5292
|
+
op: "expand";
|
|
5293
|
+
from: string;
|
|
5294
|
+
via: {
|
|
5295
|
+
origin: string;
|
|
5296
|
+
kind: "class";
|
|
5297
|
+
name: string;
|
|
5298
|
+
}[];
|
|
5299
|
+
direction: "incident" | "incoming" | "outgoing";
|
|
5300
|
+
bindings: {
|
|
5301
|
+
edge: string;
|
|
5302
|
+
node: string;
|
|
5303
|
+
};
|
|
5304
|
+
})[];
|
|
5305
|
+
select: {
|
|
5306
|
+
kind: "graph";
|
|
5307
|
+
binding: string;
|
|
5308
|
+
order?: {
|
|
5309
|
+
property: string;
|
|
5310
|
+
direction: "asc" | "desc";
|
|
5311
|
+
unranked: "first" | "last";
|
|
5312
|
+
} | undefined;
|
|
5313
|
+
} | {
|
|
5314
|
+
kind: "nodes";
|
|
5315
|
+
binding: string;
|
|
5316
|
+
projection: {
|
|
5317
|
+
kind: "reference" | "value";
|
|
5318
|
+
};
|
|
5319
|
+
order?: {
|
|
5320
|
+
property: string;
|
|
5321
|
+
direction: "asc" | "desc";
|
|
5322
|
+
unranked: "first" | "last";
|
|
5323
|
+
} | undefined;
|
|
5324
|
+
} | {
|
|
5325
|
+
kind: "edges";
|
|
5326
|
+
binding: string;
|
|
5327
|
+
projection: {
|
|
5328
|
+
edge: "reference" | "value";
|
|
5329
|
+
source: "reference" | "value";
|
|
5330
|
+
target: "reference" | "value";
|
|
5331
|
+
};
|
|
5332
|
+
order?: {
|
|
5333
|
+
property: string;
|
|
5334
|
+
direction: "asc" | "desc";
|
|
5335
|
+
unranked: "first" | "last";
|
|
5336
|
+
} | undefined;
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
5339
|
+
equals: {
|
|
5340
|
+
kind: "node";
|
|
5341
|
+
ids: string[];
|
|
5342
|
+
} | {
|
|
5343
|
+
kind: "edge";
|
|
5344
|
+
keys: {
|
|
5345
|
+
source: string;
|
|
5346
|
+
target: string;
|
|
5347
|
+
class: string;
|
|
5348
|
+
}[];
|
|
5349
|
+
};
|
|
5350
|
+
})[];
|
|
5351
|
+
operations: ({
|
|
5352
|
+
op: "node.create";
|
|
5353
|
+
as: string;
|
|
5354
|
+
class: string;
|
|
5355
|
+
props: Record<string, unknown>;
|
|
5356
|
+
} | {
|
|
5357
|
+
op: "node.update";
|
|
5358
|
+
node: string;
|
|
5359
|
+
class: string;
|
|
5360
|
+
props: {
|
|
5361
|
+
set: Record<string, unknown>;
|
|
5362
|
+
unset: string[];
|
|
5363
|
+
};
|
|
5364
|
+
} | {
|
|
5365
|
+
op: "node.delete";
|
|
5366
|
+
node: string;
|
|
5367
|
+
class: string;
|
|
5368
|
+
} | {
|
|
5369
|
+
op: "edge.create";
|
|
5370
|
+
class: string;
|
|
5371
|
+
source: string | {
|
|
5372
|
+
created: string;
|
|
5373
|
+
};
|
|
5374
|
+
target: string | {
|
|
5375
|
+
created: string;
|
|
5376
|
+
};
|
|
5377
|
+
slug?: unknown;
|
|
5378
|
+
props: Record<string, unknown>;
|
|
5379
|
+
} | {
|
|
5380
|
+
op: "edge.update";
|
|
5381
|
+
edge: {
|
|
5382
|
+
source: string;
|
|
5383
|
+
target: string;
|
|
5384
|
+
class: string;
|
|
5385
|
+
};
|
|
5386
|
+
slug: unknown;
|
|
5387
|
+
props?: {
|
|
5388
|
+
set: Record<string, unknown>;
|
|
5389
|
+
unset: string[];
|
|
5390
|
+
} | undefined;
|
|
5391
|
+
} | {
|
|
5392
|
+
op: "edge.update";
|
|
5393
|
+
edge: {
|
|
5394
|
+
source: string;
|
|
5395
|
+
target: string;
|
|
5396
|
+
class: string;
|
|
5397
|
+
};
|
|
5398
|
+
props: {
|
|
5399
|
+
set: Record<string, unknown>;
|
|
5400
|
+
unset: string[];
|
|
5401
|
+
};
|
|
5402
|
+
} | {
|
|
5403
|
+
op: "edge.delete";
|
|
5404
|
+
edge: {
|
|
5405
|
+
source: string;
|
|
5406
|
+
target: string;
|
|
5407
|
+
class: string;
|
|
5408
|
+
};
|
|
5409
|
+
})[];
|
|
5410
|
+
};
|
|
5411
|
+
expected?: {
|
|
5412
|
+
origin: string;
|
|
5413
|
+
revision: string;
|
|
5414
|
+
}[] | undefined;
|
|
4958
5415
|
}, {
|
|
4959
5416
|
readonly mode: 'value';
|
|
4960
5417
|
readonly value: {
|
|
4961
|
-
|
|
4962
|
-
id: string;
|
|
4963
|
-
iss: string;
|
|
4964
|
-
sub: string;
|
|
4965
|
-
}[];
|
|
5418
|
+
createdNodes: Record<string, string>;
|
|
4966
5419
|
};
|
|
4967
5420
|
}, "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<"
|
|
5421
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"mutate"> & {
|
|
4969
5422
|
readonly origin: "kernel.astrale.ai";
|
|
4970
5423
|
};
|
|
4971
|
-
readonly key: "kernel.astrale.ai:function.
|
|
5424
|
+
readonly key: "kernel.astrale.ai:function.mutate";
|
|
5425
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5426
|
+
operation: string;
|
|
5427
|
+
domains: ({
|
|
5428
|
+
artifact: {
|
|
5429
|
+
digest: string;
|
|
5430
|
+
mediaType: string;
|
|
5431
|
+
size: number;
|
|
5432
|
+
};
|
|
5433
|
+
currentRevision?: string | null | undefined;
|
|
5434
|
+
} | {
|
|
5435
|
+
publication: {
|
|
5436
|
+
url: string;
|
|
5437
|
+
token?: string | undefined;
|
|
5438
|
+
etag?: string | undefined;
|
|
5439
|
+
};
|
|
5440
|
+
revision?: string | undefined;
|
|
5441
|
+
currentRevision?: string | null | undefined;
|
|
5442
|
+
})[];
|
|
5443
|
+
}, {
|
|
5444
|
+
readonly mode: 'binary';
|
|
5445
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5446
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
5447
|
+
readonly origin: "kernel.astrale.ai";
|
|
5448
|
+
};
|
|
5449
|
+
readonly key: "kernel.astrale.ai:function.install";
|
|
4972
5450
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4973
5451
|
operation: string;
|
|
4974
5452
|
domains: string[];
|
|
@@ -5014,6 +5492,17 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5014
5492
|
readonly origin: "kernel.astrale.ai";
|
|
5015
5493
|
};
|
|
5016
5494
|
readonly key: "kernel.astrale.ai:function.uninstall";
|
|
5495
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5496
|
+
audience?: string | undefined;
|
|
5497
|
+
ttlSeconds: number;
|
|
5498
|
+
grant?: unknown;
|
|
5499
|
+
identity: string;
|
|
5500
|
+
}, {
|
|
5501
|
+
readonly mode: 'value';
|
|
5502
|
+
readonly value: string;
|
|
5503
|
+
}, 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"> & {
|
|
5504
|
+
readonly name: "impersonate";
|
|
5505
|
+
readonly executable: true;
|
|
5017
5506
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5018
5507
|
target: string;
|
|
5019
5508
|
}, {
|
|
@@ -5041,6 +5530,13 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5041
5530
|
sandbox?: string[] | undefined;
|
|
5042
5531
|
allow?: string[] | undefined;
|
|
5043
5532
|
} | undefined;
|
|
5533
|
+
host?: {
|
|
5534
|
+
navigation: {
|
|
5535
|
+
external: {
|
|
5536
|
+
origins: string[];
|
|
5537
|
+
};
|
|
5538
|
+
};
|
|
5539
|
+
} | undefined;
|
|
5044
5540
|
issuer: string;
|
|
5045
5541
|
etag: string;
|
|
5046
5542
|
revision: string;
|