frontend-plugin-api: stop exporting createSchemaFromZod

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-08-19 14:48:50 +02:00
parent af5796f5c3
commit 9727678a7b
2 changed files with 1 additions and 3 deletions
@@ -20,8 +20,7 @@ import zodToJsonSchema from 'zod-to-json-schema';
import { PortableSchema } from './types';
/**
* @public
* @deprecated Use the `config.schema` option of `createExtension` instead, or use `createExtensionBlueprint`.
* @internal
*/
export function createSchemaFromZod<TOutput, TInput>(
schemaCreator: (zImpl: typeof z) => ZodSchema<TOutput, ZodTypeDef, TInput>,
@@ -14,5 +14,4 @@
* limitations under the License.
*/
export { createSchemaFromZod } from './createSchemaFromZod';
export { type PortableSchema } from './types';