unmock-core
Version:
[][npmjs] [](https://circleci.com/gh/unmock/unmock-js) [](h
28 lines • 830 B
TypeScript
import { Schema } from "../interfaces";
export declare const TopLevelDSLKeys: {
[DSLKey: string]: (u: unknown) => boolean;
};
export interface ITopLevelDSL {
$code?: number | number[];
$times?: number;
[DSLKey: string]: any;
}
export declare const DSLKeys: string[];
export interface IDSL {
$size?: number;
[key: string]: number | string | boolean | undefined;
}
export declare type Props = Record<string, Schema>;
export interface IUnmockProperty {
[key: string]: {
type: string;
default: any;
};
}
export declare type Actor = (originalSchema: Schema) => {
parsed: Schema;
newState: Schema | undefined;
};
export declare type Translator = (state: any, schema: Schema) => any;
export declare type TopTranslator = (value: any) => any;
//# sourceMappingURL=interfaces.d.ts.map