provider.interface.d.ts 840 B

123456789101112131415161718192021222324252627282930313233
  1. import { CredentialsKeyEnum, ProvidersIdEnum } from './provider.enum';
  2. import { ChannelTypeEnum } from '../../types';
  3. export interface IProviderConfig {
  4. id: ProvidersIdEnum;
  5. displayName: string;
  6. channel: ChannelTypeEnum;
  7. credentials: IConfigCredentials[];
  8. logoFileName: ILogoFileName;
  9. docReference: string;
  10. comingSoon?: boolean;
  11. betaVersion?: boolean;
  12. }
  13. export interface IConfigCredentials {
  14. key: CredentialsKeyEnum;
  15. value?: unknown;
  16. displayName: string;
  17. description?: string;
  18. type: string;
  19. required: boolean;
  20. tooltip?: {
  21. text: string;
  22. when?: boolean;
  23. };
  24. dropdown?: Array<{
  25. name: string;
  26. value: string | null;
  27. }>;
  28. }
  29. export interface ILogoFileName {
  30. light: string;
  31. dark: string;
  32. }
  33. //# sourceMappingURL=provider.interface.d.ts.map