Visitenbuch/tests/helpers/testdata.ts

73 lines
1.4 KiB
TypeScript

import type { Category, Station, Room } from "$lib/shared/model";
export const S1: Station = { id: 1, name: "S1" };
export const S2: Station = { id: 2, name: "S2" };
export const S3: Station = { id: 3, name: "S3_tmp" };
export const STATIONS: Station[] = [S1, S2, S3];
export const ROOMS: Room[] = [
{
id: 1,
name: "R1.1",
station: S1,
},
{
id: 2,
name: "R1.2",
station: S1,
},
{
id: 3,
name: "R2.1",
station: S2,
},
{
id: 4,
name: "Rtmp",
station: S2,
},
];
export const CATEGORIES: Category[] = [
{
id: 1,
name: "Laborabnahme",
description: "Blutabnahme zur Untersuchung im Labor",
color: "#FF0000",
},
{
id: 2,
name: "Untersuchungen",
description: "Durchführung von Untersuchungen",
color: "#00AA00",
},
{
id: 3,
name: "Medikationsumstellung",
description: null,
color: "#FF00FF",
},
{
id: 4,
name: "Klinische Visite",
description: null,
color: "#00FFFF",
},
{
id: 5,
name: "Entlassung",
description: "Entlassung eines Patienten aus dem KH",
color: "#55AAFF",
},
{
id: 6,
name: "Sonstiges",
description: null,
color: "#444444",
},
];
export const U1 = { id: 1, name: "Sven Schulz", email: "sven.schulz@example.com" };
export const U2 = { id: 2, name: "Sabrina Loewe", email: "sabrina.loewe@example.com" };
export const USERS = [U1, U2];