@astrale-domains/issues 0.5.0 → 0.5.2

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.
Files changed (34) hide show
  1. package/README.md +6 -1
  2. package/dist/schema/modules/comment/classes/comment-authored-by.d.ts +1 -1
  3. package/dist/schema/modules/comment/classes/comment-authored-by.js +2 -2
  4. package/dist/schema/modules/comment/classes/comment.d.ts +2 -2
  5. package/dist/schema/modules/comment/functions/delete-comment.d.ts +1 -1
  6. package/dist/schema/modules/comment/functions/edit-comment.d.ts +1 -1
  7. package/dist/schema/modules/issue/classes/issue-reported-by.d.ts +1 -1
  8. package/dist/schema/modules/issue/classes/issue-reported-by.js +2 -2
  9. package/dist/schema/modules/issue/classes/issue.d.ts +8 -8
  10. package/dist/schema/modules/issue/functions/add-issue-comment.d.ts +1 -1
  11. package/dist/schema/modules/issue/functions/archive-issue.d.ts +1 -1
  12. package/dist/schema/modules/issue/functions/assign-issue.d.ts +1 -1
  13. package/dist/schema/modules/issue/functions/edit-issue.d.ts +1 -1
  14. package/dist/schema/modules/issue/functions/set-issue-parent.d.ts +1 -1
  15. package/dist/schema/modules/issue/functions/set-issue-tags.d.ts +1 -1
  16. package/dist/schema/modules/issue/functions/transition-issue.d.ts +1 -1
  17. package/dist/schema/modules/issue/functions/update-issue.d.ts +1 -1
  18. package/dist/schema/modules/project/classes/project-owned-by.d.ts +1 -1
  19. package/dist/schema/modules/project/classes/project-owned-by.js +2 -2
  20. package/dist/schema/modules/project/classes/project.d.ts +9 -9
  21. package/dist/schema/modules/project/functions/add-project-member.d.ts +1 -1
  22. package/dist/schema/modules/project/functions/archive-project.d.ts +1 -1
  23. package/dist/schema/modules/project/functions/create-project-issue.d.ts +1 -1
  24. package/dist/schema/modules/project/functions/create-project-tag.d.ts +1 -1
  25. package/dist/schema/modules/project/functions/create-project.d.ts +1 -1
  26. package/dist/schema/modules/project/functions/list-projects.d.ts +1 -1
  27. package/dist/schema/modules/project/functions/receive-project-report.d.ts +1 -1
  28. package/dist/schema/modules/project/functions/remove-project-member.d.ts +1 -1
  29. package/dist/schema/modules/project/functions/update-project.d.ts +1 -1
  30. package/dist/schema/modules/tag/classes/tag.d.ts +2 -2
  31. package/dist/schema/modules/tag/functions/delete-tag.d.ts +1 -1
  32. package/dist/schema/modules/tag/functions/edit-tag.d.ts +1 -1
  33. package/dist/schema/schema.d.ts +24 -24
  34. package/package.json +5 -5
package/README.md CHANGED
@@ -50,7 +50,12 @@ Schema-owned Policies: Project owners administer metadata, membership, Tags, and
50
50
  members contribute to Issues; an Issue's reporter edits its title and description through
51
51
  `Issue.edit` and archives it; only a Comment author edits or deletes it. Priority, status,
52
52
  assignment, Tags, parent, and Comments remain collaborator operations. Issues and their Comments are
53
- visible through a Project the caller owns or has joined, and to the Issue's reporter.
53
+ visible through a Project the caller owns or has joined, and to the Issue's reporter. Deleting an
54
+ Identity, such as by uninstalling the Domain that owns it, removes only its `issue_reported_by`,
55
+ `comment_authored_by` and `project_owned_by` Edges: its Issues, Comments and Projects stay, with
56
+ their `reporterId`, `authorId` and `ownerId`. A Project whose owner is deleted keeps its members,
57
+ who still contribute, but no one administers it, and a Comment whose author is deleted can no
58
+ longer be edited or deleted.
54
59
 
55
60
  An Issue's title is its Kernel `Named` name, which holds 100 characters. Its description is the
56
61
  Issues-owned `body`, because Kernel `Descriptable` holds only 1,000 characters. An Issue described
@@ -9,7 +9,7 @@ export declare const comment_authored_by: import("@astrale-os/sdk/schema").Direc
9
9
  };
