@timesheet/sdk 1.1.0 → 1.1.1
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/CHANGELOG.md +7 -1
- package/dist/http/ApiClient.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +4 -4
- package/dist/resources/TagResource.d.ts +1 -2
- package/dist/resources/TagResource.d.ts.map +1 -1
- package/dist/resources/TodoResource.d.ts +1 -2
- package/dist/resources/TodoResource.d.ts.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +4 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ApiClient } from '../http';
|
|
2
|
-
import type { Tag, TagCreateRequest, TagListParams, TagUpdateRequest } from '../models';
|
|
3
|
-
import { NavigablePage } from '../models';
|
|
2
|
+
import type { NavigablePage, Tag, TagCreateRequest, TagListParams, TagUpdateRequest } from '../models';
|
|
4
3
|
import { Resource } from './Resource';
|
|
5
4
|
export declare class TagResource extends Resource {
|
|
6
5
|
constructor(client: ApiClient);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagResource.d.ts","sourceRoot":"","sources":["../../src/resources/TagResource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TagResource.d.ts","sourceRoot":"","sources":["../../src/resources/TagResource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EACV,aAAa,EAEb,GAAG,EACH,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,WAAY,SAAQ,QAAQ;gBAC3B,MAAM,EAAE,SAAS;IAIvB,IAAI,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAKzD,MAAM,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC;IAI5C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC;IAIxD,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAI7B,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQjC,MAAM,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;CAIjE"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ApiClient } from '../http';
|
|
2
|
-
import type { Todo, TodoCreateRequest, TodoListParams, TodoUpdateRequest } from '../models';
|
|
3
|
-
import { NavigablePage } from '../models';
|
|
2
|
+
import type { NavigablePage, Todo, TodoCreateRequest, TodoListParams, TodoUpdateRequest } from '../models';
|
|
4
3
|
import { Resource } from './Resource';
|
|
5
4
|
export declare class TodoResource extends Resource {
|
|
6
5
|
constructor(client: ApiClient);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TodoResource.d.ts","sourceRoot":"","sources":["../../src/resources/TodoResource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TodoResource.d.ts","sourceRoot":"","sources":["../../src/resources/TodoResource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EACV,aAAa,EAEb,IAAI,EACJ,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,YAAa,SAAQ,QAAQ;gBAC5B,MAAM,EAAE,SAAS;IAIvB,IAAI,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAK3D,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ9C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ1D,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9B,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQjC,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;CAInE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timesheet/sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Official TypeScript SDK for the Timesheet API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"CHANGELOG.md"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
+
"sync-version": "node scripts/sync-version.mjs",
|
|
16
|
+
"prebuild": "npm run sync-version",
|
|
17
|
+
"version": "npm run sync-version && git add src/version.ts",
|
|
15
18
|
"build": "rm -rf dist && npm run build:cjs && npm run build:esm && npm run build:types",
|
|
16
19
|
"build:cjs": "esbuild src/index.ts --bundle --platform=node --target=es2020 --outfile=dist/index.js --sourcemap --minify --external:axios --external:dayjs --external:jsonwebtoken",
|
|
17
20
|
"build:esm": "esbuild src/index.ts --bundle --platform=node --target=es2020 --format=esm --outfile=dist/index.mjs --sourcemap --minify --external:axios --external:dayjs --external:jsonwebtoken",
|