UNPKG

1.06 kBTypeScriptView Raw
1import { ModulesContainer } from '@nestjs/core';
2import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
3import { ScalarsTypeMap } from '../interfaces';
4import { GqlModuleOptions } from '../interfaces/gql-module-options.interface';
5import { BaseExplorerService } from './base-explorer.service';
6export declare class ScalarsExplorerService extends BaseExplorerService {
7 private readonly modulesContainer;
8 private readonly gqlOptions;
9 constructor(modulesContainer: ModulesContainer, gqlOptions: GqlModuleOptions);
10 explore(): unknown[];
11 filterSchemaFirstScalar<T extends Record<string, Function | string> = any>(wrapper: InstanceWrapper<T>): {
12 [x: string]: import("graphql").GraphQLScalarType<unknown, unknown>;
13 };
14 getScalarsMap(): ScalarsTypeMap[];
15 filterCodeFirstScalar<T extends Record<string, Function | string> = any>(wrapper: InstanceWrapper<T>): {
16 type: any;
17 scalar: import("graphql").GraphQLScalarType<unknown, unknown>;
18 };
19}
20//# sourceMappingURL=scalars-explorer.service.d.ts.map
\No newline at end of file