@ms-cloudpack/api-server 0.60.0 → 0.60.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 (64) hide show
  1. package/lib/apis/addPackageOverride.d.ts +3 -38
  2. package/lib/apis/addPackageOverride.d.ts.map +1 -1
  3. package/lib/apis/addPackageOverride.js +2 -13
  4. package/lib/apis/addPackageOverride.js.map +1 -1
  5. package/lib/apis/openConfigEditor.d.ts.map +1 -1
  6. package/lib/apis/openConfigEditor.js +5 -2
  7. package/lib/apis/openConfigEditor.js.map +1 -1
  8. package/lib/apis/validatePackageOverride.d.ts +6 -31
  9. package/lib/apis/validatePackageOverride.d.ts.map +1 -1
  10. package/lib/apis/validatePackageOverride.js +3 -2
  11. package/lib/apis/validatePackageOverride.js.map +1 -1
  12. package/lib/data/busSources.d.ts +18 -292
  13. package/lib/data/busSources.d.ts.map +1 -1
  14. package/lib/index.d.ts +2 -2
  15. package/lib/index.d.ts.map +1 -1
  16. package/lib/index.js +1 -1
  17. package/lib/index.js.map +1 -1
  18. package/lib/types/TaskDescription.d.ts +14 -224
  19. package/lib/types/TaskDescription.d.ts.map +1 -1
  20. package/lib/types/TaskDescription.js +2 -2
  21. package/lib/types/TaskDescription.js.map +1 -1
  22. package/lib/types/TaskEndDescription.d.ts +14 -224
  23. package/lib/types/TaskEndDescription.d.ts.map +1 -1
  24. package/lib/types/TaskList.d.ts +18 -292
  25. package/lib/types/TaskList.d.ts.map +1 -1
  26. package/lib/types/TaskMessage.d.ts +11 -108
  27. package/lib/types/TaskMessage.d.ts.map +1 -1
  28. package/lib/types/TaskMessage.js +3 -2
  29. package/lib/types/TaskMessage.js.map +1 -1
  30. package/lib/types/TaskMessageLocation.d.ts +6 -13
  31. package/lib/types/TaskMessageLocation.d.ts.map +1 -1
  32. package/lib/types/TaskMessageLocation.js +2 -1
  33. package/lib/types/TaskMessageLocation.js.map +1 -1
  34. package/lib/utilities/TaskRunner.d.ts.map +1 -1
  35. package/lib/utilities/TaskRunner.js +7 -1
  36. package/lib/utilities/TaskRunner.js.map +1 -1
  37. package/lib/utilities/matchingZodObject.d.ts +4 -0
  38. package/lib/utilities/matchingZodObject.d.ts.map +1 -1
  39. package/lib/utilities/matchingZodObject.js +4 -0
  40. package/lib/utilities/matchingZodObject.js.map +1 -1
  41. package/lib/utilities/writeStubForDensityEntries.d.ts.map +1 -1
  42. package/lib/utilities/writeStubForDensityEntries.js +2 -1
  43. package/lib/utilities/writeStubForDensityEntries.js.map +1 -1
  44. package/package.json +1 -1
  45. package/lib/types/TaskResponse.d.ts +0 -337
  46. package/lib/types/TaskResponse.d.ts.map +0 -1
  47. package/lib/types/TaskResponse.js +0 -8
  48. package/lib/types/TaskResponse.js.map +0 -1
  49. package/lib/types/TaskResult.d.ts +0 -233
  50. package/lib/types/TaskResult.d.ts.map +0 -1
  51. package/lib/types/TaskResult.js +0 -7
  52. package/lib/types/TaskResult.js.map +0 -1
  53. package/lib/types/Timings.d.ts +0 -20
  54. package/lib/types/Timings.d.ts.map +0 -1
  55. package/lib/types/Timings.js +0 -5
  56. package/lib/types/Timings.js.map +0 -1
  57. package/lib/utilities/editCloudpackConfig.d.ts +0 -5
  58. package/lib/utilities/editCloudpackConfig.d.ts.map +0 -1
  59. package/lib/utilities/editCloudpackConfig.js +0 -10
  60. package/lib/utilities/editCloudpackConfig.js.map +0 -1
  61. package/lib/utilities/getDefaultTaskStats.d.ts +0 -3
  62. package/lib/utilities/getDefaultTaskStats.d.ts.map +0 -1
  63. package/lib/utilities/getDefaultTaskStats.js +0 -8
  64. package/lib/utilities/getDefaultTaskStats.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"matchingZodObject.d.ts","sourceRoot":"","sources":["../../src/utilities/matchingZodObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;KACvC,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE1G;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,SAAS,MAAM,EACvD,KAAK,EAAE,gBAAgB,CAAC,QAAQ,CAAC,GAChC,iBAAiB,CAAC,QAAQ,CAAC,CAG7B"}
