inferResource
inferResource(
resource,options?):Promise<{$schema?:string;bytes?:number;data?:unknown;description?:string;dialect?:string|Dialect;encoding?:string;format?:string;hash?:string;licenses?:License[];mediatype?:string;name:string;path?:string|string[];schema?:string|Schema;sources?:Source[];title?:string;type?:"table"; }>
Defined in: lib/build/resource/infer.d.ts:4
Parameters
Section titled “Parameters”resource
Section titled “resource”Partial<Resource>
options?
Section titled “options?”InferDialectOptions & InferSchemaOptions
Returns
Section titled “Returns”Promise<{ $schema?: string; bytes?: number; data?: unknown; description?: string; dialect?: string | Dialect; encoding?: string; format?: string; hash?: string; licenses?: License[]; mediatype?: string; name: string; path?: string | string[]; schema?: string | Schema; sources?: Source[]; title?: string; type?: "table"; }>