@astrale-domains/issues 0.1.2 → 0.1.3
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/CHANGELOG.md +69 -0
- package/README.md +71 -15
- package/dist/schema/.runtime/states/issue/index.d.ts +30 -0
- package/dist/schema/.runtime/states/issue/index.js +11 -0
- package/dist/schema/comment/class.d.ts +35 -3
- package/dist/schema/comment/class.js +11 -2
- package/dist/schema/comment/contribute-to-comment-policy.d.ts +1 -0
- package/dist/schema/comment/contribute-to-comment-policy.js +12 -0
- package/dist/schema/comment/edit-own-comment-policy.d.ts +1 -0
- package/dist/schema/comment/edit-own-comment-policy.js +6 -0
- package/dist/schema/comment/index.d.ts +3 -0
- package/dist/schema/comment/index.js +3 -0
- package/dist/schema/comment/methods.js +18 -0
- package/dist/schema/comment/relationships.d.ts +4 -4
- package/dist/schema/comment/relationships.js +10 -5
- package/dist/schema/comment/traverse-comment-relationship-policy.d.ts +2 -0
- package/dist/schema/comment/traverse-comment-relationship-policy.js +17 -0
- package/dist/schema/index.d.ts +5 -6
- package/dist/schema/index.js +4 -5
- package/dist/schema/issue/class.d.ts +163 -4
- package/dist/schema/issue/class.js +21 -9
- package/dist/schema/issue/contribute-to-issue-policy.d.ts +1 -0
- package/dist/schema/issue/contribute-to-issue-policy.js +10 -0
- package/dist/schema/issue/index.d.ts +3 -1
- package/dist/schema/issue/index.js +3 -1
- package/dist/schema/issue/methods.js +66 -0
- package/dist/schema/issue/relationships.d.ts +15 -60
- package/dist/schema/issue/relationships.js +21 -15
- package/dist/schema/issue/traverse-issue-relationship-policy.d.ts +5 -0
- package/dist/schema/issue/traverse-issue-relationship-policy.js +55 -0
- package/dist/schema/project/class.d.ts +234 -0
- package/dist/schema/project/class.js +27 -0
- package/dist/schema/project/contribute-to-project-policy.d.ts +1 -0
- package/dist/schema/project/contribute-to-project-policy.js +6 -0
- package/dist/schema/project/index.d.ts +5 -0
- package/dist/schema/project/index.js +5 -0
- package/dist/schema/project/manage-project-policy.d.ts +1 -0
- package/dist/schema/project/manage-project-policy.js +6 -0
- package/dist/schema/project/methods.js +68 -0
- package/dist/schema/{command → project}/relationships.d.ts +9 -9
- package/dist/schema/project/relationships.js +15 -0
- package/dist/schema/project/traverse-project-relationship-policy.d.ts +4 -0
- package/dist/schema/project/traverse-project-relationship-policy.js +20 -0
- package/dist/schema/{application/index.d.ts → schema.d.ts} +454 -335
- package/dist/schema/schema.js +44 -0
- package/dist/schema/tag/class.d.ts +39 -2
- package/dist/schema/tag/class.js +6 -1
- package/dist/schema/tag/contribute-to-tag-policy.d.ts +1 -0
- package/dist/schema/tag/contribute-to-tag-policy.js +10 -0
- package/dist/schema/tag/index.d.ts +3 -1
- package/dist/schema/tag/index.js +3 -1
- package/dist/schema/tag/manage-tag-policy.d.ts +1 -0
- package/dist/schema/tag/manage-tag-policy.js +10 -0
- package/dist/schema/tag/methods.js +21 -0
- package/dist/schema/tag/relationships.d.ts +2 -2
- package/dist/schema/tag/relationships.js +11 -7
- package/dist/schema/value/index.js +34 -0
- package/package.json +16 -6
- package/dist/schema/application/functions.js +0 -156
- package/dist/schema/application/index.js +0 -49
- package/dist/schema/command/class.d.ts +0 -38
- package/dist/schema/command/class.js +0 -13
- package/dist/schema/command/index.d.ts +0 -2
- package/dist/schema/command/index.js +0 -2
- package/dist/schema/command/relationships.js +0 -14
- package/dist/schema/tracker/class.d.ts +0 -73
- package/dist/schema/tracker/class.js +0 -10
- package/dist/schema/tracker/index.d.ts +0 -2
- package/dist/schema/tracker/index.js +0 -2
- package/dist/schema/tracker/relationships.d.ts +0 -16
- package/dist/schema/tracker/relationships.js +0 -7
|
@@ -5,7 +5,7 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
5
5
|
kernel: KernelSchema;
|
|
6
6
|
};
|
|
7
7
|
readonly classes: {
|
|
8
|
-
readonly
|
|
8
|
+
readonly Project: import("@astrale-os/sdk/schema").NodeClass<{
|
|
9
9
|
readonly depth: 1;
|
|
10
10
|
readonly abstract: false;
|
|
11
11
|
readonly extends: readonly [import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
|
|
@@ -59,10 +59,96 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
59
59
|
}, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never, import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never>];
|
|
60
60
|
readonly properties: {
|
|
61
61
|
readonly key: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "key", "self">;
|
|
62
|
-
readonly
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
readonly ownerId: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "ownerId", "self">;
|
|
63
|
+
readonly memberIds: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string[], string[], true, "memberIds", "self">;
|
|
64
|
+
readonly nextIssueNumber: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<number, number, true, "nextIssueNumber", "self">;
|
|
65
|
+
readonly archived: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "archived", "self">;
|
|
66
|
+
};
|
|
67
|
+
readonly methods: {
|
|
68
|
+
readonly create: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
69
|
+
key: string;
|
|
70
|
+
name: string;
|
|
71
|
+
description?: string | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
readonly mode: 'value';
|
|
74
|
+
readonly value: {
|
|
75
|
+
id: string;
|
|
76
|
+
key: string;
|
|
77
|
+
name: string;
|
|
78
|
+
description: string;
|
|
79
|
+
archived: boolean;
|
|
80
|
+
};
|
|
81
|
+
}, "authenticated", true, "default">>;
|
|
82
|
+
readonly update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
83
|
+
name?: string | undefined;
|
|
84
|
+
description?: string | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
readonly mode: 'value';
|
|
87
|
+
readonly value: {
|
|
88
|
+
id: string;
|
|
89
|
+
key: string;
|
|
90
|
+
name: string;
|
|
91
|
+
description: string;
|
|
92
|
+
archived: boolean;
|
|
93
|
+
};
|
|
94
|
+
}, "authorized", false, "default">>;
|
|
95
|
+
readonly addMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
96
|
+
memberId: string;
|
|
97
|
+
}, {
|
|
98
|
+
readonly mode: 'value';
|
|
99
|
+
readonly value: {
|
|
100
|
+
projectId: string;
|
|
101
|
+
memberId: string;
|
|
102
|
+
changed: boolean;
|
|
103
|
+
};
|
|
104
|
+
}, "authorized", false, "default">>;
|
|
105
|
+
readonly removeMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
106
|
+
memberId: string;
|
|
107
|
+
}, {
|
|
108
|
+
readonly mode: 'value';
|
|
109
|
+
readonly value: {
|
|
110
|
+
projectId: string;
|
|
111
|
+
memberId: string;
|
|
112
|
+
changed: boolean;
|
|
113
|
+
};
|
|
114
|
+
}, "authorized", false, "default">>;
|
|
115
|
+
readonly createIssue: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
116
|
+
title: string;
|
|
117
|
+
description?: string | undefined;
|
|
118
|
+
priority?: number | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
readonly mode: 'value';
|
|
121
|
+
readonly value: {
|
|
122
|
+
id: string;
|
|
123
|
+
reference: string;
|
|
124
|
+
title: string;
|
|
125
|
+
description: string;
|
|
126
|
+
status: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
127
|
+
priority: number;
|
|
128
|
+
archived: boolean;
|
|
129
|
+
};
|
|
130
|
+
}, "authorized", false, "default">>;
|
|
131
|
+
readonly createTag: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
132
|
+
name: string;
|
|
133
|
+
color?: string | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
readonly mode: 'value';
|
|
136
|
+
readonly value: {
|
|
137
|
+
id: string;
|
|
138
|
+
name: string;
|
|
139
|
+
slug: string;
|
|
140
|
+
color?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
}, "authorized", false, "default">>;
|
|
143
|
+
readonly archive: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
144
|
+
readonly mode: 'value';
|
|
145
|
+
readonly value: {
|
|
146
|
+
projectId: string;
|
|
147
|
+
archived: true;
|
|
148
|
+
};
|
|
149
|
+
}, "authorized", false, "default">>;
|
|
150
|
+
};
|
|
151
|
+
readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "archived", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "key", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string[], string[], true, "memberIds", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<number, number, true, "nextIssueNumber", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "ownerId", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
|
|
66
152
|
readonly name: "description";
|
|
67
153
|
readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
|
|
68
154
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
@@ -75,8 +161,83 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
75
161
|
readonly name: "updatedAt";
|
|
76
162
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
77
163
|
});
|
|
78
|
-
readonly effectiveInstanceMethods: never
|
|
79
|
-
|
|
164
|
+
readonly effectiveInstanceMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
165
|
+
readonly mode: 'value';
|
|
166
|
+
readonly value: {
|
|
167
|
+
projectId: string;
|
|
168
|
+
archived: true;
|
|
169
|
+
};
|
|
170
|
+
}, "authorized", false, "default">>, "archive", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
171
|
+
name?: string | undefined;
|
|
172
|
+
description?: string | undefined;
|
|
173
|
+
}, {
|
|
174
|
+
readonly mode: 'value';
|
|
175
|
+
readonly value: {
|
|
176
|
+
id: string;
|
|
177
|
+
key: string;
|
|
178
|
+
name: string;
|
|
179
|
+
description: string;
|
|
180
|
+
archived: boolean;
|
|
181
|
+
};
|
|
182
|
+
}, "authorized", false, "default">>, "update", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
183
|
+
memberId: string;
|
|
184
|
+
}, {
|
|
185
|
+
readonly mode: 'value';
|
|
186
|
+
readonly value: {
|
|
187
|
+
projectId: string;
|
|
188
|
+
memberId: string;
|
|
189
|
+
changed: boolean;
|
|
190
|
+
};
|
|
191
|
+
}, "authorized", false, "default">>, "addMember", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
192
|
+
memberId: string;
|
|
193
|
+
}, {
|
|
194
|
+
readonly mode: 'value';
|
|
195
|
+
readonly value: {
|
|
196
|
+
projectId: string;
|
|
197
|
+
memberId: string;
|
|
198
|
+
changed: boolean;
|
|
199
|
+
};
|
|
200
|
+
}, "authorized", false, "default">>, "removeMember", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
201
|
+
title: string;
|
|
202
|
+
description?: string | undefined;
|
|
203
|
+
priority?: number | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
readonly mode: 'value';
|
|
206
|
+
readonly value: {
|
|
207
|
+
id: string;
|
|
208
|
+
reference: string;
|
|
209
|
+
title: string;
|
|
210
|
+
description: string;
|
|
211
|
+
status: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
212
|
+
priority: number;
|
|
213
|
+
archived: boolean;
|
|
214
|
+
};
|
|
215
|
+
}, "authorized", false, "default">>, "createIssue", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
216
|
+
name: string;
|
|
217
|
+
color?: string | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
readonly mode: 'value';
|
|
220
|
+
readonly value: {
|
|
221
|
+
id: string;
|
|
222
|
+
name: string;
|
|
223
|
+
slug: string;
|
|
224
|
+
color?: string | undefined;
|
|
225
|
+
};
|
|
226
|
+
}, "authorized", false, "default">>, "createTag", "self">;
|
|
227
|
+
readonly effectiveStaticMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
228
|
+
key: string;
|
|
229
|
+
name: string;
|
|
230
|
+
description?: string | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
readonly mode: 'value';
|
|
233
|
+
readonly value: {
|
|
234
|
+
id: string;
|
|
235
|
+
key: string;
|
|
236
|
+
name: string;
|
|
237
|
+
description: string;
|
|
238
|
+
archived: boolean;
|
|
239
|
+
};
|
|
240
|
+
}, "authenticated", true, "default">>, "create", "self">;
|
|
80
241
|
}>;
|
|
81
242
|
readonly Issue: import("@astrale-os/sdk/schema").NodeClass<{
|
|
82
243
|
readonly depth: 1;
|
|
@@ -132,11 +293,96 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
132
293
|
}, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never, import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never>];
|
|
133
294
|
readonly properties: {
|
|
134
295
|
readonly reference: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "reference", "self">;
|
|
135
|
-
readonly
|
|
296
|
+
readonly reporterId: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "reporterId", "self">;
|
|
297
|
+
readonly assigneeId: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string | undefined, string | undefined, false, "assigneeId", "self">;
|
|
298
|
+
readonly status: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<unknown, "accepted" | "closed" | "deferred" | "open" | "resolved", false, "status", "self">;
|
|
136
299
|
readonly priority: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<number, number, true, "priority", "self">;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
readonly
|
|
300
|
+
readonly archived: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "archived", "self">;
|
|
301
|
+
};
|
|
302
|
+
readonly methods: {
|
|
303
|
+
readonly update: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
304
|
+
title?: string | undefined;
|
|
305
|
+
description?: string | undefined;
|
|
306
|
+
priority?: number | undefined;
|
|
307
|
+
}, {
|
|
308
|
+
readonly mode: 'value';
|
|
309
|
+
readonly value: {
|
|
310
|
+
id: string;
|
|
311
|
+
reference: string;
|
|
312
|
+
title: string;
|
|
313
|
+
description: string;
|
|
314
|
+
status: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
315
|
+
priority: number;
|
|
316
|
+
archived: boolean;
|
|
317
|
+
};
|
|
318
|
+
}, "authorized", false, "default">>;
|
|
319
|
+
readonly transition: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
320
|
+
event: unknown;
|
|
321
|
+
}, {
|
|
322
|
+
readonly mode: 'value';
|
|
323
|
+
readonly value: {
|
|
324
|
+
kind: "transitioned";
|
|
325
|
+
issue: {
|
|
326
|
+
id: string;
|
|
327
|
+
reference: string;
|
|
328
|
+
title: string;
|
|
329
|
+
description: string;
|
|
330
|
+
status: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
331
|
+
priority: number;
|
|
332
|
+
archived: boolean;
|
|
333
|
+
};
|
|
334
|
+
} | {
|
|
335
|
+
kind: "rejected";
|
|
336
|
+
code: "STATE_TRANSITION_ILLEGAL";
|
|
337
|
+
from: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
338
|
+
event: "accept" | "close" | "defer" | "reopen" | "resolve";
|
|
339
|
+
};
|
|
340
|
+
}, "authorized", false, "default">>;
|
|
341
|
+
readonly assign: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
342
|
+
assigneeId: string | null;
|
|
343
|
+
}, {
|
|
344
|
+
readonly mode: 'value';
|
|
345
|
+
readonly value: {
|
|
346
|
+
issueId: string;
|
|
347
|
+
assigneeId?: string | undefined;
|
|
348
|
+
};
|
|
349
|
+
}, "authorized", false, "default">>;
|
|
350
|
+
readonly setTags: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
351
|
+
tagIds: string[];
|
|
352
|
+
}, {
|
|
353
|
+
readonly mode: 'value';
|
|
354
|
+
readonly value: {
|
|
355
|
+
issueId: string;
|
|
356
|
+
tagIds: string[];
|
|
357
|
+
};
|
|
358
|
+
}, "authorized", false, "default">>;
|
|
359
|
+
readonly setParent: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
360
|
+
parentId: string | null;
|
|
361
|
+
}, {
|
|
362
|
+
readonly mode: 'value';
|
|
363
|
+
readonly value: {
|
|
364
|
+
issueId: string;
|
|
365
|
+
parentId?: string | undefined;
|
|
366
|
+
};
|
|
367
|
+
}, "authorized", false, "default">>;
|
|
368
|
+
readonly addComment: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
369
|
+
body: string;
|
|
370
|
+
}, {
|
|
371
|
+
readonly mode: 'value';
|
|
372
|
+
readonly value: {
|
|
373
|
+
id: string;
|
|
374
|
+
body: string;
|
|
375
|
+
};
|
|
376
|
+
}, "authorized", false, "default">>;
|
|
377
|
+
readonly archive: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
378
|
+
readonly mode: 'value';
|
|
379
|
+
readonly value: {
|
|
380
|
+
issueId: string;
|
|
381
|
+
archived: true;
|
|
382
|
+
};
|
|
383
|
+
}, "authorized", false, "default">>;
|
|
384
|
+
};
|
|
385
|
+
readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "archived", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string | undefined, string | undefined, false, "assigneeId", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<number, number, true, "priority", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "reference", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "reporterId", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<unknown, "accepted" | "closed" | "deferred" | "open" | "resolved", false, "status", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
|
|
140
386
|
readonly name: "description";
|
|
141
387
|
readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
|
|
142
388
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
@@ -149,7 +395,81 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
149
395
|
readonly name: "updatedAt";
|
|
150
396
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
151
397
|
});
|
|
152
|
-
readonly effectiveInstanceMethods: never
|
|
398
|
+
readonly effectiveInstanceMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
399
|
+
readonly mode: 'value';
|
|
400
|
+
readonly value: {
|
|
401
|
+
issueId: string;
|
|
402
|
+
archived: true;
|
|
403
|
+
};
|
|
404
|
+
}, "authorized", false, "default">>, "archive", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
405
|
+
title?: string | undefined;
|
|
406
|
+
description?: string | undefined;
|
|
407
|
+
priority?: number | undefined;
|
|
408
|
+
}, {
|
|
409
|
+
readonly mode: 'value';
|
|
410
|
+
readonly value: {
|
|
411
|
+
id: string;
|
|
412
|
+
reference: string;
|
|
413
|
+
title: string;
|
|
414
|
+
description: string;
|
|
415
|
+
status: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
416
|
+
priority: number;
|
|
417
|
+
archived: boolean;
|
|
418
|
+
};
|
|
419
|
+
}, "authorized", false, "default">>, "update", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
420
|
+
event: unknown;
|
|
421
|
+
}, {
|
|
422
|
+
readonly mode: 'value';
|
|
423
|
+
readonly value: {
|
|
424
|
+
kind: "transitioned";
|
|
425
|
+
issue: {
|
|
426
|
+
id: string;
|
|
427
|
+
reference: string;
|
|
428
|
+
title: string;
|
|
429
|
+
description: string;
|
|
430
|
+
status: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
431
|
+
priority: number;
|
|
432
|
+
archived: boolean;
|
|
433
|
+
};
|
|
434
|
+
} | {
|
|
435
|
+
kind: "rejected";
|
|
436
|
+
code: "STATE_TRANSITION_ILLEGAL";
|
|
437
|
+
from: "accepted" | "closed" | "deferred" | "open" | "resolved";
|
|
438
|
+
event: "accept" | "close" | "defer" | "reopen" | "resolve";
|
|
439
|
+
};
|
|
440
|
+
}, "authorized", false, "default">>, "transition", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
441
|
+
assigneeId: string | null;
|
|
442
|
+
}, {
|
|
443
|
+
readonly mode: 'value';
|
|
444
|
+
readonly value: {
|
|
445
|
+
issueId: string;
|
|
446
|
+
assigneeId?: string | undefined;
|
|
447
|
+
};
|
|
448
|
+
}, "authorized", false, "default">>, "assign", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
449
|
+
tagIds: string[];
|
|
450
|
+
}, {
|
|
451
|
+
readonly mode: 'value';
|
|
452
|
+
readonly value: {
|
|
453
|
+
issueId: string;
|
|
454
|
+
tagIds: string[];
|
|
455
|
+
};
|
|
456
|
+
}, "authorized", false, "default">>, "setTags", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
457
|
+
parentId: string | null;
|
|
458
|
+
}, {
|
|
459
|
+
readonly mode: 'value';
|
|
460
|
+
readonly value: {
|
|
461
|
+
issueId: string;
|
|
462
|
+
parentId?: string | undefined;
|
|
463
|
+
};
|
|
464
|
+
}, "authorized", false, "default">>, "setParent", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
465
|
+
body: string;
|
|
466
|
+
}, {
|
|
467
|
+
readonly mode: 'value';
|
|
468
|
+
readonly value: {
|
|
469
|
+
id: string;
|
|
470
|
+
body: string;
|
|
471
|
+
};
|
|
472
|
+
}, "authorized", false, "default">>, "addComment", "self">;
|
|
153
473
|
readonly effectiveStaticMethods: never;
|
|
154
474
|
}>;
|
|
155
475
|
readonly Comment: import("@astrale-os/sdk/schema").NodeClass<{
|
|
@@ -174,16 +494,48 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
174
494
|
}, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never, import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never>];
|
|
175
495
|
readonly properties: {
|
|
176
496
|
readonly body: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "body", "self">;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
readonly
|
|
497
|
+
readonly authorId: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "authorId", "self">;
|
|
498
|
+
};
|
|
499
|
+
readonly methods: {
|
|
500
|
+
readonly edit: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
501
|
+
body: string;
|
|
502
|
+
}, {
|
|
503
|
+
readonly mode: 'value';
|
|
504
|
+
readonly value: {
|
|
505
|
+
id: string;
|
|
506
|
+
body: string;
|
|
507
|
+
};
|
|
508
|
+
}, "authorized", false, "default">>;
|
|
509
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
510
|
+
readonly mode: 'value';
|
|
511
|
+
readonly value: {
|
|
512
|
+
commentId: string;
|
|
513
|
+
deleted: true;
|
|
514
|
+
};
|
|
515
|
+
}, "authorized", false, "default">>;
|
|
516
|
+
};
|
|
517
|
+
readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "authorId", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "body", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
180
518
|
readonly name: "createdAt";
|
|
181
519
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
182
520
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
183
521
|
readonly name: "updatedAt";
|
|
184
522
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
185
523
|
});
|
|
186
|
-
readonly effectiveInstanceMethods: never
|
|
524
|
+
readonly effectiveInstanceMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
525
|
+
readonly mode: 'value';
|
|
526
|
+
readonly value: {
|
|
527
|
+
commentId: string;
|
|
528
|
+
deleted: true;
|
|
529
|
+
};
|
|
530
|
+
}, "authorized", false, "default">>, "delete", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
531
|
+
body: string;
|
|
532
|
+
}, {
|
|
533
|
+
readonly mode: 'value';
|
|
534
|
+
readonly value: {
|
|
535
|
+
id: string;
|
|
536
|
+
body: string;
|
|
537
|
+
};
|
|
538
|
+
}, "authorized", false, "default">>, "edit", "self">;
|
|
187
539
|
readonly effectiveStaticMethods: never;
|
|
188
540
|
}>;
|
|
189
541
|
readonly Tag: import("@astrale-os/sdk/schema").NodeClass<{
|
|
@@ -226,7 +578,27 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
226
578
|
readonly slug: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "slug", "self">;
|
|
227
579
|
readonly color: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, false, "color", "self">;
|
|
228
580
|
};
|
|
229
|
-
readonly methods:
|
|
581
|
+
readonly methods: {
|
|
582
|
+
readonly edit: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
583
|
+
name?: string | undefined;
|
|
584
|
+
color?: string | null | undefined;
|
|
585
|
+
}, {
|
|
586
|
+
readonly mode: 'value';
|
|
587
|
+
readonly value: {
|
|
588
|
+
id: string;
|
|
589
|
+
name: string;
|
|
590
|
+
slug: string;
|
|
591
|
+
color?: string | undefined;
|
|
592
|
+
};
|
|
593
|
+
}, "authorized", false, "default">>;
|
|
594
|
+
readonly delete: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
595
|
+
readonly mode: 'value';
|
|
596
|
+
readonly value: {
|
|
597
|
+
tagId: string;
|
|
598
|
+
deleted: true;
|
|
599
|
+
};
|
|
600
|
+
}, "authorized", false, "default">>;
|
|
601
|
+
};
|
|
230
602
|
readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, false, "color", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "slug", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
231
603
|
readonly name: "createdAt";
|
|
232
604
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
@@ -237,155 +609,102 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
237
609
|
readonly name: "updatedAt";
|
|
238
610
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
239
611
|
});
|
|
240
|
-
readonly effectiveInstanceMethods: never
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
readonly abstract: false;
|
|
246
|
-
readonly extends: readonly [import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
|
|
247
|
-
readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Timestamped"> & {
|
|
248
|
-
readonly origin: "kernel.astrale.ai";
|
|
612
|
+
readonly effectiveInstanceMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
613
|
+
readonly mode: 'value';
|
|
614
|
+
readonly value: {
|
|
615
|
+
tagId: string;
|
|
616
|
+
deleted: true;
|
|
249
617
|
};
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
readonly
|
|
256
|
-
|
|
618
|
+
}, "authorized", false, "default">>, "delete", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
619
|
+
name?: string | undefined;
|
|
620
|
+
color?: string | null | undefined;
|
|
621
|
+
}, {
|
|
622
|
+
readonly mode: 'value';
|
|
623
|
+
readonly value: {
|
|
624
|
+
id: string;
|
|
625
|
+
name: string;
|
|
626
|
+
slug: string;
|
|
627
|
+
color?: string | undefined;
|
|
257
628
|
};
|
|
258
|
-
|
|
259
|
-
readonly abstract: true;
|
|
260
|
-
}, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
261
|
-
readonly origin: "kernel.astrale.ai";
|
|
262
|
-
}, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never, import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "createdAt", "kernel.astrale.ai:class.Timestamped.property.createdAt"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "updatedAt", "kernel.astrale.ai:class.Timestamped.property.updatedAt">, never, never>];
|
|
263
|
-
readonly properties: {
|
|
264
|
-
readonly kind: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "kind", "self">;
|
|
265
|
-
readonly idempotencyKey: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "idempotencyKey", "self">;
|
|
266
|
-
readonly fingerprint: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "fingerprint", "self">;
|
|
267
|
-
readonly changed: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "changed", "self">;
|
|
268
|
-
readonly reference: import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, false, "reference", "self">;
|
|
269
|
-
};
|
|
270
|
-
readonly methods: Readonly<Record<never, never>>;
|
|
271
|
-
readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "changed", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "fingerprint", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "idempotencyKey", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "kind", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, false, "reference", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
272
|
-
readonly name: "createdAt";
|
|
273
|
-
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
274
|
-
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
275
|
-
readonly name: "updatedAt";
|
|
276
|
-
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
277
|
-
});
|
|
278
|
-
readonly effectiveInstanceMethods: never;
|
|
629
|
+
}, "authorized", false, "default">>, "edit", "self">;
|
|
279
630
|
readonly effectiveStaticMethods: never;
|
|
280
631
|
}>;
|
|
281
|
-
readonly
|
|
632
|
+
readonly project_owned_by: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
282
633
|
readonly depth: 0;
|
|
283
634
|
readonly abstract: false;
|
|
284
635
|
readonly extends: readonly [];
|
|
285
636
|
readonly properties: never;
|
|
286
637
|
readonly source: {
|
|
287
|
-
readonly as: "tracker";
|
|
288
|
-
readonly outgoing: "1";
|
|
289
|
-
};
|
|
290
|
-
readonly target: {
|
|
291
638
|
readonly as: "owner";
|
|
292
|
-
readonly incoming: "0..*";
|
|
293
|
-
};
|
|
294
|
-
readonly constraints: Record<never, never>;
|
|
295
|
-
readonly effectiveProperties: never;
|
|
296
|
-
}>;
|
|
297
|
-
readonly tracker_contains_issue: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
298
|
-
readonly depth: 0;
|
|
299
|
-
readonly abstract: false;
|
|
300
|
-
readonly extends: readonly [];
|
|
301
|
-
readonly properties: never;
|
|
302
|
-
readonly source: {
|
|
303
|
-
readonly as: "tracker";
|
|
304
639
|
readonly outgoing: "0..*";
|
|
305
640
|
};
|
|
306
641
|
readonly target: {
|
|
307
|
-
readonly as: "
|
|
642
|
+
readonly as: "project";
|
|
308
643
|
readonly incoming: "1";
|
|
309
644
|
};
|
|
310
645
|
readonly constraints: Record<never, never>;
|
|
311
646
|
readonly effectiveProperties: never;
|
|
312
647
|
}>;
|
|
313
|
-
readonly
|
|
314
|
-
readonly depth: 0;
|
|
315
|
-
readonly abstract: false;
|
|
316
|
-
readonly extends: readonly [];
|
|
317
|
-
readonly properties: never;
|
|
318
|
-
readonly source: {
|
|
319
|
-
readonly as: "issue";
|
|
320
|
-
readonly outgoing: "1";
|
|
321
|
-
};
|
|
322
|
-
readonly target: {
|
|
323
|
-
readonly as: "reporter";
|
|
324
|
-
readonly incoming: "0..*";
|
|
325
|
-
};
|
|
326
|
-
readonly constraints: Record<never, never>;
|
|
327
|
-
readonly effectiveProperties: never;
|
|
328
|
-
}>;
|
|
329
|
-
readonly issue_assigned_to: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
648
|
+
readonly project_has_member: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
330
649
|
readonly depth: 0;
|
|
331
650
|
readonly abstract: false;
|
|
332
651
|
readonly extends: readonly [];
|
|
333
652
|
readonly properties: never;
|
|
334
653
|
readonly source: {
|
|
335
|
-
readonly as: "
|
|
336
|
-
readonly outgoing: "0
|
|
654
|
+
readonly as: "member";
|
|
655
|
+
readonly outgoing: "0..*";
|
|
337
656
|
};
|
|
338
657
|
readonly target: {
|
|
339
|
-
readonly as: "
|
|
658
|
+
readonly as: "project";
|
|
340
659
|
readonly incoming: "0..*";
|
|
341
660
|
};
|
|
342
661
|
readonly constraints: Record<never, never>;
|
|
343
662
|
readonly effectiveProperties: never;
|
|
344
663
|
}>;
|
|
345
|
-
readonly
|
|
664
|
+
readonly project_contains_issue: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
346
665
|
readonly depth: 0;
|
|
347
666
|
readonly abstract: false;
|
|
348
667
|
readonly extends: readonly [];
|
|
349
668
|
readonly properties: never;
|
|
350
669
|
readonly source: {
|
|
351
|
-
readonly as: "
|
|
670
|
+
readonly as: "project";
|
|
352
671
|
readonly outgoing: "0..*";
|
|
353
672
|
};
|
|
354
673
|
readonly target: {
|
|
355
|
-
readonly as: "
|
|
356
|
-
readonly incoming: "
|
|
674
|
+
readonly as: "issue";
|
|
675
|
+
readonly incoming: "1";
|
|
357
676
|
};
|
|
358
677
|
readonly constraints: Record<never, never>;
|
|
359
678
|
readonly effectiveProperties: never;
|
|
360
679
|
}>;
|
|
361
|
-
readonly
|
|
680
|
+
readonly issue_reported_by: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
362
681
|
readonly depth: 0;
|
|
363
682
|
readonly abstract: false;
|
|
364
683
|
readonly extends: readonly [];
|
|
365
684
|
readonly properties: never;
|
|
366
685
|
readonly source: {
|
|
367
|
-
readonly as: "
|
|
686
|
+
readonly as: "reporter";
|
|
368
687
|
readonly outgoing: "0..*";
|
|
369
688
|
};
|
|
370
689
|
readonly target: {
|
|
371
|
-
readonly as: "
|
|
372
|
-
readonly incoming: "
|
|
690
|
+
readonly as: "issue";
|
|
691
|
+
readonly incoming: "1";
|
|
373
692
|
};
|
|
374
693
|
readonly constraints: Record<never, never>;
|
|
375
694
|
readonly effectiveProperties: never;
|
|
376
695
|
}>;
|
|
377
|
-
readonly
|
|
696
|
+
readonly issue_assigned_to: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
378
697
|
readonly depth: 0;
|
|
379
698
|
readonly abstract: false;
|
|
380
699
|
readonly extends: readonly [];
|
|
381
700
|
readonly properties: never;
|
|
382
701
|
readonly source: {
|
|
383
|
-
readonly as: "
|
|
702
|
+
readonly as: "assignee";
|
|
384
703
|
readonly outgoing: "0..*";
|
|
385
704
|
};
|
|
386
705
|
readonly target: {
|
|
387
|
-
readonly as: "
|
|
388
|
-
readonly incoming: "0
|
|
706
|
+
readonly as: "issue";
|
|
707
|
+
readonly incoming: "0..1";
|
|
389
708
|
};
|
|
390
709
|
readonly constraints: Record<never, never>;
|
|
391
710
|
readonly effectiveProperties: never;
|
|
@@ -396,14 +715,17 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
396
715
|
readonly extends: readonly [];
|
|
397
716
|
readonly properties: never;
|
|
398
717
|
readonly source: {
|
|
399
|
-
readonly as: "
|
|
400
|
-
readonly outgoing: "0
|
|
718
|
+
readonly as: "child";
|
|
719
|
+
readonly outgoing: "0..1";
|
|
401
720
|
};
|
|
402
721
|
readonly target: {
|
|
403
|
-
readonly as: "
|
|
722
|
+
readonly as: "parent";
|
|
404
723
|
readonly incoming: "0..*";
|
|
405
724
|
};
|
|
406
|
-
readonly constraints:
|
|
725
|
+
readonly constraints: {
|
|
726
|
+
readonly noSelf: true;
|
|
727
|
+
readonly acyclic: true;
|
|
728
|
+
};
|
|
407
729
|
readonly effectiveProperties: never;
|
|
408
730
|
}>;
|
|
409
731
|
readonly issue_has_comment: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -428,23 +750,23 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
428
750
|
readonly extends: readonly [];
|
|
429
751
|
readonly properties: never;
|
|
430
752
|
readonly source: {
|
|
431
|
-
readonly as: "
|
|
432
|
-
readonly outgoing: "
|
|
753
|
+
readonly as: "author";
|
|
754
|
+
readonly outgoing: "0..*";
|
|
433
755
|
};
|
|
434
756
|
readonly target: {
|
|
435
|
-
readonly as: "
|
|
436
|
-
readonly incoming: "
|
|
757
|
+
readonly as: "comment";
|
|
758
|
+
readonly incoming: "1";
|
|
437
759
|
};
|
|
438
760
|
readonly constraints: Record<never, never>;
|
|
439
761
|
readonly effectiveProperties: never;
|
|
440
762
|
}>;
|
|
441
|
-
readonly
|
|
763
|
+
readonly project_contains_tag: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
442
764
|
readonly depth: 0;
|
|
443
765
|
readonly abstract: false;
|
|
444
766
|
readonly extends: readonly [];
|
|
445
767
|
readonly properties: never;
|
|
446
768
|
readonly source: {
|
|
447
|
-
readonly as: "
|
|
769
|
+
readonly as: "project";
|
|
448
770
|
readonly outgoing: "0..*";
|
|
449
771
|
};
|
|
450
772
|
readonly target: {
|
|
@@ -470,228 +792,25 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"iss
|
|
|
470
792
|
readonly constraints: Record<never, never>;
|
|
471
793
|
readonly effectiveProperties: never;
|
|
472
794
|
}>;
|
|
473
|
-
readonly command_requested_by: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
474
|
-
readonly depth: 0;
|
|
475
|
-
readonly abstract: false;
|
|
476
|
-
readonly extends: readonly [];
|
|
477
|
-
readonly properties: never;
|
|
478
|
-
readonly source: {
|
|
479
|
-
readonly as: "command";
|
|
480
|
-
readonly outgoing: "1";
|
|
481
|
-
};
|
|
482
|
-
readonly target: {
|
|
483
|
-
readonly as: "requester";
|
|
484
|
-
readonly incoming: "0..*";
|
|
485
|
-
};
|
|
486
|
-
readonly constraints: Record<never, never>;
|
|
487
|
-
readonly effectiveProperties: never;
|
|
488
|
-
}>;
|
|
489
|
-
readonly command_targets_primary: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
490
|
-
readonly depth: 0;
|
|
491
|
-
readonly abstract: false;
|
|
492
|
-
readonly extends: readonly [];
|
|
493
|
-
readonly properties: never;
|
|
494
|
-
readonly source: {
|
|
495
|
-
readonly as: "command";
|
|
496
|
-
readonly outgoing: "0..1";
|
|
497
|
-
};
|
|
498
|
-
readonly target: {
|
|
499
|
-
readonly as: "primary";
|
|
500
|
-
readonly incoming: "0..*";
|
|
501
|
-
};
|
|
502
|
-
readonly constraints: Record<never, never>;
|
|
503
|
-
readonly effectiveProperties: never;
|
|
504
|
-
}>;
|
|
505
795
|
};
|
|
506
|
-
readonly
|
|
507
|
-
readonly
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
readonly
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
id: string;
|
|
525
|
-
key: string;
|
|
526
|
-
name: string;
|
|
527
|
-
description: string;
|
|
528
|
-
};
|
|
529
|
-
}, "authenticated", false, "default">>;
|
|
530
|
-
readonly listIssues: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
531
|
-
trackerId: string;
|
|
532
|
-
}, {
|
|
533
|
-
readonly mode: 'value';
|
|
534
|
-
readonly value: {
|
|
535
|
-
id: string;
|
|
536
|
-
reference: string;
|
|
537
|
-
title: string;
|
|
538
|
-
description: string;
|
|
539
|
-
status: "canceled" | "in_progress" | "open" | "resolved";
|
|
540
|
-
priority: number;
|
|
541
|
-
}[];
|
|
542
|
-
}, "authenticated", false, "default">>;
|
|
543
|
-
readonly createIssue: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
544
|
-
trackerId: string;
|
|
545
|
-
title: string;
|
|
546
|
-
description?: string | undefined;
|
|
547
|
-
priority?: number | undefined;
|
|
548
|
-
idempotencyKey: string;
|
|
549
|
-
}, {
|
|
550
|
-
readonly mode: 'value';
|
|
551
|
-
readonly value: {
|
|
552
|
-
id: string;
|
|
553
|
-
reference: string;
|
|
554
|
-
title: string;
|
|
555
|
-
description: string;
|
|
556
|
-
status: "canceled" | "in_progress" | "open" | "resolved";
|
|
557
|
-
priority: number;
|
|
558
|
-
};
|
|
559
|
-
}, "authenticated", false, "default">>;
|
|
560
|
-
readonly updateIssue: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
561
|
-
issueId: string;
|
|
562
|
-
title?: string | undefined;
|
|
563
|
-
description?: string | undefined;
|
|
564
|
-
status?: "canceled" | "in_progress" | "open" | "resolved" | undefined;
|
|
565
|
-
priority?: number | undefined;
|
|
566
|
-
idempotencyKey: string;
|
|
567
|
-
}, {
|
|
568
|
-
readonly mode: 'value';
|
|
569
|
-
readonly value: {
|
|
570
|
-
id: string;
|
|
571
|
-
reference: string;
|
|
572
|
-
title: string;
|
|
573
|
-
description: string;
|
|
574
|
-
status: "canceled" | "in_progress" | "open" | "resolved";
|
|
575
|
-
priority: number;
|
|
576
|
-
};
|
|
577
|
-
}, "authenticated", false, "default">>;
|
|
578
|
-
readonly deleteIssue: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
579
|
-
issueId: string;
|
|
580
|
-
idempotencyKey: string;
|
|
581
|
-
}, {
|
|
582
|
-
readonly mode: 'value';
|
|
583
|
-
readonly value: {
|
|
584
|
-
deleted: true;
|
|
585
|
-
};
|
|
586
|
-
}, "authenticated", false, "default">>;
|
|
587
|
-
readonly addComment: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
588
|
-
issueId: string;
|
|
589
|
-
body: string;
|
|
590
|
-
idempotencyKey: string;
|
|
591
|
-
}, {
|
|
592
|
-
readonly mode: 'value';
|
|
593
|
-
readonly value: {
|
|
594
|
-
id: string;
|
|
595
|
-
body: string;
|
|
596
|
-
};
|
|
597
|
-
}, "authenticated", false, "default">>;
|
|
598
|
-
readonly editComment: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
599
|
-
commentId: string;
|
|
600
|
-
body: string;
|
|
601
|
-
idempotencyKey: string;
|
|
602
|
-
}, {
|
|
603
|
-
readonly mode: 'value';
|
|
604
|
-
readonly value: {
|
|
605
|
-
id: string;
|
|
606
|
-
body: string;
|
|
607
|
-
};
|
|
608
|
-
}, "authenticated", false, "default">>;
|
|
609
|
-
readonly deleteComment: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
610
|
-
commentId: string;
|
|
611
|
-
idempotencyKey: string;
|
|
612
|
-
}, {
|
|
613
|
-
readonly mode: 'value';
|
|
614
|
-
readonly value: {
|
|
615
|
-
deleted: true;
|
|
616
|
-
};
|
|
617
|
-
}, "authenticated", false, "default">>;
|
|
618
|
-
readonly createTag: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
619
|
-
trackerId: string;
|
|
620
|
-
name: string;
|
|
621
|
-
color?: string | undefined;
|
|
622
|
-
idempotencyKey: string;
|
|
623
|
-
}, {
|
|
624
|
-
readonly mode: 'value';
|
|
625
|
-
readonly value: {
|
|
626
|
-
id: string;
|
|
627
|
-
name: string;
|
|
628
|
-
slug: string;
|
|
629
|
-
color?: string | undefined;
|
|
630
|
-
};
|
|
631
|
-
}, "authenticated", false, "default">>;
|
|
632
|
-
readonly editTag: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
633
|
-
tagId: string;
|
|
634
|
-
name?: string | undefined;
|
|
635
|
-
color?: string | undefined;
|
|
636
|
-
idempotencyKey: string;
|
|
637
|
-
}, {
|
|
638
|
-
readonly mode: 'value';
|
|
639
|
-
readonly value: {
|
|
640
|
-
id: string;
|
|
641
|
-
name: string;
|
|
642
|
-
slug: string;
|
|
643
|
-
color?: string | undefined;
|
|
644
|
-
};
|
|
645
|
-
}, "authenticated", false, "default">>;
|
|
646
|
-
readonly deleteTag: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
647
|
-
tagId: string;
|
|
648
|
-
idempotencyKey: string;
|
|
649
|
-
}, {
|
|
650
|
-
readonly mode: 'value';
|
|
651
|
-
readonly value: {
|
|
652
|
-
deleted: true;
|
|
653
|
-
};
|
|
654
|
-
}, "authenticated", false, "default">>;
|
|
655
|
-
readonly changeIssueTag: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
656
|
-
issueId: string;
|
|
657
|
-
tagId: string;
|
|
658
|
-
change: "add" | "remove";
|
|
659
|
-
idempotencyKey: string;
|
|
660
|
-
}, {
|
|
661
|
-
readonly mode: 'value';
|
|
662
|
-
readonly value: {
|
|
663
|
-
issueId: string;
|
|
664
|
-
changed: boolean;
|
|
665
|
-
};
|
|
666
|
-
}, "authenticated", false, "default">>;
|
|
667
|
-
readonly relateIssue: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
668
|
-
issueId: string;
|
|
669
|
-
targetId: string;
|
|
670
|
-
relation: "blocks" | "duplicates" | "relates_to" | "subtask_of";
|
|
671
|
-
change: "add" | "remove";
|
|
672
|
-
idempotencyKey: string;
|
|
673
|
-
}, {
|
|
674
|
-
readonly mode: 'value';
|
|
675
|
-
readonly value: {
|
|
676
|
-
issueId: string;
|
|
677
|
-
changed: boolean;
|
|
678
|
-
};
|
|
679
|
-
}, "authenticated", false, "default">>;
|
|
680
|
-
readonly exportTracker: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
681
|
-
trackerId: string;
|
|
682
|
-
}, {
|
|
683
|
-
readonly mode: 'value';
|
|
684
|
-
readonly value: {
|
|
685
|
-
issues: {
|
|
686
|
-
id: string;
|
|
687
|
-
reference: string;
|
|
688
|
-
title: string;
|
|
689
|
-
description: string;
|
|
690
|
-
status: "canceled" | "in_progress" | "open" | "resolved";
|
|
691
|
-
priority: number;
|
|
692
|
-
}[];
|
|
693
|
-
};
|
|
694
|
-
}, "authenticated", false, "default">>;
|
|
796
|
+
readonly policies: {
|
|
797
|
+
readonly ManageProject: import("@astrale-os/sdk/schema").Policy;
|
|
798
|
+
readonly ContributeToProject: import("@astrale-os/sdk/schema").Policy;
|
|
799
|
+
readonly ContributeToIssue: import("@astrale-os/sdk/schema").Policy;
|
|
800
|
+
readonly ContributeToTag: import("@astrale-os/sdk/schema").Policy;
|
|
801
|
+
readonly ManageTag: import("@astrale-os/sdk/schema").Policy;
|
|
802
|
+
readonly ContributeToComment: import("@astrale-os/sdk/schema").Policy;
|
|
803
|
+
readonly EditOwnComment: import("@astrale-os/sdk/schema").Policy;
|
|
804
|
+
readonly TraverseProjectOwner: import("@astrale-os/sdk/schema").Policy;
|
|
805
|
+
readonly TraverseProjectMember: import("@astrale-os/sdk/schema").Policy;
|
|
806
|
+
readonly TraverseProjectIssue: import("@astrale-os/sdk/schema").Policy;
|
|
807
|
+
readonly TraverseProjectTag: import("@astrale-os/sdk/schema").Policy;
|
|
808
|
+
readonly TraverseIssueReporter: import("@astrale-os/sdk/schema").Policy;
|
|
809
|
+
readonly TraverseIssueAssignee: import("@astrale-os/sdk/schema").Policy;
|
|
810
|
+
readonly TraverseIssueParent: import("@astrale-os/sdk/schema").Policy;
|
|
811
|
+
readonly TraverseIssueComment: import("@astrale-os/sdk/schema").Policy;
|
|
812
|
+
readonly TraverseIssueTag: import("@astrale-os/sdk/schema").Policy;
|
|
813
|
+
readonly TraverseCommentRelationship: import("@astrale-os/sdk/schema").Policy;
|
|
695
814
|
};
|
|
696
815
|
readonly views: {
|
|
697
816
|
application: import("@astrale-os/sdk/schema").View;
|