import { ElementType } from './editors.interface' type Organization = string export type TranslationBase = { attribute: Record attribute_value: Record group_header: { [title: string]: string } element: { [type: ElementType]: string } } export type OrganizationTranslations = TranslationBase & { typeOverrides: Record< ElementType, Omit & { name: string } > // These are not in TranslationBase in order to promote putting them in the organization object navigation: { [title: string]: string } tabs: { [title: string]: string } buttons: { [title: string]: string } } export type TranslationData = TranslationBase & { gis_layer: { [layer: string]: string } organization?: Record } export interface LanguageResponse { [key: string]: { code: string name: string locale: string } }