dart-tools 0.3.5 → 0.3.7
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/LICENSE +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models/ConciseTask.d.ts +6 -1
- package/dist/models/CustomProperties.d.ts +1 -0
- package/dist/models/CustomProperties.js +3 -0
- package/dist/models/CustomProperties.js.map +1 -0
- package/dist/models/Task.d.ts +6 -1
- package/dist/models/TaskCreate.d.ts +4 -3
- package/dist/models/TaskUpdate.d.ts +4 -3
- package/dist/models/UserSpaceConfiguration.d.ts +21 -1
- package/package.json +9 -9
package/LICENSE
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export type { Comment } from "./models/Comment";
|
|
|
6
6
|
export type { CommentCreate } from "./models/CommentCreate";
|
|
7
7
|
export type { ConciseDoc } from "./models/ConciseDoc";
|
|
8
8
|
export type { ConciseTask } from "./models/ConciseTask";
|
|
9
|
+
export type { CustomProperties } from "./models/CustomProperties";
|
|
9
10
|
export type { Dartboard } from "./models/Dartboard";
|
|
10
11
|
export type { Doc } from "./models/Doc";
|
|
11
12
|
export type { DocCreate } from "./models/DocCreate";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../dart/generated/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../dart/generated/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAehB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AAmBjB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,gEAA+D;AAAtD,oHAAA,gBAAgB,OAAA;AACzB,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sDAAqD;AAA5C,0GAAA,WAAW,OAAA;AACpB,sDAAqD;AAA5C,0GAAA,WAAW,OAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CustomProperties } from "./CustomProperties";
|
|
1
2
|
import type { Priority } from "./Priority";
|
|
2
3
|
/**
|
|
3
4
|
* This concise task serializer is going to be used in tasks listing view only.
|
|
@@ -34,7 +35,7 @@ export type ConciseTask = {
|
|
|
34
35
|
/**
|
|
35
36
|
* The names or emails of the users that the task is assigned to. Either this or assignee must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
36
37
|
*/
|
|
37
|
-
assignees?:
|
|
38
|
+
assignees?: any[] | null;
|
|
38
39
|
/**
|
|
39
40
|
* The name or email of the user that the task is assigned to. Either this or assignees must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
40
41
|
*/
|
|
@@ -63,4 +64,8 @@ export type ConciseTask = {
|
|
|
63
64
|
* The time tracking, which is a string that indicates the amount of time spent on the task in hh:mm:ss format (or an empty string if no time has been tracked).
|
|
64
65
|
*/
|
|
65
66
|
timeTracking?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The custom properties, which is a dict of custom properties that are associated with the task.
|
|
69
|
+
*/
|
|
70
|
+
customProperties?: CustomProperties | null;
|
|
66
71
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CustomProperties = Record<string, boolean | any[] | null | string | null | Array<string> | number | null | string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomProperties.js","sourceRoot":"","sources":["../../dart/generated/models/CustomProperties.ts"],"names":[],"mappings":""}
|
package/dist/models/Task.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CustomProperties } from "./CustomProperties";
|
|
1
2
|
import type { Priority } from "./Priority";
|
|
2
3
|
export type Task = {
|
|
3
4
|
/**
|
|
@@ -35,7 +36,7 @@ export type Task = {
|
|
|
35
36
|
/**
|
|
36
37
|
* The names or emails of the users that the task is assigned to. Either this or assignee must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
37
38
|
*/
|
|
38
|
-
assignees?:
|
|
39
|
+
assignees?: any[] | null;
|
|
39
40
|
/**
|
|
40
41
|
* The name or email of the user that the task is assigned to. Either this or assignees must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
41
42
|
*/
|
|
@@ -64,4 +65,8 @@ export type Task = {
|
|
|
64
65
|
* The time tracking, which is a string that indicates the amount of time spent on the task in hh:mm:ss format (or an empty string if no time has been tracked).
|
|
65
66
|
*/
|
|
66
67
|
timeTracking?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The custom properties, which is a dict of custom properties that are associated with the task.
|
|
70
|
+
*/
|
|
71
|
+
customProperties?: CustomProperties | null;
|
|
67
72
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CustomProperties } from "./CustomProperties";
|
|
1
2
|
import type { Priority } from "./Priority";
|
|
2
3
|
export type TaskCreate = {
|
|
3
4
|
/**
|
|
@@ -27,7 +28,7 @@ export type TaskCreate = {
|
|
|
27
28
|
/**
|
|
28
29
|
* The names or emails of the users that the task is assigned to. Either this or assignee must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
29
30
|
*/
|
|
30
|
-
assignees?:
|
|
31
|
+
assignees?: any[] | null;
|
|
31
32
|
/**
|
|
32
33
|
* The name or email of the user that the task is assigned to. Either this or assignees must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
33
34
|
*/
|
|
@@ -53,7 +54,7 @@ export type TaskCreate = {
|
|
|
53
54
|
*/
|
|
54
55
|
size?: string | number | null;
|
|
55
56
|
/**
|
|
56
|
-
* The
|
|
57
|
+
* The custom properties, which is a dict of custom properties that are associated with the task.
|
|
57
58
|
*/
|
|
58
|
-
|
|
59
|
+
customProperties?: CustomProperties | null;
|
|
59
60
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CustomProperties } from "./CustomProperties";
|
|
1
2
|
import type { Priority } from "./Priority";
|
|
2
3
|
export type TaskUpdate = {
|
|
3
4
|
/**
|
|
@@ -31,7 +32,7 @@ export type TaskUpdate = {
|
|
|
31
32
|
/**
|
|
32
33
|
* The names or emails of the users that the task is assigned to. Either this or assignee must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
33
34
|
*/
|
|
34
|
-
assignees?:
|
|
35
|
+
assignees?: any[] | null;
|
|
35
36
|
/**
|
|
36
37
|
* The name or email of the user that the task is assigned to. Either this or assignees must be included, depending on whether the workspaces allows multiple assignees or not.
|
|
37
38
|
*/
|
|
@@ -57,7 +58,7 @@ export type TaskUpdate = {
|
|
|
57
58
|
*/
|
|
58
59
|
size?: string | number | null;
|
|
59
60
|
/**
|
|
60
|
-
* The
|
|
61
|
+
* The custom properties, which is a dict of custom properties that are associated with the task.
|
|
61
62
|
*/
|
|
62
|
-
|
|
63
|
+
customProperties?: CustomProperties | null;
|
|
63
64
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { User } from "./User";
|
|
2
2
|
export type UserSpaceConfiguration = {
|
|
3
|
-
today: string;
|
|
3
|
+
readonly today: string;
|
|
4
4
|
user: User;
|
|
5
5
|
dartboards: Array<string>;
|
|
6
6
|
folders: Array<string>;
|
|
@@ -10,4 +10,24 @@ export type UserSpaceConfiguration = {
|
|
|
10
10
|
tags: Array<string>;
|
|
11
11
|
priorities: Array<string>;
|
|
12
12
|
readonly sizes: string;
|
|
13
|
+
readonly customProperties: Array<{
|
|
14
|
+
name: string;
|
|
15
|
+
type: string;
|
|
16
|
+
} | {
|
|
17
|
+
name: string;
|
|
18
|
+
type: string;
|
|
19
|
+
isRange: boolean;
|
|
20
|
+
} | {
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
options: Array<string>;
|
|
24
|
+
} | {
|
|
25
|
+
name: string;
|
|
26
|
+
type: string;
|
|
27
|
+
format: "Dollars" | "Integer" | "Percentage";
|
|
28
|
+
} | {
|
|
29
|
+
name: string;
|
|
30
|
+
type: string;
|
|
31
|
+
isMultiple: boolean;
|
|
32
|
+
}>;
|
|
13
33
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dart-tools",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "The Dart TypeScript/JavaScript client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dart",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"/index.d.ts"
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=19.0.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"make-api": "./admin/make-api.sh && yarn run prettier-fix-generated",
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
"prettier-check": "prettier --check .",
|
|
48
48
|
"prettier-fix": "prettier --write . --list-different",
|
|
49
49
|
"prettier-fix-generated": "prettier --write ./dart/generated",
|
|
50
|
+
"req-up-all": "yarn upgrade-interactive --latest --exact --ignore-workspace-root-check",
|
|
50
51
|
"release": "yarn build && release-it"
|
|
51
52
|
},
|
|
52
53
|
"dependencies": {
|
|
53
|
-
"axios": "~1.
|
|
54
|
+
"axios": "~1.9"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@rollup/plugin-typescript": "12.1.2",
|
|
57
|
-
"@types/node": "22.
|
|
58
|
+
"@types/node": "22.15.18",
|
|
58
59
|
"@types/uuid": "10.0.0",
|
|
59
60
|
"openapi-typescript-codegen": "0.29.0",
|
|
60
61
|
"prettier": "3.5.3",
|
|
61
|
-
"release-it": "
|
|
62
|
+
"release-it": "19.0.2",
|
|
62
63
|
"ts-node": "10.9.2",
|
|
63
|
-
"typescript": "5.
|
|
64
|
-
"uuid": "11.0
|
|
65
|
-
"vite": "6.
|
|
66
|
-
"vitest": "2.1.8"
|
|
64
|
+
"typescript": "5.8.3",
|
|
65
|
+
"uuid": "11.1.0",
|
|
66
|
+
"vite": "6.3.5"
|
|
67
67
|
},
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public",
|