@aneuhold/core-ts-api-lib 2.2.6 → 2.2.8

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/lib/browser.d.ts +7 -7
  3. package/lib/browser.d.ts.map +1 -1
  4. package/lib/browser.ts +7 -7
  5. package/lib/services/APIService/APIService.d.ts +9 -9
  6. package/lib/services/APIService/APIService.d.ts.map +1 -1
  7. package/lib/services/APIService/APIService.js +9 -11
  8. package/lib/services/APIService/APIService.js.map +1 -1
  9. package/lib/services/APIService/APIService.ts +13 -15
  10. package/lib/services/DOFunctionService/DOFunction.d.ts +1 -1
  11. package/lib/services/DOFunctionService/DOFunction.d.ts.map +1 -1
  12. package/lib/services/DOFunctionService/DOFunction.ts +1 -1
  13. package/lib/services/DOFunctionService/DOFunctionService.d.ts +2 -2
  14. package/lib/services/DOFunctionService/DOFunctionService.d.ts.map +1 -1
  15. package/lib/services/DOFunctionService/DOFunctionService.js.map +1 -1
  16. package/lib/services/DOFunctionService/DOFunctionService.ts +4 -4
  17. package/lib/services/DOFunctionService/functions/authCheckPassword.d.ts +2 -1
  18. package/lib/services/DOFunctionService/functions/authCheckPassword.d.ts.map +1 -1
  19. package/lib/services/DOFunctionService/functions/authCheckPassword.js.map +1 -1
  20. package/lib/services/DOFunctionService/functions/authCheckPassword.ts +2 -1
  21. package/lib/services/DOFunctionService/functions/authValidateUser.d.ts +3 -2
  22. package/lib/services/DOFunctionService/functions/authValidateUser.d.ts.map +1 -1
  23. package/lib/services/DOFunctionService/functions/authValidateUser.js +1 -0
  24. package/lib/services/DOFunctionService/functions/authValidateUser.js.map +1 -1
  25. package/lib/services/DOFunctionService/functions/authValidateUser.ts +3 -2
  26. package/lib/services/DOFunctionService/functions/projectDashboard.d.ts +6 -4
  27. package/lib/services/DOFunctionService/functions/projectDashboard.d.ts.map +1 -1
  28. package/lib/services/DOFunctionService/functions/projectDashboard.js +1 -0
  29. package/lib/services/DOFunctionService/functions/projectDashboard.js.map +1 -1
  30. package/lib/services/DOFunctionService/functions/projectDashboard.ts +6 -5
  31. package/lib/services/GCloudAPIService/GCloudAPIService.d.ts +9 -2
  32. package/lib/services/GCloudAPIService/GCloudAPIService.d.ts.map +1 -1
  33. package/lib/services/GCloudAPIService/GCloudAPIService.js +9 -4
  34. package/lib/services/GCloudAPIService/GCloudAPIService.js.map +1 -1
  35. package/lib/services/GCloudAPIService/GCloudAPIService.ts +18 -7
  36. package/lib/tests/ExampleFunction.d.ts +2 -1
  37. package/lib/tests/ExampleFunction.d.ts.map +1 -1
  38. package/lib/tests/ExampleFunction.js.map +1 -1
  39. package/lib/tests/ExampleFunction.ts +2 -1
  40. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ 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
+ ## 🔖 [2.2.8] (2025-11-09)
9
+
10
+ ### 🏗️ Changed
11
+
12
+ - Refactored all service, function, and test files to use `import type` for type-only imports, improving build performance and clarity.
13
+ - Updated internal imports to separate type and value imports from dependencies and internal modules.
14
+ - No breaking changes; all updates are internal refactors for TypeScript best practices.
15
+
16
+ ## 🔖 [2.2.7] (2025-11-08)
17
+
18
+ ### 🏗️ Changed
19
+
20
+ - Refactored `APIService.validateUser` to use `GCloudAPIService` directly (removes dependency on DOFunctionService)
21
+ - Renamed `setDashboardAPIUrl` to `setAPIUrl` for clarity and updated JSDoc
22
+ - Set default base URL for GCloud API in `GCloudAPIService`
23
+ - Moved user validation logic to `GCloudAPIService.authValidateUser`
24
+
8
25
  ## 🔖 [2.2.6] (2025-11-07)
9
26
 
10
27
  ### 🏗️ Changed
@@ -92,6 +109,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
92
109
 
93
110
  <!-- Link References -->
94
111
 
112
+ [2.2.8]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v2.2.7...core-ts-api-lib-v2.2.8
113
+ [2.2.7]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v2.2.6...core-ts-api-lib-v2.2.7
95
114
  [2.2.6]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v2.2.5...core-ts-api-lib-v2.2.6
96
115
  [2.2.5]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v2.2.5...core-ts-api-lib-v2.2.5
97
116
  [2.2.5]: https://github.com/aneuhold/ts-libs/compare/core-ts-api-lib-v2.2.1...core-ts-api-lib-v2.2.5
package/lib/browser.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import APIService from './services/APIService/APIService.js';
2
- import { DOFunctionRawInput, DOFunctionRawOutput } from './services/DOFunctionService/DOFunction.js';
2
+ import type { DOFunctionRawInput, DOFunctionRawOutput } from './services/DOFunctionService/DOFunction.js';
3
3
  import DOFunctionService from './services/DOFunctionService/DOFunctionService.js';
