From 4366ba767da133ced81ceb5bff2ee706417f9e4d Mon Sep 17 00:00:00 2001 From: Neil Gentleman Date: Wed, 17 May 2023 12:35:18 -0700 Subject: [PATCH] commonjs can import from .js just as well --- jest.config.ts | 3 + src/generator/args-class.ts | 2 - src/generator/generate-code.ts | 31 +- src/generator/generate-enhance.ts | 28 +- src/generator/imports.ts | 117 +- src/generator/model-type-class.ts | 8 +- src/generator/resolvers/full-crud.ts | 17 +- src/generator/resolvers/relations.ts | 5 +- src/generator/resolvers/separate-action.ts | 11 +- src/generator/type-class.ts | 10 +- tests/regression/__snapshots__/crud.ts.snap | 1106 ++--- .../__snapshots__/emit-only.ts.snap | 122 +- .../regression/__snapshots__/enhance.ts.snap | 50 +- tests/regression/__snapshots__/enums.ts.snap | 54 +- .../__snapshots__/generate-scalars.ts.snap | 18 +- tests/regression/__snapshots__/inputs.ts.snap | 4212 ++++++++--------- tests/regression/__snapshots__/models.ts.snap | 66 +- tests/regression/__snapshots__/omit.ts.snap | 332 +- .../regression/__snapshots__/outputs.ts.snap | 226 +- .../__snapshots__/relations.ts.snap | 230 +- 20 files changed, 3261 insertions(+), 3387 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 0e09a2dc3..d45ab9767 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -14,6 +14,9 @@ const config: Config.InitialOptions = { }, ], }, + moduleNameMapper: { + "^(\\.{1,2}/.*)\\.js$": "$1", + }, testMatch: ["/tests/**/*.ts"], testPathIgnorePatterns: [ "/tests/helpers", diff --git a/src/generator/args-class.ts b/src/generator/args-class.ts index 7626db046..041d4ab6f 100644 --- a/src/generator/args-class.ts +++ b/src/generator/args-class.ts @@ -34,7 +34,6 @@ export default function generateArgsTypeClassFromArgs( generateGraphQLScalarsImport(sourceFile); generateInputsImports( sourceFile, - dmmfDocument.options, fields .map(arg => arg.selectedInputType) .filter(argInputType => argInputType.location === "inputObjectTypes") @@ -43,7 +42,6 @@ export default function generateArgsTypeClassFromArgs( ); generateEnumsImports( sourceFile, - dmmfDocument.options, fields .map(field => field.selectedInputType) .filter(argType => argType.location === "enumTypes") diff --git a/src/generator/generate-code.ts b/src/generator/generate-code.ts index 3dd736b20..2d27ca33a 100644 --- a/src/generator/generate-code.ts +++ b/src/generator/generate-code.ts @@ -125,11 +125,7 @@ export default async function generateCode( undefined, { overwrite: true }, ); - generateEnumsBarrelFile( - enumsBarrelExportSourceFile, - dmmfDocument.options, - emittedEnumNames, - ); + generateEnumsBarrelFile(enumsBarrelExportSourceFile, emittedEnumNames); } if (dmmfDocument.shouldGenerateBlock("models")) { @@ -153,7 +149,6 @@ export default async function generateCode( ); generateModelsBarrelFile( modelsBarrelExportSourceFile, - dmmfDocument.options, dmmfDocument.datamodel.models.map(it => it.typeName), ); } @@ -194,7 +189,6 @@ export default async function generateCode( ); generateOutputsBarrelFile( outputsBarrelExportSourceFile, - dmmfDocument.options, outputTypesToGenerate.map(it => it.typeName), outputTypesFieldsArgsToGenerate.length > 0, ); @@ -224,7 +218,6 @@ export default async function generateCode( ); generateArgsBarrelFile( outputsArgsBarrelExportSourceFile, - dmmfDocument.options, outputTypesFieldsArgsToGenerate.map(it => it.argsTypeName!), ); } @@ -247,7 +240,6 @@ export default async function generateCode( ); generateInputsBarrelFile( inputsBarrelExportSourceFile, - dmmfDocument.options, dmmfDocument.schema.inputTypes.map(it => it.typeName), ); } @@ -278,7 +270,6 @@ export default async function generateCode( ); generateResolversBarrelFile( relationResolversBarrelExportSourceFile, - dmmfDocument.options, dmmfDocument.relationModels.map(relationModel => ({ resolverName: relationModel.resolverName, modelName: relationModel.model.typeName, @@ -314,11 +305,7 @@ export default async function generateCode( undefined, { overwrite: true }, ); - generateArgsBarrelFile( - barrelExportSourceFile, - dmmfDocument.options, - argTypeNames, - ); + generateArgsBarrelFile(barrelExportSourceFile, argTypeNames); } }); @@ -341,7 +328,6 @@ export default async function generateCode( ); generateArgsIndexFile( relationResolversArgsIndexSourceFile, - dmmfDocument.options, relationModelsWithArgs.map( relationModelData => relationModelData.model.typeName, ), @@ -359,7 +345,6 @@ export default async function generateCode( ); generateResolversIndexFile( relationResolversIndexSourceFile, - dmmfDocument.options, "relations", relationModelsWithArgs.length > 0, ); @@ -417,7 +402,6 @@ export default async function generateCode( ); generateResolversBarrelFile( crudResolversBarrelExportSourceFile, - dmmfDocument.options, generateMappingData, ); const crudResolversActionsBarrelExportSourceFile = project.createSourceFile( @@ -432,7 +416,6 @@ export default async function generateCode( ); generateResolversActionsBarrelFile( crudResolversActionsBarrelExportSourceFile, - dmmfDocument.options, generateMappingData, ); const crudResolversIndexSourceFile = project.createSourceFile( @@ -445,12 +428,7 @@ export default async function generateCode( undefined, { overwrite: true }, ); - generateResolversIndexFile( - crudResolversIndexSourceFile, - dmmfDocument.options, - "crud", - true, - ); + generateResolversIndexFile(crudResolversIndexSourceFile, "crud", true); log("Generating crud resolvers args..."); dmmfDocument.modelMappings.forEach(async mapping => { @@ -484,7 +462,6 @@ export default async function generateCode( ); generateArgsBarrelFile( barrelExportSourceFile, - dmmfDocument.options, actionsWithArgs.map(it => it.argsTypeName!), ); } @@ -501,7 +478,6 @@ export default async function generateCode( ); generateArgsIndexFile( crudResolversArgsIndexSourceFile, - dmmfDocument.options, dmmfDocument.modelMappings .filter(mapping => mapping.actions.some(it => it.argsTypeName !== undefined), @@ -550,7 +526,6 @@ export default async function generateCode( ); generateIndexFile( indexSourceFile, - dmmfDocument.options, dmmfDocument.relationModels.length > 0, dmmfDocument.options.blocksToEmit, ); diff --git a/src/generator/generate-enhance.ts b/src/generator/generate-enhance.ts index f9dfd15ea..bc5b0cd3d 100644 --- a/src/generator/generate-enhance.ts +++ b/src/generator/generate-enhance.ts @@ -42,15 +42,11 @@ export function generateEnhanceMap( if (dmmfDocument.shouldGenerateBlock("crudResolvers")) { sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/resolvers-crud.index${ - dmmfDocument.options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/resolvers-crud.index.js`, namespaceImport: "crudResolvers", }); sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/args.index${ - dmmfDocument.options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/args.index.js`, namespaceImport: "argsTypes", }); sourceFile.addVariableStatement({ @@ -71,9 +67,7 @@ export function generateEnhanceMap( trailingTrivia: "\r\n", }); sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/resolvers-actions.index${ - dmmfDocument.options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/resolvers-actions.index.js`, namespaceImport: "actionResolvers", }); sourceFile.addVariableStatement({ @@ -243,9 +237,7 @@ export function generateEnhanceMap( if (hasRelations && dmmfDocument.shouldGenerateBlock("relationResolvers")) { sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${relationsResolversFolderName}/resolvers.index${ - dmmfDocument.options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${relationsResolversFolderName}/resolvers.index.js`, namespaceImport: "relationResolvers", }); sourceFile.addVariableStatement({ @@ -375,9 +367,7 @@ export function generateEnhanceMap( if (dmmfDocument.shouldGenerateBlock("models")) { sourceFile.addImportDeclaration({ - moduleSpecifier: `./${modelsFolderName}${ - dmmfDocument.options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${modelsFolderName}/index.js`, namespaceImport: "models", }); sourceFile.addVariableStatement({ @@ -445,9 +435,7 @@ export function generateEnhanceMap( if (dmmfDocument.shouldGenerateBlock("outputs")) { sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${outputsFolderName}${ - dmmfDocument.options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${outputsFolderName}/index.js`, namespaceImport: "outputTypes", }); sourceFile.addVariableStatement({ @@ -509,9 +497,7 @@ export function generateEnhanceMap( if (dmmfDocument.shouldGenerateBlock("inputs")) { sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${inputsFolderName}${ - dmmfDocument.options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${inputsFolderName}/index.js`, namespaceImport: "inputTypes", }); sourceFile.addVariableStatement({ diff --git a/src/generator/imports.ts b/src/generator/imports.ts index 50f37e06a..92a882251 100644 --- a/src/generator/imports.ts +++ b/src/generator/imports.ts @@ -56,34 +56,20 @@ export function generateGraphQLScalarTypeImport(sourceFile: SourceFile) { }); } -export function generateCustomScalarsImport( - sourceFile: SourceFile, - options: GeneratorOptions, - level = 0, -) { +export function generateCustomScalarsImport(sourceFile: SourceFile, level = 0) { sourceFile.addImportDeclaration({ moduleSpecifier: (level === 0 ? "./" : "") + - path.posix.join( - ...Array(level).fill(".."), - `scalars${options.emitESM ? ".js" : ""}`, - ), + path.posix.join(...Array(level).fill(".."), `scalars.js`), namedImports: ["DecimalJSScalar"], }); } -export function generateHelpersFileImport( - sourceFile: SourceFile, - options: GeneratorOptions, - level = 0, -) { +export function generateHelpersFileImport(sourceFile: SourceFile, level = 0) { sourceFile.addImportDeclaration({ moduleSpecifier: (level === 0 ? "./" : "") + - path.posix.join( - ...Array(level).fill(".."), - `helpers${options.emitESM ? ".js" : ""}`, - ), + path.posix.join(...Array(level).fill(".."), `helpers.js`), namedImports: [ "transformInfoIntoPrismaArgs", "getPrismaFromContext", @@ -111,14 +97,13 @@ export function generatePrismaNamespaceImport( export function generateArgsBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, argsTypeNames: string[], ) { sourceFile.addExportDeclarations( argsTypeNames .sort() .map>(argTypeName => ({ - moduleSpecifier: `./${argTypeName}${options.emitESM ? ".js" : ""}`, + moduleSpecifier: `./${argTypeName}.js`, namedExports: [argTypeName], })), ); @@ -126,30 +111,26 @@ export function generateArgsBarrelFile( export function generateArgsIndexFile( sourceFile: SourceFile, - options: GeneratorOptions, typeNames: string[], ) { sourceFile.addExportDeclarations( typeNames .sort() .map>(typeName => ({ - moduleSpecifier: `./${typeName}/args${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${typeName}/args/index.js`, })), ); } export function generateModelsBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, modelNames: string[], ) { sourceFile.addExportDeclarations( modelNames .sort() .map>(modelName => ({ - moduleSpecifier: `./${modelName}${options.emitESM ? ".js" : ""}`, + moduleSpecifier: `./${modelName}.js`, namedExports: [modelName], })), ); @@ -157,14 +138,13 @@ export function generateModelsBarrelFile( export function generateEnumsBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, enumTypeNames: string[], ) { sourceFile.addExportDeclarations( enumTypeNames .sort() .map>(enumTypeName => ({ - moduleSpecifier: `./${enumTypeName}${options.emitESM ? ".js" : ""}`, + moduleSpecifier: `./${enumTypeName}.js`, namedExports: [enumTypeName], })), ); @@ -172,14 +152,13 @@ export function generateEnumsBarrelFile( export function generateInputsBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, inputTypeNames: string[], ) { sourceFile.addExportDeclarations( inputTypeNames .sort() .map>(inputTypeName => ({ - moduleSpecifier: `./${inputTypeName}${options.emitESM ? ".js" : ""}`, + moduleSpecifier: `./${inputTypeName}.js`, namedExports: [inputTypeName], })), ); @@ -187,7 +166,6 @@ export function generateInputsBarrelFile( export function generateOutputsBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, outputTypeNames: string[], hasSomeArgs: boolean, ) { @@ -195,7 +173,7 @@ export function generateOutputsBarrelFile( outputTypeNames .sort() .map>(outputTypeName => ({ - moduleSpecifier: `./${outputTypeName}${options.emitESM ? ".js" : ""}`, + moduleSpecifier: `./${outputTypeName}.js`, namedExports: [outputTypeName], })), ); @@ -206,34 +184,25 @@ export function generateOutputsBarrelFile( export function generateIndexFile( sourceFile: SourceFile, - options: GeneratorOptions, hasSomeRelations: boolean, blocksToEmit: EmitBlockKind[], ) { if (blocksToEmit.includes("enums")) { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${enumsFolderName}${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${enumsFolderName}/index.js`, }); } if (blocksToEmit.includes("models")) { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${modelsFolderName}${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${modelsFolderName}/index.js`, }); } if (blocksToEmit.includes("crudResolvers")) { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/index.js`, }); sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/resolvers-crud.index${ - options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${crudResolversFolderName}/resolvers-crud.index.js`, namespaceImport: "crudResolversImport", }); sourceFile.addVariableStatement({ @@ -250,14 +219,10 @@ export function generateIndexFile( } if (hasSomeRelations && blocksToEmit.includes("relationResolvers")) { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${relationsResolversFolderName}${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${relationsResolversFolderName}/index.js`, }); sourceFile.addImportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${relationsResolversFolderName}/resolvers.index${ - options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${relationsResolversFolderName}/resolvers.index.js`, namespaceImport: "relationResolversImport", }); sourceFile.addVariableStatement({ @@ -274,22 +239,18 @@ export function generateIndexFile( } if (blocksToEmit.includes("inputs")) { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${inputsFolderName}${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${inputsFolderName}/index.js`, }); } if (blocksToEmit.includes("outputs")) { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${resolversFolderName}/${outputsFolderName}${ - options.emitESM ? "/index.js" : "" - }`, + moduleSpecifier: `./${resolversFolderName}/${outputsFolderName}/index.js`, }); } sourceFile.addExportDeclarations([ - { moduleSpecifier: `./enhance${options.emitESM ? ".js" : ""}` }, - { moduleSpecifier: `./scalars${options.emitESM ? ".js" : ""}` }, + { moduleSpecifier: `./enhance.js` }, + { moduleSpecifier: `./scalars.js` }, ]); sourceFile.addImportDeclarations([ { @@ -323,7 +284,6 @@ export function generateIndexFile( export function generateResolversBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, resolversData: GenerateMappingData[], ) { resolversData @@ -332,16 +292,13 @@ export function generateResolversBarrelFile( ) .forEach(({ modelName, resolverName }) => { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${modelName}/${resolverName}${ - options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${modelName}/${resolverName}.js`, namedExports: [resolverName], }); }); } export function generateResolversActionsBarrelFile( sourceFile: SourceFile, - options: GeneratorOptions, resolversData: GenerateMappingData[], ) { resolversData @@ -352,9 +309,7 @@ export function generateResolversActionsBarrelFile( if (actionResolverNames) { actionResolverNames.forEach(actionResolverName => { sourceFile.addExportDeclaration({ - moduleSpecifier: `./${modelName}/${actionResolverName}${ - options.emitESM ? ".js" : "" - }`, + moduleSpecifier: `./${modelName}/${actionResolverName}.js`, namedExports: [actionResolverName], }); }); @@ -364,32 +319,21 @@ export function generateResolversActionsBarrelFile( export function generateResolversIndexFile( sourceFile: SourceFile, - options: GeneratorOptions, type: "crud" | "relations", hasSomeArgs: boolean, ) { if (type === "crud") { sourceFile.addExportDeclarations([ - { - moduleSpecifier: `./resolvers-actions.index${ - options.emitESM ? ".js" : "" - }`, - }, - { - moduleSpecifier: `./resolvers-crud.index${ - options.emitESM ? ".js" : "" - }`, - }, + { moduleSpecifier: `./resolvers-actions.index.js` }, + { moduleSpecifier: `./resolvers-crud.index.js` }, ]); } else { sourceFile.addExportDeclarations([ - { moduleSpecifier: `./resolvers.index${options.emitESM ? ".js" : ""}` }, + { moduleSpecifier: `./resolvers.index.js` }, ]); } if (hasSomeArgs) { - sourceFile.addExportDeclarations([ - { moduleSpecifier: `./args.index${options.emitESM ? ".js" : ""}` }, - ]); + sourceFile.addExportDeclarations([{ moduleSpecifier: `./args.index.js` }]); } } @@ -403,12 +347,7 @@ export const generateResolversOutputsImports = createImportGenerator( ); export const generateArgsImports = createImportGenerator(argsFolderName); function createImportGenerator(elementsDirName: string) { - return ( - sourceFile: SourceFile, - options: GeneratorOptions, - elementsNames: string[], - level = 1, - ) => { + return (sourceFile: SourceFile, elementsNames: string[], level = 1) => { const distinctElementsNames = [...new Set(elementsNames)].sort(); for (const elementName of distinctElementsNames) { sourceFile.addImportDeclaration({ @@ -417,7 +356,7 @@ function createImportGenerator(elementsDirName: string) { path.posix.join( ...Array(level).fill(".."), elementsDirName, - `${elementName}${options.emitESM ? ".js" : ""}`, + `${elementName}.js`, ), // TODO: refactor to default exports // defaultImport: elementName, diff --git a/src/generator/model-type-class.ts b/src/generator/model-type-class.ts index 0ac80cf64..d6d99b033 100644 --- a/src/generator/model-type-class.ts +++ b/src/generator/model-type-class.ts @@ -37,10 +37,9 @@ export default function generateObjectTypeClassFromModel( generateTypeGraphQLImport(sourceFile); generateGraphQLScalarsImport(sourceFile); generatePrismaNamespaceImport(sourceFile, dmmfDocument.options, 1); - generateCustomScalarsImport(sourceFile, dmmfDocument.options, 1); + generateCustomScalarsImport(sourceFile, 1); generateModelsImports( sourceFile, - dmmfDocument.options, model.fields .filter(field => field.location === "outputObjectTypes") .filter(field => field.type !== model.name) @@ -52,7 +51,6 @@ export default function generateObjectTypeClassFromModel( ); generateEnumsImports( sourceFile, - dmmfDocument.options, model.fields .filter(field => field.location === "enumTypes") .map(field => field.type), @@ -63,9 +61,7 @@ export default function generateObjectTypeClassFromModel( countField !== undefined && dmmfDocument.shouldGenerateBlock("crudResolvers"); if (shouldEmitCountField) { - generateResolversOutputsImports(sourceFile, dmmfDocument.options, [ - countField.typeGraphQLType, - ]); + generateResolversOutputsImports(sourceFile, [countField.typeGraphQLType]); } sourceFile.addClass({ diff --git a/src/generator/resolvers/full-crud.ts b/src/generator/resolvers/full-crud.ts index 8467e876b..c5d265939 100644 --- a/src/generator/resolvers/full-crud.ts +++ b/src/generator/resolvers/full-crud.ts @@ -38,13 +38,12 @@ export default function generateCrudResolverClassFromMapping( generateGraphQLInfoImport(sourceFile); generateArgsImports( sourceFile, - dmmfDocument.options, mapping.actions .filter(it => it.argsTypeName !== undefined) .map(it => it.argsTypeName!), 0, ); - generateHelpersFileImport(sourceFile, dmmfDocument.options, 3); + generateHelpersFileImport(sourceFile, 3); const distinctOutputTypesNames = [ ...new Set(mapping.actions.map(it => it.outputTypeName)), @@ -55,18 +54,8 @@ export default function generateCrudResolverClassFromMapping( const otherOutputTypeNames = distinctOutputTypesNames.filter( typeName => !dmmfDocument.isModelTypeName(typeName), ); - generateModelsImports( - sourceFile, - dmmfDocument.options, - modelOutputTypeNames, - 3, - ); - generateOutputsImports( - sourceFile, - dmmfDocument.options, - otherOutputTypeNames, - 2, - ); + generateModelsImports(sourceFile, modelOutputTypeNames, 3); + generateOutputsImports(sourceFile, otherOutputTypeNames, 2); sourceFile.addClass({ name: mapping.resolverName, diff --git a/src/generator/resolvers/relations.ts b/src/generator/resolvers/relations.ts index cbd24561c..60f20392c 100644 --- a/src/generator/resolvers/relations.ts +++ b/src/generator/resolvers/relations.ts @@ -57,7 +57,6 @@ export default function generateRelationsResolverClassesFromModel( generateGraphQLInfoImport(sourceFile); generateModelsImports( sourceFile, - dmmfDocument.options, [...relationFields.map(field => field.type), model.typeName], 3, ); @@ -65,8 +64,8 @@ export default function generateRelationsResolverClassesFromModel( const argTypeNames = relationFields .filter(it => it.argsTypeName !== undefined) .map(it => it.argsTypeName!); - generateArgsImports(sourceFile, dmmfDocument.options, argTypeNames, 0); - generateHelpersFileImport(sourceFile, dmmfDocument.options, 3); + generateArgsImports(sourceFile, argTypeNames, 0); + generateHelpersFileImport(sourceFile, 3); sourceFile.addClass({ name: resolverName, diff --git a/src/generator/resolvers/separate-action.ts b/src/generator/resolvers/separate-action.ts index 1bd9578bd..ffc0b9a3e 100644 --- a/src/generator/resolvers/separate-action.ts +++ b/src/generator/resolvers/separate-action.ts @@ -39,16 +39,10 @@ export default function generateActionResolverClass( generateTypeGraphQLImport(sourceFile); generateGraphQLInfoImport(sourceFile); if (action.argsTypeName) { - generateArgsImports( - sourceFile, - dmmfDocument.options, - [action.argsTypeName], - 0, - ); + generateArgsImports(sourceFile, [action.argsTypeName], 0); } generateModelsImports( sourceFile, - dmmfDocument.options, [model.typeName, action.outputTypeName].filter(typeName => dmmfDocument.isModelTypeName(typeName), ), @@ -56,13 +50,12 @@ export default function generateActionResolverClass( ); generateOutputsImports( sourceFile, - dmmfDocument.options, [action.outputTypeName].filter( typeName => !dmmfDocument.isModelTypeName(typeName), ), 2, ); - generateHelpersFileImport(sourceFile, dmmfDocument.options, 3); + generateHelpersFileImport(sourceFile, 3); sourceFile.addClass({ name: action.actionResolverName, diff --git a/src/generator/type-class.ts b/src/generator/type-class.ts index e27c0cfb6..6e9af7ee1 100644 --- a/src/generator/type-class.ts +++ b/src/generator/type-class.ts @@ -43,11 +43,10 @@ export function generateOutputTypeClassFromType( generateTypeGraphQLImport(sourceFile); generateGraphQLScalarsImport(sourceFile); generatePrismaNamespaceImport(sourceFile, dmmfDocument.options, 2); - generateCustomScalarsImport(sourceFile, dmmfDocument.options, 2); - generateArgsImports(sourceFile, dmmfDocument.options, fieldArgsTypeNames, 0); + generateCustomScalarsImport(sourceFile, 2); + generateArgsImports(sourceFile, fieldArgsTypeNames, 0); generateOutputsImports( sourceFile, - dmmfDocument.options, type.fields .filter(field => field.outputType.location === "outputObjectTypes") .map(field => field.outputType.type), @@ -55,7 +54,6 @@ export function generateOutputTypeClassFromType( ); generateEnumsImports( sourceFile, - dmmfDocument.options, type.fields .map(field => field.outputType) .filter(fieldType => fieldType.location === "enumTypes") @@ -163,10 +161,9 @@ export function generateInputTypeClassFromType( generateTypeGraphQLImport(sourceFile); generateGraphQLScalarsImport(sourceFile); generatePrismaNamespaceImport(sourceFile, options, 2); - generateCustomScalarsImport(sourceFile, options, 2); + generateCustomScalarsImport(sourceFile, 2); generateInputsImports( sourceFile, - options, inputType.fields .filter(field => field.selectedInputType.location === "inputObjectTypes") .map(field => field.selectedInputType.type) @@ -174,7 +171,6 @@ export function generateInputTypeClassFromType( ); generateEnumsImports( sourceFile, - options, inputType.fields .map(field => field.selectedInputType) .filter(fieldType => fieldType.location === "enumTypes") diff --git a/tests/regression/__snapshots__/crud.ts.snap b/tests/regression/__snapshots__/crud.ts.snap index dc497534e..4693aaa69 100644 --- a/tests/regression/__snapshots__/crud.ts.snap +++ b/tests/regression/__snapshots__/crud.ts.snap @@ -3,10 +3,10 @@ exports[`crud should properly generate actions resolver classes for prisma model: CreateManyUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class CreateManyUserResolver { @@ -27,9 +27,9 @@ export class CreateManyUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: CreateOneUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class CreateOneUserResolver { @@ -50,10 +50,10 @@ export class CreateOneUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: DeleteManyUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class DeleteManyUserResolver { @@ -74,9 +74,9 @@ export class DeleteManyUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: DeleteOneUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class DeleteOneUserResolver { @@ -97,9 +97,9 @@ export class DeleteOneUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: FindFirstUserOrThrowResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindFirstUserOrThrowResolver { @@ -120,9 +120,9 @@ export class FindFirstUserOrThrowResolver { exports[`crud should properly generate actions resolver classes for prisma model: FindFirstUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindFirstUserResolver { @@ -143,9 +143,9 @@ export class FindFirstUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: FindManyUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindManyUserArgs } from \\"./args/FindManyUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindManyUserArgs } from \\"./args/FindManyUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindManyUserResolver { @@ -166,9 +166,9 @@ export class FindManyUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: FindUniqueUserOrThrowResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindUniqueUserOrThrowResolver { @@ -189,9 +189,9 @@ export class FindUniqueUserOrThrowResolver { exports[`crud should properly generate actions resolver classes for prisma model: FindUniqueUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindUniqueUserResolver { @@ -212,10 +212,10 @@ export class FindUniqueUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: GroupByUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { GroupByUserArgs } from \\"./args/GroupByUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { UserGroupBy } from \\"../../outputs/UserGroupBy\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { GroupByUserArgs } from \\"./args/GroupByUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserGroupBy } from \\"../../outputs/UserGroupBy.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class GroupByUserResolver { @@ -236,19 +236,19 @@ export class GroupByUserResolver { `; exports[`crud should properly generate actions resolver classes for prisma model: Index 1`] = ` -"export * from \\"./resolvers-actions.index\\"; -export * from \\"./resolvers-crud.index\\"; -export * from \\"./args.index\\"; +"export * from \\"./resolvers-actions.index.js\\"; +export * from \\"./resolvers-crud.index.js\\"; +export * from \\"./args.index.js\\"; " `; exports[`crud should properly generate actions resolver classes for prisma model: UpdateManyUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UpdateManyUserResolver { @@ -269,9 +269,9 @@ export class UpdateManyUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: UpdateOneUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UpdateOneUserResolver { @@ -292,9 +292,9 @@ export class UpdateOneUserResolver { exports[`crud should properly generate actions resolver classes for prisma model: UpsertOneUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UpsertOneUserResolver { @@ -313,39 +313,39 @@ export class UpsertOneUserResolver { `; exports[`crud should properly generate actions resolver classes for prisma model: actionsIndex 1`] = ` -"export { AggregateUserResolver } from \\"./User/AggregateUserResolver\\"; -export { CreateManyUserResolver } from \\"./User/CreateManyUserResolver\\"; -export { CreateOneUserResolver } from \\"./User/CreateOneUserResolver\\"; -export { DeleteManyUserResolver } from \\"./User/DeleteManyUserResolver\\"; -export { DeleteOneUserResolver } from \\"./User/DeleteOneUserResolver\\"; -export { FindFirstUserResolver } from \\"./User/FindFirstUserResolver\\"; -export { FindFirstUserOrThrowResolver } from \\"./User/FindFirstUserOrThrowResolver\\"; -export { FindManyUserResolver } from \\"./User/FindManyUserResolver\\"; -export { FindUniqueUserResolver } from \\"./User/FindUniqueUserResolver\\"; -export { FindUniqueUserOrThrowResolver } from \\"./User/FindUniqueUserOrThrowResolver\\"; -export { GroupByUserResolver } from \\"./User/GroupByUserResolver\\"; -export { UpdateManyUserResolver } from \\"./User/UpdateManyUserResolver\\"; -export { UpdateOneUserResolver } from \\"./User/UpdateOneUserResolver\\"; -export { UpsertOneUserResolver } from \\"./User/UpsertOneUserResolver\\"; +"export { AggregateUserResolver } from \\"./User/AggregateUserResolver.js\\"; +export { CreateManyUserResolver } from \\"./User/CreateManyUserResolver.js\\"; +export { CreateOneUserResolver } from \\"./User/CreateOneUserResolver.js\\"; +export { DeleteManyUserResolver } from \\"./User/DeleteManyUserResolver.js\\"; +export { DeleteOneUserResolver } from \\"./User/DeleteOneUserResolver.js\\"; +export { FindFirstUserResolver } from \\"./User/FindFirstUserResolver.js\\"; +export { FindFirstUserOrThrowResolver } from \\"./User/FindFirstUserOrThrowResolver.js\\"; +export { FindManyUserResolver } from \\"./User/FindManyUserResolver.js\\"; +export { FindUniqueUserResolver } from \\"./User/FindUniqueUserResolver.js\\"; +export { FindUniqueUserOrThrowResolver } from \\"./User/FindUniqueUserOrThrowResolver.js\\"; +export { GroupByUserResolver } from \\"./User/GroupByUserResolver.js\\"; +export { UpdateManyUserResolver } from \\"./User/UpdateManyUserResolver.js\\"; +export { UpdateOneUserResolver } from \\"./User/UpdateOneUserResolver.js\\"; +export { UpsertOneUserResolver } from \\"./User/UpsertOneUserResolver.js\\"; " `; exports[`crud should properly generate actions resolver classes for prisma model: argsIndex 1`] = ` -"export * from \\"./User/args\\"; +"export * from \\"./User/args/index.js\\"; " `; exports[`crud should properly generate actions resolver classes for prisma model: crudIndex 1`] = ` -"export { UserCrudResolver } from \\"./User/UserCrudResolver\\"; +"export { UserCrudResolver } from \\"./User/UserCrudResolver.js\\"; " `; exports[`crud should properly generate args classes for every method of crud resolver: AggregateUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class AggregateUserArgs { @@ -380,7 +380,7 @@ export class AggregateUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: CreateManyUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserCreateManyInput } from \\"../../../inputs/UserCreateManyInput\\"; +import { UserCreateManyInput } from \\"../../../inputs/UserCreateManyInput.js\\"; @TypeGraphQL.ArgsType() export class CreateManyUserArgs { @@ -400,7 +400,7 @@ export class CreateManyUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: CreateOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserCreateInput } from \\"../../../inputs/UserCreateInput\\"; +import { UserCreateInput } from \\"../../../inputs/UserCreateInput.js\\"; @TypeGraphQL.ArgsType() export class CreateOneUserArgs { @@ -415,7 +415,7 @@ export class CreateOneUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: DeleteManyUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; @TypeGraphQL.ArgsType() export class DeleteManyUserArgs { @@ -430,7 +430,7 @@ export class DeleteManyUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: DeleteOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class DeleteOneUserArgs { @@ -445,10 +445,10 @@ export class DeleteOneUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: FindFirstUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; -import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum\\"; +import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; +import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindFirstUserArgs { @@ -488,10 +488,10 @@ export class FindFirstUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: FindFirstUserOrThrowArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; -import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum\\"; +import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; +import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindFirstUserOrThrowArgs { @@ -531,10 +531,10 @@ export class FindFirstUserOrThrowArgs { exports[`crud should properly generate args classes for every method of crud resolver: FindManyUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; -import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum\\"; +import { UserOrderByWithRelationInput } from \\"../../../inputs/UserOrderByWithRelationInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; +import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindManyUserArgs { @@ -574,7 +574,7 @@ export class FindManyUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: FindUniqueUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class FindUniqueUserArgs { @@ -589,7 +589,7 @@ export class FindUniqueUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: FindUniqueUserOrThrowArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class FindUniqueUserOrThrowArgs { @@ -604,10 +604,10 @@ export class FindUniqueUserOrThrowArgs { exports[`crud should properly generate args classes for every method of crud resolver: GroupByUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserOrderByWithAggregationInput } from \\"../../../inputs/UserOrderByWithAggregationInput\\"; -import { UserScalarWhereWithAggregatesInput } from \\"../../../inputs/UserScalarWhereWithAggregatesInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; -import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum\\"; +import { UserOrderByWithAggregationInput } from \\"../../../inputs/UserOrderByWithAggregationInput.js\\"; +import { UserScalarWhereWithAggregatesInput } from \\"../../../inputs/UserScalarWhereWithAggregatesInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; +import { UserScalarFieldEnum } from \\"../../../../enums/UserScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class GroupByUserArgs { @@ -645,28 +645,28 @@ export class GroupByUserArgs { `; exports[`crud should properly generate args classes for every method of crud resolver: Index 1`] = ` -"export { AggregateUserArgs } from \\"./AggregateUserArgs\\"; -export { CreateManyUserArgs } from \\"./CreateManyUserArgs\\"; -export { CreateOneUserArgs } from \\"./CreateOneUserArgs\\"; -export { DeleteManyUserArgs } from \\"./DeleteManyUserArgs\\"; -export { DeleteOneUserArgs } from \\"./DeleteOneUserArgs\\"; -export { FindFirstUserArgs } from \\"./FindFirstUserArgs\\"; -export { FindFirstUserOrThrowArgs } from \\"./FindFirstUserOrThrowArgs\\"; -export { FindManyUserArgs } from \\"./FindManyUserArgs\\"; -export { FindUniqueUserArgs } from \\"./FindUniqueUserArgs\\"; -export { FindUniqueUserOrThrowArgs } from \\"./FindUniqueUserOrThrowArgs\\"; -export { GroupByUserArgs } from \\"./GroupByUserArgs\\"; -export { UpdateManyUserArgs } from \\"./UpdateManyUserArgs\\"; -export { UpdateOneUserArgs } from \\"./UpdateOneUserArgs\\"; -export { UpsertOneUserArgs } from \\"./UpsertOneUserArgs\\"; +"export { AggregateUserArgs } from \\"./AggregateUserArgs.js\\"; +export { CreateManyUserArgs } from \\"./CreateManyUserArgs.js\\"; +export { CreateOneUserArgs } from \\"./CreateOneUserArgs.js\\"; +export { DeleteManyUserArgs } from \\"./DeleteManyUserArgs.js\\"; +export { DeleteOneUserArgs } from \\"./DeleteOneUserArgs.js\\"; +export { FindFirstUserArgs } from \\"./FindFirstUserArgs.js\\"; +export { FindFirstUserOrThrowArgs } from \\"./FindFirstUserOrThrowArgs.js\\"; +export { FindManyUserArgs } from \\"./FindManyUserArgs.js\\"; +export { FindUniqueUserArgs } from \\"./FindUniqueUserArgs.js\\"; +export { FindUniqueUserOrThrowArgs } from \\"./FindUniqueUserOrThrowArgs.js\\"; +export { GroupByUserArgs } from \\"./GroupByUserArgs.js\\"; +export { UpdateManyUserArgs } from \\"./UpdateManyUserArgs.js\\"; +export { UpdateOneUserArgs } from \\"./UpdateOneUserArgs.js\\"; +export { UpsertOneUserArgs } from \\"./UpsertOneUserArgs.js\\"; " `; exports[`crud should properly generate args classes for every method of crud resolver: UpdateManyUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserUpdateManyMutationInput } from \\"../../../inputs/UserUpdateManyMutationInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; +import { UserUpdateManyMutationInput } from \\"../../../inputs/UserUpdateManyMutationInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; @TypeGraphQL.ArgsType() export class UpdateManyUserArgs { @@ -686,8 +686,8 @@ export class UpdateManyUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: UpdateOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserUpdateInput } from \\"../../../inputs/UserUpdateInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserUpdateInput } from \\"../../../inputs/UserUpdateInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class UpdateOneUserArgs { @@ -707,9 +707,9 @@ export class UpdateOneUserArgs { exports[`crud should properly generate args classes for every method of crud resolver: UpsertOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserCreateInput } from \\"../../../inputs/UserCreateInput\\"; -import { UserUpdateInput } from \\"../../../inputs/UserUpdateInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserCreateInput } from \\"../../../inputs/UserCreateInput.js\\"; +import { UserUpdateInput } from \\"../../../inputs/UserUpdateInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class UpsertOneUserArgs { @@ -734,10 +734,10 @@ export class UpsertOneUserArgs { exports[`crud should properly generate args classes for group by action using aggregate input: GroupBySampleArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { SampleOrderByWithAggregationInput } from \\"../../../inputs/SampleOrderByWithAggregationInput\\"; -import { SampleScalarWhereWithAggregatesInput } from \\"../../../inputs/SampleScalarWhereWithAggregatesInput\\"; -import { SampleWhereInput } from \\"../../../inputs/SampleWhereInput\\"; -import { SampleScalarFieldEnum } from \\"../../../../enums/SampleScalarFieldEnum\\"; +import { SampleOrderByWithAggregationInput } from \\"../../../inputs/SampleOrderByWithAggregationInput.js\\"; +import { SampleScalarWhereWithAggregatesInput } from \\"../../../inputs/SampleScalarWhereWithAggregatesInput.js\\"; +import { SampleWhereInput } from \\"../../../inputs/SampleWhereInput.js\\"; +import { SampleScalarFieldEnum } from \\"../../../../enums/SampleScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class GroupBySampleArgs { @@ -777,9 +777,9 @@ export class GroupBySampleArgs { exports[`crud should properly generate args classes for sorting by many-to-many relation fields: AggregateFirstModelArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { FirstModelOrderByWithRelationInput } from \\"../../../inputs/FirstModelOrderByWithRelationInput\\"; -import { FirstModelWhereInput } from \\"../../../inputs/FirstModelWhereInput\\"; -import { FirstModelWhereUniqueInput } from \\"../../../inputs/FirstModelWhereUniqueInput\\"; +import { FirstModelOrderByWithRelationInput } from \\"../../../inputs/FirstModelOrderByWithRelationInput.js\\"; +import { FirstModelWhereInput } from \\"../../../inputs/FirstModelWhereInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../../../inputs/FirstModelWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class AggregateFirstModelArgs { @@ -814,10 +814,10 @@ export class AggregateFirstModelArgs { exports[`crud should properly generate args classes for sorting by many-to-many relation fields: FindFirstFirstModelArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { FirstModelOrderByWithRelationInput } from \\"../../../inputs/FirstModelOrderByWithRelationInput\\"; -import { FirstModelWhereInput } from \\"../../../inputs/FirstModelWhereInput\\"; -import { FirstModelWhereUniqueInput } from \\"../../../inputs/FirstModelWhereUniqueInput\\"; -import { FirstModelScalarFieldEnum } from \\"../../../../enums/FirstModelScalarFieldEnum\\"; +import { FirstModelOrderByWithRelationInput } from \\"../../../inputs/FirstModelOrderByWithRelationInput.js\\"; +import { FirstModelWhereInput } from \\"../../../inputs/FirstModelWhereInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../../../inputs/FirstModelWhereUniqueInput.js\\"; +import { FirstModelScalarFieldEnum } from \\"../../../../enums/FirstModelScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindFirstFirstModelArgs { @@ -857,10 +857,10 @@ export class FindFirstFirstModelArgs { exports[`crud should properly generate args classes for sorting by many-to-many relation fields: FindManyFirstModelArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { FirstModelOrderByWithRelationInput } from \\"../../../inputs/FirstModelOrderByWithRelationInput\\"; -import { FirstModelWhereInput } from \\"../../../inputs/FirstModelWhereInput\\"; -import { FirstModelWhereUniqueInput } from \\"../../../inputs/FirstModelWhereUniqueInput\\"; -import { FirstModelScalarFieldEnum } from \\"../../../../enums/FirstModelScalarFieldEnum\\"; +import { FirstModelOrderByWithRelationInput } from \\"../../../inputs/FirstModelOrderByWithRelationInput.js\\"; +import { FirstModelWhereInput } from \\"../../../inputs/FirstModelWhereInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../../../inputs/FirstModelWhereUniqueInput.js\\"; +import { FirstModelScalarFieldEnum } from \\"../../../../enums/FirstModelScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindManyFirstModelArgs { @@ -898,29 +898,29 @@ export class FindManyFirstModelArgs { `; exports[`crud should properly generate args classes for sorting by many-to-many relation fields: index 1`] = ` -"export { AggregateFirstModelArgs } from \\"./AggregateFirstModelArgs\\"; -export { CreateManyFirstModelArgs } from \\"./CreateManyFirstModelArgs\\"; -export { CreateOneFirstModelArgs } from \\"./CreateOneFirstModelArgs\\"; -export { DeleteManyFirstModelArgs } from \\"./DeleteManyFirstModelArgs\\"; -export { DeleteOneFirstModelArgs } from \\"./DeleteOneFirstModelArgs\\"; -export { FindFirstFirstModelArgs } from \\"./FindFirstFirstModelArgs\\"; -export { FindFirstFirstModelOrThrowArgs } from \\"./FindFirstFirstModelOrThrowArgs\\"; -export { FindManyFirstModelArgs } from \\"./FindManyFirstModelArgs\\"; -export { FindUniqueFirstModelArgs } from \\"./FindUniqueFirstModelArgs\\"; -export { FindUniqueFirstModelOrThrowArgs } from \\"./FindUniqueFirstModelOrThrowArgs\\"; -export { GroupByFirstModelArgs } from \\"./GroupByFirstModelArgs\\"; -export { UpdateManyFirstModelArgs } from \\"./UpdateManyFirstModelArgs\\"; -export { UpdateOneFirstModelArgs } from \\"./UpdateOneFirstModelArgs\\"; -export { UpsertOneFirstModelArgs } from \\"./UpsertOneFirstModelArgs\\"; +"export { AggregateFirstModelArgs } from \\"./AggregateFirstModelArgs.js\\"; +export { CreateManyFirstModelArgs } from \\"./CreateManyFirstModelArgs.js\\"; +export { CreateOneFirstModelArgs } from \\"./CreateOneFirstModelArgs.js\\"; +export { DeleteManyFirstModelArgs } from \\"./DeleteManyFirstModelArgs.js\\"; +export { DeleteOneFirstModelArgs } from \\"./DeleteOneFirstModelArgs.js\\"; +export { FindFirstFirstModelArgs } from \\"./FindFirstFirstModelArgs.js\\"; +export { FindFirstFirstModelOrThrowArgs } from \\"./FindFirstFirstModelOrThrowArgs.js\\"; +export { FindManyFirstModelArgs } from \\"./FindManyFirstModelArgs.js\\"; +export { FindUniqueFirstModelArgs } from \\"./FindUniqueFirstModelArgs.js\\"; +export { FindUniqueFirstModelOrThrowArgs } from \\"./FindUniqueFirstModelOrThrowArgs.js\\"; +export { GroupByFirstModelArgs } from \\"./GroupByFirstModelArgs.js\\"; +export { UpdateManyFirstModelArgs } from \\"./UpdateManyFirstModelArgs.js\\"; +export { UpdateOneFirstModelArgs } from \\"./UpdateOneFirstModelArgs.js\\"; +export { UpsertOneFirstModelArgs } from \\"./UpsertOneFirstModelArgs.js\\"; " `; exports[`crud should properly generate args classes for sorting by one-to-many relation fields: AggregateSecondModelArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput\\"; -import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput\\"; -import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput\\"; +import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput.js\\"; +import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput.js\\"; +import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class AggregateSecondModelArgs { @@ -955,10 +955,10 @@ export class AggregateSecondModelArgs { exports[`crud should properly generate args classes for sorting by one-to-many relation fields: FindFirstSecondModelArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput\\"; -import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput\\"; -import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput\\"; -import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum\\"; +import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput.js\\"; +import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput.js\\"; +import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput.js\\"; +import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindFirstSecondModelArgs { @@ -998,10 +998,10 @@ export class FindFirstSecondModelArgs { exports[`crud should properly generate args classes for sorting by one-to-many relation fields: FindManySecondModelArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput\\"; -import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput\\"; -import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput\\"; -import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum\\"; +import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput.js\\"; +import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput.js\\"; +import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput.js\\"; +import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindManySecondModelArgs { @@ -1039,52 +1039,52 @@ export class FindManySecondModelArgs { `; exports[`crud should properly generate args classes for sorting by one-to-many relation fields: index 1`] = ` -"export { AggregateSecondModelArgs } from \\"./AggregateSecondModelArgs\\"; -export { CreateManySecondModelArgs } from \\"./CreateManySecondModelArgs\\"; -export { CreateOneSecondModelArgs } from \\"./CreateOneSecondModelArgs\\"; -export { DeleteManySecondModelArgs } from \\"./DeleteManySecondModelArgs\\"; -export { DeleteOneSecondModelArgs } from \\"./DeleteOneSecondModelArgs\\"; -export { FindFirstSecondModelArgs } from \\"./FindFirstSecondModelArgs\\"; -export { FindFirstSecondModelOrThrowArgs } from \\"./FindFirstSecondModelOrThrowArgs\\"; -export { FindManySecondModelArgs } from \\"./FindManySecondModelArgs\\"; -export { FindUniqueSecondModelArgs } from \\"./FindUniqueSecondModelArgs\\"; -export { FindUniqueSecondModelOrThrowArgs } from \\"./FindUniqueSecondModelOrThrowArgs\\"; -export { GroupBySecondModelArgs } from \\"./GroupBySecondModelArgs\\"; -export { UpdateManySecondModelArgs } from \\"./UpdateManySecondModelArgs\\"; -export { UpdateOneSecondModelArgs } from \\"./UpdateOneSecondModelArgs\\"; -export { UpsertOneSecondModelArgs } from \\"./UpsertOneSecondModelArgs\\"; +"export { AggregateSecondModelArgs } from \\"./AggregateSecondModelArgs.js\\"; +export { CreateManySecondModelArgs } from \\"./CreateManySecondModelArgs.js\\"; +export { CreateOneSecondModelArgs } from \\"./CreateOneSecondModelArgs.js\\"; +export { DeleteManySecondModelArgs } from \\"./DeleteManySecondModelArgs.js\\"; +export { DeleteOneSecondModelArgs } from \\"./DeleteOneSecondModelArgs.js\\"; +export { FindFirstSecondModelArgs } from \\"./FindFirstSecondModelArgs.js\\"; +export { FindFirstSecondModelOrThrowArgs } from \\"./FindFirstSecondModelOrThrowArgs.js\\"; +export { FindManySecondModelArgs } from \\"./FindManySecondModelArgs.js\\"; +export { FindUniqueSecondModelArgs } from \\"./FindUniqueSecondModelArgs.js\\"; +export { FindUniqueSecondModelOrThrowArgs } from \\"./FindUniqueSecondModelOrThrowArgs.js\\"; +export { GroupBySecondModelArgs } from \\"./GroupBySecondModelArgs.js\\"; +export { UpdateManySecondModelArgs } from \\"./UpdateManySecondModelArgs.js\\"; +export { UpdateOneSecondModelArgs } from \\"./UpdateOneSecondModelArgs.js\\"; +export { UpsertOneSecondModelArgs } from \\"./UpsertOneSecondModelArgs.js\\"; " `; exports[`crud should properly generate resolver class for single prisma model: Index 1`] = ` -"export * from \\"./resolvers-actions.index\\"; -export * from \\"./resolvers-crud.index\\"; -export * from \\"./args.index\\"; +"export * from \\"./resolvers-actions.index.js\\"; +export * from \\"./resolvers-crud.index.js\\"; +export * from \\"./args.index.js\\"; " `; exports[`crud should properly generate resolver class for single prisma model: UserCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateUserArgs } from \\"./args/AggregateUserArgs\\"; -import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs\\"; -import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs\\"; -import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs\\"; -import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs\\"; -import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs\\"; -import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs\\"; -import { FindManyUserArgs } from \\"./args/FindManyUserArgs\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { GroupByUserArgs } from \\"./args/GroupByUserArgs\\"; -import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs\\"; -import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs\\"; -import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateUser } from \\"../../outputs/AggregateUser\\"; -import { UserGroupBy } from \\"../../outputs/UserGroupBy\\"; +import { AggregateUserArgs } from \\"./args/AggregateUserArgs.js\\"; +import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs.js\\"; +import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs.js\\"; +import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs.js\\"; +import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs.js\\"; +import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs.js\\"; +import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs.js\\"; +import { FindManyUserArgs } from \\"./args/FindManyUserArgs.js\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { GroupByUserArgs } from \\"./args/GroupByUserArgs.js\\"; +import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs.js\\"; +import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs.js\\"; +import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateUser } from \\"../../outputs/AggregateUser.js\\"; +import { UserGroupBy } from \\"../../outputs/UserGroupBy.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserCrudResolver { @@ -1247,47 +1247,47 @@ export class UserCrudResolver { `; exports[`crud should properly generate resolver class for single prisma model: actionsIndex 1`] = ` -"export { AggregateUserResolver } from \\"./User/AggregateUserResolver\\"; -export { CreateManyUserResolver } from \\"./User/CreateManyUserResolver\\"; -export { CreateOneUserResolver } from \\"./User/CreateOneUserResolver\\"; -export { DeleteManyUserResolver } from \\"./User/DeleteManyUserResolver\\"; -export { DeleteOneUserResolver } from \\"./User/DeleteOneUserResolver\\"; -export { FindFirstUserResolver } from \\"./User/FindFirstUserResolver\\"; -export { FindFirstUserOrThrowResolver } from \\"./User/FindFirstUserOrThrowResolver\\"; -export { FindManyUserResolver } from \\"./User/FindManyUserResolver\\"; -export { FindUniqueUserResolver } from \\"./User/FindUniqueUserResolver\\"; -export { FindUniqueUserOrThrowResolver } from \\"./User/FindUniqueUserOrThrowResolver\\"; -export { GroupByUserResolver } from \\"./User/GroupByUserResolver\\"; -export { UpdateManyUserResolver } from \\"./User/UpdateManyUserResolver\\"; -export { UpdateOneUserResolver } from \\"./User/UpdateOneUserResolver\\"; -export { UpsertOneUserResolver } from \\"./User/UpsertOneUserResolver\\"; +"export { AggregateUserResolver } from \\"./User/AggregateUserResolver.js\\"; +export { CreateManyUserResolver } from \\"./User/CreateManyUserResolver.js\\"; +export { CreateOneUserResolver } from \\"./User/CreateOneUserResolver.js\\"; +export { DeleteManyUserResolver } from \\"./User/DeleteManyUserResolver.js\\"; +export { DeleteOneUserResolver } from \\"./User/DeleteOneUserResolver.js\\"; +export { FindFirstUserResolver } from \\"./User/FindFirstUserResolver.js\\"; +export { FindFirstUserOrThrowResolver } from \\"./User/FindFirstUserOrThrowResolver.js\\"; +export { FindManyUserResolver } from \\"./User/FindManyUserResolver.js\\"; +export { FindUniqueUserResolver } from \\"./User/FindUniqueUserResolver.js\\"; +export { FindUniqueUserOrThrowResolver } from \\"./User/FindUniqueUserOrThrowResolver.js\\"; +export { GroupByUserResolver } from \\"./User/GroupByUserResolver.js\\"; +export { UpdateManyUserResolver } from \\"./User/UpdateManyUserResolver.js\\"; +export { UpdateOneUserResolver } from \\"./User/UpdateOneUserResolver.js\\"; +export { UpsertOneUserResolver } from \\"./User/UpsertOneUserResolver.js\\"; " `; exports[`crud should properly generate resolver class for single prisma model: argsIndex 1`] = ` -"export * from \\"./User/args\\"; +"export * from \\"./User/args/index.js\\"; " `; exports[`crud should properly generate resolver class for single prisma model: crudIndex 1`] = ` -"export { UserCrudResolver } from \\"./User/UserCrudResolver\\"; +"export { UserCrudResolver } from \\"./User/UserCrudResolver.js\\"; " `; exports[`crud should properly generate resolver class for single prisma model: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -1299,25 +1299,25 @@ export const resolvers = [ exports[`crud should properly generate resolver class when cannot pluralize model name and provided overriding plural: StaffCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateStaffArgs } from \\"./args/AggregateStaffArgs\\"; -import { CreateManyStaffArgs } from \\"./args/CreateManyStaffArgs\\"; -import { CreateOneStaffArgs } from \\"./args/CreateOneStaffArgs\\"; -import { DeleteManyStaffArgs } from \\"./args/DeleteManyStaffArgs\\"; -import { DeleteOneStaffArgs } from \\"./args/DeleteOneStaffArgs\\"; -import { FindFirstStaffArgs } from \\"./args/FindFirstStaffArgs\\"; -import { FindFirstStaffOrThrowArgs } from \\"./args/FindFirstStaffOrThrowArgs\\"; -import { FindManyStaffArgs } from \\"./args/FindManyStaffArgs\\"; -import { FindUniqueStaffArgs } from \\"./args/FindUniqueStaffArgs\\"; -import { FindUniqueStaffOrThrowArgs } from \\"./args/FindUniqueStaffOrThrowArgs\\"; -import { GroupByStaffArgs } from \\"./args/GroupByStaffArgs\\"; -import { UpdateManyStaffArgs } from \\"./args/UpdateManyStaffArgs\\"; -import { UpdateOneStaffArgs } from \\"./args/UpdateOneStaffArgs\\"; -import { UpsertOneStaffArgs } from \\"./args/UpsertOneStaffArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { Staff } from \\"../../../models/Staff\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateStaff } from \\"../../outputs/AggregateStaff\\"; -import { StaffGroupBy } from \\"../../outputs/StaffGroupBy\\"; +import { AggregateStaffArgs } from \\"./args/AggregateStaffArgs.js\\"; +import { CreateManyStaffArgs } from \\"./args/CreateManyStaffArgs.js\\"; +import { CreateOneStaffArgs } from \\"./args/CreateOneStaffArgs.js\\"; +import { DeleteManyStaffArgs } from \\"./args/DeleteManyStaffArgs.js\\"; +import { DeleteOneStaffArgs } from \\"./args/DeleteOneStaffArgs.js\\"; +import { FindFirstStaffArgs } from \\"./args/FindFirstStaffArgs.js\\"; +import { FindFirstStaffOrThrowArgs } from \\"./args/FindFirstStaffOrThrowArgs.js\\"; +import { FindManyStaffArgs } from \\"./args/FindManyStaffArgs.js\\"; +import { FindUniqueStaffArgs } from \\"./args/FindUniqueStaffArgs.js\\"; +import { FindUniqueStaffOrThrowArgs } from \\"./args/FindUniqueStaffOrThrowArgs.js\\"; +import { GroupByStaffArgs } from \\"./args/GroupByStaffArgs.js\\"; +import { UpdateManyStaffArgs } from \\"./args/UpdateManyStaffArgs.js\\"; +import { UpdateOneStaffArgs } from \\"./args/UpdateOneStaffArgs.js\\"; +import { UpsertOneStaffArgs } from \\"./args/UpsertOneStaffArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { Staff } from \\"../../../models/Staff.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateStaff } from \\"../../outputs/AggregateStaff.js\\"; +import { StaffGroupBy } from \\"../../outputs/StaffGroupBy.js\\"; @TypeGraphQL.Resolver(_of => Staff) export class StaffCrudResolver { @@ -1482,25 +1482,25 @@ export class StaffCrudResolver { exports[`crud should properly generate resolver class when cannot pluralize model name: StaffCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateStaffArgs } from \\"./args/AggregateStaffArgs\\"; -import { CreateManyStaffArgs } from \\"./args/CreateManyStaffArgs\\"; -import { CreateOneStaffArgs } from \\"./args/CreateOneStaffArgs\\"; -import { DeleteManyStaffArgs } from \\"./args/DeleteManyStaffArgs\\"; -import { DeleteOneStaffArgs } from \\"./args/DeleteOneStaffArgs\\"; -import { FindFirstStaffArgs } from \\"./args/FindFirstStaffArgs\\"; -import { FindFirstStaffOrThrowArgs } from \\"./args/FindFirstStaffOrThrowArgs\\"; -import { FindManyStaffArgs } from \\"./args/FindManyStaffArgs\\"; -import { FindUniqueStaffArgs } from \\"./args/FindUniqueStaffArgs\\"; -import { FindUniqueStaffOrThrowArgs } from \\"./args/FindUniqueStaffOrThrowArgs\\"; -import { GroupByStaffArgs } from \\"./args/GroupByStaffArgs\\"; -import { UpdateManyStaffArgs } from \\"./args/UpdateManyStaffArgs\\"; -import { UpdateOneStaffArgs } from \\"./args/UpdateOneStaffArgs\\"; -import { UpsertOneStaffArgs } from \\"./args/UpsertOneStaffArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { Staff } from \\"../../../models/Staff\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateStaff } from \\"../../outputs/AggregateStaff\\"; -import { StaffGroupBy } from \\"../../outputs/StaffGroupBy\\"; +import { AggregateStaffArgs } from \\"./args/AggregateStaffArgs.js\\"; +import { CreateManyStaffArgs } from \\"./args/CreateManyStaffArgs.js\\"; +import { CreateOneStaffArgs } from \\"./args/CreateOneStaffArgs.js\\"; +import { DeleteManyStaffArgs } from \\"./args/DeleteManyStaffArgs.js\\"; +import { DeleteOneStaffArgs } from \\"./args/DeleteOneStaffArgs.js\\"; +import { FindFirstStaffArgs } from \\"./args/FindFirstStaffArgs.js\\"; +import { FindFirstStaffOrThrowArgs } from \\"./args/FindFirstStaffOrThrowArgs.js\\"; +import { FindManyStaffArgs } from \\"./args/FindManyStaffArgs.js\\"; +import { FindUniqueStaffArgs } from \\"./args/FindUniqueStaffArgs.js\\"; +import { FindUniqueStaffOrThrowArgs } from \\"./args/FindUniqueStaffOrThrowArgs.js\\"; +import { GroupByStaffArgs } from \\"./args/GroupByStaffArgs.js\\"; +import { UpdateManyStaffArgs } from \\"./args/UpdateManyStaffArgs.js\\"; +import { UpdateOneStaffArgs } from \\"./args/UpdateOneStaffArgs.js\\"; +import { UpsertOneStaffArgs } from \\"./args/UpsertOneStaffArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { Staff } from \\"../../../models/Staff.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateStaff } from \\"../../outputs/AggregateStaff.js\\"; +import { StaffGroupBy } from \\"../../outputs/StaffGroupBy.js\\"; @TypeGraphQL.Resolver(_of => Staff) export class StaffCrudResolver { @@ -1665,9 +1665,9 @@ export class StaffCrudResolver { exports[`crud should properly generate resolver class when useOriginalMapping is used: FindUniqueUserOrThrowResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindUniqueUserOrThrowResolver { @@ -1688,9 +1688,9 @@ export class FindUniqueUserOrThrowResolver { exports[`crud should properly generate resolver class when useOriginalMapping is used: FindUniqueUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class FindUniqueUserResolver { @@ -1711,25 +1711,25 @@ export class FindUniqueUserResolver { exports[`crud should properly generate resolver class when useOriginalMapping is used: UserCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateUserArgs } from \\"./args/AggregateUserArgs\\"; -import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs\\"; -import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs\\"; -import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs\\"; -import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs\\"; -import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs\\"; -import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs\\"; -import { FindManyUserArgs } from \\"./args/FindManyUserArgs\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { GroupByUserArgs } from \\"./args/GroupByUserArgs\\"; -import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs\\"; -import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs\\"; -import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateUser } from \\"../../outputs/AggregateUser\\"; -import { UserGroupBy } from \\"../../outputs/UserGroupBy\\"; +import { AggregateUserArgs } from \\"./args/AggregateUserArgs.js\\"; +import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs.js\\"; +import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs.js\\"; +import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs.js\\"; +import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs.js\\"; +import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs.js\\"; +import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs.js\\"; +import { FindManyUserArgs } from \\"./args/FindManyUserArgs.js\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { GroupByUserArgs } from \\"./args/GroupByUserArgs.js\\"; +import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs.js\\"; +import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs.js\\"; +import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateUser } from \\"../../outputs/AggregateUser.js\\"; +import { UserGroupBy } from \\"../../outputs/UserGroupBy.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserCrudResolver { @@ -1894,25 +1894,25 @@ export class UserCrudResolver { exports[`crud when emitRedundantTypesInfo is set to true should properly generate type info for @Args decorator: UserCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateUserArgs } from \\"./args/AggregateUserArgs\\"; -import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs\\"; -import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs\\"; -import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs\\"; -import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs\\"; -import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs\\"; -import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs\\"; -import { FindManyUserArgs } from \\"./args/FindManyUserArgs\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { GroupByUserArgs } from \\"./args/GroupByUserArgs\\"; -import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs\\"; -import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs\\"; -import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateUser } from \\"../../outputs/AggregateUser\\"; -import { UserGroupBy } from \\"../../outputs/UserGroupBy\\"; +import { AggregateUserArgs } from \\"./args/AggregateUserArgs.js\\"; +import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs.js\\"; +import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs.js\\"; +import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs.js\\"; +import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs.js\\"; +import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs.js\\"; +import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs.js\\"; +import { FindManyUserArgs } from \\"./args/FindManyUserArgs.js\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { GroupByUserArgs } from \\"./args/GroupByUserArgs.js\\"; +import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs.js\\"; +import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs.js\\"; +import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateUser } from \\"../../outputs/AggregateUser.js\\"; +import { UserGroupBy } from \\"../../outputs/UserGroupBy.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserCrudResolver { @@ -2080,280 +2080,280 @@ Object.defineProperty(exports, \\"__esModule\\", { value: true }); exports.UserCrudResolver = void 0; const tslib_1 = require(\\"tslib\\"); const TypeGraphQL = tslib_1.__importStar(require(\\"type-graphql\\")); -const AggregateUserArgs_1 = require(\\"./args/AggregateUserArgs\\"); -const CreateManyUserArgs_1 = require(\\"./args/CreateManyUserArgs\\"); -const CreateOneUserArgs_1 = require(\\"./args/CreateOneUserArgs\\"); -const DeleteManyUserArgs_1 = require(\\"./args/DeleteManyUserArgs\\"); -const DeleteOneUserArgs_1 = require(\\"./args/DeleteOneUserArgs\\"); -const FindFirstUserArgs_1 = require(\\"./args/FindFirstUserArgs\\"); -const FindFirstUserOrThrowArgs_1 = require(\\"./args/FindFirstUserOrThrowArgs\\"); -const FindManyUserArgs_1 = require(\\"./args/FindManyUserArgs\\"); -const FindUniqueUserArgs_1 = require(\\"./args/FindUniqueUserArgs\\"); -const FindUniqueUserOrThrowArgs_1 = require(\\"./args/FindUniqueUserOrThrowArgs\\"); -const GroupByUserArgs_1 = require(\\"./args/GroupByUserArgs\\"); -const UpdateManyUserArgs_1 = require(\\"./args/UpdateManyUserArgs\\"); -const UpdateOneUserArgs_1 = require(\\"./args/UpdateOneUserArgs\\"); -const UpsertOneUserArgs_1 = require(\\"./args/UpsertOneUserArgs\\"); -const helpers_1 = require(\\"../../../helpers\\"); -const User_1 = require(\\"../../../models/User\\"); -const AffectedRowsOutput_1 = require(\\"../../outputs/AffectedRowsOutput\\"); -const AggregateUser_1 = require(\\"../../outputs/AggregateUser\\"); -const UserGroupBy_1 = require(\\"../../outputs/UserGroupBy\\"); +const AggregateUserArgs_js_1 = require(\\"./args/AggregateUserArgs.js\\"); +const CreateManyUserArgs_js_1 = require(\\"./args/CreateManyUserArgs.js\\"); +const CreateOneUserArgs_js_1 = require(\\"./args/CreateOneUserArgs.js\\"); +const DeleteManyUserArgs_js_1 = require(\\"./args/DeleteManyUserArgs.js\\"); +const DeleteOneUserArgs_js_1 = require(\\"./args/DeleteOneUserArgs.js\\"); +const FindFirstUserArgs_js_1 = require(\\"./args/FindFirstUserArgs.js\\"); +const FindFirstUserOrThrowArgs_js_1 = require(\\"./args/FindFirstUserOrThrowArgs.js\\"); +const FindManyUserArgs_js_1 = require(\\"./args/FindManyUserArgs.js\\"); +const FindUniqueUserArgs_js_1 = require(\\"./args/FindUniqueUserArgs.js\\"); +const FindUniqueUserOrThrowArgs_js_1 = require(\\"./args/FindUniqueUserOrThrowArgs.js\\"); +const GroupByUserArgs_js_1 = require(\\"./args/GroupByUserArgs.js\\"); +const UpdateManyUserArgs_js_1 = require(\\"./args/UpdateManyUserArgs.js\\"); +const UpdateOneUserArgs_js_1 = require(\\"./args/UpdateOneUserArgs.js\\"); +const UpsertOneUserArgs_js_1 = require(\\"./args/UpsertOneUserArgs.js\\"); +const helpers_js_1 = require(\\"../../../helpers.js\\"); +const User_js_1 = require(\\"../../../models/User.js\\"); +const AffectedRowsOutput_js_1 = require(\\"../../outputs/AffectedRowsOutput.js\\"); +const AggregateUser_js_1 = require(\\"../../outputs/AggregateUser.js\\"); +const UserGroupBy_js_1 = require(\\"../../outputs/UserGroupBy.js\\"); let UserCrudResolver = class UserCrudResolver { async aggregateUser(ctx, info, args) { - return (0, helpers_1.getPrismaFromContext)(ctx).user.aggregate({ + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.aggregate({ ...args, - ...(0, helpers_1.transformInfoIntoPrismaArgs)(info), + ...(0, helpers_js_1.transformInfoIntoPrismaArgs)(info), }); } async createManyUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.createMany({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.createMany({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async createOneUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.create({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.create({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async deleteManyUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.deleteMany({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.deleteMany({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async deleteOneUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.delete({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.delete({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async findFirstUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.findFirst({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.findFirst({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async findFirstUserOrThrow(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.findFirstOrThrow({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.findFirstOrThrow({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async users(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.findMany({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.findMany({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async user(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.findUnique({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.findUnique({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async getUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.findUniqueOrThrow({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.findUniqueOrThrow({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async groupByUser(ctx, info, args) { - const { _count, _avg, _sum, _min, _max } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.groupBy({ + const { _count, _avg, _sum, _min, _max } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.groupBy({ ...args, ...Object.fromEntries(Object.entries({ _count, _avg, _sum, _min, _max }).filter(([_, v]) => v != null)), }); } async updateManyUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.updateMany({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.updateMany({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async updateOneUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.update({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.update({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } async upsertOneUser(ctx, info, args) { - const { _count } = (0, helpers_1.transformInfoIntoPrismaArgs)(info); - return (0, helpers_1.getPrismaFromContext)(ctx).user.upsert({ + const { _count } = (0, helpers_js_1.transformInfoIntoPrismaArgs)(info); + return (0, helpers_js_1.getPrismaFromContext)(ctx).user.upsert({ ...args, - ...(_count && (0, helpers_1.transformCountFieldIntoSelectRelationsCount)(_count)), + ...(_count && (0, helpers_js_1.transformCountFieldIntoSelectRelationsCount)(_count)), }); } }; tslib_1.__decorate([ - TypeGraphQL.Query(_returns => AggregateUser_1.AggregateUser, { + TypeGraphQL.Query(_returns => AggregateUser_js_1.AggregateUser, { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, AggregateUserArgs_1.AggregateUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, AggregateUserArgs_js_1.AggregateUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"aggregateUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => AffectedRowsOutput_1.AffectedRowsOutput, { + TypeGraphQL.Mutation(_returns => AffectedRowsOutput_js_1.AffectedRowsOutput, { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, CreateManyUserArgs_1.CreateManyUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, CreateManyUserArgs_js_1.CreateManyUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"createManyUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => User_1.User, { + TypeGraphQL.Mutation(_returns => User_js_1.User, { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, CreateOneUserArgs_1.CreateOneUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, CreateOneUserArgs_js_1.CreateOneUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"createOneUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => AffectedRowsOutput_1.AffectedRowsOutput, { + TypeGraphQL.Mutation(_returns => AffectedRowsOutput_js_1.AffectedRowsOutput, { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, DeleteManyUserArgs_1.DeleteManyUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, DeleteManyUserArgs_js_1.DeleteManyUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"deleteManyUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => User_1.User, { + TypeGraphQL.Mutation(_returns => User_js_1.User, { nullable: true }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, DeleteOneUserArgs_1.DeleteOneUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, DeleteOneUserArgs_js_1.DeleteOneUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"deleteOneUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Query(_returns => User_1.User, { + TypeGraphQL.Query(_returns => User_js_1.User, { nullable: true }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindFirstUserArgs_1.FindFirstUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindFirstUserArgs_js_1.FindFirstUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"findFirstUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Query(_returns => User_1.User, { + TypeGraphQL.Query(_returns => User_js_1.User, { nullable: true }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindFirstUserOrThrowArgs_1.FindFirstUserOrThrowArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindFirstUserOrThrowArgs_js_1.FindFirstUserOrThrowArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"findFirstUserOrThrow\\", null); tslib_1.__decorate([ - TypeGraphQL.Query(_returns => [User_1.User], { + TypeGraphQL.Query(_returns => [User_js_1.User], { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindManyUserArgs_1.FindManyUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindManyUserArgs_js_1.FindManyUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"users\\", null); tslib_1.__decorate([ - TypeGraphQL.Query(_returns => User_1.User, { + TypeGraphQL.Query(_returns => User_js_1.User, { nullable: true }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindUniqueUserArgs_1.FindUniqueUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindUniqueUserArgs_js_1.FindUniqueUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"user\\", null); tslib_1.__decorate([ - TypeGraphQL.Query(_returns => User_1.User, { + TypeGraphQL.Query(_returns => User_js_1.User, { nullable: true }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindUniqueUserOrThrowArgs_1.FindUniqueUserOrThrowArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, FindUniqueUserOrThrowArgs_js_1.FindUniqueUserOrThrowArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"getUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Query(_returns => [UserGroupBy_1.UserGroupBy], { + TypeGraphQL.Query(_returns => [UserGroupBy_js_1.UserGroupBy], { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, GroupByUserArgs_1.GroupByUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, GroupByUserArgs_js_1.GroupByUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"groupByUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => AffectedRowsOutput_1.AffectedRowsOutput, { + TypeGraphQL.Mutation(_returns => AffectedRowsOutput_js_1.AffectedRowsOutput, { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, UpdateManyUserArgs_1.UpdateManyUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, UpdateManyUserArgs_js_1.UpdateManyUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"updateManyUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => User_1.User, { + TypeGraphQL.Mutation(_returns => User_js_1.User, { nullable: true }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, UpdateOneUserArgs_1.UpdateOneUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, UpdateOneUserArgs_js_1.UpdateOneUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"updateOneUser\\", null); tslib_1.__decorate([ - TypeGraphQL.Mutation(_returns => User_1.User, { + TypeGraphQL.Mutation(_returns => User_js_1.User, { nullable: false }), tslib_1.__param(0, TypeGraphQL.Ctx()), tslib_1.__param(1, TypeGraphQL.Info()), tslib_1.__param(2, TypeGraphQL.Args()), tslib_1.__metadata(\\"design:type\\", Function), - tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, UpsertOneUserArgs_1.UpsertOneUserArgs]), + tslib_1.__metadata(\\"design:paramtypes\\", [Object, Object, UpsertOneUserArgs_js_1.UpsertOneUserArgs]), tslib_1.__metadata(\\"design:returntype\\", Promise) ], UserCrudResolver.prototype, \\"upsertOneUser\\", null); UserCrudResolver = tslib_1.__decorate([ - TypeGraphQL.Resolver(_of => User_1.User) + TypeGraphQL.Resolver(_of => User_js_1.User) ], UserCrudResolver); exports.UserCrudResolver = UserCrudResolver; " @@ -2362,29 +2362,29 @@ exports.UserCrudResolver = UserCrudResolver; exports[`crud when formatGeneratedCode is set to 'prettier' should properly format generated files for resolver classes: UserCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateUserArgs } from \\"./args/AggregateUserArgs\\"; -import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs\\"; -import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs\\"; -import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs\\"; -import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs\\"; -import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs\\"; -import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs\\"; -import { FindManyUserArgs } from \\"./args/FindManyUserArgs\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { GroupByUserArgs } from \\"./args/GroupByUserArgs\\"; -import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs\\"; -import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs\\"; -import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs\\"; +import { AggregateUserArgs } from \\"./args/AggregateUserArgs.js\\"; +import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs.js\\"; +import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs.js\\"; +import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs.js\\"; +import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs.js\\"; +import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs.js\\"; +import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs.js\\"; +import { FindManyUserArgs } from \\"./args/FindManyUserArgs.js\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { GroupByUserArgs } from \\"./args/GroupByUserArgs.js\\"; +import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs.js\\"; +import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs.js\\"; +import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs.js\\"; import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount, -} from \\"../../../helpers\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateUser } from \\"../../outputs/AggregateUser\\"; -import { UserGroupBy } from \\"../../outputs/UserGroupBy\\"; +} from \\"../../../helpers.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateUser } from \\"../../outputs/AggregateUser.js\\"; +import { UserGroupBy } from \\"../../outputs/UserGroupBy.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserCrudResolver { @@ -2608,25 +2608,25 @@ export class UserCrudResolver { exports[`crud when formatGeneratedCode is set to false should not format generated files for resolver classes: UserCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateUserArgs } from \\"./args/AggregateUserArgs\\"; -import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs\\"; -import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs\\"; -import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs\\"; -import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs\\"; -import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs\\"; -import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs\\"; -import { FindManyUserArgs } from \\"./args/FindManyUserArgs\\"; -import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs\\"; -import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs\\"; -import { GroupByUserArgs } from \\"./args/GroupByUserArgs\\"; -import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs\\"; -import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs\\"; -import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { User } from \\"../../../models/User\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateUser } from \\"../../outputs/AggregateUser\\"; -import { UserGroupBy } from \\"../../outputs/UserGroupBy\\"; +import { AggregateUserArgs } from \\"./args/AggregateUserArgs.js\\"; +import { CreateManyUserArgs } from \\"./args/CreateManyUserArgs.js\\"; +import { CreateOneUserArgs } from \\"./args/CreateOneUserArgs.js\\"; +import { DeleteManyUserArgs } from \\"./args/DeleteManyUserArgs.js\\"; +import { DeleteOneUserArgs } from \\"./args/DeleteOneUserArgs.js\\"; +import { FindFirstUserArgs } from \\"./args/FindFirstUserArgs.js\\"; +import { FindFirstUserOrThrowArgs } from \\"./args/FindFirstUserOrThrowArgs.js\\"; +import { FindManyUserArgs } from \\"./args/FindManyUserArgs.js\\"; +import { FindUniqueUserArgs } from \\"./args/FindUniqueUserArgs.js\\"; +import { FindUniqueUserOrThrowArgs } from \\"./args/FindUniqueUserOrThrowArgs.js\\"; +import { GroupByUserArgs } from \\"./args/GroupByUserArgs.js\\"; +import { UpdateManyUserArgs } from \\"./args/UpdateManyUserArgs.js\\"; +import { UpdateOneUserArgs } from \\"./args/UpdateOneUserArgs.js\\"; +import { UpsertOneUserArgs } from \\"./args/UpsertOneUserArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateUser } from \\"../../outputs/AggregateUser.js\\"; +import { UserGroupBy } from \\"../../outputs/UserGroupBy.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserCrudResolver { @@ -2791,10 +2791,10 @@ export class UserCrudResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: AggregateClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateClientArgs } from \\"./args/AggregateClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { AggregateClient } from \\"../../outputs/AggregateClient\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { AggregateClientArgs } from \\"./args/AggregateClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { AggregateClient } from \\"../../outputs/AggregateClient.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class AggregateClientResolver { @@ -2814,10 +2814,10 @@ export class AggregateClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: CreateManyClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { CreateManyClientArgs } from \\"./args/CreateManyClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { CreateManyClientArgs } from \\"./args/CreateManyClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class CreateManyClientResolver { @@ -2838,9 +2838,9 @@ export class CreateManyClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: CreateOneClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { CreateOneClientArgs } from \\"./args/CreateOneClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { CreateOneClientArgs } from \\"./args/CreateOneClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class CreateOneClientResolver { @@ -2861,10 +2861,10 @@ export class CreateOneClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: DeleteManyClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { DeleteManyClientArgs } from \\"./args/DeleteManyClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { DeleteManyClientArgs } from \\"./args/DeleteManyClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class DeleteManyClientResolver { @@ -2885,9 +2885,9 @@ export class DeleteManyClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: DeleteOneClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { DeleteOneClientArgs } from \\"./args/DeleteOneClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { DeleteOneClientArgs } from \\"./args/DeleteOneClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class DeleteOneClientResolver { @@ -2908,9 +2908,9 @@ export class DeleteOneClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: FindFirstClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindFirstClientArgs } from \\"./args/FindFirstClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindFirstClientArgs } from \\"./args/FindFirstClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class FindFirstClientResolver { @@ -2931,9 +2931,9 @@ export class FindFirstClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: FindManyClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindManyClientArgs } from \\"./args/FindManyClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindManyClientArgs } from \\"./args/FindManyClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class FindManyClientResolver { @@ -2954,9 +2954,9 @@ export class FindManyClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: FindUniqueClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { FindUniqueClientArgs } from \\"./args/FindUniqueClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { FindUniqueClientArgs } from \\"./args/FindUniqueClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class FindUniqueClientResolver { @@ -2977,10 +2977,10 @@ export class FindUniqueClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: GroupByClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { GroupByClientArgs } from \\"./args/GroupByClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { ClientGroupBy } from \\"../../outputs/ClientGroupBy\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { GroupByClientArgs } from \\"./args/GroupByClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { ClientGroupBy } from \\"../../outputs/ClientGroupBy.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class GroupByClientResolver { @@ -3003,10 +3003,10 @@ export class GroupByClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: UpdateManyClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { UpdateManyClientArgs } from \\"./args/UpdateManyClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { UpdateManyClientArgs } from \\"./args/UpdateManyClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class UpdateManyClientResolver { @@ -3027,9 +3027,9 @@ export class UpdateManyClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: UpdateOneClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { UpdateOneClientArgs } from \\"./args/UpdateOneClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { UpdateOneClientArgs } from \\"./args/UpdateOneClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class UpdateOneClientResolver { @@ -3050,9 +3050,9 @@ export class UpdateOneClientResolver { exports[`crud when model is renamed should properly generate actions resolver classes for prisma model: UpsertOneClientResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { UpsertOneClientArgs } from \\"./args/UpsertOneClientArgs\\"; -import { Client } from \\"../../../models/Client\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { UpsertOneClientArgs } from \\"./args/UpsertOneClientArgs.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Client) export class UpsertOneClientResolver { @@ -3073,9 +3073,9 @@ export class UpsertOneClientResolver { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: AggregateClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientOrderByWithRelationInput } from \\"../../../inputs/ClientOrderByWithRelationInput\\"; -import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; +import { ClientOrderByWithRelationInput } from \\"../../../inputs/ClientOrderByWithRelationInput.js\\"; +import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput.js\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class AggregateClientArgs { @@ -3110,7 +3110,7 @@ export class AggregateClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: CreateClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientCreateInput } from \\"../../../inputs/ClientCreateInput\\"; +import { ClientCreateInput } from \\"../../../inputs/ClientCreateInput.js\\"; @TypeGraphQL.ArgsType() export class CreateOneClientArgs { @@ -3125,7 +3125,7 @@ export class CreateOneClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: CreateManyClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientCreateManyInput } from \\"../../../inputs/ClientCreateManyInput\\"; +import { ClientCreateManyInput } from \\"../../../inputs/ClientCreateManyInput.js\\"; @TypeGraphQL.ArgsType() export class CreateManyClientArgs { @@ -3145,7 +3145,7 @@ export class CreateManyClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: DeleteClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class DeleteOneClientArgs { @@ -3160,7 +3160,7 @@ export class DeleteOneClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: DeleteManyClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput\\"; +import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput.js\\"; @TypeGraphQL.ArgsType() export class DeleteManyClientArgs { @@ -3175,10 +3175,10 @@ export class DeleteManyClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: FindFirstClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientOrderByWithRelationInput } from \\"../../../inputs/ClientOrderByWithRelationInput\\"; -import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; -import { ClientScalarFieldEnum } from \\"../../../../enums/ClientScalarFieldEnum\\"; +import { ClientOrderByWithRelationInput } from \\"../../../inputs/ClientOrderByWithRelationInput.js\\"; +import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput.js\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; +import { ClientScalarFieldEnum } from \\"../../../../enums/ClientScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindFirstClientArgs { @@ -3218,10 +3218,10 @@ export class FindFirstClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: FindManyClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientOrderByWithRelationInput } from \\"../../../inputs/ClientOrderByWithRelationInput\\"; -import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; -import { ClientScalarFieldEnum } from \\"../../../../enums/ClientScalarFieldEnum\\"; +import { ClientOrderByWithRelationInput } from \\"../../../inputs/ClientOrderByWithRelationInput.js\\"; +import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput.js\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; +import { ClientScalarFieldEnum } from \\"../../../../enums/ClientScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FindManyClientArgs { @@ -3261,7 +3261,7 @@ export class FindManyClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: FindUniqueClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class FindUniqueClientArgs { @@ -3276,10 +3276,10 @@ export class FindUniqueClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: GroupByClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientOrderByWithAggregationInput } from \\"../../../inputs/ClientOrderByWithAggregationInput\\"; -import { ClientScalarWhereWithAggregatesInput } from \\"../../../inputs/ClientScalarWhereWithAggregatesInput\\"; -import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput\\"; -import { ClientScalarFieldEnum } from \\"../../../../enums/ClientScalarFieldEnum\\"; +import { ClientOrderByWithAggregationInput } from \\"../../../inputs/ClientOrderByWithAggregationInput.js\\"; +import { ClientScalarWhereWithAggregatesInput } from \\"../../../inputs/ClientScalarWhereWithAggregatesInput.js\\"; +import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput.js\\"; +import { ClientScalarFieldEnum } from \\"../../../../enums/ClientScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class GroupByClientArgs { @@ -3317,28 +3317,28 @@ export class GroupByClientArgs { `; exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: Index 1`] = ` -"export { AggregateClientArgs } from \\"./AggregateClientArgs\\"; -export { CreateManyClientArgs } from \\"./CreateManyClientArgs\\"; -export { CreateOneClientArgs } from \\"./CreateOneClientArgs\\"; -export { DeleteManyClientArgs } from \\"./DeleteManyClientArgs\\"; -export { DeleteOneClientArgs } from \\"./DeleteOneClientArgs\\"; -export { FindFirstClientArgs } from \\"./FindFirstClientArgs\\"; -export { FindFirstClientOrThrowArgs } from \\"./FindFirstClientOrThrowArgs\\"; -export { FindManyClientArgs } from \\"./FindManyClientArgs\\"; -export { FindUniqueClientArgs } from \\"./FindUniqueClientArgs\\"; -export { FindUniqueClientOrThrowArgs } from \\"./FindUniqueClientOrThrowArgs\\"; -export { GroupByClientArgs } from \\"./GroupByClientArgs\\"; -export { UpdateManyClientArgs } from \\"./UpdateManyClientArgs\\"; -export { UpdateOneClientArgs } from \\"./UpdateOneClientArgs\\"; -export { UpsertOneClientArgs } from \\"./UpsertOneClientArgs\\"; +"export { AggregateClientArgs } from \\"./AggregateClientArgs.js\\"; +export { CreateManyClientArgs } from \\"./CreateManyClientArgs.js\\"; +export { CreateOneClientArgs } from \\"./CreateOneClientArgs.js\\"; +export { DeleteManyClientArgs } from \\"./DeleteManyClientArgs.js\\"; +export { DeleteOneClientArgs } from \\"./DeleteOneClientArgs.js\\"; +export { FindFirstClientArgs } from \\"./FindFirstClientArgs.js\\"; +export { FindFirstClientOrThrowArgs } from \\"./FindFirstClientOrThrowArgs.js\\"; +export { FindManyClientArgs } from \\"./FindManyClientArgs.js\\"; +export { FindUniqueClientArgs } from \\"./FindUniqueClientArgs.js\\"; +export { FindUniqueClientOrThrowArgs } from \\"./FindUniqueClientOrThrowArgs.js\\"; +export { GroupByClientArgs } from \\"./GroupByClientArgs.js\\"; +export { UpdateManyClientArgs } from \\"./UpdateManyClientArgs.js\\"; +export { UpdateOneClientArgs } from \\"./UpdateOneClientArgs.js\\"; +export { UpsertOneClientArgs } from \\"./UpsertOneClientArgs.js\\"; " `; exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: UpdateClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientUpdateInput } from \\"../../../inputs/ClientUpdateInput\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; +import { ClientUpdateInput } from \\"../../../inputs/ClientUpdateInput.js\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class UpdateOneClientArgs { @@ -3358,8 +3358,8 @@ export class UpdateOneClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: UpdateManyClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientUpdateManyMutationInput } from \\"../../../inputs/ClientUpdateManyMutationInput\\"; -import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput\\"; +import { ClientUpdateManyMutationInput } from \\"../../../inputs/ClientUpdateManyMutationInput.js\\"; +import { ClientWhereInput } from \\"../../../inputs/ClientWhereInput.js\\"; @TypeGraphQL.ArgsType() export class UpdateManyClientArgs { @@ -3379,9 +3379,9 @@ export class UpdateManyClientArgs { exports[`crud when model is renamed should properly generate args classes for every method of crud resolver: UpsertClientArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { ClientCreateInput } from \\"../../../inputs/ClientCreateInput\\"; -import { ClientUpdateInput } from \\"../../../inputs/ClientUpdateInput\\"; -import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput\\"; +import { ClientCreateInput } from \\"../../../inputs/ClientCreateInput.js\\"; +import { ClientUpdateInput } from \\"../../../inputs/ClientUpdateInput.js\\"; +import { ClientWhereUniqueInput } from \\"../../../inputs/ClientWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class UpsertOneClientArgs { @@ -3406,10 +3406,10 @@ export class UpsertOneClientArgs { exports[`crud when model is renamed should properly generate resolver class for single prisma model: AggregateMainUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateMainUserArgs } from \\"./args/AggregateMainUserArgs\\"; -import { MainUser } from \\"../../../models/MainUser\\"; -import { AggregateMainUser } from \\"../../outputs/AggregateMainUser\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { AggregateMainUserArgs } from \\"./args/AggregateMainUserArgs.js\\"; +import { MainUser } from \\"../../../models/MainUser.js\\"; +import { AggregateMainUser } from \\"../../outputs/AggregateMainUser.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => MainUser) export class AggregateMainUserResolver { @@ -3429,25 +3429,25 @@ export class AggregateMainUserResolver { exports[`crud when model is renamed should properly generate resolver class for single prisma model: ClientCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateClientArgs } from \\"./args/AggregateClientArgs\\"; -import { CreateManyClientArgs } from \\"./args/CreateManyClientArgs\\"; -import { CreateOneClientArgs } from \\"./args/CreateOneClientArgs\\"; -import { DeleteManyClientArgs } from \\"./args/DeleteManyClientArgs\\"; -import { DeleteOneClientArgs } from \\"./args/DeleteOneClientArgs\\"; -import { FindFirstClientArgs } from \\"./args/FindFirstClientArgs\\"; -import { FindFirstClientOrThrowArgs } from \\"./args/FindFirstClientOrThrowArgs\\"; -import { FindManyClientArgs } from \\"./args/FindManyClientArgs\\"; -import { FindUniqueClientArgs } from \\"./args/FindUniqueClientArgs\\"; -import { FindUniqueClientOrThrowArgs } from \\"./args/FindUniqueClientOrThrowArgs\\"; -import { GroupByClientArgs } from \\"./args/GroupByClientArgs\\"; -import { UpdateManyClientArgs } from \\"./args/UpdateManyClientArgs\\"; -import { UpdateOneClientArgs } from \\"./args/UpdateOneClientArgs\\"; -import { UpsertOneClientArgs } from \\"./args/UpsertOneClientArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { Client } from \\"../../../models/Client\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateClient } from \\"../../outputs/AggregateClient\\"; -import { ClientGroupBy } from \\"../../outputs/ClientGroupBy\\"; +import { AggregateClientArgs } from \\"./args/AggregateClientArgs.js\\"; +import { CreateManyClientArgs } from \\"./args/CreateManyClientArgs.js\\"; +import { CreateOneClientArgs } from \\"./args/CreateOneClientArgs.js\\"; +import { DeleteManyClientArgs } from \\"./args/DeleteManyClientArgs.js\\"; +import { DeleteOneClientArgs } from \\"./args/DeleteOneClientArgs.js\\"; +import { FindFirstClientArgs } from \\"./args/FindFirstClientArgs.js\\"; +import { FindFirstClientOrThrowArgs } from \\"./args/FindFirstClientOrThrowArgs.js\\"; +import { FindManyClientArgs } from \\"./args/FindManyClientArgs.js\\"; +import { FindUniqueClientArgs } from \\"./args/FindUniqueClientArgs.js\\"; +import { FindUniqueClientOrThrowArgs } from \\"./args/FindUniqueClientOrThrowArgs.js\\"; +import { GroupByClientArgs } from \\"./args/GroupByClientArgs.js\\"; +import { UpdateManyClientArgs } from \\"./args/UpdateManyClientArgs.js\\"; +import { UpdateOneClientArgs } from \\"./args/UpdateOneClientArgs.js\\"; +import { UpsertOneClientArgs } from \\"./args/UpsertOneClientArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { Client } from \\"../../../models/Client.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateClient } from \\"../../outputs/AggregateClient.js\\"; +import { ClientGroupBy } from \\"../../outputs/ClientGroupBy.js\\"; @TypeGraphQL.Resolver(_of => Client) export class ClientCrudResolver { @@ -3612,10 +3612,10 @@ export class ClientCrudResolver { exports[`crud when model is renamed should properly generate resolver class for single prisma model: GroupByMainUserResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { GroupByMainUserArgs } from \\"./args/GroupByMainUserArgs\\"; -import { MainUser } from \\"../../../models/MainUser\\"; -import { MainUserGroupBy } from \\"../../outputs/MainUserGroupBy\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { GroupByMainUserArgs } from \\"./args/GroupByMainUserArgs.js\\"; +import { MainUser } from \\"../../../models/MainUser.js\\"; +import { MainUserGroupBy } from \\"../../outputs/MainUserGroupBy.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => MainUser) export class GroupByMainUserResolver { @@ -3638,25 +3638,25 @@ export class GroupByMainUserResolver { exports[`crud when model is renamed should properly generate resolver class for single prisma model: MainUserCrudResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { AggregateMainUserArgs } from \\"./args/AggregateMainUserArgs\\"; -import { CreateManyMainUserArgs } from \\"./args/CreateManyMainUserArgs\\"; -import { CreateOneMainUserArgs } from \\"./args/CreateOneMainUserArgs\\"; -import { DeleteManyMainUserArgs } from \\"./args/DeleteManyMainUserArgs\\"; -import { DeleteOneMainUserArgs } from \\"./args/DeleteOneMainUserArgs\\"; -import { FindFirstMainUserArgs } from \\"./args/FindFirstMainUserArgs\\"; -import { FindFirstMainUserOrThrowArgs } from \\"./args/FindFirstMainUserOrThrowArgs\\"; -import { FindManyMainUserArgs } from \\"./args/FindManyMainUserArgs\\"; -import { FindUniqueMainUserArgs } from \\"./args/FindUniqueMainUserArgs\\"; -import { FindUniqueMainUserOrThrowArgs } from \\"./args/FindUniqueMainUserOrThrowArgs\\"; -import { GroupByMainUserArgs } from \\"./args/GroupByMainUserArgs\\"; -import { UpdateManyMainUserArgs } from \\"./args/UpdateManyMainUserArgs\\"; -import { UpdateOneMainUserArgs } from \\"./args/UpdateOneMainUserArgs\\"; -import { UpsertOneMainUserArgs } from \\"./args/UpsertOneMainUserArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; -import { MainUser } from \\"../../../models/MainUser\\"; -import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput\\"; -import { AggregateMainUser } from \\"../../outputs/AggregateMainUser\\"; -import { MainUserGroupBy } from \\"../../outputs/MainUserGroupBy\\"; +import { AggregateMainUserArgs } from \\"./args/AggregateMainUserArgs.js\\"; +import { CreateManyMainUserArgs } from \\"./args/CreateManyMainUserArgs.js\\"; +import { CreateOneMainUserArgs } from \\"./args/CreateOneMainUserArgs.js\\"; +import { DeleteManyMainUserArgs } from \\"./args/DeleteManyMainUserArgs.js\\"; +import { DeleteOneMainUserArgs } from \\"./args/DeleteOneMainUserArgs.js\\"; +import { FindFirstMainUserArgs } from \\"./args/FindFirstMainUserArgs.js\\"; +import { FindFirstMainUserOrThrowArgs } from \\"./args/FindFirstMainUserOrThrowArgs.js\\"; +import { FindManyMainUserArgs } from \\"./args/FindManyMainUserArgs.js\\"; +import { FindUniqueMainUserArgs } from \\"./args/FindUniqueMainUserArgs.js\\"; +import { FindUniqueMainUserOrThrowArgs } from \\"./args/FindUniqueMainUserOrThrowArgs.js\\"; +import { GroupByMainUserArgs } from \\"./args/GroupByMainUserArgs.js\\"; +import { UpdateManyMainUserArgs } from \\"./args/UpdateManyMainUserArgs.js\\"; +import { UpdateOneMainUserArgs } from \\"./args/UpdateOneMainUserArgs.js\\"; +import { UpsertOneMainUserArgs } from \\"./args/UpsertOneMainUserArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; +import { MainUser } from \\"../../../models/MainUser.js\\"; +import { AffectedRowsOutput } from \\"../../outputs/AffectedRowsOutput.js\\"; +import { AggregateMainUser } from \\"../../outputs/AggregateMainUser.js\\"; +import { MainUserGroupBy } from \\"../../outputs/MainUserGroupBy.js\\"; @TypeGraphQL.Resolver(_of => MainUser) export class MainUserCrudResolver { @@ -3821,7 +3821,7 @@ export class MainUserCrudResolver { exports[`crud when useUncheckedScalarInputs mode is enabled should properly generate create and update args classes: CreateOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserUncheckedCreateInput } from \\"../../../inputs/UserUncheckedCreateInput\\"; +import { UserUncheckedCreateInput } from \\"../../../inputs/UserUncheckedCreateInput.js\\"; @TypeGraphQL.ArgsType() export class CreateOneUserArgs { @@ -3836,8 +3836,8 @@ export class CreateOneUserArgs { exports[`crud when useUncheckedScalarInputs mode is enabled should properly generate create and update args classes: UpdateManyUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserUncheckedUpdateManyInput } from \\"../../../inputs/UserUncheckedUpdateManyInput\\"; -import { UserWhereInput } from \\"../../../inputs/UserWhereInput\\"; +import { UserUncheckedUpdateManyInput } from \\"../../../inputs/UserUncheckedUpdateManyInput.js\\"; +import { UserWhereInput } from \\"../../../inputs/UserWhereInput.js\\"; @TypeGraphQL.ArgsType() export class UpdateManyUserArgs { @@ -3857,8 +3857,8 @@ export class UpdateManyUserArgs { exports[`crud when useUncheckedScalarInputs mode is enabled should properly generate create and update args classes: UpdateOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserUncheckedUpdateInput } from \\"../../../inputs/UserUncheckedUpdateInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserUncheckedUpdateInput } from \\"../../../inputs/UserUncheckedUpdateInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class UpdateOneUserArgs { @@ -3878,9 +3878,9 @@ export class UpdateOneUserArgs { exports[`crud when useUncheckedScalarInputs mode is enabled should properly generate create and update args classes: UpsertOneUserArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { UserUncheckedCreateInput } from \\"../../../inputs/UserUncheckedCreateInput\\"; -import { UserUncheckedUpdateInput } from \\"../../../inputs/UserUncheckedUpdateInput\\"; -import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput\\"; +import { UserUncheckedCreateInput } from \\"../../../inputs/UserUncheckedCreateInput.js\\"; +import { UserUncheckedUpdateInput } from \\"../../../inputs/UserUncheckedUpdateInput.js\\"; +import { UserWhereUniqueInput } from \\"../../../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.ArgsType() export class UpsertOneUserArgs { diff --git a/tests/regression/__snapshots__/emit-only.ts.snap b/tests/regression/__snapshots__/emit-only.ts.snap index b7f72aa0f..61fe8d12d 100644 --- a/tests/regression/__snapshots__/emit-only.ts.snap +++ b/tests/regression/__snapshots__/emit-only.ts.snap @@ -3,12 +3,12 @@ exports[`emitOnly generator option when both 'crudResolvers' and \`inputs\` is set should not fail and generate proper files, enhance and index: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as argsTypes from \\"./resolvers/crud/args.index\\"; -import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index\\"; -import * as models from \\"./models\\"; -import * as outputTypes from \\"./resolvers/outputs\\"; -import * as inputTypes from \\"./resolvers/inputs\\"; +import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as argsTypes from \\"./resolvers/crud/args.index.js\\"; +import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index.js\\"; +import * as models from \\"./models/index.js\\"; +import * as outputTypes from \\"./resolvers/outputs/index.js\\"; +import * as inputTypes from \\"./resolvers/inputs/index.js\\"; export type MethodDecoratorOverrideFn = (decorators: MethodDecorator[]) => MethodDecorator[]; @@ -437,19 +437,19 @@ export function applyInputTypesEnhanceMap( `; exports[`emitOnly generator option when both 'crudResolvers' and \`inputs\` is set should not fail and generate proper files, enhance and index: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -652,12 +652,12 @@ exports[`emitOnly generator option when both 'crudResolvers' and \`inputs\` is s exports[`emitOnly generator option when only 'crudResolvers' is set should generate proper files, enhance and index: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as argsTypes from \\"./resolvers/crud/args.index\\"; -import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index\\"; -import * as models from \\"./models\\"; -import * as outputTypes from \\"./resolvers/outputs\\"; -import * as inputTypes from \\"./resolvers/inputs\\"; +import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as argsTypes from \\"./resolvers/crud/args.index.js\\"; +import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index.js\\"; +import * as models from \\"./models/index.js\\"; +import * as outputTypes from \\"./resolvers/outputs/index.js\\"; +import * as inputTypes from \\"./resolvers/inputs/index.js\\"; export type MethodDecoratorOverrideFn = (decorators: MethodDecorator[]) => MethodDecorator[]; @@ -1086,19 +1086,19 @@ export function applyInputTypesEnhanceMap( `; exports[`emitOnly generator option when only 'crudResolvers' is set should generate proper files, enhance and index: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -1307,9 +1307,9 @@ import * as tslib from \\"tslib\\"; exports[`emitOnly generator option when only 'enums' is set should generate proper files, enhance and index: mainIndex 1`] = ` "import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; " `; @@ -1335,7 +1335,7 @@ exports[`emitOnly generator option when only 'enums' is set should generate prop exports[`emitOnly generator option when only 'inputs' is set should generate proper files, enhance and index: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as inputTypes from \\"./resolvers/inputs\\"; +import * as inputTypes from \\"./resolvers/inputs/index.js\\"; type TypeConfig = { class?: ClassDecorator[]; @@ -1501,10 +1501,10 @@ export function applyInputTypesEnhanceMap( exports[`emitOnly generator option when only 'inputs' is set should generate proper files, enhance and index: mainIndex 1`] = ` "import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./resolvers/inputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; " `; @@ -1612,8 +1612,8 @@ exports[`emitOnly generator option when only 'models' is set should generate mod "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Post } from \\"../models/Post\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Post } from \\"../models/Post.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -1637,7 +1637,7 @@ export class User { exports[`emitOnly generator option when only 'models' is set should generate model without _count, proper files, enhance and index: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as models from \\"./models\\"; +import * as models from \\"./models/index.js\\"; type TypeConfig = { class?: ClassDecorator[]; @@ -1725,10 +1725,10 @@ export function applyModelsEnhanceMap(modelsEnhanceMap: ModelsEnhanceMap) { exports[`emitOnly generator option when only 'models' is set should generate model without _count, proper files, enhance and index: mainIndex 1`] = ` "import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; " `; @@ -1758,7 +1758,7 @@ exports[`emitOnly generator option when only 'models' is set should generate mod exports[`emitOnly generator option when only 'outputs' is set should generate proper files, enhance and index: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as outputTypes from \\"./resolvers/outputs\\"; +import * as outputTypes from \\"./resolvers/outputs/index.js\\"; type TypeConfig = { class?: ClassDecorator[]; @@ -1862,10 +1862,10 @@ export function applyOutputTypesEnhanceMap( exports[`emitOnly generator option when only 'outputs' is set should generate proper files, enhance and index: mainIndex 1`] = ` "import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; " `; @@ -1910,9 +1910,9 @@ exports[`emitOnly generator option when only 'outputs' is set should generate pr exports[`emitOnly generator option when only 'relationResolvers' is set should generate proper files, enhance and index: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as relationResolvers from \\"./resolvers/relations/resolvers.index\\"; -import * as models from \\"./models\\"; -import * as inputTypes from \\"./resolvers/inputs\\"; +import * as relationResolvers from \\"./resolvers/relations/resolvers.index.js\\"; +import * as models from \\"./models/index.js\\"; +import * as inputTypes from \\"./resolvers/inputs/index.js\\"; export type MethodDecoratorOverrideFn = (decorators: MethodDecorator[]) => MethodDecorator[]; @@ -2165,18 +2165,18 @@ export function applyInputTypesEnhanceMap( `; exports[`emitOnly generator option when only 'relationResolvers' is set should generate proper files, enhance and index: mainIndex 1`] = ` -"import * as relationResolversImport from \\"./resolvers/relations/resolvers.index\\"; +"import * as relationResolversImport from \\"./resolvers/relations/resolvers.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/relations\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/relations/index.js\\"; -export const relationResolvers = Object.values(relationResolversImport) as unknown as NonEmptyArray; +export const relationResolvers: NonEmptyArray = Object.values(relationResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ diff --git a/tests/regression/__snapshots__/enhance.ts.snap b/tests/regression/__snapshots__/enhance.ts.snap index 3280df047..7ef8e84d8 100644 --- a/tests/regression/__snapshots__/enhance.ts.snap +++ b/tests/regression/__snapshots__/enhance.ts.snap @@ -3,13 +3,13 @@ exports[`resolvers enhance should emit emit enhance file properly: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as argsTypes from \\"./resolvers/crud/args.index\\"; -import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index\\"; -import * as relationResolvers from \\"./resolvers/relations/resolvers.index\\"; -import * as models from \\"./models\\"; -import * as outputTypes from \\"./resolvers/outputs\\"; -import * as inputTypes from \\"./resolvers/inputs\\"; +import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as argsTypes from \\"./resolvers/crud/args.index.js\\"; +import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index.js\\"; +import * as relationResolvers from \\"./resolvers/relations/resolvers.index.js\\"; +import * as models from \\"./models/index.js\\"; +import * as outputTypes from \\"./resolvers/outputs/index.js\\"; +import * as inputTypes from \\"./resolvers/inputs/index.js\\"; export type MethodDecoratorOverrideFn = (decorators: MethodDecorator[]) => MethodDecorator[]; @@ -485,24 +485,24 @@ export function applyInputTypesEnhanceMap( `; exports[`resolvers enhance should emit emit enhance file properly: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as relationResolversImport from \\"./resolvers/relations/resolvers.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as relationResolversImport from \\"./resolvers/relations/resolvers.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/relations\\"; +export * from \\"./resolvers/relations/index.js\\"; -export const relationResolvers = Object.values(relationResolversImport) as unknown as NonEmptyArray; +export const relationResolvers: NonEmptyArray = Object.values(relationResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -514,12 +514,12 @@ export const resolvers = [ exports[`resolvers enhance should emit enhance file properly even in model has no relations: enhance 1`] = ` "import { ClassType } from \\"type-graphql\\"; import * as tslib from \\"tslib\\"; -import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as argsTypes from \\"./resolvers/crud/args.index\\"; -import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index\\"; -import * as models from \\"./models\\"; -import * as outputTypes from \\"./resolvers/outputs\\"; -import * as inputTypes from \\"./resolvers/inputs\\"; +import * as crudResolvers from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as argsTypes from \\"./resolvers/crud/args.index.js\\"; +import * as actionResolvers from \\"./resolvers/crud/resolvers-actions.index.js\\"; +import * as models from \\"./models/index.js\\"; +import * as outputTypes from \\"./resolvers/outputs/index.js\\"; +import * as inputTypes from \\"./resolvers/inputs/index.js\\"; export type MethodDecoratorOverrideFn = (decorators: MethodDecorator[]) => MethodDecorator[]; diff --git a/tests/regression/__snapshots__/enums.ts.snap b/tests/regression/__snapshots__/enums.ts.snap index 363cf729c..fab6add7f 100644 --- a/tests/regression/__snapshots__/enums.ts.snap +++ b/tests/regression/__snapshots__/enums.ts.snap @@ -16,8 +16,8 @@ TypeGraphQL.registerEnumType(Role, { `; exports[`enums should properly generate code for enum with docs: enums index 1`] = ` -"export { Role } from \\"./Role\\"; -export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel\\"; +"export { Role } from \\"./Role.js\\"; +export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel.js\\"; " `; @@ -52,10 +52,10 @@ TypeGraphQL.registerEnumType(SampleModelScalarFieldEnum, { `; exports[`enums should properly generate model scalar enum when model field is renamed: enums index 1`] = ` -"export { QueryMode } from \\"./QueryMode\\"; -export { SampleModelScalarFieldEnum } from \\"./SampleModelScalarFieldEnum\\"; -export { SortOrder } from \\"./SortOrder\\"; -export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel\\"; +"export { QueryMode } from \\"./QueryMode.js\\"; +export { SampleModelScalarFieldEnum } from \\"./SampleModelScalarFieldEnum.js\\"; +export { SortOrder } from \\"./SortOrder.js\\"; +export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel.js\\"; " `; @@ -75,10 +75,10 @@ TypeGraphQL.registerEnumType(ExampleModelScalarFieldEnum, { `; exports[`enums should properly generate model scalar enum when model is renamed: enums index 1`] = ` -"export { ExampleModelScalarFieldEnum } from \\"./ExampleModelScalarFieldEnum\\"; -export { QueryMode } from \\"./QueryMode\\"; -export { SortOrder } from \\"./SortOrder\\"; -export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel\\"; +"export { ExampleModelScalarFieldEnum } from \\"./ExampleModelScalarFieldEnum.js\\"; +export { QueryMode } from \\"./QueryMode.js\\"; +export { SortOrder } from \\"./SortOrder.js\\"; +export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel.js\\"; " `; @@ -98,10 +98,10 @@ TypeGraphQL.registerEnumType(SampleModelScalarFieldEnum, { `; exports[`enums should properly generate model scalar field enum: enums index 1`] = ` -"export { QueryMode } from \\"./QueryMode\\"; -export { SampleModelScalarFieldEnum } from \\"./SampleModelScalarFieldEnum\\"; -export { SortOrder } from \\"./SortOrder\\"; -export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel\\"; +"export { QueryMode } from \\"./QueryMode.js\\"; +export { SampleModelScalarFieldEnum } from \\"./SampleModelScalarFieldEnum.js\\"; +export { SortOrder } from \\"./SortOrder.js\\"; +export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel.js\\"; " `; @@ -162,13 +162,13 @@ TypeGraphQL.registerEnumType(SortOrder, { `; exports[`enums should properly generate standard prisma enums: enums index 1`] = ` -"export { JsonNullValueFilter } from \\"./JsonNullValueFilter\\"; -export { JsonNullValueInput } from \\"./JsonNullValueInput\\"; -export { NullableJsonNullValueInput } from \\"./NullableJsonNullValueInput\\"; -export { QueryMode } from \\"./QueryMode\\"; -export { SampleModelScalarFieldEnum } from \\"./SampleModelScalarFieldEnum\\"; -export { SortOrder } from \\"./SortOrder\\"; -export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel\\"; +"export { JsonNullValueFilter } from \\"./JsonNullValueFilter.js\\"; +export { JsonNullValueInput } from \\"./JsonNullValueInput.js\\"; +export { NullableJsonNullValueInput } from \\"./NullableJsonNullValueInput.js\\"; +export { QueryMode } from \\"./QueryMode.js\\"; +export { SampleModelScalarFieldEnum } from \\"./SampleModelScalarFieldEnum.js\\"; +export { SortOrder } from \\"./SortOrder.js\\"; +export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel.js\\"; " `; @@ -213,11 +213,11 @@ TypeGraphQL.registerEnumType(NullsOrder, { `; exports[`enums when \`orderByNulls\` preview feature is enabled should properly generate NullsOrder enum type: enums index 1`] = ` -"export { FirstModelScalarFieldEnum } from \\"./FirstModelScalarFieldEnum\\"; -export { NullsOrder } from \\"./NullsOrder\\"; -export { QueryMode } from \\"./QueryMode\\"; -export { SecondModelScalarFieldEnum } from \\"./SecondModelScalarFieldEnum\\"; -export { SortOrder } from \\"./SortOrder\\"; -export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel\\"; +"export { FirstModelScalarFieldEnum } from \\"./FirstModelScalarFieldEnum.js\\"; +export { NullsOrder } from \\"./NullsOrder.js\\"; +export { QueryMode } from \\"./QueryMode.js\\"; +export { SecondModelScalarFieldEnum } from \\"./SecondModelScalarFieldEnum.js\\"; +export { SortOrder } from \\"./SortOrder.js\\"; +export { TransactionIsolationLevel } from \\"./TransactionIsolationLevel.js\\"; " `; diff --git a/tests/regression/__snapshots__/generate-scalars.ts.snap b/tests/regression/__snapshots__/generate-scalars.ts.snap index ea347911d..916bcda11 100644 --- a/tests/regression/__snapshots__/generate-scalars.ts.snap +++ b/tests/regression/__snapshots__/generate-scalars.ts.snap @@ -1,19 +1,19 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`custom scalars should properly emit custom scalars file: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, diff --git a/tests/regression/__snapshots__/inputs.ts.snap b/tests/regression/__snapshots__/inputs.ts.snap index 7f9f0e7d5..d07096efd 100644 --- a/tests/regression/__snapshots__/inputs.ts.snap +++ b/tests/regression/__snapshots__/inputs.ts.snap @@ -4,13 +4,13 @@ exports[`inputs should generate proper ScalarWhereWithAggregatesInput for model: "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { BoolWithAggregatesFilter } from \\"../inputs/BoolWithAggregatesFilter\\"; -import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter\\"; -import { FloatWithAggregatesFilter } from \\"../inputs/FloatWithAggregatesFilter\\"; -import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter\\"; -import { JsonWithAggregatesFilter } from \\"../inputs/JsonWithAggregatesFilter\\"; -import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { BoolWithAggregatesFilter } from \\"../inputs/BoolWithAggregatesFilter.js\\"; +import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter.js\\"; +import { FloatWithAggregatesFilter } from \\"../inputs/FloatWithAggregatesFilter.js\\"; +import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter.js\\"; +import { JsonWithAggregatesFilter } from \\"../inputs/JsonWithAggregatesFilter.js\\"; +import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter.js\\"; @TypeGraphQL.InputType(\\"SampleScalarWhereWithAggregatesInput\\", { isAbstract: true @@ -73,10 +73,10 @@ exports[`inputs should generate proper WithAggregatesFilter for scalars: BoolWit "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBoolFilter } from \\"../inputs/NestedBoolFilter\\"; -import { NestedBoolWithAggregatesFilter } from \\"../inputs/NestedBoolWithAggregatesFilter\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBoolFilter } from \\"../inputs/NestedBoolFilter.js\\"; +import { NestedBoolWithAggregatesFilter } from \\"../inputs/NestedBoolWithAggregatesFilter.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; @TypeGraphQL.InputType(\\"BoolWithAggregatesFilter\\", { isAbstract: true @@ -114,10 +114,10 @@ exports[`inputs should generate proper WithAggregatesFilter for scalars: DateTim "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedDateTimeFilter } from \\"../inputs/NestedDateTimeFilter\\"; -import { NestedDateTimeWithAggregatesFilter } from \\"../inputs/NestedDateTimeWithAggregatesFilter\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedDateTimeFilter } from \\"../inputs/NestedDateTimeFilter.js\\"; +import { NestedDateTimeWithAggregatesFilter } from \\"../inputs/NestedDateTimeWithAggregatesFilter.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; @TypeGraphQL.InputType(\\"DateTimeWithAggregatesFilter\\", { isAbstract: true @@ -185,10 +185,10 @@ exports[`inputs should generate proper WithAggregatesFilter for scalars: FloatWi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedFloatFilter } from \\"../inputs/NestedFloatFilter\\"; -import { NestedFloatWithAggregatesFilter } from \\"../inputs/NestedFloatWithAggregatesFilter\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedFloatFilter } from \\"../inputs/NestedFloatFilter.js\\"; +import { NestedFloatWithAggregatesFilter } from \\"../inputs/NestedFloatWithAggregatesFilter.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; @TypeGraphQL.InputType(\\"FloatWithAggregatesFilter\\", { isAbstract: true @@ -266,10 +266,10 @@ exports[`inputs should generate proper WithAggregatesFilter for scalars: IntWith "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedFloatFilter } from \\"../inputs/NestedFloatFilter\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; -import { NestedIntWithAggregatesFilter } from \\"../inputs/NestedIntWithAggregatesFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedFloatFilter } from \\"../inputs/NestedFloatFilter.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; +import { NestedIntWithAggregatesFilter } from \\"../inputs/NestedIntWithAggregatesFilter.js\\"; @TypeGraphQL.InputType(\\"IntWithAggregatesFilter\\", { isAbstract: true @@ -347,9 +347,9 @@ exports[`inputs should generate proper WithAggregatesFilter for scalars: JsonWit "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; -import { NestedJsonFilter } from \\"../inputs/NestedJsonFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; +import { NestedJsonFilter } from \\"../inputs/NestedJsonFilter.js\\"; @TypeGraphQL.InputType(\\"JsonWithAggregatesFilter\\", { isAbstract: true @@ -442,11 +442,11 @@ exports[`inputs should generate proper WithAggregatesFilter for scalars: StringW "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; -import { NestedStringFilter } from \\"../inputs/NestedStringFilter\\"; -import { NestedStringWithAggregatesFilter } from \\"../inputs/NestedStringWithAggregatesFilter\\"; -import { QueryMode } from \\"../../enums/QueryMode\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; +import { NestedStringFilter } from \\"../inputs/NestedStringFilter.js\\"; +import { NestedStringWithAggregatesFilter } from \\"../inputs/NestedStringWithAggregatesFilter.js\\"; +import { QueryMode } from \\"../../enums/QueryMode.js\\"; @TypeGraphQL.InputType(\\"StringWithAggregatesFilter\\", { isAbstract: true @@ -531,48 +531,48 @@ export class StringWithAggregatesFilter { `; exports[`inputs should generate proper WithAggregatesFilter for scalars: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput\\"; -export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput\\"; -export { SampleCreateInput } from \\"./SampleCreateInput\\"; -export { SampleCreateManyInput } from \\"./SampleCreateManyInput\\"; -export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput\\"; -export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput\\"; -export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput\\"; -export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput\\"; -export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput\\"; -export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput\\"; -export { SampleUpdateInput } from \\"./SampleUpdateInput\\"; -export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput\\"; -export { SampleWhereInput } from \\"./SampleWhereInput\\"; -export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput.js\\"; +export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput.js\\"; +export { SampleCreateInput } from \\"./SampleCreateInput.js\\"; +export { SampleCreateManyInput } from \\"./SampleCreateManyInput.js\\"; +export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput.js\\"; +export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput.js\\"; +export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput.js\\"; +export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput.js\\"; +export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput.js\\"; +export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput.js\\"; +export { SampleUpdateInput } from \\"./SampleUpdateInput.js\\"; +export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput.js\\"; +export { SampleWhereInput } from \\"./SampleWhereInput.js\\"; +export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -580,9 +580,9 @@ exports[`inputs should properly generate input type class for filtering by enums "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedEnumColorFilter } from \\"../inputs/NestedEnumColorFilter\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedEnumColorFilter } from \\"../inputs/NestedEnumColorFilter.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"EnumColorFilter\\", { isAbstract: true @@ -615,8 +615,8 @@ exports[`inputs should properly generate input type class for filtering by enums "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"NestedEnumColorFilter\\", { isAbstract: true @@ -646,31 +646,31 @@ export class NestedEnumColorFilter { `; exports[`inputs should properly generate input type class for filtering by enums values: index 1`] = ` -"export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput\\"; -export { EnumColorFilter } from \\"./EnumColorFilter\\"; -export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter\\"; -export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; +"export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput.js\\"; +export { EnumColorFilter } from \\"./EnumColorFilter.js\\"; +export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter.js\\"; +export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; " `; @@ -678,10 +678,10 @@ exports[`inputs should properly generate input type classes for connectOrCreate: "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { UserCreateOrConnectWithoutPostsFieldInput } from \\"../inputs/UserCreateOrConnectWithoutPostsFieldInput\\"; -import { UserCreateWithoutPostsFieldInput } from \\"../inputs/UserCreateWithoutPostsFieldInput\\"; -import { UserWhereUniqueInput } from \\"../inputs/UserWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { UserCreateOrConnectWithoutPostsFieldInput } from \\"../inputs/UserCreateOrConnectWithoutPostsFieldInput.js\\"; +import { UserCreateWithoutPostsFieldInput } from \\"../inputs/UserCreateWithoutPostsFieldInput.js\\"; +import { UserWhereUniqueInput } from \\"../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"UserCreateNestedOneWithoutPostsFieldInput\\", { isAbstract: true @@ -709,9 +709,9 @@ exports[`inputs should properly generate input type classes for connectOrCreate: "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { UserCreateWithoutPostsFieldInput } from \\"../inputs/UserCreateWithoutPostsFieldInput\\"; -import { UserWhereUniqueInput } from \\"../inputs/UserWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { UserCreateWithoutPostsFieldInput } from \\"../inputs/UserCreateWithoutPostsFieldInput.js\\"; +import { UserWhereUniqueInput } from \\"../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"UserCreateOrConnectWithoutPostsFieldInput\\", { isAbstract: true @@ -734,12 +734,12 @@ exports[`inputs should properly generate input type classes for connectOrCreate: "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { UserCreateOrConnectWithoutPostsFieldInput } from \\"../inputs/UserCreateOrConnectWithoutPostsFieldInput\\"; -import { UserCreateWithoutPostsFieldInput } from \\"../inputs/UserCreateWithoutPostsFieldInput\\"; -import { UserUpdateWithoutPostsFieldInput } from \\"../inputs/UserUpdateWithoutPostsFieldInput\\"; -import { UserUpsertWithoutPostsFieldInput } from \\"../inputs/UserUpsertWithoutPostsFieldInput\\"; -import { UserWhereUniqueInput } from \\"../inputs/UserWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { UserCreateOrConnectWithoutPostsFieldInput } from \\"../inputs/UserCreateOrConnectWithoutPostsFieldInput.js\\"; +import { UserCreateWithoutPostsFieldInput } from \\"../inputs/UserCreateWithoutPostsFieldInput.js\\"; +import { UserUpdateWithoutPostsFieldInput } from \\"../inputs/UserUpdateWithoutPostsFieldInput.js\\"; +import { UserUpsertWithoutPostsFieldInput } from \\"../inputs/UserUpsertWithoutPostsFieldInput.js\\"; +import { UserWhereUniqueInput } from \\"../inputs/UserWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateOneRequiredWithoutPostsFieldNestedInput\\", { isAbstract: true @@ -777,10 +777,10 @@ exports[`inputs should properly generate input type classes for creating models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelCreateintArrayFieldInput } from \\"../inputs/SampleModelCreateintArrayFieldInput\\"; -import { SampleModelCreatestringArrayFieldInput } from \\"../inputs/SampleModelCreatestringArrayFieldInput\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelCreateintArrayFieldInput } from \\"../inputs/SampleModelCreateintArrayFieldInput.js\\"; +import { SampleModelCreatestringArrayFieldInput } from \\"../inputs/SampleModelCreatestringArrayFieldInput.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -873,10 +873,10 @@ exports[`inputs should properly generate input type classes for creating models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelCreateintArrayFieldInput } from \\"../inputs/SampleModelCreateintArrayFieldInput\\"; -import { SampleModelCreatestringArrayFieldInput } from \\"../inputs/SampleModelCreatestringArrayFieldInput\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelCreateintArrayFieldInput } from \\"../inputs/SampleModelCreateintArrayFieldInput.js\\"; +import { SampleModelCreatestringArrayFieldInput } from \\"../inputs/SampleModelCreatestringArrayFieldInput.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -974,7 +974,7 @@ exports[`inputs should properly generate input type classes for creating models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateintArrayFieldInput\\", { isAbstract: true @@ -992,7 +992,7 @@ exports[`inputs should properly generate input type classes for creating models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreatestringArrayFieldInput\\", { isAbstract: true @@ -1007,92 +1007,92 @@ export class SampleModelCreatestringArrayFieldInput { `; exports[`inputs should properly generate input type classes for creating models and scalar fields: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolNullableFilter } from \\"./BoolNullableFilter\\"; -export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter\\"; -export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput\\"; -export { EnumColorFilter } from \\"./EnumColorFilter\\"; -export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter\\"; -export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter\\"; -export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntNullableFilter } from \\"./IntNullableFilter\\"; -export { IntNullableListFilter } from \\"./IntNullableListFilter\\"; -export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonNullableFilter } from \\"./JsonNullableFilter\\"; -export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter\\"; -export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter\\"; -export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter\\"; -export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter\\"; -export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter\\"; -export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter\\"; -export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput\\"; -export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput\\"; -export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput\\"; -export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput\\"; -export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput\\"; -export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringNullableFilter } from \\"./StringNullableFilter\\"; -export { StringNullableListFilter } from \\"./StringNullableListFilter\\"; -export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolNullableFilter } from \\"./BoolNullableFilter.js\\"; +export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter.js\\"; +export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput.js\\"; +export { EnumColorFilter } from \\"./EnumColorFilter.js\\"; +export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter.js\\"; +export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter.js\\"; +export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntNullableFilter } from \\"./IntNullableFilter.js\\"; +export { IntNullableListFilter } from \\"./IntNullableListFilter.js\\"; +export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonNullableFilter } from \\"./JsonNullableFilter.js\\"; +export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter.js\\"; +export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter.js\\"; +export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter.js\\"; +export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter.js\\"; +export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter.js\\"; +export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter.js\\"; +export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput.js\\"; +export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput.js\\"; +export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput.js\\"; +export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput.js\\"; +export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput.js\\"; +export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringNullableFilter } from \\"./StringNullableFilter.js\\"; +export { StringNullableListFilter } from \\"./StringNullableListFilter.js\\"; +export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -1100,7 +1100,7 @@ exports[`inputs should properly generate input type classes for filtering json f "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"JsonFilter\\", { isAbstract: true @@ -1178,9 +1178,9 @@ exports[`inputs should properly generate input type classes for filtering json f "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; -import { NestedJsonFilter } from \\"../inputs/NestedJsonFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; +import { NestedJsonFilter } from \\"../inputs/NestedJsonFilter.js\\"; @TypeGraphQL.InputType(\\"JsonWithAggregatesFilter\\", { isAbstract: true @@ -1273,7 +1273,7 @@ exports[`inputs should properly generate input type classes for filtering json f "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedJsonFilter\\", { isAbstract: true @@ -1348,48 +1348,48 @@ export class NestedJsonFilter { `; exports[`inputs should properly generate input type classes for filtering json fields: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput\\"; -export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput\\"; -export { SampleCreateInput } from \\"./SampleCreateInput\\"; -export { SampleCreateManyInput } from \\"./SampleCreateManyInput\\"; -export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput\\"; -export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput\\"; -export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput\\"; -export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput\\"; -export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput\\"; -export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput\\"; -export { SampleUpdateInput } from \\"./SampleUpdateInput\\"; -export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput\\"; -export { SampleWhereInput } from \\"./SampleWhereInput\\"; -export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput.js\\"; +export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput.js\\"; +export { SampleCreateInput } from \\"./SampleCreateInput.js\\"; +export { SampleCreateManyInput } from \\"./SampleCreateManyInput.js\\"; +export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput.js\\"; +export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput.js\\"; +export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput.js\\"; +export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput.js\\"; +export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput.js\\"; +export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput.js\\"; +export { SampleUpdateInput } from \\"./SampleUpdateInput.js\\"; +export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput.js\\"; +export { SampleWhereInput } from \\"./SampleWhereInput.js\\"; +export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -1397,14 +1397,14 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { BoolFilter } from \\"../inputs/BoolFilter\\"; -import { DateTimeFilter } from \\"../inputs/DateTimeFilter\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { JsonFilter } from \\"../inputs/JsonFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; -import { StringNullableFilter } from \\"../inputs/StringNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { BoolFilter } from \\"../inputs/BoolFilter.js\\"; +import { DateTimeFilter } from \\"../inputs/DateTimeFilter.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { JsonFilter } from \\"../inputs/JsonFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; +import { StringNullableFilter } from \\"../inputs/StringNullableFilter.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereInput\\", { isAbstract: true @@ -1472,7 +1472,7 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereUniqueInput\\", { isAbstract: true @@ -1492,54 +1492,54 @@ export class SampleModelWhereUniqueInput { `; exports[`inputs should properly generate input type classes for filtering models by fields: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter\\"; -export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringNullableFilter } from \\"./StringNullableFilter\\"; -export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter.js\\"; +export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringNullableFilter } from \\"./StringNullableFilter.js\\"; +export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -1547,9 +1547,9 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByWithRelationInput\\", { isAbstract: true @@ -1582,10 +1582,10 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"FirstModelScalarWhereInput\\", { isAbstract: true @@ -1628,11 +1628,11 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { SecondModelListRelationFilter } from \\"../inputs/SecondModelListRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { SecondModelListRelationFilter } from \\"../inputs/SecondModelListRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"FirstModelWhereInput\\", { isAbstract: true @@ -1680,7 +1680,7 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"FirstModelWhereUniqueInput\\", { isAbstract: true @@ -1700,71 +1700,71 @@ export class FirstModelWhereUniqueInput { `; exports[`inputs should properly generate input type classes for filtering models by many to many relation fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedManyWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedManyWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelListRelationFilter } from \\"./FirstModelListRelationFilter\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByRelationAggregateInput } from \\"./FirstModelOrderByRelationAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelScalarWhereInput } from \\"./FirstModelScalarWhereInput\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput\\"; -export { FirstModelUpdateManyWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateManyWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelsFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelsFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelsFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelsFieldInput\\"; -export { SecondModelCreateWithoutFirstModelsFieldInput } from \\"./SecondModelCreateWithoutFirstModelsFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelsFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelsFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithoutFirstModelsFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedManyWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedManyWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelListRelationFilter } from \\"./FirstModelListRelationFilter.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByRelationAggregateInput } from \\"./FirstModelOrderByRelationAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelScalarWhereInput } from \\"./FirstModelScalarWhereInput.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpdateManyWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateManyWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelsFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelsFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelsFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelsFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelsFieldInput } from \\"./SecondModelCreateWithoutFirstModelsFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelsFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelsFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithoutFirstModelsFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -1772,9 +1772,9 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByWithRelationInput\\", { isAbstract: true @@ -1807,8 +1807,8 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelWhereInput } from \\"../inputs/FirstModelWhereInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelWhereInput } from \\"../inputs/FirstModelWhereInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelRelationFilter\\", { isAbstract: true @@ -1831,11 +1831,11 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { SecondModelListRelationFilter } from \\"../inputs/SecondModelListRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { SecondModelListRelationFilter } from \\"../inputs/SecondModelListRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"FirstModelWhereInput\\", { isAbstract: true @@ -1883,7 +1883,7 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"FirstModelWhereUniqueInput\\", { isAbstract: true @@ -1906,8 +1906,8 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelWhereInput } from \\"../inputs/SecondModelWhereInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelWhereInput } from \\"../inputs/SecondModelWhereInput.js\\"; @TypeGraphQL.InputType(\\"SecondModelListRelationFilter\\", { isAbstract: true @@ -1935,9 +1935,9 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelOrderByWithRelationInput } from \\"../inputs/FirstModelOrderByWithRelationInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelOrderByWithRelationInput } from \\"../inputs/FirstModelOrderByWithRelationInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SecondModelOrderByWithRelationInput\\", { isAbstract: true @@ -1975,10 +1975,10 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SecondModelScalarWhereInput\\", { isAbstract: true @@ -2026,11 +2026,11 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelRelationFilter } from \\"../inputs/FirstModelRelationFilter\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelRelationFilter } from \\"../inputs/FirstModelRelationFilter.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SecondModelWhereInput\\", { isAbstract: true @@ -2083,7 +2083,7 @@ exports[`inputs should properly generate input type classes for filtering models "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SecondModelWhereUniqueInput\\", { isAbstract: true @@ -2103,69 +2103,69 @@ export class SecondModelWhereUniqueInput { `; exports[`inputs should properly generate input type classes for filtering models by one to many relation fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -2173,8 +2173,8 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBoolFilter } from \\"../inputs/NestedBoolFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBoolFilter } from \\"../inputs/NestedBoolFilter.js\\"; @TypeGraphQL.InputType(\\"BoolFilter\\", { isAbstract: true @@ -2197,8 +2197,8 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedDateTimeFilter } from \\"../inputs/NestedDateTimeFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedDateTimeFilter } from \\"../inputs/NestedDateTimeFilter.js\\"; @TypeGraphQL.InputType(\\"DateTimeFilter\\", { isAbstract: true @@ -2251,8 +2251,8 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedFloatFilter } from \\"../inputs/NestedFloatFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedFloatFilter } from \\"../inputs/NestedFloatFilter.js\\"; @TypeGraphQL.InputType(\\"FloatFilter\\", { isAbstract: true @@ -2305,8 +2305,8 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedIntFilter } from \\"../inputs/NestedIntFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedIntFilter } from \\"../inputs/NestedIntFilter.js\\"; @TypeGraphQL.InputType(\\"IntFilter\\", { isAbstract: true @@ -2359,7 +2359,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"IntNullableListFilter\\", { isAbstract: true @@ -2397,7 +2397,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"JsonFilter\\", { isAbstract: true @@ -2475,7 +2475,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedBoolFilter\\", { isAbstract: true @@ -2498,7 +2498,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedDateTimeFilter\\", { isAbstract: true @@ -2551,7 +2551,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedFloatFilter\\", { isAbstract: true @@ -2604,7 +2604,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedIntFilter\\", { isAbstract: true @@ -2657,7 +2657,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedJsonFilter\\", { isAbstract: true @@ -2735,7 +2735,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedStringNullableFilter\\", { isAbstract: true @@ -2803,9 +2803,9 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedStringFilter } from \\"../inputs/NestedStringFilter\\"; -import { QueryMode } from \\"../../enums/QueryMode\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedStringFilter } from \\"../inputs/NestedStringFilter.js\\"; +import { QueryMode } from \\"../../enums/QueryMode.js\\"; @TypeGraphQL.InputType(\\"StringFilter\\", { isAbstract: true @@ -2878,9 +2878,9 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedStringNullableFilter } from \\"../inputs/NestedStringNullableFilter\\"; -import { QueryMode } from \\"../../enums/QueryMode\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedStringNullableFilter } from \\"../inputs/NestedStringNullableFilter.js\\"; +import { QueryMode } from \\"../../enums/QueryMode.js\\"; @TypeGraphQL.InputType(\\"StringNullableFilter\\", { isAbstract: true @@ -2953,7 +2953,7 @@ exports[`inputs should properly generate input type classes for filtering scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"StringNullableListFilter\\", { isAbstract: true @@ -2988,82 +2988,82 @@ export class StringNullableListFilter { `; exports[`inputs should properly generate input type classes for filtering scalar fields: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolNullableFilter } from \\"./BoolNullableFilter\\"; -export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter\\"; -export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntNullableFilter } from \\"./IntNullableFilter\\"; -export { IntNullableListFilter } from \\"./IntNullableListFilter\\"; -export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonNullableFilter } from \\"./JsonNullableFilter\\"; -export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter\\"; -export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter\\"; -export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter\\"; -export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput\\"; -export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput\\"; -export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput\\"; -export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput\\"; -export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringNullableFilter } from \\"./StringNullableFilter\\"; -export { StringNullableListFilter } from \\"./StringNullableListFilter\\"; -export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolNullableFilter } from \\"./BoolNullableFilter.js\\"; +export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter.js\\"; +export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntNullableFilter } from \\"./IntNullableFilter.js\\"; +export { IntNullableListFilter } from \\"./IntNullableListFilter.js\\"; +export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonNullableFilter } from \\"./JsonNullableFilter.js\\"; +export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter.js\\"; +export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter.js\\"; +export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter.js\\"; +export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput.js\\"; +export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput.js\\"; +export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput.js\\"; +export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput.js\\"; +export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringNullableFilter } from \\"./StringNullableFilter.js\\"; +export { StringNullableListFilter } from \\"./StringNullableListFilter.js\\"; +export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -3071,7 +3071,7 @@ exports[`inputs should properly generate input type classes for inserting many e "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"FirstModelCreateManyInput\\", { isAbstract: true @@ -3099,7 +3099,7 @@ exports[`inputs should properly generate input type classes for inserting many e "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SecondModelCreateManyFirstModelFieldInput\\", { isAbstract: true @@ -3127,8 +3127,8 @@ exports[`inputs should properly generate input type classes for inserting many e "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelCreateManyFirstModelFieldInput } from \\"../inputs/SecondModelCreateManyFirstModelFieldInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelCreateManyFirstModelFieldInput } from \\"../inputs/SecondModelCreateManyFirstModelFieldInput.js\\"; @TypeGraphQL.InputType(\\"SecondModelCreateManyFirstModelFieldInputEnvelope\\", { isAbstract: true @@ -3151,7 +3151,7 @@ exports[`inputs should properly generate input type classes for inserting many e "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SecondModelCreateManyInput\\", { isAbstract: true @@ -3181,69 +3181,69 @@ export class SecondModelCreateManyInput { `; exports[`inputs should properly generate input type classes for inserting many entities: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -3251,7 +3251,7 @@ exports[`inputs should properly generate input type classes for model with compo "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"DirectorFirstNameLastNameCompoundUniqueInput\\", { isAbstract: true @@ -3274,9 +3274,9 @@ exports[`inputs should properly generate input type classes for model with compo "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { MovieOrderByRelationAggregateInput } from \\"../inputs/MovieOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { MovieOrderByRelationAggregateInput } from \\"../inputs/MovieOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"DirectorOrderByWithRelationInput\\", { isAbstract: true @@ -3309,10 +3309,10 @@ exports[`inputs should properly generate input type classes for model with compo "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { MovieListRelationFilter } from \\"../inputs/MovieListRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { MovieListRelationFilter } from \\"../inputs/MovieListRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"DirectorWhereInput\\", { isAbstract: true @@ -3360,8 +3360,8 @@ exports[`inputs should properly generate input type classes for model with compo "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DirectorFirstNameLastNameCompoundUniqueInput } from \\"../inputs/DirectorFirstNameLastNameCompoundUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DirectorFirstNameLastNameCompoundUniqueInput } from \\"../inputs/DirectorFirstNameLastNameCompoundUniqueInput.js\\"; @TypeGraphQL.InputType(\\"DirectorWhereUniqueInput\\", { isAbstract: true @@ -3376,71 +3376,71 @@ export class DirectorWhereUniqueInput { `; exports[`inputs should properly generate input type classes for model with composite unique index: index 1`] = ` -"export { DirectorAvgOrderByAggregateInput } from \\"./DirectorAvgOrderByAggregateInput\\"; -export { DirectorCountOrderByAggregateInput } from \\"./DirectorCountOrderByAggregateInput\\"; -export { DirectorCreateInput } from \\"./DirectorCreateInput\\"; -export { DirectorCreateManyInput } from \\"./DirectorCreateManyInput\\"; -export { DirectorCreateNestedOneWithoutMoviesInput } from \\"./DirectorCreateNestedOneWithoutMoviesInput\\"; -export { DirectorCreateOrConnectWithoutMoviesInput } from \\"./DirectorCreateOrConnectWithoutMoviesInput\\"; -export { DirectorCreateWithoutMoviesInput } from \\"./DirectorCreateWithoutMoviesInput\\"; -export { DirectorFirstNameLastNameCompoundUniqueInput } from \\"./DirectorFirstNameLastNameCompoundUniqueInput\\"; -export { DirectorMaxOrderByAggregateInput } from \\"./DirectorMaxOrderByAggregateInput\\"; -export { DirectorMinOrderByAggregateInput } from \\"./DirectorMinOrderByAggregateInput\\"; -export { DirectorOrderByWithAggregationInput } from \\"./DirectorOrderByWithAggregationInput\\"; -export { DirectorOrderByWithRelationInput } from \\"./DirectorOrderByWithRelationInput\\"; -export { DirectorRelationFilter } from \\"./DirectorRelationFilter\\"; -export { DirectorScalarWhereWithAggregatesInput } from \\"./DirectorScalarWhereWithAggregatesInput\\"; -export { DirectorSumOrderByAggregateInput } from \\"./DirectorSumOrderByAggregateInput\\"; -export { DirectorUpdateInput } from \\"./DirectorUpdateInput\\"; -export { DirectorUpdateManyMutationInput } from \\"./DirectorUpdateManyMutationInput\\"; -export { DirectorUpdateOneRequiredWithoutMoviesNestedInput } from \\"./DirectorUpdateOneRequiredWithoutMoviesNestedInput\\"; -export { DirectorUpdateWithoutMoviesInput } from \\"./DirectorUpdateWithoutMoviesInput\\"; -export { DirectorUpsertWithoutMoviesInput } from \\"./DirectorUpsertWithoutMoviesInput\\"; -export { DirectorWhereInput } from \\"./DirectorWhereInput\\"; -export { DirectorWhereUniqueInput } from \\"./DirectorWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { MovieAvgOrderByAggregateInput } from \\"./MovieAvgOrderByAggregateInput\\"; -export { MovieCountOrderByAggregateInput } from \\"./MovieCountOrderByAggregateInput\\"; -export { MovieCreateInput } from \\"./MovieCreateInput\\"; -export { MovieCreateManyDirectorInput } from \\"./MovieCreateManyDirectorInput\\"; -export { MovieCreateManyDirectorInputEnvelope } from \\"./MovieCreateManyDirectorInputEnvelope\\"; -export { MovieCreateManyInput } from \\"./MovieCreateManyInput\\"; -export { MovieCreateNestedManyWithoutDirectorInput } from \\"./MovieCreateNestedManyWithoutDirectorInput\\"; -export { MovieCreateOrConnectWithoutDirectorInput } from \\"./MovieCreateOrConnectWithoutDirectorInput\\"; -export { MovieCreateWithoutDirectorInput } from \\"./MovieCreateWithoutDirectorInput\\"; -export { MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput } from \\"./MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput\\"; -export { MovieListRelationFilter } from \\"./MovieListRelationFilter\\"; -export { MovieMaxOrderByAggregateInput } from \\"./MovieMaxOrderByAggregateInput\\"; -export { MovieMinOrderByAggregateInput } from \\"./MovieMinOrderByAggregateInput\\"; -export { MovieOrderByRelationAggregateInput } from \\"./MovieOrderByRelationAggregateInput\\"; -export { MovieOrderByWithAggregationInput } from \\"./MovieOrderByWithAggregationInput\\"; -export { MovieOrderByWithRelationInput } from \\"./MovieOrderByWithRelationInput\\"; -export { MovieScalarWhereInput } from \\"./MovieScalarWhereInput\\"; -export { MovieScalarWhereWithAggregatesInput } from \\"./MovieScalarWhereWithAggregatesInput\\"; -export { MovieSumOrderByAggregateInput } from \\"./MovieSumOrderByAggregateInput\\"; -export { MovieUpdateInput } from \\"./MovieUpdateInput\\"; -export { MovieUpdateManyMutationInput } from \\"./MovieUpdateManyMutationInput\\"; -export { MovieUpdateManyWithWhereWithoutDirectorInput } from \\"./MovieUpdateManyWithWhereWithoutDirectorInput\\"; -export { MovieUpdateManyWithoutDirectorNestedInput } from \\"./MovieUpdateManyWithoutDirectorNestedInput\\"; -export { MovieUpdateWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpdateWithWhereUniqueWithoutDirectorInput\\"; -export { MovieUpdateWithoutDirectorInput } from \\"./MovieUpdateWithoutDirectorInput\\"; -export { MovieUpsertWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpsertWithWhereUniqueWithoutDirectorInput\\"; -export { MovieWhereInput } from \\"./MovieWhereInput\\"; -export { MovieWhereUniqueInput } from \\"./MovieWhereUniqueInput\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { DirectorAvgOrderByAggregateInput } from \\"./DirectorAvgOrderByAggregateInput.js\\"; +export { DirectorCountOrderByAggregateInput } from \\"./DirectorCountOrderByAggregateInput.js\\"; +export { DirectorCreateInput } from \\"./DirectorCreateInput.js\\"; +export { DirectorCreateManyInput } from \\"./DirectorCreateManyInput.js\\"; +export { DirectorCreateNestedOneWithoutMoviesInput } from \\"./DirectorCreateNestedOneWithoutMoviesInput.js\\"; +export { DirectorCreateOrConnectWithoutMoviesInput } from \\"./DirectorCreateOrConnectWithoutMoviesInput.js\\"; +export { DirectorCreateWithoutMoviesInput } from \\"./DirectorCreateWithoutMoviesInput.js\\"; +export { DirectorFirstNameLastNameCompoundUniqueInput } from \\"./DirectorFirstNameLastNameCompoundUniqueInput.js\\"; +export { DirectorMaxOrderByAggregateInput } from \\"./DirectorMaxOrderByAggregateInput.js\\"; +export { DirectorMinOrderByAggregateInput } from \\"./DirectorMinOrderByAggregateInput.js\\"; +export { DirectorOrderByWithAggregationInput } from \\"./DirectorOrderByWithAggregationInput.js\\"; +export { DirectorOrderByWithRelationInput } from \\"./DirectorOrderByWithRelationInput.js\\"; +export { DirectorRelationFilter } from \\"./DirectorRelationFilter.js\\"; +export { DirectorScalarWhereWithAggregatesInput } from \\"./DirectorScalarWhereWithAggregatesInput.js\\"; +export { DirectorSumOrderByAggregateInput } from \\"./DirectorSumOrderByAggregateInput.js\\"; +export { DirectorUpdateInput } from \\"./DirectorUpdateInput.js\\"; +export { DirectorUpdateManyMutationInput } from \\"./DirectorUpdateManyMutationInput.js\\"; +export { DirectorUpdateOneRequiredWithoutMoviesNestedInput } from \\"./DirectorUpdateOneRequiredWithoutMoviesNestedInput.js\\"; +export { DirectorUpdateWithoutMoviesInput } from \\"./DirectorUpdateWithoutMoviesInput.js\\"; +export { DirectorUpsertWithoutMoviesInput } from \\"./DirectorUpsertWithoutMoviesInput.js\\"; +export { DirectorWhereInput } from \\"./DirectorWhereInput.js\\"; +export { DirectorWhereUniqueInput } from \\"./DirectorWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { MovieAvgOrderByAggregateInput } from \\"./MovieAvgOrderByAggregateInput.js\\"; +export { MovieCountOrderByAggregateInput } from \\"./MovieCountOrderByAggregateInput.js\\"; +export { MovieCreateInput } from \\"./MovieCreateInput.js\\"; +export { MovieCreateManyDirectorInput } from \\"./MovieCreateManyDirectorInput.js\\"; +export { MovieCreateManyDirectorInputEnvelope } from \\"./MovieCreateManyDirectorInputEnvelope.js\\"; +export { MovieCreateManyInput } from \\"./MovieCreateManyInput.js\\"; +export { MovieCreateNestedManyWithoutDirectorInput } from \\"./MovieCreateNestedManyWithoutDirectorInput.js\\"; +export { MovieCreateOrConnectWithoutDirectorInput } from \\"./MovieCreateOrConnectWithoutDirectorInput.js\\"; +export { MovieCreateWithoutDirectorInput } from \\"./MovieCreateWithoutDirectorInput.js\\"; +export { MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput } from \\"./MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput.js\\"; +export { MovieListRelationFilter } from \\"./MovieListRelationFilter.js\\"; +export { MovieMaxOrderByAggregateInput } from \\"./MovieMaxOrderByAggregateInput.js\\"; +export { MovieMinOrderByAggregateInput } from \\"./MovieMinOrderByAggregateInput.js\\"; +export { MovieOrderByRelationAggregateInput } from \\"./MovieOrderByRelationAggregateInput.js\\"; +export { MovieOrderByWithAggregationInput } from \\"./MovieOrderByWithAggregationInput.js\\"; +export { MovieOrderByWithRelationInput } from \\"./MovieOrderByWithRelationInput.js\\"; +export { MovieScalarWhereInput } from \\"./MovieScalarWhereInput.js\\"; +export { MovieScalarWhereWithAggregatesInput } from \\"./MovieScalarWhereWithAggregatesInput.js\\"; +export { MovieSumOrderByAggregateInput } from \\"./MovieSumOrderByAggregateInput.js\\"; +export { MovieUpdateInput } from \\"./MovieUpdateInput.js\\"; +export { MovieUpdateManyMutationInput } from \\"./MovieUpdateManyMutationInput.js\\"; +export { MovieUpdateManyWithWhereWithoutDirectorInput } from \\"./MovieUpdateManyWithWhereWithoutDirectorInput.js\\"; +export { MovieUpdateManyWithoutDirectorNestedInput } from \\"./MovieUpdateManyWithoutDirectorNestedInput.js\\"; +export { MovieUpdateWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpdateWithWhereUniqueWithoutDirectorInput.js\\"; +export { MovieUpdateWithoutDirectorInput } from \\"./MovieUpdateWithoutDirectorInput.js\\"; +export { MovieUpsertWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpsertWithWhereUniqueWithoutDirectorInput.js\\"; +export { MovieWhereInput } from \\"./MovieWhereInput.js\\"; +export { MovieWhereUniqueInput } from \\"./MovieWhereUniqueInput.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -3448,7 +3448,7 @@ exports[`inputs should properly generate input type classes for model with id ke "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput\\", { isAbstract: true @@ -3476,9 +3476,9 @@ exports[`inputs should properly generate input type classes for model with id ke "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DirectorOrderByWithRelationInput } from \\"../inputs/DirectorOrderByWithRelationInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DirectorOrderByWithRelationInput } from \\"../inputs/DirectorOrderByWithRelationInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"MovieOrderByWithRelationInput\\", { isAbstract: true @@ -3516,9 +3516,9 @@ exports[`inputs should properly generate input type classes for model with id ke "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"MovieScalarWhereInput\\", { isAbstract: true @@ -3566,10 +3566,10 @@ exports[`inputs should properly generate input type classes for model with id ke "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DirectorRelationFilter } from \\"../inputs/DirectorRelationFilter\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DirectorRelationFilter } from \\"../inputs/DirectorRelationFilter.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"MovieWhereInput\\", { isAbstract: true @@ -3622,8 +3622,8 @@ exports[`inputs should properly generate input type classes for model with id ke "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput } from \\"../inputs/MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput } from \\"../inputs/MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput.js\\"; @TypeGraphQL.InputType(\\"MovieWhereUniqueInput\\", { isAbstract: true @@ -3638,71 +3638,71 @@ export class MovieWhereUniqueInput { `; exports[`inputs should properly generate input type classes for model with id keys with relation: index 1`] = ` -"export { DirectorAvgOrderByAggregateInput } from \\"./DirectorAvgOrderByAggregateInput\\"; -export { DirectorCountOrderByAggregateInput } from \\"./DirectorCountOrderByAggregateInput\\"; -export { DirectorCreateInput } from \\"./DirectorCreateInput\\"; -export { DirectorCreateManyInput } from \\"./DirectorCreateManyInput\\"; -export { DirectorCreateNestedOneWithoutMoviesInput } from \\"./DirectorCreateNestedOneWithoutMoviesInput\\"; -export { DirectorCreateOrConnectWithoutMoviesInput } from \\"./DirectorCreateOrConnectWithoutMoviesInput\\"; -export { DirectorCreateWithoutMoviesInput } from \\"./DirectorCreateWithoutMoviesInput\\"; -export { DirectorFirstNameLastNameCompoundUniqueInput } from \\"./DirectorFirstNameLastNameCompoundUniqueInput\\"; -export { DirectorMaxOrderByAggregateInput } from \\"./DirectorMaxOrderByAggregateInput\\"; -export { DirectorMinOrderByAggregateInput } from \\"./DirectorMinOrderByAggregateInput\\"; -export { DirectorOrderByWithAggregationInput } from \\"./DirectorOrderByWithAggregationInput\\"; -export { DirectorOrderByWithRelationInput } from \\"./DirectorOrderByWithRelationInput\\"; -export { DirectorRelationFilter } from \\"./DirectorRelationFilter\\"; -export { DirectorScalarWhereWithAggregatesInput } from \\"./DirectorScalarWhereWithAggregatesInput\\"; -export { DirectorSumOrderByAggregateInput } from \\"./DirectorSumOrderByAggregateInput\\"; -export { DirectorUpdateInput } from \\"./DirectorUpdateInput\\"; -export { DirectorUpdateManyMutationInput } from \\"./DirectorUpdateManyMutationInput\\"; -export { DirectorUpdateOneRequiredWithoutMoviesNestedInput } from \\"./DirectorUpdateOneRequiredWithoutMoviesNestedInput\\"; -export { DirectorUpdateWithoutMoviesInput } from \\"./DirectorUpdateWithoutMoviesInput\\"; -export { DirectorUpsertWithoutMoviesInput } from \\"./DirectorUpsertWithoutMoviesInput\\"; -export { DirectorWhereInput } from \\"./DirectorWhereInput\\"; -export { DirectorWhereUniqueInput } from \\"./DirectorWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { MovieAvgOrderByAggregateInput } from \\"./MovieAvgOrderByAggregateInput\\"; -export { MovieCountOrderByAggregateInput } from \\"./MovieCountOrderByAggregateInput\\"; -export { MovieCreateInput } from \\"./MovieCreateInput\\"; -export { MovieCreateManyDirectorInput } from \\"./MovieCreateManyDirectorInput\\"; -export { MovieCreateManyDirectorInputEnvelope } from \\"./MovieCreateManyDirectorInputEnvelope\\"; -export { MovieCreateManyInput } from \\"./MovieCreateManyInput\\"; -export { MovieCreateNestedManyWithoutDirectorInput } from \\"./MovieCreateNestedManyWithoutDirectorInput\\"; -export { MovieCreateOrConnectWithoutDirectorInput } from \\"./MovieCreateOrConnectWithoutDirectorInput\\"; -export { MovieCreateWithoutDirectorInput } from \\"./MovieCreateWithoutDirectorInput\\"; -export { MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput } from \\"./MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput\\"; -export { MovieListRelationFilter } from \\"./MovieListRelationFilter\\"; -export { MovieMaxOrderByAggregateInput } from \\"./MovieMaxOrderByAggregateInput\\"; -export { MovieMinOrderByAggregateInput } from \\"./MovieMinOrderByAggregateInput\\"; -export { MovieOrderByRelationAggregateInput } from \\"./MovieOrderByRelationAggregateInput\\"; -export { MovieOrderByWithAggregationInput } from \\"./MovieOrderByWithAggregationInput\\"; -export { MovieOrderByWithRelationInput } from \\"./MovieOrderByWithRelationInput\\"; -export { MovieScalarWhereInput } from \\"./MovieScalarWhereInput\\"; -export { MovieScalarWhereWithAggregatesInput } from \\"./MovieScalarWhereWithAggregatesInput\\"; -export { MovieSumOrderByAggregateInput } from \\"./MovieSumOrderByAggregateInput\\"; -export { MovieUpdateInput } from \\"./MovieUpdateInput\\"; -export { MovieUpdateManyMutationInput } from \\"./MovieUpdateManyMutationInput\\"; -export { MovieUpdateManyWithWhereWithoutDirectorInput } from \\"./MovieUpdateManyWithWhereWithoutDirectorInput\\"; -export { MovieUpdateManyWithoutDirectorNestedInput } from \\"./MovieUpdateManyWithoutDirectorNestedInput\\"; -export { MovieUpdateWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpdateWithWhereUniqueWithoutDirectorInput\\"; -export { MovieUpdateWithoutDirectorInput } from \\"./MovieUpdateWithoutDirectorInput\\"; -export { MovieUpsertWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpsertWithWhereUniqueWithoutDirectorInput\\"; -export { MovieWhereInput } from \\"./MovieWhereInput\\"; -export { MovieWhereUniqueInput } from \\"./MovieWhereUniqueInput\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { DirectorAvgOrderByAggregateInput } from \\"./DirectorAvgOrderByAggregateInput.js\\"; +export { DirectorCountOrderByAggregateInput } from \\"./DirectorCountOrderByAggregateInput.js\\"; +export { DirectorCreateInput } from \\"./DirectorCreateInput.js\\"; +export { DirectorCreateManyInput } from \\"./DirectorCreateManyInput.js\\"; +export { DirectorCreateNestedOneWithoutMoviesInput } from \\"./DirectorCreateNestedOneWithoutMoviesInput.js\\"; +export { DirectorCreateOrConnectWithoutMoviesInput } from \\"./DirectorCreateOrConnectWithoutMoviesInput.js\\"; +export { DirectorCreateWithoutMoviesInput } from \\"./DirectorCreateWithoutMoviesInput.js\\"; +export { DirectorFirstNameLastNameCompoundUniqueInput } from \\"./DirectorFirstNameLastNameCompoundUniqueInput.js\\"; +export { DirectorMaxOrderByAggregateInput } from \\"./DirectorMaxOrderByAggregateInput.js\\"; +export { DirectorMinOrderByAggregateInput } from \\"./DirectorMinOrderByAggregateInput.js\\"; +export { DirectorOrderByWithAggregationInput } from \\"./DirectorOrderByWithAggregationInput.js\\"; +export { DirectorOrderByWithRelationInput } from \\"./DirectorOrderByWithRelationInput.js\\"; +export { DirectorRelationFilter } from \\"./DirectorRelationFilter.js\\"; +export { DirectorScalarWhereWithAggregatesInput } from \\"./DirectorScalarWhereWithAggregatesInput.js\\"; +export { DirectorSumOrderByAggregateInput } from \\"./DirectorSumOrderByAggregateInput.js\\"; +export { DirectorUpdateInput } from \\"./DirectorUpdateInput.js\\"; +export { DirectorUpdateManyMutationInput } from \\"./DirectorUpdateManyMutationInput.js\\"; +export { DirectorUpdateOneRequiredWithoutMoviesNestedInput } from \\"./DirectorUpdateOneRequiredWithoutMoviesNestedInput.js\\"; +export { DirectorUpdateWithoutMoviesInput } from \\"./DirectorUpdateWithoutMoviesInput.js\\"; +export { DirectorUpsertWithoutMoviesInput } from \\"./DirectorUpsertWithoutMoviesInput.js\\"; +export { DirectorWhereInput } from \\"./DirectorWhereInput.js\\"; +export { DirectorWhereUniqueInput } from \\"./DirectorWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { MovieAvgOrderByAggregateInput } from \\"./MovieAvgOrderByAggregateInput.js\\"; +export { MovieCountOrderByAggregateInput } from \\"./MovieCountOrderByAggregateInput.js\\"; +export { MovieCreateInput } from \\"./MovieCreateInput.js\\"; +export { MovieCreateManyDirectorInput } from \\"./MovieCreateManyDirectorInput.js\\"; +export { MovieCreateManyDirectorInputEnvelope } from \\"./MovieCreateManyDirectorInputEnvelope.js\\"; +export { MovieCreateManyInput } from \\"./MovieCreateManyInput.js\\"; +export { MovieCreateNestedManyWithoutDirectorInput } from \\"./MovieCreateNestedManyWithoutDirectorInput.js\\"; +export { MovieCreateOrConnectWithoutDirectorInput } from \\"./MovieCreateOrConnectWithoutDirectorInput.js\\"; +export { MovieCreateWithoutDirectorInput } from \\"./MovieCreateWithoutDirectorInput.js\\"; +export { MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput } from \\"./MovieDirectorFirstNameDirectorLastNameTitleCompoundUniqueInput.js\\"; +export { MovieListRelationFilter } from \\"./MovieListRelationFilter.js\\"; +export { MovieMaxOrderByAggregateInput } from \\"./MovieMaxOrderByAggregateInput.js\\"; +export { MovieMinOrderByAggregateInput } from \\"./MovieMinOrderByAggregateInput.js\\"; +export { MovieOrderByRelationAggregateInput } from \\"./MovieOrderByRelationAggregateInput.js\\"; +export { MovieOrderByWithAggregationInput } from \\"./MovieOrderByWithAggregationInput.js\\"; +export { MovieOrderByWithRelationInput } from \\"./MovieOrderByWithRelationInput.js\\"; +export { MovieScalarWhereInput } from \\"./MovieScalarWhereInput.js\\"; +export { MovieScalarWhereWithAggregatesInput } from \\"./MovieScalarWhereWithAggregatesInput.js\\"; +export { MovieSumOrderByAggregateInput } from \\"./MovieSumOrderByAggregateInput.js\\"; +export { MovieUpdateInput } from \\"./MovieUpdateInput.js\\"; +export { MovieUpdateManyMutationInput } from \\"./MovieUpdateManyMutationInput.js\\"; +export { MovieUpdateManyWithWhereWithoutDirectorInput } from \\"./MovieUpdateManyWithWhereWithoutDirectorInput.js\\"; +export { MovieUpdateManyWithoutDirectorNestedInput } from \\"./MovieUpdateManyWithoutDirectorNestedInput.js\\"; +export { MovieUpdateWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpdateWithWhereUniqueWithoutDirectorInput.js\\"; +export { MovieUpdateWithoutDirectorInput } from \\"./MovieUpdateWithoutDirectorInput.js\\"; +export { MovieUpsertWithWhereUniqueWithoutDirectorInput } from \\"./MovieUpsertWithWhereUniqueWithoutDirectorInput.js\\"; +export { MovieWhereInput } from \\"./MovieWhereInput.js\\"; +export { MovieWhereUniqueInput } from \\"./MovieWhereUniqueInput.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -3710,7 +3710,7 @@ exports[`inputs should properly generate input type classes for model with nativ "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NativeTypeModelCreateInput\\", { isAbstract: true @@ -3738,8 +3738,8 @@ exports[`inputs should properly generate input type classes for model with nativ "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"NativeTypeModelOrderByWithRelationInput\\", { isAbstract: true @@ -3772,10 +3772,10 @@ exports[`inputs should properly generate input type classes for model with nativ "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NullableBigIntFieldUpdateOperationsInput } from \\"../inputs/NullableBigIntFieldUpdateOperationsInput\\"; -import { NullableBytesFieldUpdateOperationsInput } from \\"../inputs/NullableBytesFieldUpdateOperationsInput\\"; -import { NullableDecimalFieldUpdateOperationsInput } from \\"../inputs/NullableDecimalFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NullableBigIntFieldUpdateOperationsInput } from \\"../inputs/NullableBigIntFieldUpdateOperationsInput.js\\"; +import { NullableBytesFieldUpdateOperationsInput } from \\"../inputs/NullableBytesFieldUpdateOperationsInput.js\\"; +import { NullableDecimalFieldUpdateOperationsInput } from \\"../inputs/NullableDecimalFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"NativeTypeModelUpdateInput\\", { isAbstract: true @@ -3803,10 +3803,10 @@ exports[`inputs should properly generate input type classes for model with nativ "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NullableBigIntFieldUpdateOperationsInput } from \\"../inputs/NullableBigIntFieldUpdateOperationsInput\\"; -import { NullableBytesFieldUpdateOperationsInput } from \\"../inputs/NullableBytesFieldUpdateOperationsInput\\"; -import { NullableDecimalFieldUpdateOperationsInput } from \\"../inputs/NullableDecimalFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NullableBigIntFieldUpdateOperationsInput } from \\"../inputs/NullableBigIntFieldUpdateOperationsInput.js\\"; +import { NullableBytesFieldUpdateOperationsInput } from \\"../inputs/NullableBytesFieldUpdateOperationsInput.js\\"; +import { NullableDecimalFieldUpdateOperationsInput } from \\"../inputs/NullableDecimalFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"NativeTypeModelUpdateManyMutationInput\\", { isAbstract: true @@ -3834,11 +3834,11 @@ exports[`inputs should properly generate input type classes for model with nativ "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { BigIntNullableFilter } from \\"../inputs/BigIntNullableFilter\\"; -import { BytesNullableFilter } from \\"../inputs/BytesNullableFilter\\"; -import { DecimalNullableFilter } from \\"../inputs/DecimalNullableFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { BigIntNullableFilter } from \\"../inputs/BigIntNullableFilter.js\\"; +import { BytesNullableFilter } from \\"../inputs/BytesNullableFilter.js\\"; +import { DecimalNullableFilter } from \\"../inputs/DecimalNullableFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; @TypeGraphQL.InputType(\\"NativeTypeModelWhereInput\\", { isAbstract: true @@ -3886,7 +3886,7 @@ exports[`inputs should properly generate input type classes for model with nativ "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NativeTypeModelWhereUniqueInput\\", { isAbstract: true @@ -3901,43 +3901,43 @@ export class NativeTypeModelWhereUniqueInput { `; exports[`inputs should properly generate input type classes for model with native types: index 1`] = ` -"export { BigIntNullableFilter } from \\"./BigIntNullableFilter\\"; -export { BigIntNullableWithAggregatesFilter } from \\"./BigIntNullableWithAggregatesFilter\\"; -export { BytesNullableFilter } from \\"./BytesNullableFilter\\"; -export { BytesNullableWithAggregatesFilter } from \\"./BytesNullableWithAggregatesFilter\\"; -export { DecimalNullableFilter } from \\"./DecimalNullableFilter\\"; -export { DecimalNullableWithAggregatesFilter } from \\"./DecimalNullableWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NativeTypeModelAvgOrderByAggregateInput } from \\"./NativeTypeModelAvgOrderByAggregateInput\\"; -export { NativeTypeModelCountOrderByAggregateInput } from \\"./NativeTypeModelCountOrderByAggregateInput\\"; -export { NativeTypeModelCreateInput } from \\"./NativeTypeModelCreateInput\\"; -export { NativeTypeModelCreateManyInput } from \\"./NativeTypeModelCreateManyInput\\"; -export { NativeTypeModelMaxOrderByAggregateInput } from \\"./NativeTypeModelMaxOrderByAggregateInput\\"; -export { NativeTypeModelMinOrderByAggregateInput } from \\"./NativeTypeModelMinOrderByAggregateInput\\"; -export { NativeTypeModelOrderByWithAggregationInput } from \\"./NativeTypeModelOrderByWithAggregationInput\\"; -export { NativeTypeModelOrderByWithRelationInput } from \\"./NativeTypeModelOrderByWithRelationInput\\"; -export { NativeTypeModelScalarWhereWithAggregatesInput } from \\"./NativeTypeModelScalarWhereWithAggregatesInput\\"; -export { NativeTypeModelSumOrderByAggregateInput } from \\"./NativeTypeModelSumOrderByAggregateInput\\"; -export { NativeTypeModelUpdateInput } from \\"./NativeTypeModelUpdateInput\\"; -export { NativeTypeModelUpdateManyMutationInput } from \\"./NativeTypeModelUpdateManyMutationInput\\"; -export { NativeTypeModelWhereInput } from \\"./NativeTypeModelWhereInput\\"; -export { NativeTypeModelWhereUniqueInput } from \\"./NativeTypeModelWhereUniqueInput\\"; -export { NestedBigIntNullableFilter } from \\"./NestedBigIntNullableFilter\\"; -export { NestedBigIntNullableWithAggregatesFilter } from \\"./NestedBigIntNullableWithAggregatesFilter\\"; -export { NestedBytesNullableFilter } from \\"./NestedBytesNullableFilter\\"; -export { NestedBytesNullableWithAggregatesFilter } from \\"./NestedBytesNullableWithAggregatesFilter\\"; -export { NestedDecimalNullableFilter } from \\"./NestedDecimalNullableFilter\\"; -export { NestedDecimalNullableWithAggregatesFilter } from \\"./NestedDecimalNullableWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NullableBigIntFieldUpdateOperationsInput } from \\"./NullableBigIntFieldUpdateOperationsInput\\"; -export { NullableBytesFieldUpdateOperationsInput } from \\"./NullableBytesFieldUpdateOperationsInput\\"; -export { NullableDecimalFieldUpdateOperationsInput } from \\"./NullableDecimalFieldUpdateOperationsInput\\"; +"export { BigIntNullableFilter } from \\"./BigIntNullableFilter.js\\"; +export { BigIntNullableWithAggregatesFilter } from \\"./BigIntNullableWithAggregatesFilter.js\\"; +export { BytesNullableFilter } from \\"./BytesNullableFilter.js\\"; +export { BytesNullableWithAggregatesFilter } from \\"./BytesNullableWithAggregatesFilter.js\\"; +export { DecimalNullableFilter } from \\"./DecimalNullableFilter.js\\"; +export { DecimalNullableWithAggregatesFilter } from \\"./DecimalNullableWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NativeTypeModelAvgOrderByAggregateInput } from \\"./NativeTypeModelAvgOrderByAggregateInput.js\\"; +export { NativeTypeModelCountOrderByAggregateInput } from \\"./NativeTypeModelCountOrderByAggregateInput.js\\"; +export { NativeTypeModelCreateInput } from \\"./NativeTypeModelCreateInput.js\\"; +export { NativeTypeModelCreateManyInput } from \\"./NativeTypeModelCreateManyInput.js\\"; +export { NativeTypeModelMaxOrderByAggregateInput } from \\"./NativeTypeModelMaxOrderByAggregateInput.js\\"; +export { NativeTypeModelMinOrderByAggregateInput } from \\"./NativeTypeModelMinOrderByAggregateInput.js\\"; +export { NativeTypeModelOrderByWithAggregationInput } from \\"./NativeTypeModelOrderByWithAggregationInput.js\\"; +export { NativeTypeModelOrderByWithRelationInput } from \\"./NativeTypeModelOrderByWithRelationInput.js\\"; +export { NativeTypeModelScalarWhereWithAggregatesInput } from \\"./NativeTypeModelScalarWhereWithAggregatesInput.js\\"; +export { NativeTypeModelSumOrderByAggregateInput } from \\"./NativeTypeModelSumOrderByAggregateInput.js\\"; +export { NativeTypeModelUpdateInput } from \\"./NativeTypeModelUpdateInput.js\\"; +export { NativeTypeModelUpdateManyMutationInput } from \\"./NativeTypeModelUpdateManyMutationInput.js\\"; +export { NativeTypeModelWhereInput } from \\"./NativeTypeModelWhereInput.js\\"; +export { NativeTypeModelWhereUniqueInput } from \\"./NativeTypeModelWhereUniqueInput.js\\"; +export { NestedBigIntNullableFilter } from \\"./NestedBigIntNullableFilter.js\\"; +export { NestedBigIntNullableWithAggregatesFilter } from \\"./NestedBigIntNullableWithAggregatesFilter.js\\"; +export { NestedBytesNullableFilter } from \\"./NestedBytesNullableFilter.js\\"; +export { NestedBytesNullableWithAggregatesFilter } from \\"./NestedBytesNullableWithAggregatesFilter.js\\"; +export { NestedDecimalNullableFilter } from \\"./NestedDecimalNullableFilter.js\\"; +export { NestedDecimalNullableWithAggregatesFilter } from \\"./NestedDecimalNullableWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NullableBigIntFieldUpdateOperationsInput } from \\"./NullableBigIntFieldUpdateOperationsInput.js\\"; +export { NullableBytesFieldUpdateOperationsInput } from \\"./NullableBytesFieldUpdateOperationsInput.js\\"; +export { NullableDecimalFieldUpdateOperationsInput } from \\"./NullableDecimalFieldUpdateOperationsInput.js\\"; " `; @@ -3945,9 +3945,9 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByWithRelationInput\\", { isAbstract: true @@ -3980,8 +3980,8 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleAvgOrderByAggregateInput\\", { isAbstract: true @@ -4009,8 +4009,8 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleCountOrderByAggregateInput\\", { isAbstract: true @@ -4058,8 +4058,8 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleMaxOrderByAggregateInput\\", { isAbstract: true @@ -4102,8 +4102,8 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleMinOrderByAggregateInput\\", { isAbstract: true @@ -4146,13 +4146,13 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleAvgOrderByAggregateInput } from \\"../inputs/SampleAvgOrderByAggregateInput\\"; -import { SampleCountOrderByAggregateInput } from \\"../inputs/SampleCountOrderByAggregateInput\\"; -import { SampleMaxOrderByAggregateInput } from \\"../inputs/SampleMaxOrderByAggregateInput\\"; -import { SampleMinOrderByAggregateInput } from \\"../inputs/SampleMinOrderByAggregateInput\\"; -import { SampleSumOrderByAggregateInput } from \\"../inputs/SampleSumOrderByAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleAvgOrderByAggregateInput } from \\"../inputs/SampleAvgOrderByAggregateInput.js\\"; +import { SampleCountOrderByAggregateInput } from \\"../inputs/SampleCountOrderByAggregateInput.js\\"; +import { SampleMaxOrderByAggregateInput } from \\"../inputs/SampleMaxOrderByAggregateInput.js\\"; +import { SampleMinOrderByAggregateInput } from \\"../inputs/SampleMinOrderByAggregateInput.js\\"; +import { SampleSumOrderByAggregateInput } from \\"../inputs/SampleSumOrderByAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleOrderByWithAggregationInput\\", { isAbstract: true @@ -4225,8 +4225,8 @@ exports[`inputs should properly generate input type classes for sorting by many- "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SecondModelOrderByRelationAggregateInput\\", { isAbstract: true @@ -4241,117 +4241,117 @@ export class SecondModelOrderByRelationAggregateInput { `; exports[`inputs should properly generate input type classes for sorting by many-to-many relation fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedManyWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedManyWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelListRelationFilter } from \\"./FirstModelListRelationFilter\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByRelationAggregateInput } from \\"./FirstModelOrderByRelationAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelScalarWhereInput } from \\"./FirstModelScalarWhereInput\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput\\"; -export { FirstModelUpdateManyWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateManyWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelsFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelsFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelsFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelsFieldInput\\"; -export { SecondModelCreateWithoutFirstModelsFieldInput } from \\"./SecondModelCreateWithoutFirstModelsFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelsFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelsFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithoutFirstModelsFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedManyWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedManyWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelListRelationFilter } from \\"./FirstModelListRelationFilter.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByRelationAggregateInput } from \\"./FirstModelOrderByRelationAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelScalarWhereInput } from \\"./FirstModelScalarWhereInput.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpdateManyWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateManyWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelsFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelsFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelsFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelsFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelsFieldInput } from \\"./SecondModelCreateWithoutFirstModelsFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelsFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelsFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelsFieldInput } from \\"./SecondModelUpdateWithoutFirstModelsFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; exports[`inputs should properly generate input type classes for sorting by many-to-many relation fields: index 2`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput\\"; -export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput\\"; -export { SampleCreateInput } from \\"./SampleCreateInput\\"; -export { SampleCreateManyInput } from \\"./SampleCreateManyInput\\"; -export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput\\"; -export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput\\"; -export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput\\"; -export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput\\"; -export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput\\"; -export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput\\"; -export { SampleUpdateInput } from \\"./SampleUpdateInput\\"; -export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput\\"; -export { SampleWhereInput } from \\"./SampleWhereInput\\"; -export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput.js\\"; +export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput.js\\"; +export { SampleCreateInput } from \\"./SampleCreateInput.js\\"; +export { SampleCreateManyInput } from \\"./SampleCreateManyInput.js\\"; +export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput.js\\"; +export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput.js\\"; +export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput.js\\"; +export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput.js\\"; +export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput.js\\"; +export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput.js\\"; +export { SampleUpdateInput } from \\"./SampleUpdateInput.js\\"; +export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput.js\\"; +export { SampleWhereInput } from \\"./SampleWhereInput.js\\"; +export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -4359,9 +4359,9 @@ exports[`inputs should properly generate input type classes for sorting by one-t "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByWithRelationInput\\", { isAbstract: true @@ -4394,8 +4394,8 @@ exports[`inputs should properly generate input type classes for sorting by one-t "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SecondModelOrderByRelationAggregateInput\\", { isAbstract: true @@ -4413,9 +4413,9 @@ exports[`inputs should properly generate input type classes for sorting by one-t "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelOrderByWithRelationInput } from \\"../inputs/FirstModelOrderByWithRelationInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelOrderByWithRelationInput } from \\"../inputs/FirstModelOrderByWithRelationInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SecondModelOrderByWithRelationInput\\", { isAbstract: true @@ -4450,69 +4450,69 @@ export class SecondModelOrderByWithRelationInput { `; exports[`inputs should properly generate input type classes for sorting by one-to-many relation fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -4520,9 +4520,9 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -4625,9 +4625,9 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -4730,9 +4730,9 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -4830,9 +4830,9 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleNestedTypeCreateInput } from \\"../inputs/SampleNestedTypeCreateInput.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateManyMutationInput\\", { isAbstract: true @@ -4930,7 +4930,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleNestedTypeCreateInput\\", { isAbstract: true @@ -4963,7 +4963,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleNestedTypeUpdateInput\\", { isAbstract: true @@ -4993,104 +4993,104 @@ export class SampleNestedTypeUpdateInput { `; exports[`inputs should properly generate input type classes for updating scalar fields in postgres schema: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolNullableFilter } from \\"./BoolNullableFilter\\"; -export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter\\"; -export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput\\"; -export { EnumColorFilter } from \\"./EnumColorFilter\\"; -export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter\\"; -export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter\\"; -export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntNullableFilter } from \\"./IntNullableFilter\\"; -export { IntNullableListFilter } from \\"./IntNullableListFilter\\"; -export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonNullableFilter } from \\"./JsonNullableFilter\\"; -export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter\\"; -export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter\\"; -export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter\\"; -export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter\\"; -export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter\\"; -export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter\\"; -export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput\\"; -export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput\\"; -export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput\\"; -export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput\\"; -export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput\\"; -export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; -export { SampleNestedTypeCompositeFilter } from \\"./SampleNestedTypeCompositeFilter\\"; -export { SampleNestedTypeCreateEnvelopeInput } from \\"./SampleNestedTypeCreateEnvelopeInput\\"; -export { SampleNestedTypeCreateInput } from \\"./SampleNestedTypeCreateInput\\"; -export { SampleNestedTypeCreateintArrayFieldInput } from \\"./SampleNestedTypeCreateintArrayFieldInput\\"; -export { SampleNestedTypeCreatestringArrayFieldInput } from \\"./SampleNestedTypeCreatestringArrayFieldInput\\"; -export { SampleNestedTypeObjectEqualityInput } from \\"./SampleNestedTypeObjectEqualityInput\\"; -export { SampleNestedTypeOrderByInput } from \\"./SampleNestedTypeOrderByInput\\"; -export { SampleNestedTypeUpdateEnvelopeInput } from \\"./SampleNestedTypeUpdateEnvelopeInput\\"; -export { SampleNestedTypeUpdateInput } from \\"./SampleNestedTypeUpdateInput\\"; -export { SampleNestedTypeUpdateintArrayFieldInput } from \\"./SampleNestedTypeUpdateintArrayFieldInput\\"; -export { SampleNestedTypeUpdatestringArrayFieldInput } from \\"./SampleNestedTypeUpdatestringArrayFieldInput\\"; -export { SampleNestedTypeWhereInput } from \\"./SampleNestedTypeWhereInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringNullableFilter } from \\"./StringNullableFilter\\"; -export { StringNullableListFilter } from \\"./StringNullableListFilter\\"; -export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolNullableFilter } from \\"./BoolNullableFilter.js\\"; +export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter.js\\"; +export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput.js\\"; +export { EnumColorFilter } from \\"./EnumColorFilter.js\\"; +export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter.js\\"; +export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter.js\\"; +export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntNullableFilter } from \\"./IntNullableFilter.js\\"; +export { IntNullableListFilter } from \\"./IntNullableListFilter.js\\"; +export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonNullableFilter } from \\"./JsonNullableFilter.js\\"; +export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter.js\\"; +export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter.js\\"; +export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter.js\\"; +export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter.js\\"; +export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter.js\\"; +export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter.js\\"; +export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput.js\\"; +export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput.js\\"; +export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput.js\\"; +export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput.js\\"; +export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput.js\\"; +export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; +export { SampleNestedTypeCompositeFilter } from \\"./SampleNestedTypeCompositeFilter.js\\"; +export { SampleNestedTypeCreateEnvelopeInput } from \\"./SampleNestedTypeCreateEnvelopeInput.js\\"; +export { SampleNestedTypeCreateInput } from \\"./SampleNestedTypeCreateInput.js\\"; +export { SampleNestedTypeCreateintArrayFieldInput } from \\"./SampleNestedTypeCreateintArrayFieldInput.js\\"; +export { SampleNestedTypeCreatestringArrayFieldInput } from \\"./SampleNestedTypeCreatestringArrayFieldInput.js\\"; +export { SampleNestedTypeObjectEqualityInput } from \\"./SampleNestedTypeObjectEqualityInput.js\\"; +export { SampleNestedTypeOrderByInput } from \\"./SampleNestedTypeOrderByInput.js\\"; +export { SampleNestedTypeUpdateEnvelopeInput } from \\"./SampleNestedTypeUpdateEnvelopeInput.js\\"; +export { SampleNestedTypeUpdateInput } from \\"./SampleNestedTypeUpdateInput.js\\"; +export { SampleNestedTypeUpdateintArrayFieldInput } from \\"./SampleNestedTypeUpdateintArrayFieldInput.js\\"; +export { SampleNestedTypeUpdatestringArrayFieldInput } from \\"./SampleNestedTypeUpdatestringArrayFieldInput.js\\"; +export { SampleNestedTypeWhereInput } from \\"./SampleNestedTypeWhereInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringNullableFilter } from \\"./StringNullableFilter.js\\"; +export { StringNullableListFilter } from \\"./StringNullableListFilter.js\\"; +export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -5098,7 +5098,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"BoolFieldUpdateOperationsInput\\", { isAbstract: true @@ -5116,7 +5116,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"DateTimeFieldUpdateOperationsInput\\", { isAbstract: true @@ -5134,8 +5134,8 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"EnumColorFieldUpdateOperationsInput\\", { isAbstract: true @@ -5153,7 +5153,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"FloatFieldUpdateOperationsInput\\", { isAbstract: true @@ -5191,7 +5191,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"IntFieldUpdateOperationsInput\\", { isAbstract: true @@ -5229,21 +5229,21 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { BoolFieldUpdateOperationsInput } from \\"../inputs/BoolFieldUpdateOperationsInput\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { EnumColorFieldUpdateOperationsInput } from \\"../inputs/EnumColorFieldUpdateOperationsInput\\"; -import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput\\"; -import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput\\"; -import { NullableBoolFieldUpdateOperationsInput } from \\"../inputs/NullableBoolFieldUpdateOperationsInput\\"; -import { NullableDateTimeFieldUpdateOperationsInput } from \\"../inputs/NullableDateTimeFieldUpdateOperationsInput\\"; -import { NullableEnumColorFieldUpdateOperationsInput } from \\"../inputs/NullableEnumColorFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { NullableIntFieldUpdateOperationsInput } from \\"../inputs/NullableIntFieldUpdateOperationsInput\\"; -import { NullableStringFieldUpdateOperationsInput } from \\"../inputs/NullableStringFieldUpdateOperationsInput\\"; -import { SampleModelUpdateintArrayFieldInput } from \\"../inputs/SampleModelUpdateintArrayFieldInput\\"; -import { SampleModelUpdatestringArrayFieldInput } from \\"../inputs/SampleModelUpdatestringArrayFieldInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { BoolFieldUpdateOperationsInput } from \\"../inputs/BoolFieldUpdateOperationsInput.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { EnumColorFieldUpdateOperationsInput } from \\"../inputs/EnumColorFieldUpdateOperationsInput.js\\"; +import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput.js\\"; +import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput.js\\"; +import { NullableBoolFieldUpdateOperationsInput } from \\"../inputs/NullableBoolFieldUpdateOperationsInput.js\\"; +import { NullableDateTimeFieldUpdateOperationsInput } from \\"../inputs/NullableDateTimeFieldUpdateOperationsInput.js\\"; +import { NullableEnumColorFieldUpdateOperationsInput } from \\"../inputs/NullableEnumColorFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { NullableIntFieldUpdateOperationsInput } from \\"../inputs/NullableIntFieldUpdateOperationsInput.js\\"; +import { NullableStringFieldUpdateOperationsInput } from \\"../inputs/NullableStringFieldUpdateOperationsInput.js\\"; +import { SampleModelUpdateintArrayFieldInput } from \\"../inputs/SampleModelUpdateintArrayFieldInput.js\\"; +import { SampleModelUpdatestringArrayFieldInput } from \\"../inputs/SampleModelUpdatestringArrayFieldInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -5336,21 +5336,21 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { BoolFieldUpdateOperationsInput } from \\"../inputs/BoolFieldUpdateOperationsInput\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { EnumColorFieldUpdateOperationsInput } from \\"../inputs/EnumColorFieldUpdateOperationsInput\\"; -import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput\\"; -import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput\\"; -import { NullableBoolFieldUpdateOperationsInput } from \\"../inputs/NullableBoolFieldUpdateOperationsInput\\"; -import { NullableDateTimeFieldUpdateOperationsInput } from \\"../inputs/NullableDateTimeFieldUpdateOperationsInput\\"; -import { NullableEnumColorFieldUpdateOperationsInput } from \\"../inputs/NullableEnumColorFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { NullableIntFieldUpdateOperationsInput } from \\"../inputs/NullableIntFieldUpdateOperationsInput\\"; -import { NullableStringFieldUpdateOperationsInput } from \\"../inputs/NullableStringFieldUpdateOperationsInput\\"; -import { SampleModelUpdateintArrayFieldInput } from \\"../inputs/SampleModelUpdateintArrayFieldInput\\"; -import { SampleModelUpdatestringArrayFieldInput } from \\"../inputs/SampleModelUpdatestringArrayFieldInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { BoolFieldUpdateOperationsInput } from \\"../inputs/BoolFieldUpdateOperationsInput.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { EnumColorFieldUpdateOperationsInput } from \\"../inputs/EnumColorFieldUpdateOperationsInput.js\\"; +import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput.js\\"; +import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput.js\\"; +import { NullableBoolFieldUpdateOperationsInput } from \\"../inputs/NullableBoolFieldUpdateOperationsInput.js\\"; +import { NullableDateTimeFieldUpdateOperationsInput } from \\"../inputs/NullableDateTimeFieldUpdateOperationsInput.js\\"; +import { NullableEnumColorFieldUpdateOperationsInput } from \\"../inputs/NullableEnumColorFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { NullableIntFieldUpdateOperationsInput } from \\"../inputs/NullableIntFieldUpdateOperationsInput.js\\"; +import { NullableStringFieldUpdateOperationsInput } from \\"../inputs/NullableStringFieldUpdateOperationsInput.js\\"; +import { SampleModelUpdateintArrayFieldInput } from \\"../inputs/SampleModelUpdateintArrayFieldInput.js\\"; +import { SampleModelUpdatestringArrayFieldInput } from \\"../inputs/SampleModelUpdatestringArrayFieldInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateManyMutationInput\\", { isAbstract: true @@ -5443,7 +5443,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateintArrayFieldInput\\", { isAbstract: true @@ -5466,7 +5466,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdatestringArrayFieldInput\\", { isAbstract: true @@ -5489,7 +5489,7 @@ exports[`inputs should properly generate input type classes for updating scalar "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"StringFieldUpdateOperationsInput\\", { isAbstract: true @@ -5504,92 +5504,92 @@ export class StringFieldUpdateOperationsInput { `; exports[`inputs should properly generate input type classes for updating scalar fields: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolNullableFilter } from \\"./BoolNullableFilter\\"; -export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter\\"; -export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput\\"; -export { EnumColorFilter } from \\"./EnumColorFilter\\"; -export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter\\"; -export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter\\"; -export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntNullableFilter } from \\"./IntNullableFilter\\"; -export { IntNullableListFilter } from \\"./IntNullableListFilter\\"; -export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonNullableFilter } from \\"./JsonNullableFilter\\"; -export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter\\"; -export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter\\"; -export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter\\"; -export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter\\"; -export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter\\"; -export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter\\"; -export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput\\"; -export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput\\"; -export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput\\"; -export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput\\"; -export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput\\"; -export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringNullableFilter } from \\"./StringNullableFilter\\"; -export { StringNullableListFilter } from \\"./StringNullableListFilter\\"; -export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolNullableFilter } from \\"./BoolNullableFilter.js\\"; +export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter.js\\"; +export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput.js\\"; +export { EnumColorFilter } from \\"./EnumColorFilter.js\\"; +export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter.js\\"; +export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter.js\\"; +export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntNullableFilter } from \\"./IntNullableFilter.js\\"; +export { IntNullableListFilter } from \\"./IntNullableListFilter.js\\"; +export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonNullableFilter } from \\"./JsonNullableFilter.js\\"; +export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter.js\\"; +export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter.js\\"; +export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter.js\\"; +export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter.js\\"; +export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter.js\\"; +export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter.js\\"; +export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput.js\\"; +export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput.js\\"; +export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput.js\\"; +export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput.js\\"; +export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput.js\\"; +export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringNullableFilter } from \\"./StringNullableFilter.js\\"; +export { StringNullableListFilter } from \\"./StringNullableListFilter.js\\"; +export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -5597,8 +5597,8 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBigIntNullableFilter } from \\"../inputs/NestedBigIntNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBigIntNullableFilter } from \\"../inputs/NestedBigIntNullableFilter.js\\"; @TypeGraphQL.InputType(\\"BigIntNullableFilter\\", { isAbstract: true @@ -5651,11 +5651,11 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBigIntNullableFilter } from \\"../inputs/NestedBigIntNullableFilter\\"; -import { NestedBigIntNullableWithAggregatesFilter } from \\"../inputs/NestedBigIntNullableWithAggregatesFilter\\"; -import { NestedFloatNullableFilter } from \\"../inputs/NestedFloatNullableFilter\\"; -import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBigIntNullableFilter } from \\"../inputs/NestedBigIntNullableFilter.js\\"; +import { NestedBigIntNullableWithAggregatesFilter } from \\"../inputs/NestedBigIntNullableWithAggregatesFilter.js\\"; +import { NestedFloatNullableFilter } from \\"../inputs/NestedFloatNullableFilter.js\\"; +import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter.js\\"; @TypeGraphQL.InputType(\\"BigIntNullableWithAggregatesFilter\\", { isAbstract: true @@ -5733,8 +5733,8 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBytesNullableFilter } from \\"../inputs/NestedBytesNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBytesNullableFilter } from \\"../inputs/NestedBytesNullableFilter.js\\"; @TypeGraphQL.InputType(\\"BytesNullableFilter\\", { isAbstract: true @@ -5767,10 +5767,10 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBytesNullableFilter } from \\"../inputs/NestedBytesNullableFilter\\"; -import { NestedBytesNullableWithAggregatesFilter } from \\"../inputs/NestedBytesNullableWithAggregatesFilter\\"; -import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBytesNullableFilter } from \\"../inputs/NestedBytesNullableFilter.js\\"; +import { NestedBytesNullableWithAggregatesFilter } from \\"../inputs/NestedBytesNullableWithAggregatesFilter.js\\"; +import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter.js\\"; @TypeGraphQL.InputType(\\"BytesNullableWithAggregatesFilter\\", { isAbstract: true @@ -5818,8 +5818,8 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedDecimalNullableFilter } from \\"../inputs/NestedDecimalNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedDecimalNullableFilter } from \\"../inputs/NestedDecimalNullableFilter.js\\"; @TypeGraphQL.InputType(\\"DecimalNullableFilter\\", { isAbstract: true @@ -5872,10 +5872,10 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedDecimalNullableFilter } from \\"../inputs/NestedDecimalNullableFilter\\"; -import { NestedDecimalNullableWithAggregatesFilter } from \\"../inputs/NestedDecimalNullableWithAggregatesFilter\\"; -import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedDecimalNullableFilter } from \\"../inputs/NestedDecimalNullableFilter.js\\"; +import { NestedDecimalNullableWithAggregatesFilter } from \\"../inputs/NestedDecimalNullableWithAggregatesFilter.js\\"; +import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter.js\\"; @TypeGraphQL.InputType(\\"DecimalNullableWithAggregatesFilter\\", { isAbstract: true @@ -5953,7 +5953,7 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedBytesNullableFilter\\", { isAbstract: true @@ -5986,9 +5986,9 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedBytesNullableFilter } from \\"../inputs/NestedBytesNullableFilter\\"; -import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedBytesNullableFilter } from \\"../inputs/NestedBytesNullableFilter.js\\"; +import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter.js\\"; @TypeGraphQL.InputType(\\"NestedBytesNullableWithAggregatesFilter\\", { isAbstract: true @@ -6036,7 +6036,7 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedDecimalNullableFilter\\", { isAbstract: true @@ -6089,9 +6089,9 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedDecimalNullableFilter } from \\"../inputs/NestedDecimalNullableFilter\\"; -import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedDecimalNullableFilter } from \\"../inputs/NestedDecimalNullableFilter.js\\"; +import { NestedIntNullableFilter } from \\"../inputs/NestedIntNullableFilter.js\\"; @TypeGraphQL.InputType(\\"NestedDecimalNullableWithAggregatesFilter\\", { isAbstract: true @@ -6169,7 +6169,7 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NullableBigIntFieldUpdateOperationsInput\\", { isAbstract: true @@ -6207,7 +6207,7 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NullableBytesFieldUpdateOperationsInput\\", { isAbstract: true @@ -6225,7 +6225,7 @@ exports[`inputs should properly generate input type scalar filters classes for m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NullableDecimalFieldUpdateOperationsInput\\", { isAbstract: true @@ -6260,43 +6260,43 @@ export class NullableDecimalFieldUpdateOperationsInput { `; exports[`inputs should properly generate input type scalar filters classes for model with native types: index 1`] = ` -"export { BigIntNullableFilter } from \\"./BigIntNullableFilter\\"; -export { BigIntNullableWithAggregatesFilter } from \\"./BigIntNullableWithAggregatesFilter\\"; -export { BytesNullableFilter } from \\"./BytesNullableFilter\\"; -export { BytesNullableWithAggregatesFilter } from \\"./BytesNullableWithAggregatesFilter\\"; -export { DecimalNullableFilter } from \\"./DecimalNullableFilter\\"; -export { DecimalNullableWithAggregatesFilter } from \\"./DecimalNullableWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NativeTypeModelAvgOrderByAggregateInput } from \\"./NativeTypeModelAvgOrderByAggregateInput\\"; -export { NativeTypeModelCountOrderByAggregateInput } from \\"./NativeTypeModelCountOrderByAggregateInput\\"; -export { NativeTypeModelCreateInput } from \\"./NativeTypeModelCreateInput\\"; -export { NativeTypeModelCreateManyInput } from \\"./NativeTypeModelCreateManyInput\\"; -export { NativeTypeModelMaxOrderByAggregateInput } from \\"./NativeTypeModelMaxOrderByAggregateInput\\"; -export { NativeTypeModelMinOrderByAggregateInput } from \\"./NativeTypeModelMinOrderByAggregateInput\\"; -export { NativeTypeModelOrderByWithAggregationInput } from \\"./NativeTypeModelOrderByWithAggregationInput\\"; -export { NativeTypeModelOrderByWithRelationInput } from \\"./NativeTypeModelOrderByWithRelationInput\\"; -export { NativeTypeModelScalarWhereWithAggregatesInput } from \\"./NativeTypeModelScalarWhereWithAggregatesInput\\"; -export { NativeTypeModelSumOrderByAggregateInput } from \\"./NativeTypeModelSumOrderByAggregateInput\\"; -export { NativeTypeModelUpdateInput } from \\"./NativeTypeModelUpdateInput\\"; -export { NativeTypeModelUpdateManyMutationInput } from \\"./NativeTypeModelUpdateManyMutationInput\\"; -export { NativeTypeModelWhereInput } from \\"./NativeTypeModelWhereInput\\"; -export { NativeTypeModelWhereUniqueInput } from \\"./NativeTypeModelWhereUniqueInput\\"; -export { NestedBigIntNullableFilter } from \\"./NestedBigIntNullableFilter\\"; -export { NestedBigIntNullableWithAggregatesFilter } from \\"./NestedBigIntNullableWithAggregatesFilter\\"; -export { NestedBytesNullableFilter } from \\"./NestedBytesNullableFilter\\"; -export { NestedBytesNullableWithAggregatesFilter } from \\"./NestedBytesNullableWithAggregatesFilter\\"; -export { NestedDecimalNullableFilter } from \\"./NestedDecimalNullableFilter\\"; -export { NestedDecimalNullableWithAggregatesFilter } from \\"./NestedDecimalNullableWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NullableBigIntFieldUpdateOperationsInput } from \\"./NullableBigIntFieldUpdateOperationsInput\\"; -export { NullableBytesFieldUpdateOperationsInput } from \\"./NullableBytesFieldUpdateOperationsInput\\"; -export { NullableDecimalFieldUpdateOperationsInput } from \\"./NullableDecimalFieldUpdateOperationsInput\\"; +"export { BigIntNullableFilter } from \\"./BigIntNullableFilter.js\\"; +export { BigIntNullableWithAggregatesFilter } from \\"./BigIntNullableWithAggregatesFilter.js\\"; +export { BytesNullableFilter } from \\"./BytesNullableFilter.js\\"; +export { BytesNullableWithAggregatesFilter } from \\"./BytesNullableWithAggregatesFilter.js\\"; +export { DecimalNullableFilter } from \\"./DecimalNullableFilter.js\\"; +export { DecimalNullableWithAggregatesFilter } from \\"./DecimalNullableWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NativeTypeModelAvgOrderByAggregateInput } from \\"./NativeTypeModelAvgOrderByAggregateInput.js\\"; +export { NativeTypeModelCountOrderByAggregateInput } from \\"./NativeTypeModelCountOrderByAggregateInput.js\\"; +export { NativeTypeModelCreateInput } from \\"./NativeTypeModelCreateInput.js\\"; +export { NativeTypeModelCreateManyInput } from \\"./NativeTypeModelCreateManyInput.js\\"; +export { NativeTypeModelMaxOrderByAggregateInput } from \\"./NativeTypeModelMaxOrderByAggregateInput.js\\"; +export { NativeTypeModelMinOrderByAggregateInput } from \\"./NativeTypeModelMinOrderByAggregateInput.js\\"; +export { NativeTypeModelOrderByWithAggregationInput } from \\"./NativeTypeModelOrderByWithAggregationInput.js\\"; +export { NativeTypeModelOrderByWithRelationInput } from \\"./NativeTypeModelOrderByWithRelationInput.js\\"; +export { NativeTypeModelScalarWhereWithAggregatesInput } from \\"./NativeTypeModelScalarWhereWithAggregatesInput.js\\"; +export { NativeTypeModelSumOrderByAggregateInput } from \\"./NativeTypeModelSumOrderByAggregateInput.js\\"; +export { NativeTypeModelUpdateInput } from \\"./NativeTypeModelUpdateInput.js\\"; +export { NativeTypeModelUpdateManyMutationInput } from \\"./NativeTypeModelUpdateManyMutationInput.js\\"; +export { NativeTypeModelWhereInput } from \\"./NativeTypeModelWhereInput.js\\"; +export { NativeTypeModelWhereUniqueInput } from \\"./NativeTypeModelWhereUniqueInput.js\\"; +export { NestedBigIntNullableFilter } from \\"./NestedBigIntNullableFilter.js\\"; +export { NestedBigIntNullableWithAggregatesFilter } from \\"./NestedBigIntNullableWithAggregatesFilter.js\\"; +export { NestedBytesNullableFilter } from \\"./NestedBytesNullableFilter.js\\"; +export { NestedBytesNullableWithAggregatesFilter } from \\"./NestedBytesNullableWithAggregatesFilter.js\\"; +export { NestedDecimalNullableFilter } from \\"./NestedDecimalNullableFilter.js\\"; +export { NestedDecimalNullableWithAggregatesFilter } from \\"./NestedDecimalNullableWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NullableBigIntFieldUpdateOperationsInput } from \\"./NullableBigIntFieldUpdateOperationsInput.js\\"; +export { NullableBytesFieldUpdateOperationsInput } from \\"./NullableBytesFieldUpdateOperationsInput.js\\"; +export { NullableDecimalFieldUpdateOperationsInput } from \\"./NullableDecimalFieldUpdateOperationsInput.js\\"; " `; @@ -6304,12 +6304,12 @@ exports[`inputs when \`extendedWhereUnique\` preview feature is enabled should p "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -import { FirstModelCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateWithoutSecondModelsFieldInput\\"; -import { FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput\\"; -import { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpsertWithoutSecondModelsFieldInput\\"; -import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +import { FirstModelCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\", { isAbstract: true @@ -6347,9 +6347,9 @@ exports[`inputs when \`extendedWhereUnique\` preview feature is enabled should p "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpdateWithoutSecondModelsFieldInput\\"; -import { FirstModelWhereInput } from \\"../inputs/FirstModelWhereInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelWhereInput } from \\"../inputs/FirstModelWhereInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -6372,10 +6372,10 @@ exports[`inputs when \`extendedWhereUnique\` preview feature is enabled should p "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelWhereInput } from \\"../inputs/FirstModelWhereInput\\"; -import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter\\"; -import { SecondModelListRelationFilter } from \\"../inputs/SecondModelListRelationFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelWhereInput } from \\"../inputs/FirstModelWhereInput.js\\"; +import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter.js\\"; +import { SecondModelListRelationFilter } from \\"../inputs/SecondModelListRelationFilter.js\\"; @TypeGraphQL.InputType(\\"FirstModelWhereUniqueInput\\", { isAbstract: true @@ -6423,10 +6423,10 @@ exports[`inputs when \`extendedWhereUnique\` preview feature is enabled should p "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelCreateWithoutFirstModelFieldInput } from \\"../inputs/SecondModelCreateWithoutFirstModelFieldInput\\"; -import { SecondModelUpdateWithoutFirstModelFieldInput } from \\"../inputs/SecondModelUpdateWithoutFirstModelFieldInput\\"; -import { SecondModelWhereUniqueInput } from \\"../inputs/SecondModelWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelCreateWithoutFirstModelFieldInput } from \\"../inputs/SecondModelCreateWithoutFirstModelFieldInput.js\\"; +import { SecondModelUpdateWithoutFirstModelFieldInput } from \\"../inputs/SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +import { SecondModelWhereUniqueInput } from \\"../inputs/SecondModelWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\", { isAbstract: true @@ -6451,72 +6451,72 @@ export class SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput { `; exports[`inputs when \`extendedWhereUnique\` preview feature is enabled should properly generate input type classes with SortOrderInput type fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateToOneWithWhereWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -6524,9 +6524,9 @@ exports[`inputs when \`fullTextSearch\` preview feature is enabled should proper "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelOrderByRelevanceFieldEnum } from \\"../../enums/FirstModelOrderByRelevanceFieldEnum\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelOrderByRelevanceFieldEnum } from \\"../../enums/FirstModelOrderByRelevanceFieldEnum.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByRelevanceInput\\", { isAbstract: true @@ -6554,10 +6554,10 @@ exports[`inputs when \`fullTextSearch\` preview feature is enabled should proper "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelOrderByRelevanceInput } from \\"../inputs/FirstModelOrderByRelevanceInput\\"; -import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelOrderByRelevanceInput } from \\"../inputs/FirstModelOrderByRelevanceInput.js\\"; +import { SecondModelOrderByRelationAggregateInput } from \\"../inputs/SecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByWithRelationAndSearchRelevanceInput\\", { isAbstract: true @@ -6595,7 +6595,7 @@ exports[`inputs when \`fullTextSearch\` preview feature is enabled should proper "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"NestedStringFilter\\", { isAbstract: true @@ -6668,9 +6668,9 @@ exports[`inputs when \`fullTextSearch\` preview feature is enabled should proper "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NestedStringFilter } from \\"../inputs/NestedStringFilter\\"; -import { QueryMode } from \\"../../enums/QueryMode\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NestedStringFilter } from \\"../inputs/NestedStringFilter.js\\"; +import { QueryMode } from \\"../../enums/QueryMode.js\\"; @TypeGraphQL.InputType(\\"StringFilter\\", { isAbstract: true @@ -6745,71 +6745,71 @@ export class StringFilter { `; exports[`inputs when \`fullTextSearch\` preview feature is enabled should properly generate input type classes with relevance and string search field: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByRelevanceInput } from \\"./FirstModelOrderByRelevanceInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationAndSearchRelevanceInput } from \\"./FirstModelOrderByWithRelationAndSearchRelevanceInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByRelevanceInput } from \\"./SecondModelOrderByRelevanceInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationAndSearchRelevanceInput } from \\"./SecondModelOrderByWithRelationAndSearchRelevanceInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByRelevanceInput } from \\"./FirstModelOrderByRelevanceInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationAndSearchRelevanceInput } from \\"./FirstModelOrderByWithRelationAndSearchRelevanceInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByRelevanceInput } from \\"./SecondModelOrderByRelevanceInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationAndSearchRelevanceInput } from \\"./SecondModelOrderByWithRelationAndSearchRelevanceInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -6817,14 +6817,14 @@ exports[`inputs when \`orderByNulls\` preview feature is enabled should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelAvgOrderByAggregateInput } from \\"../inputs/FirstModelAvgOrderByAggregateInput\\"; -import { FirstModelCountOrderByAggregateInput } from \\"../inputs/FirstModelCountOrderByAggregateInput\\"; -import { FirstModelMaxOrderByAggregateInput } from \\"../inputs/FirstModelMaxOrderByAggregateInput\\"; -import { FirstModelMinOrderByAggregateInput } from \\"../inputs/FirstModelMinOrderByAggregateInput\\"; -import { FirstModelSumOrderByAggregateInput } from \\"../inputs/FirstModelSumOrderByAggregateInput\\"; -import { SortOrderInput } from \\"../inputs/SortOrderInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelAvgOrderByAggregateInput } from \\"../inputs/FirstModelAvgOrderByAggregateInput.js\\"; +import { FirstModelCountOrderByAggregateInput } from \\"../inputs/FirstModelCountOrderByAggregateInput.js\\"; +import { FirstModelMaxOrderByAggregateInput } from \\"../inputs/FirstModelMaxOrderByAggregateInput.js\\"; +import { FirstModelMinOrderByAggregateInput } from \\"../inputs/FirstModelMinOrderByAggregateInput.js\\"; +import { FirstModelSumOrderByAggregateInput } from \\"../inputs/FirstModelSumOrderByAggregateInput.js\\"; +import { SortOrderInput } from \\"../inputs/SortOrderInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"FirstModelOrderByWithAggregationInput\\", { isAbstract: true @@ -6877,9 +6877,9 @@ exports[`inputs when \`orderByNulls\` preview feature is enabled should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { NullsOrder } from \\"../../enums/NullsOrder\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { NullsOrder } from \\"../../enums/NullsOrder.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SortOrderInput\\", { isAbstract: true @@ -6899,72 +6899,72 @@ export class SortOrderInput { `; exports[`inputs when \`orderByNulls\` preview feature is enabled should properly generate input type classes with SortOrderInput type fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { SortOrderInput } from \\"./SortOrderInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { SortOrderInput } from \\"./SortOrderInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -6972,8 +6972,8 @@ exports[`inputs when model field is renamed should properly generate input type "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleOrderByWithRelationInput\\", { isAbstract: true @@ -7004,9 +7004,9 @@ exports[`inputs when model field is renamed should properly generate input type "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleWhereInput\\", { isAbstract: true @@ -7049,31 +7049,31 @@ export class SampleWhereInput { `; exports[`inputs when model field is renamed should properly generate input type classes: index 1`] = ` -"export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput\\"; -export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput\\"; -export { SampleCreateInput } from \\"./SampleCreateInput\\"; -export { SampleCreateManyInput } from \\"./SampleCreateManyInput\\"; -export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput\\"; -export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput\\"; -export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput\\"; -export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput\\"; -export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput\\"; -export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput\\"; -export { SampleUpdateInput } from \\"./SampleUpdateInput\\"; -export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput\\"; -export { SampleWhereInput } from \\"./SampleWhereInput\\"; -export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput.js\\"; +export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput.js\\"; +export { SampleCreateInput } from \\"./SampleCreateInput.js\\"; +export { SampleCreateManyInput } from \\"./SampleCreateManyInput.js\\"; +export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput.js\\"; +export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput.js\\"; +export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput.js\\"; +export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput.js\\"; +export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput.js\\"; +export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput.js\\"; +export { SampleUpdateInput } from \\"./SampleUpdateInput.js\\"; +export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput.js\\"; +export { SampleWhereInput } from \\"./SampleWhereInput.js\\"; +export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -7081,9 +7081,9 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { RenamedSecondModelOrderByRelationAggregateInput } from \\"../inputs/RenamedSecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { RenamedSecondModelOrderByRelationAggregateInput } from \\"../inputs/RenamedSecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelOrderByWithRelationInput\\", { isAbstract: true @@ -7116,10 +7116,10 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelScalarWhereInput\\", { isAbstract: true @@ -7162,11 +7162,11 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { RenamedSecondModelListRelationFilter } from \\"../inputs/RenamedSecondModelListRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { RenamedSecondModelListRelationFilter } from \\"../inputs/RenamedSecondModelListRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelWhereInput\\", { isAbstract: true @@ -7214,7 +7214,7 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelWhereUniqueInput\\", { isAbstract: true @@ -7234,71 +7234,71 @@ export class RenamedFirstModelWhereUniqueInput { `; exports[`inputs when model is renamed should properly generate input type classes for filtering models by many to many relation fields: index 1`] = ` -"export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { RenamedFirstModelAvgOrderByAggregateInput } from \\"./RenamedFirstModelAvgOrderByAggregateInput\\"; -export { RenamedFirstModelCountOrderByAggregateInput } from \\"./RenamedFirstModelCountOrderByAggregateInput\\"; -export { RenamedFirstModelCreateInput } from \\"./RenamedFirstModelCreateInput\\"; -export { RenamedFirstModelCreateManyInput } from \\"./RenamedFirstModelCreateManyInput\\"; -export { RenamedFirstModelCreateNestedManyWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateNestedManyWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelCreateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelListRelationFilter } from \\"./RenamedFirstModelListRelationFilter\\"; -export { RenamedFirstModelMaxOrderByAggregateInput } from \\"./RenamedFirstModelMaxOrderByAggregateInput\\"; -export { RenamedFirstModelMinOrderByAggregateInput } from \\"./RenamedFirstModelMinOrderByAggregateInput\\"; -export { RenamedFirstModelOrderByRelationAggregateInput } from \\"./RenamedFirstModelOrderByRelationAggregateInput\\"; -export { RenamedFirstModelOrderByWithAggregationInput } from \\"./RenamedFirstModelOrderByWithAggregationInput\\"; -export { RenamedFirstModelOrderByWithRelationInput } from \\"./RenamedFirstModelOrderByWithRelationInput\\"; -export { RenamedFirstModelScalarWhereInput } from \\"./RenamedFirstModelScalarWhereInput\\"; -export { RenamedFirstModelScalarWhereWithAggregatesInput } from \\"./RenamedFirstModelScalarWhereWithAggregatesInput\\"; -export { RenamedFirstModelSumOrderByAggregateInput } from \\"./RenamedFirstModelSumOrderByAggregateInput\\"; -export { RenamedFirstModelUpdateInput } from \\"./RenamedFirstModelUpdateInput\\"; -export { RenamedFirstModelUpdateManyMutationInput } from \\"./RenamedFirstModelUpdateManyMutationInput\\"; -export { RenamedFirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelUpdateManyWithoutSecondModelsFieldNestedInput } from \\"./RenamedFirstModelUpdateManyWithoutSecondModelsFieldNestedInput\\"; -export { RenamedFirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelUpdateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelWhereInput } from \\"./RenamedFirstModelWhereInput\\"; -export { RenamedFirstModelWhereUniqueInput } from \\"./RenamedFirstModelWhereUniqueInput\\"; -export { RenamedSecondModelAvgOrderByAggregateInput } from \\"./RenamedSecondModelAvgOrderByAggregateInput\\"; -export { RenamedSecondModelCountOrderByAggregateInput } from \\"./RenamedSecondModelCountOrderByAggregateInput\\"; -export { RenamedSecondModelCreateInput } from \\"./RenamedSecondModelCreateInput\\"; -export { RenamedSecondModelCreateManyInput } from \\"./RenamedSecondModelCreateManyInput\\"; -export { RenamedSecondModelCreateNestedManyWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelCreateNestedManyWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelCreateOrConnectWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelCreateOrConnectWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelCreateWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelCreateWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelListRelationFilter } from \\"./RenamedSecondModelListRelationFilter\\"; -export { RenamedSecondModelMaxOrderByAggregateInput } from \\"./RenamedSecondModelMaxOrderByAggregateInput\\"; -export { RenamedSecondModelMinOrderByAggregateInput } from \\"./RenamedSecondModelMinOrderByAggregateInput\\"; -export { RenamedSecondModelOrderByRelationAggregateInput } from \\"./RenamedSecondModelOrderByRelationAggregateInput\\"; -export { RenamedSecondModelOrderByWithAggregationInput } from \\"./RenamedSecondModelOrderByWithAggregationInput\\"; -export { RenamedSecondModelOrderByWithRelationInput } from \\"./RenamedSecondModelOrderByWithRelationInput\\"; -export { RenamedSecondModelScalarWhereInput } from \\"./RenamedSecondModelScalarWhereInput\\"; -export { RenamedSecondModelScalarWhereWithAggregatesInput } from \\"./RenamedSecondModelScalarWhereWithAggregatesInput\\"; -export { RenamedSecondModelSumOrderByAggregateInput } from \\"./RenamedSecondModelSumOrderByAggregateInput\\"; -export { RenamedSecondModelUpdateInput } from \\"./RenamedSecondModelUpdateInput\\"; -export { RenamedSecondModelUpdateManyMutationInput } from \\"./RenamedSecondModelUpdateManyMutationInput\\"; -export { RenamedSecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelUpdateManyWithoutFirstModelsFieldNestedInput } from \\"./RenamedSecondModelUpdateManyWithoutFirstModelsFieldNestedInput\\"; -export { RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelUpdateWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpdateWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput\\"; -export { RenamedSecondModelWhereInput } from \\"./RenamedSecondModelWhereInput\\"; -export { RenamedSecondModelWhereUniqueInput } from \\"./RenamedSecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { RenamedFirstModelAvgOrderByAggregateInput } from \\"./RenamedFirstModelAvgOrderByAggregateInput.js\\"; +export { RenamedFirstModelCountOrderByAggregateInput } from \\"./RenamedFirstModelCountOrderByAggregateInput.js\\"; +export { RenamedFirstModelCreateInput } from \\"./RenamedFirstModelCreateInput.js\\"; +export { RenamedFirstModelCreateManyInput } from \\"./RenamedFirstModelCreateManyInput.js\\"; +export { RenamedFirstModelCreateNestedManyWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateNestedManyWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelCreateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelListRelationFilter } from \\"./RenamedFirstModelListRelationFilter.js\\"; +export { RenamedFirstModelMaxOrderByAggregateInput } from \\"./RenamedFirstModelMaxOrderByAggregateInput.js\\"; +export { RenamedFirstModelMinOrderByAggregateInput } from \\"./RenamedFirstModelMinOrderByAggregateInput.js\\"; +export { RenamedFirstModelOrderByRelationAggregateInput } from \\"./RenamedFirstModelOrderByRelationAggregateInput.js\\"; +export { RenamedFirstModelOrderByWithAggregationInput } from \\"./RenamedFirstModelOrderByWithAggregationInput.js\\"; +export { RenamedFirstModelOrderByWithRelationInput } from \\"./RenamedFirstModelOrderByWithRelationInput.js\\"; +export { RenamedFirstModelScalarWhereInput } from \\"./RenamedFirstModelScalarWhereInput.js\\"; +export { RenamedFirstModelScalarWhereWithAggregatesInput } from \\"./RenamedFirstModelScalarWhereWithAggregatesInput.js\\"; +export { RenamedFirstModelSumOrderByAggregateInput } from \\"./RenamedFirstModelSumOrderByAggregateInput.js\\"; +export { RenamedFirstModelUpdateInput } from \\"./RenamedFirstModelUpdateInput.js\\"; +export { RenamedFirstModelUpdateManyMutationInput } from \\"./RenamedFirstModelUpdateManyMutationInput.js\\"; +export { RenamedFirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateManyWithWhereWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelUpdateManyWithoutSecondModelsFieldNestedInput } from \\"./RenamedFirstModelUpdateManyWithoutSecondModelsFieldNestedInput.js\\"; +export { RenamedFirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateWithWhereUniqueWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelUpdateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpsertWithWhereUniqueWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelWhereInput } from \\"./RenamedFirstModelWhereInput.js\\"; +export { RenamedFirstModelWhereUniqueInput } from \\"./RenamedFirstModelWhereUniqueInput.js\\"; +export { RenamedSecondModelAvgOrderByAggregateInput } from \\"./RenamedSecondModelAvgOrderByAggregateInput.js\\"; +export { RenamedSecondModelCountOrderByAggregateInput } from \\"./RenamedSecondModelCountOrderByAggregateInput.js\\"; +export { RenamedSecondModelCreateInput } from \\"./RenamedSecondModelCreateInput.js\\"; +export { RenamedSecondModelCreateManyInput } from \\"./RenamedSecondModelCreateManyInput.js\\"; +export { RenamedSecondModelCreateNestedManyWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelCreateNestedManyWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelCreateOrConnectWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelCreateOrConnectWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelCreateWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelCreateWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelListRelationFilter } from \\"./RenamedSecondModelListRelationFilter.js\\"; +export { RenamedSecondModelMaxOrderByAggregateInput } from \\"./RenamedSecondModelMaxOrderByAggregateInput.js\\"; +export { RenamedSecondModelMinOrderByAggregateInput } from \\"./RenamedSecondModelMinOrderByAggregateInput.js\\"; +export { RenamedSecondModelOrderByRelationAggregateInput } from \\"./RenamedSecondModelOrderByRelationAggregateInput.js\\"; +export { RenamedSecondModelOrderByWithAggregationInput } from \\"./RenamedSecondModelOrderByWithAggregationInput.js\\"; +export { RenamedSecondModelOrderByWithRelationInput } from \\"./RenamedSecondModelOrderByWithRelationInput.js\\"; +export { RenamedSecondModelScalarWhereInput } from \\"./RenamedSecondModelScalarWhereInput.js\\"; +export { RenamedSecondModelScalarWhereWithAggregatesInput } from \\"./RenamedSecondModelScalarWhereWithAggregatesInput.js\\"; +export { RenamedSecondModelSumOrderByAggregateInput } from \\"./RenamedSecondModelSumOrderByAggregateInput.js\\"; +export { RenamedSecondModelUpdateInput } from \\"./RenamedSecondModelUpdateInput.js\\"; +export { RenamedSecondModelUpdateManyMutationInput } from \\"./RenamedSecondModelUpdateManyMutationInput.js\\"; +export { RenamedSecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpdateManyWithWhereWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelUpdateManyWithoutFirstModelsFieldNestedInput } from \\"./RenamedSecondModelUpdateManyWithoutFirstModelsFieldNestedInput.js\\"; +export { RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelUpdateWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpdateWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput } from \\"./RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelsFieldInput.js\\"; +export { RenamedSecondModelWhereInput } from \\"./RenamedSecondModelWhereInput.js\\"; +export { RenamedSecondModelWhereUniqueInput } from \\"./RenamedSecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -7306,9 +7306,9 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { RenamedSecondModelOrderByRelationAggregateInput } from \\"../inputs/RenamedSecondModelOrderByRelationAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { RenamedSecondModelOrderByRelationAggregateInput } from \\"../inputs/RenamedSecondModelOrderByRelationAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelOrderByWithRelationInput\\", { isAbstract: true @@ -7341,8 +7341,8 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { RenamedFirstModelWhereInput } from \\"../inputs/RenamedFirstModelWhereInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { RenamedFirstModelWhereInput } from \\"../inputs/RenamedFirstModelWhereInput.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelRelationFilter\\", { isAbstract: true @@ -7365,11 +7365,11 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { RenamedSecondModelListRelationFilter } from \\"../inputs/RenamedSecondModelListRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { RenamedSecondModelListRelationFilter } from \\"../inputs/RenamedSecondModelListRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelWhereInput\\", { isAbstract: true @@ -7417,7 +7417,7 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"RenamedFirstModelWhereUniqueInput\\", { isAbstract: true @@ -7440,8 +7440,8 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { RenamedSecondModelWhereInput } from \\"../inputs/RenamedSecondModelWhereInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { RenamedSecondModelWhereInput } from \\"../inputs/RenamedSecondModelWhereInput.js\\"; @TypeGraphQL.InputType(\\"RenamedSecondModelListRelationFilter\\", { isAbstract: true @@ -7469,9 +7469,9 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { RenamedFirstModelOrderByWithRelationInput } from \\"../inputs/RenamedFirstModelOrderByWithRelationInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { RenamedFirstModelOrderByWithRelationInput } from \\"../inputs/RenamedFirstModelOrderByWithRelationInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"RenamedSecondModelOrderByWithRelationInput\\", { isAbstract: true @@ -7509,10 +7509,10 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"RenamedSecondModelScalarWhereInput\\", { isAbstract: true @@ -7560,11 +7560,11 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { RenamedFirstModelRelationFilter } from \\"../inputs/RenamedFirstModelRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { RenamedFirstModelRelationFilter } from \\"../inputs/RenamedFirstModelRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"RenamedSecondModelWhereInput\\", { isAbstract: true @@ -7617,7 +7617,7 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"RenamedSecondModelWhereUniqueInput\\", { isAbstract: true @@ -7637,69 +7637,69 @@ export class RenamedSecondModelWhereUniqueInput { `; exports[`inputs when model is renamed should properly generate input type classes for filtering models by one to many relation fields: index 1`] = ` -"export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { RenamedFirstModelAvgOrderByAggregateInput } from \\"./RenamedFirstModelAvgOrderByAggregateInput\\"; -export { RenamedFirstModelCountOrderByAggregateInput } from \\"./RenamedFirstModelCountOrderByAggregateInput\\"; -export { RenamedFirstModelCreateInput } from \\"./RenamedFirstModelCreateInput\\"; -export { RenamedFirstModelCreateManyInput } from \\"./RenamedFirstModelCreateManyInput\\"; -export { RenamedFirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelCreateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelMaxOrderByAggregateInput } from \\"./RenamedFirstModelMaxOrderByAggregateInput\\"; -export { RenamedFirstModelMinOrderByAggregateInput } from \\"./RenamedFirstModelMinOrderByAggregateInput\\"; -export { RenamedFirstModelOrderByWithAggregationInput } from \\"./RenamedFirstModelOrderByWithAggregationInput\\"; -export { RenamedFirstModelOrderByWithRelationInput } from \\"./RenamedFirstModelOrderByWithRelationInput\\"; -export { RenamedFirstModelRelationFilter } from \\"./RenamedFirstModelRelationFilter\\"; -export { RenamedFirstModelScalarWhereWithAggregatesInput } from \\"./RenamedFirstModelScalarWhereWithAggregatesInput\\"; -export { RenamedFirstModelSumOrderByAggregateInput } from \\"./RenamedFirstModelSumOrderByAggregateInput\\"; -export { RenamedFirstModelUpdateInput } from \\"./RenamedFirstModelUpdateInput\\"; -export { RenamedFirstModelUpdateManyMutationInput } from \\"./RenamedFirstModelUpdateManyMutationInput\\"; -export { RenamedFirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./RenamedFirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { RenamedFirstModelUpdateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelUpsertWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { RenamedFirstModelWhereInput } from \\"./RenamedFirstModelWhereInput\\"; -export { RenamedFirstModelWhereUniqueInput } from \\"./RenamedFirstModelWhereUniqueInput\\"; -export { RenamedSecondModelAvgOrderByAggregateInput } from \\"./RenamedSecondModelAvgOrderByAggregateInput\\"; -export { RenamedSecondModelCountOrderByAggregateInput } from \\"./RenamedSecondModelCountOrderByAggregateInput\\"; -export { RenamedSecondModelCreateInput } from \\"./RenamedSecondModelCreateInput\\"; -export { RenamedSecondModelCreateManyFirstModelFieldInput } from \\"./RenamedSecondModelCreateManyFirstModelFieldInput\\"; -export { RenamedSecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./RenamedSecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { RenamedSecondModelCreateManyInput } from \\"./RenamedSecondModelCreateManyInput\\"; -export { RenamedSecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./RenamedSecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./RenamedSecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelCreateWithoutFirstModelFieldInput } from \\"./RenamedSecondModelCreateWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelListRelationFilter } from \\"./RenamedSecondModelListRelationFilter\\"; -export { RenamedSecondModelMaxOrderByAggregateInput } from \\"./RenamedSecondModelMaxOrderByAggregateInput\\"; -export { RenamedSecondModelMinOrderByAggregateInput } from \\"./RenamedSecondModelMinOrderByAggregateInput\\"; -export { RenamedSecondModelOrderByRelationAggregateInput } from \\"./RenamedSecondModelOrderByRelationAggregateInput\\"; -export { RenamedSecondModelOrderByWithAggregationInput } from \\"./RenamedSecondModelOrderByWithAggregationInput\\"; -export { RenamedSecondModelOrderByWithRelationInput } from \\"./RenamedSecondModelOrderByWithRelationInput\\"; -export { RenamedSecondModelScalarWhereInput } from \\"./RenamedSecondModelScalarWhereInput\\"; -export { RenamedSecondModelScalarWhereWithAggregatesInput } from \\"./RenamedSecondModelScalarWhereWithAggregatesInput\\"; -export { RenamedSecondModelSumOrderByAggregateInput } from \\"./RenamedSecondModelSumOrderByAggregateInput\\"; -export { RenamedSecondModelUpdateInput } from \\"./RenamedSecondModelUpdateInput\\"; -export { RenamedSecondModelUpdateManyMutationInput } from \\"./RenamedSecondModelUpdateManyMutationInput\\"; -export { RenamedSecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./RenamedSecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelUpdateWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpdateWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { RenamedSecondModelWhereInput } from \\"./RenamedSecondModelWhereInput\\"; -export { RenamedSecondModelWhereUniqueInput } from \\"./RenamedSecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { RenamedFirstModelAvgOrderByAggregateInput } from \\"./RenamedFirstModelAvgOrderByAggregateInput.js\\"; +export { RenamedFirstModelCountOrderByAggregateInput } from \\"./RenamedFirstModelCountOrderByAggregateInput.js\\"; +export { RenamedFirstModelCreateInput } from \\"./RenamedFirstModelCreateInput.js\\"; +export { RenamedFirstModelCreateManyInput } from \\"./RenamedFirstModelCreateManyInput.js\\"; +export { RenamedFirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelCreateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelMaxOrderByAggregateInput } from \\"./RenamedFirstModelMaxOrderByAggregateInput.js\\"; +export { RenamedFirstModelMinOrderByAggregateInput } from \\"./RenamedFirstModelMinOrderByAggregateInput.js\\"; +export { RenamedFirstModelOrderByWithAggregationInput } from \\"./RenamedFirstModelOrderByWithAggregationInput.js\\"; +export { RenamedFirstModelOrderByWithRelationInput } from \\"./RenamedFirstModelOrderByWithRelationInput.js\\"; +export { RenamedFirstModelRelationFilter } from \\"./RenamedFirstModelRelationFilter.js\\"; +export { RenamedFirstModelScalarWhereWithAggregatesInput } from \\"./RenamedFirstModelScalarWhereWithAggregatesInput.js\\"; +export { RenamedFirstModelSumOrderByAggregateInput } from \\"./RenamedFirstModelSumOrderByAggregateInput.js\\"; +export { RenamedFirstModelUpdateInput } from \\"./RenamedFirstModelUpdateInput.js\\"; +export { RenamedFirstModelUpdateManyMutationInput } from \\"./RenamedFirstModelUpdateManyMutationInput.js\\"; +export { RenamedFirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./RenamedFirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { RenamedFirstModelUpdateWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelUpsertWithoutSecondModelsFieldInput } from \\"./RenamedFirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { RenamedFirstModelWhereInput } from \\"./RenamedFirstModelWhereInput.js\\"; +export { RenamedFirstModelWhereUniqueInput } from \\"./RenamedFirstModelWhereUniqueInput.js\\"; +export { RenamedSecondModelAvgOrderByAggregateInput } from \\"./RenamedSecondModelAvgOrderByAggregateInput.js\\"; +export { RenamedSecondModelCountOrderByAggregateInput } from \\"./RenamedSecondModelCountOrderByAggregateInput.js\\"; +export { RenamedSecondModelCreateInput } from \\"./RenamedSecondModelCreateInput.js\\"; +export { RenamedSecondModelCreateManyFirstModelFieldInput } from \\"./RenamedSecondModelCreateManyFirstModelFieldInput.js\\"; +export { RenamedSecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./RenamedSecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { RenamedSecondModelCreateManyInput } from \\"./RenamedSecondModelCreateManyInput.js\\"; +export { RenamedSecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./RenamedSecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./RenamedSecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelCreateWithoutFirstModelFieldInput } from \\"./RenamedSecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelListRelationFilter } from \\"./RenamedSecondModelListRelationFilter.js\\"; +export { RenamedSecondModelMaxOrderByAggregateInput } from \\"./RenamedSecondModelMaxOrderByAggregateInput.js\\"; +export { RenamedSecondModelMinOrderByAggregateInput } from \\"./RenamedSecondModelMinOrderByAggregateInput.js\\"; +export { RenamedSecondModelOrderByRelationAggregateInput } from \\"./RenamedSecondModelOrderByRelationAggregateInput.js\\"; +export { RenamedSecondModelOrderByWithAggregationInput } from \\"./RenamedSecondModelOrderByWithAggregationInput.js\\"; +export { RenamedSecondModelOrderByWithRelationInput } from \\"./RenamedSecondModelOrderByWithRelationInput.js\\"; +export { RenamedSecondModelScalarWhereInput } from \\"./RenamedSecondModelScalarWhereInput.js\\"; +export { RenamedSecondModelScalarWhereWithAggregatesInput } from \\"./RenamedSecondModelScalarWhereWithAggregatesInput.js\\"; +export { RenamedSecondModelSumOrderByAggregateInput } from \\"./RenamedSecondModelSumOrderByAggregateInput.js\\"; +export { RenamedSecondModelUpdateInput } from \\"./RenamedSecondModelUpdateInput.js\\"; +export { RenamedSecondModelUpdateManyMutationInput } from \\"./RenamedSecondModelUpdateManyMutationInput.js\\"; +export { RenamedSecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./RenamedSecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelUpdateWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./RenamedSecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { RenamedSecondModelWhereInput } from \\"./RenamedSecondModelWhereInput.js\\"; +export { RenamedSecondModelWhereUniqueInput } from \\"./RenamedSecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -7707,9 +7707,9 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { OtherModelOrderByWithRelationInput } from \\"../inputs/OtherModelOrderByWithRelationInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { OtherModelOrderByWithRelationInput } from \\"../inputs/OtherModelOrderByWithRelationInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"ExampleOrderByWithRelationInput\\", { isAbstract: true @@ -7757,13 +7757,13 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { BoolFilter } from \\"../inputs/BoolFilter\\"; -import { DateTimeFilter } from \\"../inputs/DateTimeFilter\\"; -import { FloatFilter } from \\"../inputs/FloatFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { OtherModelRelationFilter } from \\"../inputs/OtherModelRelationFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { BoolFilter } from \\"../inputs/BoolFilter.js\\"; +import { DateTimeFilter } from \\"../inputs/DateTimeFilter.js\\"; +import { FloatFilter } from \\"../inputs/FloatFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { OtherModelRelationFilter } from \\"../inputs/OtherModelRelationFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"ExampleWhereInput\\", { isAbstract: true @@ -7826,7 +7826,7 @@ exports[`inputs when model is renamed should properly generate input type classe "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"ExampleWhereUniqueInput\\", { isAbstract: true @@ -7846,79 +7846,79 @@ export class ExampleWhereUniqueInput { `; exports[`inputs when model is renamed should properly generate input type classes: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { ExampleAvgOrderByAggregateInput } from \\"./ExampleAvgOrderByAggregateInput\\"; -export { ExampleCountOrderByAggregateInput } from \\"./ExampleCountOrderByAggregateInput\\"; -export { ExampleCreateInput } from \\"./ExampleCreateInput\\"; -export { ExampleCreateManyInput } from \\"./ExampleCreateManyInput\\"; -export { ExampleCreateManyOtherInput } from \\"./ExampleCreateManyOtherInput\\"; -export { ExampleCreateManyOtherInputEnvelope } from \\"./ExampleCreateManyOtherInputEnvelope\\"; -export { ExampleCreateNestedManyWithoutOtherInput } from \\"./ExampleCreateNestedManyWithoutOtherInput\\"; -export { ExampleCreateOrConnectWithoutOtherInput } from \\"./ExampleCreateOrConnectWithoutOtherInput\\"; -export { ExampleCreateWithoutOtherInput } from \\"./ExampleCreateWithoutOtherInput\\"; -export { ExampleListRelationFilter } from \\"./ExampleListRelationFilter\\"; -export { ExampleMaxOrderByAggregateInput } from \\"./ExampleMaxOrderByAggregateInput\\"; -export { ExampleMinOrderByAggregateInput } from \\"./ExampleMinOrderByAggregateInput\\"; -export { ExampleOrderByRelationAggregateInput } from \\"./ExampleOrderByRelationAggregateInput\\"; -export { ExampleOrderByWithAggregationInput } from \\"./ExampleOrderByWithAggregationInput\\"; -export { ExampleOrderByWithRelationInput } from \\"./ExampleOrderByWithRelationInput\\"; -export { ExampleScalarWhereInput } from \\"./ExampleScalarWhereInput\\"; -export { ExampleScalarWhereWithAggregatesInput } from \\"./ExampleScalarWhereWithAggregatesInput\\"; -export { ExampleSumOrderByAggregateInput } from \\"./ExampleSumOrderByAggregateInput\\"; -export { ExampleUpdateInput } from \\"./ExampleUpdateInput\\"; -export { ExampleUpdateManyMutationInput } from \\"./ExampleUpdateManyMutationInput\\"; -export { ExampleUpdateManyWithWhereWithoutOtherInput } from \\"./ExampleUpdateManyWithWhereWithoutOtherInput\\"; -export { ExampleUpdateManyWithoutOtherNestedInput } from \\"./ExampleUpdateManyWithoutOtherNestedInput\\"; -export { ExampleUpdateWithWhereUniqueWithoutOtherInput } from \\"./ExampleUpdateWithWhereUniqueWithoutOtherInput\\"; -export { ExampleUpdateWithoutOtherInput } from \\"./ExampleUpdateWithoutOtherInput\\"; -export { ExampleUpsertWithWhereUniqueWithoutOtherInput } from \\"./ExampleUpsertWithWhereUniqueWithoutOtherInput\\"; -export { ExampleWhereInput } from \\"./ExampleWhereInput\\"; -export { ExampleWhereUniqueInput } from \\"./ExampleWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { OtherModelAvgOrderByAggregateInput } from \\"./OtherModelAvgOrderByAggregateInput\\"; -export { OtherModelCountOrderByAggregateInput } from \\"./OtherModelCountOrderByAggregateInput\\"; -export { OtherModelCreateInput } from \\"./OtherModelCreateInput\\"; -export { OtherModelCreateManyInput } from \\"./OtherModelCreateManyInput\\"; -export { OtherModelCreateNestedOneWithoutSampleModelInput } from \\"./OtherModelCreateNestedOneWithoutSampleModelInput\\"; -export { OtherModelCreateOrConnectWithoutSampleModelInput } from \\"./OtherModelCreateOrConnectWithoutSampleModelInput\\"; -export { OtherModelCreateWithoutSampleModelInput } from \\"./OtherModelCreateWithoutSampleModelInput\\"; -export { OtherModelMaxOrderByAggregateInput } from \\"./OtherModelMaxOrderByAggregateInput\\"; -export { OtherModelMinOrderByAggregateInput } from \\"./OtherModelMinOrderByAggregateInput\\"; -export { OtherModelOrderByWithAggregationInput } from \\"./OtherModelOrderByWithAggregationInput\\"; -export { OtherModelOrderByWithRelationInput } from \\"./OtherModelOrderByWithRelationInput\\"; -export { OtherModelRelationFilter } from \\"./OtherModelRelationFilter\\"; -export { OtherModelScalarWhereWithAggregatesInput } from \\"./OtherModelScalarWhereWithAggregatesInput\\"; -export { OtherModelSumOrderByAggregateInput } from \\"./OtherModelSumOrderByAggregateInput\\"; -export { OtherModelUpdateInput } from \\"./OtherModelUpdateInput\\"; -export { OtherModelUpdateManyMutationInput } from \\"./OtherModelUpdateManyMutationInput\\"; -export { OtherModelUpdateOneRequiredWithoutSampleModelNestedInput } from \\"./OtherModelUpdateOneRequiredWithoutSampleModelNestedInput\\"; -export { OtherModelUpdateWithoutSampleModelInput } from \\"./OtherModelUpdateWithoutSampleModelInput\\"; -export { OtherModelUpsertWithoutSampleModelInput } from \\"./OtherModelUpsertWithoutSampleModelInput\\"; -export { OtherModelWhereInput } from \\"./OtherModelWhereInput\\"; -export { OtherModelWhereUniqueInput } from \\"./OtherModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { ExampleAvgOrderByAggregateInput } from \\"./ExampleAvgOrderByAggregateInput.js\\"; +export { ExampleCountOrderByAggregateInput } from \\"./ExampleCountOrderByAggregateInput.js\\"; +export { ExampleCreateInput } from \\"./ExampleCreateInput.js\\"; +export { ExampleCreateManyInput } from \\"./ExampleCreateManyInput.js\\"; +export { ExampleCreateManyOtherInput } from \\"./ExampleCreateManyOtherInput.js\\"; +export { ExampleCreateManyOtherInputEnvelope } from \\"./ExampleCreateManyOtherInputEnvelope.js\\"; +export { ExampleCreateNestedManyWithoutOtherInput } from \\"./ExampleCreateNestedManyWithoutOtherInput.js\\"; +export { ExampleCreateOrConnectWithoutOtherInput } from \\"./ExampleCreateOrConnectWithoutOtherInput.js\\"; +export { ExampleCreateWithoutOtherInput } from \\"./ExampleCreateWithoutOtherInput.js\\"; +export { ExampleListRelationFilter } from \\"./ExampleListRelationFilter.js\\"; +export { ExampleMaxOrderByAggregateInput } from \\"./ExampleMaxOrderByAggregateInput.js\\"; +export { ExampleMinOrderByAggregateInput } from \\"./ExampleMinOrderByAggregateInput.js\\"; +export { ExampleOrderByRelationAggregateInput } from \\"./ExampleOrderByRelationAggregateInput.js\\"; +export { ExampleOrderByWithAggregationInput } from \\"./ExampleOrderByWithAggregationInput.js\\"; +export { ExampleOrderByWithRelationInput } from \\"./ExampleOrderByWithRelationInput.js\\"; +export { ExampleScalarWhereInput } from \\"./ExampleScalarWhereInput.js\\"; +export { ExampleScalarWhereWithAggregatesInput } from \\"./ExampleScalarWhereWithAggregatesInput.js\\"; +export { ExampleSumOrderByAggregateInput } from \\"./ExampleSumOrderByAggregateInput.js\\"; +export { ExampleUpdateInput } from \\"./ExampleUpdateInput.js\\"; +export { ExampleUpdateManyMutationInput } from \\"./ExampleUpdateManyMutationInput.js\\"; +export { ExampleUpdateManyWithWhereWithoutOtherInput } from \\"./ExampleUpdateManyWithWhereWithoutOtherInput.js\\"; +export { ExampleUpdateManyWithoutOtherNestedInput } from \\"./ExampleUpdateManyWithoutOtherNestedInput.js\\"; +export { ExampleUpdateWithWhereUniqueWithoutOtherInput } from \\"./ExampleUpdateWithWhereUniqueWithoutOtherInput.js\\"; +export { ExampleUpdateWithoutOtherInput } from \\"./ExampleUpdateWithoutOtherInput.js\\"; +export { ExampleUpsertWithWhereUniqueWithoutOtherInput } from \\"./ExampleUpsertWithWhereUniqueWithoutOtherInput.js\\"; +export { ExampleWhereInput } from \\"./ExampleWhereInput.js\\"; +export { ExampleWhereUniqueInput } from \\"./ExampleWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { OtherModelAvgOrderByAggregateInput } from \\"./OtherModelAvgOrderByAggregateInput.js\\"; +export { OtherModelCountOrderByAggregateInput } from \\"./OtherModelCountOrderByAggregateInput.js\\"; +export { OtherModelCreateInput } from \\"./OtherModelCreateInput.js\\"; +export { OtherModelCreateManyInput } from \\"./OtherModelCreateManyInput.js\\"; +export { OtherModelCreateNestedOneWithoutSampleModelInput } from \\"./OtherModelCreateNestedOneWithoutSampleModelInput.js\\"; +export { OtherModelCreateOrConnectWithoutSampleModelInput } from \\"./OtherModelCreateOrConnectWithoutSampleModelInput.js\\"; +export { OtherModelCreateWithoutSampleModelInput } from \\"./OtherModelCreateWithoutSampleModelInput.js\\"; +export { OtherModelMaxOrderByAggregateInput } from \\"./OtherModelMaxOrderByAggregateInput.js\\"; +export { OtherModelMinOrderByAggregateInput } from \\"./OtherModelMinOrderByAggregateInput.js\\"; +export { OtherModelOrderByWithAggregationInput } from \\"./OtherModelOrderByWithAggregationInput.js\\"; +export { OtherModelOrderByWithRelationInput } from \\"./OtherModelOrderByWithRelationInput.js\\"; +export { OtherModelRelationFilter } from \\"./OtherModelRelationFilter.js\\"; +export { OtherModelScalarWhereWithAggregatesInput } from \\"./OtherModelScalarWhereWithAggregatesInput.js\\"; +export { OtherModelSumOrderByAggregateInput } from \\"./OtherModelSumOrderByAggregateInput.js\\"; +export { OtherModelUpdateInput } from \\"./OtherModelUpdateInput.js\\"; +export { OtherModelUpdateManyMutationInput } from \\"./OtherModelUpdateManyMutationInput.js\\"; +export { OtherModelUpdateOneRequiredWithoutSampleModelNestedInput } from \\"./OtherModelUpdateOneRequiredWithoutSampleModelNestedInput.js\\"; +export { OtherModelUpdateWithoutSampleModelInput } from \\"./OtherModelUpdateWithoutSampleModelInput.js\\"; +export { OtherModelUpsertWithoutSampleModelInput } from \\"./OtherModelUpsertWithoutSampleModelInput.js\\"; +export { OtherModelWhereInput } from \\"./OtherModelWhereInput.js\\"; +export { OtherModelWhereUniqueInput } from \\"./OtherModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -7926,9 +7926,9 @@ exports[`inputs when prisma client is generated into node_modules should properl "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"@prisma/client\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleWhereInput\\", { isAbstract: true @@ -7963,31 +7963,31 @@ export class SampleWhereInput { `; exports[`inputs when prisma client is generated into node_modules should properly generate prisma client imports in input type class files: index 1`] = ` -"export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput\\"; -export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput\\"; -export { SampleCreateInput } from \\"./SampleCreateInput\\"; -export { SampleCreateManyInput } from \\"./SampleCreateManyInput\\"; -export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput\\"; -export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput\\"; -export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput\\"; -export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput\\"; -export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput\\"; -export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput\\"; -export { SampleUpdateInput } from \\"./SampleUpdateInput\\"; -export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput\\"; -export { SampleWhereInput } from \\"./SampleWhereInput\\"; -export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SampleAvgOrderByAggregateInput } from \\"./SampleAvgOrderByAggregateInput.js\\"; +export { SampleCountOrderByAggregateInput } from \\"./SampleCountOrderByAggregateInput.js\\"; +export { SampleCreateInput } from \\"./SampleCreateInput.js\\"; +export { SampleCreateManyInput } from \\"./SampleCreateManyInput.js\\"; +export { SampleMaxOrderByAggregateInput } from \\"./SampleMaxOrderByAggregateInput.js\\"; +export { SampleMinOrderByAggregateInput } from \\"./SampleMinOrderByAggregateInput.js\\"; +export { SampleOrderByWithAggregationInput } from \\"./SampleOrderByWithAggregationInput.js\\"; +export { SampleOrderByWithRelationInput } from \\"./SampleOrderByWithRelationInput.js\\"; +export { SampleScalarWhereWithAggregatesInput } from \\"./SampleScalarWhereWithAggregatesInput.js\\"; +export { SampleSumOrderByAggregateInput } from \\"./SampleSumOrderByAggregateInput.js\\"; +export { SampleUpdateInput } from \\"./SampleUpdateInput.js\\"; +export { SampleUpdateManyMutationInput } from \\"./SampleUpdateManyMutationInput.js\\"; +export { SampleWhereInput } from \\"./SampleWhereInput.js\\"; +export { SampleWhereUniqueInput } from \\"./SampleWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -7995,8 +7995,8 @@ exports[`inputs when useSimpleInputs config option is set to true should properl "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -8089,8 +8089,8 @@ exports[`inputs when useSimpleInputs config option is set to true should properl "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { Color } from \\"../../enums/Color\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { Color } from \\"../../enums/Color.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateManyMutationInput\\", { isAbstract: true @@ -8180,92 +8180,92 @@ export class SampleModelUpdateManyMutationInput { `; exports[`inputs when useSimpleInputs config option is set to true should properly generate input type classes for updating scalar fields in postgres schema: index 1`] = ` -"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput\\"; -export { BoolFilter } from \\"./BoolFilter\\"; -export { BoolNullableFilter } from \\"./BoolNullableFilter\\"; -export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter\\"; -export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter\\"; -export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput\\"; -export { DateTimeFilter } from \\"./DateTimeFilter\\"; -export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter\\"; -export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter\\"; -export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter\\"; -export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput\\"; -export { EnumColorFilter } from \\"./EnumColorFilter\\"; -export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter\\"; -export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter\\"; -export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatNullableFilter } from \\"./FloatNullableFilter\\"; -export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntNullableFilter } from \\"./IntNullableFilter\\"; -export { IntNullableListFilter } from \\"./IntNullableListFilter\\"; -export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { JsonFilter } from \\"./JsonFilter\\"; -export { JsonNullableFilter } from \\"./JsonNullableFilter\\"; -export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter\\"; -export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter\\"; -export { NestedBoolFilter } from \\"./NestedBoolFilter\\"; -export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter\\"; -export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter\\"; -export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter\\"; -export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter\\"; -export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter\\"; -export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter\\"; -export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter\\"; -export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter\\"; -export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter\\"; -export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter\\"; -export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter\\"; -export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter\\"; -export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedJsonFilter } from \\"./NestedJsonFilter\\"; -export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter\\"; -export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput\\"; -export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput\\"; -export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput\\"; -export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput\\"; -export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput\\"; -export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput\\"; -export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput\\"; -export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput\\"; -export { SampleModelCreateInput } from \\"./SampleModelCreateInput\\"; -export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput\\"; -export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput\\"; -export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput\\"; -export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput\\"; -export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput\\"; -export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput\\"; -export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput\\"; -export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput\\"; -export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput\\"; -export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput\\"; -export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput\\"; -export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput\\"; -export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput\\"; -export { SampleModelWhereInput } from \\"./SampleModelWhereInput\\"; -export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringNullableFilter } from \\"./StringNullableFilter\\"; -export { StringNullableListFilter } from \\"./StringNullableListFilter\\"; -export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { BoolFieldUpdateOperationsInput } from \\"./BoolFieldUpdateOperationsInput.js\\"; +export { BoolFilter } from \\"./BoolFilter.js\\"; +export { BoolNullableFilter } from \\"./BoolNullableFilter.js\\"; +export { BoolNullableWithAggregatesFilter } from \\"./BoolNullableWithAggregatesFilter.js\\"; +export { BoolWithAggregatesFilter } from \\"./BoolWithAggregatesFilter.js\\"; +export { DateTimeFieldUpdateOperationsInput } from \\"./DateTimeFieldUpdateOperationsInput.js\\"; +export { DateTimeFilter } from \\"./DateTimeFilter.js\\"; +export { DateTimeNullableFilter } from \\"./DateTimeNullableFilter.js\\"; +export { DateTimeNullableWithAggregatesFilter } from \\"./DateTimeNullableWithAggregatesFilter.js\\"; +export { DateTimeWithAggregatesFilter } from \\"./DateTimeWithAggregatesFilter.js\\"; +export { EnumColorFieldUpdateOperationsInput } from \\"./EnumColorFieldUpdateOperationsInput.js\\"; +export { EnumColorFilter } from \\"./EnumColorFilter.js\\"; +export { EnumColorNullableFilter } from \\"./EnumColorNullableFilter.js\\"; +export { EnumColorNullableWithAggregatesFilter } from \\"./EnumColorNullableWithAggregatesFilter.js\\"; +export { EnumColorWithAggregatesFilter } from \\"./EnumColorWithAggregatesFilter.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatNullableFilter } from \\"./FloatNullableFilter.js\\"; +export { FloatNullableWithAggregatesFilter } from \\"./FloatNullableWithAggregatesFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntNullableFilter } from \\"./IntNullableFilter.js\\"; +export { IntNullableListFilter } from \\"./IntNullableListFilter.js\\"; +export { IntNullableWithAggregatesFilter } from \\"./IntNullableWithAggregatesFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { JsonFilter } from \\"./JsonFilter.js\\"; +export { JsonNullableFilter } from \\"./JsonNullableFilter.js\\"; +export { JsonNullableWithAggregatesFilter } from \\"./JsonNullableWithAggregatesFilter.js\\"; +export { JsonWithAggregatesFilter } from \\"./JsonWithAggregatesFilter.js\\"; +export { NestedBoolFilter } from \\"./NestedBoolFilter.js\\"; +export { NestedBoolNullableFilter } from \\"./NestedBoolNullableFilter.js\\"; +export { NestedBoolNullableWithAggregatesFilter } from \\"./NestedBoolNullableWithAggregatesFilter.js\\"; +export { NestedBoolWithAggregatesFilter } from \\"./NestedBoolWithAggregatesFilter.js\\"; +export { NestedDateTimeFilter } from \\"./NestedDateTimeFilter.js\\"; +export { NestedDateTimeNullableFilter } from \\"./NestedDateTimeNullableFilter.js\\"; +export { NestedDateTimeNullableWithAggregatesFilter } from \\"./NestedDateTimeNullableWithAggregatesFilter.js\\"; +export { NestedDateTimeWithAggregatesFilter } from \\"./NestedDateTimeWithAggregatesFilter.js\\"; +export { NestedEnumColorFilter } from \\"./NestedEnumColorFilter.js\\"; +export { NestedEnumColorNullableFilter } from \\"./NestedEnumColorNullableFilter.js\\"; +export { NestedEnumColorNullableWithAggregatesFilter } from \\"./NestedEnumColorNullableWithAggregatesFilter.js\\"; +export { NestedEnumColorWithAggregatesFilter } from \\"./NestedEnumColorWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatNullableFilter } from \\"./NestedFloatNullableFilter.js\\"; +export { NestedFloatNullableWithAggregatesFilter } from \\"./NestedFloatNullableWithAggregatesFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntNullableFilter } from \\"./NestedIntNullableFilter.js\\"; +export { NestedIntNullableWithAggregatesFilter } from \\"./NestedIntNullableWithAggregatesFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedJsonFilter } from \\"./NestedJsonFilter.js\\"; +export { NestedJsonNullableFilter } from \\"./NestedJsonNullableFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringNullableFilter } from \\"./NestedStringNullableFilter.js\\"; +export { NestedStringNullableWithAggregatesFilter } from \\"./NestedStringNullableWithAggregatesFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { NullableBoolFieldUpdateOperationsInput } from \\"./NullableBoolFieldUpdateOperationsInput.js\\"; +export { NullableDateTimeFieldUpdateOperationsInput } from \\"./NullableDateTimeFieldUpdateOperationsInput.js\\"; +export { NullableEnumColorFieldUpdateOperationsInput } from \\"./NullableEnumColorFieldUpdateOperationsInput.js\\"; +export { NullableFloatFieldUpdateOperationsInput } from \\"./NullableFloatFieldUpdateOperationsInput.js\\"; +export { NullableIntFieldUpdateOperationsInput } from \\"./NullableIntFieldUpdateOperationsInput.js\\"; +export { NullableStringFieldUpdateOperationsInput } from \\"./NullableStringFieldUpdateOperationsInput.js\\"; +export { SampleModelAvgOrderByAggregateInput } from \\"./SampleModelAvgOrderByAggregateInput.js\\"; +export { SampleModelCountOrderByAggregateInput } from \\"./SampleModelCountOrderByAggregateInput.js\\"; +export { SampleModelCreateInput } from \\"./SampleModelCreateInput.js\\"; +export { SampleModelCreateManyInput } from \\"./SampleModelCreateManyInput.js\\"; +export { SampleModelCreateintArrayFieldInput } from \\"./SampleModelCreateintArrayFieldInput.js\\"; +export { SampleModelCreatestringArrayFieldInput } from \\"./SampleModelCreatestringArrayFieldInput.js\\"; +export { SampleModelMaxOrderByAggregateInput } from \\"./SampleModelMaxOrderByAggregateInput.js\\"; +export { SampleModelMinOrderByAggregateInput } from \\"./SampleModelMinOrderByAggregateInput.js\\"; +export { SampleModelOrderByWithAggregationInput } from \\"./SampleModelOrderByWithAggregationInput.js\\"; +export { SampleModelOrderByWithRelationInput } from \\"./SampleModelOrderByWithRelationInput.js\\"; +export { SampleModelScalarWhereWithAggregatesInput } from \\"./SampleModelScalarWhereWithAggregatesInput.js\\"; +export { SampleModelSumOrderByAggregateInput } from \\"./SampleModelSumOrderByAggregateInput.js\\"; +export { SampleModelUpdateInput } from \\"./SampleModelUpdateInput.js\\"; +export { SampleModelUpdateManyMutationInput } from \\"./SampleModelUpdateManyMutationInput.js\\"; +export { SampleModelUpdateintArrayFieldInput } from \\"./SampleModelUpdateintArrayFieldInput.js\\"; +export { SampleModelUpdatestringArrayFieldInput } from \\"./SampleModelUpdatestringArrayFieldInput.js\\"; +export { SampleModelWhereInput } from \\"./SampleModelWhereInput.js\\"; +export { SampleModelWhereUniqueInput } from \\"./SampleModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringNullableFilter } from \\"./StringNullableFilter.js\\"; +export { StringNullableListFilter } from \\"./StringNullableListFilter.js\\"; +export { StringNullableWithAggregatesFilter } from \\"./StringNullableWithAggregatesFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; @@ -8273,10 +8273,10 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput\\"; -import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8304,9 +8304,9 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput\\"; -import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8329,7 +8329,7 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"FirstModelCreateWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8352,8 +8352,8 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput } from \\"../inputs/SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput } from \\"../inputs/SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUncheckedCreateInput\\", { isAbstract: true @@ -8386,7 +8386,7 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"FirstModelUncheckedCreateWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8414,11 +8414,11 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput\\"; -import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput\\"; -import { SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput } from \\"../inputs/SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput.js\\"; +import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput.js\\"; +import { SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput } from \\"../inputs/SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUncheckedUpdateInput\\", { isAbstract: true @@ -8451,10 +8451,10 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput\\"; -import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput.js\\"; +import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUncheckedUpdateManyInput\\", { isAbstract: true @@ -8482,10 +8482,10 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput\\"; -import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput.js\\"; +import { IntFieldUpdateOperationsInput } from \\"../inputs/IntFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUncheckedUpdateWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8513,12 +8513,12 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput\\"; -import { FirstModelUncheckedUpdateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedUpdateWithoutSecondModelsFieldInput\\"; -import { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpsertWithoutSecondModelsFieldInput\\"; -import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUncheckedUpdateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedUpdateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +import { FirstModelWhereUniqueInput } from \\"../inputs/FirstModelWhereUniqueInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\", { isAbstract: true @@ -8556,9 +8556,9 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FloatFieldUpdateOperationsInput } from \\"../inputs/FloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUpdateWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8581,9 +8581,9 @@ exports[`inputs when useUncheckedScalarInputs mode is enabled should properly ge "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput\\"; -import { FirstModelUncheckedUpdateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedUpdateWithoutSecondModelsFieldInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedCreateWithoutSecondModelsFieldInput.js\\"; +import { FirstModelUncheckedUpdateWithoutSecondModelsFieldInput } from \\"../inputs/FirstModelUncheckedUpdateWithoutSecondModelsFieldInput.js\\"; @TypeGraphQL.InputType(\\"FirstModelUpsertWithoutSecondModelsFieldInput\\", { isAbstract: true @@ -8603,81 +8603,81 @@ export class FirstModelUpsertWithoutSecondModelsFieldInput { `; exports[`inputs when useUncheckedScalarInputs mode is enabled should properly generate input type classes for filtering models by one to many relation fields: index 1`] = ` -"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput\\"; -export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput\\"; -export { FirstModelCreateInput } from \\"./FirstModelCreateInput\\"; -export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput\\"; -export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput\\"; -export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput\\"; -export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput\\"; -export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput\\"; -export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput\\"; -export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter\\"; -export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput\\"; -export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput\\"; -export { FirstModelUncheckedCreateInput } from \\"./FirstModelUncheckedCreateInput\\"; -export { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"./FirstModelUncheckedCreateWithoutSecondModelsFieldInput\\"; -export { FirstModelUncheckedUpdateInput } from \\"./FirstModelUncheckedUpdateInput\\"; -export { FirstModelUncheckedUpdateManyInput } from \\"./FirstModelUncheckedUpdateManyInput\\"; -export { FirstModelUncheckedUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUncheckedUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput\\"; -export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput\\"; -export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput\\"; -export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput\\"; -export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput\\"; -export { FirstModelWhereInput } from \\"./FirstModelWhereInput\\"; -export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput\\"; -export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput\\"; -export { FloatFilter } from \\"./FloatFilter\\"; -export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter\\"; -export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput\\"; -export { IntFilter } from \\"./IntFilter\\"; -export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter\\"; -export { NestedFloatFilter } from \\"./NestedFloatFilter\\"; -export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter\\"; -export { NestedIntFilter } from \\"./NestedIntFilter\\"; -export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter\\"; -export { NestedStringFilter } from \\"./NestedStringFilter\\"; -export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter\\"; -export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput\\"; -export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput\\"; -export { SecondModelCreateInput } from \\"./SecondModelCreateInput\\"; -export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput\\"; -export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope\\"; -export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput\\"; -export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput\\"; -export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput\\"; -export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter\\"; -export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput\\"; -export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput\\"; -export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput\\"; -export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput\\"; -export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput\\"; -export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput\\"; -export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput\\"; -export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput\\"; -export { SecondModelUncheckedCreateInput } from \\"./SecondModelUncheckedCreateInput\\"; -export { SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput\\"; -export { SecondModelUncheckedCreateWithoutFirstModelFieldInput } from \\"./SecondModelUncheckedCreateWithoutFirstModelFieldInput\\"; -export { SecondModelUncheckedUpdateInput } from \\"./SecondModelUncheckedUpdateInput\\"; -export { SecondModelUncheckedUpdateManyInput } from \\"./SecondModelUncheckedUpdateManyInput\\"; -export { SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUncheckedUpdateManyWithoutSecondModelsFieldInput } from \\"./SecondModelUncheckedUpdateManyWithoutSecondModelsFieldInput\\"; -export { SecondModelUncheckedUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUncheckedUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput\\"; -export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput\\"; -export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput\\"; -export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput\\"; -export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput\\"; -export { SecondModelWhereInput } from \\"./SecondModelWhereInput\\"; -export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput\\"; -export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput\\"; -export { StringFilter } from \\"./StringFilter\\"; -export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter\\"; +"export { FirstModelAvgOrderByAggregateInput } from \\"./FirstModelAvgOrderByAggregateInput.js\\"; +export { FirstModelCountOrderByAggregateInput } from \\"./FirstModelCountOrderByAggregateInput.js\\"; +export { FirstModelCreateInput } from \\"./FirstModelCreateInput.js\\"; +export { FirstModelCreateManyInput } from \\"./FirstModelCreateManyInput.js\\"; +export { FirstModelCreateNestedOneWithoutSecondModelsFieldInput } from \\"./FirstModelCreateNestedOneWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateOrConnectWithoutSecondModelsFieldInput } from \\"./FirstModelCreateOrConnectWithoutSecondModelsFieldInput.js\\"; +export { FirstModelCreateWithoutSecondModelsFieldInput } from \\"./FirstModelCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelMaxOrderByAggregateInput } from \\"./FirstModelMaxOrderByAggregateInput.js\\"; +export { FirstModelMinOrderByAggregateInput } from \\"./FirstModelMinOrderByAggregateInput.js\\"; +export { FirstModelOrderByWithAggregationInput } from \\"./FirstModelOrderByWithAggregationInput.js\\"; +export { FirstModelOrderByWithRelationInput } from \\"./FirstModelOrderByWithRelationInput.js\\"; +export { FirstModelRelationFilter } from \\"./FirstModelRelationFilter.js\\"; +export { FirstModelScalarWhereWithAggregatesInput } from \\"./FirstModelScalarWhereWithAggregatesInput.js\\"; +export { FirstModelSumOrderByAggregateInput } from \\"./FirstModelSumOrderByAggregateInput.js\\"; +export { FirstModelUncheckedCreateInput } from \\"./FirstModelUncheckedCreateInput.js\\"; +export { FirstModelUncheckedCreateWithoutSecondModelsFieldInput } from \\"./FirstModelUncheckedCreateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUncheckedUpdateInput } from \\"./FirstModelUncheckedUpdateInput.js\\"; +export { FirstModelUncheckedUpdateManyInput } from \\"./FirstModelUncheckedUpdateManyInput.js\\"; +export { FirstModelUncheckedUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUncheckedUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpdateInput } from \\"./FirstModelUpdateInput.js\\"; +export { FirstModelUpdateManyMutationInput } from \\"./FirstModelUpdateManyMutationInput.js\\"; +export { FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput } from \\"./FirstModelUpdateOneRequiredWithoutSecondModelsFieldNestedInput.js\\"; +export { FirstModelUpdateWithoutSecondModelsFieldInput } from \\"./FirstModelUpdateWithoutSecondModelsFieldInput.js\\"; +export { FirstModelUpsertWithoutSecondModelsFieldInput } from \\"./FirstModelUpsertWithoutSecondModelsFieldInput.js\\"; +export { FirstModelWhereInput } from \\"./FirstModelWhereInput.js\\"; +export { FirstModelWhereUniqueInput } from \\"./FirstModelWhereUniqueInput.js\\"; +export { FloatFieldUpdateOperationsInput } from \\"./FloatFieldUpdateOperationsInput.js\\"; +export { FloatFilter } from \\"./FloatFilter.js\\"; +export { FloatWithAggregatesFilter } from \\"./FloatWithAggregatesFilter.js\\"; +export { IntFieldUpdateOperationsInput } from \\"./IntFieldUpdateOperationsInput.js\\"; +export { IntFilter } from \\"./IntFilter.js\\"; +export { IntWithAggregatesFilter } from \\"./IntWithAggregatesFilter.js\\"; +export { NestedFloatFilter } from \\"./NestedFloatFilter.js\\"; +export { NestedFloatWithAggregatesFilter } from \\"./NestedFloatWithAggregatesFilter.js\\"; +export { NestedIntFilter } from \\"./NestedIntFilter.js\\"; +export { NestedIntWithAggregatesFilter } from \\"./NestedIntWithAggregatesFilter.js\\"; +export { NestedStringFilter } from \\"./NestedStringFilter.js\\"; +export { NestedStringWithAggregatesFilter } from \\"./NestedStringWithAggregatesFilter.js\\"; +export { SecondModelAvgOrderByAggregateInput } from \\"./SecondModelAvgOrderByAggregateInput.js\\"; +export { SecondModelCountOrderByAggregateInput } from \\"./SecondModelCountOrderByAggregateInput.js\\"; +export { SecondModelCreateInput } from \\"./SecondModelCreateInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInput } from \\"./SecondModelCreateManyFirstModelFieldInput.js\\"; +export { SecondModelCreateManyFirstModelFieldInputEnvelope } from \\"./SecondModelCreateManyFirstModelFieldInputEnvelope.js\\"; +export { SecondModelCreateManyInput } from \\"./SecondModelCreateManyInput.js\\"; +export { SecondModelCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateOrConnectWithoutFirstModelFieldInput } from \\"./SecondModelCreateOrConnectWithoutFirstModelFieldInput.js\\"; +export { SecondModelCreateWithoutFirstModelFieldInput } from \\"./SecondModelCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelListRelationFilter } from \\"./SecondModelListRelationFilter.js\\"; +export { SecondModelMaxOrderByAggregateInput } from \\"./SecondModelMaxOrderByAggregateInput.js\\"; +export { SecondModelMinOrderByAggregateInput } from \\"./SecondModelMinOrderByAggregateInput.js\\"; +export { SecondModelOrderByRelationAggregateInput } from \\"./SecondModelOrderByRelationAggregateInput.js\\"; +export { SecondModelOrderByWithAggregationInput } from \\"./SecondModelOrderByWithAggregationInput.js\\"; +export { SecondModelOrderByWithRelationInput } from \\"./SecondModelOrderByWithRelationInput.js\\"; +export { SecondModelScalarWhereInput } from \\"./SecondModelScalarWhereInput.js\\"; +export { SecondModelScalarWhereWithAggregatesInput } from \\"./SecondModelScalarWhereWithAggregatesInput.js\\"; +export { SecondModelSumOrderByAggregateInput } from \\"./SecondModelSumOrderByAggregateInput.js\\"; +export { SecondModelUncheckedCreateInput } from \\"./SecondModelUncheckedCreateInput.js\\"; +export { SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput } from \\"./SecondModelUncheckedCreateNestedManyWithoutFirstModelFieldInput.js\\"; +export { SecondModelUncheckedCreateWithoutFirstModelFieldInput } from \\"./SecondModelUncheckedCreateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUncheckedUpdateInput } from \\"./SecondModelUncheckedUpdateInput.js\\"; +export { SecondModelUncheckedUpdateManyInput } from \\"./SecondModelUncheckedUpdateManyInput.js\\"; +export { SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUncheckedUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUncheckedUpdateManyWithoutSecondModelsFieldInput } from \\"./SecondModelUncheckedUpdateManyWithoutSecondModelsFieldInput.js\\"; +export { SecondModelUncheckedUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUncheckedUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateInput } from \\"./SecondModelUpdateInput.js\\"; +export { SecondModelUpdateManyMutationInput } from \\"./SecondModelUpdateManyMutationInput.js\\"; +export { SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput } from \\"./SecondModelUpdateManyWithWhereWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateManyWithoutFirstModelFieldNestedInput } from \\"./SecondModelUpdateManyWithoutFirstModelFieldNestedInput.js\\"; +export { SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpdateWithoutFirstModelFieldInput } from \\"./SecondModelUpdateWithoutFirstModelFieldInput.js\\"; +export { SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput } from \\"./SecondModelUpsertWithWhereUniqueWithoutFirstModelFieldInput.js\\"; +export { SecondModelWhereInput } from \\"./SecondModelWhereInput.js\\"; +export { SecondModelWhereUniqueInput } from \\"./SecondModelWhereUniqueInput.js\\"; +export { StringFieldUpdateOperationsInput } from \\"./StringFieldUpdateOperationsInput.js\\"; +export { StringFilter } from \\"./StringFilter.js\\"; +export { StringWithAggregatesFilter } from \\"./StringWithAggregatesFilter.js\\"; " `; diff --git a/tests/regression/__snapshots__/models.ts.snap b/tests/regression/__snapshots__/models.ts.snap index 8bd743ed3..66703fa85 100644 --- a/tests/regression/__snapshots__/models.ts.snap +++ b/tests/regression/__snapshots__/models.ts.snap @@ -4,8 +4,8 @@ exports[`models should properly generate object type class for mongo prisma mode "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { UserAddress } from \\"../models/UserAddress\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { UserAddress } from \\"../models/UserAddress.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -33,7 +33,7 @@ exports[`models should properly generate object type class for mongo prisma mode "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"UserAddress\\", { isAbstract: true @@ -61,7 +61,7 @@ exports[`models should properly generate object type class for omitted prisma mo "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; export class User { @TypeGraphQL.Field(_type => TypeGraphQL.Int, { @@ -111,7 +111,7 @@ exports[`models should properly generate object type class for prisma model when "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true, @@ -140,9 +140,9 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Post } from \\"../models/Post\\"; -import { UserCount } from \\"../resolvers/outputs/UserCount\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Post } from \\"../models/Post.js\\"; +import { UserCount } from \\"../resolvers/outputs/UserCount.js\\"; /** * User model doc @@ -198,7 +198,7 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -251,8 +251,8 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Sample } from \\"../enums/Sample\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Sample } from \\"../enums/Sample.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -275,7 +275,7 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"NativeTypeModel\\", { isAbstract: true @@ -308,7 +308,7 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -341,9 +341,9 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Post } from \\"../models/Post\\"; -import { UserCount } from \\"../resolvers/outputs/UserCount\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Post } from \\"../models/Post.js\\"; +import { UserCount } from \\"../resolvers/outputs/UserCount.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -398,7 +398,7 @@ exports[`models should properly generate object type class for prisma model with "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -428,8 +428,8 @@ exports[`models should properly generate object type classes for prisma models w "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Client } from \\"../models/Client\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Client } from \\"../models/Client.js\\"; @TypeGraphQL.ObjectType(\\"Article\\", { isAbstract: true @@ -454,9 +454,9 @@ exports[`models should properly generate object type classes for prisma models w "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Article } from \\"../models/Article\\"; -import { ClientCount } from \\"../resolvers/outputs/ClientCount\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Article } from \\"../models/Article.js\\"; +import { ClientCount } from \\"../resolvers/outputs/ClientCount.js\\"; @TypeGraphQL.ObjectType(\\"Client\\", { isAbstract: true @@ -481,8 +481,8 @@ exports[`models should properly generate object type classes for prisma models w "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { User } from \\"../models/User\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { User } from \\"../models/User.js\\"; @TypeGraphQL.ObjectType(\\"Post\\", { isAbstract: true @@ -507,9 +507,9 @@ exports[`models should properly generate object type classes for prisma models w "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { Post } from \\"../models/Post\\"; -import { UserCount } from \\"../resolvers/outputs/UserCount\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { Post } from \\"../models/Post.js\\"; +import { UserCount } from \\"../resolvers/outputs/UserCount.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -534,8 +534,8 @@ exports[`models should properly generate object type classes for prisma models w "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; -import { ServiceCount } from \\"../resolvers/outputs/ServiceCount\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; +import { ServiceCount } from \\"../resolvers/outputs/ServiceCount.js\\"; @TypeGraphQL.ObjectType(\\"Service\\", { isAbstract: true @@ -572,7 +572,7 @@ exports[`models when customPrismaImportPath is set to custom directory in node_m "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../prisma-client\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleModel\\", { isAbstract: true @@ -600,7 +600,7 @@ exports[`models when customPrismaImportPath is set to custom repository director "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../test/import\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleModel\\", { isAbstract: true @@ -628,7 +628,7 @@ exports[`models when emitIdAsIDType is set to true should properly generate mode "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"FirstModel\\", { isAbstract: true @@ -656,7 +656,7 @@ exports[`models when emitIdAsIDType is set to true should properly generate mode "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SecondModel\\", { isAbstract: true diff --git a/tests/regression/__snapshots__/omit.ts.snap b/tests/regression/__snapshots__/omit.ts.snap index 759c4c2b6..a42f77a00 100644 --- a/tests/regression/__snapshots__/omit.ts.snap +++ b/tests/regression/__snapshots__/omit.ts.snap @@ -4,7 +4,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateInput\\", { isAbstract: true @@ -32,7 +32,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateManyInput\\", { isAbstract: true @@ -60,8 +60,8 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"UserOrderByWithRelationInput\\", { isAbstract: true @@ -89,11 +89,11 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter\\"; -import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter\\"; -import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter\\"; -import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter.js\\"; +import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter.js\\"; +import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter.js\\"; +import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter.js\\"; @TypeGraphQL.InputType(\\"UserScalarWhereWithAggregatesInput\\", { isAbstract: true @@ -136,10 +136,10 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateInput\\", { isAbstract: true @@ -167,10 +167,10 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateManyMutationInput\\", { isAbstract: true @@ -198,11 +198,11 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFilter } from \\"../inputs/DateTimeFilter\\"; -import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFilter } from \\"../inputs/DateTimeFilter.js\\"; +import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"UserWhereInput\\", { isAbstract: true @@ -245,7 +245,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserWhereUniqueInput\\", { isAbstract: true @@ -259,7 +259,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -289,7 +289,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateInput\\", { isAbstract: true @@ -317,7 +317,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateManyInput\\", { isAbstract: true @@ -350,8 +350,8 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"UserOrderByWithRelationInput\\", { isAbstract: true @@ -384,11 +384,11 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter\\"; -import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter\\"; -import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter\\"; -import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter.js\\"; +import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter.js\\"; +import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter.js\\"; +import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter.js\\"; @TypeGraphQL.InputType(\\"UserScalarWhereWithAggregatesInput\\", { isAbstract: true @@ -436,10 +436,10 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateInput\\", { isAbstract: true @@ -467,10 +467,10 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateManyMutationInput\\", { isAbstract: true @@ -498,11 +498,11 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFilter } from \\"../inputs/DateTimeFilter\\"; -import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFilter } from \\"../inputs/DateTimeFilter.js\\"; +import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"UserWhereInput\\", { isAbstract: true @@ -550,7 +550,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserWhereUniqueInput\\", { isAbstract: true @@ -568,7 +568,7 @@ exports[`omit-fields when \`omitInputFieldsByDefault\` generator option is provi "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../scalars\\"; +import { DecimalJSScalar } from \\"../scalars.js\\"; @TypeGraphQL.ObjectType(\\"User\\", { isAbstract: true @@ -601,7 +601,7 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateInput\\", { isAbstract: true @@ -624,7 +624,7 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateManyInput\\", { isAbstract: true @@ -652,8 +652,8 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"UserOrderByWithRelationInput\\", { isAbstract: true @@ -681,11 +681,11 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter\\"; -import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter\\"; -import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter\\"; -import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter.js\\"; +import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter.js\\"; +import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter.js\\"; +import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter.js\\"; @TypeGraphQL.InputType(\\"UserScalarWhereWithAggregatesInput\\", { isAbstract: true @@ -728,10 +728,10 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateInput\\", { isAbstract: true @@ -754,10 +754,10 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateManyMutationInput\\", { isAbstract: true @@ -780,11 +780,11 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFilter } from \\"../inputs/DateTimeFilter\\"; -import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFilter } from \\"../inputs/DateTimeFilter.js\\"; +import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"UserWhereInput\\", { isAbstract: true @@ -827,7 +827,7 @@ exports[`omit-fields when model field has \`omit(input: true)\` set should prope "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserWhereUniqueInput\\", { isAbstract: true @@ -845,7 +845,7 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateInput\\", { isAbstract: true @@ -873,7 +873,7 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserCreateManyInput\\", { isAbstract: true @@ -906,8 +906,8 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"UserOrderByWithRelationInput\\", { isAbstract: true @@ -940,11 +940,11 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter\\"; -import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter\\"; -import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter\\"; -import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeWithAggregatesFilter } from \\"../inputs/DateTimeWithAggregatesFilter.js\\"; +import { FloatNullableWithAggregatesFilter } from \\"../inputs/FloatNullableWithAggregatesFilter.js\\"; +import { IntWithAggregatesFilter } from \\"../inputs/IntWithAggregatesFilter.js\\"; +import { StringWithAggregatesFilter } from \\"../inputs/StringWithAggregatesFilter.js\\"; @TypeGraphQL.InputType(\\"UserScalarWhereWithAggregatesInput\\", { isAbstract: true @@ -992,10 +992,10 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateInput\\", { isAbstract: true @@ -1023,10 +1023,10 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput\\"; -import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFieldUpdateOperationsInput } from \\"../inputs/DateTimeFieldUpdateOperationsInput.js\\"; +import { NullableFloatFieldUpdateOperationsInput } from \\"../inputs/NullableFloatFieldUpdateOperationsInput.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"UserUpdateManyMutationInput\\", { isAbstract: true @@ -1054,11 +1054,11 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { DateTimeFilter } from \\"../inputs/DateTimeFilter\\"; -import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { DateTimeFilter } from \\"../inputs/DateTimeFilter.js\\"; +import { FloatNullableFilter } from \\"../inputs/FloatNullableFilter.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"UserWhereInput\\", { isAbstract: true @@ -1106,7 +1106,7 @@ exports[`omit-fields when model field has \`omit(output: true)\` set should prop "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"UserWhereUniqueInput\\", { isAbstract: true @@ -1124,7 +1124,7 @@ exports[`omit-fields when model field has both create and update omit input set "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -1142,7 +1142,7 @@ exports[`omit-fields when model field has both create and update omit input set "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -1165,8 +1165,8 @@ exports[`omit-fields when model field has both create and update omit input set "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -1184,13 +1184,13 @@ exports[`omit-fields when model field has both create and update omit input set "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput\\"; -import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput\\"; -import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput\\"; -import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput\\"; -import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput.js\\"; +import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput.js\\"; +import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput.js\\"; +import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput.js\\"; +import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleModelOrderByWithAggregationInput\\", { isAbstract: true @@ -1243,9 +1243,9 @@ exports[`omit-fields when model field has both create and update omit input set "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereInput\\", { isAbstract: true @@ -1288,7 +1288,7 @@ exports[`omit-fields when model field has omit input create set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -1306,7 +1306,7 @@ exports[`omit-fields when model field has omit input create set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -1329,13 +1329,13 @@ exports[`omit-fields when model field has omit input create set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput\\"; -import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput\\"; -import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput\\"; -import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput\\"; -import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput.js\\"; +import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput.js\\"; +import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput.js\\"; +import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput.js\\"; +import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleModelOrderByWithAggregationInput\\", { isAbstract: true @@ -1388,8 +1388,8 @@ exports[`omit-fields when model field has omit input create set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -1412,9 +1412,9 @@ exports[`omit-fields when model field has omit input create set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereInput\\", { isAbstract: true @@ -1457,13 +1457,13 @@ exports[`omit-fields when model field has omit input orderBy set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput\\"; -import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput\\"; -import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput\\"; -import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput\\"; -import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput.js\\"; +import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput.js\\"; +import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput.js\\"; +import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput.js\\"; +import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleModelOrderByWithAggregationInput\\", { isAbstract: true @@ -1511,7 +1511,7 @@ exports[`omit-fields when model field has omit input orderBy set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -1534,7 +1534,7 @@ exports[`omit-fields when model field has omit input orderBy set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -1562,8 +1562,8 @@ exports[`omit-fields when model field has omit input orderBy set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -1586,9 +1586,9 @@ exports[`omit-fields when model field has omit input orderBy set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereInput\\", { isAbstract: true @@ -1631,7 +1631,7 @@ exports[`omit-fields when model field has omit input update set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -1654,7 +1654,7 @@ exports[`omit-fields when model field has omit input update set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -1682,13 +1682,13 @@ exports[`omit-fields when model field has omit input update set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput\\"; -import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput\\"; -import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput\\"; -import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput\\"; -import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput.js\\"; +import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput.js\\"; +import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput.js\\"; +import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput.js\\"; +import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleModelOrderByWithAggregationInput\\", { isAbstract: true @@ -1741,9 +1741,9 @@ exports[`omit-fields when model field has omit input update set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereInput\\", { isAbstract: true @@ -1786,8 +1786,8 @@ exports[`omit-fields when model field has omit input update set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -1805,8 +1805,8 @@ exports[`omit-fields when model field has omit input update set should properly "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateManyMutationInput\\", { isAbstract: true @@ -1824,7 +1824,7 @@ exports[`omit-fields when model field has omit input where set should properly g "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateInput\\", { isAbstract: true @@ -1847,7 +1847,7 @@ exports[`omit-fields when model field has omit input where set should properly g "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.InputType(\\"SampleModelCreateManyInput\\", { isAbstract: true @@ -1875,13 +1875,13 @@ exports[`omit-fields when model field has omit input where set should properly g "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput\\"; -import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput\\"; -import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput\\"; -import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput\\"; -import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput\\"; -import { SortOrder } from \\"../../enums/SortOrder\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleModelAvgOrderByAggregateInput } from \\"../inputs/SampleModelAvgOrderByAggregateInput.js\\"; +import { SampleModelCountOrderByAggregateInput } from \\"../inputs/SampleModelCountOrderByAggregateInput.js\\"; +import { SampleModelMaxOrderByAggregateInput } from \\"../inputs/SampleModelMaxOrderByAggregateInput.js\\"; +import { SampleModelMinOrderByAggregateInput } from \\"../inputs/SampleModelMinOrderByAggregateInput.js\\"; +import { SampleModelSumOrderByAggregateInput } from \\"../inputs/SampleModelSumOrderByAggregateInput.js\\"; +import { SortOrder } from \\"../../enums/SortOrder.js\\"; @TypeGraphQL.InputType(\\"SampleModelOrderByWithAggregationInput\\", { isAbstract: true @@ -1934,8 +1934,8 @@ exports[`omit-fields when model field has omit input where set should properly g "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { StringFieldUpdateOperationsInput } from \\"../inputs/StringFieldUpdateOperationsInput.js\\"; @TypeGraphQL.InputType(\\"SampleModelUpdateInput\\", { isAbstract: true @@ -1958,9 +1958,9 @@ exports[`omit-fields when model field has omit input where set should properly g "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { IntFilter } from \\"../inputs/IntFilter\\"; -import { StringFilter } from \\"../inputs/StringFilter\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { IntFilter } from \\"../inputs/IntFilter.js\\"; +import { StringFilter } from \\"../inputs/StringFilter.js\\"; @TypeGraphQL.InputType(\\"SampleModelWhereInput\\", { isAbstract: true diff --git a/tests/regression/__snapshots__/outputs.ts.snap b/tests/regression/__snapshots__/outputs.ts.snap index 854029c1d..53e2456da 100644 --- a/tests/regression/__snapshots__/outputs.ts.snap +++ b/tests/regression/__snapshots__/outputs.ts.snap @@ -4,12 +4,12 @@ exports[`outputs should properly generate aggregate classes for model with lower "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { ExampleAvgAggregate } from \\"../outputs/ExampleAvgAggregate\\"; -import { ExampleCountAggregate } from \\"../outputs/ExampleCountAggregate\\"; -import { ExampleMaxAggregate } from \\"../outputs/ExampleMaxAggregate\\"; -import { ExampleMinAggregate } from \\"../outputs/ExampleMinAggregate\\"; -import { ExampleSumAggregate } from \\"../outputs/ExampleSumAggregate\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { ExampleAvgAggregate } from \\"../outputs/ExampleAvgAggregate.js\\"; +import { ExampleCountAggregate } from \\"../outputs/ExampleCountAggregate.js\\"; +import { ExampleMaxAggregate } from \\"../outputs/ExampleMaxAggregate.js\\"; +import { ExampleMinAggregate } from \\"../outputs/ExampleMinAggregate.js\\"; +import { ExampleSumAggregate } from \\"../outputs/ExampleSumAggregate.js\\"; @TypeGraphQL.ObjectType(\\"AggregateExample\\", { isAbstract: true @@ -47,7 +47,7 @@ exports[`outputs should properly generate aggregate classes for model with lower "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleAvgAggregate\\", { isAbstract: true @@ -70,7 +70,7 @@ exports[`outputs should properly generate aggregate classes for model with lower "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleCountAggregate\\", { isAbstract: true @@ -113,7 +113,7 @@ exports[`outputs should properly generate aggregate classes for model with lower "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleMaxAggregate\\", { isAbstract: true @@ -151,7 +151,7 @@ exports[`outputs should properly generate aggregate classes for model with lower "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleMinAggregate\\", { isAbstract: true @@ -189,7 +189,7 @@ exports[`outputs should properly generate aggregate classes for model with lower "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleSumAggregate\\", { isAbstract: true @@ -209,14 +209,14 @@ export class ExampleSumAggregate { `; exports[`outputs should properly generate aggregate classes for model with lowercase name: outputs index 1`] = ` -"export { AffectedRowsOutput } from \\"./AffectedRowsOutput\\"; -export { AggregateExample } from \\"./AggregateExample\\"; -export { ExampleAvgAggregate } from \\"./ExampleAvgAggregate\\"; -export { ExampleCountAggregate } from \\"./ExampleCountAggregate\\"; -export { ExampleGroupBy } from \\"./ExampleGroupBy\\"; -export { ExampleMaxAggregate } from \\"./ExampleMaxAggregate\\"; -export { ExampleMinAggregate } from \\"./ExampleMinAggregate\\"; -export { ExampleSumAggregate } from \\"./ExampleSumAggregate\\"; +"export { AffectedRowsOutput } from \\"./AffectedRowsOutput.js\\"; +export { AggregateExample } from \\"./AggregateExample.js\\"; +export { ExampleAvgAggregate } from \\"./ExampleAvgAggregate.js\\"; +export { ExampleCountAggregate } from \\"./ExampleCountAggregate.js\\"; +export { ExampleGroupBy } from \\"./ExampleGroupBy.js\\"; +export { ExampleMaxAggregate } from \\"./ExampleMaxAggregate.js\\"; +export { ExampleMinAggregate } from \\"./ExampleMinAggregate.js\\"; +export { ExampleSumAggregate } from \\"./ExampleSumAggregate.js\\"; " `; @@ -224,12 +224,12 @@ exports[`outputs should properly generate aggregate classes for renamed model: A "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { ExampleAvgAggregate } from \\"../outputs/ExampleAvgAggregate\\"; -import { ExampleCountAggregate } from \\"../outputs/ExampleCountAggregate\\"; -import { ExampleMaxAggregate } from \\"../outputs/ExampleMaxAggregate\\"; -import { ExampleMinAggregate } from \\"../outputs/ExampleMinAggregate\\"; -import { ExampleSumAggregate } from \\"../outputs/ExampleSumAggregate\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { ExampleAvgAggregate } from \\"../outputs/ExampleAvgAggregate.js\\"; +import { ExampleCountAggregate } from \\"../outputs/ExampleCountAggregate.js\\"; +import { ExampleMaxAggregate } from \\"../outputs/ExampleMaxAggregate.js\\"; +import { ExampleMinAggregate } from \\"../outputs/ExampleMinAggregate.js\\"; +import { ExampleSumAggregate } from \\"../outputs/ExampleSumAggregate.js\\"; @TypeGraphQL.ObjectType(\\"AggregateExample\\", { isAbstract: true @@ -267,7 +267,7 @@ exports[`outputs should properly generate aggregate classes for renamed model: E "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleAvgAggregate\\", { isAbstract: true @@ -290,7 +290,7 @@ exports[`outputs should properly generate aggregate classes for renamed model: E "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleCountAggregate\\", { isAbstract: true @@ -333,7 +333,7 @@ exports[`outputs should properly generate aggregate classes for renamed model: E "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleMaxAggregate\\", { isAbstract: true @@ -371,7 +371,7 @@ exports[`outputs should properly generate aggregate classes for renamed model: E "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleMinAggregate\\", { isAbstract: true @@ -409,7 +409,7 @@ exports[`outputs should properly generate aggregate classes for renamed model: E "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"ExampleSumAggregate\\", { isAbstract: true @@ -429,14 +429,14 @@ export class ExampleSumAggregate { `; exports[`outputs should properly generate aggregate classes for renamed model: outputs index 1`] = ` -"export { AffectedRowsOutput } from \\"./AffectedRowsOutput\\"; -export { AggregateExample } from \\"./AggregateExample\\"; -export { ExampleAvgAggregate } from \\"./ExampleAvgAggregate\\"; -export { ExampleCountAggregate } from \\"./ExampleCountAggregate\\"; -export { ExampleGroupBy } from \\"./ExampleGroupBy\\"; -export { ExampleMaxAggregate } from \\"./ExampleMaxAggregate\\"; -export { ExampleMinAggregate } from \\"./ExampleMinAggregate\\"; -export { ExampleSumAggregate } from \\"./ExampleSumAggregate\\"; +"export { AffectedRowsOutput } from \\"./AffectedRowsOutput.js\\"; +export { AggregateExample } from \\"./AggregateExample.js\\"; +export { ExampleAvgAggregate } from \\"./ExampleAvgAggregate.js\\"; +export { ExampleCountAggregate } from \\"./ExampleCountAggregate.js\\"; +export { ExampleGroupBy } from \\"./ExampleGroupBy.js\\"; +export { ExampleMaxAggregate } from \\"./ExampleMaxAggregate.js\\"; +export { ExampleMinAggregate } from \\"./ExampleMinAggregate.js\\"; +export { ExampleSumAggregate } from \\"./ExampleSumAggregate.js\\"; " `; @@ -444,7 +444,7 @@ exports[`outputs should properly generate count classes for relation fields: Fir "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"FirstModelCount\\", { isAbstract: true @@ -459,22 +459,22 @@ export class FirstModelCount { `; exports[`outputs should properly generate count classes for relation fields: outputs index 1`] = ` -"export { AffectedRowsOutput } from \\"./AffectedRowsOutput\\"; -export { AggregateFirstModel } from \\"./AggregateFirstModel\\"; -export { AggregateSecondModel } from \\"./AggregateSecondModel\\"; -export { FirstModelAvgAggregate } from \\"./FirstModelAvgAggregate\\"; -export { FirstModelCount } from \\"./FirstModelCount\\"; -export { FirstModelCountAggregate } from \\"./FirstModelCountAggregate\\"; -export { FirstModelGroupBy } from \\"./FirstModelGroupBy\\"; -export { FirstModelMaxAggregate } from \\"./FirstModelMaxAggregate\\"; -export { FirstModelMinAggregate } from \\"./FirstModelMinAggregate\\"; -export { FirstModelSumAggregate } from \\"./FirstModelSumAggregate\\"; -export { SecondModelAvgAggregate } from \\"./SecondModelAvgAggregate\\"; -export { SecondModelCountAggregate } from \\"./SecondModelCountAggregate\\"; -export { SecondModelGroupBy } from \\"./SecondModelGroupBy\\"; -export { SecondModelMaxAggregate } from \\"./SecondModelMaxAggregate\\"; -export { SecondModelMinAggregate } from \\"./SecondModelMinAggregate\\"; -export { SecondModelSumAggregate } from \\"./SecondModelSumAggregate\\"; +"export { AffectedRowsOutput } from \\"./AffectedRowsOutput.js\\"; +export { AggregateFirstModel } from \\"./AggregateFirstModel.js\\"; +export { AggregateSecondModel } from \\"./AggregateSecondModel.js\\"; +export { FirstModelAvgAggregate } from \\"./FirstModelAvgAggregate.js\\"; +export { FirstModelCount } from \\"./FirstModelCount.js\\"; +export { FirstModelCountAggregate } from \\"./FirstModelCountAggregate.js\\"; +export { FirstModelGroupBy } from \\"./FirstModelGroupBy.js\\"; +export { FirstModelMaxAggregate } from \\"./FirstModelMaxAggregate.js\\"; +export { FirstModelMinAggregate } from \\"./FirstModelMinAggregate.js\\"; +export { FirstModelSumAggregate } from \\"./FirstModelSumAggregate.js\\"; +export { SecondModelAvgAggregate } from \\"./SecondModelAvgAggregate.js\\"; +export { SecondModelCountAggregate } from \\"./SecondModelCountAggregate.js\\"; +export { SecondModelGroupBy } from \\"./SecondModelGroupBy.js\\"; +export { SecondModelMaxAggregate } from \\"./SecondModelMaxAggregate.js\\"; +export { SecondModelMinAggregate } from \\"./SecondModelMinAggregate.js\\"; +export { SecondModelSumAggregate } from \\"./SecondModelSumAggregate.js\\"; " `; @@ -482,7 +482,7 @@ exports[`outputs should properly generate output type classes: AffectedRowsOutpu "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"AffectedRowsOutput\\", { isAbstract: true @@ -500,12 +500,12 @@ exports[`outputs should properly generate output type classes: AggregateSample 1 "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate\\"; -import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate\\"; -import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate\\"; -import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate\\"; -import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate.js\\"; +import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate.js\\"; +import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate.js\\"; +import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate.js\\"; +import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate.js\\"; @TypeGraphQL.ObjectType(\\"AggregateSample\\", { isAbstract: true @@ -543,7 +543,7 @@ exports[`outputs should properly generate output type classes: SampleAvgAggregat "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleAvgAggregate\\", { isAbstract: true @@ -571,7 +571,7 @@ exports[`outputs should properly generate output type classes: SampleCountAggreg "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleCountAggregate\\", { isAbstract: true @@ -619,12 +619,12 @@ exports[`outputs should properly generate output type classes: SampleGroupBy 1`] "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate\\"; -import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate\\"; -import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate\\"; -import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate\\"; -import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate.js\\"; +import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate.js\\"; +import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate.js\\"; +import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate.js\\"; +import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate.js\\"; @TypeGraphQL.ObjectType(\\"SampleGroupBy\\", { isAbstract: true @@ -692,7 +692,7 @@ exports[`outputs should properly generate output type classes: SampleMaxAggregat "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleMaxAggregate\\", { isAbstract: true @@ -730,7 +730,7 @@ exports[`outputs should properly generate output type classes: SampleMinAggregat "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleMinAggregate\\", { isAbstract: true @@ -768,7 +768,7 @@ exports[`outputs should properly generate output type classes: SampleSumAggregat "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleSumAggregate\\", { isAbstract: true @@ -793,14 +793,14 @@ export class SampleSumAggregate { `; exports[`outputs should properly generate output type classes: outputs index 1`] = ` -"export { AffectedRowsOutput } from \\"./AffectedRowsOutput\\"; -export { AggregateSample } from \\"./AggregateSample\\"; -export { SampleAvgAggregate } from \\"./SampleAvgAggregate\\"; -export { SampleCountAggregate } from \\"./SampleCountAggregate\\"; -export { SampleGroupBy } from \\"./SampleGroupBy\\"; -export { SampleMaxAggregate } from \\"./SampleMaxAggregate\\"; -export { SampleMinAggregate } from \\"./SampleMinAggregate\\"; -export { SampleSumAggregate } from \\"./SampleSumAggregate\\"; +"export { AffectedRowsOutput } from \\"./AffectedRowsOutput.js\\"; +export { AggregateSample } from \\"./AggregateSample.js\\"; +export { SampleAvgAggregate } from \\"./SampleAvgAggregate.js\\"; +export { SampleCountAggregate } from \\"./SampleCountAggregate.js\\"; +export { SampleGroupBy } from \\"./SampleGroupBy.js\\"; +export { SampleMaxAggregate } from \\"./SampleMaxAggregate.js\\"; +export { SampleMinAggregate } from \\"./SampleMinAggregate.js\\"; +export { SampleSumAggregate } from \\"./SampleSumAggregate.js\\"; " `; @@ -808,12 +808,12 @@ exports[`outputs when customPrismaImportPath option is set should properly gener "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../test/import\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate\\"; -import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate\\"; -import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate\\"; -import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate\\"; -import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate.js\\"; +import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate.js\\"; +import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate.js\\"; +import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate.js\\"; +import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate.js\\"; @TypeGraphQL.ObjectType(\\"AggregateSample\\", { isAbstract: true @@ -851,8 +851,8 @@ exports[`outputs when filteredRelationCount preview feature is enabled should pr "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { FirstModelCountSecondModelsFieldArgs } from \\"./args/FirstModelCountSecondModelsFieldArgs\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { FirstModelCountSecondModelsFieldArgs } from \\"./args/FirstModelCountSecondModelsFieldArgs.js\\"; @TypeGraphQL.ObjectType(\\"FirstModelCount\\", { isAbstract: true @@ -872,22 +872,22 @@ export class FirstModelCount { `; exports[`outputs when filteredRelationCount preview feature is enabled should properly generate count classes for relation fields with args: outputs index 1`] = ` -"export { AffectedRowsOutput } from \\"./AffectedRowsOutput\\"; -export { AggregateFirstModel } from \\"./AggregateFirstModel\\"; -export { AggregateSecondModel } from \\"./AggregateSecondModel\\"; -export { FirstModelAvgAggregate } from \\"./FirstModelAvgAggregate\\"; -export { FirstModelCount } from \\"./FirstModelCount\\"; -export { FirstModelCountAggregate } from \\"./FirstModelCountAggregate\\"; -export { FirstModelGroupBy } from \\"./FirstModelGroupBy\\"; -export { FirstModelMaxAggregate } from \\"./FirstModelMaxAggregate\\"; -export { FirstModelMinAggregate } from \\"./FirstModelMinAggregate\\"; -export { FirstModelSumAggregate } from \\"./FirstModelSumAggregate\\"; -export { SecondModelAvgAggregate } from \\"./SecondModelAvgAggregate\\"; -export { SecondModelCountAggregate } from \\"./SecondModelCountAggregate\\"; -export { SecondModelGroupBy } from \\"./SecondModelGroupBy\\"; -export { SecondModelMaxAggregate } from \\"./SecondModelMaxAggregate\\"; -export { SecondModelMinAggregate } from \\"./SecondModelMinAggregate\\"; -export { SecondModelSumAggregate } from \\"./SecondModelSumAggregate\\"; +"export { AffectedRowsOutput } from \\"./AffectedRowsOutput.js\\"; +export { AggregateFirstModel } from \\"./AggregateFirstModel.js\\"; +export { AggregateSecondModel } from \\"./AggregateSecondModel.js\\"; +export { FirstModelAvgAggregate } from \\"./FirstModelAvgAggregate.js\\"; +export { FirstModelCount } from \\"./FirstModelCount.js\\"; +export { FirstModelCountAggregate } from \\"./FirstModelCountAggregate.js\\"; +export { FirstModelGroupBy } from \\"./FirstModelGroupBy.js\\"; +export { FirstModelMaxAggregate } from \\"./FirstModelMaxAggregate.js\\"; +export { FirstModelMinAggregate } from \\"./FirstModelMinAggregate.js\\"; +export { FirstModelSumAggregate } from \\"./FirstModelSumAggregate.js\\"; +export { SecondModelAvgAggregate } from \\"./SecondModelAvgAggregate.js\\"; +export { SecondModelCountAggregate } from \\"./SecondModelCountAggregate.js\\"; +export { SecondModelGroupBy } from \\"./SecondModelGroupBy.js\\"; +export { SecondModelMaxAggregate } from \\"./SecondModelMaxAggregate.js\\"; +export { SecondModelMinAggregate } from \\"./SecondModelMinAggregate.js\\"; +export { SecondModelSumAggregate } from \\"./SecondModelSumAggregate.js\\"; export * from \\"./args\\"; " `; @@ -896,7 +896,7 @@ exports[`outputs when simpleResolvers option is enabled should properly generate "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"AffectedRowsOutput\\", { isAbstract: true, @@ -915,12 +915,12 @@ exports[`outputs when simpleResolvers option is enabled should properly generate "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; -import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate\\"; -import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate\\"; -import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate\\"; -import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate\\"; -import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; +import { SampleAvgAggregate } from \\"../outputs/SampleAvgAggregate.js\\"; +import { SampleCountAggregate } from \\"../outputs/SampleCountAggregate.js\\"; +import { SampleMaxAggregate } from \\"../outputs/SampleMaxAggregate.js\\"; +import { SampleMinAggregate } from \\"../outputs/SampleMinAggregate.js\\"; +import { SampleSumAggregate } from \\"../outputs/SampleSumAggregate.js\\"; @TypeGraphQL.ObjectType(\\"AggregateSample\\", { isAbstract: true, @@ -959,7 +959,7 @@ exports[`outputs when simpleResolvers option is enabled should properly generate "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; import { Prisma } from \\"../../../../helpers/prisma-client-mock\\"; -import { DecimalJSScalar } from \\"../../scalars\\"; +import { DecimalJSScalar } from \\"../../scalars.js\\"; @TypeGraphQL.ObjectType(\\"SampleAvgAggregate\\", { isAbstract: true, diff --git a/tests/regression/__snapshots__/relations.ts.snap b/tests/regression/__snapshots__/relations.ts.snap index fd3ea32a7..31c8baed5 100644 --- a/tests/regression/__snapshots__/relations.ts.snap +++ b/tests/regression/__snapshots__/relations.ts.snap @@ -3,10 +3,10 @@ exports[`relations resolvers generation should not emit relation resolver when relation field is ignored: UserRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Point } from \\"../../../models/Point\\"; -import { User } from \\"../../../models/User\\"; -import { UserPointsArgs } from \\"./args/UserPointsArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Point } from \\"../../../models/Point.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserPointsArgs } from \\"./args/UserPointsArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver { @@ -29,35 +29,35 @@ export class UserRelationsResolver { `; exports[`relations resolvers generation should not emit relation resolver when relation field is ignored: argsIndex 1`] = ` -"export * from \\"./User/args\\"; +"export * from \\"./User/args/index.js\\"; " `; exports[`relations resolvers generation should not emit relation resolver when relation field is ignored: index 1`] = ` -"export * from \\"./resolvers.index\\"; -export * from \\"./args.index\\"; +"export * from \\"./resolvers.index.js\\"; +export * from \\"./args.index.js\\"; " `; exports[`relations resolvers generation should not emit relation resolver when relation field is ignored: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as relationResolversImport from \\"./resolvers/relations/resolvers.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as relationResolversImport from \\"./resolvers/relations/resolvers.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/relations\\"; +export * from \\"./resolvers/relations/index.js\\"; -export const relationResolvers = Object.values(relationResolversImport) as unknown as NonEmptyArray; +export const relationResolvers: NonEmptyArray = Object.values(relationResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -67,18 +67,18 @@ export const resolvers = [ `; exports[`relations resolvers generation should not emit relation resolver when relation field is ignored: resolversIndex 1`] = ` -"export { PointRelationsResolver } from \\"./Point/PointRelationsResolver\\"; -export { UserRelationsResolver } from \\"./User/UserRelationsResolver\\"; +"export { PointRelationsResolver } from \\"./Point/PointRelationsResolver.js\\"; +export { UserRelationsResolver } from \\"./User/UserRelationsResolver.js\\"; " `; exports[`relations resolvers generation should properly generate args classes for sorting by relation fields: FirstModelSecondModelsFieldArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput\\"; -import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput\\"; -import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput\\"; -import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum\\"; +import { SecondModelOrderByWithRelationInput } from \\"../../../inputs/SecondModelOrderByWithRelationInput.js\\"; +import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput.js\\"; +import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput.js\\"; +import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FirstModelSecondModelsFieldArgs { @@ -116,17 +116,17 @@ export class FirstModelSecondModelsFieldArgs { `; exports[`relations resolvers generation should properly generate args classes for sorting by relation fields: index 1`] = ` -"export { FirstModelSecondModelsFieldArgs } from \\"./FirstModelSecondModelsFieldArgs\\"; +"export { FirstModelSecondModelsFieldArgs } from \\"./FirstModelSecondModelsFieldArgs.js\\"; " `; exports[`relations resolvers generation should properly generate composite keys where phrase in resolver: UsersOnProjectsRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Project } from \\"../../../models/Project\\"; -import { User } from \\"../../../models/User\\"; -import { UsersOnProjects } from \\"../../../models/UsersOnProjects\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Project } from \\"../../../models/Project.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UsersOnProjects } from \\"../../../models/UsersOnProjects.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => UsersOnProjects) export class UsersOnProjectsRelationsResolver { @@ -168,29 +168,29 @@ export class UsersOnProjectsRelationsResolver { `; exports[`relations resolvers generation should properly generate index files for 1-1 relation resolvers: index 1`] = ` -"export * from \\"./resolvers.index\\"; +"export * from \\"./resolvers.index.js\\"; " `; exports[`relations resolvers generation should properly generate index files for 1-1 relation resolvers: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as relationResolversImport from \\"./resolvers/relations/resolvers.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as relationResolversImport from \\"./resolvers/relations/resolvers.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/relations\\"; +export * from \\"./resolvers/relations/index.js\\"; -export const relationResolvers = Object.values(relationResolversImport) as unknown as NonEmptyArray; +export const relationResolvers: NonEmptyArray = Object.values(relationResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -200,41 +200,41 @@ export const resolvers = [ `; exports[`relations resolvers generation should properly generate index files for 1-1 relation resolvers: resolversIndex 1`] = ` -"export { AdminUserRelationsResolver } from \\"./AdminUser/AdminUserRelationsResolver\\"; -export { UserRelationsResolver } from \\"./User/UserRelationsResolver\\"; +"export { AdminUserRelationsResolver } from \\"./AdminUser/AdminUserRelationsResolver.js\\"; +export { UserRelationsResolver } from \\"./User/UserRelationsResolver.js\\"; " `; exports[`relations resolvers generation should properly generate index files for 1-many relation resolvers: argsIndex 1`] = ` -"export * from \\"./User/args\\"; +"export * from \\"./User/args/index.js\\"; " `; exports[`relations resolvers generation should properly generate index files for 1-many relation resolvers: index 1`] = ` -"export * from \\"./resolvers.index\\"; -export * from \\"./args.index\\"; +"export * from \\"./resolvers.index.js\\"; +export * from \\"./args.index.js\\"; " `; exports[`relations resolvers generation should properly generate index files for 1-many relation resolvers: mainIndex 1`] = ` -"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index\\"; -import * as relationResolversImport from \\"./resolvers/relations/resolvers.index\\"; +"import * as crudResolversImport from \\"./resolvers/crud/resolvers-crud.index.js\\"; +import * as relationResolversImport from \\"./resolvers/relations/resolvers.index.js\\"; import { NonEmptyArray } from \\"type-graphql\\"; -export * from \\"./enums\\"; -export * from \\"./models\\"; -export * from \\"./resolvers/crud\\"; +export * from \\"./enums/index.js\\"; +export * from \\"./models/index.js\\"; +export * from \\"./resolvers/crud/index.js\\"; -export const crudResolvers = Object.values(crudResolversImport) as unknown as NonEmptyArray; +export const crudResolvers: NonEmptyArray = Object.values(crudResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/relations\\"; +export * from \\"./resolvers/relations/index.js\\"; -export const relationResolvers = Object.values(relationResolversImport) as unknown as NonEmptyArray; +export const relationResolvers: NonEmptyArray = Object.values(relationResolversImport) as unknown as NonEmptyArray; -export * from \\"./resolvers/inputs\\"; -export * from \\"./resolvers/outputs\\"; -export * from \\"./enhance\\"; -export * from \\"./scalars\\"; +export * from \\"./resolvers/inputs/index.js\\"; +export * from \\"./resolvers/outputs/index.js\\"; +export * from \\"./enhance.js\\"; +export * from \\"./scalars.js\\"; export const resolvers = [ ...crudResolvers, @@ -244,17 +244,17 @@ export const resolvers = [ `; exports[`relations resolvers generation should properly generate index files for 1-many relation resolvers: resolversIndex 1`] = ` -"export { AddressRelationsResolver } from \\"./Address/AddressRelationsResolver\\"; -export { UserRelationsResolver } from \\"./User/UserRelationsResolver\\"; +"export { AddressRelationsResolver } from \\"./Address/AddressRelationsResolver.js\\"; +export { UserRelationsResolver } from \\"./User/UserRelationsResolver.js\\"; " `; exports[`relations resolvers generation should properly generate relation resolver class for model with multi id keys with relation: MovieRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Director } from \\"../../../models/Director\\"; -import { Movie } from \\"../../../models/Movie\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Director } from \\"../../../models/Director.js\\"; +import { Movie } from \\"../../../models/Movie.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Movie) export class MovieRelationsResolver { @@ -282,9 +282,9 @@ export class MovieRelationsResolver { exports[`relations resolvers generation should properly generate relation resolver class for model with named compound id with relation: MovieRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Director } from \\"../../../models/Director\\"; -import { Movie } from \\"../../../models/Movie\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Director } from \\"../../../models/Director.js\\"; +import { Movie } from \\"../../../models/Movie.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Movie) export class MovieRelationsResolver { @@ -312,9 +312,9 @@ export class MovieRelationsResolver { exports[`relations resolvers generation should properly generate relation resolver class for model with named compound unique with relation: MovieRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Director } from \\"../../../models/Director\\"; -import { Movie } from \\"../../../models/Movie\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Director } from \\"../../../models/Director.js\\"; +import { Movie } from \\"../../../models/Movie.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Movie) export class MovieRelationsResolver { @@ -342,10 +342,10 @@ export class MovieRelationsResolver { exports[`relations resolvers generation should properly generate relation resolver class for model with unique fields: DirectorRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Director } from \\"../../../models/Director\\"; -import { Movie } from \\"../../../models/Movie\\"; -import { DirectorMoviesArgs } from \\"./args/DirectorMoviesArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Director } from \\"../../../models/Director.js\\"; +import { Movie } from \\"../../../models/Movie.js\\"; +import { DirectorMoviesArgs } from \\"./args/DirectorMoviesArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Director) export class DirectorRelationsResolver { @@ -373,9 +373,9 @@ export class DirectorRelationsResolver { exports[`relations resolvers generation should properly generate relation resolvers classes for models with omitted relation field: PostRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Post) export class PostRelationsResolver { @@ -399,10 +399,10 @@ export class PostRelationsResolver { exports[`relations resolvers generation should properly generate relation resolvers classes for models with omitted relation field: UserRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { UserPostsArgs } from \\"./args/UserPostsArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserPostsArgs } from \\"./args/UserPostsArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver { @@ -427,9 +427,9 @@ export class UserRelationsResolver { exports[`relations resolvers generation should properly generate relation resolvers classes for models with renamed relation fields: PostRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Post) export class PostRelationsResolver { @@ -454,10 +454,10 @@ export class PostRelationsResolver { exports[`relations resolvers generation should properly generate relation resolvers classes for models with renamed relation fields: UserRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { UserPostsArgs } from \\"./args/UserPostsArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserPostsArgs } from \\"./args/UserPostsArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver { @@ -482,10 +482,10 @@ export class UserRelationsResolver { exports[`relations resolvers generation should properly generate resolver and args class for array relation resolvers: UserPostsArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { PostOrderByWithRelationInput } from \\"../../../inputs/PostOrderByWithRelationInput\\"; -import { PostWhereInput } from \\"../../../inputs/PostWhereInput\\"; -import { PostWhereUniqueInput } from \\"../../../inputs/PostWhereUniqueInput\\"; -import { PostScalarFieldEnum } from \\"../../../../enums/PostScalarFieldEnum\\"; +import { PostOrderByWithRelationInput } from \\"../../../inputs/PostOrderByWithRelationInput.js\\"; +import { PostWhereInput } from \\"../../../inputs/PostWhereInput.js\\"; +import { PostWhereUniqueInput } from \\"../../../inputs/PostWhereUniqueInput.js\\"; +import { PostScalarFieldEnum } from \\"../../../../enums/PostScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class UserPostsArgs { @@ -525,10 +525,10 @@ export class UserPostsArgs { exports[`relations resolvers generation should properly generate resolver and args class for array relation resolvers: UserRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { UserPostsArgs } from \\"./args/UserPostsArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserPostsArgs } from \\"./args/UserPostsArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver { @@ -553,9 +553,9 @@ export class UserRelationsResolver { exports[`relations resolvers generation should properly generate resolver class for single relation resolvers: UserRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Address } from \\"../../../models/Address\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Address } from \\"../../../models/Address.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver { @@ -579,9 +579,9 @@ export class UserRelationsResolver { exports[`relations resolvers generation should properly generate resolvers classes for prisma models with cyclic relations: Post 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => Post) export class PostRelationsResolver { @@ -606,10 +606,10 @@ export class PostRelationsResolver { exports[`relations resolvers generation should properly generate resolvers classes for prisma models with cyclic relations: User 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { UserPostsArgs } from \\"./args/UserPostsArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserPostsArgs } from \\"./args/UserPostsArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver { @@ -634,10 +634,10 @@ export class UserRelationsResolver { exports[`relations resolvers generation when \`fullTextSearch\` preview feature is enabled should properly generate args type classes using SearchRelevanceInput: FirstModelSecondModelsFieldArgs 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import * as GraphQLScalars from \\"graphql-scalars\\"; -import { SecondModelOrderByWithRelationAndSearchRelevanceInput } from \\"../../../inputs/SecondModelOrderByWithRelationAndSearchRelevanceInput\\"; -import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput\\"; -import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput\\"; -import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum\\"; +import { SecondModelOrderByWithRelationAndSearchRelevanceInput } from \\"../../../inputs/SecondModelOrderByWithRelationAndSearchRelevanceInput.js\\"; +import { SecondModelWhereInput } from \\"../../../inputs/SecondModelWhereInput.js\\"; +import { SecondModelWhereUniqueInput } from \\"../../../inputs/SecondModelWhereUniqueInput.js\\"; +import { SecondModelScalarFieldEnum } from \\"../../../../enums/SecondModelScalarFieldEnum.js\\"; @TypeGraphQL.ArgsType() export class FirstModelSecondModelsFieldArgs { @@ -677,10 +677,10 @@ export class FirstModelSecondModelsFieldArgs { exports[`relations resolvers generation when emitRedundantTypesInfo is set to true should properly generate type info for @Args decorator: UserRelationsResolver 1`] = ` "import * as TypeGraphQL from \\"type-graphql\\"; import type { GraphQLResolveInfo } from \\"graphql\\"; -import { Post } from \\"../../../models/Post\\"; -import { User } from \\"../../../models/User\\"; -import { UserPostsArgs } from \\"./args/UserPostsArgs\\"; -import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers\\"; +import { Post } from \\"../../../models/Post.js\\"; +import { User } from \\"../../../models/User.js\\"; +import { UserPostsArgs } from \\"./args/UserPostsArgs.js\\"; +import { transformInfoIntoPrismaArgs, getPrismaFromContext, transformCountFieldIntoSelectRelationsCount } from \\"../../../helpers.js\\"; @TypeGraphQL.Resolver(_of => User) export class UserRelationsResolver {