@astrale-domains/issues 0.7.4 → 0.8.0
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 +18 -10
- package/dist/schema/modules/issue/classes/issue-is-about.d.ts +7 -2
- package/dist/schema/modules/issue/classes/issue-is-about.js +7 -0
- package/dist/schema/modules/issue/classes/issue.d.ts +8 -2
- package/dist/schema/modules/issue/functions/set-issue-topics.d.ts +8 -2
- package/dist/schema/modules/issue/functions/set-issue-topics.js +4 -4
- package/dist/schema/modules/issue/types/index.d.ts +1 -1
- package/dist/schema/modules/issue/types/index.js +1 -1
- package/dist/schema/modules/issue/types/issue.d.ts +11 -0
- package/dist/schema/modules/issue/types/issue.js +8 -0
- package/dist/schema/schema.d.ts +926 -4
- package/dist/schema/schema.js +2 -1
- package/package.json +5 -3
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
|
|
@@ -18,7 +18,7 @@ Issue
|
|
|
18
18
|
status: open | accepted | resolved | closed
|
|
19
19
|
priority: no priority, low, medium, high, urgent (0..4); optional assignee; optional acyclic parent; Tags
|
|
20
20
|
tracked by at most one other Issue, in any Project
|
|
21
|
-
about at most 32 Nodes, of any Domain
|
|
21
|
+
about at most 32 Nodes, of any Domain, each named on its link (200 characters)
|
|
22
22
|
|
|
23
23
|
Comment
|
|
24
24
|
body; immutable author; belongs to one Issue
|
|
@@ -127,18 +127,26 @@ Other creation methods retain their existing retry semantics. Set-style changes
|
|
|
127
127
|
stale concurrent edits reject through atomic mutation preconditions.
|
|
128
128
|
|
|
129
129
|
An Issue is about Nodes of any Domain, such as a Product or an Area, through `issue_is_about`; the
|
|
130
|
-
Issues Schema names no other Domain.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
Issues Schema names no other Domain. Each link carries the name the Issue shows for its Node, and
|
|
131
|
+
the Issues never read the Node itself. `Issue.setTopics` replaces the whole set, each Node with its
|
|
132
|
+
name, under the same Policy as its Tags. It looks each newly linked Node up under the caller's
|
|
133
|
+
authority, which must traverse it but need not read it: a Node the caller may not traverse is
|
|
134
|
+
refused exactly as one that does not exist (`INVALID_ISSUE_TOPIC`); a Node named twice
|
|
135
|
+
(`DUPLICATE_ISSUE_TOPIC`) and a name blank once trimmed or past 200 characters
|
|
136
|
+
(`INVALID_ISSUE_TOPIC_NAME`) are refused too. The links are visible inside the Issue's Project, each
|
|
137
|
+
by its name and the Node's Class, whatever the reader may read of the Node. Deleting the Node, or
|
|
138
|
+
uninstalling its Domain destructively, removes the links with it.
|
|
135
139
|
|
|
136
140
|
## View
|
|
137
141
|
|
|
138
142
|
The mounted View is one full-width application under a top bar: Inbox, Issues and Projects, a
|
|
139
143
|
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
|
-
|
|
144
|
+
Every screen, filter and Issue has its own URL. People appear as "You" for the caller and by the
|
|
145
|
+
first and last name of their Shell profile for anyone else, else the name the profile carries. A
|
|
146
|
+
profile is read under the caller's authority, within the Shell accounts and profiles the Domain is
|
|
147
|
+
granted at installation, so a Shell workspace member reads everyone's; an Identity that is not a
|
|
148
|
+
Shell account, or whose profile the caller may not read, appears as a short id. A screen reads the
|
|
149
|
+
names of the people it shows once, beyond those the screens around it already read.
|
|
142
150
|
|
|
143
151
|
- **Inbox** triages one open Issue at a time, highest priority first: Accept and Close (`A`,
|
|
144
152
|
`C`) move to the next Issue at once, and a refused triage puts the Issue back. The
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Its target end accepts any Node, so it derives `detach`: deleting the Node, or uninstalling its
|
|
3
3
|
* Domain with its data, removes the Edge and leaves the Issue as it was.
|
|
4
|
+
*
|
|
5
|
+
* The Edge carries the name the Issue shows for its Node: whoever reads the Edge reads that name,
|
|
6
|
+
* and the Issue never reads the Node itself, which its readers may not be allowed to read.
|
|
4
7
|
*/
|
|
5
8
|
export declare const issue_is_about: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
6
9
|
readonly depth: 0;
|
|
7
10
|
readonly abstract: false;
|
|
8
11
|
readonly extends: readonly [];
|
|
9
|
-
readonly properties:
|
|
12
|
+
readonly properties: {
|
|
13
|
+
readonly name: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "name", "self", undefined>;
|
|
14
|
+
};
|
|
10
15
|
readonly source: {
|
|
11
16
|
readonly as: "issue";
|
|
12
17
|
readonly accepts: readonly (() => {
|
|
@@ -26,5 +31,5 @@ export declare const issue_is_about: import("@astrale-os/sdk/schema").DirectedEd
|
|
|
26
31
|
readonly incoming: "0..*";
|
|
27
32
|
};
|
|
28
33
|
readonly constraints: Record<never, never>;
|
|
29
|
-
readonly effectiveProperties:
|
|
34
|
+
readonly effectiveProperties: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "name", "self", undefined>;
|
|
30
35
|
}>;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { K, edgeClass } from '@astrale-os/sdk/schema';
|
|
2
2
|
import { ownsOrBelongsToProjectOfIssueWithTopic } from '../policies/owns-or-belongs-to-project-of-issue-with-topic.js';
|
|
3
|
+
import { issueTopicNameValue } from '../types/issue.js';
|
|
3
4
|
import { Issue } from './issue.js';
|
|
4
5
|
/**
|
|
5
6
|
* Its target end accepts any Node, so it derives `detach`: deleting the Node, or uninstalling its
|
|
6
7
|
* Domain with its data, removes the Edge and leaves the Issue as it was.
|
|
8
|
+
*
|
|
9
|
+
* The Edge carries the name the Issue shows for its Node: whoever reads the Edge reads that name,
|
|
10
|
+
* and the Issue never reads the Node itself, which its readers may not be allowed to read.
|
|
7
11
|
*/
|
|
8
12
|
export const issue_is_about = edgeClass.directed({
|
|
9
13
|
description: 'One Issue is about one Node of any Domain: a Product, an Area, another Issue…',
|
|
10
14
|
source: { as: 'issue', accepts: [() => Issue], outgoing: '0..*' },
|
|
11
15
|
target: { as: 'topic', accepts: [K.classes.Node], incoming: '0..*' },
|
|
16
|
+
properties: {
|
|
17
|
+
name: issueTopicNameValue,
|
|
18
|
+
},
|
|
12
19
|
policies: {
|
|
13
20
|
read: () => ownsOrBelongsToProjectOfIssueWithTopic,
|
|
14
21
|
traverse: () => ownsOrBelongsToProjectOfIssueWithTopic,
|
|
@@ -148,12 +148,18 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
|
148
148
|
};
|
|
149
149
|
}, "authorized", false, false, undefined, undefined>>;
|
|
150
150
|
setTopics: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
151
|
-
|
|
151
|
+
topics: {
|
|
152
|
+
id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
}[];
|
|
152
155
|
}, {
|
|
153
156
|
readonly mode: 'value';
|
|
154
157
|
readonly value: {
|
|
155
158
|
issueId: string;
|
|
156
|
-
|
|
159
|
+
topics: {
|
|
160
|
+
id: string;
|
|
161
|
+
name: string;
|
|
162
|
+
}[];
|
|
157
163
|
};
|
|
158
164
|
}, "authorized", false, false, undefined, undefined>>;
|
|
159
165
|
setParent: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export declare const setIssueTopicsMethod: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2
|
-
|
|
2
|
+
topics: {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}[];
|
|
3
6
|
}, {
|
|
4
7
|
readonly mode: 'value';
|
|
5
8
|
readonly value: {
|
|
6
9
|
issueId: string;
|
|
7
|
-
|
|
10
|
+
topics: {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
8
14
|
};
|
|
9
15
|
}, "authorized", false, false, undefined, undefined>>;
|
|
@@ -2,11 +2,11 @@ import { method } from '@astrale-os/sdk/schema';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { nodeIdValue } from '../../../types/index.js';
|
|
4
4
|
import { ownsOrBelongsToProjectOfIssue } from '../policies/owns-or-belongs-to-project-of-issue.js';
|
|
5
|
-
import { MAX_ISSUE_TOPICS } from '../types/index.js';
|
|
5
|
+
import { issueTopicValue, MAX_ISSUE_TOPICS } from '../types/index.js';
|
|
6
6
|
export const setIssueTopicsMethod = method({
|
|
7
|
-
description: 'Replace the
|
|
7
|
+
description: 'Replace the Nodes this Issue is about, and the name it shows for each, with Nodes the caller may traverse.',
|
|
8
8
|
auth: 'authorized',
|
|
9
9
|
policy: ({ check, self }) => check(ownsOrBelongsToProjectOfIssue, self),
|
|
10
|
-
input: z.strictObject({
|
|
11
|
-
output: z.strictObject({ issueId: nodeIdValue,
|
|
10
|
+
input: z.strictObject({ topics: z.array(issueTopicValue).max(MAX_ISSUE_TOPICS) }),
|
|
11
|
+
output: z.strictObject({ issueId: nodeIdValue, topics: z.array(issueTopicValue) }),
|
|
12
12
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { issueDescriptionValue, issuePriorityValue, issueTitleValue, issueValue, MAX_ISSUE_TAGS, MAX_ISSUE_TOPICS, } from './issue.js';
|
|
1
|
+
export { issueDescriptionValue, issuePriorityValue, issueTitleValue, issueTopicNameValue, issueTopicValue, issueValue, MAX_ISSUE_TAGS, MAX_ISSUE_TOPICS, } from './issue.js';
|
|
2
2
|
export { reportContentValue, reportContextValue, receiveReportInput, reportReceiptValue, type ReportContent, } from './report.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { issueDescriptionValue, issuePriorityValue, issueTitleValue, issueValue, MAX_ISSUE_TAGS, MAX_ISSUE_TOPICS, } from './issue.js';
|
|
1
|
+
export { issueDescriptionValue, issuePriorityValue, issueTitleValue, issueTopicNameValue, issueTopicValue, issueValue, MAX_ISSUE_TAGS, MAX_ISSUE_TOPICS, } from './issue.js';
|
|
2
2
|
export { reportContentValue, reportContextValue, receiveReportInput, reportReceiptValue, } from './report.js';
|
|
@@ -5,6 +5,17 @@ export declare const issueTitleValue: z.ZodString;
|
|
|
5
5
|
export declare const MAX_ISSUE_TAGS = 128;
|
|
6
6
|
/** The Nodes one Issue is about at most: `Issue.setTopics` is the only call that sets them. */
|
|
7
7
|
export declare const MAX_ISSUE_TOPICS = 32;
|
|
8
|
+
/**
|
|
9
|
+
* The name an Issue shows for one Node it is about, kept on the link so that every reader of the
|
|
10
|
+
* Issue reads it, whether or not they may read the Node. The bound is the one the Shell sets on a
|
|
11
|
+
* selected Node's name (`NODE_NAME_MAXIMUM_LENGTH` of `@astrale-os/shell`), so any such name fits.
|
|
12
|
+
*/
|
|
13
|
+
export declare const issueTopicNameValue: z.ZodString;
|
|
14
|
+
/** One Node an Issue is about, with the name the Issue shows for it. */
|
|
15
|
+
export declare const issueTopicValue: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
name: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
8
19
|
/** How urgent an Issue is: 0 is no priority, then 1 low, 2 medium, 3 high and 4 urgent. */
|
|
9
20
|
export declare const issuePriorityValue: z.ZodNumber;
|
|
10
21
|
/** An Issue description, as Markdown; empty when the Issue has none. */
|
|
@@ -7,6 +7,14 @@ export const issueTitleValue = z.string().min(1).max(100);
|
|
|
7
7
|
export const MAX_ISSUE_TAGS = 128;
|
|
8
8
|
/** The Nodes one Issue is about at most: `Issue.setTopics` is the only call that sets them. */
|
|
9
9
|
export const MAX_ISSUE_TOPICS = 32;
|
|
10
|
+
/**
|
|
11
|
+
* The name an Issue shows for one Node it is about, kept on the link so that every reader of the
|
|
12
|
+
* Issue reads it, whether or not they may read the Node. The bound is the one the Shell sets on a
|
|
13
|
+
* selected Node's name (`NODE_NAME_MAXIMUM_LENGTH` of `@astrale-os/shell`), so any such name fits.
|
|
14
|
+
*/
|
|
15
|
+
export const issueTopicNameValue = z.string().min(1).max(200);
|
|
16
|
+
/** One Node an Issue is about, with the name the Issue shows for it. */
|
|
17
|
+
export const issueTopicValue = z.strictObject({ id: nodeIdValue, name: issueTopicNameValue });
|
|
10
18
|
/** How urgent an Issue is: 0 is no priority, then 1 low, 2 medium, 3 high and 4 urgent. */
|
|
11
19
|
export const issuePriorityValue = z.number().int().min(0).max(4);
|
|
12
20
|
/** An Issue description, as Markdown; empty when the Issue has none. */
|
package/dist/schema/schema.d.ts
CHANGED
|
@@ -302,12 +302,18 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
302
302
|
};
|
|
303
303
|
}, "authorized", false, false, undefined, undefined>>;
|
|
304
304
|
setTopics: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
305
|
-
|
|
305
|
+
topics: {
|
|
306
|
+
id: string;
|
|
307
|
+
name: string;
|
|
308
|
+
}[];
|
|
306
309
|
}, {
|
|
307
310
|
readonly mode: 'value';
|
|
308
311
|
readonly value: {
|
|
309
312
|
issueId: string;
|
|
310
|
-
|
|
313
|
+
topics: {
|
|
314
|
+
id: string;
|
|
315
|
+
name: string;
|
|
316
|
+
}[];
|
|
311
317
|
};
|
|
312
318
|
}, "authorized", false, false, undefined, undefined>>;
|
|
313
319
|
setParent: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
@@ -754,7 +760,9 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
754
760
|
readonly depth: 0;
|
|
755
761
|
readonly abstract: false;
|
|
756
762
|
readonly extends: readonly [];
|
|
757
|
-
readonly properties:
|
|
763
|
+
readonly properties: {
|
|
764
|
+
readonly name: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "name", "self", undefined>;
|
|
765
|
+
};
|
|
758
766
|
readonly source: {
|
|
759
767
|
readonly as: "issue";
|
|
760
768
|
readonly accepts: readonly (() => {
|
|
@@ -774,7 +782,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
774
782
|
readonly incoming: "0..*";
|
|
775
783
|
};
|
|
776
784
|
readonly constraints: Record<never, never>;
|
|
777
|
-
readonly effectiveProperties:
|
|
785
|
+
readonly effectiveProperties: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "name", "self", undefined>;
|
|
778
786
|
}>;
|
|
779
787
|
};
|
|
780
788
|
readonly policies: {
|
|
@@ -803,6 +811,920 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
803
811
|
readonly views: {
|
|
804
812
|
readonly application: import("@astrale-os/sdk/schema").View;
|
|
805
813
|
};
|
|
814
|
+
}, {
|
|
815
|
+
readonly kernel: "kernel.astrale.ai";
|
|
816
|
+
readonly shell: "shell.astrale.ai";
|
|
817
|
+
}] | readonly ["shell.astrale.ai", {
|
|
818
|
+
readonly name: 'Shell';
|
|
819
|
+
readonly icon: import("@astrale-os/sdk/schema").DomainIcon;
|
|
820
|
+
readonly entrypoint: 'application';
|
|
821
|
+
readonly classes: {
|
|
822
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
823
|
+
readonly depth: 0;
|
|
824
|
+
readonly abstract: false;
|
|
825
|
+
readonly extends: readonly [];
|
|
826
|
+
readonly properties: never;
|
|
827
|
+
readonly source: {
|
|
828
|
+
readonly as: "member";
|
|
829
|
+
readonly accepts: readonly (() => {
|
|
830
|
+
readonly kind: 'node';
|
|
831
|
+
readonly abstract: never;
|
|
832
|
+
readonly depth: never;
|
|
833
|
+
readonly properties: never;
|
|
834
|
+
readonly methods: never;
|
|
835
|
+
})[];
|
|
836
|
+
readonly outgoing: "0..*";
|
|
837
|
+
};
|
|
838
|
+
readonly target: {
|
|
839
|
+
readonly as: "group";
|
|
840
|
+
readonly accepts: readonly (() => {
|
|
841
|
+
readonly kind: 'node';
|
|
842
|
+
readonly abstract: never;
|
|
843
|
+
readonly depth: never;
|
|
844
|
+
readonly properties: never;
|
|
845
|
+
readonly methods: never;
|
|
846
|
+
})[];
|
|
847
|
+
readonly incoming: "0..*";
|
|
848
|
+
};
|
|
849
|
+
readonly constraints: Record<never, never>;
|
|
850
|
+
readonly effectiveProperties: never;
|
|
851
|
+
}>;
|
|
852
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
853
|
+
readonly depth: 0;
|
|
854
|
+
readonly abstract: false;
|
|
855
|
+
readonly extends: readonly [];
|
|
856
|
+
readonly properties: never;
|
|
857
|
+
readonly source: {
|
|
858
|
+
readonly as: "audience";
|
|
859
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
|
|
860
|
+
readonly origin: "kernel.astrale.ai";
|
|
861
|
+
})[];
|
|
862
|
+
readonly outgoing: "0..*";
|
|
863
|
+
};
|
|
864
|
+
readonly target: {
|
|
865
|
+
readonly as: "view";
|
|
866
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
867
|
+
readonly origin: "kernel.astrale.ai";
|
|
868
|
+
})[];
|
|
869
|
+
readonly incoming: "0..*";
|
|
870
|
+
};
|
|
871
|
+
readonly constraints: Record<never, never>;
|
|
872
|
+
readonly effectiveProperties: never;
|
|
873
|
+
}>;
|
|
874
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
875
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
876
|
+
readonly inheritance: "open";
|
|
877
|
+
readonly abstract: false;
|
|
878
|
+
readonly description: "The account of one person in the workspace.";
|
|
879
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Iconable">];
|
|
880
|
+
readonly properties: {
|
|
881
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
882
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
883
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
884
|
+
readonly suspended: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
885
|
+
readonly directoryActive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
886
|
+
readonly name: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
887
|
+
readonly type: "string";
|
|
888
|
+
readonly minLength: 1;
|
|
889
|
+
readonly maxLength: 100;
|
|
890
|
+
}, {
|
|
891
|
+
readonly required: false;
|
|
892
|
+
}>;
|
|
893
|
+
readonly email: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
894
|
+
readonly type: "string";
|
|
895
|
+
readonly minLength: 3;
|
|
896
|
+
readonly maxLength: 320;
|
|
897
|
+
}, {
|
|
898
|
+
readonly required: false;
|
|
899
|
+
}>;
|
|
900
|
+
readonly givenName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
901
|
+
readonly type: 'string';
|
|
902
|
+
readonly minLength: 1;
|
|
903
|
+
readonly maxLength: number;
|
|
904
|
+
}, {
|
|
905
|
+
readonly required: false;
|
|
906
|
+
}>;
|
|
907
|
+
readonly familyName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
908
|
+
readonly type: 'string';
|
|
909
|
+
readonly minLength: 1;
|
|
910
|
+
readonly maxLength: number;
|
|
911
|
+
}, {
|
|
912
|
+
readonly required: false;
|
|
913
|
+
}>;
|
|
914
|
+
readonly directory: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
915
|
+
readonly type: 'string';
|
|
916
|
+
readonly minLength: 1;
|
|
917
|
+
readonly maxLength: number;
|
|
918
|
+
}, {
|
|
919
|
+
readonly required: false;
|
|
920
|
+
}>;
|
|
921
|
+
readonly externalId: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
922
|
+
readonly type: 'string';
|
|
923
|
+
readonly minLength: 1;
|
|
924
|
+
readonly maxLength: number;
|
|
925
|
+
}, {
|
|
926
|
+
readonly required: false;
|
|
927
|
+
}>;
|
|
928
|
+
readonly attributes: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
929
|
+
readonly type: "object";
|
|
930
|
+
readonly additionalProperties: true;
|
|
931
|
+
readonly maxProperties: 64;
|
|
932
|
+
}, {
|
|
933
|
+
readonly required: false;
|
|
934
|
+
}>;
|
|
935
|
+
};
|
|
936
|
+
readonly policies: {
|
|
937
|
+
readonly read: true;
|
|
938
|
+
readonly traverse: true;
|
|
939
|
+
};
|
|
940
|
+
readonly methods: {
|
|
941
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
942
|
+
operationId?: string | undefined;
|
|
943
|
+
email: string;
|
|
944
|
+
name: string;
|
|
945
|
+
givenName?: string | undefined;
|
|
946
|
+
familyName?: string | undefined;
|
|
947
|
+
attributes?: Record<string, unknown> | undefined;
|
|
948
|
+
}, {
|
|
949
|
+
readonly mode: 'value';
|
|
950
|
+
readonly value: {
|
|
951
|
+
user: string;
|
|
952
|
+
created: boolean;
|
|
953
|
+
};
|
|
954
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
955
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
956
|
+
email?: string | undefined;
|
|
957
|
+
user: string;
|
|
958
|
+
profile?: "admin" | "member" | undefined;
|
|
959
|
+
}, {
|
|
960
|
+
readonly mode: 'value';
|
|
961
|
+
readonly value: {
|
|
962
|
+
invitationId: string;
|
|
963
|
+
user: string;
|
|
964
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
965
|
+
};
|
|
966
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
967
|
+
readonly update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
968
|
+
name?: string | undefined;
|
|
969
|
+
email?: string | undefined;
|
|
970
|
+
givenName?: string | null | undefined;
|
|
971
|
+
familyName?: string | null | undefined;
|
|
972
|
+
icon?: string | null | undefined;
|
|
973
|
+
image?: language.values.BlobReceipt | undefined;
|
|
974
|
+
removeImage?: true | undefined;
|
|
975
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
976
|
+
}, {
|
|
977
|
+
readonly mode: 'value';
|
|
978
|
+
readonly value: Record<string, never>;
|
|
979
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
980
|
+
readonly updateProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
981
|
+
name?: string | undefined;
|
|
982
|
+
icon?: string | null | undefined;
|
|
983
|
+
image?: language.values.BlobReceipt | undefined;
|
|
984
|
+
removeImage?: true | undefined;
|
|
985
|
+
}, {
|
|
986
|
+
readonly mode: 'value';
|
|
987
|
+
readonly value: Record<string, never>;
|
|
988
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
989
|
+
readonly saveSettings: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
990
|
+
set?: Record<string, unknown> | undefined;
|
|
991
|
+
unset?: string[] | undefined;
|
|
992
|
+
}, {
|
|
993
|
+
readonly mode: 'value';
|
|
994
|
+
readonly value: {
|
|
995
|
+
settings: Record<string, unknown>;
|
|
996
|
+
};
|
|
997
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
998
|
+
readonly recordSignIn: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
999
|
+
givenName?: string | undefined;
|
|
1000
|
+
familyName?: string | undefined;
|
|
1001
|
+
image?: language.values.BlobReceipt | undefined;
|
|
1002
|
+
imageUrl?: string | undefined;
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly mode: 'value';
|
|
1005
|
+
readonly value: Record<string, never>;
|
|
1006
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1007
|
+
readonly deactivate: 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 reactivate: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1012
|
+
readonly mode: 'value';
|
|
1013
|
+
readonly value: Record<string, never>;
|
|
1014
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1015
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1016
|
+
readonly mode: 'value';
|
|
1017
|
+
readonly value: Record<string, never>;
|
|
1018
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1019
|
+
readonly provision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1020
|
+
directory: string;
|
|
1021
|
+
externalId: string;
|
|
1022
|
+
email: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
givenName?: string | undefined;
|
|
1025
|
+
familyName?: string | undefined;
|
|
1026
|
+
active: boolean;
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly mode: 'value';
|
|
1029
|
+
readonly value: {
|
|
1030
|
+
user: string;
|
|
1031
|
+
created: boolean;
|
|
1032
|
+
adopted: boolean;
|
|
1033
|
+
};
|
|
1034
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1035
|
+
readonly deprovision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1036
|
+
directory: string;
|
|
1037
|
+
externalId: string;
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly mode: 'value';
|
|
1040
|
+
readonly value: Record<string, never>;
|
|
1041
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1042
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1043
|
+
email?: string | undefined;
|
|
1044
|
+
displayName?: string | undefined;
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly mode: 'value';
|
|
1047
|
+
readonly value: Record<string, never>;
|
|
1048
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1049
|
+
};
|
|
1050
|
+
}>;
|
|
1051
|
+
readonly UserProfile: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1052
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1053
|
+
readonly inheritance: "final";
|
|
1054
|
+
readonly abstract: false;
|
|
1055
|
+
readonly description: "What others see of a person: name, email and picture.";
|
|
1056
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">];
|
|
1057
|
+
readonly properties: {
|
|
1058
|
+
givenName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1059
|
+
readonly type: 'string';
|
|
1060
|
+
readonly minLength: 1;
|
|
1061
|
+
readonly maxLength: number;
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly required: false;
|
|
1064
|
+
}>;
|
|
1065
|
+
familyName: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1066
|
+
readonly type: 'string';
|
|
1067
|
+
readonly minLength: 1;
|
|
1068
|
+
readonly maxLength: number;
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly required: false;
|
|
1071
|
+
}>;
|
|
1072
|
+
email: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1073
|
+
readonly type: "string";
|
|
1074
|
+
readonly minLength: 3;
|
|
1075
|
+
readonly maxLength: 100;
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly required: false;
|
|
1078
|
+
}>;
|
|
1079
|
+
image: import("@astrale-os/sdk/schema").AuthoredProperty<language.values.BlobSchema, {
|
|
1080
|
+
readonly required: false;
|
|
1081
|
+
}>;
|
|
1082
|
+
imageSource: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1083
|
+
readonly type: "string";
|
|
1084
|
+
readonly enum: readonly ["sign-in", "chosen"];
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly required: false;
|
|
1087
|
+
}>;
|
|
1088
|
+
imageSignInUrl: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1089
|
+
readonly type: 'string';
|
|
1090
|
+
readonly minLength: 1;
|
|
1091
|
+
readonly maxLength: number;
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly required: false;
|
|
1094
|
+
}>;
|
|
1095
|
+
};
|
|
1096
|
+
readonly unique: readonly [readonly ["email"]];
|
|
1097
|
+
readonly policies: {
|
|
1098
|
+
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>;
|
|
1099
|
+
readonly traverse: true;
|
|
1100
|
+
};
|
|
1101
|
+
}>;
|
|
1102
|
+
readonly user_profile: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1103
|
+
readonly depth: 0;
|
|
1104
|
+
readonly abstract: false;
|
|
1105
|
+
readonly extends: readonly [];
|
|
1106
|
+
readonly properties: never;
|
|
1107
|
+
readonly source: {
|
|
1108
|
+
readonly as: "user";
|
|
1109
|
+
readonly accepts: readonly {
|
|
1110
|
+
readonly kind: 'node';
|
|
1111
|
+
readonly abstract: false;
|
|
1112
|
+
readonly depth: 1;
|
|
1113
|
+
readonly properties: "attributes" | "claimedEmail" | "claimedName" | "creationKey" | "directory" | "directoryActive" | "email" | "externalId" | "familyName" | "frozen" | "givenName" | "icon" | "iss" | "name" | "sub" | "suspended";
|
|
1114
|
+
readonly methods: "create" | "deactivate" | "delete" | "deprovision" | "invite" | "provision" | "reactivate" | "recordProfile" | "recordSignIn" | "saveSettings" | "update" | "updateProfile";
|
|
1115
|
+
}[];
|
|
1116
|
+
readonly outgoing: "0..1";
|
|
1117
|
+
};
|
|
1118
|
+
readonly target: {
|
|
1119
|
+
readonly as: "profile";
|
|
1120
|
+
readonly accepts: readonly {
|
|
1121
|
+
readonly kind: 'node';
|
|
1122
|
+
readonly abstract: false;
|
|
1123
|
+
readonly depth: 1;
|
|
1124
|
+
readonly properties: "email" | "familyName" | "givenName" | "image" | "imageSignInUrl" | "imageSource" | "name";
|
|
1125
|
+
readonly methods: never;
|
|
1126
|
+
}[];
|
|
1127
|
+
readonly incoming: "0..1";
|
|
1128
|
+
};
|
|
1129
|
+
readonly constraints: Record<never, never>;
|
|
1130
|
+
readonly effectiveProperties: never;
|
|
1131
|
+
}>;
|
|
1132
|
+
readonly UserSettings: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1133
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1134
|
+
readonly inheritance: "final";
|
|
1135
|
+
readonly abstract: false;
|
|
1136
|
+
readonly description: "One person's own settings, which follow it from one device to another.";
|
|
1137
|
+
readonly properties: {
|
|
1138
|
+
settings: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1139
|
+
readonly type: "object";
|
|
1140
|
+
readonly additionalProperties: true;
|
|
1141
|
+
readonly maxProperties: 64;
|
|
1142
|
+
}, {
|
|
1143
|
+
readonly required: false;
|
|
1144
|
+
}>;
|
|
1145
|
+
revision: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1146
|
+
readonly type: "integer";
|
|
1147
|
+
readonly minimum: 0;
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly required: false;
|
|
1150
|
+
}>;
|
|
1151
|
+
};
|
|
1152
|
+
readonly policies: {
|
|
1153
|
+
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>;
|
|
1154
|
+
readonly traverse: true;
|
|
1155
|
+
};
|
|
1156
|
+
}>;
|
|
1157
|
+
readonly user_settings: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1158
|
+
readonly depth: 0;
|
|
1159
|
+
readonly abstract: false;
|
|
1160
|
+
readonly extends: readonly [];
|
|
1161
|
+
readonly properties: never;
|
|
1162
|
+
readonly source: {
|
|
1163
|
+
readonly as: "user";
|
|
1164
|
+
readonly accepts: readonly {
|
|
1165
|
+
readonly kind: 'node';
|
|
1166
|
+
readonly abstract: false;
|
|
1167
|
+
readonly depth: 1;
|
|
1168
|
+
readonly properties: "attributes" | "claimedEmail" | "claimedName" | "creationKey" | "directory" | "directoryActive" | "email" | "externalId" | "familyName" | "frozen" | "givenName" | "icon" | "iss" | "name" | "sub" | "suspended";
|
|
1169
|
+
readonly methods: "create" | "deactivate" | "delete" | "deprovision" | "invite" | "provision" | "reactivate" | "recordProfile" | "recordSignIn" | "saveSettings" | "update" | "updateProfile";
|
|
1170
|
+
}[];
|
|
1171
|
+
readonly outgoing: "0..1";
|
|
1172
|
+
};
|
|
1173
|
+
readonly target: {
|
|
1174
|
+
readonly as: "settings";
|
|
1175
|
+
readonly accepts: readonly {
|
|
1176
|
+
readonly kind: 'node';
|
|
1177
|
+
readonly abstract: false;
|
|
1178
|
+
readonly depth: 0;
|
|
1179
|
+
readonly properties: "revision" | "settings";
|
|
1180
|
+
readonly methods: never;
|
|
1181
|
+
}[];
|
|
1182
|
+
readonly incoming: "0..1";
|
|
1183
|
+
};
|
|
1184
|
+
readonly constraints: Record<never, never>;
|
|
1185
|
+
readonly effectiveProperties: never;
|
|
1186
|
+
}>;
|
|
1187
|
+
readonly WorkspaceSettings: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1188
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1189
|
+
readonly inheritance: "final";
|
|
1190
|
+
readonly abstract: false;
|
|
1191
|
+
readonly description: "The settings of the workspace: its defaults and its customization.";
|
|
1192
|
+
readonly properties: {
|
|
1193
|
+
settings: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1194
|
+
readonly type: "object";
|
|
1195
|
+
readonly additionalProperties: true;
|
|
1196
|
+
readonly maxProperties: 64;
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly required: false;
|
|
1199
|
+
}>;
|
|
1200
|
+
revision: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1201
|
+
readonly type: "integer";
|
|
1202
|
+
readonly minimum: 0;
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly required: false;
|
|
1205
|
+
}>;
|
|
1206
|
+
};
|
|
1207
|
+
readonly policies: {
|
|
1208
|
+
readonly read: true;
|
|
1209
|
+
readonly traverse: true;
|
|
1210
|
+
};
|
|
1211
|
+
readonly methods: {
|
|
1212
|
+
readonly save: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1213
|
+
set?: Record<string, unknown> | undefined;
|
|
1214
|
+
unset?: string[] | undefined;
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly mode: 'value';
|
|
1217
|
+
readonly value: {
|
|
1218
|
+
settings: Record<string, unknown>;
|
|
1219
|
+
};
|
|
1220
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1221
|
+
};
|
|
1222
|
+
}>;
|
|
1223
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1224
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1225
|
+
readonly inheritance: "open";
|
|
1226
|
+
readonly abstract: false;
|
|
1227
|
+
readonly description: "A set of accounts and groups; its members hold what it holds.";
|
|
1228
|
+
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">];
|
|
1229
|
+
readonly properties: {
|
|
1230
|
+
directory: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1231
|
+
readonly type: 'string';
|
|
1232
|
+
readonly minLength: 1;
|
|
1233
|
+
readonly maxLength: 200;
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly required: false;
|
|
1236
|
+
}>;
|
|
1237
|
+
externalId: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1238
|
+
readonly type: 'string';
|
|
1239
|
+
readonly minLength: 1;
|
|
1240
|
+
readonly maxLength: 200;
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly required: false;
|
|
1243
|
+
}>;
|
|
1244
|
+
attributes: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1245
|
+
readonly type: "object";
|
|
1246
|
+
readonly additionalProperties: true;
|
|
1247
|
+
readonly maxProperties: 64;
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly required: false;
|
|
1250
|
+
}>;
|
|
1251
|
+
};
|
|
1252
|
+
readonly policies: {
|
|
1253
|
+
readonly read: true;
|
|
1254
|
+
readonly traverse: true;
|
|
1255
|
+
};
|
|
1256
|
+
readonly methods: {
|
|
1257
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1258
|
+
name: string;
|
|
1259
|
+
description?: string | undefined;
|
|
1260
|
+
icon?: string | null | undefined;
|
|
1261
|
+
attributes?: Record<string, unknown> | undefined;
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly mode: 'value';
|
|
1264
|
+
readonly value: {
|
|
1265
|
+
group: string;
|
|
1266
|
+
};
|
|
1267
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1268
|
+
readonly update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1269
|
+
name?: string | undefined;
|
|
1270
|
+
description?: string | null | undefined;
|
|
1271
|
+
icon?: string | null | undefined;
|
|
1272
|
+
image?: language.values.BlobReceipt | undefined;
|
|
1273
|
+
removeImage?: true | undefined;
|
|
1274
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly mode: 'value';
|
|
1277
|
+
readonly value: Record<string, never>;
|
|
1278
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1279
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1280
|
+
readonly mode: 'value';
|
|
1281
|
+
readonly value: Record<string, never>;
|
|
1282
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1283
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1284
|
+
member: string;
|
|
1285
|
+
group: string;
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly mode: 'value';
|
|
1288
|
+
readonly value: Record<string, never>;
|
|
1289
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1290
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1291
|
+
member: string;
|
|
1292
|
+
group: string;
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly mode: 'value';
|
|
1295
|
+
readonly value: Record<string, never>;
|
|
1296
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1297
|
+
readonly assignMembers: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1298
|
+
members: string[];
|
|
1299
|
+
group: string;
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly mode: 'value';
|
|
1302
|
+
readonly value: Record<string, never>;
|
|
1303
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1304
|
+
readonly unassignMembers: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1305
|
+
members: string[];
|
|
1306
|
+
group: string;
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly mode: 'value';
|
|
1309
|
+
readonly value: Record<string, never>;
|
|
1310
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1311
|
+
readonly provision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1312
|
+
directory: string;
|
|
1313
|
+
externalId: string;
|
|
1314
|
+
name: string;
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly mode: 'value';
|
|
1317
|
+
readonly value: {
|
|
1318
|
+
group: string;
|
|
1319
|
+
created: boolean;
|
|
1320
|
+
};
|
|
1321
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1322
|
+
readonly deprovision: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1323
|
+
directory: string;
|
|
1324
|
+
externalId: string;
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly mode: 'value';
|
|
1327
|
+
readonly value: Record<string, never>;
|
|
1328
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1329
|
+
};
|
|
1330
|
+
}>;
|
|
1331
|
+
readonly GroupProfile: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1332
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1333
|
+
readonly inheritance: "final";
|
|
1334
|
+
readonly abstract: false;
|
|
1335
|
+
readonly description: "What others see of a group: name, description and picture.";
|
|
1336
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1337
|
+
readonly properties: {
|
|
1338
|
+
image: import("@astrale-os/sdk/schema").AuthoredProperty<language.values.BlobSchema, {
|
|
1339
|
+
readonly required: false;
|
|
1340
|
+
}>;
|
|
1341
|
+
};
|
|
1342
|
+
readonly policies: {
|
|
1343
|
+
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>;
|
|
1344
|
+
readonly traverse: true;
|
|
1345
|
+
};
|
|
1346
|
+
}>;
|
|
1347
|
+
readonly group_profile: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1348
|
+
readonly depth: 0;
|
|
1349
|
+
readonly abstract: false;
|
|
1350
|
+
readonly extends: readonly [];
|
|
1351
|
+
readonly properties: never;
|
|
1352
|
+
readonly source: {
|
|
1353
|
+
readonly as: "group";
|
|
1354
|
+
readonly accepts: readonly {
|
|
1355
|
+
readonly kind: 'node';
|
|
1356
|
+
readonly abstract: false;
|
|
1357
|
+
readonly depth: 1;
|
|
1358
|
+
readonly properties: "attributes" | "description" | "directory" | "externalId" | "frozen" | "icon" | "iss" | "name" | "sub";
|
|
1359
|
+
readonly methods: "assignMember" | "assignMembers" | "create" | "delete" | "deprovision" | "provision" | "unassignMember" | "unassignMembers" | "update";
|
|
1360
|
+
}[];
|
|
1361
|
+
readonly outgoing: "0..1";
|
|
1362
|
+
};
|
|
1363
|
+
readonly target: {
|
|
1364
|
+
readonly as: "profile";
|
|
1365
|
+
readonly accepts: readonly {
|
|
1366
|
+
readonly kind: 'node';
|
|
1367
|
+
readonly abstract: false;
|
|
1368
|
+
readonly depth: 1;
|
|
1369
|
+
readonly properties: "description" | "image" | "name";
|
|
1370
|
+
readonly methods: never;
|
|
1371
|
+
}[];
|
|
1372
|
+
readonly incoming: "0..1";
|
|
1373
|
+
};
|
|
1374
|
+
readonly constraints: Record<never, never>;
|
|
1375
|
+
readonly effectiveProperties: never;
|
|
1376
|
+
}>;
|
|
1377
|
+
readonly ServiceAccount: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1378
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1379
|
+
readonly inheritance: "final";
|
|
1380
|
+
readonly abstract: false;
|
|
1381
|
+
readonly description: "A non-human account that signs in with a key pair.";
|
|
1382
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Timestamped">];
|
|
1383
|
+
readonly properties: {};
|
|
1384
|
+
readonly policies: {
|
|
1385
|
+
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>;
|
|
1386
|
+
readonly traverse: true;
|
|
1387
|
+
};
|
|
1388
|
+
readonly methods: {
|
|
1389
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1390
|
+
name: string;
|
|
1391
|
+
publicKey: Record<string, unknown>;
|
|
1392
|
+
proof: string;
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly mode: 'value';
|
|
1395
|
+
readonly value: {
|
|
1396
|
+
account: string;
|
|
1397
|
+
issuer: string;
|
|
1398
|
+
subject: string;
|
|
1399
|
+
};
|
|
1400
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1401
|
+
readonly deactivate: 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
|
+
readonly reactivate: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1406
|
+
readonly mode: 'value';
|
|
1407
|
+
readonly value: Record<string, never>;
|
|
1408
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1409
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1410
|
+
readonly mode: 'value';
|
|
1411
|
+
readonly value: Record<string, never>;
|
|
1412
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1413
|
+
};
|
|
1414
|
+
}>;
|
|
1415
|
+
readonly service_account_creator: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1416
|
+
readonly depth: 0;
|
|
1417
|
+
readonly abstract: false;
|
|
1418
|
+
readonly extends: readonly [];
|
|
1419
|
+
readonly properties: never;
|
|
1420
|
+
readonly source: {
|
|
1421
|
+
readonly as: "account";
|
|
1422
|
+
readonly accepts: readonly {
|
|
1423
|
+
readonly kind: 'node';
|
|
1424
|
+
readonly abstract: false;
|
|
1425
|
+
readonly depth: 1;
|
|
1426
|
+
readonly properties: "createdAt" | "frozen" | "iss" | "name" | "sub" | "updatedAt";
|
|
1427
|
+
readonly methods: "create" | "deactivate" | "delete" | "reactivate";
|
|
1428
|
+
}[];
|
|
1429
|
+
readonly outgoing: "0..1";
|
|
1430
|
+
};
|
|
1431
|
+
readonly target: {
|
|
1432
|
+
readonly as: "creator";
|
|
1433
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
|
|
1434
|
+
readonly origin: "kernel.astrale.ai";
|
|
1435
|
+
})[];
|
|
1436
|
+
readonly incoming: "0..*";
|
|
1437
|
+
};
|
|
1438
|
+
readonly constraints: Record<never, never>;
|
|
1439
|
+
readonly effectiveProperties: never;
|
|
1440
|
+
}>;
|
|
1441
|
+
readonly Invitation: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1442
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1443
|
+
readonly inheritance: "final";
|
|
1444
|
+
readonly abstract: false;
|
|
1445
|
+
readonly description: "One invitation of an account, until it is accepted, cancelled or expired.";
|
|
1446
|
+
readonly properties: {
|
|
1447
|
+
status: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1448
|
+
readonly type: "string";
|
|
1449
|
+
readonly enum: readonly ["pending", "accepted", "cancelled", "expired"];
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly required?: boolean;
|
|
1452
|
+
readonly description?: string;
|
|
1453
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1454
|
+
}>;
|
|
1455
|
+
expiresAt: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1456
|
+
readonly type: "string";
|
|
1457
|
+
readonly minLength: 20;
|
|
1458
|
+
readonly maxLength: 40;
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly required?: boolean;
|
|
1461
|
+
readonly description?: string;
|
|
1462
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1463
|
+
}>;
|
|
1464
|
+
execution: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1465
|
+
readonly type: "string";
|
|
1466
|
+
readonly minLength: 1;
|
|
1467
|
+
readonly maxLength: 200;
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly required?: boolean;
|
|
1470
|
+
readonly description?: string;
|
|
1471
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1472
|
+
}>;
|
|
1473
|
+
round: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1474
|
+
readonly type: "integer";
|
|
1475
|
+
readonly minimum: 0;
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly required?: boolean;
|
|
1478
|
+
readonly description?: string;
|
|
1479
|
+
readonly immutable?: import("@astrale-os/sdk/schema").PropertyImmutability;
|
|
1480
|
+
}>;
|
|
1481
|
+
email: import("@astrale-os/sdk/schema").AuthoredProperty<{
|
|
1482
|
+
readonly type: "string";
|
|
1483
|
+
readonly minLength: 3;
|
|
1484
|
+
readonly maxLength: 320;
|
|
1485
|
+
}, {
|
|
1486
|
+
readonly required: false;
|
|
1487
|
+
}>;
|
|
1488
|
+
};
|
|
1489
|
+
readonly policies: {
|
|
1490
|
+
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>;
|
|
1491
|
+
readonly traverse: true;
|
|
1492
|
+
};
|
|
1493
|
+
readonly methods: {
|
|
1494
|
+
readonly send: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1495
|
+
user: string;
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly mode: 'value';
|
|
1498
|
+
readonly value: {
|
|
1499
|
+
status: "accepted" | "cancelled" | "expired" | "pending";
|
|
1500
|
+
};
|
|
1501
|
+
}, "authorized", true, false, {
|
|
1502
|
+
readonly durable: true;
|
|
1503
|
+
}, undefined>>;
|
|
1504
|
+
readonly resend: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1505
|
+
readonly mode: 'value';
|
|
1506
|
+
readonly value: Record<string, never>;
|
|
1507
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1508
|
+
readonly cancel: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1509
|
+
readonly mode: 'value';
|
|
1510
|
+
readonly value: Record<string, never>;
|
|
1511
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1512
|
+
readonly accept: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1513
|
+
iss: string;
|
|
1514
|
+
sub: string;
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly mode: 'value';
|
|
1517
|
+
readonly value: Record<string, never>;
|
|
1518
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1519
|
+
};
|
|
1520
|
+
}>;
|
|
1521
|
+
readonly invitation_user: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1522
|
+
readonly depth: 0;
|
|
1523
|
+
readonly abstract: false;
|
|
1524
|
+
readonly extends: readonly [];
|
|
1525
|
+
readonly properties: never;
|
|
1526
|
+
readonly source: {
|
|
1527
|
+
readonly as: "invitation";
|
|
1528
|
+
readonly accepts: readonly {
|
|
1529
|
+
readonly kind: 'node';
|
|
1530
|
+
readonly abstract: false;
|
|
1531
|
+
readonly depth: 0;
|
|
1532
|
+
readonly properties: "email" | "execution" | "expiresAt" | "round" | "status";
|
|
1533
|
+
readonly methods: "accept" | "cancel" | "resend" | "send";
|
|
1534
|
+
}[];
|
|
1535
|
+
readonly outgoing: "0..1";
|
|
1536
|
+
};
|
|
1537
|
+
readonly target: {
|
|
1538
|
+
readonly as: "user";
|
|
1539
|
+
readonly accepts: readonly {
|
|
1540
|
+
readonly kind: 'node';
|
|
1541
|
+
readonly abstract: false;
|
|
1542
|
+
readonly depth: 1;
|
|
1543
|
+
readonly properties: "attributes" | "claimedEmail" | "claimedName" | "creationKey" | "directory" | "directoryActive" | "email" | "externalId" | "familyName" | "frozen" | "givenName" | "icon" | "iss" | "name" | "sub" | "suspended";
|
|
1544
|
+
readonly methods: "create" | "deactivate" | "delete" | "deprovision" | "invite" | "provision" | "reactivate" | "recordProfile" | "recordSignIn" | "saveSettings" | "update" | "updateProfile";
|
|
1545
|
+
}[];
|
|
1546
|
+
readonly incoming: "0..*";
|
|
1547
|
+
};
|
|
1548
|
+
readonly constraints: Record<never, never>;
|
|
1549
|
+
readonly effectiveProperties: never;
|
|
1550
|
+
}>;
|
|
1551
|
+
readonly Role: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1552
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1553
|
+
readonly inheritance: "final";
|
|
1554
|
+
readonly abstract: false;
|
|
1555
|
+
readonly description: "A Role the Shell declares.";
|
|
1556
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Role">];
|
|
1557
|
+
readonly policies: {
|
|
1558
|
+
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>;
|
|
1559
|
+
readonly traverse: true;
|
|
1560
|
+
};
|
|
1561
|
+
}>;
|
|
1562
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1563
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1564
|
+
readonly policies: {
|
|
1565
|
+
readonly read: true;
|
|
1566
|
+
readonly traverse: true;
|
|
1567
|
+
};
|
|
1568
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1569
|
+
readonly methods: {
|
|
1570
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1571
|
+
name: string;
|
|
1572
|
+
target: string;
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly mode: 'value';
|
|
1575
|
+
readonly value: Record<string, never>;
|
|
1576
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1577
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1578
|
+
name: string;
|
|
1579
|
+
}, {
|
|
1580
|
+
readonly mode: 'value';
|
|
1581
|
+
readonly value: Record<string, never>;
|
|
1582
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1583
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1584
|
+
name: string;
|
|
1585
|
+
to: string;
|
|
1586
|
+
}, {
|
|
1587
|
+
readonly mode: 'value';
|
|
1588
|
+
readonly value: Record<string, never>;
|
|
1589
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1590
|
+
};
|
|
1591
|
+
}>;
|
|
1592
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1593
|
+
readonly depth: 0;
|
|
1594
|
+
readonly abstract: false;
|
|
1595
|
+
readonly extends: readonly [];
|
|
1596
|
+
readonly properties: never;
|
|
1597
|
+
readonly source: {
|
|
1598
|
+
readonly as: "namespace";
|
|
1599
|
+
readonly accepts: readonly (() => {
|
|
1600
|
+
readonly kind: 'node';
|
|
1601
|
+
readonly abstract: never;
|
|
1602
|
+
readonly depth: never;
|
|
1603
|
+
readonly properties: never;
|
|
1604
|
+
readonly methods: never;
|
|
1605
|
+
})[];
|
|
1606
|
+
readonly outgoing: "0..*";
|
|
1607
|
+
};
|
|
1608
|
+
readonly target: {
|
|
1609
|
+
readonly as: "node";
|
|
1610
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
1611
|
+
readonly origin: "kernel.astrale.ai";
|
|
1612
|
+
})[];
|
|
1613
|
+
readonly incoming: "0..*";
|
|
1614
|
+
};
|
|
1615
|
+
readonly constraints: Record<never, never>;
|
|
1616
|
+
readonly effectiveProperties: never;
|
|
1617
|
+
}>;
|
|
1618
|
+
};
|
|
1619
|
+
readonly functions: {
|
|
1620
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1621
|
+
readonly mode: 'value';
|
|
1622
|
+
readonly value: {
|
|
1623
|
+
entrypoints: {
|
|
1624
|
+
origin: string;
|
|
1625
|
+
name: string;
|
|
1626
|
+
view: string;
|
|
1627
|
+
icon?: {
|
|
1628
|
+
small?: {
|
|
1629
|
+
svg: string;
|
|
1630
|
+
dark?: string | undefined;
|
|
1631
|
+
} | undefined;
|
|
1632
|
+
medium?: {
|
|
1633
|
+
svg: string;
|
|
1634
|
+
dark?: string | undefined;
|
|
1635
|
+
} | undefined;
|
|
1636
|
+
large?: {
|
|
1637
|
+
svg: string;
|
|
1638
|
+
dark?: string | undefined;
|
|
1639
|
+
} | undefined;
|
|
1640
|
+
} | undefined;
|
|
1641
|
+
}[];
|
|
1642
|
+
};
|
|
1643
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1644
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1645
|
+
assignments: {
|
|
1646
|
+
identity: string;
|
|
1647
|
+
set?: string[] | undefined;
|
|
1648
|
+
unset?: string[] | undefined;
|
|
1649
|
+
}[];
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly mode: 'value';
|
|
1652
|
+
readonly value: Record<string, never>;
|
|
1653
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1654
|
+
readonly legacyMigrateAccounts: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1655
|
+
readonly mode: 'value';
|
|
1656
|
+
readonly value: {
|
|
1657
|
+
migrated: number;
|
|
1658
|
+
conflicts: {
|
|
1659
|
+
user: string;
|
|
1660
|
+
email: string;
|
|
1661
|
+
}[];
|
|
1662
|
+
profiles: number;
|
|
1663
|
+
unprofiled: {
|
|
1664
|
+
node: string;
|
|
1665
|
+
reason: string;
|
|
1666
|
+
rule?: string | undefined;
|
|
1667
|
+
}[];
|
|
1668
|
+
remaining: number;
|
|
1669
|
+
};
|
|
1670
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1671
|
+
readonly legacyMigrateViewAccess: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1672
|
+
readonly mode: 'value';
|
|
1673
|
+
readonly value: {
|
|
1674
|
+
copied: number;
|
|
1675
|
+
removed: number;
|
|
1676
|
+
};
|
|
1677
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1678
|
+
readonly disconnectDirectory: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1679
|
+
directory: string;
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly mode: 'value';
|
|
1682
|
+
readonly value: {
|
|
1683
|
+
users: number;
|
|
1684
|
+
groups: number;
|
|
1685
|
+
};
|
|
1686
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1687
|
+
};
|
|
1688
|
+
readonly policies: {
|
|
1689
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1690
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1691
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1692
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1693
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
1694
|
+
readonly legacyOwnsMembershipGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1695
|
+
readonly holdsViewAccess: import("@astrale-os/sdk/schema").Policy;
|
|
1696
|
+
readonly hasRole: import("@astrale-os/sdk/schema").Policy;
|
|
1697
|
+
readonly describesSubject: import("@astrale-os/sdk/schema").Policy;
|
|
1698
|
+
readonly isProfileSource: import("@astrale-os/sdk/schema").Policy;
|
|
1699
|
+
readonly holdsSettings: import("@astrale-os/sdk/schema").Policy;
|
|
1700
|
+
readonly describesGroupOfSubject: import("@astrale-os/sdk/schema").Policy;
|
|
1701
|
+
readonly isGroupProfileSource: import("@astrale-os/sdk/schema").Policy;
|
|
1702
|
+
};
|
|
1703
|
+
readonly views: {
|
|
1704
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1705
|
+
};
|
|
1706
|
+
readonly core: {
|
|
1707
|
+
readonly nodes: {
|
|
1708
|
+
readonly 'workspace.member': import("@astrale-os/sdk/schema").CoreNode;
|
|
1709
|
+
readonly 'workspace.admin': import("@astrale-os/sdk/schema").CoreNode;
|
|
1710
|
+
readonly 'user.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1711
|
+
readonly 'user.writer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1712
|
+
readonly 'group.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1713
|
+
readonly 'group.writer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1714
|
+
readonly 'directory.provisioner': import("@astrale-os/sdk/schema").CoreNode;
|
|
1715
|
+
readonly 'user-profile.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1716
|
+
readonly 'user-profile.self-writer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1717
|
+
readonly 'group-profile.reader': import("@astrale-os/sdk/schema").CoreNode;
|
|
1718
|
+
readonly 'os.viewer': import("@astrale-os/sdk/schema").CoreNode;
|
|
1719
|
+
readonly 'service-account.admin': import("@astrale-os/sdk/schema").CoreNode;
|
|
1720
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1721
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1722
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1723
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
1724
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1725
|
+
readonly settings: import("@astrale-os/sdk/schema").CoreNode;
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
806
1728
|
}, {
|
|
807
1729
|
readonly kernel: "kernel.astrale.ai";
|
|
808
1730
|
}]>;
|
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.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/astrale-os/domains.git",
|
|
@@ -31,11 +31,12 @@
|
|
|
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",
|
|
37
|
-
"@astrale-os/shell": "0.7.0-beta.
|
|
38
|
-
"@astrale-os/shell-react": "0.6.0-beta.
|
|
38
|
+
"@astrale-os/shell": "0.7.0-beta.21",
|
|
39
|
+
"@astrale-os/shell-react": "0.6.0-beta.19",
|
|
39
40
|
"@astrale-os/ui": "1.0.0-beta.43",
|
|
40
41
|
"@fontsource-variable/geist": "5.3.0",
|
|
41
42
|
"@tailwindcss/vite": "^4.3.3",
|
|
@@ -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": {
|