@astrale-domains/issues 0.7.3 → 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 +24 -12
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.js +1 -1
- package/dist/schema/modules/comment/classes/comment-authored-by.js +3 -3
- package/dist/schema/modules/comment/classes/comment.js +3 -3
- package/dist/schema/modules/comment/classes/issue-has-comment.d.ts +1 -1
- package/dist/schema/modules/comment/classes/issue-has-comment.js +5 -2
- package/dist/schema/modules/comment/functions/delete-comment.js +2 -2
- package/dist/schema/modules/comment/functions/edit-comment.js +2 -2
- package/dist/schema/modules/comment/index.d.ts +1 -1
- package/dist/schema/modules/comment/index.js +1 -1
- package/dist/schema/modules/comment/policies/authored-comment.d.ts +1 -0
- package/dist/schema/modules/comment/policies/{edit-own-comment.js → authored-comment.js} +1 -1
- package/dist/schema/modules/comment/policies/index.d.ts +4 -4
- package/dist/schema/modules/comment/policies/index.js +4 -4
- package/dist/schema/modules/comment/policies/owns-or-belongs-to-project-of-issue-of-authored-comment.d.ts +1 -0
- package/dist/schema/modules/comment/policies/{traverse-comment-relationship.js → owns-or-belongs-to-project-of-issue-of-authored-comment.js} +2 -2
- package/dist/schema/modules/comment/policies/owns-or-belongs-to-project-of-issue-of-comment-or-reported-issue-of-comment.d.ts +1 -0
- package/dist/schema/modules/comment/policies/{contribute-to-comment-or-reported-issue-of-comment.js → owns-or-belongs-to-project-of-issue-of-comment-or-reported-issue-of-comment.js} +1 -1
- package/dist/schema/modules/comment/policies/owns-or-belongs-to-project-of-issue-with-comment-or-reported-issue-with-comment.d.ts +1 -0
- package/dist/schema/modules/comment/policies/{traverse-issue-comment.js → owns-or-belongs-to-project-of-issue-with-comment-or-reported-issue-with-comment.js} +1 -1
- package/dist/schema/modules/issue/classes/index.d.ts +1 -0
- package/dist/schema/modules/issue/classes/index.js +1 -0
- package/dist/schema/modules/issue/classes/issue-assigned-to.d.ts +1 -1
- package/dist/schema/modules/issue/classes/issue-assigned-to.js +5 -2
- package/dist/schema/modules/issue/classes/issue-is-about.d.ts +30 -0
- package/dist/schema/modules/issue/classes/issue-is-about.js +16 -0
- package/dist/schema/modules/issue/classes/issue-reported-by.d.ts +1 -1
- package/dist/schema/modules/issue/classes/issue-reported-by.js +5 -2
- package/dist/schema/modules/issue/classes/issue-subtask-of.d.ts +2 -2
- package/dist/schema/modules/issue/classes/issue-subtask-of.js +5 -2
- package/dist/schema/modules/issue/classes/issue-tracked-by.d.ts +2 -2
- package/dist/schema/modules/issue/classes/issue-tracked-by.js +5 -2
- package/dist/schema/modules/issue/classes/issue.d.ts +9 -0
- package/dist/schema/modules/issue/classes/issue.js +5 -3
- package/dist/schema/modules/issue/classes/project-contains-issue.d.ts +1 -1
- package/dist/schema/modules/issue/classes/project-contains-issue.js +5 -3
- package/dist/schema/modules/issue/functions/add-issue-comment.js +2 -2
- package/dist/schema/modules/issue/functions/archive-issue.js +2 -2
- package/dist/schema/modules/issue/functions/assign-issue.js +2 -2
- package/dist/schema/modules/issue/functions/delete-issue.js +2 -2
- package/dist/schema/modules/issue/functions/edit-issue.js +2 -2
- package/dist/schema/modules/issue/functions/index.d.ts +1 -0
- package/dist/schema/modules/issue/functions/index.js +1 -0
- package/dist/schema/modules/issue/functions/set-issue-parent.js +2 -2
- package/dist/schema/modules/issue/functions/set-issue-tags.js +2 -2
- package/dist/schema/modules/issue/functions/set-issue-topics.d.ts +9 -0
- package/dist/schema/modules/issue/functions/set-issue-topics.js +12 -0
- package/dist/schema/modules/issue/functions/track-issue.js +2 -2
- package/dist/schema/modules/issue/functions/transition-issue.js +2 -2
- package/dist/schema/modules/issue/functions/untrack-issue.js +2 -2
- package/dist/schema/modules/issue/functions/update-issue.js +2 -2
- package/dist/schema/modules/issue/index.d.ts +3 -3
- package/dist/schema/modules/issue/index.js +3 -3
- package/dist/schema/modules/issue/policies/index.d.ts +9 -9
- package/dist/schema/modules/issue/policies/index.js +9 -9
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-assigned-issue.d.ts +1 -0
- package/dist/schema/modules/issue/policies/{traverse-issue-assignee.js → owns-or-belongs-to-project-of-assigned-issue.js} +1 -1
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-child-issue.d.ts +1 -0
- package/dist/schema/modules/issue/policies/{traverse-issue-parent.js → owns-or-belongs-to-project-of-child-issue.js} +1 -1
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-issue-or-reported-issue.d.ts +1 -0
- package/dist/schema/modules/issue/policies/{contribute-to-issue-or-reported-issue.js → owns-or-belongs-to-project-of-issue-or-reported-issue.js} +2 -2
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-issue-with-topic.d.ts +1 -0
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-issue-with-topic.js +13 -0
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-issue.d.ts +1 -0
- package/dist/schema/modules/issue/policies/{contribute-to-issue.js → owns-or-belongs-to-project-of-issue.js} +1 -1
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-reported-issue-or-reported-issue.d.ts +1 -0
- package/dist/schema/modules/issue/policies/{traverse-issue-reporter.js → owns-or-belongs-to-project-of-reported-issue-or-reported-issue.js} +1 -1
- package/dist/schema/modules/issue/policies/owns-or-belongs-to-project-of-tracked-or-tracking-issue.d.ts +2 -0
- package/dist/schema/modules/issue/policies/{traverse-issue-tracking.js → owns-or-belongs-to-project-of-tracked-or-tracking-issue.js} +2 -2
- package/dist/schema/modules/issue/policies/owns-project-of-issue.d.ts +1 -0
- package/dist/schema/modules/issue/policies/{manage-issue.js → owns-project-of-issue.js} +1 -1
- package/dist/schema/modules/issue/policies/reported-issue.d.ts +1 -1
- package/dist/schema/modules/issue/policies/reported-issue.js +1 -1
- 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 +2 -0
- package/dist/schema/modules/issue/types/issue.js +2 -0
- package/dist/schema/modules/project/classes/project-has-member.js +5 -2
- package/dist/schema/modules/project/classes/project-owned-by.js +5 -2
- package/dist/schema/modules/project/classes/project.js +2 -2
- package/dist/schema/modules/project/functions/add-project-member.js +2 -2
- package/dist/schema/modules/project/functions/archive-project.js +2 -2
- package/dist/schema/modules/project/functions/create-project-issue.js +2 -2
- package/dist/schema/modules/project/functions/create-project-tag.js +2 -2
- package/dist/schema/modules/project/functions/delete-project.js +2 -2
- package/dist/schema/modules/project/functions/receive-project-report.js +2 -2
- package/dist/schema/modules/project/functions/remove-project-member.js +2 -2
- package/dist/schema/modules/project/functions/update-project.js +2 -2
- package/dist/schema/modules/project/index.d.ts +1 -1
- package/dist/schema/modules/project/index.js +1 -1
- package/dist/schema/modules/project/policies/index.d.ts +5 -4
- package/dist/schema/modules/project/policies/index.js +5 -4
- package/dist/schema/modules/project/policies/owns-or-belongs-to-containing-project.d.ts +1 -0
- package/dist/schema/modules/project/policies/owns-or-belongs-to-containing-project.js +7 -0
- package/dist/schema/modules/project/policies/owns-or-belongs-to-project-of-membership.d.ts +1 -0
- package/dist/schema/modules/project/policies/{traverse-project-member.js → owns-or-belongs-to-project-of-membership.js} +1 -1
- package/dist/schema/modules/project/policies/owns-or-belongs-to-project-of-ownership.d.ts +1 -0
- package/dist/schema/modules/project/policies/{traverse-project-owner.js → owns-or-belongs-to-project-of-ownership.js} +1 -1
- package/dist/schema/modules/project/policies/owns-or-belongs-to-project.d.ts +1 -0
- package/dist/schema/modules/project/policies/{contribute-to-project.js → owns-or-belongs-to-project.js} +1 -1
- package/dist/schema/modules/project/policies/owns-project.d.ts +1 -0
- package/dist/schema/modules/project/policies/{manage-project.js → owns-project.js} +1 -1
- package/dist/schema/modules/project/types/project-edges.d.ts +1 -1
- package/dist/schema/modules/tag/classes/issue-tagged-with.d.ts +1 -1
- package/dist/schema/modules/tag/classes/issue-tagged-with.js +5 -2
- package/dist/schema/modules/tag/classes/project-contains-tag.js +5 -3
- package/dist/schema/modules/tag/classes/tag.js +5 -2
- package/dist/schema/modules/tag/functions/delete-tag.js +2 -2
- package/dist/schema/modules/tag/functions/edit-tag.js +2 -2
- package/dist/schema/modules/tag/index.d.ts +1 -1
- package/dist/schema/modules/tag/index.js +1 -1
- package/dist/schema/modules/tag/policies/index.d.ts +3 -4
- package/dist/schema/modules/tag/policies/index.js +3 -4
- package/dist/schema/modules/tag/policies/owns-or-belongs-to-project-of-tag.d.ts +1 -0
- package/dist/schema/modules/tag/policies/{contribute-to-tag.js → owns-or-belongs-to-project-of-tag.js} +1 -1
- package/dist/schema/modules/tag/policies/owns-or-belongs-to-project-of-tagged-issue.d.ts +1 -0
- package/dist/schema/modules/tag/policies/{traverse-issue-tag.js → owns-or-belongs-to-project-of-tagged-issue.js} +1 -1
- package/dist/schema/modules/tag/policies/owns-project-of-tag.d.ts +1 -0
- package/dist/schema/modules/tag/policies/{manage-tag.js → owns-project-of-tag.js} +1 -1
- package/dist/schema/schema.d.ts +979 -30
- package/dist/schema/schema.js +28 -26
- package/package.json +3 -1
- package/dist/schema/modules/comment/policies/contribute-to-comment-or-reported-issue-of-comment.d.ts +0 -1
- package/dist/schema/modules/comment/policies/edit-own-comment.d.ts +0 -1
- package/dist/schema/modules/comment/policies/traverse-comment-relationship.d.ts +0 -1
- package/dist/schema/modules/comment/policies/traverse-issue-comment.d.ts +0 -1
- package/dist/schema/modules/issue/policies/contribute-to-issue-or-reported-issue.d.ts +0 -1
- package/dist/schema/modules/issue/policies/contribute-to-issue.d.ts +0 -1
- package/dist/schema/modules/issue/policies/manage-issue.d.ts +0 -1
- package/dist/schema/modules/issue/policies/traverse-issue-assignee.d.ts +0 -1
- package/dist/schema/modules/issue/policies/traverse-issue-parent.d.ts +0 -1
- package/dist/schema/modules/issue/policies/traverse-issue-reporter.d.ts +0 -1
- package/dist/schema/modules/issue/policies/traverse-issue-tracking.d.ts +0 -2
- package/dist/schema/modules/issue/policies/traverse-project-issue.d.ts +0 -1
- package/dist/schema/modules/issue/policies/traverse-project-issue.js +0 -6
- package/dist/schema/modules/project/policies/contribute-to-project.d.ts +0 -1
- package/dist/schema/modules/project/policies/manage-project.d.ts +0 -1
- package/dist/schema/modules/project/policies/traverse-project-member.d.ts +0 -1
- package/dist/schema/modules/project/policies/traverse-project-owner.d.ts +0 -1
- package/dist/schema/modules/tag/policies/contribute-to-tag.d.ts +0 -1
- package/dist/schema/modules/tag/policies/manage-tag.d.ts +0 -1
- package/dist/schema/modules/tag/policies/traverse-issue-tag.d.ts +0 -1
- package/dist/schema/modules/tag/policies/traverse-project-tag.d.ts +0 -1
- package/dist/schema/modules/tag/policies/traverse-project-tag.js +0 -6
package/dist/schema/schema.d.ts
CHANGED
|
@@ -301,6 +301,15 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
301
301
|
tagIds: string[];
|
|
302
302
|
};
|
|
303
303
|
}, "authorized", false, false, undefined, undefined>>;
|
|
304
|
+
setTopics: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
305
|
+
topicIds: string[];
|
|
306
|
+
}, {
|
|
307
|
+
readonly mode: 'value';
|
|
308
|
+
readonly value: {
|
|
309
|
+
issueId: string;
|
|
310
|
+
topicIds: string[];
|
|
311
|
+
};
|
|
312
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
304
313
|
setParent: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
305
314
|
parentId: string | null;
|
|
306
315
|
}, {
|
|
@@ -500,7 +509,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
500
509
|
readonly abstract: false;
|
|
501
510
|
readonly depth: 1;
|
|
502
511
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
503
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
512
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
504
513
|
})[];
|
|
505
514
|
readonly incoming: "1";
|
|
506
515
|
};
|
|
@@ -526,7 +535,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
526
535
|
readonly abstract: false;
|
|
527
536
|
readonly depth: 1;
|
|
528
537
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
529
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
538
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
530
539
|
})[];
|
|
531
540
|
readonly incoming: "0..1";
|
|
532
541
|
};
|
|
@@ -552,7 +561,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
552
561
|
readonly abstract: false;
|
|
553
562
|
readonly depth: 1;
|
|
554
563
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
555
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
564
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
556
565
|
})[];
|
|
557
566
|
readonly incoming: "0..1";
|
|
558
567
|
};
|
|
@@ -571,7 +580,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
571
580
|
readonly abstract: false;
|
|
572
581
|
readonly depth: 1;
|
|
573
582
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
574
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
583
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
575
584
|
})[];
|
|
576
585
|
readonly outgoing: "0..1";
|
|
577
586
|
};
|
|
@@ -582,7 +591,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
582
591
|
readonly abstract: false;
|
|
583
592
|
readonly depth: 1;
|
|
584
593
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
585
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
594
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
586
595
|
})[];
|
|
587
596
|
readonly incoming: "0..*";
|
|
588
597
|
};
|
|
@@ -604,7 +613,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
604
613
|
readonly abstract: false;
|
|
605
614
|
readonly depth: 1;
|
|
606
615
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
607
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
616
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
608
617
|
})[];
|
|
609
618
|
readonly outgoing: "0..1";
|
|
610
619
|
};
|
|
@@ -615,7 +624,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
615
624
|
readonly abstract: false;
|
|
616
625
|
readonly depth: 1;
|
|
617
626
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
618
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
627
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
619
628
|
})[];
|
|
620
629
|
readonly incoming: "0..*";
|
|
621
630
|
};
|
|
@@ -637,7 +646,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
637
646
|
readonly abstract: false;
|
|
638
647
|
readonly depth: 1;
|
|
639
648
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
640
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
649
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
641
650
|
})[];
|
|
642
651
|
readonly outgoing: "0..*";
|
|
643
652
|
};
|
|
@@ -723,7 +732,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
723
732
|
readonly abstract: false;
|
|
724
733
|
readonly depth: 1;
|
|
725
734
|
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
726
|
-
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "track" | "transition" | "untrack" | "update";
|
|
735
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
727
736
|
})[];
|
|
728
737
|
readonly outgoing: "0..*";
|
|
729
738
|
};
|
|
@@ -741,33 +750,973 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
|
|
|
741
750
|
readonly constraints: Record<never, never>;
|
|
742
751
|
readonly effectiveProperties: never;
|
|
743
752
|
}>;
|
|
753
|
+
readonly issue_is_about: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
754
|
+
readonly depth: 0;
|
|
755
|
+
readonly abstract: false;
|
|
756
|
+
readonly extends: readonly [];
|
|
757
|
+
readonly properties: never;
|
|
758
|
+
readonly source: {
|
|
759
|
+
readonly as: "issue";
|
|
760
|
+
readonly accepts: readonly (() => {
|
|
761
|
+
readonly kind: 'node';
|
|
762
|
+
readonly abstract: false;
|
|
763
|
+
readonly depth: 1;
|
|
764
|
+
readonly properties: "archived" | "assigneeId" | "body" | "createdAt" | "description" | "name" | "priority" | "reference" | "report" | "reportRequestId" | "reporterId" | "status" | "updatedAt";
|
|
765
|
+
readonly methods: "addComment" | "archive" | "assign" | "delete" | "edit" | "setParent" | "setTags" | "setTopics" | "track" | "transition" | "untrack" | "update";
|
|
766
|
+
})[];
|
|
767
|
+
readonly outgoing: "0..*";
|
|
768
|
+
};
|
|
769
|
+
readonly target: {
|
|
770
|
+
readonly as: "topic";
|
|
771
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
772
|
+
readonly origin: "kernel.astrale.ai";
|
|
773
|
+
})[];
|
|
774
|
+
readonly incoming: "0..*";
|
|
775
|
+
};
|
|
776
|
+
readonly constraints: Record<never, never>;
|
|
777
|
+
readonly effectiveProperties: never;
|
|
778
|
+
}>;
|
|
779
|
+
};
|
|
780
|
+
readonly policies: {
|
|
781
|
+
readonly ownsProject: import("@astrale-os/sdk/schema").Policy;
|
|
782
|
+
readonly ownsOrBelongsToProject: import("@astrale-os/sdk/schema").Policy;
|
|
783
|
+
readonly ownsOrBelongsToProjectOfIssue: import("@astrale-os/sdk/schema").Policy;
|
|
784
|
+
readonly reportedIssue: import("@astrale-os/sdk/schema").Policy;
|
|
785
|
+
readonly ownsOrBelongsToProjectOfIssueOrReportedIssue: import("@astrale-os/sdk/schema").Policy;
|
|
786
|
+
readonly ownsProjectOfIssue: import("@astrale-os/sdk/schema").Policy;
|
|
787
|
+
readonly ownsOrBelongsToProjectOfTag: import("@astrale-os/sdk/schema").Policy;
|
|
788
|
+
readonly ownsProjectOfTag: import("@astrale-os/sdk/schema").Policy;
|
|
789
|
+
readonly ownsOrBelongsToProjectOfIssueOfCommentOrReportedIssueOfComment: import("@astrale-os/sdk/schema").Policy;
|
|
790
|
+
readonly authoredComment: import("@astrale-os/sdk/schema").Policy;
|
|
791
|
+
readonly ownsOrBelongsToProjectOfOwnership: import("@astrale-os/sdk/schema").Policy;
|
|
792
|
+
readonly ownsOrBelongsToProjectOfMembership: import("@astrale-os/sdk/schema").Policy;
|
|
793
|
+
readonly ownsOrBelongsToContainingProject: import("@astrale-os/sdk/schema").Policy;
|
|
794
|
+
readonly ownsOrBelongsToProjectOfReportedIssueOrReportedIssue: import("@astrale-os/sdk/schema").Policy;
|
|
795
|
+
readonly ownsOrBelongsToProjectOfAssignedIssue: import("@astrale-os/sdk/schema").Policy;
|
|
796
|
+
readonly ownsOrBelongsToProjectOfChildIssue: import("@astrale-os/sdk/schema").Policy;
|
|
797
|
+
readonly ownsOrBelongsToProjectOfTrackedOrTrackingIssue: import("@astrale-os/sdk/schema").Policy;
|
|
798
|
+
readonly ownsOrBelongsToProjectOfIssueWithCommentOrReportedIssueWithComment: import("@astrale-os/sdk/schema").Policy;
|
|
799
|
+
readonly ownsOrBelongsToProjectOfTaggedIssue: import("@astrale-os/sdk/schema").Policy;
|
|
800
|
+
readonly ownsOrBelongsToProjectOfIssueWithTopic: import("@astrale-os/sdk/schema").Policy;
|
|
801
|
+
readonly ownsOrBelongsToProjectOfIssueOfAuthoredComment: import("@astrale-os/sdk/schema").Policy;
|
|
802
|
+
};
|
|
803
|
+
readonly views: {
|
|
804
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
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>>;
|
|
744
1679
|
};
|
|
745
1680
|
readonly policies: {
|
|
746
|
-
readonly
|
|
747
|
-
readonly
|
|
748
|
-
readonly
|
|
749
|
-
readonly
|
|
750
|
-
readonly
|
|
751
|
-
readonly
|
|
752
|
-
readonly
|
|
753
|
-
readonly
|
|
754
|
-
readonly
|
|
755
|
-
readonly
|
|
756
|
-
readonly
|
|
757
|
-
readonly
|
|
758
|
-
readonly
|
|
759
|
-
readonly TraverseProjectTag: import("@astrale-os/sdk/schema").Policy;
|
|
760
|
-
readonly TraverseIssueReporter: import("@astrale-os/sdk/schema").Policy;
|
|
761
|
-
readonly TraverseIssueAssignee: import("@astrale-os/sdk/schema").Policy;
|
|
762
|
-
readonly TraverseIssueParent: import("@astrale-os/sdk/schema").Policy;
|
|
763
|
-
readonly TraverseIssueTracking: import("@astrale-os/sdk/schema").Policy;
|
|
764
|
-
readonly TraverseIssueComment: import("@astrale-os/sdk/schema").Policy;
|
|
765
|
-
readonly TraverseIssueTag: import("@astrale-os/sdk/schema").Policy;
|
|
766
|
-
readonly TraverseCommentRelationship: import("@astrale-os/sdk/schema").Policy;
|
|
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;
|
|
767
1694
|
};
|
|
768
1695
|
readonly views: {
|
|
769
1696
|
readonly application: import("@astrale-os/sdk/schema").View;
|
|
770
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
|
+
};
|
|
771
1720
|
}, {
|
|
772
1721
|
readonly kernel: "kernel.astrale.ai";
|
|
773
1722
|
}]>;
|