Сделала колонку, добавила данные в server.js

This commit is contained in:
Daria Golova
2022-10-20 14:09:30 +03:00
parent 96b071294d
commit f210053d9d
5 changed files with 129 additions and 3 deletions

View File

@@ -35,6 +35,46 @@ export function clientsServer() {
},
],
}));
this.get("/registry/event/", () => ({
count: 1,
next: null,
previous: null,
results: [
{
id: "6faa6bb6-1de6-422c-a401-1b35cd455303",
start: "2022-10-20T20:23:49Z",
end: "2022-10-20T21:23:53Z",
kind: "call",
subkind: null,
description: "",
location: null,
members: [
{
id: "b0509f9a-e824-4bb3-a260-2b32dae9bc81",
person: {
id: "14ff401c-2b7b-4d9a-9159-720c74d8b23c",
last_name: "Гагарин",
first_name: "Юрий",
patronymic: "Алексеевич",
},
role: null,
},
],
employees: [
{
id: "f941a0c6-c750-4f79-92c0-d7a19354e422",
employee: {
id: "db831a14-e836-481f-a653-6325de7c311e",
last_name: "Жмыхов",
first_name: "Егор",
patronymic: "Сергеевич",
},
role: "owner",
},
],
},
],
}));
this.passthrough("http://45.84.227.122:8080/**");
},
});