@aneuhold/core-ts-api-lib 3.0.2 → 3.0.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/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 🔖 [3.0.4] (2025-12-07)
9
+
10
+ ### 🏗️ Changed
11
+
12
+ - Updated all type imports to use `import type` for improved clarity and build performance.
13
+ - Updated dev dependencies for compatibility: `prettier`, `tsx`, and `vitest`.
14
+ - Minor refactor in `AuthValidateUser.ts` and `ProjectDashboard.ts` to use explicit type-only imports.
15
+
16
+ ## 🔖 [3.0.3] (2025-12-07)
17
+
18
+ ### 🏗️ Changed
19
+
20
+ - Updated dependencies: now requires `@aneuhold/core-ts-db-lib@^3.0.3`, `@aneuhold/core-ts-lib@^2.3.13`, and `@aneuhold/local-npm-registry@^0.2.20`.
21
+
8
22
  ## 🔖 [3.0.2] (2025-12-03)
9
23
 
10
24
  ### ✅ Added
@@ -30,8 +44,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
30
44
 
31
45
  - Updated dependency: now requires `@aneuhold/core-ts-db-lib@^3.0.1` and `@aneuhold/local-npm-registry@^0.2.18`.
32
46
 
33
- ## 🔖 [3.0.0] (2025-11-23)
34
-
35
47
  ### 🏗️ Changed
36
48
 
37
49
  _Breaking Change:_ Updated all dependencies to require `@aneuhold/core-ts-db-lib@^3.0.0` and `@aneuhold/core-ts-lib@^2.3.11`.
@@ -142,6 +154,8 @@ No direct code changes; version bump for compatibility.
142
154
 
143
155
  <!-- Link References -->
144
156
 
157
+ [3.0.4]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v3.0.3...core-ts-api-lib-v3.0.4
158
+ [3.0.3]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v3.0.2...core-ts-api-lib-v3.0.3
145
159
  [3.0.2]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v3.0.1...core-ts-api-lib-v3.0.2
146
160
  [3.0.1]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v3.0.0...core-ts-api-lib-v3.0.1
147
161
  [3.0.0]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v2.2.8...core-ts-api-lib-v3.0.0
@@ -1,4 +1,4 @@
1
- import { ApiKey, User } from '@aneuhold/core-ts-db-lib';
1
+ import type { ApiKey, User } from '@aneuhold/core-ts-db-lib';
2
2
  import type { DashboardConfig } from './DashboardConfig.js';
