SettingsService.ts 613 B

1234567891011121314151617181920212223
  1. import type { OrganizationAllowList, OrganizationSettings } from "@roo-code/types"
  2. /**
  3. * Interface for settings services that provide organization settings
  4. */
  5. export interface SettingsService {
  6. /**
  7. * Get the organization allow list
  8. * @returns The organization allow list or default if none available
  9. */
  10. getAllowList(): OrganizationAllowList
  11. /**
  12. * Get the current organization settings
  13. * @returns The organization settings or undefined if none available
  14. */
  15. getSettings(): OrganizationSettings | undefined
  16. /**
  17. * Dispose of the settings service and clean up resources
  18. */
  19. dispose(): void
  20. }