dart-tools 0.4.3 → 0.4.4
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.mjs +16 -2
- package/dist/index.umd.js +16 -2
- package/dist/models/ConciseTask.d.ts +16 -0
- package/dist/models/Task.d.ts +16 -0
- package/dist/services/DocService.d.ts +15 -8
- package/dist/services/DocService.js +3 -1
- package/dist/services/DocService.js.map +1 -1
- package/dist/services/TaskService.d.ts +30 -1
- package/dist/services/TaskService.js +13 -1
- package/dist/services/TaskService.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -645,16 +645,18 @@ class DocService {
|
|
|
645
645
|
* @returns PaginatedConciseDocList
|
|
646
646
|
* @throws ApiError
|
|
647
647
|
*/
|
|
648
|
-
static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }) {
|
|
648
|
+
static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults = false, o, offset, s, text, title, }) {
|
|
649
649
|
return request(OpenAPI, {
|
|
650
650
|
method: "GET",
|
|
651
651
|
url: "/docs/list",
|
|
652
652
|
query: {
|
|
653
|
+
editor: editor,
|
|
653
654
|
folder: folder,
|
|
654
655
|
folder_id: folderId,
|
|
655
656
|
ids: ids,
|
|
656
657
|
in_trash: inTrash,
|
|
657
658
|
limit: limit,
|
|
659
|
+
no_defaults: noDefaults,
|
|
658
660
|
o: o,
|
|
659
661
|
offset: offset,
|
|
660
662
|
s: s,
|
|
@@ -813,13 +815,18 @@ class TaskService {
|
|
|
813
815
|
* @returns PaginatedConciseTaskList
|
|
814
816
|
* @throws ApiError
|
|
815
817
|
*/
|
|
816
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }) {
|
|
818
|
+
static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults = false, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }) {
|
|
817
819
|
return request(OpenAPI, {
|
|
818
820
|
method: "GET",
|
|
819
821
|
url: "/tasks/list",
|
|
820
822
|
query: {
|
|
821
823
|
assignee: assignee,
|
|
822
824
|
assignee_id: assigneeId,
|
|
825
|
+
created_at: createdAt,
|
|
826
|
+
created_at_after: createdAtAfter,
|
|
827
|
+
created_at_before: createdAtBefore,
|
|
828
|
+
created_by: createdBy,
|
|
829
|
+
created_by_id: createdById,
|
|
823
830
|
dartboard: dartboard,
|
|
824
831
|
dartboard_id: dartboardId,
|
|
825
832
|
description: description,
|
|
@@ -830,6 +837,8 @@ class TaskService {
|
|
|
830
837
|
in_trash: inTrash,
|
|
831
838
|
is_completed: isCompleted,
|
|
832
839
|
limit: limit,
|
|
840
|
+
no_defaults: noDefaults,
|
|
841
|
+
o: o,
|
|
833
842
|
offset: offset,
|
|
834
843
|
parent_id: parentId,
|
|
835
844
|
priority: priority,
|
|
@@ -844,6 +853,11 @@ class TaskService {
|
|
|
844
853
|
title: title,
|
|
845
854
|
type: type,
|
|
846
855
|
type_id: typeId,
|
|
856
|
+
updated_at: updatedAt,
|
|
857
|
+
updated_at_after: updatedAtAfter,
|
|
858
|
+
updated_at_before: updatedAtBefore,
|
|
859
|
+
updated_by: updatedBy,
|
|
860
|
+
updated_by_id: updatedById,
|
|
847
861
|
view: view,
|
|
848
862
|
view_id: viewId,
|
|
849
863
|
},
|
package/dist/index.umd.js
CHANGED
|
@@ -648,16 +648,18 @@
|
|
|
648
648
|
* @returns PaginatedConciseDocList
|
|
649
649
|
* @throws ApiError
|
|
650
650
|
*/
|
|
651
|
-
static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }) {
|
|
651
|
+
static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults = false, o, offset, s, text, title, }) {
|
|
652
652
|
return request(OpenAPI, {
|
|
653
653
|
method: "GET",
|
|
654
654
|
url: "/docs/list",
|
|
655
655
|
query: {
|
|
656
|
+
editor: editor,
|
|
656
657
|
folder: folder,
|
|
657
658
|
folder_id: folderId,
|
|
658
659
|
ids: ids,
|
|
659
660
|
in_trash: inTrash,
|
|
660
661
|
limit: limit,
|
|
662
|
+
no_defaults: noDefaults,
|
|
661
663
|
o: o,
|
|
662
664
|
offset: offset,
|
|
663
665
|
s: s,
|
|
@@ -816,13 +818,18 @@
|
|
|
816
818
|
* @returns PaginatedConciseTaskList
|
|
817
819
|
* @throws ApiError
|
|
818
820
|
*/
|
|
819
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }) {
|
|
821
|
+
static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults = false, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }) {
|
|
820
822
|
return request(OpenAPI, {
|
|
821
823
|
method: "GET",
|
|
822
824
|
url: "/tasks/list",
|
|
823
825
|
query: {
|
|
824
826
|
assignee: assignee,
|
|
825
827
|
assignee_id: assigneeId,
|
|
828
|
+
created_at: createdAt,
|
|
829
|
+
created_at_after: createdAtAfter,
|
|
830
|
+
created_at_before: createdAtBefore,
|
|
831
|
+
created_by: createdBy,
|
|
832
|
+
created_by_id: createdById,
|
|
826
833
|
dartboard: dartboard,
|
|
827
834
|
dartboard_id: dartboardId,
|
|
828
835
|
description: description,
|
|
@@ -833,6 +840,8 @@
|
|
|
833
840
|
in_trash: inTrash,
|
|
834
841
|
is_completed: isCompleted,
|
|
835
842
|
limit: limit,
|
|
843
|
+
no_defaults: noDefaults,
|
|
844
|
+
o: o,
|
|
836
845
|
offset: offset,
|
|
837
846
|
parent_id: parentId,
|
|
838
847
|
priority: priority,
|
|
@@ -847,6 +856,11 @@
|
|
|
847
856
|
title: title,
|
|
848
857
|
type: type,
|
|
849
858
|
type_id: typeId,
|
|
859
|
+
updated_at: updatedAt,
|
|
860
|
+
updated_at_after: updatedAtAfter,
|
|
861
|
+
updated_at_before: updatedAtBefore,
|
|
862
|
+
updated_by: updatedBy,
|
|
863
|
+
updated_by_id: updatedById,
|
|
850
864
|
view: view,
|
|
851
865
|
view_id: viewId,
|
|
852
866
|
},
|
|
@@ -68,4 +68,20 @@ export type ConciseTask = {
|
|
|
68
68
|
* The custom properties, which is a dict of custom properties that are associated with the task.
|
|
69
69
|
*/
|
|
70
70
|
customProperties?: CustomProperties | null;
|
|
71
|
+
/**
|
|
72
|
+
* The name or email (moniker) of the user that created the task.
|
|
73
|
+
*/
|
|
74
|
+
createdBy?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* The date and time when the task was created in ISO format.
|
|
77
|
+
*/
|
|
78
|
+
createdAt: string;
|
|
79
|
+
/**
|
|
80
|
+
* The name or email (moniker) of the user that last updated the task.
|
|
81
|
+
*/
|
|
82
|
+
updatedBy?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* The date and time when the task was last updated in ISO format.
|
|
85
|
+
*/
|
|
86
|
+
updatedAt: string;
|
|
71
87
|
};
|
package/dist/models/Task.d.ts
CHANGED
|
@@ -79,4 +79,20 @@ export type Task = {
|
|
|
79
79
|
* The relationships associated with the task.
|
|
80
80
|
*/
|
|
81
81
|
taskRelationships?: TaskRelationships | null;
|
|
82
|
+
/**
|
|
83
|
+
* The name or email (moniker) of the user that created the task.
|
|
84
|
+
*/
|
|
85
|
+
createdBy?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* The date and time when the task was created in ISO format.
|
|
88
|
+
*/
|
|
89
|
+
createdAt: string;
|
|
90
|
+
/**
|
|
91
|
+
* The name or email (moniker) of the user that last updated the task.
|
|
92
|
+
*/
|
|
93
|
+
updatedBy?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
* The date and time when the task was last updated in ISO format.
|
|
96
|
+
*/
|
|
97
|
+
updatedAt: string;
|
|
82
98
|
};
|
|
@@ -42,7 +42,8 @@ export declare class DocService {
|
|
|
42
42
|
* @returns PaginatedConciseDocList
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
45
|
-
static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }: {
|
|
45
|
+
static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults, o, offset, s, text, title, }: {
|
|
46
|
+
editor?: string;
|
|
46
47
|
folder?: string;
|
|
47
48
|
folderId?: string;
|
|
48
49
|
/**
|
|
@@ -54,19 +55,25 @@ export declare class DocService {
|
|
|
54
55
|
* Number of results to return per page.
|
|
55
56
|
*/
|
|
56
57
|
limit?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Controls whether default filters and sorting are applied when false (default) or no defaults are applied when true. Explicit filters or sorting always override defaults.
|
|
60
|
+
*/
|
|
61
|
+
noDefaults?: boolean;
|
|
57
62
|
/**
|
|
58
63
|
* Ordering
|
|
59
64
|
*
|
|
65
|
+
* * `folder__order` - Folder order
|
|
66
|
+
* * `-folder__order` - Folder order (desc)
|
|
60
67
|
* * `order` - Order
|
|
61
|
-
* * `-order` - Order (
|
|
62
|
-
* * `created_at` - Created
|
|
63
|
-
* * `-created_at` - Created
|
|
64
|
-
* * `updated_at` - Updated
|
|
65
|
-
* * `-updated_at` - Updated
|
|
68
|
+
* * `-order` - Order (desc)
|
|
69
|
+
* * `created_at` - Created
|
|
70
|
+
* * `-created_at` - Created (desc)
|
|
71
|
+
* * `updated_at` - Updated
|
|
72
|
+
* * `-updated_at` - Updated (desc)
|
|
66
73
|
* * `title` - Title
|
|
67
|
-
* * `-title` - Title (
|
|
74
|
+
* * `-title` - Title (desc)
|
|
68
75
|
*/
|
|
69
|
-
o?: Array<"-created_at" | "-order" | "-title" | "-updated_at" | "created_at" | "order" | "title" | "updated_at">;
|
|
76
|
+
o?: Array<"-created_at" | "-folder__order" | "-order" | "-title" | "-updated_at" | "created_at" | "folder__order" | "order" | "title" | "updated_at">;
|
|
70
77
|
/**
|
|
71
78
|
* The initial index from which to return the results.
|
|
72
79
|
*/
|
|
@@ -90,16 +90,18 @@ class DocService {
|
|
|
90
90
|
* @returns PaginatedConciseDocList
|
|
91
91
|
* @throws ApiError
|
|
92
92
|
*/
|
|
93
|
-
static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }) {
|
|
93
|
+
static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults = false, o, offset, s, text, title, }) {
|
|
94
94
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
95
95
|
method: "GET",
|
|
96
96
|
url: "/docs/list",
|
|
97
97
|
query: {
|
|
98
|
+
editor: editor,
|
|
98
99
|
folder: folder,
|
|
99
100
|
folder_id: folderId,
|
|
100
101
|
ids: ids,
|
|
101
102
|
in_trash: inTrash,
|
|
102
103
|
limit: limit,
|
|
104
|
+
no_defaults: noDefaults,
|
|
103
105
|
o: o,
|
|
104
106
|
offset: offset,
|
|
105
107
|
s: s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocService.js","sourceRoot":"","sources":["../../dart/generated/services/DocService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,UAAU;IACrB;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,WAA6B;QACnD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,OAA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,EACD,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"DocService.js","sourceRoot":"","sources":["../../dart/generated/services/DocService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,UAAU;IACrB;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,WAA6B;QACnD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;aAC7C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAU;QAC7B,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,qCAAqC;aAC3C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,SAAS,CAAC,EAAU,EAAE,WAA6B;QAC/D,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,qCAAqC;aAC3C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,EAAU;QAChC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,YAAY;YACjB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,qCAAqC;aAC3C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,QAAQ,CAAC,EACrB,MAAM,EACN,MAAM,EACN,QAAQ,EACR,GAAG,EACH,OAAO,EACP,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,CAAC,EACD,MAAM,EACN,CAAC,EACD,IAAI,EACJ,KAAK,GAsDN;QACC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,GAAG,EAAE,GAAG;gBACR,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,UAAU;gBACvB,CAAC,EAAE,CAAC;gBACJ,MAAM,EAAE,MAAM;gBACd,CAAC,EAAE,CAAC;gBACJ,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,KAAK;aACb;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA7KD,gCA6KC"}
|
|
@@ -42,9 +42,14 @@ export declare class TaskService {
|
|
|
42
42
|
* @returns PaginatedConciseTaskList
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
45
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }: {
|
|
45
|
+
static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }: {
|
|
46
46
|
assignee?: string;
|
|
47
47
|
assigneeId?: string;
|
|
48
|
+
createdAt?: string;
|
|
49
|
+
createdAtAfter?: string;
|
|
50
|
+
createdAtBefore?: string;
|
|
51
|
+
createdBy?: string;
|
|
52
|
+
createdById?: string;
|
|
48
53
|
dartboard?: string;
|
|
49
54
|
dartboardId?: string;
|
|
50
55
|
description?: string;
|
|
@@ -61,6 +66,25 @@ export declare class TaskService {
|
|
|
61
66
|
* Number of results to return per page.
|
|
62
67
|
*/
|
|
63
68
|
limit?: number;
|
|
69
|
+
/**
|
|
70
|
+
* Controls whether default filters and sorting are applied when false (default) or no defaults are applied when true. Explicit filters or sorting always override defaults.
|
|
71
|
+
*/
|
|
72
|
+
noDefaults?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Ordering
|
|
75
|
+
*
|
|
76
|
+
* * `dartboard__order` - Dartboard order
|
|
77
|
+
* * `-dartboard__order` - Dartboard order (desc)
|
|
78
|
+
* * `order` - Order
|
|
79
|
+
* * `-order` - Order (desc)
|
|
80
|
+
* * `created_at` - Created
|
|
81
|
+
* * `-created_at` - Created (desc)
|
|
82
|
+
* * `updated_at` - Updated
|
|
83
|
+
* * `-updated_at` - Updated (desc)
|
|
84
|
+
* * `title` - Title
|
|
85
|
+
* * `-title` - Title (desc)
|
|
86
|
+
*/
|
|
87
|
+
o?: Array<"-created_at" | "-dartboard__order" | "-order" | "-title" | "-updated_at" | "created_at" | "dartboard__order" | "order" | "title" | "updated_at">;
|
|
64
88
|
/**
|
|
65
89
|
* The initial index from which to return the results.
|
|
66
90
|
*/
|
|
@@ -78,6 +102,11 @@ export declare class TaskService {
|
|
|
78
102
|
title?: string;
|
|
79
103
|
type?: string;
|
|
80
104
|
typeId?: string;
|
|
105
|
+
updatedAt?: string;
|
|
106
|
+
updatedAtAfter?: string;
|
|
107
|
+
updatedAtBefore?: string;
|
|
108
|
+
updatedBy?: string;
|
|
109
|
+
updatedById?: string;
|
|
81
110
|
view?: string;
|
|
82
111
|
viewId?: string;
|
|
83
112
|
}): CancelablePromise<PaginatedConciseTaskList>;
|
|
@@ -87,13 +87,18 @@ class TaskService {
|
|
|
87
87
|
* @returns PaginatedConciseTaskList
|
|
88
88
|
* @throws ApiError
|
|
89
89
|
*/
|
|
90
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }) {
|
|
90
|
+
static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults = false, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }) {
|
|
91
91
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
92
92
|
method: "GET",
|
|
93
93
|
url: "/tasks/list",
|
|
94
94
|
query: {
|
|
95
95
|
assignee: assignee,
|
|
96
96
|
assignee_id: assigneeId,
|
|
97
|
+
created_at: createdAt,
|
|
98
|
+
created_at_after: createdAtAfter,
|
|
99
|
+
created_at_before: createdAtBefore,
|
|
100
|
+
created_by: createdBy,
|
|
101
|
+
created_by_id: createdById,
|
|
97
102
|
dartboard: dartboard,
|
|
98
103
|
dartboard_id: dartboardId,
|
|
99
104
|
description: description,
|
|
@@ -104,6 +109,8 @@ class TaskService {
|
|
|
104
109
|
in_trash: inTrash,
|
|
105
110
|
is_completed: isCompleted,
|
|
106
111
|
limit: limit,
|
|
112
|
+
no_defaults: noDefaults,
|
|
113
|
+
o: o,
|
|
107
114
|
offset: offset,
|
|
108
115
|
parent_id: parentId,
|
|
109
116
|
priority: priority,
|
|
@@ -118,6 +125,11 @@ class TaskService {
|
|
|
118
125
|
title: title,
|
|
119
126
|
type: type,
|
|
120
127
|
type_id: typeId,
|
|
128
|
+
updated_at: updatedAt,
|
|
129
|
+
updated_at_after: updatedAtAfter,
|
|
130
|
+
updated_at_before: updatedAtBefore,
|
|
131
|
+
updated_by: updatedBy,
|
|
132
|
+
updated_by_id: updatedById,
|
|
121
133
|
view: view,
|
|
122
134
|
view_id: viewId,
|
|
123
135
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../dart/generated/services/TaskService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,WAAW;IACtB;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,WAA8B;QACrD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAC9B,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,OAAO,CAAC,EAAU;QAC9B,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU,CAAC,EAAU,EAAE,WAA8B;QACjE,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,EAAU;QACjC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,SAAS,CAAC,EACtB,QAAQ,EACR,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,KAAK,EACL,UAAU,EACV,WAAW,EACX,GAAG,EACH,OAAO,EACP,WAAW,EACX,KAAK,EACL,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,GAAG,EACH,KAAK,EACL,KAAK,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,MAAM,
|
|
1
|
+
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../dart/generated/services/TaskService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,WAAW;IACtB;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,WAA8B;QACrD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAC9B,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,OAAO,C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