3
3
  /**
4
4
  * Interface representing the input to the AuthValidateUser function.
@@ -1 +1 @@
1
- {"version":3,"file":"AuthValidateUser.d.ts","sourceRoot":"","sources":["../../src/types/AuthValidateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF;;OAEG;IACH,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,eAAe,CAAC;KAC7B,CAAC;CACH"}
1
+ {"version":3,"file":"AuthValidateUser.d.ts","sourceRoot":"","sources":["../../src/types/AuthValidateUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF;;OAEG;IACH,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,eAAe,CAAC;KAC7B,CAAC;CACH"}
@@ -1,2 +1,2 @@
1
- import { ApiKey, User } from '@aneuhold/core-ts-db-lib';
1
+ export {};
2
2
  //# sourceMappingURL=AuthValidateUser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthValidateUser.js","sourceRoot":"","sources":["../../src/types/AuthValidateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"AuthValidateUser.js","sourceRoot":"","sources":["../../src/types/AuthValidateUser.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { ApiKey, User } from '@aneuhold/core-ts-db-lib';
1
+ import type { ApiKey, User } from '@aneuhold/core-ts-db-lib';
2
2
  import type { DashboardConfig } from './DashboardConfig.js';
3
3
 
4
4
  /**
@@ -1,5 +1,4 @@
1
- import type { UserCTO } from '@aneuhold/core-ts-db-lib';
2
- import { DashboardTask, DashboardUserConfig, NonogramKatanaItem, NonogramKatanaUpgrade } from '@aneuhold/core-ts-db-lib';
1
+ import type { DashboardTask, DashboardUserConfig, NonogramKatanaItem, NonogramKatanaUpgrade, UserCTO } from '@aneuhold/core-ts-db-lib';
3
2
  import type { UUID } from 'crypto';
4
3
  import type { Translations } from './Translations.js';
5
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectDashboard.d.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,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,uBAAuB,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,sBAAsB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAClD"}
1
+ {"version":3,"file":"ProjectDashboard.d.ts","sourceRoot":"","sources":["../../src/types/ProjectDashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,OAAO,EACR,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE;QACJ;;WAEG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB;;;WAGG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;WAEG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB;;WAEG;QACH,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB;;WAEG;QACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B;;WAEG;QACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;KAClC,CAAC;IACF,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;QACxB;;WAEG;QACH,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;QAC3C;;WAEG;QACH,sBAAsB,CAAC,EAAE,qBAAqB,EAAE,CAAC;KAClD,CAAC;IACF,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,UAAU,CAAC,EAAE,mBAAmB,CAAC;QACjC;;WAEG;QACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;QACxB;;WAEG;QACH,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;QAC3C;;WAEG;QACH,sBAAsB,CAAC,EAAE,qBAAqB,EAAE,CAAC;KAClD,CAAC;IACF,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;KACzB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,uBAAuB,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,sBAAsB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAClD"}
@@ -1,2 +1,2 @@
1
- import { DashboardTask, DashboardUserConfig, NonogramKatanaItem, NonogramKatanaUpgrade } from '@aneuhold/core-ts-db-lib';
1
+ export {};
2
2
  //# sourceMappingURL=ProjectDashboard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectDashboard.js","sourceRoot":"","sources":["../../src/types/ProjectDashboard.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"ProjectDashboard.js","sourceRoot":"","sources":["../../src/types/ProjectDashboard.ts"],"names":[],"mappings":""}
@@ -1,9 +1,9 @@
1
- import type { UserCTO } from '@aneuhold/core-ts-db-lib';
2
- import {
1
+ import type {
3
2
  DashboardTask,
4
3
  DashboardUserConfig,
5
4
  NonogramKatanaItem,
6
- NonogramKatanaUpgrade
5
+ NonogramKatanaUpgrade,
6
+ UserCTO
7
7
  } from '@aneuhold/core-ts-db-lib';
8
8
  import type { UUID } from 'crypto';
9
9
  import type { Translations } from './Translations.js';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aneuhold/core-ts-api-lib",
3
3
  "author": "Anton G. Neuhold Jr.",
4
4
  "license": "MIT",
5
- "version": "3.0.2",
5
+ "version": "3.0.4",
6
6
  "description": "A library for interacting with the backend and defining the backend API for personal projects.",
7
7
  "packageManager": "pnpm@10.12.1",
8
8
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "jsr:publish": "tb pkg publishJsr",
23
23
  "npm:publish": "tb pkg publishNpm",
24
24
  "upgrade:core": "pnpm update '@aneuhold/main-scripts' --latest",
25
- "upgrade:all": "pnpm up"
25
+ "upgrade:all": "pnpm update '!@aneuhold/*' --latest"
26
26
  },
27
27
  "main": "lib/browser.js",
28
28
  "types": "lib/browser.d.ts",
@@ -71,20 +71,20 @@
71
71
  "TypeScript"
72
72
  ],
73
73
  "dependencies": {
74
- "@aneuhold/core-ts-db-lib": "^3.0.2",
75
- "@aneuhold/core-ts-lib": "^2.3.12",
74
+ "@aneuhold/core-ts-db-lib": "^4.0.0",
75
+ "@aneuhold/core-ts-lib": "^2.3.14",
76
76
  "bson": "^7.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@aneuhold/local-npm-registry": "^0.2.19",
80
- "@aneuhold/main-scripts": "^2.7.2",
79
+ "@aneuhold/local-npm-registry": "^0.2.21",
80
+ "@aneuhold/main-scripts": "^2.8.0",
81
81
  "@types/node": "^24.10.1",
82
82
  "eslint": "^9.39.1",
83
83
  "jsr": "^0.13.5",
84
- "prettier": "^3.7.2",
84
+ "prettier": "^3.7.4",
85
85
  "rimraf": "^6.1.2",
86
- "tsx": "^4.20.6",
86
+ "tsx": "^4.21.0",
87
87
  "typescript": "^5.9.3",
88
- "vitest": "^4.0.14"
88
+ "vitest": "^4.0.15"
89
89
  }
90
90
  }