feat(web): add reusable admin form dialog
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import type {
|
||||
BaseModelCatalogItem,
|
||||
CatalogProvider,
|
||||
GatewayApiKey,
|
||||
GatewayTask,
|
||||
GatewayTenant,
|
||||
GatewayUser,
|
||||
IntegrationPlatform,
|
||||
PlatformModel,
|
||||
PricingRule,
|
||||
PricingRuleSet,
|
||||
RateLimitWindow,
|
||||
UserGroup,
|
||||
} from '@easyai-ai-gateway/contracts';
|
||||
|
||||
export interface ConsoleData {
|
||||
apiKeys: GatewayApiKey[];
|
||||
baseModels: BaseModelCatalogItem[];
|
||||
models: PlatformModel[];
|
||||
platforms: IntegrationPlatform[];
|
||||
pricingRules: PricingRule[];
|
||||
pricingRuleSets: PricingRuleSet[];
|
||||
providers: CatalogProvider[];
|
||||
rateLimitWindows: RateLimitWindow[];
|
||||
taskResult: GatewayTask | null;
|
||||
tenants: GatewayTenant[];
|
||||
userGroups: UserGroup[];
|
||||
users: GatewayUser[];
|
||||
}
|
||||
|
||||
export interface StatItem {
|
||||
label: string;
|
||||
value: number | string;
|
||||
tone: 'blue' | 'green' | 'violet' | 'amber' | 'cyan' | 'rose' | 'slate';
|
||||
}
|
||||
Reference in New Issue
Block a user