Download Reactive-Resume/apps/server/src/config/config.module.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/config/config.module.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/config/config.module.ts
-
curl -L -o config.module.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/config/config.module.ts
357 Bytes
| import { Module } from "@nestjs/common"; | |
| import { ConfigModule as NestConfigModule } from "@nestjs/config"; | |
| import { configSchema } from "./schema"; | |
| ({ | |
| imports: [ | |
| NestConfigModule.forRoot({ | |
| isGlobal: true, | |
| expandVariables: true, | |
| validate: (config) => configSchema.parse(config), | |
| }), | |
| ], | |
| }) | |
| export class ConfigModule {} | |