@astrale-domains/issues 0.7.4 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/schema/schema.d.ts +914 -0
- package/dist/schema/schema.js +2 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
It is an Astrale Application with Schema Policies, receiver Methods, atomic Mutations, and an
|
|
5
5
|
inbox-first Shell View.
|
|
6
6
|
|
|
7
|
-
The
|
|
8
|
-
|
|
7
|
+
Collaboration edges target any `Identity` subtype. The Schema depends on Kernel, and on Shell only
|
|
8
|
+
to name the people it holds by their Shell profile; Shell is not a source of Core group data.
|
|
9
9
|
|
|
10
10
|
```text
|
|
11
11
|
Project
|
|
@@ -137,8 +137,12 @@ the Node, or uninstalling its Domain destructively, removes the links with it.
|
|
|
137
137
|
|
|
138
138
|
The mounted View is one full-width application under a top bar: Inbox, Issues and Projects, a
|
|
139
139
|
Project switcher that every screen keeps in its URL, a command palette (`⌘K`), New issue (`N`) and search (`/`).
|
|
140
|
-
Every screen, filter and Issue has its own URL. People appear as "You" for the caller and
|
|
141
|
-
|
|
140
|
+
Every screen, filter and Issue has its own URL. People appear as "You" for the caller and by the
|
|
141
|
+
first and last name of their Shell profile for anyone else, else the name the profile carries. A
|
|
142
|
+
profile is read under the caller's authority, within the Shell accounts and profiles the Domain is
|
|
143
|
+
granted at installation, so a Shell workspace member reads everyone's; an Identity that is not a
|
|
144
|
+
Shell account, or whose profile the caller may not read, appears as a short id. A screen reads the
|
|
145
|
+
names of the people it shows once, beyond those the screens around it already read.
|
|
142
146
|
|
|
143
147
|
- **Inbox** triages one open Issue at a time, highest priority first: Accept and Close (`A`,
|
|
144
148
|
`C`) move to the next Issue at once, and a refused triage puts the Issue back. The
|
package/dist/schema/schema.d.ts
CHANGED
|
@@ -803,6 +803,920 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
803
803
|
readonly views: {
|
|
804
804
|
readonly application: import("@astrale-os/sdk/schema").View;
|
|
805
805
|
};
|
|
806
|
+
}, {
|
|
807
|
+
readonly kernel: "kernel.astrale.ai";
|
|
808
|
+
readonly shell: "shell.astrale.ai";
|
|
809
|
+
}] | readonly ["shell.astrale.ai", {
|
|
810
|
+
readonly name: 'Shell';
|
|
811
|
+
readonly icon: import("@astrale-os/sdk/schema").DomainIcon;
|
|
812
|
+
readonly entrypoint: 'application';
|
|
813
|
+
readonly classes: {
|
|
814
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
815
|
+
readonly depth: 0;
|
|
816
|
+
readonly abstract: false;
|
|
817
|
+
readonly extends: readonly [];
|
|
818
|
+
readonly properties: never;
|
|
819
|
+
readonly source: {
|
|
820
|
+
readonly as: "member";
|
|
821
|
+
readonly accepts: readonly (() => {
|
|
822
|
+
readonly kind: 'node';
|
|
823
|
+
readonly abstract: never;
|
|
824
|
+
readonly depth: never;
|
|
825
|
+
readonly properties: never;
|
|
826
|
+
readonly methods: never;
|
|
827
|
+
})[];
|
|
828
|
+
readonly outgoing: "0..*";
|
|
829
|
+
};
|
|
830
|
+
readonly target: {
|
|
831
|
+
readonly as: "group";
|
|
832
|
+
readonly accepts: readonly (() => {
|
|
833
|
+
readonly kind: 'node';
|
|
834
|
+
readonly abstract: never;
|
|
835
|
+
readonly depth: never;
|
|
836
|
+
readonly properties: never;
|
|
837
|
+
readonly methods: never;
|
|
838
|
+
})[];
|
|
839
|
+
readonly incoming: "0..*";
|
|
840
|
+
};
|
|
841
|
+
readonly constraints: Record<never, never>;
|
|
842
|
+
readonly effectiveProperties: never;
|
|
843
|
+
}>;
|
|
844
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
845
|
+
readonly depth: 0;
|
|
846
|
+
readonly abstract: false;
|
|
847
|
+
readonly extends: readonly [];
|
|
848
|
+
readonly properties: never;
|
|
849
|
+
readonly source: {
|
|
850
|
+
readonly as: "audience";
|
|
851
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
|
|
852
|
+
readonly origin: "kernel.astrale.ai";
|
|
853
|
+
})[];
|
|
854
|
+
readonly outgoing: "0..*";
|
|
855
|
+
};
|
|
856
|
+
readonly target: {
|
|
857
|
+
readonly as: "view";
|
|
858
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
859
|
+
readonly origin: "kernel.astrale.ai";
|
|
860
|
+
})[];
|
|
861
|
+
readonly incoming: "0..*";
|
|
862
|
+
};
|
|
863
|
+
readonly constraints: Record<never, never>;
|
|
864
|
+
readonly effectiveProperties: never;
|
|
865
|
+
}>;
|
|
866
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
867
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
868
|
+
readonly inheritance: "open";
|
|
869
|
+
readonly abstract: false;
|
|
870
|
+
readonly description: "The account of one person in the workspace.";
|
|
871
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Iconable">];
|
|
872
|
+
readonly properties: {
|
|
873
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
874
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
875
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
876
|
+
readonly suspended: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
877
|
+
readonly directoryActive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
878
|
+
readonly name: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
879
|
+
readonly type: "string";
|
|
880
|
+
readonly minLength: 1;
|
|
881
|
+
readonly maxLength: 100;
|
|
882
|
+
}, {
|
|
883
|
+
readonly required: false;
|
|
884
|
+
}>;
|
|
885
|
+
readonly email: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
886
|
+
readonly type: "string";
|
|
887
|
+
readonly minLength: 3;
|
|
888
|
+
readonly maxLength: 320;
|
|
889
|
+
}, {
|
|
890
|
+
readonly required: false;
|
|
891
|
+
}>;
|
|
892
|
+
readonly givenName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
893
|
+
readonly type: 'string';
|
|
894
|
+
readonly minLength: 1;
|
|
895
|
+
readonly maxLength: number;
|
|
896
|
+
}, {
|
|
897
|
+
readonly required: false;
|
|
898
|
+
}>;
|
|
899
|
+
readonly familyName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
900
|
+
readonly type: 'string';
|
|
901
|
+
readonly minLength: 1;
|
|
902
|
+
readonly maxLength: number;
|
|
903
|
+
}, {
|
|
904
|
+
readonly required: false;
|
|
905
|
+
}>;
|
|
906
|
+
readonly directory: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
907
|
+
readonly type: 'string';
|
|
908
|
+
readonly minLength: 1;
|
|
909
|
+
readonly maxLength: number;
|
|
910
|
+
}, {
|
|
911
|
+
readonly required: false;
|
|
912
|
+
}>;
|
|
913
|
+
readonly externalId: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
914
|
+
readonly type: 'string';
|
|
915
|
+
readonly minLength: 1;
|
|
916
|
+
readonly maxLength: number;
|
|
917
|
+
}, {
|
|
918
|
+
readonly required: false;
|
|
919
|
+
}>;
|
|
920
|
+
readonly attributes: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
921
|
+
readonly type: "object";
|
|
922
|
+
readonly additionalProperties: true;
|
|
923
|
+
readonly maxProperties: 64;
|
|
924
|
+
}, {
|
|
925
|
+
readonly required: false;
|
|
926
|
+
}>;
|
|
927
|
+
};
|
|
928
|
+
readonly policies: {
|
|
929
|
+
readonly read: true;
|
|
930
|
+
readonly traverse: true;
|
|
931
|
+
};
|
|
932
|
+
readonly methods: {
|
|
933
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
934
|
+
operationId?: string | undefined;
|
|
935
|
+
email: string;
|
|
936
|
+
name: string;
|
|
937
|
+
givenName?: string | undefined;
|
|
938
|
+
familyName?: string | undefined;
|
|
939
|
+
attributes?: Record<string, unknown> | undefined;
|
|
940
|
+
}, {
|
|
941
|
+
readonly mode: 'value';
|
|
942
|
+
readonly value: {
|
|
943
|
+
user: string;
|
|
944
|
+
created: boolean;
|
|
945
|
+
};
|
|
946
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
947
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
948
|
+
email?: string | undefined;
|
|
949
|
+
user: string;
|
|
950
|
+
profile?: "admin" | "member" | undefined;
|
|
951
|
+
}, {
|
|
952
|
+
readonly mode: 'value';
|
|
953
|
+
readonly value: {
|
|
954
|
+
invitationId: string;
|
|
955
|
+
user: string;
|
|
956
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
957
|
+
};
|
|
958
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
959
|
+
readonly update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
960
|
+
name?: string | undefined;
|
|
961
|
+
email?: string | undefined;
|
|
962
|
+
givenName?: string | null | undefined;
|
|
963
|
+
familyName?: string | null | undefined;
|
|
964
|
+
icon?: string | null | undefined;
|
|
965
|
+
image?: language.values.BlobReceipt | undefined;
|
|
966
|
+
removeImage?: true | undefined;
|
|
967
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
968
|
+
}, {
|
|
969
|
+
readonly mode: 'value';
|
|
970
|
+
readonly value: Record<string, never>;
|
|
971
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
972
|
+
readonly updateProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
973
|
+
name?: string | undefined;
|
|
974
|
+
icon?: string | null | undefined;
|
|
975
|
+
image?: language.values.BlobReceipt | undefined;
|
|
976
|
+
removeImage?: true | undefined;
|
|
977
|
+
}, {
|
|
978
|
+
readonly mode: 'value';
|
|
979
|
+
readonly value: Record<string, never>;
|
|
980
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
981
|
+
readonly saveSettings: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
982
|
+
set?: Record<string, unknown> | undefined;
|
|
983
|
+
unset?: string[] | undefined;
|
|
984
|
+
}, {
|
|
985
|
+
readonly mode: 'value';
|
|
986
|
+
readonly value: {
|
|
987
|
+
settings: Record<string, unknown>;
|
|
988
|
+
};
|
|
989
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
990
|
+
readonly recordSignIn: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
991
|
+
givenName?: string | undefined;
|
|
992
|
+
familyName?: string | undefined;
|
|
993
|
+
image?: language.values.BlobReceipt | undefined;
|
|
994
|
+
imageUrl?: string | undefined;
|
|
995
|
+
}, {
|
|
996
|
+
readonly mode: 'value';
|
|
997
|
+
readonly value: Record<string, never>;
|
|
998
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
999
|
+
readonly deactivate: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1000
|
+
readonly mode: 'value';
|
|
1001
|
+
readonly value: Record<string, never>;
|
|
1002
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1003
|
+
readonly reactivate: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1004
|
+
readonly mode: 'value';
|
|
1005
|
+
readonly value: Record<string, never>;
|
|
1006
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1007
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1008
|
+
readonly mode: 'value';
|
|
1009
|
+
readonly value: Record<string, never>;
|
|
1010
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1011
|
+
readonly provision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1012
|
+
directory: string;
|
|
1013
|
+
externalId: string;
|
|
1014
|
+
email: string;
|
|
1015
|
+
name: string;
|
|
1016
|
+
givenName?: string | undefined;
|
|
1017
|
+
familyName?: string | undefined;
|
|
1018
|
+
active: boolean;
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly mode: 'value';
|
|
1021
|
+
readonly value: {
|
|
1022
|
+
user: string;
|
|
1023
|
+
created: boolean;
|
|
1024
|
+
adopted: boolean;
|
|
1025
|
+
};
|
|
1026
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1027
|
+
readonly deprovision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1028
|
+
directory: string;
|
|
1029
|
+
externalId: string;
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly mode: 'value';
|
|
1032
|
+
readonly value: Record<string, never>;
|
|
1033
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1034
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1035
|
+
email?: string | undefined;
|
|
1036
|
+
displayName?: string | undefined;
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly mode: 'value';
|
|
1039
|
+
readonly value: Record<string, never>;
|
|
1040
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1041
|
+
};
|
|
1042
|
+
}>;
|
|
1043
|
+
readonly UserProfile: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1044
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1045
|
+
readonly inheritance: "final";
|
|
1046
|
+
readonly abstract: false;
|
|
1047
|
+
readonly description: "What others see of a person: name, email and picture.";
|
|
1048
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">];
|
|
1049
|
+
readonly properties: {
|
|
1050
|
+
givenName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1051
|
+
readonly type: 'string';
|
|
1052
|
+
readonly minLength: 1;
|
|
1053
|
+
readonly maxLength: number;
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly required: false;
|
|
1056
|
+
}>;
|
|
1057
|
+
familyName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1058
|
+
readonly type: 'string';
|
|
1059
|
+
readonly minLength: 1;
|
|
1060
|
+
readonly maxLength: number;
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly required: false;
|
|
1063
|
+
}>;
|
|
1064
|
+
email: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1065
|
+
readonly type: "string";
|
|
1066
|
+
readonly minLength: 3;
|
|
1067
|
+
readonly maxLength: 100;
|
|
1068
|
+
}, {
|
|
1069
|
+
readonly required: false;
|
|
1070
|
+
}>;
|
|
1071
|
+
image: import("@astrale-os/sdk/schema").AuthoredProperty<language.values.BlobSchema, {
|
|
1072
|
+
readonly required: false;
|
|
1073
|
+
}>;
|
|
1074
|
+
imageSource: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1075
|
+
readonly type: "string";
|
|
1076
|
+
readonly enum: readonly ["sign-in", "chosen"];
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly required: false;
|
|
1079
|
+
}>;
|
|
1080
|
+
imageSignInUrl: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1081
|
+
readonly type: 'string';
|
|
1082
|
+
readonly minLength: 1;
|
|
1083
|
+
readonly maxLength: number;
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly required: false;
|
|
1086
|
+
}>;
|
|
1087
|
+
};
|
|
1088
|
+
readonly unique: readonly [readonly ["email"]];
|
|
1089
|
+
readonly policies: {
|
|
1090
|
+
readonly read: ({ anyOf, check, ref, self }: import("@astrale-os/sdk/schema").ClassRuleContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").ClassRuleObject>;
|
|
1091
|
+
readonly traverse: true;
|
|
1092
|
+
};
|
|
1093
|
+
}>;
|
|
1094
|
+
readonly user_profile: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1095
|
+
readonly depth: 0;
|
|
1096
|
+
readonly abstract: false;
|
|
1097
|
+
readonly extends: readonly [];
|
|
1098
|
+
readonly properties: never;
|
|
1099
|
+
readonly source: {
|
|
1100
|
+
readonly as: "user";
|
|
1101
|
+
readonly accepts: readonly {
|
|
1102
|
+
readonly kind: 'node';
|
|
1103
|
+
readonly abstract: false;
|
|
1104
|
+
readonly depth: 1;
|
|
1105
|
+
readonly properties: "attributes" | "claimedEmail" | "claimedName" | "creationKey" | "directory" | "directoryActive" | "email" | "externalId" | "familyName" | "frozen" | "givenName" | "icon" | "iss" | "name" | "sub" | "suspended";
|
|
1106
|
+
readonly methods: "create" | "deactivate" | "delete" | "deprovision" | "invite" | "provision" | "reactivate" | "recordProfile" | "recordSignIn" | "saveSettings" | "update" | "updateProfile";
|
|
1107
|
+
}[];
|
|
1108
|
+
readonly outgoing: "0..1";
|
|
1109
|
+
};
|
|
1110
|
+
readonly target: {
|
|
1111
|
+
readonly as: "profile";
|
|
1112
|
+
readonly accepts: readonly {
|
|
1113
|
+
readonly kind: 'node';
|
|
1114
|
+
readonly abstract: false;
|
|
1115
|
+
readonly depth: 1;
|
|
1116
|
+
readonly properties: "email" | "familyName" | "givenName" | "image" | "imageSignInUrl" | "imageSource" | "name";
|
|
1117
|
+
readonly methods: never;
|
|
1118
|
+
}[];
|
|
1119
|
+
readonly incoming: "0..1";
|
|
1120
|
+
};
|
|
1121
|
+
readonly constraints: Record<never, never>;
|
|
1122
|
+
readonly effectiveProperties: never;
|
|
1123
|
+
}>;
|
|
1124
|
+
readonly UserSettings: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1125
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1126
|
+
readonly inheritance: "final";
|
|
1127
|
+
readonly abstract: false;
|
|
1128
|
+
readonly description: "One person's own settings, which follow it from one device to another.";
|
|
1129
|
+
readonly properties: {
|
|
1130
|
+
settings: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1131
|
+
readonly type: "object";
|
|
1132
|
+
readonly additionalProperties: true;
|
|
1133
|
+
readonly maxProperties: 64;
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly required: false;
|
|
1136
|
+
}>;
|
|
1137
|
+
revision: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1138
|
+
readonly type: "integer";
|
|
1139
|
+
readonly minimum: 0;
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly required: false;
|
|
1142
|
+
}>;
|
|
1143
|
+
};
|
|
1144
|
+
readonly policies: {
|
|
1145
|
+
readonly read: ({ check, self }: import("@astrale-os/sdk/schema").ClassRuleContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").ClassRuleObject>;
|
|
1146
|
+
readonly traverse: true;
|
|
1147
|
+
};
|
|
1148
|
+
}>;
|
|
1149
|
+
readonly user_settings: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1150
|
+
readonly depth: 0;
|
|
1151
|
+
readonly abstract: false;
|
|
1152
|
+
readonly extends: readonly [];
|
|
1153
|
+
readonly properties: never;
|
|
1154
|
+
readonly source: {
|
|
1155
|
+
readonly as: "user";
|
|
1156
|
+
readonly accepts: readonly {
|
|
1157
|
+
readonly kind: 'node';
|
|
1158
|
+
readonly abstract: false;
|
|
1159
|
+
readonly depth: 1;
|
|
1160
|
+
readonly properties: "attributes" | "claimedEmail" | "claimedName" | "creationKey" | "directory" | "directoryActive" | "email" | "externalId" | "familyName" | "frozen" | "givenName" | "icon" | "iss" | "name" | "sub" | "suspended";
|
|
1161
|
+
readonly methods: "create" | "deactivate" | "delete" | "deprovision" | "invite" | "provision" | "reactivate" | "recordProfile" | "recordSignIn" | "saveSettings" | "update" | "updateProfile";
|
|
1162
|
+
}[];
|
|
1163
|
+
readonly outgoing: "0..1";
|
|
1164
|
+
};
|
|
1165
|
+
readonly target: {
|
|
1166
|
+
readonly as: "settings";
|
|
1167
|
+
readonly accepts: readonly {
|
|
1168
|
+
readonly kind: 'node';
|
|
1169
|
+
readonly abstract: false;
|
|
1170
|
+
readonly depth: 0;
|
|
1171
|
+
readonly properties: "revision" | "settings";
|
|
1172
|
+
readonly methods: never;
|
|
1173
|
+
}[];
|
|
1174
|
+
readonly incoming: "0..1";
|
|
1175
|
+
};
|
|
1176
|
+
readonly constraints: Record<never, never>;
|
|
1177
|
+
readonly effectiveProperties: never;
|
|
1178
|
+
}>;
|
|
1179
|
+
readonly WorkspaceSettings: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1180
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1181
|
+
readonly inheritance: "final";
|
|
1182
|
+
readonly abstract: false;
|
|
1183
|
+
readonly description: "The settings of the workspace: its defaults and its customization.";
|
|
1184
|
+
readonly properties: {
|
|
1185
|
+
settings: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1186
|
+
readonly type: "object";
|
|
1187
|
+
readonly additionalProperties: true;
|
|
1188
|
+
readonly maxProperties: 64;
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly required: false;
|
|
1191
|
+
}>;
|
|
1192
|
+
revision: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1193
|
+
readonly type: "integer";
|
|
1194
|
+
readonly minimum: 0;
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly required: false;
|
|
1197
|
+
}>;
|
|
1198
|
+
};
|
|
1199
|
+
readonly policies: {
|
|
1200
|
+
readonly read: true;
|
|
1201
|
+
readonly traverse: true;
|
|
1202
|
+
};
|
|
1203
|
+
readonly methods: {
|
|
1204
|
+
readonly save: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1205
|
+
set?: Record<string, unknown> | undefined;
|
|
1206
|
+
unset?: string[] | undefined;
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly mode: 'value';
|
|
1209
|
+
readonly value: {
|
|
1210
|
+
settings: Record<string, unknown>;
|
|
1211
|
+
};
|
|
1212
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1213
|
+
};
|
|
1214
|
+
}>;
|
|
1215
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1216
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1217
|
+
readonly inheritance: "open";
|
|
1218
|
+
readonly abstract: false;
|
|
1219
|
+
readonly description: "A set of accounts and groups; its members hold what it holds.";
|
|
1220
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">, import("@astrale-os/sdk/schema").KernelClass<"Iconable">];
|
|
1221
|
+
readonly properties: {
|
|
1222
|
+
directory: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1223
|
+
readonly type: 'string';
|
|
1224
|
+
readonly minLength: 1;
|
|
1225
|
+
readonly maxLength: 200;
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly required: false;
|
|
1228
|
+
}>;
|
|
1229
|
+
externalId: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1230
|
+
readonly type: 'string';
|
|
1231
|
+
readonly minLength: 1;
|
|
1232
|
+
readonly maxLength: 200;
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly required: false;
|
|
1235
|
+
}>;
|
|
1236
|
+
attributes: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1237
|
+
readonly type: "object";
|
|
1238
|
+
readonly additionalProperties: true;
|
|
1239
|
+
readonly maxProperties: 64;
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly required: false;
|
|
1242
|
+
}>;
|
|
1243
|
+
};
|
|
1244
|
+
readonly policies: {
|
|
1245
|
+
readonly read: true;
|
|
1246
|
+
readonly traverse: true;
|
|
1247
|
+
};
|
|
1248
|
+
readonly methods: {
|
|
1249
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1250
|
+
name: string;
|
|
1251
|
+
description?: string | undefined;
|
|
1252
|
+
icon?: string | null | undefined;
|
|
1253
|
+
attributes?: Record<string, unknown> | undefined;
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly mode: 'value';
|
|
1256
|
+
readonly value: {
|
|
1257
|
+
group: string;
|
|
1258
|
+
};
|
|
1259
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1260
|
+
readonly update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1261
|
+
name?: string | undefined;
|
|
1262
|
+
description?: string | null | undefined;
|
|
1263
|
+
icon?: string | null | undefined;
|
|
1264
|
+
image?: language.values.BlobReceipt | undefined;
|
|
1265
|
+
removeImage?: true | undefined;
|
|
1266
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly mode: 'value';
|
|
1269
|
+
readonly value: Record<string, never>;
|
|
1270
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1271
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1272
|
+
readonly mode: 'value';
|
|
1273
|
+
readonly value: Record<string, never>;
|
|
1274
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1275
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1276
|
+
member: string;
|
|
1277
|
+
group: string;
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly mode: 'value';
|
|
1280
|
+
readonly value: Record<string, never>;
|
|
1281
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1282
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1283
|
+
member: string;
|
|
1284
|
+
group: string;
|
|
1285
|
+
}, {
|
|
1286
|
+
readonly mode: 'value';
|
|
1287
|
+
readonly value: Record<string, never>;
|
|
1288
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1289
|
+
readonly assignMembers: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1290
|
+
members: string[];
|
|
1291
|
+
group: string;
|
|
1292
|
+
}, {
|
|
1293
|
+
readonly mode: 'value';
|
|
1294
|
+
readonly value: Record<string, never>;
|
|
1295
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1296
|
+
readonly unassignMembers: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1297
|
+
members: string[];
|
|
1298
|
+
group: string;
|
|
1299
|
+
}, {
|
|
1300
|
+
readonly mode: 'value';
|
|
1301
|
+
readonly value: Record<string, never>;
|
|
1302
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1303
|
+
readonly provision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1304
|
+
directory: string;
|
|
1305
|
+
externalId: string;
|
|
1306
|
+
name: string;
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly mode: 'value';
|
|
1309
|
+
readonly value: {
|
|
1310
|
+
group: string;
|
|
1311
|
+
created: boolean;
|
|
1312
|
+
};
|
|
1313
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1314
|
+
readonly deprovision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1315
|
+
directory: string;
|
|
1316
|
+
externalId: string;
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly mode: 'value';
|
|
1319
|
+
readonly value: Record<string, never>;
|
|
1320
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1321
|
+
};
|
|
1322
|
+
}>;
|
|
1323
|
+
readonly GroupProfile: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1324
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1325
|
+
readonly inheritance: "final";
|
|
1326
|
+
readonly abstract: false;
|
|
1327
|
+
readonly description: "What others see of a group: name, description and picture.";
|
|
1328
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1329
|
+
readonly properties: {
|
|
1330
|
+
image: import("@astrale-os/sdk/schema").AuthoredProperty<language.values.BlobSchema, {
|
|
1331
|
+
readonly required: false;
|
|
1332
|
+
}>;
|
|
1333
|
+
};
|
|
1334
|
+
readonly policies: {
|
|
1335
|
+
readonly read: ({ anyOf, check, ref, self }: import("@astrale-os/sdk/schema").ClassRuleContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").ClassRuleObject>;
|
|
1336
|
+
readonly traverse: true;
|
|
1337
|
+
};
|
|
1338
|
+
}>;
|
|
1339
|
+
readonly group_profile: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1340
|
+
readonly depth: 0;
|
|
1341
|
+
readonly abstract: false;
|
|
1342
|
+
readonly extends: readonly [];
|
|
1343
|
+
readonly properties: never;
|
|
1344
|
+
readonly source: {
|
|
1345
|
+
readonly as: "group";
|
|
1346
|
+
readonly accepts: readonly {
|
|
1347
|
+
readonly kind: 'node';
|
|
1348
|
+
readonly abstract: false;
|
|
1349
|
+
readonly depth: 1;
|
|
1350
|
+
readonly properties: "attributes" | "description" | "directory" | "externalId" | "frozen" | "icon" | "iss" | "name" | "sub";
|
|
1351
|
+
readonly methods: "assignMember" | "assignMembers" | "create" | "delete" | "deprovision" | "provision" | "unassignMember" | "unassignMembers" | "update";
|
|
1352
|
+
}[];
|
|
1353
|
+
readonly outgoing: "0..1";
|
|
1354
|
+
};
|
|
1355
|
+
readonly target: {
|
|
1356
|
+
readonly as: "profile";
|
|
1357
|
+
readonly accepts: readonly {
|
|
1358
|
+
readonly kind: 'node';
|
|
1359
|
+
readonly abstract: false;
|
|
1360
|
+
readonly depth: 1;
|
|
1361
|
+
readonly properties: "description" | "image" | "name";
|
|
1362
|
+
readonly methods: never;
|
|
1363
|
+
}[];
|
|
1364
|
+
readonly incoming: "0..1";
|
|
1365
|
+
};
|
|
1366
|
+
readonly constraints: Record<never, never>;
|
|
1367
|
+
readonly effectiveProperties: never;
|
|
1368
|
+
}>;
|
|
1369
|
+
readonly ServiceAccount: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1370
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1371
|
+
readonly inheritance: "final";
|
|
1372
|
+
readonly abstract: false;
|
|
1373
|
+
readonly description: "A non-human account that signs in with a key pair.";
|
|
1374
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Timestamped">];
|
|
1375
|
+
readonly properties: {};
|
|
1376
|
+
readonly policies: {
|
|
1377
|
+
readonly read: ({ anyOf, check, ref, self }: import("@astrale-os/sdk/schema").ClassRuleContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").ClassRuleObject>;
|
|
1378
|
+
readonly traverse: true;
|
|
1379
|
+
};
|
|
1380
|
+
readonly methods: {
|
|
1381
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1382
|
+
name: string;
|
|
1383
|
+
publicKey: Record<string, unknown>;
|
|
1384
|
+
proof: string;
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly mode: 'value';
|
|
1387
|
+
readonly value: {
|
|
1388
|
+
account: string;
|
|
1389
|
+
issuer: string;
|
|
1390
|
+
subject: string;
|
|
1391
|
+
};
|
|
1392
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1393
|
+
readonly deactivate: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1394
|
+
readonly mode: 'value';
|
|
1395
|
+
readonly value: Record<string, never>;
|
|
1396
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1397
|
+
readonly reactivate: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1398
|
+
readonly mode: 'value';
|
|
1399
|
+
readonly value: Record<string, never>;
|
|
1400
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1401
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1402
|
+
readonly mode: 'value';
|
|
1403
|
+
readonly value: Record<string, never>;
|
|
1404
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1405
|
+
};
|
|
1406
|
+
}>;
|
|
1407
|
+
readonly service_account_creator: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1408
|
+
readonly depth: 0;
|
|
1409
|
+
readonly abstract: false;
|
|
1410
|
+
readonly extends: readonly [];
|
|
1411
|
+
readonly properties: never;
|
|
1412
|
+
readonly source: {
|
|
1413
|
+
readonly as: "account";
|
|
1414
|
+
readonly accepts: readonly {
|
|
1415
|
+
readonly kind: 'node';
|
|
1416
|
+
readonly abstract: false;
|
|
1417
|
+
readonly depth: 1;
|
|
1418
|
+
readonly properties: "createdAt" | "frozen" | "iss" | "name" | "sub" | "updatedAt";
|
|
1419
|
+
readonly methods: "create" | "deactivate" | "delete" | "reactivate";
|
|
1420
|
+
}[];
|
|
1421
|
+
readonly outgoing: "0..1";
|
|
1422
|
+
};
|
|
1423
|
+
readonly target: {
|
|
1424
|
+
readonly as: "creator";
|
|
1425
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
|
|
1426
|
+
readonly origin: "kernel.astrale.ai";
|
|
1427
|
+
})[];
|
|
1428
|
+
readonly incoming: "0..*";
|
|
1429
|
+
};
|
|
1430
|
+
readonly constraints: Record<never, never>;
|
|
1431
|
+
readonly effectiveProperties: never;
|
|
1432
|
+
}>;
|
|
1433
|
+
readonly Invitation: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1434
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1435
|
+
readonly inheritance: "final";
|
|
1436
|
+
readonly abstract: false;
|
|
1437
|
+
readonly description: "One invitation of an account, until it is accepted, cancelled or expired.";
|
|
1438
|
+
readonly properties: {
|
|
1439
|
+
status: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1440
|
+
readonly type: "string";
|
|
1441
|
+
readonly enum: readonly ["pending", "accepted", "cancelled", "expired"];
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly required?: boolean;
|
|
1444
|
+
readonly description?: string;
|
|
1445
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1446
|
+
}>;
|
|
1447
|
+
expiresAt: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1448
|
+
readonly type: "string";
|
|
1449
|
+
readonly minLength: 20;
|
|
1450
|
+
readonly maxLength: 40;
|
|
1451
|
+
}, {
|
|
1452
|
+
readonly required?: boolean;
|
|
1453
|
+
readonly description?: string;
|
|
1454
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1455
|
+
}>;
|
|
1456
|
+
execution: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1457
|
+
readonly type: "string";
|
|
1458
|
+
readonly minLength: 1;
|
|
1459
|
+
readonly maxLength: 200;
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly required?: boolean;
|
|
1462
|
+
readonly description?: string;
|
|
1463
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1464
|
+
}>;
|
|
1465
|
+
round: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1466
|
+
readonly type: "integer";
|
|
1467
|
+
readonly minimum: 0;
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly required?: boolean;
|
|
1470
|
+
readonly description?: string;
|
|
1471
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1472
|
+
}>;
|
|
1473
|
+
email: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1474
|
+
readonly type: "string";
|
|
1475
|
+
readonly minLength: 3;
|
|
1476
|
+
readonly maxLength: 320;
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly required: false;
|
|
1479
|
+
}>;
|
|
1480
|
+
};
|
|
1481
|
+
readonly policies: {
|
|
1482
|
+
readonly read: ({ check, ref }: import("@astrale-os/sdk/schema").ClassRuleContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").ClassRuleObject>;
|
|
1483
|
+
readonly traverse: true;
|
|
1484
|
+
};
|
|
1485
|
+
readonly methods: {
|
|
1486
|
+
readonly send: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1487
|
+
user: string;
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly mode: 'value';
|
|
1490
|
+
readonly value: {
|
|
1491
|
+
status: "accepted" | "cancelled" | "expired" | "pending";
|
|
1492
|
+
};
|
|
1493
|
+
}, "authorized", true, false, {
|
|
1494
|
+
readonly durable: true;
|
|
1495
|
+
}, undefined>>;
|
|
1496
|
+
readonly resend: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1497
|
+
readonly mode: 'value';
|
|
1498
|
+
readonly value: Record<string, never>;
|
|
1499
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1500
|
+
readonly cancel: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1501
|
+
readonly mode: 'value';
|
|
1502
|
+
readonly value: Record<string, never>;
|
|
1503
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1504
|
+
readonly accept: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1505
|
+
iss: string;
|
|
1506
|
+
sub: string;
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly mode: 'value';
|
|
1509
|
+
readonly value: Record<string, never>;
|
|
1510
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1511
|
+
};
|
|
1512
|
+
}>;
|
|
1513
|
+
readonly invitation_user: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1514
|
+
readonly depth: 0;
|
|
1515
|
+
readonly abstract: false;
|
|
1516
|
+
readonly extends: readonly [];
|
|
1517
|
+
readonly properties: never;
|
|
1518
|
+
readonly source: {
|
|
1519
|
+
readonly as: "invitation";
|
|
1520
|
+
readonly accepts: readonly {
|
|
1521
|
+
readonly kind: 'node';
|
|
1522
|
+
readonly abstract: false;
|
|
1523
|
+
readonly depth: 0;
|
|
1524
|
+
readonly properties: "email" | "execution" | "expiresAt" | "round" | "status";
|
|
1525
|
+
readonly methods: "accept" | "cancel" | "resend" | "send";
|
|
1526
|
+
}[];
|
|
1527
|
+
readonly outgoing: "0..1";
|
|
1528
|
+
};
|
|
1529
|
+
readonly target: {
|
|
1530
|
+
readonly as: "user";
|
|
1531
|
+
readonly accepts: readonly {
|
|
1532
|
+
readonly kind: 'node';
|
|
1533
|
+
readonly abstract: false;
|
|
1534
|
+
readonly depth: 1;
|
|
1535
|
+
readonly properties: "attributes" | "claimedEmail" | "claimedName" | "creationKey" | "directory" | "directoryActive" | "email" | "externalId" | "familyName" | "frozen" | "givenName" | "icon" | "iss" | "name" | "sub" | "suspended";
|
|
1536
|
+
readonly methods: "create" | "deactivate" | "delete" | "deprovision" | "invite" | "provision" | "reactivate" | "recordProfile" | "recordSignIn" | "saveSettings" | "update" | "updateProfile";
|
|
1537
|
+
}[];
|
|
1538
|
+
readonly incoming: "0..*";
|
|
1539
|
+
};
|
|
1540
|
+
readonly constraints: Record<never, never>;
|
|
1541
|
+
readonly effectiveProperties: never;
|
|
1542
|
+
}>;
|
|
1543
|
+
readonly Role: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1544
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1545
|
+
readonly inheritance: "final";
|
|
1546
|
+
readonly abstract: false;
|
|
1547
|
+
readonly description: "A Role the Shell declares.";
|
|
1548
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Role">];
|
|
1549
|
+
readonly policies: {
|
|
1550
|
+
readonly read: ({ anyOf, check, ref, self }: import("@astrale-os/sdk/schema").ClassRuleContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").ClassRuleObject>;
|
|
1551
|
+
readonly traverse: true;
|
|
1552
|
+
};
|
|
1553
|
+
}>;
|
|
1554
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1555
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1556
|
+
readonly policies: {
|
|
1557
|
+
readonly read: true;
|
|
1558
|
+
readonly traverse: true;
|
|
1559
|
+
};
|
|
1560
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1561
|
+
readonly methods: {
|
|
1562
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1563
|
+
name: string;
|
|
1564
|
+
target: string;
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly mode: 'value';
|
|
1567
|
+
readonly value: Record<string, never>;
|
|
1568
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1569
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1570
|
+
name: string;
|
|
1571
|
+
}, {
|
|
1572
|
+
readonly mode: 'value';
|
|
1573
|
+
readonly value: Record<string, never>;
|
|
1574
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1575
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1576
|
+
name: string;
|
|
1577
|
+
to: string;
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly mode: 'value';
|
|
1580
|
+
readonly value: Record<string, never>;
|
|
1581
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1582
|
+
};
|
|
1583
|
+
}>;
|
|
1584
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1585
|
+
readonly depth: 0;
|
|
1586
|
+
readonly abstract: false;
|
|
1587
|
+
readonly extends: readonly [];
|
|
1588
|
+
readonly properties: never;
|
|
1589
|
+
readonly source: {
|
|
1590
|
+
readonly as: "namespace";
|
|
1591
|
+
readonly accepts: readonly (() => {
|
|
1592
|
+
readonly kind: 'node';
|
|
1593
|
+
readonly abstract: never;
|
|
1594
|
+
readonly depth: never;
|
|
1595
|
+
readonly properties: never;
|
|
1596
|
+
readonly methods: never;
|
|
1597
|
+
})[];
|
|
1598
|
+
readonly outgoing: "0..*";
|
|
1599
|
+
};
|
|
1600
|
+
readonly target: {
|
|
1601
|
+
readonly as: "node";
|
|
1602
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
1603
|
+
readonly origin: "kernel.astrale.ai";
|
|
1604
|
+
})[];
|
|
1605
|
+
readonly incoming: "0..*";
|
|
1606
|
+
};
|
|
1607
|
+
readonly constraints: Record<never, never>;
|
|
1608
|
+
readonly effectiveProperties: never;
|
|
1609
|
+
}>;
|
|
1610
|
+
};
|
|
1611
|
+
readonly functions: {
|
|
1612
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1613
|
+
readonly mode: 'value';
|
|
1614
|
+
readonly value: {
|
|
1615
|
+
entrypoints: {
|
|
1616
|
+
origin: string;
|
|
1617
|
+
name: string;
|
|
1618
|
+
view: string;
|
|
1619
|
+
icon?: {
|
|
1620
|
+
small?: {
|
|
1621
|
+
svg: string;
|
|
1622
|
+
dark?: string | undefined;
|
|
1623
|
+
} | undefined;
|
|
1624
|
+
medium?: {
|
|
1625
|
+
svg: string;
|
|
1626
|
+
dark?: string | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
large?: {
|
|
1629
|
+
svg: string;
|
|
1630
|
+
dark?: string | undefined;
|
|
1631
|
+
} | undefined;
|
|
1632
|
+
} | undefined;
|
|
1633
|
+
}[];
|
|
1634
|
+
};
|
|
1635
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1636
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1637
|
+
assignments: {
|
|
1638
|
+
identity: string;
|
|
1639
|
+
set?: string[] | undefined;
|
|
1640
|
+
unset?: string[] | undefined;
|
|
1641
|
+
}[];
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly mode: 'value';
|
|
1644
|
+
readonly value: Record<string, never>;
|
|
1645
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1646
|
+
readonly legacyMigrateAccounts: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1647
|
+
readonly mode: 'value';
|
|
1648
|
+
readonly value: {
|
|
1649
|
+
migrated: number;
|
|
1650
|
+
conflicts: {
|
|
1651
|
+
user: string;
|
|
1652
|
+
email: string;
|
|
1653
|
+
}[];
|
|
1654
|
+
profiles: number;
|
|
1655
|
+
unprofiled: {
|
|
1656
|
+
node: string;
|
|
1657
|
+
reason: string;
|
|
1658
|
+
rule?: string | undefined;
|
|
1659
|
+
}[];
|
|
1660
|
+
remaining: number;
|
|
1661
|
+
};
|
|
1662
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1663
|
+
readonly legacyMigrateViewAccess: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1664
|
+
readonly mode: 'value';
|
|
1665
|
+
readonly value: {
|
|
1666
|
+
copied: number;
|
|
1667
|
+
removed: number;
|
|
1668
|
+
};
|
|
1669
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1670
|
+
readonly disconnectDirectory: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1671
|
+
directory: string;
|
|
1672
|
+
}, {
|
|
1673
|
+
readonly mode: 'value';
|
|
1674
|
+
readonly value: {
|
|
1675
|
+
users: number;
|
|
1676
|
+
groups: number;
|
|
1677
|
+
};
|
|
1678
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1679
|
+
};
|
|
1680
|
+
readonly policies: {
|
|
1681
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1682
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1683
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1684
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1685
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
1686
|
+
readonly legacyOwnsMembershipGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1687
|
+
readonly holdsViewAccess: import("@astrale-os/sdk/schema").Policy;
|
|
1688
|
+
readonly hasRole: import("@astrale-os/sdk/schema").Policy;
|
|
1689
|
+
readonly describesSubject: import("@astrale-os/sdk/schema").Policy;
|
|
1690
|
+
readonly isProfileSource: import("@astrale-os/sdk/schema").Policy;
|
|
1691
|
+
readonly holdsSettings: import("@astrale-os/sdk/schema").Policy;
|
|
1692
|
+
readonly describesGroupOfSubject: import("@astrale-os/sdk/schema").Policy;
|
|
1693
|
+
readonly isGroupProfileSource: import("@astrale-os/sdk/schema").Policy;
|
|
1694
|
+
};
|
|
1695
|
+
readonly views: {
|
|
1696
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1697
|
+
};
|
|
1698
|
+
readonly core: {
|
|
1699
|
+
readonly nodes: {
|
|
1700
|
+
readonly 'workspace.member': import("@astrale-os/sdk/schema").CoreNode;
|
|
1701
|
+
readonly 'workspace.admin': import("@astrale-os/sdk/schema").CoreNode;
|
|
1702
|
+
readonly 'user.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1703
|
+
readonly 'user.writer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1704
|
+
readonly 'group.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1705
|
+
readonly 'group.writer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1706
|
+
readonly 'directory.provisioner': import("@astrale-os/sdk/schema").CoreNode;
|
|
1707
|
+
readonly 'user-profile.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1708
|
+
readonly 'user-profile.self-writer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1709
|
+
readonly 'group-profile.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1710
|
+
readonly 'os.viewer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1711
|
+
readonly 'service-account.admin': import("@astrale-os/sdk/schema").CoreNode;
|
|
1712
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1713
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1714
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1715
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
1716
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1717
|
+
readonly settings: import("@astrale-os/sdk/schema").CoreNode;
|
|
1718
|
+
};
|
|
1719
|
+
};
|
|
806
1720
|
}, {
|
|
807
1721
|
readonly kernel: "kernel.astrale.ai";
|
|
808
1722
|
}]>;
|
package/dist/schema/schema.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ShellSchema } from '@astrale-domains/shell';
|
|
1
2
|
import { KernelSchema, defineSchema, domainIcon, view } from '@astrale-os/sdk/schema';
|
|
2
3
|
import { Comment, comment_authored_by, issue_has_comment, ownsOrBelongsToProjectOfIssueOfCommentOrReportedIssueOfComment, authoredComment, ownsOrBelongsToProjectOfIssueOfAuthoredComment, ownsOrBelongsToProjectOfIssueWithCommentOrReportedIssueWithComment, } from './modules/comment/index.js';
|
|
3
4
|
import { Issue, ownsOrBelongsToProjectOfIssue, ownsOrBelongsToProjectOfIssueOrReportedIssue, ownsProjectOfIssue, reportedIssue, ownsOrBelongsToProjectOfAssignedIssue, ownsOrBelongsToProjectOfChildIssue, ownsOrBelongsToProjectOfReportedIssueOrReportedIssue, ownsOrBelongsToProjectOfIssueWithTopic, ownsOrBelongsToProjectOfTrackedOrTrackingIssue, issue_assigned_to, issue_is_about, issue_reported_by, issue_subtask_of, issue_tracked_by, project_contains_issue, } from './modules/issue/index.js';
|
|
@@ -58,7 +59,7 @@ export const schema = defineSchema(origin, {
|
|
|
58
59
|
large: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><linearGradient id="is4L-bg" x1="0" y1="0" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4B4F58"/><stop offset="1" stop-color="#1B1D22"/></linearGradient><radialGradient id="is4L-gl" cx="256" cy="-92.16" r="486.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.12"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><linearGradient id="is4L-sy" x1="0" y1="126" x2="0" y2="382" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#E2E5EA"/></linearGradient><filter id="is4L-sh" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="11"/></filter></defs><g data-layer="background"><rect width="512" height="512" fill="url(#is4L-bg)"/><rect width="512" height="512" fill="url(#is4L-gl)"/></g><g data-layer="foreground"><g filter="url(#is4L-sh)" opacity="0.5" transform="translate(0 12)" fill="#000000"><rect x="88" y="126" width="208" height="64" rx="32"/><rect x="152" y="222" width="208" height="64" rx="32"/><rect x="216" y="318" width="208" height="64" rx="32"/></g><rect x="88" y="126" width="208" height="64" rx="32" fill="url(#is4L-sy)"/><rect x="152" y="222" width="208" height="64" rx="32" fill="url(#is4L-sy)"/><rect x="216" y="318" width="208" height="64" rx="32" fill="url(#is4L-sy)"/></g></svg>`,
|
|
59
60
|
}),
|
|
60
61
|
entrypoint: 'application',
|
|
61
|
-
dependencies: { kernel: KernelSchema },
|
|
62
|
+
dependencies: { kernel: KernelSchema, shell: ShellSchema },
|
|
62
63
|
classes,
|
|
63
64
|
policies,
|
|
64
65
|
views,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/issues",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/astrale-os/domains.git",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"zod": "4.6.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
+
"@astrale-domains/shell": "0.3.0",
|
|
34
35
|
"@astrale-os/adapter-cloudflare": "0.5.0-beta.217",
|
|
35
36
|
"@astrale-os/ox": ">=0.1.4 <1.0.0",
|
|
36
37
|
"@astrale-os/sdk": "0.6.0-beta.62",
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
"vitest": "^5.0.5"
|
|
67
68
|
},
|
|
68
69
|
"peerDependencies": {
|
|
70
|
+
"@astrale-domains/shell": ">=0.3.0 <1.0.0",
|
|
69
71
|
"@astrale-os/sdk": ">=0.6.0-beta.62 <1.0.0"
|
|
70
72
|
},
|
|
71
73
|
"engines": {
|