4
- import { AuthCheckPasswordInput, AuthCheckPasswordOutput } from './services/DOFunctionService/functions/authCheckPassword.js';
5
- import { AuthValidateUserInput, AuthValidateUserOutput } from './services/DOFunctionService/functions/authValidateUser.js';
6
- import { ProjectDashboardInput, ProjectDashboardOptions, ProjectDashboardOutput } from './services/DOFunctionService/functions/projectDashboard.js';
7
- import { APIResponse } from './types/APIResponse.js';
8
- import { DashboardConfig } from './types/DashboardConfig.js';
9
- import { Translation, Translations } from './types/Translations.js';
4
+ import type { AuthCheckPasswordInput, AuthCheckPasswordOutput } from './services/DOFunctionService/functions/authCheckPassword.js';
5
+ import type { AuthValidateUserInput, AuthValidateUserOutput } from './services/DOFunctionService/functions/authValidateUser.js';
6
+ import type { ProjectDashboardInput, ProjectDashboardOptions, ProjectDashboardOutput } from './services/DOFunctionService/functions/projectDashboard.js';
7
+ import type { APIResponse } from './types/APIResponse.js';
8
+ import type { DashboardConfig } from './types/DashboardConfig.js';
9
+ import type { Translation, Translations } from './types/Translations.js';
10
10
  export { APIService, DOFunctionService };
11
11
  export type { APIResponse, AuthCheckPasswordInput, AuthCheckPasswordOutput, AuthValidateUserInput, AuthValidateUserOutput, DashboardConfig, DOFunctionRawInput, DOFunctionRawOutput, ProjectDashboardInput, ProjectDashboardOptions, ProjectDashboardOutput, Translation, Translations };
12
12
  //# sourceMappingURL=browser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,4CAA4C,CAAC;AACpD,OAAO,iBAAiB,MAAM,mDAAmD,CAAC;AAClF,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGpE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC;AAGzC,YAAY,EACV,WAAW,EACX,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACb,CAAC"}
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAC7D,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,4CAA4C,CAAC;AACpD,OAAO,iBAAiB,MAAM,mDAAmD,CAAC;AAClF,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,6DAA6D,CAAC;AACrE,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,4DAA4D,CAAC;AACpE,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,4DAA4D,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGzE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC;AAGzC,YAAY,EACV,WAAW,EACX,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACb,CAAC"}
package/lib/browser.ts CHANGED
@@ -1,25 +1,25 @@
1
1
  import APIService from './services/APIService/APIService.js';
