@payfit/unity-components
Version:
8 lines (7 loc) • 329 B
TypeScript
import { StandardSchema } from '../types/schema.js';
/**
* Creates the appropriate schema adapter based on the schema type
* @param schema - The schema object (Zod, Standard Schema, or null)
* @returns The appropriate schema adapter or null
*/
export declare function createSchemaAdapter(schema: any): StandardSchema | null;