@dpkit/core
Version:
Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames
13 lines (12 loc) • 355 B
TypeScript
import type { Descriptor } from "../descriptor/Descriptor.js";
import type { ProfileType } from "./registry.js";
export declare function validateProfile(descriptor: Descriptor, options?: {
path?: string;
type?: ProfileType;
}): Promise<{
errors: {
message: string;
}[];
valid: boolean;
profile: Descriptor | undefined;
}>;