Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | 1x 1x 13x 13x 13x 13x 13x 13x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { AppointmentDTO } from "@/api/models/AppointmentDTO"; import { getAPIBaseURL } from "@/utils/Constants"; export function getAppointments( userId: string, baseUrl?: string ): Promise<AppointmentDTO[]> { console.debug(getAPIBaseURL(baseUrl) + userId); return new Promise((resolve) => setTimeout(() => resolve(DUMMYDATA), 1000)); } export function getAppointmentDetails( processId: string, baseUrl?: string ): Promise<AppointmentDTO> { console.debug(getAPIBaseURL(baseUrl) + processId); return new Promise((resolve) => { const data = DUMMYDATA.find((data) => data.processId == processId); setTimeout(() => resolve(data ? data : DUMMYDATA[0]), 1000); }); } const DUMMYDATA: AppointmentDTO[] = [ { processId: "1111", timestamp: 1753360200, authKey: "abcd", familyName: "Max Mustermann", email: "max.mustermann@testmail.com", officeId: "10489", scope: { id: "36", provider: { id: "10489", source: "source", }, shortName: "1", }, subRequestCounts: [ { id: "1063453", name: "Reisepass", count: 1, }, ], serviceId: "1063441", serviceName: "Personalausweis", serviceCount: 2, }, { processId: "2222", timestamp: 1754305200, authKey: "efgh", familyName: "Max Mustermann", email: "max.mustermann@testmail.com", officeId: "10546", scope: { id: "36", provider: { id: "10546", source: "source", }, shortName: "2", }, subRequestCounts: [], serviceId: "id_2222", serviceName: "Gewerbe anmelden", serviceCount: 1, }, ]; |