@dovetail-v2/refine 0.1.5-alpha.1 → 0.1.5-alpha.2
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/{MonacoYamlDiffEditor-c5547070.js → MonacoYamlDiffEditor-d4280e1a.js} +1 -1
- package/dist/{index-152e54ea.js → index-ac7d0fe5.js} +6 -3
- package/dist/refine.js +4 -1
- package/dist/refine.umd.cjs +5 -2
- package/lib/src/index.d.ts +1 -0
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/schema.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8021,13 +8021,13 @@ function generateSchemaTypeValue(schema) {
|
|
|
8021
8021
|
}
|
|
8022
8022
|
function resolveRef(schema, schemas, options) {
|
|
8023
8023
|
var _a, _b;
|
|
8024
|
-
const { prune } = options;
|
|
8024
|
+
const { prune, prePath = "#/components/schemas/" } = options;
|
|
8025
8025
|
const kindObj = schema["x-kubernetes-group-version-kind"];
|
|
8026
8026
|
if (kindObj) {
|
|
8027
8027
|
schema.properties.kind = { const: kindObj[0].kind };
|
|
8028
8028
|
}
|
|
8029
8029
|
if (schema.$ref) {
|
|
8030
|
-
const refKey = schema.$ref.replace(
|
|
8030
|
+
const refKey = schema.$ref.replace(prePath, "");
|
|
8031
8031
|
Object.assign(schema, schemas[refKey]);
|
|
8032
8032
|
if (prune.metadata && [
|
|
8033
8033
|
"io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
|
|
@@ -37339,7 +37339,7 @@ const Separator = () => {
|
|
|
37339
37339
|
});
|
|
37340
37340
|
};
|
|
37341
37341
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
37342
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
37342
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-d4280e1a.js"));
|
|
37343
37343
|
const YamlEditorComponent = forwardRef(
|
|
37344
37344
|
function YamlEditorComponent2(props, ref) {
|
|
37345
37345
|
const {
|
|
@@ -39561,6 +39561,9 @@ export {
|
|
|
39561
39561
|
modelPlugin as cF,
|
|
39562
39562
|
RelationPlugin as cG,
|
|
39563
39563
|
relationPlugin as cH,
|
|
39564
|
+
generateValueFromSchema as cI,
|
|
39565
|
+
generateSchemaTypeValue as cJ,
|
|
39566
|
+
resolveRef as cK,
|
|
39564
39567
|
STORAGE_CLASS_INIT_VALUE as ca,
|
|
39565
39568
|
WorkloadState as cb,
|
|
39566
39569
|
AccessControlAuth as cc,
|
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { br, cc, A, aL, aN, av, bO, b1, X, c0, bQ, aF, J, C, i, cg, ay, b5, a6, ci, ab, ai, cr, an, bR, bP, cu, aB, bb, w, at, bh, ct, cd, bl, D, aS, bn, cs, a$, aJ, bu, cf, ch, b_, aw, ac, s, q, cj, I, b8, aI, t, bS, cl, aA, b7, aj, ao, ap, a2, aq, aM, au, bi, bm, a3, M, cE, b$, c9, bq, N, Y, e, aK, a0, bt, bd, bc, ck, bF, cz, g, cy, bU, H, a_, B, aW, z, aV, F, bG, aY, E, aX, G, bH, aZ, a4, cC, cB, P, b3, v, a7, aa, bE, b0, cp, co, aQ, b9, bN, bM, p, az, b2, x, ba, aR, cD, y, ce, bo, bv, bw, cG, ax, R, a9, ag, af, bp, ad, cq, bJ, ae, ak, h, c5, c8, c4, c3, c6, c7, c1, bV, bY, bZ, bX, bW, bT, ca, bx, aC, b6, ar, m, bA, l, aO, cx, o, bB, aP, n, aH, b4, k, cw, aE, aG, bL, bg, bf, bK, aD, S, bk, bj, cv, cA, aT, aU, be, c2, bI, bC, bD, a5, V, cn, a8, W, cm, ah, am, al, f, cb, as, by, K, Z, d, cF, a1, cH, $, _, r, a, c, O, L, Q, T, u, bs, U, bz, b } from "./index-
|
|
1
|
+
import { br, cc, A, aL, aN, av, bO, b1, X, c0, bQ, aF, J, C, i, cg, ay, b5, a6, ci, ab, ai, cr, an, bR, bP, cu, aB, bb, w, at, bh, ct, cd, bl, D, aS, bn, cs, a$, aJ, bu, cf, ch, b_, aw, ac, s, q, cj, I, b8, aI, t, bS, cl, aA, b7, aj, ao, ap, a2, aq, aM, au, bi, bm, a3, M, cE, b$, c9, bq, N, Y, e, aK, a0, bt, bd, bc, ck, bF, cz, g, cy, bU, H, a_, B, aW, z, aV, F, bG, aY, E, aX, G, bH, aZ, a4, cC, cB, P, b3, v, a7, aa, bE, b0, cp, co, aQ, b9, bN, bM, p, az, b2, x, ba, aR, cD, y, ce, bo, bv, bw, cG, ax, R, a9, ag, af, bp, ad, cq, bJ, ae, ak, h, c5, c8, c4, c3, c6, c7, c1, bV, bY, bZ, bX, bW, bT, ca, bx, aC, b6, ar, m, bA, l, aO, cx, o, bB, aP, n, aH, b4, k, cw, aE, aG, bL, bg, bf, bK, aD, S, bk, bj, cv, cA, aT, aU, be, c2, bI, bC, bD, a5, V, cn, a8, W, cm, ah, am, al, f, cb, as, by, K, Z, d, cJ, cI, cF, a1, cH, cK, $, _, r, a, c, O, L, Q, T, u, bs, U, bz, b } from "./index-ac7d0fe5.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "react";
|
|
@@ -223,9 +223,12 @@ export {
|
|
|
223
223
|
K as addDefaultRenderToColumns,
|
|
224
224
|
Z as dnsSubDomainRules,
|
|
225
225
|
d as dovetailRefineI18n,
|
|
226
|
+
cJ as generateSchemaTypeValue,
|
|
227
|
+
cI as generateValueFromSchema,
|
|
226
228
|
cF as modelPlugin,
|
|
227
229
|
a1 as namespaceRules,
|
|
228
230
|
cH as relationPlugin,
|
|
231
|
+
cK as resolveRef,
|
|
229
232
|
$ as rfc1035LabelRules,
|
|
230
233
|
_ as rfc1123LabelRules,
|
|
231
234
|
r as routerProvider,
|
package/dist/refine.umd.cjs
CHANGED
|
@@ -8027,13 +8027,13 @@ var __publicField = (obj, key, value) => {
|
|
|
8027
8027
|
}
|
|
8028
8028
|
function resolveRef(schema, schemas, options) {
|
|
8029
8029
|
var _a, _b;
|
|
8030
|
-
const { prune } = options;
|
|
8030
|
+
const { prune, prePath = "#/components/schemas/" } = options;
|
|
8031
8031
|
const kindObj = schema["x-kubernetes-group-version-kind"];
|
|
8032
8032
|
if (kindObj) {
|
|
8033
8033
|
schema.properties.kind = { const: kindObj[0].kind };
|
|
8034
8034
|
}
|
|
8035
8035
|
if (schema.$ref) {
|
|
8036
|
-
const refKey = schema.$ref.replace(
|
|
8036
|
+
const refKey = schema.$ref.replace(prePath, "");
|
|
8037
8037
|
Object.assign(schema, schemas[refKey]);
|
|
8038
8038
|
if (prune.metadata && [
|
|
8039
8039
|
"io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
|
|
@@ -39637,9 +39637,12 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
39637
39637
|
exports2.addDefaultRenderToColumns = addDefaultRenderToColumns;
|
|
39638
39638
|
exports2.dnsSubDomainRules = dnsSubDomainRules;
|
|
39639
39639
|
exports2.dovetailRefineI18n = dovetailRefineI18n;
|
|
39640
|
+
exports2.generateSchemaTypeValue = generateSchemaTypeValue;
|
|
39641
|
+
exports2.generateValueFromSchema = generateValueFromSchema;
|
|
39640
39642
|
exports2.modelPlugin = modelPlugin;
|
|
39641
39643
|
exports2.namespaceRules = namespaceRules;
|
|
39642
39644
|
exports2.relationPlugin = relationPlugin;
|
|
39645
|
+
exports2.resolveRef = resolveRef;
|
|
39643
39646
|
exports2.rfc1035LabelRules = rfc1035LabelRules;
|
|
39644
39647
|
exports2.rfc1123LabelRules = rfc1123LabelRules;
|
|
39645
39648
|
exports2.routerProvider = routerProvider;
|
package/lib/src/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './schema';
|