10
10
  readonly target: {
11
11
  readonly as: "comment";
12
- readonly incoming: "1";
12
+ readonly incoming: "0..1";
13
13
  };
14
14
  readonly constraints: Record<never, never>;
15
15
  readonly effectiveProperties: never;
@@ -2,9 +2,9 @@ import { K, edgeClass } from '@astrale-os/sdk/schema';
2
2
  import { TraverseCommentRelationship } from '../policies/traverse-comment-relationship.js';
3
3
  import { Comment } from './comment.js';
4
4
  export const comment_authored_by = edgeClass.directed({
5
- description: 'The immutable author of one Comment.',
5
+ description: 'The immutable author of one Comment. Deleting the author removes this Edge; the Comment stays.',
6
6
  source: { as: 'author', accepts: [K.classes.Identity], outgoing: '0..*' },
7
- target: { as: 'comment', accepts: [() => Comment], incoming: '1' },
7
+ target: { as: 'comment', accepts: [() => Comment], incoming: '0..1' },
8
8
  policies: {
9
9
  read: () => TraverseCommentRelationship,
10
10
  traverse: () => TraverseCommentRelationship,
@@ -16,14 +16,14 @@ export declare const Comment: import("@astrale-os/sdk/schema").AuthoredNodeClass
16
16
  id: string;
17
17
  body: string;
18
18
  };
19
- }, "authorized", false, false, undefined>>;
19
+ }, "authorized", false, false, undefined, undefined>>;
20
20
  delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
21
21
  readonly mode: 'value';
22
22
  readonly value: {
23
23
  commentId: string;
24
24
  deleted: true;
25
25
  };
26
- }, "authorized", false, false, undefined>>;
26
+ }, "authorized", false, false, undefined, undefined>>;
27
27
  };
28
28
  readonly policies: {
29
29
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -4,4 +4,4 @@ export declare const deleteCommentMethod: import("@astrale-os/sdk/schema").Metho
4
4
  commentId: string;
5
5
  deleted: true;
6
6
  };
7
- }, "authorized", false, false, undefined>>;
7
+ }, "authorized", false, false, undefined, undefined>>;
@@ -6,4 +6,4 @@ export declare const editCommentMethod: import("@astrale-os/sdk/schema").Method<
6
6
  id: string;
7
7
  body: string;
8
8
  };
9
- }, "authorized", false, false, undefined>>;
9
+ }, "authorized", false, false, undefined, undefined>>;
@@ -9,7 +9,7 @@ export declare const issue_reported_by: import("@astrale-os/sdk/schema").Directe
9
9
  };
10
10
  readonly target: {
11
11
  readonly as: "issue";
12
- readonly incoming: "1";
12
+ readonly incoming: "0..1";
13
13
  };
14
14
  readonly constraints: Record<never, never>;
15
15
  readonly effectiveProperties: never;
@@ -2,8 +2,8 @@ import { K, edgeClass } from '@astrale-os/sdk/schema';
2
2
  import { TraverseIssueReporter } from '../policies/traverse-issue-reporter.js';
3
3
  import { Issue } from './issue.js';
4
4
  export const issue_reported_by = edgeClass.directed({
5
- description: 'The immutable reporter of one Issue.',
5
+ description: 'The immutable reporter of one Issue. Deleting the reporter removes this Edge; the Issue stays.',
6
6
  source: { as: 'reporter', accepts: [K.classes.Identity], outgoing: '0..*' },
7
- target: { as: 'issue', accepts: [() => Issue], incoming: '1' },
7
+ target: { as: 'issue', accepts: [() => Issue], incoming: '0..1' },
8
8
  policies: { read: () => TraverseIssueReporter, traverse: () => TraverseIssueReporter },
9
9
  });
@@ -96,7 +96,7 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
96
96
  priority: number;
97
97
  archived: boolean;
98
98
  };
99
- }, "authorized", false, false, undefined>>;
99
+ }, "authorized", false, false, undefined, undefined>>;
100
100
  edit: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
101
101
  title?: string | undefined;
102
102
  description?: string | undefined;
@@ -111,7 +111,7 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
111
111
  priority: number;
112
112
  archived: boolean;
113
113
  };
114
- }, "authorized", false, false, undefined>>;
114
+ }, "authorized", false, false, undefined, undefined>>;
115
115
  transition: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
116
116
  event: "accept" | "close" | "defer" | "reopen" | "resolve";
