@ms-cloudpack/api-server 0.51.7 → 0.51.9

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.
@@ -1,12 +1,8 @@
1
- import type { CloudpackConfig } from '@ms-cloudpack/common-types';
1
+ import type { CloudpackConfig, RemoteCacheConfig } from '@ms-cloudpack/common-types';
2
2
  /**
3
3
  * Ensures that the remote cache is enabled in the config.
4
4
  * @param config - The cloudpack config.
5
5
  * @returns - The remote cache configuration.
6
6
  */
7
- export declare function ensureRemoteCacheEnabled({ remoteCache }: CloudpackConfig): {
8
- storageAccount: string;
9
- container: string;
10
- tenantId?: string;
11
- };
7
+ export declare function ensureRemoteCacheEnabled({ remoteCache }: CloudpackConfig): RemoteCacheConfig;
12
8
  //# sourceMappingURL=ensureRemoteCacheEnabled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ensureRemoteCacheEnabled.d.ts","sourceRoot":"","sources":["../../src/utilities/ensureRemoteCacheEnabled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,WAAW,EAAE,EAAE,eAAe;;;;EAMxE"}
1
+ {"version":3,"file":"ensureRemoteCacheEnabled.d.ts","sourceRoot":"","sources":["../../src/utilities/ensureRemoteCacheEnabled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAErF;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,WAAW,EAAE,EAAE,eAAe,GAAG,iBAAiB,CAM5F"}
@@ -1 +1 @@
1
- {"version":3,"file":"ensureRemoteCacheEnabled.js","sourceRoot":"","sources":["../../src/utilities/ensureRemoteCacheEnabled.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,UAAU,wBAAwB,CAAC,EAAE,WAAW,EAAmB;IACvE,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,4FAA4F,CAAC,CAAC;IAChH,CAAC;IAED,OAAO,WAAW,CAAC;AACrB,CAAC","sourcesContent":["import type { CloudpackConfig } from '@ms-cloudpack/common-types';\n\n/**\n * Ensures that the remote cache is enabled in the config.\n * @param config - The cloudpack config.\n * @returns - The remote cache configuration.\n */\nexport function ensureRemoteCacheEnabled({ remoteCache }: CloudpackConfig) {\n if (!remoteCache) {\n throw new Error('Remote cache is not configured. Please add remoteCache to your cloudpack.config.json file.');\n }\n\n return remoteCache;\n}\n"]}
1
+ {"version":3,"file":"ensureRemoteCacheEnabled.js","sourceRoot":"","sources":["../../src/utilities/ensureRemoteCacheEnabled.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,UAAU,wBAAwB,CAAC,EAAE,WAAW,EAAmB;IACvE,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,4FAA4F,CAAC,CAAC;IAChH,CAAC;IAED,OAAO,WAAW,CAAC;AACrB,CAAC","sourcesContent":["import type { CloudpackConfig, RemoteCacheConfig } from '@ms-cloudpack/common-types';\n\n/**\n * Ensures that the remote cache is enabled in the config.\n * @param config - The cloudpack config.\n * @returns - The remote cache configuration.\n */\nexport function ensureRemoteCacheEnabled({ remoteCache }: CloudpackConfig): RemoteCacheConfig {\n if (!remoteCache) {\n throw new Error('Remote cache is not configured. Please add remoteCache to your cloudpack.config.json file.');\n }\n\n return remoteCache;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/api-server",
3
- "version": "0.51.7",
3
+ "version": "0.51.9",
4
4
  "description": "An implementation of the API server that does interacts with a task scheduler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,19 +27,19 @@
27
27
  "@lage-run/logger": "^1.3.0",
28
28
  "@lage-run/scheduler": "^1.2.1",
29
29
  "@lage-run/target-graph": "^0.8.9",
30
- "@ms-cloudpack/bundler": "^0.22.29",
31
- "@ms-cloudpack/common-types": "^0.19.4",
32
- "@ms-cloudpack/config": "^0.28.5",
33
- "@ms-cloudpack/create-express-app": "^1.8.7",
30
+ "@ms-cloudpack/bundler": "^0.22.31",
31
+ "@ms-cloudpack/common-types": "^0.19.6",
32
+ "@ms-cloudpack/config": "^0.28.7",
33
+ "@ms-cloudpack/create-express-app": "^1.8.9",
34
34
  "@ms-cloudpack/data-bus": "^0.4.2",
35
35
  "@ms-cloudpack/file-watcher": "^0.1.2",
36
- "@ms-cloudpack/import-map": "^0.6.11",
36
+ "@ms-cloudpack/import-map": "^0.6.13",
37
37
  "@ms-cloudpack/json-utilities": "^0.1.7",
38
- "@ms-cloudpack/package-hashes": "^0.6.30",
39
- "@ms-cloudpack/package-utilities": "^10.0.4",
38
+ "@ms-cloudpack/package-hashes": "^0.6.32",
39
+ "@ms-cloudpack/package-utilities": "^10.0.6",
40
40
  "@ms-cloudpack/path-string-parsing": "^1.2.4",
41
- "@ms-cloudpack/path-utilities": "^2.7.41",
42
- "@ms-cloudpack/remote-cache": "^0.8.7",
41
+ "@ms-cloudpack/path-utilities": "^2.7.43",
42
+ "@ms-cloudpack/remote-cache": "^0.8.8",
43
43
  "@ms-cloudpack/task-reporter": "^0.14.4",
44
44
  "@ms-cloudpack/telemetry": "^0.6.2",
45
45
  "@trpc/client": "^10.45.0",