@norskvideo/ctl-sdk 0.1.44 → 0.1.46

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.
@@ -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;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-sdk",
3
- "version": "0.1.44",
3
+ "version": "0.1.46",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
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) {
@@ -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,