every-plugin 0.4.11 → 0.4.13
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/build/rspack/index.cjs +2 -3
- package/dist/build/rspack/index.mjs +2 -3
- package/dist/errors-9sNpYLv5.d.mts +75 -0
- package/dist/{errors-BEsEPXKG.cjs → errors-CVnoPl9v.cjs} +2 -2
- package/dist/{errors-DnigICIv.mjs → errors-D7keKf7a.mjs} +2 -2
- package/dist/errors-DKPPPYYT.d.cts +75 -0
- package/dist/errors.cjs +2 -2
- package/dist/errors.d.cts +2 -1
- package/dist/errors.d.mts +2 -1
- package/dist/errors.mjs +2 -2
- package/dist/{index-BXfi8DqC.d.cts → index-matrPV4m.d.cts} +1 -1
- package/dist/{index-DvIxKA8K.d.mts → index-qxKsRmCb.d.mts} +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +4 -4
- package/dist/{normalize-BCE_FLe8.d.mts → normalize-BW7kk8Lk.d.cts} +1 -1
- package/dist/{normalize-Tt7I_RdD.d.cts → normalize-eB_j86fm.d.mts} +1 -1
- package/dist/{package-C2Mp8qeD.cjs → package-CMoV9xVN.cjs} +2 -2
- package/dist/{package-uEsV9Z-2.mjs → package-WZ0vKAyb.mjs} +2 -2
- package/dist/runtime/index.cjs +2 -2
- package/dist/runtime/index.d.cts +4 -3
- package/dist/runtime/index.d.mts +4 -3
- package/dist/runtime/index.mjs +2 -2
- package/dist/runtime/services/normalize.d.cts +1 -1
- package/dist/runtime/services/normalize.d.mts +1 -1
- package/dist/{runtime-BUQ0hy1J.mjs → runtime-B4AItsDQ.mjs} +3 -3
- package/dist/{runtime-LlP2xpdB.cjs → runtime-D5bSEcHa.cjs} +3 -3
- package/dist/testing/index.cjs +2 -2
- package/dist/testing/index.d.cts +5 -4
- package/dist/testing/index.d.mts +5 -4
- package/dist/testing/index.mjs +2 -2
- package/dist/zod-A7Pti5IV.d.cts +4 -0
- package/dist/zod-BVo51kgJ.mjs +10 -0
- package/dist/{zod-CJY4vNLR.cjs → zod-DYghWCz1.cjs} +2 -2
- package/dist/zod-Zw8dlP3j.d.mts +4 -0
- package/dist/zod.cjs +4 -4
- package/dist/zod.d.cts +2 -1
- package/dist/zod.d.mts +2 -1
- package/dist/zod.mjs +2 -2
- package/package.json +1 -1
- package/dist/errors-CpYzD_-M.d.cts +0 -38
- package/dist/errors-D2-thHKG.d.mts +0 -38
- package/dist/zod-BDDjyyHQ.mjs +0 -10
package/dist/testing/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as PluginRegistryTag, c as SecretsService, d as ModuleFederationError, i as PluginLoaderService, l as PluginLifecycleService, o as RegistryService, r as PluginService, s as SecretsConfigTag, t as PluginRuntime, u as ModuleFederationService } from "../runtime-
|
|
1
|
+
import { a as PluginRegistryTag, c as SecretsService, d as ModuleFederationError, i as PluginLoaderService, l as PluginLifecycleService, o as RegistryService, r as PluginService, s as SecretsConfigTag, t as PluginRuntime, u as ModuleFederationService } from "../runtime-B4AItsDQ.mjs";
|
|
2
2
|
import "../normalize-D7nae0Hn.mjs";
|
|
3
|
-
import "../package-
|
|
3
|
+
import "../package-WZ0vKAyb.mjs";
|
|
4
4
|
import { Effect, Layer, ManagedRuntime } from "effect";
|
|
5
5
|
|
|
6
6
|
//#region src/testing/mocks/module-federation.service.ts
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as import_zod from "zod";
|
|
2
|
+
//#endregion
|
|
3
|
+
export { import_zod as t };
|
|
4
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9kLUE3UHRpNUlWLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy96b2QudHMiXSwic291cmNlc0NvbnRlbnQiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { n as __reExport } from "./chunk-QQAxy9l9.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/zod.ts
|
|
4
|
+
var zod_exports = {};
|
|
5
|
+
import * as import_zod from "zod";
|
|
6
|
+
__reExport(zod_exports, import_zod);
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { zod_exports as t };
|
|
10
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9kLUJWbzUxa2dKLm1qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi9zcmMvem9kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCJ6b2RcIjtcbiJdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -2,7 +2,7 @@ const require_chunk = require('./chunk-zltIcp7o.cjs');
|
|
|
2
2
|
|
|
3
3
|
//#region src/zod.ts
|
|
4
4
|
var zod_exports = {};
|
|
5
|
-
require_chunk.__reExport(zod_exports, require("
|
|
5
|
+
require_chunk.__reExport(zod_exports, require("zod"));
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
Object.defineProperty(exports, 'zod_exports', {
|
|
@@ -11,4 +11,4 @@ Object.defineProperty(exports, 'zod_exports', {
|
|
|
11
11
|
return zod_exports;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9kLURZZ2hXQ3oxLmNqcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi9zcmMvem9kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCJ6b2RcIjtcbiJdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as import_zod from "zod";
|
|
2
|
+
//#endregion
|
|
3
|
+
export { import_zod as t };
|
|
4
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9kLVp3OGRsUDNqLmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy96b2QudHMiXSwic291cmNlc0NvbnRlbnQiOltdLCJtYXBwaW5ncyI6IiJ9
|
package/dist/zod.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const require_zod = require('./zod-
|
|
1
|
+
const require_zod = require('./zod-DYghWCz1.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
Object.keys(
|
|
4
|
+
var zod = require("zod");
|
|
5
|
+
Object.keys(zod).forEach(function (k) {
|
|
6
6
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function () { return
|
|
8
|
+
get: function () { return zod[k]; }
|
|
9
9
|
});
|
|
10
10
|
});
|
package/dist/zod.d.cts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "./zod-A7Pti5IV.cjs";
|
|
2
|
+
export * from "zod";
|
package/dist/zod.d.mts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "./zod-Zw8dlP3j.mjs";
|
|
2
|
+
export * from "zod";
|
package/dist/zod.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//#region src/errors.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Common error schemas for plugin contracts.
|
|
4
|
-
* Import these to ensure consistent error handling across plugins.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import { CommonPluginErrors } from "every-plugin/errors";
|
|
9
|
-
*
|
|
10
|
-
* export const contract = oc.router({
|
|
11
|
-
* getData: oc.route(...)
|
|
12
|
-
* .errors(CommonPluginErrors)
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
declare const CommonPluginErrors: {
|
|
17
|
-
readonly UNAUTHORIZED: {
|
|
18
|
-
readonly data: any;
|
|
19
|
-
};
|
|
20
|
-
readonly RATE_LIMITED: {
|
|
21
|
-
readonly data: any;
|
|
22
|
-
};
|
|
23
|
-
readonly SERVICE_UNAVAILABLE: {
|
|
24
|
-
readonly data: any;
|
|
25
|
-
};
|
|
26
|
-
readonly BAD_REQUEST: {
|
|
27
|
-
readonly data: any;
|
|
28
|
-
};
|
|
29
|
-
readonly NOT_FOUND: {
|
|
30
|
-
readonly data: any;
|
|
31
|
-
};
|
|
32
|
-
readonly FORBIDDEN: {
|
|
33
|
-
readonly data: any;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
export { CommonPluginErrors as t };
|
|
38
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLUNwWXpEXy1NLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy9lcnJvcnMudHMiXSwic291cmNlc0NvbnRlbnQiOltdLCJtYXBwaW5ncyI6Ijs7QUFnQkE7Ozs7Ozs7Ozs7Ozs7Y0FBYSJ9
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//#region src/errors.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Common error schemas for plugin contracts.
|
|
4
|
-
* Import these to ensure consistent error handling across plugins.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import { CommonPluginErrors } from "every-plugin/errors";
|
|
9
|
-
*
|
|
10
|
-
* export const contract = oc.router({
|
|
11
|
-
* getData: oc.route(...)
|
|
12
|
-
* .errors(CommonPluginErrors)
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
declare const CommonPluginErrors: {
|
|
17
|
-
readonly UNAUTHORIZED: {
|
|
18
|
-
readonly data: any;
|
|
19
|
-
};
|
|
20
|
-
readonly RATE_LIMITED: {
|
|
21
|
-
readonly data: any;
|
|
22
|
-
};
|
|
23
|
-
readonly SERVICE_UNAVAILABLE: {
|
|
24
|
-
readonly data: any;
|
|
25
|
-
};
|
|
26
|
-
readonly BAD_REQUEST: {
|
|
27
|
-
readonly data: any;
|
|
28
|
-
};
|
|
29
|
-
readonly NOT_FOUND: {
|
|
30
|
-
readonly data: any;
|
|
31
|
-
};
|
|
32
|
-
readonly FORBIDDEN: {
|
|
33
|
-
readonly data: any;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
export { CommonPluginErrors as t };
|
|
38
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLUQyLXRoSEtHLmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy9lcnJvcnMudHMiXSwic291cmNlc0NvbnRlbnQiOltdLCJtYXBwaW5ncyI6Ijs7QUFnQkE7Ozs7Ozs7Ozs7Ozs7Y0FBYSJ9
|
package/dist/zod-BDDjyyHQ.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { n as __reExport } from "./chunk-QQAxy9l9.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/zod.ts
|
|
4
|
-
var zod_exports = {};
|
|
5
|
-
import * as import___orpc_zod from "@orpc/zod";
|
|
6
|
-
__reExport(zod_exports, import___orpc_zod);
|
|
7
|
-
|
|
8
|
-
//#endregion
|
|
9
|
-
export { zod_exports as t };
|
|
10
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9kLUJERGp5eUhRLm1qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi9zcmMvem9kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHVzZSBAb3JwYy96b2QgdG8gYXZvaWQgdHlwZSBwb3J0YWJpbGl0eSBpc3N1ZXNcbmV4cG9ydCAqIGZyb20gXCJAb3JwYy96b2RcIjtcbiJdLCJtYXBwaW5ncyI6IiJ9
|