mongodb-schema
Version:
Infer the probabilistic schema for a MongoDB collection.
7 lines (6 loc) • 299 B
TypeScript
/// <reference types="node" />
import { Schema as InternalSchema } from '../schema-analyzer';
import { type ExpandedJSONSchema } from '../types';
export declare function convertInternalToExpanded(internalSchema: InternalSchema, options?: {
signal?: AbortSignal;
}): Promise<ExpandedJSONSchema>;