117
117
  }, {
@@ -133,7 +133,7 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
133
133
  from: "accepted" | "closed" | "deferred" | "open" | "resolved";
134
134
  event: "accept" | "close" | "defer" | "reopen" | "resolve";
135
135
  };
136
- }, "authorized", false, false, undefined>>;
136
+ }, "authorized", false, false, undefined, undefined>>;
137
137
  assign: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
138
138
  assigneeId: string | null;
139
139
  }, {
@@ -142,7 +142,7 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
142
142
  issueId: string;
143
143
  assigneeId?: string | undefined;
144
144
  };
145
- }, "authorized", false, false, undefined>>;
145
+ }, "authorized", false, false, undefined, undefined>>;
146
146
  setTags: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
147
147
  tagIds: string[];
148
148
  }, {
@@ -151,7 +151,7 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
151
151
  issueId: string;
152
152
  tagIds: string[];
153
153
  };
154
- }, "authorized", false, false, undefined>>;
154
+ }, "authorized", false, false, undefined, undefined>>;
155
155
  setParent: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
156
156
  parentId: string | null;
157
157
  }, {
@@ -160,7 +160,7 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
160
160
  issueId: string;
161
161
  parentId?: string | undefined;
162
162
  };
163
- }, "authorized", false, false, undefined>>;
163
+ }, "authorized", false, false, undefined, undefined>>;
164
164
  addComment: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
165
165
  body: string;
166
166
  }, {
@@ -169,14 +169,14 @@ export declare const Issue: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
169
169
  id: string;
170
170
  body: string;
171
171
  };
172
- }, "authorized", false, false, undefined>>;
172
+ }, "authorized", false, false, undefined, undefined>>;
173
173
  archive: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
174
174
  readonly mode: 'value';
175
175
  readonly value: {
176
176
  issueId: string;
177
177
  archived: true;
178
178
  };
179
- }, "authorized", false, false, undefined>>;
179
+ }, "authorized", false, false, undefined, undefined>>;
180
180
  };
181
181
  readonly policies: {
182
182
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -6,4 +6,4 @@ export declare const addIssueCommentMethod: import("@astrale-os/sdk/schema").Met
6
6
  id: string;
7
7
  body: string;
8
8
  };
9
- }, "authorized", false, false, undefined>>;
9
+ }, "authorized", false, false, undefined, undefined>>;
@@ -4,4 +4,4 @@ export declare const archiveIssueMethod: import("@astrale-os/sdk/schema").Method
4
4
  issueId: string;
5
5
  archived: true;
6
6
  };
7
- }, "authorized", false, false, undefined>>;
7
+ }, "authorized", false, false, undefined, undefined>>;
@@ -6,4 +6,4 @@ export declare const assignIssueMethod: import("@astrale-os/sdk/schema").Method<
6
6
  issueId: string;
7
7
  assigneeId?: string | undefined;
8
8
  };
9
- }, "authorized", false, false, undefined>>;
9
+ }, "authorized", false, false, undefined, undefined>>;
@@ -12,4 +12,4 @@ export declare const editIssueMethod: import("@astrale-os/sdk/schema").Method<im
12
12
  priority: number;
13
13
  archived: boolean;
14
14
  };
15
- }, "authorized", false, false, undefined>>;
15
+ }, "authorized", false, false, undefined, undefined>>;
@@ -6,4 +6,4 @@ export declare const setIssueParentMethod: import("@astrale-os/sdk/schema").Meth
6
6
  issueId: string;
7
7
  parentId?: string | undefined;
8
8
  };
9
- }, "authorized", false, false, undefined>>;
9
+ }, "authorized", false, false, undefined, undefined>>;
@@ -6,4 +6,4 @@ export declare const setIssueTagsMethod: import("@astrale-os/sdk/schema").Method
6
6
  issueId: string;
7
7
  tagIds: string[];
8
8
  };
9
- }, "authorized", false, false, undefined>>;
9
+ }, "authorized", false, false, undefined, undefined>>;
@@ -19,4 +19,4 @@ export declare const transitionIssueMethod: import("@astrale-os/sdk/schema").Met
19
19
  from: "accepted" | "closed" | "deferred" | "open" | "resolved";
20
20
  event: "accept" | "close" | "defer" | "reopen" | "resolve";
21
21
  };
