profile: create module structure

This commit is contained in:
arswarog committed 2026-11-16 17:30:51 +03:00
1 parent a41cb50128
commit 67542ec94c
4 files changed
+18

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ import { ApolloServerPluginLandingPageLocalDefault } from '@apollo/server/plugin
import { AppController } from './app.controller.js'; import { AppController } from './app.controller.js';
import { AppService } from './app.service.js'; import { AppService } from './app.service.js';
import { ProfileModule } from './profile/profile.module.js';
@Module({ @Module({
imports: [ imports: [
@@ -23,6 +24,7 @@ import { AppService } from './app.service.js';
playground: false, playground: false,
plugins: [ApolloServerPluginLandingPageLocalDefault()], plugins: [ApolloServerPluginLandingPageLocalDefault()],
}), }),
ProfileModule,
], ],
controllers: [AppController], controllers: [AppController],
providers: [AppService], providers: [AppService],
+8
View File
@@ -0,0 +1,8 @@
import { Module } from '@nestjs/common';
import { ProfileService } from './profile.service.js';
import { ProfileResolver } from './profile.resolver.js';
@Module({
providers: [ProfileService, ProfileResolver],
})
export class ProfileModule {}
+4
View File
@@ -0,0 +1,4 @@
import { Resolver } from '@nestjs/graphql';
@Resolver()
export class ProfileResolver {}
+4
View File
@@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class ProfileService {}