zephyr-edge-contract 0.0.0-canary.10 → 0.0.0-canary.11

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.
@@ -1,4 +1,3 @@
1
- import { z } from 'zod';
2
1
  /** Todo: this worst and most outdated model so far, had to be refactored */
3
2
  export interface ZephyrBuildStats {
4
3
  /** @deprecated */
@@ -132,14 +131,13 @@ declare enum DeploymentIntegrationPlatform {
132
131
  AZURE = "azure",
133
132
  GCP = "gcp"
134
133
  }
135
- export declare const ZephyrDependencySchema: z.ZodObject<{
136
- application_uid: z.ZodString;
137
- remote_entry_url: z.ZodString;
138
- default_url: z.ZodString;
139
- name: z.ZodString;
140
- library_type: z.ZodString;
141
- }, z.core.$strip>;
142
- export type ZephyrDependency = z.infer<typeof ZephyrDependencySchema>;
134
+ export interface ZephyrDependency {
135
+ application_uid: string;
136
+ remote_entry_url: string;
137
+ default_url: string;
138
+ name: string;
139
+ library_type: string;
140
+ }
143
141
  export interface RawDependency {
144
142
  name: string;
145
143
  version: string;
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  /* istanbul ignore file */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ZephyrDependencySchema = void 0;
5
- const zod_1 = require("zod");
6
4
  var DeploymentIntegrationPlatform;
7
5
  (function (DeploymentIntegrationPlatform) {
8
6
  DeploymentIntegrationPlatform["CLOUDFLARE"] = "cloudflare";
@@ -11,11 +9,4 @@ var DeploymentIntegrationPlatform;
11
9
  DeploymentIntegrationPlatform["AZURE"] = "azure";
12
10
  DeploymentIntegrationPlatform["GCP"] = "gcp";
13
11
  })(DeploymentIntegrationPlatform || (DeploymentIntegrationPlatform = {}));
14
- exports.ZephyrDependencySchema = zod_1.z.object({
15
- application_uid: zod_1.z.string(),
16
- remote_entry_url: zod_1.z.string(),
17
- default_url: zod_1.z.string(),
18
- name: zod_1.z.string(),
19
- library_type: zod_1.z.string(),
20
- });
21
12
  //# sourceMappingURL=zephyr-build-stats.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;AAE1B,6BAAwB;AAuIxB,IAAK,6BAMJ;AAND,WAAK,6BAA6B;IAChC,0DAAyB,CAAA;IACzB,4CAAW,CAAA;IACX,oDAAmB,CAAA;IACnB,gDAAe,CAAA;IACf,4CAAW,CAAA;AACb,CAAC,EANI,6BAA6B,KAA7B,6BAA6B,QAMjC;AAEY,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;IAC3B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;AAuI1B,IAAK,6BAMJ;AAND,WAAK,6BAA6B;IAChC,0DAAyB,CAAA;IACzB,4CAAW,CAAA;IACX,oDAAmB,CAAA;IACnB,gDAAe,CAAA;IACf,4CAAW,CAAA;AACb,CAAC,EANI,6BAA6B,KAA7B,6BAA6B,QAMjC"}
@@ -1,16 +1,9 @@
1
- import { z } from 'zod';
1
+ import type { ZephyrDependency } from './zephyr-build-stats';
2
2
  export declare const ZEPHYR_MANIFEST_VERSION = "1.0.0";
3
3
  export declare const ZEPHYR_MANIFEST_FILENAME = "zephyr-manifest.json";
4
- export declare const ZephyrManifestSchema: z.ZodObject<{
5
- version: z.ZodString;
6
- timestamp: z.ZodString;
7
- dependencies: z.ZodRecord<z.ZodString, z.ZodObject<{
8
- application_uid: z.ZodString;
9
- remote_entry_url: z.ZodString;
10
- default_url: z.ZodString;
11
- name: z.ZodString;
12
- library_type: z.ZodString;
13
- }, z.core.$strip>>;
14
- zeVars: z.ZodRecord<z.ZodString, z.ZodString>;
15
- }, z.core.$strip>;
16
- export type ZephyrManifest = z.infer<typeof ZephyrManifestSchema>;
4
+ export interface ZephyrManifest {
5
+ version: string;
6
+ timestamp: string;
7
+ dependencies: Record<string, ZephyrDependency>;
8
+ zeVars: Record<string, string>;
9
+ }
@@ -1,14 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ZephyrManifestSchema = exports.ZEPHYR_MANIFEST_FILENAME = exports.ZEPHYR_MANIFEST_VERSION = void 0;
4
- const zod_1 = require("zod");
5
- const zephyr_build_stats_1 = require("./zephyr-build-stats");
3
+ exports.ZEPHYR_MANIFEST_FILENAME = exports.ZEPHYR_MANIFEST_VERSION = void 0;
6
4
  exports.ZEPHYR_MANIFEST_VERSION = '1.0.0';
7
5
  exports.ZEPHYR_MANIFEST_FILENAME = 'zephyr-manifest.json';
8
- exports.ZephyrManifestSchema = zod_1.z.object({
9
- version: zod_1.z.string(),
10
- timestamp: zod_1.z.string(),
11
- dependencies: zod_1.z.record(zod_1.z.string(), zephyr_build_stats_1.ZephyrDependencySchema),
12
- zeVars: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
13
- });
14
6
  //# sourceMappingURL=zephyr-manifest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"zephyr-manifest.js","sourceRoot":"","sources":["../../src/lib/zephyr-manifest.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,6DAA8D;AAEjD,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAElD,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,2CAAsB,CAAC;IAC1D,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC;CACzC,CAAC,CAAC"}
1
+ {"version":3,"file":"zephyr-manifest.js","sourceRoot":"","sources":["../../src/lib/zephyr-manifest.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,wBAAwB,GAAG,sBAAsB,CAAC"}
package/dist/package.json CHANGED
@@ -21,8 +21,7 @@
21
21
  "test": "nx test zephyr-edge-contract"
22
22
  },
23
23
  "dependencies": {
24
- "tslib": "catalog:typescript",
25
- "zod": "^4.1.5"
24
+ "tslib": "catalog:typescript"
26
25
  },
27
26
  "devDependencies": {
28
27
  "@types/jest": "catalog:typescript",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.0-canary.10",
3
+ "version": "0.0.0-canary.11",
4
4
  "description": "Edge contract for Zephyr",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,8 +16,7 @@
16
16
  "main": "dist/index.js",
17
17
  "types": "dist/index.d.ts",
18
18
  "dependencies": {
19
- "tslib": "^2.8.1",
20
- "zod": "^4.1.5"
19
+ "tslib": "^2.8.1"
21
20
  },
22
21
  "devDependencies": {
23
22
  "@types/jest": "29.5.14",