2
- import {
2
+ import type {
3
3
  DOFunctionRawInput,
4
4
  DOFunctionRawOutput
5
5
  } from './services/DOFunctionService/DOFunction.js';
6
6
  import DOFunctionService from './services/DOFunctionService/DOFunctionService.js';
7
- import {
7
+ import type {
8
8
  AuthCheckPasswordInput,
9
9
  AuthCheckPasswordOutput
10
10
  } from './services/DOFunctionService/functions/authCheckPassword.js';
11
- import {
11
+ import type {
12
12
  AuthValidateUserInput,
13
13
  AuthValidateUserOutput
14
14
  } from './services/DOFunctionService/functions/authValidateUser.js';
15
- import {
15
+ import type {
16
16
  ProjectDashboardInput,
17
17
  ProjectDashboardOptions,
18
18
  ProjectDashboardOutput
19
19
  } from './services/DOFunctionService/functions/projectDashboard.js';
20
- import { APIResponse } from './types/APIResponse.js';
21
- import { DashboardConfig } from './types/DashboardConfig.js';
22
- import { Translation, Translations } from './types/Translations.js';
20
+ import type { APIResponse } from './types/APIResponse.js';
21
+ import type { DashboardConfig } from './types/DashboardConfig.js';
22
+ import type { Translation, Translations } from './types/Translations.js';
23
23
 
24
24
  // Export all browser-safe functions and classes from this library
25
25
  export { APIService, DOFunctionService };
@@ -1,6 +1,6 @@
1
- import { APIResponse } from '../../types/APIResponse.js';
2
- import { AuthValidateUserInput, AuthValidateUserOutput } from '../DOFunctionService/functions/authValidateUser.js';
3
- import { ProjectDashboardInput, ProjectDashboardOutput } from '../DOFunctionService/functions/projectDashboard.js';
1
+ import type { APIResponse } from '../../types/APIResponse.js';
2
+ import type { AuthValidateUserInput, AuthValidateUserOutput } from '../DOFunctionService/functions/authValidateUser.js';
3
+ import type { ProjectDashboardInput, ProjectDashboardOutput } from '../DOFunctionService/functions/projectDashboard.js';
4
4
  /**
5
5
  * A service for making calls to the backend API for personal projects. This is
6
6
  * abstracted so that the backend implementation can change over time.
@@ -14,12 +14,6 @@ export default class APIService {
14
14
  * @returns A promise that resolves to the user's information if validation is successful.
15
15
  */
16
16
  static validateUser(input: AuthValidateUserInput): Promise<APIResponse<AuthValidateUserOutput>>;
17
- /**
18
- * Sets the URL for the dashboard API.
19
- *
20
- * @param url - The URL to be set for the dashboard API. This should include a trailing slash.
21
- */
22
- static setDashboardAPIUrl(url: string): void;
23
17
  /**
24
18
  * Calls the dashboard API and returns the result. This will fail if the
25
19
  * dashboard API URL has not been set. See {@link setDashboardAPIUrl}.
@@ -28,5 +22,11 @@ export default class APIService {
28
22
  * @returns A promise that resolves to the result of the dashboard API call.
29
23
  */
30
24
  static callDashboardAPI(input: ProjectDashboardInput): Promise<APIResponse<ProjectDashboardOutput>>;
25
+ /**
26
+ * Sets the base URL for the API.
27
+ *
28
+ * @param url - The URL to be set for the API. This should include a trailing slash.
29
+ */
30
+ static setAPIUrl(url: string): void;
31
31
  }
32
32
  //# sourceMappingURL=APIService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"APIService.d.ts","sourceRoot":"","sources":["../../../src/services/APIService/APIService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAG5D;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B;;;;;;OAMG;WACU,YAAY,CACvB,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAK/C;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,GAAG,EAAE,MAAM;IAIrC;;;;;;OAMG;WACU,gBAAgB,CAC3B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;CAGhD"}
1
+ {"version":3,"file":"APIService.d.ts","sourceRoot":"","sources":["../../../src/services/APIService/APIService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAG5D;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B;;;;;;OAMG;WACU,YAAY,CACvB,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAI/C;;;;;;OAMG;WACU,gBAAgB,CAC3B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAI/C;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM;CAG7B"}
@@ -1,4 +1,3 @@
1
- import DOFunctionService from '../DOFunctionService/DOFunctionService.js';
2
1
  import GCloudAPIService from '../GCloudAPIService/GCloudAPIService.js';
3
2
  /**
4
3
  * A service for making calls to the backend API for personal projects. This is
@@ -13,16 +12,7 @@ export default class APIService {
13
12
  * @returns A promise that resolves to the user's information if validation is successful.
14
13
  */
15
14
  static async validateUser(input) {
16
- const result = await DOFunctionService.authValidateUser.call(input);
17
- return result;
18
- }
19
- /**
20
- * Sets the URL for the dashboard API.
21
- *
22
- * @param url - The URL to be set for the dashboard API. This should include a trailing slash.
23
- */
24
- static setDashboardAPIUrl(url) {
25
- GCloudAPIService.setUrl(url);
15
+ return await GCloudAPIService.authValidateUser(input);
26
16
  }
27
17
  /**
28
18
  * Calls the dashboard API and returns the result. This will fail if the
@@ -34,5 +24,13 @@ export default class APIService {
34
24
  static async callDashboardAPI(input) {
35
25
  return GCloudAPIService.projectDashboard(input);
36
26
  }
27
+ /**
28
+ * Sets the base URL for the API.
29
+ *
30
+ * @param url - The URL to be set for the API. This should include a trailing slash.
31
+ */
32
+ static setAPIUrl(url) {
33
+ GCloudAPIService.setUrl(url);
34
+ }
37
35
  }
38
36
  //# sourceMappingURL=APIService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"APIService.js","sourceRoot":"","sources":["../../../src/services/APIService/APIService.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,2CAA2C,CAAC;AAS1E,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AAEvE;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,YAAY,CACvB,KAA4B;QAE5B,MAAM,MAAM,GAAG,MAAM,iBAAiB,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACpE,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,GAAW;QACnC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAC3B,KAA4B;QAE5B,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;CACF"}
1
+ {"version":3,"file":"APIService.js","sourceRoot":"","sources":["../../../src/services/APIService/APIService.ts"],"names":[],"mappings":"AASA,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AAEvE;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,YAAY,CACvB,KAA4B;QAE5B,OAAO,MAAM,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAC3B,KAA4B;QAE5B,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,GAAW;QAC1B,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;CACF"}
@@ -1,10 +1,9 @@
1
- import { APIResponse } from '../../types/APIResponse.js';
2
- import DOFunctionService from '../DOFunctionService/DOFunctionService.js';
3
- import {
1
+ import type { APIResponse } from '../../types/APIResponse.js';
2
+ import type {
4
3
  AuthValidateUserInput,
5
4
  AuthValidateUserOutput
6
5
  } from '../DOFunctionService/functions/authValidateUser.js';
7
- import {
6
+ import type {
8
7
  ProjectDashboardInput,
9
8
  ProjectDashboardOutput
10
9
  } from '../DOFunctionService/functions/projectDashboard.js';
@@ -25,17 +24,7 @@ export default class APIService {
25
24
  static async validateUser(
26
25
  input: AuthValidateUserInput
27
26
  ): Promise<APIResponse<AuthValidateUserOutput>> {
28
- const result = await DOFunctionService.authValidateUser.call(input);
29
- return result;
30
- }
31
-
32
- /**
33
- * Sets the URL for the dashboard API.
34
- *
35
- * @param url - The URL to be set for the dashboard API. This should include a trailing slash.
36
- */
37
- static setDashboardAPIUrl(url: string) {
38
- GCloudAPIService.setUrl(url);
27
+ return await GCloudAPIService.authValidateUser(input);
39
28
  }
40
29
 
41
30
  /**
@@ -50,4 +39,13 @@ export default class APIService {
50
39
  ): Promise<APIResponse<ProjectDashboardOutput>> {
51
40
  return GCloudAPIService.projectDashboard(input);
52
41
  }
42
+
43
+ /**
44
+ * Sets the base URL for the API.
45
+ *
46
+ * @param url - The URL to be set for the API. This should include a trailing slash.
47
+ */
48
+ static setAPIUrl(url: string) {
49
+ GCloudAPIService.setUrl(url);
50
+ }
53
51
  }
@@ -1,4 +1,4 @@
1
- import { APIResponse } from '../../types/APIResponse.js';
1
+ import type { APIResponse } from '../../types/APIResponse.js';
2
2
  /**
3
3
  * The input to a Digital Ocean function must always be an object.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DOFunction.d.ts","sourceRoot":"","sources":["../../../src/services/DOFunctionService/DOFunction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE;YACP,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAC3B;;eAEG;YACH,cAAc,CAAC,EAAE,MAAM,CAAC;YACxB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;YAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;SACzB,CAAC;QACF;;WAEG;QACH,eAAe,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE;QACP;;;;WAIG;QACH,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;CACH;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,kBAAkB,CAShF;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,UAAU,CACtC,MAAM,SAAS,eAAe,EAC9B,OAAO,SAAS,gBAAgB;IAEhC;;OAEG;IACH,SAAS,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAE/B,SAAS;IAIT;;;;OAIG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB;;;;;;;;OAQG;IACG,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAgBxD;;;;;OAKG;YACW,cAAc;CAgB7B"}
1
+ {"version":3,"file":"DOFunction.d.ts","sourceRoot":"","sources":["../../../src/services/DOFunctionService/DOFunction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,M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AE,MAAM;IAIlB;;;;;;;;OAQG;IACG,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAgBxD;;;;;OAKG;YACW,cAAc;CAgB7B"}
@@ -1,5 +1,5 @@
1
1
  import { BSON } from 'bson';
2
- import { APIResponse } from '../../types/APIResponse.js';
2
+ import type { APIResponse } from '../../types/APIResponse.js';
3
3
 
4
4
  /**
5
5
  * The input to a Digital Ocean function must always be an object.
@@ -1,5 +1,5 @@
1
- import { APIResponse } from '../../types/APIResponse.js';
2
- import { DOFunctionInput, DOFunctionOutput, DOFunctionRawInput, DOFunctionRawOutput } from './DOFunction.js';
1
+ import type { APIResponse } from '../../types/APIResponse.js';
2
+ import type { DOFunctionInput, DOFunctionOutput, DOFunctionRawInput, DOFunctionRawOutput } from './DOFunction.js';
3
3
  import AuthCheckPassword from './functions/authCheckPassword.js';
4
4
  import AuthValidateUser from './functions/authValidateUser.js';
5
5
  import ProjectDashboard from './functions/projectDashboard.js';
@@ -1 +1 @@
1
- {"version":3,"file":"DOFunctionService.d.ts","sourceRoot":"","sources":["../../../src/services/DOFunctionService/DOFunctionService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAiB;IACpC;;OAEG;IACH,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CAAmC;IAE9E;;OAEG;IACH,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAAkC;IAE3E;;OAEG;IACH,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAAkC;IAE3E;;;;;;;;;;;;;OAaG;WACU,gBAAgB,CAAC,MAAM,SAAS,eAAe,EAAE,OAAO,SAAS,gBAAgB,EAC5F,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,kBAAkB,GAAG,MAAM,EAC3C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,GACxD,OAAO,CAAC,mBAAmB,CAAC;IA2D/B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IA4D/B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;CAM/B"}
1
+ {"version":3,"file":"DOFunctionService.d.ts","sourceRoot":"","sources":["../../../src/services/DOFunctionService/DOFunctionService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAiB;IACpC;;OAEG;IACH,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CAAmC;IAE9E;;OAEG;IACH,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAAkC;IAE3E;;OAEG;IACH,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAAkC;IAE3E;;;;;;;;;;;;;OAaG;WACU,gBAAgB,CAAC,MAAM,SAAS,eAAe,EAAE,OAAO,SAAS,gBAAgB,EAC5F,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,kBAAkB,GAAG,MAAM,EAC3C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK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AE,CAAC,CAAC;wBACxF,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;oBACvE,CAAC;gBACH,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,kEAAkE,CAAC,CAAC;gBACnF,IAAI,CAAC;oBACH,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAW,CAAC;gBACnE,CAAC;gBAAC,OAAO,SAAS,EAAE,CAAC;oBACnB,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,0CAA0C,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;oBAC/E,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;gBAC/D,CAAC;YACH,CAAC;YACD,OAAO,WAAW,CAAC;QACrB,CAAC;QACD,iDAAiD;aAC5C,CAAC;YACJ,EAAE,CAAC,MAAM,CAAC,IAAI,CACZ,mGAAmG,CACpG,CAAC;YACF,OAAO,WAAW,CAAC;QACrB,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACK,MAAM,CAAC,eAAe,CAC5B,MAA4B;QAE5B,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC1C,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACpD,CAAC"}
1
+ {"version":3,"file":"DOFunctionService.js","sourceRoot":"","sources":["../../../src/services/DOFunctionService/DOFunctionService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAQ5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/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ACD,iDAAiD;aAC5C,CAAC;YACJ,EAAE,CAAC,MAAM,CAAC,IAAI,CACZ,mGAAmG,CACpG,CAAC;YACF,OAAO,WAAW,CAAC;QACrB,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACK,MAAM,CAAC,eAAe,CAC5B,MAA4B;QAE5B,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC1C,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACpD,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { DR } from '@aneuhold/core-ts-lib';
2
2
  import { BSON } from 'bson';
3
- import { APIResponse } from '../../types/APIResponse.js';
4
- import {
3
+ import type { APIResponse } from '../../types/APIResponse.js';
4
+ import type {
5
5
  DOFunctionInput,
6
6
  DOFunctionOutput,
7
7
  DOFunctionRawInput,
8
- DOFunctionRawOutput,
9
- isDOFunctionRawInput
8
+ DOFunctionRawOutput
10
9
  } from './DOFunction.js';
10
+ import { isDOFunctionRawInput } from './DOFunction.js';
11
11
  import AuthCheckPassword from './functions/authCheckPassword.js';
12
12
  import AuthValidateUser from './functions/authValidateUser.js';
13
13
  import ProjectDashboard from './functions/projectDashboard.js';
@@ -1,4 +1,5 @@
1
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
1
+ import type { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
2
+ import DOFunction from '../DOFunction.js';
2
3
  /**
3
4
  * Input interface for {@link AuthCheckPassword}.
4
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"authCheckPassword.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authCheckPassword.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,eAAe;IAC7D,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC/D,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CACvD,sBAAsB,EACtB,uBAAuB,CACxB;IACC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAgC;IAEvD,OAAO;IAMP;;;;OAIG;IACH,MAAM,CAAC,WAAW,IAAI,iBAAiB;CAMxC"}
1
+ {"version":3,"file":"authCheckPassword.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authCheckPassword.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,eAAe;IAC7D,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC/D,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CACvD,sBAAsB,EACtB,uBAAuB,CACxB;IACC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAgC;IAEvD,OAAO;IAMP;;;;OAIG;IACH,MAAM,CAAC,WAAW,IAAI,iBAAiB;CAMxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"authCheckPassword.js","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authCheckPassword.ts"],"names":[],"mappings":"AAAA,OAAO,UAAiD,MAAM,kBAAkB,CAAC;AAgBjF;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAG9C;IACS,MAAM,CAAC,QAAQ,CAAgC;IAEvD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,GAAG;YACN,kHAAkH,CAAC;IACvH,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;YAChC,iBAAiB,CAAC,QAAQ,GAAG,IAAI,iBAAiB,EAAE,CAAC;QACvD,CAAC;QACD,OAAO,iBAAiB,CAAC,QAAQ,CAAC;IACpC,CAAC;CACF"}
1
+ {"version":3,"file":"authCheckPassword.js","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authCheckPassword.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAgB1C;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAG9C;IACS,MAAM,CAAC,QAAQ,CAAgC;IAEvD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,GAAG;YACN,kHAAkH,CAAC;IACvH,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;YAChC,iBAAiB,CAAC,QAAQ,GAAG,IAAI,iBAAiB,EAAE,CAAC;QACvD,CAAC;QACD,OAAO,iBAAiB,CAAC,QAAQ,CAAC;IACpC,CAAC;CACF"}
@@ -1,4 +1,5 @@
1
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
1
+ import type { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
2
+ import DOFunction from '../DOFunction.js';
2
3
 
3
4
  /**
4
5
  * Input interface for {@link AuthCheckPassword}.
@@ -1,6 +1,7 @@
1
1
  import { ApiKey, User } from '@aneuhold/core-ts-db-lib';
2
- import { DashboardConfig } from '../../../types/DashboardConfig.js';
3
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
2
+ import type { DashboardConfig } from '../../../types/DashboardConfig.js';
3
+ import type { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
4
+ import DOFunction from '../DOFunction.js';
4
5
  /**
5
6
  * Interface representing the input to the {@link AuthValidateUser} function.
6
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"authValidateUser.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authValidateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D;;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;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU,CACtD,qBAAqB,EACrB,sBAAsB,CACvB;IACC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA+B;IAEtD;;;OAGG;IACH,OAAO;IAMP;;;;;OAKG;IACH,MAAM,CAAC,WAAW,IAAI,gBAAgB;CAMvC"}
1
+ {"version":3,"file":"authValidateUser.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authValidateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D;;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;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU,CACtD,qBAAqB,EACrB,sBAAsB,CACvB;IACC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA+B;IAEtD;;;OAGG;IACH,OAAO;IAMP;;;;;OAKG;IACH,MAAM,CAAC,WAAW,IAAI,gBAAgB;CAMvC"}
@@ -1,3 +1,4 @@
1
+ import { ApiKey, User } from '@aneuhold/core-ts-db-lib';
1
2
  import DOFunction from '../DOFunction.js';
2
3
  /**
3
4
  * Class representing the {@link AuthValidateUser} function.
@@ -1 +1 @@
1
- {"version":3,"file":"authValidateUser.js","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authValidateUser.ts"],"names":[],"mappings":"AAEA,OAAO,UAAiD,MAAM,kBAAkB,CAAC;AAmCjF;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAG7C;IACS,MAAM,CAAC,QAAQ,CAA+B;IAEtD;;;OAGG;IACH;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,GAAG;YACN,iHAAiH,CAAC;IACtH,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;YAC/B,gBAAgB,CAAC,QAAQ,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACrD,CAAC;QACD,OAAO,gBAAgB,CAAC,QAAQ,CAAC;IACnC,CAAC;CACF"}
1
+ {"version":3,"file":"authValidateUser.js","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/authValidateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAGxD,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAmC1C;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAG7C;IACS,MAAM,CAAC,QAAQ,CAA+B;IAEtD;;;OAGG;IACH;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,GAAG;YACN,iHAAiH,CAAC;IACtH,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;YAC/B,gBAAgB,CAAC,QAAQ,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACrD,CAAC;QACD,OAAO,gBAAgB,CAAC,QAAQ,CAAC;IACnC,CAAC;CACF"}
@@ -1,6 +1,7 @@
1
1
  import { ApiKey, User } from '@aneuhold/core-ts-db-lib';
2
- import { DashboardConfig } from '../../../types/DashboardConfig.js';
3
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
2
+ import type { DashboardConfig } from '../../../types/DashboardConfig.js';
3
+ import type { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
4
+ import DOFunction from '../DOFunction.js';
4
5
 
5
6
  /**
6
7
  * Interface representing the input to the {@link AuthValidateUser} function.
@@ -1,7 +1,9 @@
1
- import { DashboardTask, DashboardUserConfig, NonogramKatanaItem, NonogramKatanaUpgrade, UserCTO } from '@aneuhold/core-ts-db-lib';
2
- import { UUID } from 'crypto';
3
- import { Translations } from '../../../types/Translations.js';
4
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
1
+ import type { UserCTO } from '@aneuhold/core-ts-db-lib';
2
+ import { DashboardTask, DashboardUserConfig, NonogramKatanaItem, NonogramKatanaUpgrade } from '@aneuhold/core-ts-db-lib';
3
+ import type { UUID } from 'crypto';
4
+ import type { Translations } from '../../../types/Translations.js';
5
+ import type { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
6
+ import DOFunction from '../DOFunction.js';
5
7
  /**
6
8
  * Options for configuring the project dashboard.
7
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"projectDashboard.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/projectDashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,OAAO,EACR,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEjF;;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;Q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D,CAAC;IACF,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;KACzB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,uBAAuB,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,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;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU,CACtD,qBAAqB,EACrB,sBAAsB,CACvB;IACC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA+B;IAEtD,OAAO;IAIP,MAAM,CAAC,WAAW,IAAI,gBAAgB;CAMvC"}
@@ -1,3 +1,4 @@
1
+ import { DashboardTask, DashboardUserConfig, NonogramKatanaItem, NonogramKatanaUpgrade } from '@aneuhold/core-ts-db-lib';
1
2
  import DOFunction from '../DOFunction.js';
2
3
  /**
3
4
  * The Digital Ocean function which handles all data requests for the
@@ -1 +1 @@
1
- {"version":3,"file":"projectDashboard.js","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/projectDashboard.ts"],"names":[],"mappings":"AASA,OAAO,UAAiD,MAAM,kBAAkB,CAAC;AA8FjF;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAG7C;IACS,MAAM,CAAC,QAAQ,CAA+B;IAEtD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;YAC/B,gBAAgB,CAAC,QAAQ,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACrD,CAAC;QACD,OAAO,gBAAgB,CAAC,QAAQ,CAAC;IACnC,CAAC;CACF"}
1
+ {"version":3,"file":"projectDashboard.js","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/projectDashboard.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,UAAU,MAAM,kBAAkB,CAAC;AA8F1C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAG7C;IACS,MAAM,CAAC,QAAQ,CAA+B;IAEtD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;YAC/B,gBAAgB,CAAC,QAAQ,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACrD,CAAC;QACD,OAAO,gBAAgB,CAAC,QAAQ,CAAC;IACnC,CAAC;CACF"}
@@ -1,13 +1,14 @@
1
+ import type { UserCTO } from '@aneuhold/core-ts-db-lib';
1
2
  import {
2
3
  DashboardTask,
3
4
  DashboardUserConfig,
4
5
  NonogramKatanaItem,
5
- NonogramKatanaUpgrade,
6
- UserCTO
6
+ NonogramKatanaUpgrade
7
7
  } from '@aneuhold/core-ts-db-lib';
8
- import { UUID } from 'crypto';
9
- import { Translations } from '../../../types/Translations.js';
10
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
8
+ import type { UUID } from 'crypto';
9
+ import type { Translations } from '../../../types/Translations.js';
10
+ import type { DOFunctionInput, DOFunctionOutput } from '../DOFunction.js';
11
+ import DOFunction from '../DOFunction.js';
11
12
 
12
13
  /**
13
14
  * Options for configuring the project dashboard.
@@ -1,5 +1,6 @@
1
- import { APIResponse } from '../../types/APIResponse.js';
2
- import { ProjectDashboardInput, ProjectDashboardOutput } from '../DOFunctionService/functions/projectDashboard.js';
1
+ import type { APIResponse } from '../../types/APIResponse.js';
2
+ import type { AuthValidateUserInput, AuthValidateUserOutput } from '../DOFunctionService/functions/authValidateUser.js';
3
+ import type { ProjectDashboardInput, ProjectDashboardOutput } from '../DOFunctionService/functions/projectDashboard.js';
3
4
  /**
4
5
  * A service for interacting with the Google Cloud API service for personal projects.
5
6
  */
@@ -11,6 +12,12 @@ export default class GCloudAPIService {
11
12
  * @param url - The URL to set.
12
13
  */
13
14
  static setUrl(url: string): void;
15
+ /**
16
+ * Calls the project dashboard endpoint to get, insert, update, or delete dashboard data.
17
+ *
18
+ * @param input - The input for the project dashboard function.
19
+ */
20
+ static authValidateUser(input: AuthValidateUserInput): Promise<APIResponse<AuthValidateUserOutput>>;
14
21
  /**
15
22
  * Calls the project dashboard endpoint to get, insert, update, or delete dashboard data.
16
23
  *
@@ -1 +1 @@
1
- {"version":3,"file":"GCloudAPIService.d.ts","sourceRoot":"","sources":["../../../src/services/GCloudAPIService/GCloudAPIService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAE5D;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAgB;;IAOnC;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhC;;;;OAIG;WACU,gBAAgB,CAC3B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAI/C;;;;;;OAMG;mBACkB,IAAI;IAqBzB;;;;;OAKG;mBACkB,cAAc;CAiBpC"}
1
+ {"version":3,"file":"GCloudAPIService.d.ts","sourceRoot":"","sources":["../../../src/services/GCloudAPIService/GCloudAPIService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,oDAAoD,CAAC;AAE5D;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAgB;;IAOnC;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhC;;;;OAIG;WACU,gBAAgB,CAC3B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAI/C;;;;OAIG;WACU,gBAAgB,CAC3B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAI/C;;;;;;OAMG;mBACkB,IAAI;IAiBzB;;;;;OAKG;mBACkB,cAAc;CAiBpC"}
@@ -7,7 +7,7 @@ export default class GCloudAPIService {
7
7
  * The base URL of the Google Cloud API. For example, `something.com/api/`. It will include
8
8
  * the trailing slash.
9
9
  */
10
- static #baseUrl;
10
+ static #baseUrl = 'https://gcloud-backend-926119935605.us-west1.run.app/';
11
11
  /**
12
12
  * Sets the URL of the Google Cloud API.
13
13
  *
@@ -16,6 +16,14 @@ export default class GCloudAPIService {
16
16
  static setUrl(url) {
17
17
  this.#baseUrl = url;
18
18
  }
19
+ /**
20
+ * Calls the project dashboard endpoint to get, insert, update, or delete dashboard data.
21
+ *
22
+ * @param input - The input for the project dashboard function.
23
+ */
24
+ static async authValidateUser(input) {
25
+ return this.call('auth/validateUser', input);
26
+ }
19
27
  /**
20
28
  * Calls the project dashboard endpoint to get, insert, update, or delete dashboard data.
21
29
  *
@@ -32,9 +40,6 @@ export default class GCloudAPIService {
32
40
  * @throws {Error} Will throw an error if the URL is not set.
33
41
  */
34
42
  static async call(urlPath, input) {
35
- if (!this.#baseUrl) {
36
- throw new Error('GCloudAPI URL is not set');
37
- }
38
43
  const response = await fetch(this.#baseUrl + urlPath, {
39
44
  method: 'POST',
40
45
  headers: {
@@ -1 +1 @@
1
- {"version":3,"file":"GCloudAPIService.js","sourceRoot":"","sources":["../../../src/services/GCloudAPIService/GCloudAPIService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAO5B;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACnC;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAU;IAEzB;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,GAAW;QACvB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;IACtB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAC3B,KAA4B;QAE5B,OAAO,IAAI,CAAC,IAAI,CAAgD,mBAAmB,EAAE,KAAK,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;OAMG;IACK,MAAM,CAAC,KAAK,CAAC,IAAI,CACvB,OAAe,EACf,KAAa;QAEb,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,IAAI,CAAC,QAAQ,GAAG,OAAO,EAAE;YACpD,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,UAAU,EAAE,YAAY;gBACxB,cAAc,EAAE,0BAA0B;gBAC1C,MAAM,EAAE,0BAA0B;aACnC;YACD,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SACzC,CAAC,CAAC;QACH,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,cAAc,CAAU,QA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C;YAClD,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;gBACzC,IAAI,EAAE,EAAa;aACpB,CAAC;QACJ,CAAC;IACH,CAAC"}
@@ -1,6 +1,10 @@
1
1
  import { BSON } from 'bson';
2
- import { APIResponse } from '../../types/APIResponse.js';
3
- import {
2
+ import type { APIResponse } from '../../types/APIResponse.js';
3
+ import type {
4
+ AuthValidateUserInput,
5
+ AuthValidateUserOutput
6
+ } from '../DOFunctionService/functions/authValidateUser.js';
7
+ import type {
4
8
  ProjectDashboardInput,
5
9
  ProjectDashboardOutput
6
10
  } from '../DOFunctionService/functions/projectDashboard.js';
@@ -13,7 +17,7 @@ export default class GCloudAPIService {
13
17
  * The base URL of the Google Cloud API. For example, `something.com/api/`. It will include
14
18
  * the trailing slash.
15
19
  */
16
- static #baseUrl?: string;
20
+ static #baseUrl: string = 'https://gcloud-backend-926119935605.us-west1.run.app/';
17
21
 
18
22
  /**
19
23
  * Sets the URL of the Google Cloud API.
@@ -24,6 +28,17 @@ export default class GCloudAPIService {
24
28
  this.#baseUrl = url;
25
29
  }
26
30
 
31
+ /**
32
+ * Calls the project dashboard endpoint to get, insert, update, or delete dashboard data.
33
+ *
34
+ * @param input - The input for the project dashboard function.
35
+ */
36
+ static async authValidateUser(
37
+ input: AuthValidateUserInput
38
+ ): Promise<APIResponse<AuthValidateUserOutput>> {
39
+ return this.call<AuthValidateUserInput, AuthValidateUserOutput>('auth/validateUser', input);
40
+ }
41
+
27
42
  /**
28
43
  * Calls the project dashboard endpoint to get, insert, update, or delete dashboard data.
29
44
  *
@@ -46,10 +61,6 @@ export default class GCloudAPIService {
46
61
  urlPath: string,
47
62
  input: TInput
48
63
  ): Promise<APIResponse<TOutput>> {
49
- if (!this.#baseUrl) {
50
- throw new Error('GCloudAPI URL is not set');
51
- }
52
-
53
64
  const response = await fetch(this.#baseUrl + urlPath, {
54
65
  method: 'POST',
55
66
  headers: {
@@ -1,4 +1,5 @@
1
- import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../services/DOFunctionService/DOFunction.js';
1
+ import type { DOFunctionInput, DOFunctionOutput } from '../services/DOFunctionService/DOFunction.js';
2
+ import DOFunction from '../services/DOFunctionService/DOFunction.js';
2
3
  export declare const EXAMPLE_FUNCTION_URL = "https://example.com/function";
3
4
  export declare class ExampleFunction extends DOFunction<ExampleInput, ExampleOutput> {
4
5
  private static instance;
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleFunction.d.ts","sourceRoot":"","sources":["../../src/tests/ExampleFunction.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EACjB,eAAe,EACf,gBAAgB,EACjB,MAAM,6CAA6C,CAAC;AAErD,eAAO,MAAM,oBAAoB,iCAAiC,CAAC;AAEnE,qBAAa,eAAgB,SAAQ,UAAU,CAAC,YAAY,EAAE,aAAa,CAAC;IAC1E,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA8B;IAErD,OAAO;IAKP,MAAM,CAAC,WAAW,IAAI,eAAe;CAMtC;AAED,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD,QAAQ,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"ExampleFunction.d.ts","sourceRoot":"","sources":["../../src/tests/ExampleFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,6CAA6C,CAAC;AACrD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AAErE,eAAO,MAAM,oBAAoB,iCAAiC,CAAC;AAEnE,qBAAa,eAAgB,SAAQ,UAAU,CAAC,YAAY,EAAE,aAAa,CAAC;IAC1E,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA8B;IAErD,OAAO;IAKP,MAAM,CAAC,WAAW,IAAI,eAAe;CAMtC;AAED,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleFunction.js","sourceRoot":"","sources":["../../src/tests/ExampleFunction.ts"],"names":[],"mappings":"AAAA,OAAO,UAGN,MAAM,6CAA6C,CAAC;AAErD,MAAM,CAAC,MAAM,oBAAoB,GAAG,8BAA8B,CAAC;AAEnE,MAAM,OAAO,eAAgB,SAAQ,UAAuC;IAClE,MAAM,CAAC,QAAQ,CAA8B;IAErD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,GAAG,GAAG,oBAAoB,CAAC;IAClC,CAAC;IAED,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC;YAC9B,eAAe,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE,CAAC;QACnD,CAAC;QACD,OAAO,eAAe,CAAC,QAAQ,CAAC;IAClC,CAAC;CACF"}
1
+ {"version":3,"file":"ExampleFunction.js","sourceRoot":"","sources":["../../src/tests/ExampleFunction.ts"],"names":[],"mappings":"AAIA,OAAO,UAAU,MAAM,6CAA6C,CAAC;AAErE,MAAM,CAAC,MAAM,oBAAoB,GAAG,8BAA8B,CAAC;AAEnE,MAAM,OAAO,eAAgB,SAAQ,UAAuC;IAClE,MAAM,CAAC,QAAQ,CAA8B;IAErD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,GAAG,GAAG,oBAAoB,CAAC;IAClC,CAAC;IAED,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC;YAC9B,eAAe,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE,CAAC;QACnD,CAAC;QACD,OAAO,eAAe,CAAC,QAAQ,CAAC;IAClC,CAAC;CACF"}
@@ -1,7 +1,8 @@
1
- import DOFunction, {
1
+ import type {
2
2
  DOFunctionInput,
3
3
  DOFunctionOutput
4
4
  } from '../services/DOFunctionService/DOFunction.js';
5
+ import DOFunction from '../services/DOFunctionService/DOFunction.js';
5
6
 
6
7
  export const EXAMPLE_FUNCTION_URL = 'https://example.com/function';
7
8
 
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": "2.2.6",
5
+ "version": "2.2.8",
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",
@@ -70,18 +70,18 @@
70
70
  "dependencies": {
71
71
  "@aneuhold/core-ts-db-lib": "*",
72
72
  "@aneuhold/core-ts-lib": "*",
73
- "bson": "^6.10.4"
73
+ "bson": "^7.0.0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@aneuhold/local-npm-registry": "*",
77
- "@aneuhold/main-scripts": "^2.6.1",
78
- "@types/node": "^24.9.1",
79
- "eslint": "^9.38.0",
77
+ "@aneuhold/main-scripts": "^2.7.2",
78
+ "@types/node": "^24.10.0",
79
+ "eslint": "^9.39.1",
80
80
  "jsr": "^0.13.5",
81
81
  "prettier": "^3.6.2",
82
- "rimraf": "^6.0.1",
82
+ "rimraf": "^6.1.0",
83
83
  "tsx": "^4.20.6",
84
84
  "typescript": "^5.9.3",
85
- "vitest": "^4.0.3"
85
+ "vitest": "^4.0.8"
86
86
  }
87
87
  }