22
- }, "authorized", false, false, undefined>>;
22
+ }, "authorized", false, false, undefined, undefined>>;
@@ -13,4 +13,4 @@ export declare const updateIssueMethod: import("@astrale-os/sdk/schema").Method<
13
13
  priority: number;
14
14
  archived: boolean;
15
15
  };
16
- }, "authorized", false, false, undefined>>;
16
+ }, "authorized", false, false, undefined, undefined>>;
@@ -9,7 +9,7 @@ export declare const project_owned_by: import("@astrale-os/sdk/schema").Directed
9
9
  };
10
10
  readonly target: {
11
11
  readonly as: "project";
12
- readonly incoming: "1";
12
+ readonly incoming: "0..1";
13
13
  };
14
14
  readonly constraints: Record<never, never>;
15
15
  readonly effectiveProperties: never;
@@ -2,8 +2,8 @@ import { K, edgeClass } from '@astrale-os/sdk/schema';
2
2
  import { TraverseProjectOwner } from '../policies/traverse-project-owner.js';
3
3
  import { Project } from './project.js';
4
4
  export const project_owned_by = edgeClass.directed({
5
- description: 'The exact Identity that owns and administers one Project.',
5
+ description: 'The exact Identity that owns and administers one Project. Deleting the owner removes this Edge; the Project stays, administered by no one.',
6
6
  source: { as: 'owner', accepts: [K.classes.Identity], outgoing: '0..*' },
7
- target: { as: 'project', accepts: [() => Project], incoming: '1' },
7
+ target: { as: 'project', accepts: [() => Project], incoming: '0..1' },
8
8
  policies: { read: () => TraverseProjectOwner, traverse: () => TraverseProjectOwner },
9
9
  });
@@ -24,7 +24,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
24
24
  description: string;
25
25
  archived: boolean;
26
26
  };
27
- }, "authenticated", true, false, undefined>>;
27
+ }, "authenticated", true, false, undefined, undefined>>;
28
28
  list: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
29
29
  readonly mode: 'value';
30
30
  readonly value: {
@@ -49,7 +49,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
49
49
  }[];
50
50
  }[];
51
51
  };
52
- }, "authenticated", true, false, undefined>>;
52
+ }, "authenticated", true, false, undefined, undefined>>;
53
53
  update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
54
54
  name?: string | undefined;
55
55
  description?: string | undefined;
@@ -62,7 +62,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
62
62
  description: string;
63
63
  archived: boolean;
64
64
  };
65
- }, "authorized", false, false, undefined>>;
65
+ }, "authorized", false, false, undefined, undefined>>;
66
66
  addMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
67
67
  memberId: string;
68
68
  }, {
@@ -72,7 +72,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
72
72
  memberId: string;
73
73
  changed: boolean;
74
74
  };
75
- }, "authorized", false, false, undefined>>;
75
+ }, "authorized", false, false, undefined, undefined>>;
76
76
  removeMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
77
77
  memberId: string;
78
78
  }, {
@@ -82,7 +82,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
82
82
  memberId: string;
83
83
  changed: boolean;
84
84
  };
85
- }, "authorized", false, false, undefined>>;
85
+ }, "authorized", false, false, undefined, undefined>>;
86
86
  createIssue: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
87
87
  title: string;
88
88
  description?: string | undefined;
@@ -98,7 +98,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
98
98
  priority: number;
99
99
  archived: boolean;
100
100
  };
101
- }, "authorized", false, false, undefined>>;
101
+ }, "authorized", false, false, undefined, undefined>>;
102
102
  receiveReport: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
103
103
  body: string;
104
104
  context?: {
@@ -139,7 +139,7 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
139
139
  id: string;
140
140
  reference: string;
141
141
  };
142
- }, "authorized", false, false, undefined>>;
142
+ }, "authorized", false, false, undefined, undefined>>;
143
143
  createTag: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
144
144
  name: string;
145
145
  color?: string | undefined;
@@ -151,14 +151,14 @@ export declare const Project: import("@astrale-os/sdk/schema").AuthoredNodeClass
151
151
  slug: string;
152
152
  color?: string | undefined;
153
153
  };
154
- }, "authorized", false, false, undefined>>;
154
+ }, "authorized", false, false, undefined, undefined>>;
155
155
  archive: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
156
156
  readonly mode: 'value';
157
157
  readonly value: {
158
158
  projectId: string;
159
159
  archived: true;
160
160
  };
