mindee
Version:
Mindee Client Library for Node.js
19 lines (18 loc) • 495 B
TypeScript
import { StringDict } from "../../../../parsing/stringDict.js";
import { DataSchemaReplace } from "./dataSchemaReplace.js";
/**
* Modify the Data Schema.
*/
export declare class DataSchema {
/**
* If set, completely replaces the data schema of the model.
*/
replace?: DataSchemaReplace;
constructor(dataSchema: StringDict | string);
toJSON(): {
replace: {
fields: Record<string, unknown>[];
} | undefined;
};
toString(): string;
}