diff --git a/alfa-client/libs/collaboration-shared/src/lib/collaboration.model.ts b/alfa-client/libs/collaboration-shared/src/lib/collaboration.model.ts index 8f6640e0ee779637a1a7196aa377244815cd87be..ef9cfa6bd9d56e597e0ed9b2945319708b02688b 100644 --- a/alfa-client/libs/collaboration-shared/src/lib/collaboration.model.ts +++ b/alfa-client/libs/collaboration-shared/src/lib/collaboration.model.ts @@ -5,12 +5,12 @@ export interface Collaboration { titel: string; beschreibung: string; zustaendigeStelle: ResourceUri; - collaborationLevel?: typeof CollaborationLevels[keyof typeof CollaborationLevels]; + collaborationLevel?: (typeof CollaborationLevels)[keyof typeof CollaborationLevels]; } export class CollaborationLevels { - public static readonly ORGANISATIONS_EINHEIT = "1"; - public static readonly EXTERNE_FACHSTELLE = "4"; + public static readonly ORGANISATIONS_EINHEIT = 1; + public static readonly EXTERNE_FACHSTELLE = 4; } export interface CollaborationResource extends Collaboration, Resource, ListItemResource {}