@aneuhold/core-ts-db-lib 1.0.21 → 1.0.22

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.
@@ -49,7 +49,17 @@ export default class DashboardTask extends BaseDocumentWithType implements Requi
49
49
  * double check for this when displaying things.
50
50
  */
51
51
  sharedWith: ObjectId[];
52
+ /**
53
+ * The recurrence info for this task if there is any. This is ignored
54
+ * if {@link parentRecurringTask} is set.
55
+ */
52
56
  recurrenceInfo?: RecurrenceInfo;
57
+ /**
58
+ * The ID of the parent recurring task if there is one. Users should not
59
+ * be able to share the current task if this is set to a value. It would
60
+ * get confusing for the user it was shared with.
61
+ */
62
+ parentRecurringTask?: ObjectId;
53
63
  title: string;
54
64
  completed: boolean;
55
65
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../../src/documents/dashboard/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,cAAc,MAAM,4CAA4C,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EACL,cAAc,EAEf,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,CAAC,aAAa,CAqBlE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,iBACxB,aAAa,EAAE,iBACd,QAAQ,EAAE,KACxB,QAAQ,EA2BV,CAAC;AAyBF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,OAAO,aACnB,SAAQ,oBACR,YAAW,cAAc;IAEzB,MAAM,CAAC,OAAO,SAAU;IAExB,OAAO,SAAyB;IAEhC;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAC;IAEjB;;;;;;;;;;;OAWG;IACH,UAAU,EAAE,QAAQ,EAAE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,CAAC;IAEhC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,QAAQ,CAAC;IAE/B,KAAK,SAAM;IAEX,SAAS,UAAS;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,QAAQ,CAAC;IAExB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,OAAc;IAEzB;;OAEG;IACH,eAAe,OAAc;IAE7B,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAM;IAEpB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAa;gBAEjB,OAAO,EAAE,QAAQ;CAI9B"}
@@ -108,7 +108,17 @@ class DashboardTask extends BaseDocumentWithType_1.default {
108
108
  * double check for this when displaying things.
109
109
  */
110
110
  sharedWith = [];
111
+ /**
112
+ * The recurrence info for this task if there is any. This is ignored
113
+ * if {@link parentRecurringTask} is set.
114
+ */
111
115
  recurrenceInfo;
116
+ /**
117
+ * The ID of the parent recurring task if there is one. Users should not
118
+ * be able to share the current task if this is set to a value. It would
119
+ * get confusing for the user it was shared with.
120
+ */
121
+ parentRecurringTask;
112
122
  title = '';
113
123
  completed = false;
114
124
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneuhold/core-ts-db-lib",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "A core database library used for personal projects",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",