@dovetail-v2/refine 0.3.32 → 0.3.33
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/refine.cjs +2 -1
- package/dist/refine.js +2 -1
- package/package.json +1 -1
package/dist/refine.cjs
CHANGED
|
@@ -11353,7 +11353,7 @@ const useYamlForm = ({
|
|
|
11353
11353
|
ref: editor,
|
|
11354
11354
|
defaultValue: schema && (editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations) ? generateYamlBySchema(initialValues || {}, schema) : yaml$2.dump(initialValues),
|
|
11355
11355
|
schemas: schemas || emptySchemas,
|
|
11356
|
-
id: ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
|
|
11356
|
+
id: resource || ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
|
|
11357
11357
|
errorMsgs: finalErrors,
|
|
11358
11358
|
onValidate(yamlValid, schemaValid) {
|
|
11359
11359
|
setIsYamlValid(yamlValid);
|
|
@@ -11378,6 +11378,7 @@ const useYamlForm = ({
|
|
|
11378
11378
|
editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations,
|
|
11379
11379
|
initialValues,
|
|
11380
11380
|
schemas,
|
|
11381
|
+
resource,
|
|
11381
11382
|
(_a = useResourceResult.resource) == null ? void 0 : _a.name,
|
|
11382
11383
|
action,
|
|
11383
11384
|
finalErrors,
|
package/dist/refine.js
CHANGED
|
@@ -11334,7 +11334,7 @@ const useYamlForm = ({
|
|
|
11334
11334
|
ref: editor,
|
|
11335
11335
|
defaultValue: schema && (editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations) ? generateYamlBySchema(initialValues || {}, schema) : yaml$2.dump(initialValues),
|
|
11336
11336
|
schemas: schemas || emptySchemas,
|
|
11337
|
-
id: ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
|
|
11337
|
+
id: resource || ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
|
|
11338
11338
|
errorMsgs: finalErrors,
|
|
11339
11339
|
onValidate(yamlValid, schemaValid) {
|
|
11340
11340
|
setIsYamlValid(yamlValid);
|
|
@@ -11359,6 +11359,7 @@ const useYamlForm = ({
|
|
|
11359
11359
|
editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations,
|
|
11360
11360
|
initialValues,
|
|
11361
11361
|
schemas,
|
|
11362
|
+
resource,
|
|
11362
11363
|
(_a = useResourceResult.resource) == null ? void 0 : _a.name,
|
|
11363
11364
|
action,
|
|
11364
11365
|
finalErrors,
|