@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.
- package/lib/apis/addPackageOverride.d.ts +3 -38
- package/lib/apis/addPackageOverride.d.ts.map +1 -1
- package/lib/apis/addPackageOverride.js +2 -13
- package/lib/apis/addPackageOverride.js.map +1 -1
- package/lib/apis/openConfigEditor.d.ts.map +1 -1
- package/lib/apis/openConfigEditor.js +5 -2
- package/lib/apis/openConfigEditor.js.map +1 -1
- package/lib/apis/validatePackageOverride.d.ts +6 -31
- package/lib/apis/validatePackageOverride.d.ts.map +1 -1
- package/lib/apis/validatePackageOverride.js +3 -2
- package/lib/apis/validatePackageOverride.js.map +1 -1
- package/lib/data/busSources.d.ts +18 -292
- package/lib/data/busSources.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/TaskDescription.d.ts +14 -224
- package/lib/types/TaskDescription.d.ts.map +1 -1
- package/lib/types/TaskDescription.js +2 -2
- package/lib/types/TaskDescription.js.map +1 -1
- package/lib/types/TaskEndDescription.d.ts +14 -224
- package/lib/types/TaskEndDescription.d.ts.map +1 -1
- package/lib/types/TaskList.d.ts +18 -292
- package/lib/types/TaskList.d.ts.map +1 -1
- package/lib/types/TaskMessage.d.ts +11 -108
- package/lib/types/TaskMessage.d.ts.map +1 -1
- package/lib/types/TaskMessage.js +3 -2
- package/lib/types/TaskMessage.js.map +1 -1
- package/lib/types/TaskMessageLocation.d.ts +6 -13
- package/lib/types/TaskMessageLocation.d.ts.map +1 -1
- package/lib/types/TaskMessageLocation.js +2 -1
- package/lib/types/TaskMessageLocation.js.map +1 -1
- package/lib/utilities/TaskRunner.d.ts.map +1 -1
- package/lib/utilities/TaskRunner.js +7 -1
- package/lib/utilities/TaskRunner.js.map +1 -1
- package/lib/utilities/matchingZodObject.d.ts +4 -0
- package/lib/utilities/matchingZodObject.d.ts.map +1 -1
- package/lib/utilities/matchingZodObject.js +4 -0
- package/lib/utilities/matchingZodObject.js.map +1 -1
- package/lib/utilities/writeStubForDensityEntries.d.ts.map +1 -1
- package/lib/utilities/writeStubForDensityEntries.js +2 -1
- package/lib/utilities/writeStubForDensityEntries.js.map +1 -1
- package/package.json +1 -1
- package/lib/types/TaskResponse.d.ts +0 -337
- package/lib/types/TaskResponse.d.ts.map +0 -1
- package/lib/types/TaskResponse.js +0 -8
- package/lib/types/TaskResponse.js.map +0 -1
- package/lib/types/TaskResult.d.ts +0 -233
- package/lib/types/TaskResult.d.ts.map +0 -1
- package/lib/types/TaskResult.js +0 -7
- package/lib/types/TaskResult.js.map +0 -1
- package/lib/types/Timings.d.ts +0 -20
- package/lib/types/Timings.d.ts.map +0 -1
- package/lib/types/Timings.js +0 -5
- package/lib/types/Timings.js.map +0 -1
- package/lib/utilities/editCloudpackConfig.d.ts +0 -5
- package/lib/utilities/editCloudpackConfig.d.ts.map +0 -1
- package/lib/utilities/editCloudpackConfig.js +0 -10
- package/lib/utilities/editCloudpackConfig.js.map +0 -1
- package/lib/utilities/getDefaultTaskStats.d.ts +0 -3
- package/lib/utilities/getDefaultTaskStats.d.ts.map +0 -1
- package/lib/utilities/getDefaultTaskStats.js +0 -8
- package/lib/utilities/getDefaultTaskStats.js.map +0 -1
package/lib/types/TaskResult.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TaskResult.js","sourceRoot":"","sources":["../../src/types/TaskResult.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;IAC1C,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTaskMessage } from './TaskMessage.js';\n\nexport const ZodTaskResult = z.object({\n errors: z.array(ZodTaskMessage).optional(),\n warnings: z.array(ZodTaskMessage).optional(),\n});\n\nexport type TaskResult = z.infer<typeof ZodTaskResult>;\n"]}
|
package/lib/types/Timings.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
/** Collection of timings. */
|
|
3
|
-
export declare const ZodTimings: z.ZodArray<z.ZodObject<{
|
|
4
|
-
name: z.ZodString;
|
|
5
|
-
start: z.ZodNumber;
|
|
6
|
-
end: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
threwException: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
name: string;
|
|
10
|
-
start: number;
|
|
11
|
-
end?: number | undefined;
|
|
12
|
-
threwException?: boolean | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
name: string;
|
|
15
|
-
start: number;
|
|
16
|
-
end?: number | undefined;
|
|
17
|
-
threwException?: boolean | undefined;
|
|
18
|
-
}>, "many">;
|
|
19
|
-
export type Timings = z.infer<typeof ZodTimings>;
|
|
20
|
-
//# sourceMappingURL=Timings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Timings.d.ts","sourceRoot":"","sources":["../../src/types/Timings.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,6BAA6B;AAC7B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;WAAqB,CAAC;AAE7C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
package/lib/types/Timings.js
DELETED
package/lib/types/Timings.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Timings.js","sourceRoot":"","sources":["../../src/types/Timings.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,6BAA6B;AAC7B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTiming } from './Timing.js';\n\n/** Collection of timings. */\nexport const ZodTimings = z.array(ZodTiming);\n\nexport type Timings = z.infer<typeof ZodTimings>;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editCloudpackConfig.d.ts","sourceRoot":"","sources":["../../src/utilities/editCloudpackConfig.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIpE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'child_process';
|
|
2
|
-
import { ensureAppConfig } from '@ms-cloudpack/config';
|
|
3
|
-
/**
|
|
4
|
-
* Opens the cloudpack config file in the editor.
|
|
5
|
-
*/
|
|
6
|
-
export async function editCloudpackConfig(cwd) {
|
|
7
|
-
const appConfigPath = await ensureAppConfig(cwd);
|
|
8
|
-
execSync(`code --goto ${JSON.stringify(appConfigPath)}`, { cwd });
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=editCloudpackConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editCloudpackConfig.js","sourceRoot":"","sources":["../../src/utilities/editCloudpackConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAC,GAAW;IACnD,MAAM,aAAa,GAAG,MAAM,eAAe,CAAC,GAAG,CAAC,CAAC;IAEjD,QAAQ,CAAC,eAAe,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;AACpE,CAAC","sourcesContent":["import { execSync } from 'child_process';\nimport { ensureAppConfig } from '@ms-cloudpack/config';\n\n/**\n * Opens the cloudpack config file in the editor.\n */\nexport async function editCloudpackConfig(cwd: string): Promise<void> {\n const appConfigPath = await ensureAppConfig(cwd);\n\n execSync(`code --goto ${JSON.stringify(appConfigPath)}`, { cwd });\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultTaskStats.d.ts","sourceRoot":"","sources":["../../src/utilities/getDefaultTaskStats.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,mBAAmB,EAAE,MAAM,SAMtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultTaskStats.js","sourceRoot":"","sources":["../../src/utilities/getDefaultTaskStats.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAoB,GAAG,EAAE,CAAC,CAAC;IACzD,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,CAAC;IACjB,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,aAAa,EAAE,CAAC;CACjB,CAAC,CAAC","sourcesContent":["import type { TaskStats } from '../types/TaskStats.js';\n\nexport const getDefaultTaskStats: () => TaskStats = () => ({\n status: 'idle',\n remainingTasks: 0,\n totalTasks: 0,\n totalErrors: 0,\n totalWarnings: 0,\n});\n"]}
|