dart-tools 0.3.10 → 0.4.0

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/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  </p>
7
7
  </div>
8
8
 
9
- [Dart](https://itsdart.com?nr=1) is Project Management powered by AI.
9
+ [Dart](https://dartai.com?nr=1) is Project Management powered by AI.
10
10
 
11
11
  `dart-tools` is the Dart TypeScript/JavaScript Library. It enables direct integration with Dart through TypeScript or JavaScript.
12
12
 
@@ -29,7 +29,7 @@ npm i dart-tools
29
29
 
30
30
  ### Authentication of the Dart Client
31
31
 
32
- Visit [your Dart profile](https://app.itsdart.com/?settings=account) and save the authentication token into the `DART_TOKEN` environment variable.
32
+ Visit [your Dart profile](https://app.dartai.com/?settings=account) and save the authentication token into the `DART_TOKEN` environment variable.
33
33
 
34
34
  ### Importing
35
35
 
@@ -66,13 +66,13 @@ const task: WrappedTask = await TaskService.createTask({
66
66
 
67
67
  ## Help and Resources
68
68
 
69
- - [Homepage](https://itsdart.com/?nr=1)
70
- - [Web App](https://app.itsdart.com/)
71
- - [Help Center](https://help.itsdart.com/)
72
- - [Bugs and Features](https://app.itsdart.com/p/r/JFyPnhL9En61)
69
+ - [Homepage](https://dartai.com/?nr=1)
70
+ - [Web App](https://app.dartai.com/)
71
+ - [Help Center](https://help.dartai.com/)
72
+ - [Bugs and Features](https://app.dartai.com/p/r/JFyPnhL9En61)
73
73
  - [Library Source](https://github.com/its-dart/dart-tools-ts/)
74
74
  - [Chat on Discord](https://discord.gg/RExv8jEkSh)
75
- - Email us at [support@itsdart.com](mailto:support@itsdart.com)
75
+ - Email us at [support@dartai.com](mailto:support@dartai.com)
76
76
 
77
77
  ## Contributing
78
78
 
@@ -3,7 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.OpenAPI = void 0;
5
5
  exports.OpenAPI = {
6
- BASE: `${(_a = process.env.DART_HOST) !== null && _a !== void 0 ? _a : "https://app.itsdart.com"}/api/v0/public`,
6
+ BASE: `${(_a = process.env.DART_HOST) !== null && _a !== void 0 ? _a : "https://app.dartai.com"}/api/v0/public`,
7
7
  VERSION: "1.0.0",
8
8
  WITH_CREDENTIALS: false,
9
9
  CREDENTIALS: "include",
@@ -1 +1 @@
1
- {"version":3,"file":"OpenAPI.js","sourceRoot":"","sources":["../../dart/generated/core/OpenAPI.ts"],"names":[],"mappings":";;;;AAqBa,QAAA,OAAO,GAAkB;IACpC,IAAI,EAAE,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,SAAS,mCAAI,yBAAyB,gBAAgB;IAC3E,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,KAAK;IACvB,WAAW,EAAE,SAAS;IACtB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,EAAE,aAAa,EAAE,UAAU,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE;IAC9D,WAAW,EAAE,SAAS;CACvB,CAAC"}
1
+ {"version":3,"file":"OpenAPI.js","sourceRoot":"","sources":["../../dart/generated/core/OpenAPI.ts"],"names":[],"mappings":";;;;AAqBa,QAAA,OAAO,GAAkB;IACpC,IAAI,EAAE,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,SAAS,mCAAI,wBAAwB,gBAAgB;IAC1E,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,KAAK;IACvB,WAAW,EAAE,SAAS;IACtB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,EAAE,aAAa,EAAE,UAAU,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE;IAC9D,WAAW,EAAE,SAAS;CACvB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export type { ConciseDoc } from "./models/ConciseDoc";
8
8
  export type { ConciseTask } from "./models/ConciseTask";
9
9
  export type { CustomProperties } from "./models/CustomProperties";
10
10
  export type { Dartboard } from "./models/Dartboard";
11
+ export type { DateRange } from "./models/DateRange";
11
12
  export type { Doc } from "./models/Doc";
12
13
  export type { DocCreate } from "./models/DocCreate";
13
14
  export type { DocUpdate } from "./models/DocUpdate";
@@ -20,6 +21,8 @@ export type { Task } from "./models/Task";
20
21
  export type { TaskCreate } from "./models/TaskCreate";
21
22
  export type { TaskRelationships } from "./models/TaskRelationships";
22
23
  export type { TaskUpdate } from "./models/TaskUpdate";
24
+ export type { TimeTracking } from "./models/TimeTracking";
25
+ export type { TimeTrackingEntry } from "./models/TimeTrackingEntry";
23
26
  export type { User } from "./models/User";
24
27
  export type { UserSpaceConfiguration } from "./models/UserSpaceConfiguration";
25
28
  export type { View } from "./models/View";
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;AAgBhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AAoBjB,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
+ {"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;AAiBhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AAsBjB,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"}
package/dist/index.mjs CHANGED
@@ -151,7 +151,7 @@ class CancelablePromise {
151
151
 
152
152
  var _a;
153
153
  const OpenAPI = {
154
- BASE: `${(_a = process.env.DART_HOST) !== null && _a !== void 0 ? _a : "https://app.itsdart.com"}/api/v0/public`,
154
+ BASE: `${(_a = process.env.DART_HOST) !== null && _a !== void 0 ? _a : "https://app.dartai.com"}/api/v0/public`,
155
155
  VERSION: "1.0.0",
156
156
  WITH_CREDENTIALS: false,
157
157
  CREDENTIALS: "include",
package/dist/index.umd.js CHANGED
@@ -154,7 +154,7 @@
154
154
 
155
155
  var _a;
156
156
  const OpenAPI = {
157
- BASE: `${(_a = process.env.DART_HOST) !== null && _a !== void 0 ? _a : "https://app.itsdart.com"}/api/v0/public`,
157
+ BASE: `${(_a = process.env.DART_HOST) !== null && _a !== void 0 ? _a : "https://app.dartai.com"}/api/v0/public`,
158
158
  VERSION: "1.0.0",
159
159
  WITH_CREDENTIALS: false,
160
160
  CREDENTIALS: "include",
@@ -0,0 +1 @@
1
+ export type DateRange = Array<string | null>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DateRange.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRange.js","sourceRoot":"","sources":["../../dart/generated/models/DateRange.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import type { TimeTrackingEntry } from "./TimeTrackingEntry";
2
+ export type TimeTracking = Array<TimeTrackingEntry>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TimeTracking.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeTracking.js","sourceRoot":"","sources":["../../dart/generated/models/TimeTracking.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export type TimeTrackingEntry = {
2
+ userDuid: string;
3
+ startedAt: string;
4
+ finishedAt: string | null;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TimeTrackingEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeTrackingEntry.js","sourceRoot":"","sources":["../../dart/generated/models/TimeTrackingEntry.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dart-tools",
3
- "version": "0.3.10",
3
+ "version": "0.4.0",
4
4
  "description": "The Dart TypeScript/JavaScript client",
5
5
  "keywords": [
6
6
  "dart",
@@ -12,9 +12,9 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/its-dart/dart-tools-ts.git"
14
14
  },
15
- "bugs": "https://app.itsdart.com/p/r/JFyPnhL9En61",
15
+ "bugs": "https://app.dartai.com/p/r/JFyPnhL9En61",
16
16
  "license": "MIT",
17
- "author": "Dart (software@itsdart.com)",
17
+ "author": "Dart (software@dartai.com)",
18
18
  "main": "./dist/index.js",
19
19
  "module": "./dist/index.mjs",
20
20
  "types": "./index.d.ts",