161
- }, "authorized", false, false, undefined>>;
161
+ }, "authorized", false, false, undefined, undefined>>;
162
162
  };
163
163
  readonly policies: {
164
164
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -7,4 +7,4 @@ export declare const addProjectMemberMethod: import("@astrale-os/sdk/schema").Me
7
7
  memberId: string;
8
8
  changed: boolean;
9
9
  };
10
- }, "authorized", false, false, undefined>>;
10
+ }, "authorized", false, false, undefined, undefined>>;
@@ -4,4 +4,4 @@ export declare const archiveProjectMethod: import("@astrale-os/sdk/schema").Meth
4
4
  projectId: string;
5
5
  archived: true;
6
6
  };
7
- }, "authorized", false, false, undefined>>;
7
+ }, "authorized", false, false, undefined, undefined>>;
@@ -13,4 +13,4 @@ export declare const createProjectIssueMethod: import("@astrale-os/sdk/schema").
13
13
  priority: number;
14
14
  archived: boolean;
15
15
  };
16
- }, "authorized", false, false, undefined>>;
16
+ }, "authorized", false, false, undefined, undefined>>;
@@ -9,4 +9,4 @@ export declare const createProjectTagMethod: import("@astrale-os/sdk/schema").Me
9
9
  slug: string;
10
10
  color?: string | undefined;
11
11
  };
12
- }, "authorized", false, false, undefined>>;
12
+ }, "authorized", false, false, undefined, undefined>>;
@@ -11,4 +11,4 @@ export declare const createProjectMethod: import("@astrale-os/sdk/schema").Metho
11
11
  description: string;
12
12
  archived: boolean;
13
13
  };
14
- }, "authenticated", true, false, undefined>>;
14
+ }, "authenticated", true, false, undefined, undefined>>;
@@ -22,4 +22,4 @@ export declare const listProjectsMethod: import("@astrale-os/sdk/schema").Method
22
22
  }[];
23
23
  }[];
24
24
  };
25
- }, "authenticated", true, false, undefined>>;
25
+ }, "authenticated", true, false, undefined, undefined>>;
@@ -38,4 +38,4 @@ export declare const receiveProjectReportMethod: import("@astrale-os/sdk/schema"
38
38
  id: string;
39
39
  reference: string;
40
40
  };
41
- }, "authorized", false, false, undefined>>;
41
+ }, "authorized", false, false, undefined, undefined>>;
@@ -7,4 +7,4 @@ export declare const removeProjectMemberMethod: import("@astrale-os/sdk/schema")
7
7
  memberId: string;
8
8
  changed: boolean;
9
9
  };
10
- }, "authorized", false, false, undefined>>;
10
+ }, "authorized", false, false, undefined, undefined>>;
@@ -10,4 +10,4 @@ export declare const updateProjectMethod: import("@astrale-os/sdk/schema").Metho
10
10
  description: string;
11
11
  archived: boolean;
12
12
  };
13
- }, "authorized", false, false, undefined>>;
13
+ }, "authorized", false, false, undefined, undefined>>;
@@ -21,14 +21,14 @@ export declare const Tag: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
21
21
  slug: string;
22
22
  color?: string | undefined;
23
23
  };
24
- }, "authorized", false, false, undefined>>;
24
+ }, "authorized", false, false, undefined, undefined>>;
25
25
  delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
26
26
  readonly mode: 'value';
27
27
  readonly value: {
28
28
  tagId: string;
29
29
  deleted: true;
30
30
  };
31
- }, "authorized", false, false, undefined>>;
31
+ }, "authorized", false, false, undefined, undefined>>;
32
32
  };
33
33
  readonly policies: {
34
34
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -4,4 +4,4 @@ export declare const deleteTagMethod: import("@astrale-os/sdk/schema").Method<im
4
4
  tagId: string;
5
5
  deleted: true;
6
6
  };
7
- }, "authorized", false, false, undefined>>;
7
+ }, "authorized", false, false, undefined, undefined>>;
@@ -9,4 +9,4 @@ export declare const editTagMethod: import("@astrale-os/sdk/schema").Method<impo
9
9
  slug: string;
10
10
  color?: string | undefined;
11
11
  };
12
- }, "authorized", false, false, undefined>>;
12
+ }, "authorized", false, false, undefined, undefined>>;
@@ -29,7 +29,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
29
29
  description: string;
