mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
feat(feature-flags): fixes #1592, introduces new flags DISABLE_SIGNUPS and DISABLE_EMAIL_AUTH, renamed STORAGE_SKIP_BUCKET_CHECK
This commit is contained in:
9
libs/dto/src/feature/index.ts
Normal file
9
libs/dto/src/feature/index.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { createZodDto } from "nestjs-zod/dto";
|
||||
import { z } from "nestjs-zod/z";
|
||||
|
||||
export const featureSchema = z.object({
|
||||
isSignupsDisabled: z.boolean().default(false),
|
||||
isEmailAuthDisabled: z.boolean().default(false),
|
||||
});
|
||||
|
||||
export class FeatureDto extends createZodDto(featureSchema) {}
|
||||
@ -1,5 +1,7 @@
|
||||
// @index('./*', f => `export * from "${f.path}";`)
|
||||
export * from "./auth";
|
||||
export * from "./contributors";
|
||||
export * from "./feature";
|
||||
export * from "./resume";
|
||||
export * from "./secrets";
|
||||
export * from "./statistics";
|
||||
|
||||
Reference in New Issue
Block a user