@kubb/plugin-zod 3.0.0-alpha.11 → 3.0.0-alpha.12
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/{chunk-Z5LNW4XC.js → chunk-BWE5OHCP.js} +11 -11
- package/dist/chunk-BWE5OHCP.js.map +1 -0
- package/dist/{chunk-WDPKVCXH.cjs → chunk-N2VGLM33.cjs} +11 -11
- package/dist/chunk-N2VGLM33.cjs.map +1 -0
- package/dist/components.cjs +5 -5
- package/dist/components.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.js +2 -2
- package/package.json +12 -12
- package/dist/chunk-WDPKVCXH.cjs.map +0 -1
- package/dist/chunk-Z5LNW4XC.js.map +0 -1
|
@@ -2555,9 +2555,9 @@ var SchemaGenerator2 = class extends SchemaGenerator {
|
|
|
2555
2555
|
logger: pluginManager.logger
|
|
2556
2556
|
});
|
|
2557
2557
|
const tree = this.parse({ schema, name });
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
);
|
|
2558
|
+
const Component = () => /* @__PURE__ */ jsx(App, { pluginManager, plugin: { ...plugin, options }, mode, children: /* @__PURE__ */ jsx(Oas, { oas, children: /* @__PURE__ */ jsx(Oas.Schema, { name, value: schema, tree, children: /* @__PURE__ */ jsx(Schema.File, {}) }) }) });
|
|
2559
|
+
Component.displayName = pascalCase(name);
|
|
2560
|
+
root.render(/* @__PURE__ */ jsx(Component, {}));
|
|
2561
2561
|
return root.files;
|
|
2562
2562
|
}
|
|
2563
2563
|
};
|
|
@@ -2676,9 +2676,9 @@ var OperationGenerator = class extends OperationGenerator$1 {
|
|
|
2676
2676
|
const root = createRoot({
|
|
2677
2677
|
logger: pluginManager.logger
|
|
2678
2678
|
});
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
);
|
|
2679
|
+
const Component = () => /* @__PURE__ */ jsx(App, { pluginManager, plugin, mode, children: /* @__PURE__ */ jsx(Oas, { oas, operations, generator: this, children: plugin.options.oasType && /* @__PURE__ */ jsx(OasType.File, { name: "oas", typeName: "Oas" }) }) });
|
|
2680
|
+
Component.displayName = pascalCase("operations");
|
|
2681
|
+
root.render(/* @__PURE__ */ jsx(Component, {}));
|
|
2682
2682
|
return root.files;
|
|
2683
2683
|
}
|
|
2684
2684
|
async operation(operation, options) {
|
|
@@ -2686,9 +2686,9 @@ var OperationGenerator = class extends OperationGenerator$1 {
|
|
|
2686
2686
|
const root = createRoot({
|
|
2687
2687
|
logger: pluginManager.logger
|
|
2688
2688
|
});
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
);
|
|
2689
|
+
const Component = () => /* @__PURE__ */ jsx(App, { pluginManager, plugin: { ...plugin, options }, mode, children: /* @__PURE__ */ jsx(Oas, { oas, operations: [operation], generator: this, children: /* @__PURE__ */ jsx(Oas.Operation, { operation, children: /* @__PURE__ */ jsx(OperationSchema.File, {}) }) }) });
|
|
2690
|
+
Component.displayName = pascalCase(operation.getOperationId());
|
|
2691
|
+
root.render(/* @__PURE__ */ jsx(Component, {}));
|
|
2692
2692
|
return root.files;
|
|
2693
2693
|
}
|
|
2694
2694
|
};
|
|
@@ -3427,5 +3427,5 @@ react/cjs/react.development.js:
|
|
|
3427
3427
|
*/
|
|
3428
3428
|
|
|
3429
3429
|
export { OperationSchema2 as OperationSchema, Operations, Schema2 as Schema, init_esm_shims, pluginZod, pluginZodName };
|
|
3430
|
-
//# sourceMappingURL=chunk-
|
|
3431
|
-
//# sourceMappingURL=chunk-
|
|
3430
|
+
//# sourceMappingURL=chunk-BWE5OHCP.js.map
|
|
3431
|
+
//# sourceMappingURL=chunk-BWE5OHCP.js.map
|