1
+ {"version":3,"file":"matchingZodObject.d.ts","sourceRoot":"","sources":["../../src/utilities/matchingZodObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;KACvC,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE1G;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,SAAS,MAAM,EACvD,KAAK,EAAE,gBAAgB,CAAC,QAAQ,CAAC,GAChC,iBAAiB,CAAC,QAAQ,CAAC,CAG7B"}
@@ -1,6 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
3
  * Get a Zod object that strictly matches the expected type, including any optional properties.
4
+ *
5
+ * Defining TS types first and using this helper to ensure matching zod objects (rather than
6
+ * defining the zod type first and using `infer`) helps reduce type explosion in intellisense
7
+ * and API reports, and allows reusing types that are already defined elsewhere.
4
8
  */
5
9
  export function matchingZodObject(shape) {
6
10
  // Cast the return value to convert back to the original type with optional properties
@@ -1 +1 @@
1
- {"version":3,"file":"matchingZodObject.js","sourceRoot":"","sources":["../../src/utilities/matchingZodObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAC/B,KAAiC;IAEjC,sFAAsF;IACtF,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAiC,CAAC;AACjE,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Zod shape object matching type `T`, with any optional properties remapped to required properties\n * with type `originalType | undefined`.\n */\ntype MatchingZodShape<T extends object> = {\n [k in keyof Required<T>]: z.ZodType<T[k]>;\n};\n\ntype MatchingZodObject<T extends object> = z.ZodObject<MatchingZodShape<T>, 'strict', z.ZodTypeAny, T, T>;\n\n/**\n * Get a Zod object that strictly matches the expected type, including any optional properties.\n */\nexport function matchingZodObject<Expected extends object>(\n shape: MatchingZodShape<Expected>,\n): MatchingZodObject<Expected> {\n // Cast the return value to convert back to the original type with optional properties\n return z.object(shape).strict() as MatchingZodObject<Expected>;\n}\n"]}
1
+ {"version":3,"file":"matchingZodObject.js","sourceRoot":"","sources":["../../src/utilities/matchingZodObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAC/B,KAAiC;IAEjC,sFAAsF;IACtF,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAiC,CAAC;AACjE,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Zod shape object matching type `T`, with any optional properties remapped to required properties\n * with type `originalType | undefined`.\n */\ntype MatchingZodShape<T extends object> = {\n [k in keyof Required<T>]: z.ZodType<T[k]>;\n};\n\ntype MatchingZodObject<T extends object> = z.ZodObject<MatchingZodShape<T>, 'strict', z.ZodTypeAny, T, T>;\n\n/**\n * Get a Zod object that strictly matches the expected type, including any optional properties.\n *\n * Defining TS types first and using this helper to ensure matching zod objects (rather than\n * defining the zod type first and using `infer`) helps reduce type explosion in intellisense\n * and API reports, and allows reusing types that are already defined elsewhere.\n */\nexport function matchingZodObject<Expected extends object>(\n shape: MatchingZodShape<Expected>,\n): MatchingZodObject<Expected> {\n // Cast the return value to convert back to the original type with optional properties\n return z.object(shape).strict() as MatchingZodObject<Expected>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"writeStubForDensityEntries.d.ts","sourceRoot":"","sources":["../../src/utilities/writeStubForDensityEntries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,eAAe,EACf,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AAQpC,wBAAsB,0BAA0B,CAAC,MAAM,EAAE;IACvD,OAAO,EAAE;QACP,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,aAAa,CAAC;KACvB,CAAC;IACF,OAAO,EAAE;QACP,QAAQ,EAAE,uBAAuB,CAAC;QAClC,MAAM,EAAE,eAAe,CAAC;KACzB,CAAC;CACH,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAqE3B"}
1
+ {"version":3,"file":"writeStubForDensityEntries.d.ts","sourceRoot":"","sources":["../../src/utilities/writeStubForDensityEntries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,eAAe,EACf,uBAAuB,EACxB,MAAM,4BAA4B,CAAC;AASpC,wBAAsB,0BAA0B,CAAC,MAAM,EAAE;IACvD,OAAO,EAAE;QACP,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,aAAa,CAAC;KACvB,CAAC;IACF,OAAO,EAAE;QACP,QAAQ,EAAE,uBAAuB,CAAC;QAClC,MAAM,EAAE,eAAe,CAAC;KACzB,CAAC;CACH,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAqE3B"}
@@ -3,6 +3,7 @@ import { writeFile } from 'fs/promises';
3
3
  import path from 'path';
4
4
  import { toNormalizedEntryKey } from '@ms-cloudpack/bundler';
5
5
  import { flattenExportsMap, getExportsMap } from '@ms-cloudpack/package-utilities';
6
+ import { slash } from '@ms-cloudpack/path-string-parsing';
6
7
  const errorSource = 'density-entry-stub';
7
8
  export async function writeStubForDensityEntries(params) {
8
9
  const { options, context } = params;
@@ -53,7 +54,7 @@ export async function writeStubForDensityEntries(params) {
53
54
  type: outputFile.exports ? 'object' : 'other',
54
55
  keys: outputFile.exports ?? [],
55
56
  },
56
- importStatement: `const moduleExport = requireDensityModule("${moduleId}");`,
57
+ importStatement: `const moduleExport = requireDensityModule("${slash(moduleId)}");`,
57
58
  });
58
59
  await writeFile(path.join(result.outputPath, outputFile.outputPath), stub);
59
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"writeStubForDensityEntries.js","sourceRoot":"","sources":["../../src/utilities/writeStubForDensityEntries.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEnF,MAAM,WAAW,GAAG,oBAAoB,CAAC;AACzC,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,MAUhD;IACC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IACpC,MAAM,EAAE,WAAW,EAAE,WAAW,EA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kB,WAAW,kBAAkB,WAAW,EAAE;oBACvH,MAAM,EAAE,WAAW;iBACpB,CAAC,CAAC;gBACH,SAAS;YACX,CAAC;YAED,MAAM,QAAQ,GAAG,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;YAEvF,wEAAwE;YACxE,wDAAwD;YACxD,MAAM,IAAI,GAAG,0BAA0B,CAAC;gBACtC,MAAM,EAAE;oBACN,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO;oBAC7C,IAAI,EAAE,UAAU,CAAC,OAAO,IAAI,EAAE;iBAC/B;gBACD,eAAe,EAAE,8CAA8C,QAAQ,KAAK;aAC7E,CAAC,CAAC;YAEH,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,CAAC;QAC7E,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,iDAAiD,CAAC,kBAAkB,WAAW,kBAAkB,WAAW,EAAE;gBACpH,MAAM,EAAE,WAAW;aACpB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import type {\n BundleMessage,\n BundlerResult,\n CloudpackConfig,\n PackageDefinitionsCache,\n} from '@ms-cloudpack/common-types';\nimport { generateESMStubFromExports } from '@ms-cloudpack/esm-stub-utilities';\nimport { writeFile } from 'fs/promises';\nimport path from 'path';\nimport { toNormalizedEntryKey } from '@ms-cloudpack/bundler';\nimport { flattenExportsMap, getExportsMap } from '@ms-cloudpack/package-utilities';\n\nconst errorSource = 'density-entry-stub';\nexport async function writeStubForDensityEntries(params: {\n options: {\n packageName: string;\n packagePath: string;\n result: BundlerResult;\n };\n context: {\n packages: PackageDefinitionsCache;\n config: CloudpackConfig;\n };\n}): Promise<BundleMessage[]> {\n const { options, context } = params;\n const { packagePath, packageName, result } = options;\n const exportsMap = await getExportsMap({ packagePath }, context);\n const densityCondition = ['density'];\n const densityExportsMap = flattenExportsMap(exportsMap, {\n requiredConditions: densityCondition,\n conditions: densityCondition,\n });\n\n if (Object.keys(densityExportsMap).length === 0) {\n return [];\n }\n\n if (!result.outputFiles) {\n return [\n {\n source: errorSource,\n text: `No output files found in the result. package name:${packageName}, package path:${packagePath}`,\n },\n ];\n }\n\n if (!result.outputPath) {\n return [\n {\n source: errorSource,\n text: `No output path found in the result. package name:${packageName}, package path:${packagePath}`,\n },\n ];\n }\n\n const errors: BundleMessage[] = [];\n\n // find the corresponding output file from the result for each external entry\n for (const [key, value] of Object.entries(densityExportsMap)) {\n try {\n const entryPath = toNormalizedEntryKey(value);\n const outputFile = result.outputFiles.find((o) => o.outputPath === value);\n if (!outputFile) {\n errors.push({\n text: `No output file found for external entry: ${entryPath}, package name:${packageName}, package path:${packagePath}`,\n source: errorSource,\n });\n continue;\n }\n\n const moduleId = key === '.' ? options.packageName : path.join(packageName, entryPath);\n\n // generate new stab file for the external entry by using output.exports\n // found the output file. This file need to be replaced.\n const stub = generateESMStubFromExports({\n export: {\n type: outputFile.exports ? 'object' : 'other',\n keys: outputFile.exports ?? [],\n },\n importStatement: `const moduleExport = requireDensityModule(\"${moduleId}\");`,\n });\n\n await writeFile(path.join(result.outputPath, outputFile.outputPath), stub);\n } catch (e) {\n errors.push({\n text: `Error while creating stub for external entry: ${e}, package name:${packageName}, package path:${packagePath}`,\n source: errorSource,\n });\n }\n }\n\n return errors;\n}\n"]}
1
+ {"version":3,"file":"writeStubForDensityEntries.js","sourceRoot":"","sources":["../../src/utilities/writeStubForDensityEntries.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,SAA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AAE;gBACpH,MAAM,EAAE,WAAW;aACpB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import type {\n BundleMessage,\n BundlerResult,\n CloudpackConfig,\n PackageDefinitionsCache,\n} from '@ms-cloudpack/common-types';\nimport { generateESMStubFromExports } from '@ms-cloudpack/esm-stub-utilities';\nimport { writeFile } from 'fs/promises';\nimport path from 'path';\nimport { toNormalizedEntryKey } from '@ms-cloudpack/bundler';\nimport { flattenExportsMap, getExportsMap } from '@ms-cloudpack/package-utilities';\nimport { slash } from '@ms-cloudpack/path-string-parsing';\n\nconst errorSource = 'density-entry-stub';\nexport async function writeStubForDensityEntries(params: {\n options: {\n packageName: string;\n packagePath: string;\n result: BundlerResult;\n };\n context: {\n packages: PackageDefinitionsCache;\n config: CloudpackConfig;\n };\n}): Promise<BundleMessage[]> {\n const { options, context } = params;\n const { packagePath, packageName, result } = options;\n const exportsMap = await getExportsMap({ packagePath }, context);\n const densityCondition = ['density'];\n const densityExportsMap = flattenExportsMap(exportsMap, {\n requiredConditions: densityCondition,\n conditions: densityCondition,\n });\n\n if (Object.keys(densityExportsMap).length === 0) {\n return [];\n }\n\n if (!result.outputFiles) {\n return [\n {\n source: errorSource,\n text: `No output files found in the result. package name:${packageName}, package path:${packagePath}`,\n },\n ];\n }\n\n if (!result.outputPath) {\n return [\n {\n source: errorSource,\n text: `No output path found in the result. package name:${packageName}, package path:${packagePath}`,\n },\n ];\n }\n\n const errors: BundleMessage[] = [];\n\n // find the corresponding output file from the result for each external entry\n for (const [key, value] of Object.entries(densityExportsMap)) {\n try {\n const entryPath = toNormalizedEntryKey(value);\n const outputFile = result.outputFiles.find((o) => o.outputPath === value);\n if (!outputFile) {\n errors.push({\n text: `No output file found for external entry: ${entryPath}, package name:${packageName}, package path:${packagePath}`,\n source: errorSource,\n });\n continue;\n }\n\n const moduleId = key === '.' ? options.packageName : path.join(packageName, entryPath);\n\n // generate new stab file for the external entry by using output.exports\n // found the output file. This file need to be replaced.\n const stub = generateESMStubFromExports({\n export: {\n type: outputFile.exports ? 'object' : 'other',\n keys: outputFile.exports ?? [],\n },\n importStatement: `const moduleExport = requireDensityModule(\"${slash(moduleId)}\");`,\n });\n\n await writeFile(path.join(result.outputPath, outputFile.outputPath), stub);\n } catch (e) {\n errors.push({\n text: `Error while creating stub for external entry: ${e}, package name:${packageName}, package path:${packagePath}`,\n source: errorSource,\n });\n }\n }\n\n return errors;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/api-server",
3
- "version": "0.60.0",
3
+ "version": "0.60.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",
@@ -1,337 +0,0 @@
1
- import z from 'zod';
2
- export declare const ZodTaskResponse: z.ZodObject<{
3
- result: z.ZodObject<{
4
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
- text: z.ZodString;
6
- source: z.ZodString;
7
- location: z.ZodOptional<z.ZodObject<{
8
- file: z.ZodString;
9
- line: z.ZodOptional<z.ZodNumber>;
10
- column: z.ZodOptional<z.ZodNumber>;
11
- }, "strip", z.ZodTypeAny, {
12
- file: string;
13
- line?: number | undefined;
14
- column?: number | undefined;
15
- }, {
16
- file: string;
17
- line?: number | undefined;
18
- column?: number | undefined;
19
- }>>;
20
- notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
- text: z.ZodString;
22
- location: z.ZodOptional<z.ZodObject<{
23
- file: z.ZodString;
24
- line: z.ZodOptional<z.ZodNumber>;
25
- column: z.ZodOptional<z.ZodNumber>;
26
- }, "strip", z.ZodTypeAny, {
27
- file: string;
28
- line?: number | undefined;
29
- column?: number | undefined;
30
- }, {
31
- file: string;
32
- line?: number | undefined;
33
- column?: number | undefined;
34
- }>>;
35
- }, "strip", z.ZodTypeAny, {
36
- text: string;
37
- location?: {
38
- file: string;
39
- line?: number | undefined;
40
- column?: number | undefined;
41
- } | undefined;
42
- }, {
43
- text: string;
44
- location?: {
45
- file: string;
46
- line?: number | undefined;
47
- column?: number | undefined;
48
- } | undefined;
49
- }>, "many">>;
50
- }, "strip", z.ZodTypeAny, {
51
- text: string;
52
- source: string;
53
- location?: {
54
- file: string;
55
- line?: number | undefined;
56
- column?: number | undefined;
57
- } | undefined;
58
- notes?: {
59
- text: string;
60
- location?: {
61
- file: string;
62
- line?: number | undefined;
63
- column?: number | undefined;
64
- } | undefined;
65
- }[] | undefined;
66
- }, {
67
- text: string;
68
- source: string;
69
- location?: {
70
- file: string;
71
- line?: number | undefined;
72
- column?: number | undefined;
73
- } | undefined;
74
- notes?: {
75
- text: string;
76
- location?: {
77
- file: string;
78
- line?: number | undefined;
79
- column?: number | undefined;
80
- } | undefined;
81
- }[] | undefined;
82
- }>, "many">>;
83
- warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
- text: z.ZodString;
85
- source: z.ZodString;
86
- location: z.ZodOptional<z.ZodObject<{
87
- file: z.ZodString;
88
- line: z.ZodOptional<z.ZodNumber>;
89
- column: z.ZodOptional<z.ZodNumber>;
90
- }, "strip", z.ZodTypeAny, {
91
- file: string;
92
- line?: number | undefined;
93
- column?: number | undefined;
94
- }, {
95
- file: string;
96
- line?: number | undefined;
97
- column?: number | undefined;
98
- }>>;
99
- notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
- text: z.ZodString;
101
- location: z.ZodOptional<z.ZodObject<{
102
- file: z.ZodString;
103
- line: z.ZodOptional<z.ZodNumber>;
104
- column: z.ZodOptional<z.ZodNumber>;
105
- }, "strip", z.ZodTypeAny, {
106
- file: string;
107
- line?: number | undefined;
108
- column?: number | undefined;
109
- }, {
110
- file: string;
111
- line?: number | undefined;
112
- column?: number | undefined;
113
- }>>;
114
- }, "strip", z.ZodTypeAny, {
115
- text: string;
116
- location?: {
117
- file: string;
118
- line?: number | undefined;
119
- column?: number | undefined;
120
- } | undefined;
121
- }, {
122
- text: string;
123
- location?: {
124
- file: string;
125
- line?: number | undefined;
126
- column?: number | undefined;
127
- } | undefined;
128
- }>, "many">>;
129
- }, "strip", z.ZodTypeAny, {
130
- text: string;
131
- source: string;
132
- location?: {
133
- file: string;
134
- line?: number | undefined;
135
- column?: number | undefined;
136
- } | undefined;
137
- notes?: {
138
- text: string;
139
- location?: {
140
- file: string;
141
- line?: number | undefined;
142
- column?: number | undefined;
143
- } | undefined;
144
- }[] | undefined;
145
- }, {
146
- text: string;
147
- source: string;
148
- location?: {
149
- file: string;
150
- line?: number | undefined;
151
- column?: number | undefined;
152
- } | undefined;
153
- notes?: {
154
- text: string;
155
- location?: {
156
- file: string;
157
- line?: number | undefined;
158
- column?: number | undefined;
159
- } | undefined;
160
- }[] | undefined;
161
- }>, "many">>;
162
- }, "strip", z.ZodTypeAny, {
163
- errors?: {
164
- text: string;
165
- source: string;
166
- location?: {
167
- file: string;
168
- line?: number | undefined;
169
- column?: number | undefined;
170
- } | undefined;
171
- notes?: {
172
- text: string;
173
- location?: {
174
- file: string;
175
- line?: number | undefined;
176
- column?: number | undefined;
177
- } | undefined;
178
- }[] | undefined;
179
- }[] | undefined;
180
- warnings?: {
181
- text: string;
182
- source: string;
183
- location?: {
184
- file: string;
185
- line?: number | undefined;
186
- column?: number | undefined;
187
- } | undefined;
188
- notes?: {
189
- text: string;
190
- location?: {
191
- file: string;
192
- line?: number | undefined;
193
- column?: number | undefined;
194
- } | undefined;
195
- }[] | undefined;
196
- }[] | undefined;
197
- }, {
198
- errors?: {
199
- text: string;
200
- source: string;
201
- location?: {
202
- file: string;
203
- line?: number | undefined;
204
- column?: number | undefined;
205
- } | undefined;
206
- notes?: {
207
- text: string;
208
- location?: {
209
- file: string;
210
- line?: number | undefined;
211
- column?: number | undefined;
212
- } | undefined;
213
- }[] | undefined;
214
- }[] | undefined;
215
- warnings?: {
216
- text: string;
217
- source: string;
218
- location?: {
219
- file: string;
220
- line?: number | undefined;
221
- column?: number | undefined;
222
- } | undefined;
223
- notes?: {
224
- text: string;
225
- location?: {
226
- file: string;
227
- line?: number | undefined;
228
- column?: number | undefined;
229
- } | undefined;
230
- }[] | undefined;
231
- }[] | undefined;
232
- }>;
233
- timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
234
- name: z.ZodString;
235
- start: z.ZodNumber;
236
- end: z.ZodOptional<z.ZodNumber>;
237
- threwException: z.ZodOptional<z.ZodBoolean>;
238
- }, "strip", z.ZodTypeAny, {
239
- name: string;
240
- start: number;
241
- end?: number | undefined;
242
- threwException?: boolean | undefined;
243
- }, {
244
- name: string;
245
- start: number;
246
- end?: number | undefined;
247
- threwException?: boolean | undefined;
248
- }>, "many">>;
249
- }, "strip", z.ZodTypeAny, {
250
- result: {
251
- errors?: {
252
- text: string;
253
- source: string;
254
- location?: {
255
- file: string;
256
- line?: number | undefined;
257
- column?: number | undefined;
258
- } | undefined;
259
- notes?: {
260
- text: string;
261
- location?: {
262
- file: string;
263
- line?: number | undefined;
264
- column?: number | undefined;
265
- } | undefined;
266
- }[] | undefined;
267
- }[] | undefined;
268
- warnings?: {
269
- text: string;
270
- source: string;
271
- location?: {
272
- file: string;
273
- line?: number | undefined;
274
- column?: number | undefined;
275
- } | undefined;
276
- notes?: {
277
- text: string;
278
- location?: {
279
- file: string;
280
- line?: number | undefined;
281
- column?: number | undefined;
282
- } | undefined;
283
- }[] | undefined;
284
- }[] | undefined;
285
- };
286
- timings?: {
287
- name: string;
288
- start: number;
289
- end?: number | undefined;
290
- threwException?: boolean | undefined;
291
- }[] | undefined;
292
- }, {
293
- result: {
294
- errors?: {
295
- text: string;
296
- source: string;
297
- location?: {
298
- file: string;
299
- line?: number | undefined;
300
- column?: number | undefined;
301
- } | undefined;
302
- notes?: {
303
- text: string;
304
- location?: {
305
- file: string;
306
- line?: number | undefined;
307
- column?: number | undefined;
308
- } | undefined;
309
- }[] | undefined;
310
- }[] | undefined;
311
- warnings?: {
312
- text: string;
313
- source: string;
314
- location?: {
315
- file: string;
316
- line?: number | undefined;
317
- column?: number | undefined;
318
- } | undefined;
319
- notes?: {
320
- text: string;
321
- location?: {
322
- file: string;
323
- line?: number | undefined;
324
- column?: number | undefined;
325
- } | undefined;
326
- }[] | undefined;
327
- }[] | undefined;
328
- };
329
- timings?: {
330
- name: string;
331
- start: number;
332
- end?: number | undefined;
333
- threwException?: boolean | undefined;
334
- }[] | undefined;
335
- }>;
336
- export type TaskResponse = z.infer<typeof ZodTaskResponse>;
337
- //# sourceMappingURL=TaskResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskResponse.d.ts","sourceRoot":"","sources":["../../src/types/TaskResponse.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG1B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import z from 'zod';
2
- import { ZodTaskResult } from './TaskResult.js';
3
- import { ZodTimings } from './Timings.js';
4
- export const ZodTaskResponse = z.object({
5
- result: ZodTaskResult,
6
- timings: ZodTimings.optional(),
7
- });
8
- //# sourceMappingURL=TaskResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskResponse.js","sourceRoot":"","sources":["../../src/types/TaskResponse.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,MAAM,EAAE,aAAa;IACrB,OAAO,EAAE,UAAU,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTaskResult } from './TaskResult.js';\nimport { ZodTimings } from './Timings.js';\n\nexport const ZodTaskResponse = z.object({\n result: ZodTaskResult,\n timings: ZodTimings.optional(),\n});\n\nexport type TaskResponse = z.infer<typeof ZodTaskResponse>;\n"]}
@@ -1,233 +0,0 @@
1
- import z from 'zod';
2
- export declare const ZodTaskResult: z.ZodObject<{
3
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
4
- text: z.ZodString;
5
- source: z.ZodString;
6
- location: z.ZodOptional<z.ZodObject<{
7
- file: z.ZodString;
8
- line: z.ZodOptional<z.ZodNumber>;
9
- column: z.ZodOptional<z.ZodNumber>;
10
- }, "strip", z.ZodTypeAny, {
11
- file: string;
12
- line?: number | undefined;
13
- column?: number | undefined;
14
- }, {
15
- file: string;
16
- line?: number | undefined;
17
- column?: number | undefined;
18
- }>>;
19
- notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
- text: z.ZodString;
21
- location: z.ZodOptional<z.ZodObject<{
22
- file: z.ZodString;
23
- line: z.ZodOptional<z.ZodNumber>;
24
- column: z.ZodOptional<z.ZodNumber>;
25
- }, "strip", z.ZodTypeAny, {
26
- file: string;
27
- line?: number | undefined;
28
- column?: number | undefined;
29
- }, {
30
- file: string;
31
- line?: number | undefined;
32
- column?: number | undefined;
33
- }>>;
34
- }, "strip", z.ZodTypeAny, {
35
- text: string;
36
- location?: {
37
- file: string;
38
- line?: number | undefined;
39
- column?: number | undefined;
40
- } | undefined;
41
- }, {
42
- text: string;
43
- location?: {
44
- file: string;
45
- line?: number | undefined;
46
- column?: number | undefined;
47
- } | undefined;
48
- }>, "many">>;
49
- }, "strip", z.ZodTypeAny, {
50
- text: string;
51
- source: string;
52
- location?: {
53
- file: string;
54
- line?: number | undefined;
55
- column?: number | undefined;
56
- } | undefined;
57
- notes?: {
58
- text: string;
59
- location?: {
60
- file: string;
61
- line?: number | undefined;
62
- column?: number | undefined;
63
- } | undefined;
64
- }[] | undefined;
65
- }, {
66
- text: string;
67
- source: string;
68
- location?: {
69
- file: string;
70
- line?: number | undefined;
71
- column?: number | undefined;
72
- } | undefined;
73
- notes?: {
74
- text: string;
75
- location?: {
76
- file: string;
77
- line?: number | undefined;
78
- column?: number | undefined;
79
- } | undefined;
80
- }[] | undefined;
81
- }>, "many">>;
82
- warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
- text: z.ZodString;
84
- source: z.ZodString;
85
- location: z.ZodOptional<z.ZodObject<{
86
- file: z.ZodString;
87
- line: z.ZodOptional<z.ZodNumber>;
88
- column: z.ZodOptional<z.ZodNumber>;
89
- }, "strip", z.ZodTypeAny, {
90
- file: string;
91
- line?: number | undefined;
92
- column?: number | undefined;
93
- }, {
94
- file: string;
95
- line?: number | undefined;
96
- column?: number | undefined;
97
- }>>;
98
- notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
- text: z.ZodString;
100
- location: z.ZodOptional<z.ZodObject<{
101
- file: z.ZodString;
102
- line: z.ZodOptional<z.ZodNumber>;
103
- column: z.ZodOptional<z.ZodNumber>;
104
- }, "strip", z.ZodTypeAny, {
105
- file: string;
106
- line?: number | undefined;
107
- column?: number | undefined;
108
- }, {
109
- file: string;
110
- line?: number | undefined;
111
- column?: number | undefined;
112
- }>>;
113
- }, "strip", z.ZodTypeAny, {
114
- text: string;
115
- location?: {
116
- file: string;
117
- line?: number | undefined;
118
- column?: number | undefined;
119
- } | undefined;
120
- }, {
121
- text: string;
122
- location?: {
123
- file: string;
124
- line?: number | undefined;
125
- column?: number | undefined;
126
- } | undefined;
127
- }>, "many">>;
128
- }, "strip", z.ZodTypeAny, {
129
- text: string;
130
- source: string;
131
- location?: {
132
- file: string;
133
- line?: number | undefined;
134
- column?: number | undefined;
135
- } | undefined;
136
- notes?: {
137
- text: string;
138
- location?: {
139
- file: string;
140
- line?: number | undefined;
141
- column?: number | undefined;
142
- } | undefined;
143
- }[] | undefined;
144
- }, {
145
- text: string;
146
- source: string;
147
- location?: {
148
- file: string;
149
- line?: number | undefined;
150
- column?: number | undefined;
151
- } | undefined;
152
- notes?: {
153
- text: string;
154
- location?: {
155
- file: string;
156
- line?: number | undefined;
157
- column?: number | undefined;
158
- } | undefined;
159
- }[] | undefined;
160
- }>, "many">>;
161
- }, "strip", z.ZodTypeAny, {
162
- errors?: {
163
- text: string;
164
- source: string;
165
- location?: {
166
- file: string;
167
- line?: number | undefined;
168
- column?: number | undefined;
169
- } | undefined;
170
- notes?: {
171
- text: string;
172
- location?: {
173
- file: string;
174
- line?: number | undefined;
175
- column?: number | undefined;
176
- } | undefined;
177
- }[] | undefined;
178
- }[] | undefined;
179
- warnings?: {
180
- text: string;
181
- source: string;
182
- location?: {
183
- file: string;
184
- line?: number | undefined;
185
- column?: number | undefined;
186
- } | undefined;
187
- notes?: {
188
- text: string;
189
- location?: {
190
- file: string;
191
- line?: number | undefined;
192
- column?: number | undefined;
193
- } | undefined;
194
- }[] | undefined;
195
- }[] | undefined;
196
- }, {
197
- errors?: {
198
- text: string;
199
- source: string;
200
- location?: {
201
- file: string;
202
- line?: number | undefined;
203
- column?: number | undefined;
204
- } | undefined;
205
- notes?: {
206
- text: string;
207
- location?: {
208
- file: string;
209
- line?: number | undefined;
210
- column?: number | undefined;
211
- } | undefined;
212
- }[] | undefined;
213
- }[] | undefined;
214
- warnings?: {
215
- text: string;
216
- source: string;
217
- location?: {
218
- file: string;
219
- line?: number | undefined;
220
- column?: number | undefined;
221
- } | undefined;
222
- notes?: {
223
- text: string;
224
- location?: {
225
- file: string;
226
- line?: number | undefined;
227
- column?: number | undefined;
228
- } | undefined;
229
- }[] | undefined;
230
- }[] | undefined;
231
- }>;
232
- export type TaskResult = z.infer<typeof ZodTaskResult>;
233
- //# sourceMappingURL=TaskResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskResult.d.ts","sourceRoot":"","sources":["../../src/types/TaskResult.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}