Skip to content

Commit

Permalink
chore: add data
Browse files Browse the repository at this point in the history
  • Loading branch information
ematala committed Apr 27, 2023
1 parent 10e49ea commit 6291b30
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 1 deletion.
73 changes: 73 additions & 0 deletions src/data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
import type { Duty, Mapping, Roomie, Trash } from "./types";

export const roomies: Array<Roomie> = [];

export const duties: Array<Duty> = [
{
id: 0,
title: "Badezimmer",
description: "Badezimmer putzen",
},
{
id: 1,
title: "Küche",
description: "Küche putzen",
},
{
id: 2,
title: "Wohnzimmer",
description: "Wohnzimmer aufräumen",
},
{
id: 3,
title: "Müll",
description: "Müll rausbringen",
},
];

export const mapping: Array<Mapping> = [];

export const trash: Trash = {
"2023-05-04": [1, 2],
"2023-05-10": [0, 2, 3],
"2023-05-11": [4],
"2023-05-17": [1, 2],
"2023-05-24": [0, 2, 3],
"2023-06-01": [1, 2],
"2023-06-07": [0, 2, 3],
"2023-06-14": [1, 2],
"2023-06-21": [0, 2, 3],
"2023-06-28": [1, 2],
"2023-07-05": [0, 2, 3],
"2023-07-12": [1, 2],
"2023-07-13": [4],
"2023-07-19": [0, 2, 3],
"2023-07-26": [1, 2],
"2023-08-02": [0, 2, 3],
"2023-08-09": [1, 2],
"2023-08-10": [4],
"2023-08-16": [0, 2, 3],
"2023-08-23": [1, 2],
"2023-08-30": [0, 2, 3],
"2023-09-06": [1, 2],
"2023-09-13": [0, 2, 3],
"2023-09-14": [4],
"2023-09-20": [1, 2],
"2023-09-27": [0, 2, 3],
"2023-10-05": [1, 2],
"2023-10-11": [0, 2, 3],
"2023-10-12": [4],
"2023-10-18": [1, 2],
"2023-10-25": [0, 2, 3],
"2023-11-02": [1, 2],
"2023-11-08": [0, 2, 3],
"2023-11-09": [4],
"2023-11-15": [1, 2],
"2023-11-22": [0, 2, 3],
"2023-11-29": [1, 2],
"2023-12-06": [0, 2, 3],
"2023-12-13": [1, 2],
"2023-12-14": [4],
"2023-12-20": [0, 2, 3],
"2023-12-28": [1, 2],
};
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface Roomie {

export interface Duty {
id: number;
name: string;
title: string;
description: string;
}

Expand Down

0 comments on commit 6291b30

Please sign in to comment.