fixed webshare
This commit is contained in:
parent
9413d6588d
commit
b501d7a2da
5 changed files with 67 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ import { z } from 'zod';
|
|||
import { baseConfigSchema, environmentSchema } from './base.schema';
|
||||
import { databaseConfigSchema } from './database.schema';
|
||||
import { serviceConfigSchema, loggingConfigSchema, queueConfigSchema, httpConfigSchema } from './service.schema';
|
||||
import { providerConfigSchema } from './provider.schema';
|
||||
import { providerConfigSchema, webshareProviderConfigSchema } from './provider.schema';
|
||||
|
||||
// Complete application configuration schema
|
||||
export const appConfigSchema = baseConfigSchema.extend({
|
||||
|
|
@ -18,6 +18,7 @@ export const appConfigSchema = baseConfigSchema.extend({
|
|||
queue: queueConfigSchema.optional(),
|
||||
http: httpConfigSchema.optional(),
|
||||
providers: providerConfigSchema.optional(),
|
||||
webshare: webshareProviderConfigSchema.optional(),
|
||||
});
|
||||
|
||||
export type AppConfig = z.infer<typeof appConfigSchema>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue