@ms-cloudpack/api-server 0.64.0 → 0.64.2

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 (120) hide show
  1. package/lib/apis/getData.d.ts +6 -8
  2. package/lib/apis/getData.d.ts.map +1 -1
  3. package/lib/apis/getData.js +2 -1
  4. package/lib/apis/getData.js.map +1 -1
  5. package/lib/apis/getLinkConfig.d.ts +1 -3
  6. package/lib/apis/getLinkConfig.d.ts.map +1 -1
  7. package/lib/apis/getLinkConfig.js +1 -1
  8. package/lib/apis/getLinkConfig.js.map +1 -1
  9. package/lib/apis/linkPath.d.ts +2 -33
  10. package/lib/apis/linkPath.js +1 -1
  11. package/lib/apis/linkPath.js.map +1 -1
  12. package/lib/apis/notifyLinkChange.d.ts +2 -15
  13. package/lib/apis/notifyLinkChange.d.ts.map +1 -1
  14. package/lib/apis/notifyLinkChange.js +2 -2
  15. package/lib/apis/notifyLinkChange.js.map +1 -1
  16. package/lib/apis/onDataChanged.d.ts +3 -10
  17. package/lib/apis/onDataChanged.d.ts.map +1 -1
  18. package/lib/apis/onDataChanged.js +2 -4
  19. package/lib/apis/onDataChanged.js.map +1 -1
  20. package/lib/apis/openCodeEditor.d.ts +9 -15
  21. package/lib/apis/openCodeEditor.d.ts.map +1 -1
  22. package/lib/apis/openCodeEditor.js +5 -1
  23. package/lib/apis/openCodeEditor.js.map +1 -1
  24. package/lib/apis/openConfigEditor.d.ts +3 -0
  25. package/lib/apis/openConfigEditor.d.ts.map +1 -1
  26. package/lib/apis/openConfigEditor.js +3 -0
  27. package/lib/apis/openConfigEditor.js.map +1 -1
  28. package/lib/apis/openFilePath.d.ts +10 -11
  29. package/lib/apis/openFilePath.d.ts.map +1 -1
  30. package/lib/apis/openFilePath.js +5 -1
  31. package/lib/apis/openFilePath.js.map +1 -1
  32. package/lib/apis/publishData.d.ts +6 -10
  33. package/lib/apis/publishData.d.ts.map +1 -1
  34. package/lib/apis/publishData.js +2 -1
  35. package/lib/apis/publishData.js.map +1 -1
  36. package/lib/apis/reportSpan.d.ts +7 -15
  37. package/lib/apis/reportSpan.d.ts.map +1 -1
  38. package/lib/apis/reportSpan.js +2 -1
  39. package/lib/apis/reportSpan.js.map +1 -1
  40. package/lib/apis/unlinkPath.d.ts +2 -33
  41. package/lib/apis/unlinkPath.js +1 -1
  42. package/lib/apis/unlinkPath.js.map +1 -1
  43. package/lib/common/prepareOutputPath.js +1 -1
  44. package/lib/common/prepareOutputPath.js.map +1 -1
  45. package/lib/data/busSources.d.ts +6 -21
  46. package/lib/data/busSources.d.ts.map +1 -1
  47. package/lib/data/busSources.js +2 -2
  48. package/lib/data/busSources.js.map +1 -1
  49. package/lib/index.browser.d.ts +2 -2
  50. package/lib/index.browser.d.ts.map +1 -1
  51. package/lib/index.browser.js.map +1 -1
  52. package/lib/trpc/common.d.ts +33 -2
  53. package/lib/trpc/common.d.ts.map +1 -1
  54. package/lib/trpc/common.js +25 -6
  55. package/lib/trpc/common.js.map +1 -1
  56. package/lib/trpc/createCloudpackClient.d.ts +2 -0
  57. package/lib/trpc/createCloudpackClient.d.ts.map +1 -1
  58. package/lib/trpc/createCloudpackClient.js +27 -8
  59. package/lib/trpc/createCloudpackClient.js.map +1 -1
  60. package/lib/trpc/createCloudpackServer.d.ts +3 -2
  61. package/lib/trpc/createCloudpackServer.d.ts.map +1 -1
  62. package/lib/trpc/createCloudpackServer.js +14 -0
  63. package/lib/trpc/createCloudpackServer.js.map +1 -1
  64. package/lib/trpc/getTestPort.d.ts +2 -0
  65. package/lib/trpc/getTestPort.d.ts.map +1 -0
  66. package/lib/trpc/getTestPort.js +15 -0
  67. package/lib/trpc/getTestPort.js.map +1 -0
  68. package/lib/types/GetLinkConfigOutput.d.ts +5 -0
  69. package/lib/types/GetLinkConfigOutput.d.ts.map +1 -0
  70. package/lib/types/{ZodGetLinkConfigOutput.js → GetLinkConfigOutput.js} +7 -4
  71. package/lib/types/GetLinkConfigOutput.js.map +1 -0
  72. package/lib/types/LinkPath.d.ts +10 -18
  73. package/lib/types/LinkPath.d.ts.map +1 -1
  74. package/lib/types/LinkPath.js +14 -24
  75. package/lib/types/LinkPath.js.map +1 -1
  76. package/lib/types/NotifyLinkChangeInput.d.ts +9 -0
  77. package/lib/types/NotifyLinkChangeInput.d.ts.map +1 -0
  78. package/lib/types/NotifyLinkChangeInput.js +16 -0
  79. package/lib/types/NotifyLinkChangeInput.js.map +1 -0
  80. package/lib/types/TaskDescription.d.ts +1 -1
  81. package/lib/types/TaskDescription.d.ts.map +1 -1
  82. package/lib/types/TaskList.d.ts +1 -1
  83. package/lib/types/TaskList.d.ts.map +1 -1
  84. package/lib/types/TaskMessage.d.ts +2 -2
  85. package/lib/types/TaskMessage.d.ts.map +1 -1
  86. package/lib/types/TaskMessageLocation.d.ts +1 -1
  87. package/lib/types/TaskMessageLocation.d.ts.map +1 -1
  88. package/lib/types/TaskStats.d.ts +1 -1
  89. package/lib/types/TaskStats.d.ts.map +1 -1
  90. package/lib/types/Timing.d.ts +1 -1
  91. package/lib/types/Timing.d.ts.map +1 -1
  92. package/lib/utilities/TaskRunner.d.ts.map +1 -1
  93. package/lib/utilities/TaskRunner.js +1 -0
  94. package/lib/utilities/TaskRunner.js.map +1 -1
  95. package/lib/utilities/matchingZodObject.d.ts +5 -3
  96. package/lib/utilities/matchingZodObject.d.ts.map +1 -1
  97. package/lib/utilities/matchingZodObject.js +8 -3
  98. package/lib/utilities/matchingZodObject.js.map +1 -1
  99. package/lib/utilities/notifyHost.d.ts +3 -4
  100. package/lib/utilities/notifyHost.d.ts.map +1 -1
  101. package/lib/utilities/notifyHost.js.map +1 -1
  102. package/lib/utilities/notifyReload.d.ts +4 -3
  103. package/lib/utilities/notifyReload.d.ts.map +1 -1
  104. package/lib/utilities/notifyReload.js.map +1 -1
  105. package/package.json +17 -15
  106. package/lib/trpc/connectBusToClient.d.ts +0 -8
  107. package/lib/trpc/connectBusToClient.d.ts.map +0 -1
  108. package/lib/trpc/connectBusToClient.js +0 -26
  109. package/lib/trpc/connectBusToClient.js.map +0 -1
  110. package/lib/types/ZodGetLinkConfigOutput.d.ts +0 -4
  111. package/lib/types/ZodGetLinkConfigOutput.d.ts.map +0 -1
  112. package/lib/types/ZodGetLinkConfigOutput.js.map +0 -1
  113. package/lib/types/ZodNotifyLinkChangeInput.d.ts +0 -13
  114. package/lib/types/ZodNotifyLinkChangeInput.d.ts.map +0 -1
  115. package/lib/types/ZodNotifyLinkChangeInput.js +0 -12
  116. package/lib/types/ZodNotifyLinkChangeInput.js.map +0 -1
  117. package/lib/types/ZodResolveMap.d.ts +0 -4
  118. package/lib/types/ZodResolveMap.d.ts.map +0 -1
  119. package/lib/types/ZodResolveMap.js +0 -14
  120. package/lib/types/ZodResolveMap.js.map +0 -1
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/api-server",
3
- "version": "0.64.0",
3
+ "version": "0.64.2",
4
4
  "description": "An implementation of the API server that does interacts with a task scheduler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "types": "./lib/index.d.ts",
