Skip to content

Commit

Permalink
refactor(config): make deprecated config attributes optional (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
opichon committed Dec 3, 2022
1 parent 94192bf commit a56a50e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/config/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export interface ApiConfig {
appName: string;
appOrigin: string[];
baseUrl: string;
db: {
db?: {
acquireConnectionTimeout: number;
databaseName: string;
debug: boolean;
Expand All @@ -12,14 +12,14 @@ export interface ApiConfig {
username: string;
};
env: string;
graphql: {
graphql?: {
enabled: boolean;
path: string;
};
graphiql: {
graphiql?: {
enabled: boolean;
};
logger?: {
logger: {
level: string;
transport?: {
target: string;
Expand All @@ -40,7 +40,7 @@ export interface ApiConfig {
rest: {
enabled: boolean;
};
supertokens: {
supertokens?: {
connectionUri: string;
providers?: {
google: {
Expand Down

0 comments on commit a56a50e

Please sign in to comment.