removed deprecated code
This commit is contained in:
parent
34c6c36695
commit
ca5f09c459
10 changed files with 18 additions and 377 deletions
|
|
@ -16,14 +16,3 @@ export type { BaseAppConfig } from './base-app.schema';
|
|||
export { unifiedAppSchema, toUnifiedConfig, getStandardServiceName } from './unified-app.schema';
|
||||
export type { UnifiedAppConfig } from './unified-app.schema';
|
||||
|
||||
// Keep AppConfig for backward compatibility (deprecated)
|
||||
// @deprecated Use baseAppSchema and extend it for your specific app
|
||||
import { z } from 'zod';
|
||||
import { baseAppSchema } from './base-app.schema';
|
||||
import { providerConfigSchema } from './provider.schema';
|
||||
|
||||
export const appConfigSchema = baseAppSchema.extend({
|
||||
providers: providerConfigSchema.optional(),
|
||||
});
|
||||
|
||||
export type AppConfig = z.infer<typeof appConfigSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue