@astrale-domains/issues 0.2.0 → 0.2.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.
- package/CHANGELOG.md +14 -0
- package/dist/schema/modules/comment/classes/comment.js +3 -2
- package/dist/schema/modules/issue/classes/issue.js +3 -2
- package/dist/schema/modules/project/classes/project.d.ts +3 -3
- package/dist/schema/modules/project/classes/project.js +3 -2
- package/dist/schema/modules/tag/classes/tag.js +3 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.2](https://github.com/astrale-os/domains/compare/issues-v0.2.1...issues-v0.2.2) (2026-09-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **schema:** declare required node class icons ([#160](https://github.com/astrale-os/domains/issues/160)) ([5424171](https://github.com/astrale-os/domains/commit/5424171a7a6131bb8cf4c983b1866fc6bbefb73e))
|
|
9
|
+
|
|
10
|
+
## [0.2.1](https://github.com/astrale-os/domains/compare/issues-v0.2.0...issues-v0.2.1) (2026-09-01)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **issues:** use domain authority in receiver workflows ([#150](https://github.com/astrale-os/domains/issues/150)) ([5351723](https://github.com/astrale-os/domains/commit/53517238b57e9e4b3140c5e1c5a564362efa37e6))
|
|
16
|
+
|
|
3
17
|
## [0.2.0](https://github.com/astrale-os/domains/compare/issues-v0.1.8...issues-v0.2.0) (2026-09-01)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
1
|
+
import { classIcon, K, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
2
|
+
import { MessageSquare } from '@astrale-os/sdk/schema/icons';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { nodeIdValue } from '../../../types/index.js';
|
|
4
5
|
import { deleteCommentMethod } from '../functions/delete-comment.js';
|
|
@@ -6,7 +7,7 @@ import { editCommentMethod } from '../functions/edit-comment.js';
|
|
|
6
7
|
import { ContributeToComment } from '../policies/contribute-to-comment.js';
|
|
7
8
|
export const Comment = nodeClass({
|
|
8
9
|
description: 'One authored discussion entry attached to an Issue.',
|
|
9
|
-
icon:
|
|
10
|
+
icon: classIcon.lucide(MessageSquare),
|
|
10
11
|
extends: [K.classes.Timestamped],
|
|
11
12
|
properties: {
|
|
12
13
|
body: z.string().min(1).max(50_000),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K, nodeClass, property, stateProperty } from '@astrale-os/sdk/schema';
|
|
1
|
+
import { classIcon, K, nodeClass, property, stateProperty } from '@astrale-os/sdk/schema';
|
|
2
|
+
import { CircleDot } from '@astrale-os/sdk/schema/icons';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { nodeIdValue } from '../../../types/index.js';
|
|
4
5
|
import { addIssueCommentMethod } from '../functions/add-issue-comment.js';
|
|
@@ -12,7 +13,7 @@ import { ContributeToIssue } from '../policies/contribute-to-issue.js';
|
|
|
12
13
|
import { issueStatus } from '../states/index.js';
|
|
13
14
|
export const Issue = nodeClass({
|
|
14
15
|
description: 'One immutable-reference work item contained by exactly one Project.',
|
|
15
|
-
icon:
|
|
16
|
+
icon: classIcon.lucide(CircleDot),
|
|
16
17
|
extends: [K.classes.Named, K.classes.Descriptable, K.classes.Timestamped],
|
|
17
18
|
properties: {
|
|
18
19
|
reference: z.string().min(1).max(32),
|
|
@@ -169,12 +169,12 @@ export declare const Project: import("@astrale-os/sdk/schema").NodeClass<{
|
|
|
169
169
|
readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<boolean, boolean, true, "archived", "self", undefined> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "key", "self", undefined> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string[], string[], true, "memberIds", "self", never> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<number, number, true, "nextIssueNumber", "self", never> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "ownerId", "self", never>) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false, never> & {
|
|
170
170
|
readonly name: "description";
|
|
171
171
|
readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
|
|
172
|
-
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
|
|
173
|
-
readonly name: "name";
|
|
174
|
-
readonly key: "kernel.astrale.ai:class.Named.property.name";
|
|
175
172
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
|
|
176
173
|
readonly name: "createdAt";
|
|
177
174
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
175
|
+
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
|
|
176
|
+
readonly name: "name";
|
|
177
|
+
readonly key: "kernel.astrale.ai:class.Named.property.name";
|
|
178
178
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true, undefined> & {
|
|
179
179
|
readonly name: "updatedAt";
|
|
180
180
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
1
|
+
import { classIcon, K, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
2
|
+
import { FolderKanban } from '@astrale-os/sdk/schema/icons';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { nodeIdValue } from '../../../types/index.js';
|
|
4
5
|
import { addProjectMemberMethod } from '../functions/add-project-member.js';
|
|
@@ -12,7 +13,7 @@ import { updateProjectMethod } from '../functions/update-project.js';
|
|
|
12
13
|
import { ContributeToProject } from '../policies/contribute-to-project.js';
|
|
13
14
|
export const Project = nodeClass({
|
|
14
15
|
description: 'A collaborative namespace for numbered Issues, Tags, and membership.',
|
|
15
|
-
icon:
|
|
16
|
+
icon: classIcon.lucide(FolderKanban),
|
|
16
17
|
extends: [K.classes.Named, K.classes.Descriptable, K.classes.Timestamped],
|
|
17
18
|
properties: {
|
|
18
19
|
key: z.string().min(2).max(10),
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { K, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
1
|
+
import { classIcon, K, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
2
|
+
import { Tags } from '@astrale-os/sdk/schema/icons';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { deleteTagMethod } from '../functions/delete-tag.js';
|
|
4
5
|
import { editTagMethod } from '../functions/edit-tag.js';
|
|
5
6
|
import { ContributeToTag } from '../policies/contribute-to-tag.js';
|
|
6
7
|
export const Tag = nodeClass({
|
|
7
8
|
description: 'One Project-local label with a canonical slug.',
|
|
8
|
-
icon:
|
|
9
|
+
icon: classIcon.lucide(Tags),
|
|
9
10
|
extends: [K.classes.Named, K.classes.Timestamped],
|
|
10
11
|
properties: {
|
|
11
12
|
slug: z.string().min(1).max(80),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/issues",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/astrale-os/domains.git",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@astrale-domains/shell": "0.1.0-beta.
|
|
32
|
-
"@astrale-os/sdk": "0.5.0-beta.
|
|
31
|
+
"@astrale-domains/shell": "0.1.0-beta.22",
|
|
32
|
+
"@astrale-os/sdk": "0.5.0-beta.106",
|
|
33
33
|
"zod": "4.4.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@astrale-os/adapter-cloudflare": "0.5.0-beta.
|
|
36
|
+
"@astrale-os/adapter-cloudflare": "0.5.0-beta.109",
|
|
37
37
|
"@astrale-os/ox": ">=0.1.4 <1.0.0",
|
|
38
|
-
"@astrale-os/shell": "0.5.0-beta.
|
|
39
|
-
"@astrale-os/shell-react": "0.4.0-beta.
|
|
38
|
+
"@astrale-os/shell": "0.5.0-beta.13",
|
|
39
|
+
"@astrale-os/shell-react": "0.4.0-beta.13",
|
|
40
40
|
"@astrale-os/ui": "0.3.0-beta.25",
|
|
41
41
|
"@tailwindcss/vite": "^4.3.3",
|
|
42
42
|
"@tanstack/react-router": "1.170.18",
|