wrekenfile-converter
Version:
Convert OpenAPI and Postman specs into Wrekenfiles, with chunking for vector database storage
13 lines • 464 B
TypeScript
/**
* Shared type utilities for v2 converters
*/
/**
* Primitive type definition
*/
export type Primitive = 'STRING' | 'INT' | 'FLOAT' | 'BOOL' | 'TIMESTAMP' | 'DATE' | 'TIME' | 'NULL' | 'UNDEFINED' | 'VOID' | 'ANY' | 'OBJECT';
/**
* Map OpenAPI type and format to Wrekenfile primitive type
* Used by both OpenAPI v2 and v3 converters
*/
export declare function mapOpenApiType(type: any, format?: string): Primitive;
//# sourceMappingURL=type-utils.d.ts.map