@astrale-domains/issues 0.2.1 → 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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## [0.2.1](https://github.com/astrale-os/domains/compare/issues-v0.2.0...issues-v0.2.1) (2026-09-01)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -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),
|
|
@@ -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",
|