zephyr-edge-contract 0.0.0-canary-20250820154410 → 0.0.0-canary-20250902114854
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/dist/index.d.ts +2 -3
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/edge-api/publish-request.d.ts +0 -5
- package/dist/lib/snapshot.d.ts +0 -4
- package/dist/lib/zephyr-build-stats.d.ts +0 -9
- package/dist/lib/zephyr-build-stats.js.map +1 -1
- package/package.json +1 -1
- package/dist/lib/zephyr-manifest.d.ts +0 -8
- package/dist/lib/zephyr-manifest.js +0 -5
- package/dist/lib/zephyr-manifest.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { PublishRequest, PublishTarget, StageZeroPublishRequest, } from './lib/edge-api/publish-request';
|
|
2
2
|
export type { ZeEnvs, ZeUploadBuildStats } from './lib/edge-api/ze-envs-request';
|
|
3
3
|
export type { ZephyrPluginOptions } from './lib/plugin-options/zephyr-webpack-plugin-options';
|
|
4
4
|
export * as ZeUtils from './lib/promise';
|
|
@@ -11,9 +11,8 @@ export type { ZeApplicationList } from './lib/ze-api/app-list';
|
|
|
11
11
|
export type { ZeAppVersion, ZeAppVersionResponse } from './lib/ze-api/app-version';
|
|
12
12
|
export type { ConvertedGraph } from './lib/ze-api/converted-graph';
|
|
13
13
|
export type { LocalPackageJson } from './lib/ze-api/local-package-json';
|
|
14
|
-
export type { ZephyrBuildStats
|
|
14
|
+
export type { ZephyrBuildStats } from './lib/zephyr-build-stats';
|
|
15
15
|
export type { Asset, SnapshotUploadRes, Source, UploadableAsset, ZeBuildAsset, ZeBuildAssetsMap, ZeUploadAssetsOptions, } from './lib/zephyr-edge-contract';
|
|
16
|
-
export { ZEPHYR_MANIFEST_VERSION, type ZephyrManifest } from './lib/zephyr-manifest';
|
|
17
16
|
export { ZE_API_ENDPOINT, ZE_API_ENDPOINT_HOST, ze_api_gateway, ZE_IS_PREVIEW, ZEPHYR_API_ENDPOINT, } from './lib/api-contract-negotiation/get-api-contract';
|
|
18
17
|
export { deferred, forEachLimit, isSuccessTuple, PromiseLazyLoad, PromiseTuple, PromiseWithResolvers, } from './lib/promise';
|
|
19
18
|
export { formatString, type FindTemplates } from './lib/string/string';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.stripAnsi = exports.formatString = exports.PromiseWithResolvers = exports.PromiseTuple = exports.PromiseLazyLoad = exports.isSuccessTuple = exports.forEachLimit = exports.deferred = exports.ZEPHYR_API_ENDPOINT = exports.ZE_IS_PREVIEW = exports.ze_api_gateway = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.
|
|
4
|
+
exports.stripAnsi = exports.formatString = exports.PromiseWithResolvers = exports.PromiseTuple = exports.PromiseLazyLoad = exports.isSuccessTuple = exports.forEachLimit = exports.deferred = exports.ZEPHYR_API_ENDPOINT = exports.ZE_IS_PREVIEW = exports.ze_api_gateway = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.safe_json_parse = exports.normalize_app_name = exports.flatCreateSnapshotId = exports.createSnapshotId = exports.createApplicationUid = exports.ZeUtils = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
exports.ZeUtils = tslib_1.__importStar(require("./lib/promise"));
|
|
7
7
|
var create_application_uid_1 = require("./lib/utils/create-application-uid");
|
|
@@ -13,8 +13,6 @@ var normalize_js_var_name_1 = require("./lib/utils/normalize-js-var-name");
|
|
|
13
13
|
Object.defineProperty(exports, "normalize_app_name", { enumerable: true, get: function () { return normalize_js_var_name_1.normalize_js_var_name; } });
|
|
14
14
|
var safe_json_parse_1 = require("./lib/utils/safe-json-parse");
|
|
15
15
|
Object.defineProperty(exports, "safe_json_parse", { enumerable: true, get: function () { return safe_json_parse_1.safe_json_parse; } });
|
|
16
|
-
var zephyr_manifest_1 = require("./lib/zephyr-manifest");
|
|
17
|
-
Object.defineProperty(exports, "ZEPHYR_MANIFEST_VERSION", { enumerable: true, get: function () { return zephyr_manifest_1.ZEPHYR_MANIFEST_VERSION; } });
|
|
18
16
|
// api contract negotiation
|
|
19
17
|
var get_api_contract_1 = require("./lib/api-contract-negotiation/get-api-contract");
|
|
20
18
|
Object.defineProperty(exports, "ZE_API_ENDPOINT", { enumerable: true, get: function () { return get_api_contract_1.ZE_API_ENDPOINT; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;;AAW1B,iEAAyC;AAEzC,6EAA0E;AAAjE,8HAAA,oBAAoB,OAAA;AAC7B,qEAAwF;AAA/E,sHAAA,gBAAgB,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC/C,2EAAgG;AAAvF,2HAAA,qBAAqB,OAAsB;AACpD,+DAA8D;AAArD,kHAAA,eAAe,OAAA;AAgBxB,2BAA2B;AAC3B,oFAMyD;AALvD,mHAAA,eAAe,OAAA;AACf,wHAAA,oBAAoB,OAAA;AACpB,kHAAA,cAAc,OAAA;AACd,iHAAA,aAAa,OAAA;AACb,uHAAA,mBAAmB,OAAA;AAGrB,wBAAwB;AACxB,yCAOuB;AANrB,mGAAA,QAAQ,OAAA;AACR,uGAAA,YAAY,OAAA;AACZ,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,uGAAA,YAAY,OAAA;AACZ,+GAAA,oBAAoB,OAAA;AAGtB,uBAAuB;AACvB,8CAAuE;AAA9D,sGAAA,YAAY,OAAA;AACrB,sDAAoD;AAA3C,uGAAA,SAAS,OAAA"}
|
package/dist/lib/snapshot.d.ts
CHANGED
|
@@ -28,10 +28,6 @@ export interface Snapshot {
|
|
|
28
28
|
remotes?: Record<string, string>;
|
|
29
29
|
shared?: Record<string, unknown>;
|
|
30
30
|
};
|
|
31
|
-
zephyrManifest?: {
|
|
32
|
-
filename: string;
|
|
33
|
-
remotes?: string[];
|
|
34
|
-
};
|
|
35
31
|
assets: Record<string, SnapshotAsset>;
|
|
36
32
|
}
|
|
37
33
|
export interface SnapshotAsset {
|
|
@@ -117,8 +117,6 @@ export interface ZephyrBuildStats {
|
|
|
117
117
|
build_target?: string;
|
|
118
118
|
/** @deprecated */
|
|
119
119
|
type: unknown;
|
|
120
|
-
/** Resolved zephyr dependencies */
|
|
121
|
-
zephyrDependencies?: Record<string, ZephyrDependency>;
|
|
122
120
|
}
|
|
123
121
|
declare enum DeploymentIntegrationPlatform {
|
|
124
122
|
CLOUDFLARE = "cloudflare",
|
|
@@ -127,13 +125,6 @@ declare enum DeploymentIntegrationPlatform {
|
|
|
127
125
|
AZURE = "azure",
|
|
128
126
|
GCP = "gcp"
|
|
129
127
|
}
|
|
130
|
-
export interface ZephyrDependency {
|
|
131
|
-
application_uid: string;
|
|
132
|
-
remote_entry_url: string;
|
|
133
|
-
default_url: string;
|
|
134
|
-
name: string;
|
|
135
|
-
library_type: string;
|
|
136
|
-
}
|
|
137
128
|
export interface RawDependency {
|
|
138
129
|
name: string;
|
|
139
130
|
version: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;
|
|
1
|
+
{"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;AAiI1B,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"}
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ZephyrDependency } from './zephyr-build-stats';
|
|
2
|
-
export declare const ZEPHYR_MANIFEST_VERSION = "1.0.0";
|
|
3
|
-
/** Changes to this interface should be semanticaly reflect on the const above; */
|
|
4
|
-
export interface ZephyrManifest {
|
|
5
|
-
version: typeof ZEPHYR_MANIFEST_VERSION;
|
|
6
|
-
timestamp: string;
|
|
7
|
-
dependencies: Record<string, ZephyrDependency>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zephyr-manifest.js","sourceRoot":"","sources":["../../src/lib/zephyr-manifest.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,OAAO,CAAC"}
|