@norskvideo/ctl-sdk 0.1.44 → 0.1.45
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/manifest-schema.d.ts +2 -2
- package/manifest-schema.js +1 -1
- package/package.json +1 -1
- package/parsing.js +1 -1
- package/product-types.d.ts +1 -1
package/manifest-schema.d.ts
CHANGED
|
@@ -98,9 +98,9 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
98
98
|
}, z.core.$strip>>>;
|
|
99
99
|
request: z.ZodOptional<z.ZodObject<{
|
|
100
100
|
method: z.ZodEnum<{
|
|
101
|
-
PUT: "PUT";
|
|
102
101
|
GET: "GET";
|
|
103
102
|
POST: "POST";
|
|
103
|
+
PUT: "PUT";
|
|
104
104
|
DELETE: "DELETE";
|
|
105
105
|
}>;
|
|
106
106
|
path: z.ZodString;
|
|
@@ -108,9 +108,9 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
108
108
|
}, z.core.$strip>>>;
|
|
109
109
|
request: z.ZodOptional<z.ZodObject<{
|
|
110
110
|
method: z.ZodEnum<{
|
|
111
|
-
PUT: "PUT";
|
|
112
111
|
GET: "GET";
|
|
113
112
|
POST: "POST";
|
|
113
|
+
PUT: "PUT";
|
|
114
114
|
DELETE: "DELETE";
|
|
115
115
|
}>;
|
|
116
116
|
path: z.ZodString;
|
package/manifest-schema.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PLATFORM_ROLE_LADDER, parseProductRoleName } from "@norskvideo/ctl-foundation";
|
|
1
|
+
import { PLATFORM_ROLE_LADDER, parseProductRoleName } from "@norskvideo/ctl-foundation/browser";
|
|
2
2
|
import { ProductTemplateRequirementsSchema } from "@norskvideo/ctl-product-template-schema";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
const TargetSchema = z.enum(["norsk-ctl", "docker-compose"]);
|
package/package.json
CHANGED
package/parsing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parsePlatformRole } from "@norskvideo/ctl-foundation";
|
|
1
|
+
import { parsePlatformRole } from "@norskvideo/ctl-foundation/browser";
|
|
2
2
|
import { ManifestSchema } from "./manifest-schema.js";
|
|
3
3
|
export class ProductsParseError extends Error {
|
|
4
4
|
constructor(path, reason) {
|
package/product-types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PlatformRole } from "@norskvideo/ctl-foundation";
|
|
1
|
+
import type { PlatformRole } from "@norskvideo/ctl-foundation/browser";
|
|
2
2
|
import type { Manifest } from "./manifest-schema.js";
|
|
3
3
|
export type ProductSpec =
|
|
4
4
|
/** `env` is the deploy-time environment for the control-plane container,
|