30
30
  archived: boolean;
31
31
  };
32
- }, "authenticated", true, false, undefined>>;
32
+ }, "authenticated", true, false, undefined, undefined>>;
33
33
  list: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
34
34
  readonly mode: 'value';
35
35
  readonly value: {
@@ -54,7 +54,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
54
54
  }[];
55
55
  }[];
56
56
  };
57
- }, "authenticated", true, false, undefined>>;
57
+ }, "authenticated", true, false, undefined, undefined>>;
58
58
  update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
59
59
  name?: string | undefined;
60
60
  description?: string | undefined;
@@ -67,7 +67,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
67
67
  description: string;
68
68
  archived: boolean;
69
69
  };
70
- }, "authorized", false, false, undefined>>;
70
+ }, "authorized", false, false, undefined, undefined>>;
71
71
  addMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
72
72
  memberId: string;
73
73
  }, {
@@ -77,7 +77,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
77
77
  memberId: string;
78
78
  changed: boolean;
79
79
  };
80
- }, "authorized", false, false, undefined>>;
80
+ }, "authorized", false, false, undefined, undefined>>;
81
81
  removeMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
82
82
  memberId: string;
83
83
  }, {
@@ -87,7 +87,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
87
87
  memberId: string;
88
88
  changed: boolean;
89
89
  };
90
- }, "authorized", false, false, undefined>>;
90
+ }, "authorized", false, false, undefined, undefined>>;
91
91
  createIssue: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
92
92
  title: string;
93
93
  description?: string | undefined;
@@ -103,7 +103,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
103
103
  priority: number;
104
104
  archived: boolean;
105
105
  };
106
- }, "authorized", false, false, undefined>>;
106
+ }, "authorized", false, false, undefined, undefined>>;
107
107
  receiveReport: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
108
108
  body: string;
109
109
  context?: {
@@ -144,7 +144,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
144
144
  id: string;
145
145
  reference: string;
146
146
  };
147
- }, "authorized", false, false, undefined>>;
147
+ }, "authorized", false, false, undefined, undefined>>;
148
148
  createTag: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
149
149
  name: string;
150
150
  color?: string | undefined;
@@ -156,14 +156,14 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
156
156
  slug: string;
157
157
  color?: string | undefined;
158
158
  };
159
- }, "authorized", false, false, undefined>>;
159
+ }, "authorized", false, false, undefined, undefined>>;
160
160
  archive: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
161
161
  readonly mode: 'value';
162
162
  readonly value: {
163
163
  projectId: string;
164
164
  archived: true;
165
165
  };
166
- }, "authorized", false, false, undefined>>;
166
+ }, "authorized", false, false, undefined, undefined>>;
167
167
  };
168
168
  readonly policies: {
169
169
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -267,7 +267,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
267
267
  priority: number;
268
268
  archived: boolean;
269
269
  };
270
- }, "authorized", false, false, undefined>>;
270
+ }, "authorized", false, false, undefined, undefined>>;
271
271
  edit: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
272
272
  title?: string | undefined;
273
273
  description?: string | undefined;
@@ -282,7 +282,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
282
282
  priority: number;
283
283
  archived: boolean;
284
284
  };
285
- }, "authorized", false, false, undefined>>;
285
+ }, "authorized", false, false, undefined, undefined>>;
286
286
  transition: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
287
287
  event: "accept" | "close" | "defer" | "reopen" | "resolve";
288
288
  }, {
@@ -304,7 +304,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
304
304
  from: "accepted" | "closed" | "deferred" | "open" | "resolved";
305
305
  event: "accept" | "close" | "defer" | "reopen" | "resolve";
306
306
  };
307
- }, "authorized", false, false, undefined>>;
307
+ }, "authorized", false, false, undefined, undefined>>;
308
308
  assign: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
309
309
  assigneeId: string | null;
310
310
  }, {
@@ -313,7 +313,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
313
313
  issueId: string;
314
314
  assigneeId?: string | undefined;
315
315
  };
316
- }, "authorized", false, false, undefined>>;
316
+ }, "authorized", false, false, undefined, undefined>>;
317
317
  setTags: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
318
318
  tagIds: string[];
319
319
  }, {
@@ -322,7 +322,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
322
322
  issueId: string;
323
323
  tagIds: string[];
324
324
  };
325
- }, "authorized", false, false, undefined>>;
325
+ }, "authorized", false, false, undefined, undefined>>;
326
326
  setParent: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
