@worktif/purews
Version:
Work TIF TypeScript-based AWS infrastructure toolkit featuring DynamoDB integration, AppSync support, SES functionality, and GraphQL capabilities with comprehensive audit logging and AWS Signature V4 authentication.
15 lines (14 loc) • 681 B
TypeScript
import 'reflect-metadata';
import { z } from 'zod';
import { envConfigPurewsSchema } from '@config/env.config.purews';
/**
* EnvConfigSchema is a TypeScript type that is dynamically inferred
* from the structure defined in the `envConfigSchema` object.
* It represents the validated configuration schema for environment variables.
*
* This type ensures type safety and validation within a codebase
* whenever dealing with environment configurations, where
* `envConfigSchema` is expected to define the necessary validation rules
* for the configuration fields using the Zod validation library.
*/
export type EnvConfigPurewsSchema = z.infer<typeof envConfigPurewsSchema>;