1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.GraphQLSchemaBuilderModule = void 0;
|
4 | const tslib_1 = require("tslib");
|
5 | const common_1 = require("@nestjs/common");
|
6 | const inspector_1 = require("@nestjs/core/inspector");
|
7 | const factories_1 = require("./factories/factories");
|
8 | const graphql_schema_factory_1 = require("./graphql-schema.factory");
|
9 | const file_system_helper_1 = require("./helpers/file-system.helper");
|
10 | const orphaned_reference_registry_1 = require("./services/orphaned-reference.registry");
|
11 | const type_fields_accessor_1 = require("./services/type-fields.accessor");
|
12 | const type_mapper_service_1 = require("./services/type-mapper.service");
|
13 | const type_definitions_storage_1 = require("./storages/type-definitions.storage");
|
14 | const type_definitions_generator_1 = require("./type-definitions.generator");
|
15 | let GraphQLSchemaBuilderModule = class GraphQLSchemaBuilderModule {
|
16 | };
|
17 | exports.GraphQLSchemaBuilderModule = GraphQLSchemaBuilderModule;
|
18 | exports.GraphQLSchemaBuilderModule = GraphQLSchemaBuilderModule = tslib_1.__decorate([
|
19 | (0, common_1.Module)({
|
20 | providers: [
|
21 | ...factories_1.schemaBuilderFactories,
|
22 | graphql_schema_factory_1.GraphQLSchemaFactory,
|
23 | type_definitions_generator_1.TypeDefinitionsGenerator,
|
24 | file_system_helper_1.FileSystemHelper,
|
25 | type_definitions_storage_1.TypeDefinitionsStorage,
|
26 | type_mapper_service_1.TypeMapperService,
|
27 | type_fields_accessor_1.TypeFieldsAccessor,
|
28 | orphaned_reference_registry_1.OrphanedReferenceRegistry,
|
29 | ],
|
30 | exports: [graphql_schema_factory_1.GraphQLSchemaFactory, file_system_helper_1.FileSystemHelper],
|
31 | })
|
32 | ], GraphQLSchemaBuilderModule);
|
33 | inspector_1.InitializeOnPreviewAllowlist.add(GraphQLSchemaBuilderModule);
|