import type { Locale } from '@services' import type { LocalizedString } from './Exports' export type StatusIdentifier = 'included' | 'unavailable' | 'optional' export type OperatedByIdentifier = 'le_collectionist' | 'owner' export type Service = { id: number extraOptions: Record | null extraOptionsLabels: Record> | null name: LocalizedString } export type AdminService = Service & { identifier: string operatedBy: OperatedByIdentifier | null status: StatusIdentifier visible: boolean } export type Services = { collectionIncludedServices: Service[] houseIncludedServices: Service[] collectionOptionalServices: Service[] } export type AdminServices = { collectionIncludedServices: AdminService[] collectionOptionalUnavailableServices: AdminService[] manualServices: AdminService[] }