Ref: file paths

This commit is contained in:
M1000fr 2024-11-28 14:28:41 +01:00
parent 1bc25f6eaa
commit 782698788b
6 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import { MercuriusDriver, MercuriusDriverConfig } from "@nestjs/mercurius";
import { AppService } from "./app.service"; import { AppService } from "./app.service";
import { UserModule } from "./user/user.module"; import { UserModule } from "./user/user.module";
import { GraphqlOptions } from "./graphqlOptions"; import { GraphqlOptions } from "./graphql/graphqlOptions";
@Module({ @Module({
imports: [ imports: [

View File

@ -9,7 +9,7 @@ export class GraphqlOptions implements GqlOptionsFactory {
createGqlOptions(): Promise<MercuriusDriverConfig> | MercuriusDriverConfig { createGqlOptions(): Promise<MercuriusDriverConfig> | MercuriusDriverConfig {
return { return {
autoSchemaFile: "src/schema.gql", autoSchemaFile: "src/graphql/schema.gql",
subscription: { subscription: {
context: (_connection, request) => { context: (_connection, request) => {
const authorization = request.headers.authorization; const authorization = request.headers.authorization;

View File

@ -3,7 +3,7 @@ import { Module } from "@nestjs/common";
import { UserResolver } from "./user.resolver"; import { UserResolver } from "./user.resolver";
import { UserService } from "./user.service"; import { UserService } from "./user.service";
import { PrismaService } from "src/prisma.service"; import { PrismaService } from "src/prisma/prisma.service";
@Module({ @Module({
providers: [UserResolver, UserService, PrismaService] providers: [UserResolver, UserService, PrismaService]

View File

@ -1,5 +1,5 @@
import { Injectable } from "@nestjs/common"; import { Injectable } from "@nestjs/common";
import { PrismaService } from "src/prisma.service"; import { PrismaService } from "src/prisma/prisma.service";
import { CreateUserInput } from "./dto/create-user.input"; import { CreateUserInput } from "./dto/create-user.input";
import { UpdateUserInput } from "./dto/update-user.input"; import { UpdateUserInput } from "./dto/update-user.input";
import { SetUserPasswordInput } from "./dto/setpassword-user.input"; import { SetUserPasswordInput } from "./dto/setpassword-user.input";