8
- "sideEffects": false,
8
+ "sideEffects": [
9
+ "./lib/utilities/matchingZodObject.js"
10
+ ],
9
11
  "exports": {
10
12
  ".": {
11
13
  "node": {
@@ -23,23 +25,23 @@
23
25
  }
24
26
  },
25
27
  "dependencies": {
26
- "@ms-cloudpack/bundler": "^0.25.14",
27
- "@ms-cloudpack/common-types": "^0.25.0",
28
- "@ms-cloudpack/config": "^0.35.11",
29
- "@ms-cloudpack/create-express-app": "^1.10.36",
28
+ "@ms-cloudpack/bundler": "^0.25.16",
29
+ "@ms-cloudpack/common-types": "^0.25.2",
30
+ "@ms-cloudpack/config": "^0.35.13",
31
+ "@ms-cloudpack/create-express-app": "^1.10.38",
30
32
  "@ms-cloudpack/data-bus": "^0.5.0",
31
33
  "@ms-cloudpack/environment": "^0.1.1",
32
- "@ms-cloudpack/esm-stub-utilities": "^0.15.0",
33
- "@ms-cloudpack/file-watcher": "^0.3.7",
34
- "@ms-cloudpack/import-map": "^0.10.29",
34
+ "@ms-cloudpack/esm-stub-utilities": "^0.15.2",
35
+ "@ms-cloudpack/file-watcher": "^0.3.9",
36
+ "@ms-cloudpack/import-map": "^0.10.31",
35
37
  "@ms-cloudpack/json-utilities": "^0.1.10",
36
- "@ms-cloudpack/package-hashes": "^0.8.12",
37
- "@ms-cloudpack/package-utilities": "^12.3.13",
38
+ "@ms-cloudpack/package-hashes": "^0.8.14",
39
+ "@ms-cloudpack/package-utilities": "^12.3.15",
38
40
  "@ms-cloudpack/path-string-parsing": "^1.2.7",
39
- "@ms-cloudpack/path-utilities": "^3.1.7",
40
- "@ms-cloudpack/remote-cache": "^0.11.23",
41
- "@ms-cloudpack/task-reporter": "^0.17.1",
42
- "@ms-cloudpack/telemetry": "^0.11.25",
41
+ "@ms-cloudpack/path-utilities": "^3.1.9",
42
+ "@ms-cloudpack/remote-cache": "^0.11.25",
43
+ "@ms-cloudpack/task-reporter": "^0.17.2",
44
+ "@ms-cloudpack/telemetry": "^0.11.27",
43
45
  "@trpc/client": "^11.1.1",
44
46
  "@trpc/server": "^11.1.1",
45
47
  "cors": "^2.8.5",
@@ -1,8 +0,0 @@
1
- import type { DataBus } from '@ms-cloudpack/data-bus';
2
- import type { TRPCClient } from '@trpc/client';
3
- import type { AppRouter } from '../types/AppRouter.js';
4
- export declare function connectBusToClient(params: {
5
- bus: DataBus;
6
- client: TRPCClient<AppRouter>;
7
- }): void;
8
- //# sourceMappingURL=connectBusToClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connectBusToClient.d.ts","sourceRoot":"","sources":["../../src/trpc/connectBusToClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;CAAE,GAAG,IAAI,CA4BhG"}
@@ -1,26 +0,0 @@
1
- export function connectBusToClient(params) {
2
- const { bus, client } = params;
3
- const subIds = {};
4
- bus.addProvider({
5
- path: [],
6
- onActivate: ({ path }) => {
7
- const id = path.join('/');
8
- const onData = (value) => {
9
- bus.publish(path, value);
10
- };
11
- client.getData
12
- .query({ path })
13
- .then(onData)
14
- .catch(() => {
15
- /* no-op */
16
- });
17
- subIds[id] = client.onDataChanged.subscribe({ path }, { onData });
18
- },
19
- onDeactivate: ({ path }) => {
20
- const id = path.join('/');
21
- subIds[id].unsubscribe();
22
- delete subIds[id];
23
- },
24
- });
25
- }
26
- //# sourceMappingURL=connectBusToClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connectBusToClient.js","sourceRoot":"","sources":["../../src/trpc/connectBusToClient.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,kBAAkB,CAAC,MAAuD;IACxF,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC/B,MAAM,MAAM,GAAmC,EAAE,CAAC;IAElD,GAAG,CAAC,WAAW,CAAC;QACd,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;YACvB,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAE1B,MAAM,MAAM,GAAG,CAAC,KAAc,EAAE,EAAE;gBAChC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,CAAC,CAAC;YAEF,MAAM,CAAC,OAAO;iBACX,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;iBACf,IAAI,CAAC,MAAM,CAAC;iBACZ,KAAK,CAAC,GAAG,EAAE;gBACV,WAAW;YACb,CAAC,CAAC,CAAC;YAEL,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QACpE,CAAC;QACD,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;YACzB,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC1B,MAAM,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC;QACpB,CAAC;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import type { DataBus } from '@ms-cloudpack/data-bus';\nimport type { TRPCClient } from '@trpc/client';\nimport type { Unsubscribable } from '@trpc/server/observable';\nimport type { AppRouter } from '../types/AppRouter.js';\n\nexport function connectBusToClient(params: { bus: DataBus; client: TRPCClient<AppRouter> }): void {\n const { bus, client } = params;\n const subIds: Record<string, Unsubscribable> = {};\n\n bus.addProvider({\n path: [],\n onActivate: ({ path }) => {\n const id = path.join('/');\n\n const onData = (value: unknown) => {\n bus.publish(path, value);\n };\n\n client.getData\n .query({ path })\n .then(onData)\n .catch(() => {\n /* no-op */\n });\n\n subIds[id] = client.onDataChanged.subscribe({ path }, { onData });\n },\n onDeactivate: ({ path }) => {\n const id = path.join('/');\n subIds[id].unsubscribe();\n delete subIds[id];\n },\n });\n}\n"]}
@@ -1,4 +0,0 @@
1
- import { z } from 'zod/v4-mini';
2
- import type { CloudpackLinkConfig } from '@ms-cloudpack/common-types';
3
- export declare const ZodGetLinkConfigOutput: z.ZodMiniType<CloudpackLinkConfig, CloudpackLinkConfig>;
4
- //# sourceMappingURL=ZodGetLinkConfigOutput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZodGetLinkConfigOutput.d.ts","sourceRoot":"","sources":["../../src/types/ZodGetLinkConfigOutput.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAQtE,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,WAAW,CAAC,mBAAmB,EAAE,mBAAmB,CAMvF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZodGetLinkConfigOutput.js","sourceRoot":"","sources":["../../src/types/ZodGetLinkConfigOutput.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,6FAA6F;AAC7F,oDAAoD;AACpD,EAAE;AACF,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAEhC,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,gEAAgE;AAChE,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACtG,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,6BAA6B,CAAC,CAAC,CAAC;AACrF,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC,CAAC,CAAC,CAAC;AAE1G,MAAM,CAAC,MAAM,sBAAsB,GACjC,sBAAsB,CAAsB;IAC1C,eAAe,EAAE,CAAC,CAAC,QAAQ,CACzB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CACxG;IACD,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC,CAAC,EAAE,CAAC;CACnH,CAAC,CAAC","sourcesContent":["//\n// This must be in a separate file because it's imported by busSources.ts, which is also used\n// in the browser, so it must only import zod types.\n//\nimport { z } from 'zod/v4-mini';\nimport type { CloudpackLinkConfig } from '@ms-cloudpack/common-types';\nimport { matchingZodObjectLoose } from '../utilities/matchingZodObject.js';\n\n// Minimum acceptable match object for a low maintenance burden.\nconst ZodPackageSettingsMatchObject = z.object({ name: z.string(), version: z.optional(z.string()) });\nconst ZodPackageSettingsMatch = z.union([z.string(), ZodPackageSettingsMatchObject]);\nconst ZodGeneratedPackageSettingsMatch = z.union([z.string(), z.required(ZodPackageSettingsMatchObject)]);\n\nexport const ZodGetLinkConfigOutput: z.ZodMiniType<CloudpackLinkConfig, CloudpackLinkConfig> =\n matchingZodObjectLoose<CloudpackLinkConfig>({\n packageSettings: z.optional(\n z.array(z.looseObject({ match: z.union([ZodPackageSettingsMatch, z.array(ZodPackageSettingsMatch)]) })),\n ),\n generated: z.looseObject({ packageSettings: z.array(z.looseObject({ match: ZodGeneratedPackageSettingsMatch })) }),\n });\n"]}
@@ -1,13 +0,0 @@
1
- import { z } from 'zod/v4-mini';
2
- export declare const ZodNotifyLinkChangeInput: z.ZodMiniObject<{
3
- packagePath: z.ZodMiniString<string>;
4
- hash: z.ZodMiniOptional<z.ZodMiniString<string>>;
5
- definition: z.ZodMiniOptional<z.ZodMiniObject<{
6
- name: z.ZodMiniString<string>;
7
- version: z.ZodMiniString<string>;
8
- exports: z.ZodMiniOptional<z.ZodMiniAny>;
9
- dependencies: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniUndefined, z.ZodMiniString<string>]>>>>;
10
- peerDependencies: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniUndefined, z.ZodMiniString<string>]>>>>;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
13
- //# sourceMappingURL=ZodNotifyLinkChangeInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZodNotifyLinkChangeInput.d.ts","sourceRoot":"","sources":["../../src/types/ZodNotifyLinkChangeInput.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAGhC,eAAO,MAAM,wBAAwB;;;;;;;;;;iBAInC,CAAC"}
@@ -1,12 +0,0 @@
1
- //
2
- // This must be in a separate file because it's imported by busSources.ts, which is also used
3
- // in the browser, so it must only import zod types.
4
- //
5
- import { z } from 'zod/v4-mini';
6
- import { ZodLinkPackageDefinition } from '../types/LinkPath.js';
7
- export const ZodNotifyLinkChangeInput = z.object({
8
- packagePath: z.string(),
9
- hash: z.optional(z.string()),
10
- definition: z.optional(ZodLinkPackageDefinition),
11
- });
12
- //# sourceMappingURL=ZodNotifyLinkChangeInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZodNotifyLinkChangeInput.js","sourceRoot":"","sources":["../../src/types/ZodNotifyLinkChangeInput.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,6FAA6F;AAC7F,oDAAoD;AACpD,EAAE;AACF,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAChC,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CACjD,CAAC,CAAC","sourcesContent":["//\n// This must be in a separate file because it's imported by busSources.ts, which is also used\n// in the browser, so it must only import zod types.\n//\nimport { z } from 'zod/v4-mini';\nimport { ZodLinkPackageDefinition } from '../types/LinkPath.js';\n\nexport const ZodNotifyLinkChangeInput = z.object({\n packagePath: z.string(),\n hash: z.optional(z.string()),\n definition: z.optional(ZodLinkPackageDefinition),\n});\n"]}
@@ -1,4 +0,0 @@
1
- import { z } from 'zod/v4-mini';
2
- import type { ResolveMap } from '@ms-cloudpack/common-types';
3
- export declare const ZodResolveMap: z.ZodMiniType<ResolveMap, ResolveMap>;
4
- //# sourceMappingURL=ZodResolveMap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZodResolveMap.d.ts","sourceRoot":"","sources":["../../src/types/ZodResolveMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAmB,MAAM,4BAA4B,CAAC;AAqB9E,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,CAA4C,CAAC"}
@@ -1,14 +0,0 @@
1
- import { z } from 'zod/v4-mini';
2
- import { matchingZodObject } from '../utilities/matchingZodObject.js';
3
- const ZodResolveMapEntry = z.lazy(() => matchingZodObject({
4
- name: z.string(),
5
- version: z.string(),
6
- path: z.string(),
7
- dependencies: z.record(z.string(), z.string()),
8
- requiredBy: z.record(z.string(), z.string()),
9
- isExternal: z.optional(z.boolean()),
10
- isLinked: z.optional(z.boolean()),
11
- scopedVersions: z.optional(z.record(z.string(), z.lazy(() => ZodResolveMapEntry))),
12
- }));
13
- export const ZodResolveMap = z.record(z.string(), ZodResolveMapEntry);
14
- //# sourceMappingURL=ZodResolveMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZodResolveMap.js","sourceRoot":"","sources":["../../src/types/ZodResolveMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,MAAM,kBAAkB,GAAoD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACtF,iBAAiB,CAAkB;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,QAAQ,CACxB,CAAC,CAAC,MAAM,CACN,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,CACjC,CACF;CACF,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA0C,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,kBAAkB,CAAC,CAAC","sourcesContent":["import { z } from 'zod/v4-mini';\nimport type { ResolveMap, ResolveMapEntry } from '@ms-cloudpack/common-types';\nimport { matchingZodObject } from '../utilities/matchingZodObject.js';\n\nconst ZodResolveMapEntry: z.ZodMiniType<ResolveMapEntry, ResolveMapEntry> = z.lazy(() =>\n matchingZodObject<ResolveMapEntry>({\n name: z.string(),\n version: z.string(),\n path: z.string(),\n dependencies: z.record(z.string(), z.string()),\n requiredBy: z.record(z.string(), z.string()),\n isExternal: z.optional(z.boolean()),\n isLinked: z.optional(z.boolean()),\n scopedVersions: z.optional(\n z.record(\n z.string(),\n z.lazy(() => ZodResolveMapEntry),\n ),\n ),\n }),\n);\n\nexport const ZodResolveMap: z.ZodMiniType<ResolveMap, ResolveMap> = z.record(z.string(), ZodResolveMapEntry);\n"]}