"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransformerResolver = exports.TransformerAuthBase = exports.TransformerPluginBase = exports.TransformerModelEnhancerBase = exports.TransformerModelBase = exports.getStrategyDbTypeFromModel = exports.getConnectionName = exports.getSubscriptionFilterInputName = exports.getConditionInputName = exports.getFilterInputName = exports.setResourceName = exports.normalizeDbType = exports.isSqlStrategy = exports.isSqlModel = exports.isSqlDbType = exports.isQueryNode = exports.isObjectTypeDefinitionNode = exports.isMutationNode = exports.isModelType = exports.isDynamoDbType = exports.isDynamoDbModel = exports.isDefaultDynamoDbModelDataSourceStrategy = exports.isBuiltInGraphqlNode = exports.isAmplifyDynamoDbModelDataSourceStrategy = exports.getTable = exports.getStrategyDbTypeFromTypeNode = exports.getSortKeyFieldNames = exports.getResourceNamesForStrategyName = exports.getResourceNamesForStrategy = exports.getResourceName = exports.getPrimaryKeyFields = exports.getParameterStoreSecretPath = exports.getModelDataSourceStrategy = exports.getKeySchema = exports.getImportedRDSTypeFromStrategyDbType = exports.getDefaultStrategyNameForDbType = exports.getModelDataSourceNameForTypeName = exports.generateGetArgumentsInput = exports.fieldsWithSqlDirective = exports.DirectiveWrapper = exports.collectDirectivesByTypeNames = exports.collectDirectives = exports.APICategory = exports.ConflictHandlerType = exports.validateModelSchema = exports.SyncUtils = exports.GraphQLTransform = exports.getModelTypeNames = exports.constructSqlDirectiveDataSourceStrategies = exports.constructDataSourceStrategies = void 0;
exports.ObjectDefinitionWrapper = exports.InputObjectDefinitionWrapper = exports.InputFieldWrapper = exports.FieldWrapper = exports.EnumWrapper = exports.MappingTemplate = exports.getAppSyncServiceExtraDirectives = exports.SQL_SCHEMA_FILE_NAME = exports.POSTGRES_DB_TYPE = exports.MYSQL_DB_TYPE = exports.ImportedRDSType = exports.DDB_DEFAULT_DATASOURCE_STRATEGY = exports.DDB_DB_TYPE = exports.DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY = exports.StackManager = void 0;
const graphql_1 = require("graphql");
const validation_1 = require("./transformation/validation");
var transformation_1 = require("./transformation");
Object.defineProperty(exports, "constructDataSourceStrategies", { enumerable: true, get: function () { return transformation_1.constructDataSourceStrategies; } });
Object.defineProperty(exports, "constructSqlDirectiveDataSourceStrategies", { enumerable: true, get: function () { return transformation_1.constructSqlDirectiveDataSourceStrategies; } });
Object.defineProperty(exports, "getModelTypeNames", { enumerable: true, get: function () { return transformation_1.getModelTypeNames; } });
Object.defineProperty(exports, "GraphQLTransform", { enumerable: true, get: function () { return transformation_1.GraphQLTransform; } });
Object.defineProperty(exports, "SyncUtils", { enumerable: true, get: function () { return transformation_1.SyncUtils; } });
var validation_2 = require("./transformation/validation");
Object.defineProperty(exports, "validateModelSchema", { enumerable: true, get: function () { return validation_2.validateModelSchema; } });
var index_1 = require("./config/index");
Object.defineProperty(exports, "ConflictHandlerType", { enumerable: true, get: function () { return index_1.ConflictHandlerType; } });
var utils_1 = require("./utils");
Object.defineProperty(exports, "APICategory", { enumerable: true, get: function () { return utils_1.APICategory; } });
Object.defineProperty(exports, "collectDirectives", { enumerable: true, get: function () { return utils_1.collectDirectives; } });
Object.defineProperty(exports, "collectDirectivesByTypeNames", { enumerable: true, get: function () { return utils_1.collectDirectivesByTypeNames; } });
Object.defineProperty(exports, "DirectiveWrapper", { enumerable: true, get: function () { return utils_1.DirectiveWrapper; } });
Object.defineProperty(exports, "fieldsWithSqlDirective", { enumerable: true, get: function () { return utils_1.fieldsWithSqlDirective; } });
Object.defineProperty(exports, "generateGetArgumentsInput", { enumerable: true, get: function () { return utils_1.generateGetArgumentsInput; } });
Object.defineProperty(exports, "getModelDataSourceNameForTypeName", { enumerable: true, get: function () { return utils_1.getModelDataSourceNameForTypeName; } });
Object.defineProperty(exports, "getDefaultStrategyNameForDbType", { enumerable: true, get: function () { return utils_1.getDefaultStrategyNameForDbType; } });
Object.defineProperty(exports, "getImportedRDSTypeFromStrategyDbType", { enumerable: true, get: function () { return utils_1.getImportedRDSTypeFromStrategyDbType; } });
Object.defineProperty(exports, "getKeySchema", { enumerable: true, get: function () { return utils_1.getKeySchema; } });
Object.defineProperty(exports, "getModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.getModelDataSourceStrategy; } });
Object.defineProperty(exports, "getParameterStoreSecretPath", { enumerable: true, get: function () { return utils_1.getParameterStoreSecretPath; } });
Object.defineProperty(exports, "getPrimaryKeyFields", { enumerable: true, get: function () { return utils_1.getPrimaryKeyFields; } });
Object.defineProperty(exports, "getResourceName", { enumerable: true, get: function () { return utils_1.getResourceName; } });
Object.defineProperty(exports, "getResourceNamesForStrategy", { enumerable: true, get: function () { return utils_1.getResourceNamesForStrategy; } });
Object.defineProperty(exports, "getResourceNamesForStrategyName", { enumerable: true, get: function () { return utils_1.getResourceNamesForStrategyName; } });
Object.defineProperty(exports, "getSortKeyFieldNames", { enumerable: true, get: function () { return utils_1.getSortKeyFieldNames; } });
Object.defineProperty(exports, "getStrategyDbTypeFromTypeNode", { enumerable: true, get: function () { return utils_1.getStrategyDbTypeFromTypeNode; } });
Object.defineProperty(exports, "getTable", { enumerable: true, get: function () { return utils_1.getTable; } });
Object.defineProperty(exports, "isAmplifyDynamoDbModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.isAmplifyDynamoDbModelDataSourceStrategy; } });
Object.defineProperty(exports, "isBuiltInGraphqlNode", { enumerable: true, get: function () { return utils_1.isBuiltInGraphqlNode; } });
Object.defineProperty(exports, "isDefaultDynamoDbModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.isDefaultDynamoDbModelDataSourceStrategy; } });
Object.defineProperty(exports, "isDynamoDbModel", { enumerable: true, get: function () { return utils_1.isDynamoDbModel; } });
Object.defineProperty(exports, "isDynamoDbType", { enumerable: true, get: function () { return utils_1.isDynamoDbType; } });
Object.defineProperty(exports, "isModelType", { enumerable: true, get: function () { return utils_1.isModelType; } });
Object.defineProperty(exports, "isMutationNode", { enumerable: true, get: function () { return utils_1.isMutationNode; } });
Object.defineProperty(exports, "isObjectTypeDefinitionNode", { enumerable: true, get: function () { return utils_1.isObjectTypeDefinitionNode; } });
Object.defineProperty(exports, "isQueryNode", { enumerable: true, get: function () { return utils_1.isQueryNode; } });
Object.defineProperty(exports, "isSqlDbType", { enumerable: true, get: function () { return utils_1.isSqlDbType; } });
Object.defineProperty(exports, "isSqlModel", { enumerable: true, get: function () { return utils_1.isSqlModel; } });
Object.defineProperty(exports, "isSqlStrategy", { enumerable: true, get: function () { return utils_1.isSqlStrategy; } });
Object.defineProperty(exports, "normalizeDbType", { enumerable: true, get: function () { return utils_1.normalizeDbType; } });
Object.defineProperty(exports, "setResourceName", { enumerable: true, get: function () { return utils_1.setResourceName; } });
Object.defineProperty(exports, "getFilterInputName", { enumerable: true, get: function () { return utils_1.getFilterInputName; } });
Object.defineProperty(exports, "getConditionInputName", { enumerable: true, get: function () { return utils_1.getConditionInputName; } });
Object.defineProperty(exports, "getSubscriptionFilterInputName", { enumerable: true, get: function () { return utils_1.getSubscriptionFilterInputName; } });
Object.defineProperty(exports, "getConnectionName", { enumerable: true, get: function () { return utils_1.getConnectionName; } });
Object.defineProperty(exports, "getStrategyDbTypeFromModel", { enumerable: true, get: function () { return utils_1.getStrategyDbTypeFromModel; } });
__exportStar(require("./utils/operation-names"), exports);
__exportStar(require("./errors"), exports);
var transformer_plugin_base_1 = require("./transformation/transformer-plugin-base");
Object.defineProperty(exports, "TransformerModelBase", { enumerable: true, get: function () { return transformer_plugin_base_1.TransformerModelBase; } });
Object.defineProperty(exports, "TransformerModelEnhancerBase", { enumerable: true, get: function () { return transformer_plugin_base_1.TransformerModelEnhancerBase; } });
Object.defineProperty(exports, "TransformerPluginBase", { enumerable: true, get: function () { return transformer_plugin_base_1.TransformerPluginBase; } });
Object.defineProperty(exports, "TransformerAuthBase", { enumerable: true, get: function () { return transformer_plugin_base_1.TransformerAuthBase; } });
var transformer_context_1 = require("./transformer-context");
Object.defineProperty(exports, "TransformerResolver", { enumerable: true, get: function () { return transformer_context_1.TransformerResolver; } });
Object.defineProperty(exports, "StackManager", { enumerable: true, get: function () { return transformer_context_1.StackManager; } });
var types_1 = require("./types");
Object.defineProperty(exports, "DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY", { enumerable: true, get: function () { return types_1.DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY; } });
Object.defineProperty(exports, "DDB_DB_TYPE", { enumerable: true, get: function () { return types_1.DDB_DB_TYPE; } });
Object.defineProperty(exports, "DDB_DEFAULT_DATASOURCE_STRATEGY", { enumerable: true, get: function () { return types_1.DDB_DEFAULT_DATASOURCE_STRATEGY; } });
Object.defineProperty(exports, "ImportedRDSType", { enumerable: true, get: function () { return types_1.ImportedRDSType; } });
Object.defineProperty(exports, "MYSQL_DB_TYPE", { enumerable: true, get: function () { return types_1.MYSQL_DB_TYPE; } });
Object.defineProperty(exports, "POSTGRES_DB_TYPE", { enumerable: true, get: function () { return types_1.POSTGRES_DB_TYPE; } });
Object.defineProperty(exports, "SQL_SCHEMA_FILE_NAME", { enumerable: true, get: function () { return types_1.SQL_SCHEMA_FILE_NAME; } });
const getAppSyncServiceExtraDirectives = () => {
    return (0, graphql_1.print)(validation_1.EXTRA_DIRECTIVES_DOCUMENT);
};
exports.getAppSyncServiceExtraDirectives = getAppSyncServiceExtraDirectives;
var cdk_compat_1 = require("./cdk-compat");
Object.defineProperty(exports, "MappingTemplate", { enumerable: true, get: function () { return cdk_compat_1.MappingTemplate; } });
var object_definition_wrapper_1 = require("./wrappers/object-definition-wrapper");
Object.defineProperty(exports, "EnumWrapper", { enumerable: true, get: function () { return object_definition_wrapper_1.EnumWrapper; } });
Object.defineProperty(exports, "FieldWrapper", { enumerable: true, get: function () { return object_definition_wrapper_1.FieldWrapper; } });
Object.defineProperty(exports, "InputFieldWrapper", { enumerable: true, get: function () { return object_definition_wrapper_1.InputFieldWrapper; } });
Object.defineProperty(exports, "InputObjectDefinitionWrapper", { enumerable: true, get: function () { return object_definition_wrapper_1.InputObjectDefinitionWrapper; } });
Object.defineProperty(exports, "ObjectDefinitionWrapper", { enumerable: true, get: function () { return object_definition_wrapper_1.ObjectDefinitionWrapper; } });
//# sourceMappingURL=index.js.map