fixed webshare

This commit is contained in:
Boki 2025-06-20 00:04:38 -04:00
parent 9413d6588d
commit b501d7a2da
5 changed files with 67 additions and 5 deletions

View file

@ -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>;