2024-10-01 13:08:44 +02:00
|
|
|
const model = {
|
|
|
|
app: {
|
|
|
|
pages: ["home", "rules", "list"],
|
|
|
|
page: "home",
|
|
|
|
},
|
|
|
|
input: {
|
|
|
|
rules: {
|
|
|
|
numWinners: 1,
|
|
|
|
listEmployees: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// Felles data
|
|
|
|
employees: [
|
2024-10-02 10:13:18 +02:00
|
|
|
{ id: 0, name: "Per" },
|
|
|
|
{ id: 1, name: "Pål" },
|
|
|
|
{ id: 2, name: "Espen" },
|
|
|
|
{ id: 3, name: "Anita" },
|
|
|
|
{ id: 4, name: "Kari" },
|
|
|
|
{ id: 5, name: "Gry" },
|
|
|
|
{ id: 6, name: "Ole" },
|
|
|
|
{ id: 7, name: "Hans" },
|
|
|
|
{ id: 8, name: "Anna" },
|
|
|
|
{ id: 9, name: "Anne" },
|
2024-10-01 13:08:44 +02:00
|
|
|
],
|
|
|
|
}
|