1 | import { DMMF } from './dmmf-types';
|
2 | import { Dictionary } from './utils/common';
|
3 | export declare class DMMFClass implements DMMF.Document {
|
4 | datamodel: DMMF.Datamodel;
|
5 | schema: DMMF.Schema;
|
6 | mappings: DMMF.Mapping[];
|
7 | queryType: DMMF.OutputType;
|
8 | mutationType: DMMF.OutputType;
|
9 | outputTypes: DMMF.OutputType[];
|
10 | outputTypeMap: Dictionary<DMMF.OutputType>;
|
11 | inputTypes: DMMF.InputType[];
|
12 | inputTypeMap: Dictionary<DMMF.InputType>;
|
13 | enumMap: Dictionary<DMMF.Enum>;
|
14 | modelMap: Dictionary<DMMF.Model>;
|
15 | mappingsMap: Dictionary<DMMF.Mapping>;
|
16 | rootFieldMap: Dictionary<DMMF.SchemaField>;
|
17 | constructor({ datamodel, schema, mappings }: DMMF.Document);
|
18 | protected outputTypeToMergedOutputType: (outputType: DMMF.OutputType) => DMMF.OutputType;
|
19 | protected resolveOutputTypes(types: DMMF.OutputType[]): void;
|
20 | protected resolveInputTypes(types: DMMF.InputType[]): void;
|
21 | protected resolveFieldArgumentTypes(types: DMMF.OutputType[], inputTypeMap: Dictionary<DMMF.InputType>): void;
|
22 | protected getQueryType(): DMMF.OutputType;
|
23 | protected getMutationType(): DMMF.OutputType;
|
24 | protected getOutputTypes(): DMMF.OutputType[];
|
25 | protected getEnumMap(): Dictionary<DMMF.Enum>;
|
26 | protected getModelMap(): Dictionary<DMMF.Model>;
|
27 | protected getMergedOutputTypeMap(): Dictionary<DMMF.OutputType>;
|
28 | protected getInputTypeMap(): Dictionary<DMMF.InputType>;
|
29 | protected getMappingsMap(): Dictionary<DMMF.Mapping>;
|
30 | protected getRootFieldMap(): Dictionary<DMMF.SchemaField>;
|
31 | }
|