add approve or reject mentor
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
|
||||
import { AppConfigSchema } from './appconfig.schema';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
imports: [AppConfigSchema],
|
||||
providers: [AppConfigSchema],
|
||||
exports: [AppConfigSchema],
|
||||
})
|
||||
export class AppConfigModule {}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { PothosSchema, SchemaBuilderToken } from '@smatch-corp/nestjs-pothos';
|
||||
import { Builder } from 'src/Graphql/graphql.builder';
|
||||
|
||||
@Injectable()
|
||||
export class AppConfigSchema extends PothosSchema {
|
||||
constructor(@Inject(SchemaBuilderToken) private readonly builder: Builder) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user