@astrale-domains/issues 0.6.5 → 0.6.6

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.
@@ -2,6 +2,7 @@ import type { schema as language } from '@astrale-os/sdk/schema';
2
2
  import { KernelSchema } from '@astrale-os/sdk/schema';
3
3
  export declare const schema: import("@astrale-os/sdk/schema").AuthoredSchema<"issues.astrale.ai", readonly ["kernel.astrale.ai", KernelSchema] | readonly ["issues.astrale.ai", {
4
4
  readonly name: "Issues";
5
+ readonly icon: import("@astrale-os/sdk/schema").DomainIcon;
5
6
  readonly entrypoint: "application";
6
7
  readonly classes: {
7
8
  readonly Project: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -1,4 +1,4 @@
1
- import { KernelSchema, defineSchema, view } from '@astrale-os/sdk/schema';
1
+ import { KernelSchema, defineSchema, domainIcon, view } from '@astrale-os/sdk/schema';
2
2
  import { Comment, comment_authored_by, issue_has_comment, ContributeToCommentOrReportedIssueOfComment, EditOwnComment, TraverseCommentRelationship, TraverseIssueComment, } from './modules/comment/index.js';
3
3
  import { Issue, ContributeToIssue, ContributeToIssueOrReportedIssue, ReportedIssue, TraverseIssueAssignee, TraverseIssueParent, TraverseIssueReporter, TraverseProjectIssue, issue_assigned_to, issue_reported_by, issue_subtask_of, project_contains_issue, } from './modules/issue/index.js';
4
4
  import { Project, ContributeToProject, ManageProject, TraverseProjectMember, TraverseProjectOwner, project_has_member, project_owned_by, } from './modules/project/index.js';
@@ -44,6 +44,15 @@ const policies = {
44
44
  const views = { application: view({}) };
45
45
  export const schema = defineSchema(origin, {
46
46
  name: 'Issues',
47
+ /**
48
+ * The application icon ("Cascade"), drawn per size: small 24, medium 64 and large 512 viewBox.
49
+ * Shell clips its corners, so each square fills edge to edge.
50
+ */
51
+ icon: domainIcon({
52
+ small: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs></defs><g data-layer="background"><rect width="24" height="24" fill="#2A2D33"/></g><g data-layer="foreground"><rect x="4" y="4" width="10" height="4" rx="2" fill="#FFFFFF"/><rect x="7" y="10" width="10" height="4" rx="2" fill="#FFFFFF"/><rect x="10" y="16" width="10" height="4" rx="2" fill="#FFFFFF"/></g></svg>`,
53
+ medium: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><defs><linearGradient id="is4M-bg" x1="0" y1="0" x2="0" y2="64" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4B4F58"/><stop offset="1" stop-color="#1B1D22"/></linearGradient><radialGradient id="is4M-gl" cx="32" cy="-11.52" r="60.8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.12"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><linearGradient id="is4M-sy" x1="0" y1="15.75" x2="0" y2="47.75" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#E2E5EA"/></linearGradient><filter id="is4M-sh" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="1.5"/></filter></defs><g data-layer="background"><rect width="64" height="64" fill="url(#is4M-bg)"/><rect width="64" height="64" fill="url(#is4M-gl)"/></g><g data-layer="foreground"><g filter="url(#is4M-sh)" opacity="0.5" transform="translate(0 1.75)" fill="#000000"><rect x="11" y="15.75" width="26" height="8" rx="4"/><rect x="19" y="27.75" width="26" height="8" rx="4"/><rect x="27" y="39.75" width="26" height="8" rx="4"/></g><rect x="11" y="15.75" width="26" height="8" rx="4" fill="url(#is4M-sy)"/><rect x="19" y="27.75" width="26" height="8" rx="4" fill="url(#is4M-sy)"/><rect x="27" y="39.75" width="26" height="8" rx="4" fill="url(#is4M-sy)"/></g></svg>`,
54
+ large: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><linearGradient id="is4L-bg" x1="0" y1="0" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4B4F58"/><stop offset="1" stop-color="#1B1D22"/></linearGradient><radialGradient id="is4L-gl" cx="256" cy="-92.16" r="486.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.12"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><linearGradient id="is4L-sy" x1="0" y1="126" x2="0" y2="382" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#E2E5EA"/></linearGradient><filter id="is4L-sh" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="11"/></filter></defs><g data-layer="background"><rect width="512" height="512" fill="url(#is4L-bg)"/><rect width="512" height="512" fill="url(#is4L-gl)"/></g><g data-layer="foreground"><g filter="url(#is4L-sh)" opacity="0.5" transform="translate(0 12)" fill="#000000"><rect x="88" y="126" width="208" height="64" rx="32"/><rect x="152" y="222" width="208" height="64" rx="32"/><rect x="216" y="318" width="208" height="64" rx="32"/></g><rect x="88" y="126" width="208" height="64" rx="32" fill="url(#is4L-sy)"/><rect x="152" y="222" width="208" height="64" rx="32" fill="url(#is4L-sy)"/><rect x="216" y="318" width="208" height="64" rx="32" fill="url(#is4L-sy)"/></g></svg>`,
55
+ }),
47
56
  entrypoint: 'application',
48
57
  dependencies: { kernel: KernelSchema },
49
58
  classes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-domains/issues",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/astrale-os/domains.git",
@@ -31,9 +31,9 @@
31
31
  "zod": "4.6.7"
32
32
  },
33
33
  "devDependencies": {
34
- "@astrale-os/adapter-cloudflare": "0.5.0-beta.212",
34
+ "@astrale-os/adapter-cloudflare": "0.5.0-beta.217",
35
35
  "@astrale-os/ox": ">=0.1.4 <1.0.0",
36
- "@astrale-os/sdk": "0.6.0-beta.57",
36
+ "@astrale-os/sdk": "0.6.0-beta.62",
37
37
  "@astrale-os/shell": "0.7.0-beta.12",
38
38
  "@astrale-os/shell-react": "0.6.0-beta.11",
39
39
  "@astrale-os/ui": "1.0.0-beta.43",
@@ -63,7 +63,7 @@
63
63
  "vitest": "^5.0.5"
64
64
  },
65
65
  "peerDependencies": {
66
- "@astrale-os/sdk": ">=0.6.0-beta.55 <1.0.0"
66
+ "@astrale-os/sdk": ">=0.6.0-beta.62 <1.0.0"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=24"