@meridianjs/issue 0.1.1 → 0.1.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/dist/index.js CHANGED
@@ -58,7 +58,9 @@ var Issue = import_framework_utils.model.define("issue", {
58
58
  start_date: import_framework_utils.model.date().nullable(),
59
59
  due_date: import_framework_utils.model.date().nullable(),
60
60
  /** Story point estimate */
61
- estimate: import_framework_utils.model.number().nullable()
61
+ estimate: import_framework_utils.model.number().nullable(),
62
+ /** Arbitrary key/value storage for custom integrations */
63
+ metadata: import_framework_utils.model.json().nullable()
62
64
  }, [
63
65
  { columns: ["project_id"] },
64
66
  { columns: ["workspace_id"] },
@@ -73,7 +75,9 @@ var Comment = import_framework_utils2.model.define("comment", {
73
75
  body: import_framework_utils2.model.text(),
74
76
  issue_id: import_framework_utils2.model.text(),
75
77
  author_id: import_framework_utils2.model.text(),
76
- edited_at: import_framework_utils2.model.date().nullable()
78
+ edited_at: import_framework_utils2.model.date().nullable(),
79
+ /** Arbitrary key/value storage for custom integrations */
80
+ metadata: import_framework_utils2.model.json().nullable()
77
81
  });
78
82
  var comment_default = Comment;
79
83
 
package/dist/index.mjs CHANGED
@@ -32,7 +32,9 @@ var Issue = model.define("issue", {
32
32
  start_date: model.date().nullable(),
33
33
  due_date: model.date().nullable(),
34
34
  /** Story point estimate */
35
- estimate: model.number().nullable()
35
+ estimate: model.number().nullable(),
36
+ /** Arbitrary key/value storage for custom integrations */
37
+ metadata: model.json().nullable()
36
38
  }, [
37
39
  { columns: ["project_id"] },
38
40
  { columns: ["workspace_id"] },
@@ -47,7 +49,9 @@ var Comment = model2.define("comment", {
47
49
  body: model2.text(),
48
50
  issue_id: model2.text(),
49
51
  author_id: model2.text(),
50
- edited_at: model2.date().nullable()
52
+ edited_at: model2.date().nullable(),
53
+ /** Arbitrary key/value storage for custom integrations */
54
+ metadata: model2.json().nullable()
51
55
  });
52
56
  var comment_default = Comment;
53
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridianjs/issue",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Meridian issue module — Issue and Comment domain models",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",