import { Type } from '@openmrs/esm-framework';

export const configSchema = {
  enabled: {
    _type: Type.Boolean,
    _default: true,
    _description: 'Whether AI Analysis is enabled',
  },
  apiUrl: {
    _type: Type.String,
    _default: 'http://127.0.0.1:8000',
    _description: 'Base URL for the AI Analysis API',
  },
  username: {
    _type: Type.String,
    _default: 'admin',
    _description: 'Username for API authentication',
  },
  password: {
    _type: Type.String,
    _default: 'Admin123',
    _description: 'Password for API authentication',
  },
};

export interface ConfigObject {
  enabled: boolean;
  apiUrl: string;
  username: string;
  password: string;
} 