UNPKG

@dpkit/core

Version:

Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames

9 lines (8 loc) 318 B
import { type Descriptor } from "../general/index.js"; import type { Resource } from "./Resource.js"; /** * Assert a Resource descriptor (JSON Object) against its profile */ export declare function assertResource(descriptorOrResource: Descriptor | Resource, options?: { basepath?: string; }): Promise<Resource>;