327
327
  parentId: string | null;
328
328
  }, {
@@ -331,7 +331,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
331
331
  issueId: string;
332
332
  parentId?: string | undefined;
333
333
  };
334
- }, "authorized", false, false, undefined>>;
334
+ }, "authorized", false, false, undefined, undefined>>;
335
335
  addComment: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
336
336
  body: string;
337
337
  }, {
@@ -340,14 +340,14 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
340
340
  id: string;
341
341
  body: string;
342
342
  };
343
- }, "authorized", false, false, undefined>>;
343
+ }, "authorized", false, false, undefined, undefined>>;
344
344
  archive: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
345
345
  readonly mode: 'value';
346
346
  readonly value: {
347
347
  issueId: string;
348
348
  archived: true;
349
349
  };
350
- }, "authorized", false, false, undefined>>;
350
+ }, "authorized", false, false, undefined, undefined>>;
351
351
  };
352
352
  readonly policies: {
353
353
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -371,14 +371,14 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
371
371
  id: string;
372
372
  body: string;
373
373
  };
374
- }, "authorized", false, false, undefined>>;
374
+ }, "authorized", false, false, undefined, undefined>>;
375
375
  delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
376
376
  readonly mode: 'value';
377
377
  readonly value: {
378
378
  commentId: string;
379
379
  deleted: true;
380
380
  };
381
- }, "authorized", false, false, undefined>>;
381
+ }, "authorized", false, false, undefined, undefined>>;
382
382
  };
383
383
  readonly policies: {
384
384
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -407,14 +407,14 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
407
407
  slug: string;
408
408
  color?: string | undefined;
409
409
  };
410
- }, "authorized", false, false, undefined>>;
410
+ }, "authorized", false, false, undefined, undefined>>;
411
411
  delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
412
412
  readonly mode: 'value';
413
413
  readonly value: {
414
414
  tagId: string;
415
415
  deleted: true;
416
416
  };
417
- }, "authorized", false, false, undefined>>;
417
+ }, "authorized", false, false, undefined, undefined>>;
418
418
  };
419
419
  readonly policies: {
420
420
  read: () => import("@astrale-os/sdk/schema").Policy;
@@ -432,7 +432,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
432
432
  };
433
433
  readonly target: {
434
434
  readonly as: "project";
435
- readonly incoming: "1";
435
+ readonly incoming: "0..1";
436
436
  };
437
437
  readonly constraints: Record<never, never>;
438
438
  readonly effectiveProperties: never;
@@ -480,7 +480,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
480
480
  };
481
481
  readonly target: {
482
482
  readonly as: "issue";
483
- readonly incoming: "1";
483
+ readonly incoming: "0..1";
484
484
  };
485
485
  readonly constraints: Record<never, never>;
486
486
  readonly effectiveProperties: never;
@@ -547,7 +547,7 @@ export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"is
547
547
  };
548
548
  readonly target: {
549
549
  readonly as: "comment";
550
- readonly incoming: "1";
550
+ readonly incoming: "0..1";
551
551
  };
552
552
  readonly constraints: Record<never, never>;
553
553
  readonly effectiveProperties: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-domains/issues",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/astrale-os/domains.git",
@@ -28,14 +28,14 @@
28
28
  "registry": "https://registry.npmjs.org/"
29
29
  },
30
30
  "dependencies": {
31
- "@astrale-os/sdk": "0.6.0-beta.31",
31
+ "@astrale-os/sdk": "0.6.0-beta.37",
32
32
  "zod": "4.4.3"
33
33
  },
34
34
  "devDependencies": {
35
- "@astrale-os/adapter-cloudflare": "0.5.0-beta.186",
35
+ "@astrale-os/adapter-cloudflare": "0.5.0-beta.192",
36
36
  "@astrale-os/ox": ">=0.1.4 <1.0.0",
37
- "@astrale-os/shell": "0.7.0-beta.5",
38
- "@astrale-os/shell-react": "0.6.0-beta.4",
37
+ "@astrale-os/shell": "0.7.0-beta.7",
38
+ "@astrale-os/shell-react": "0.6.0-beta.8",
39
39
  "@astrale-os/ui": "1.0.0-beta.37",
40
40
  "@tailwindcss/vite": "^4.3.3",
41
41
  "@tanstack/react-router": "1.170.18",