@meridianjs/project 0.1.0 → 0.1.1

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/dist/index.js CHANGED
@@ -44,7 +44,9 @@ var Project = import_framework_utils.model.define("project", {
44
44
  color: import_framework_utils.model.text().nullable(),
45
45
  /** Denormalized workspace reference — no FK constraint */
46
46
  workspace_id: import_framework_utils.model.text(),
47
- owner_id: import_framework_utils.model.text().nullable()
47
+ owner_id: import_framework_utils.model.text().nullable(),
48
+ /** Arbitrary key/value storage for custom integrations */
49
+ metadata: import_framework_utils.model.json().nullable()
48
50
  }, [
49
51
  { columns: ["workspace_id"] },
50
52
  { columns: ["identifier"], unique: true }
@@ -88,7 +90,9 @@ var ProjectStatus = import_framework_utils4.model.define("project_status", {
88
90
  /** Semantic category used for board icon and grouping */
89
91
  category: import_framework_utils4.model.enum(["backlog", "unstarted", "started", "completed", "cancelled"]),
90
92
  /** Zero-indexed column order */
91
- position: import_framework_utils4.model.number()
93
+ position: import_framework_utils4.model.number(),
94
+ /** Arbitrary key/value storage for custom integrations */
95
+ metadata: import_framework_utils4.model.json().nullable()
92
96
  }, [
93
97
  { columns: ["project_id"] }
94
98
  ]);
package/dist/index.mjs CHANGED
@@ -18,7 +18,9 @@ var Project = model.define("project", {
18
18
  color: model.text().nullable(),
19
19
  /** Denormalized workspace reference — no FK constraint */
20
20
  workspace_id: model.text(),
21
- owner_id: model.text().nullable()
21
+ owner_id: model.text().nullable(),
22
+ /** Arbitrary key/value storage for custom integrations */
23
+ metadata: model.json().nullable()
22
24
  }, [
23
25
  { columns: ["workspace_id"] },
24
26
  { columns: ["identifier"], unique: true }
@@ -62,7 +64,9 @@ var ProjectStatus = model4.define("project_status", {
62
64
  /** Semantic category used for board icon and grouping */
63
65
  category: model4.enum(["backlog", "unstarted", "started", "completed", "cancelled"]),
64
66
  /** Zero-indexed column order */
65
- position: model4.number()
67
+ position: model4.number(),
68
+ /** Arbitrary key/value storage for custom integrations */
69
+ metadata: model4.json().nullable()
66
70
  }, [
67
71
  { columns: ["project_id"] }
68
72
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridianjs/project",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Meridian project module — Project, Label, Milestone domain models",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",