1- import type { Mapping } from '@graphprotocol/hypergraph' ;
21import { Id } from '@graphprotocol/hypergraph' ;
2+ import type { Mapping } from '@graphprotocol/hypergraph/mapping' ;
33
4- export const mapping : Mapping . Mapping = {
5- Event : {
6- typeIds : [ Id ( '7f9562d4-034d-4385-bf5c-f02cdebba47a ' ) ] ,
4+ export const mapping : Mapping = {
5+ User : {
6+ typeIds : [ Id ( 'bffa181e-a333-495b-949c-57f2831d7eca ' ) ] ,
77 properties : {
8- name : Id ( 'a126ca53-0c8e-48d5-b888-82c734c38935' ) ,
9- description : Id ( '9b1f76ff-9711-404c-861e-59dc3fa7d037' ) ,
8+ name : Id ( 'c9c79675-850a-42c5-bbbd-9e5c55d3f4e7' ) ,
9+ created : Id ( 'f8df1caf-14b4-4c1e-85fb-4e97f7d7070a' ) ,
10+ } ,
11+ } ,
12+ Todo : {
13+ typeIds : [ Id ( '44fe82a9-e4c2-4330-a395-ce85ed78e421' ) ] ,
14+ properties : {
15+ name : Id ( 'c668aa67-bbca-4b2c-908c-9c5599035eab' ) ,
16+ completed : Id ( '71e7654f-2623-4794-88fb-841c8f3dd9b4' ) ,
1017 } ,
1118 relations : {
12- sponsors : Id ( '6860bfac-f703-4289-b789-972d0aaf3abe' ) ,
19+ assignees : Id ( '5b80d3ee-2463-4246-b628-44ba808ab3e1' ) ,
20+ } ,
21+ } ,
22+ Todo2 : {
23+ typeIds : [ Id ( '210f4e94-234c-49d7-af0f-f3b74fb07650' ) ] ,
24+ properties : {
25+ name : Id ( 'e291f4da-632d-4b70-aca8-5c6c01dbf1ca' ) ,
26+ checked : Id ( 'd1cc82ef-8bde-45f4-b31c-56b6d59279ec' ) ,
27+ due : Id ( '6a28f275-b31c-47bc-83cd-ad416aaa7073' ) ,
28+ amount : Id ( '0c8219be-e284-4738-bd95-91a1c113c78e' ) ,
29+ point : Id ( '7f032477-c60e-4c85-a161-019b70db05ca' ) ,
30+ website : Id ( '75b6a647-5c2b-41e7-92c0-b0a0c9b28b02' ) ,
31+ } ,
32+ relations : {
33+ assignees : Id ( '1115e9f8-db2e-41df-8969-c5d34c367c10' ) ,
34+ } ,
35+ } ,
36+ JobOffer : {
37+ typeIds : [ Id ( 'f60585af-71b6-4674-9a26-b74ca6c1cceb' ) ] ,
38+ properties : {
39+ name : Id ( 'a126ca53-0c8e-48d5-b888-82c734c38935' ) ,
40+ salary : Id ( 'baa36ac9-78ac-4cf7-8394-6b2d3006bebe' ) ,
1341 } ,
1442 } ,
1543 Company : {
@@ -21,32 +49,24 @@ export const mapping: Mapping.Mapping = {
2149 jobOffers : Id ( '1203064e-9741-4235-89d4-97f4b22eddfb' ) ,
2250 } ,
2351 } ,
24- JobOffer : {
25- typeIds : [ Id ( 'f60585af-71b6-4674-9a26-b74ca6c1cceb ' ) ] ,
52+ Event : {
53+ typeIds : [ Id ( '7f9562d4-034d-4385-bf5c-f02cdebba47a ' ) ] ,
2654 properties : {
2755 name : Id ( 'a126ca53-0c8e-48d5-b888-82c734c38935' ) ,
28- salary : Id ( 'baa36ac9-78ac-4cf7-8394-6b2d3006bebe' ) ,
56+ description : Id ( '9b1f76ff-9711-404c-861e-59dc3fa7d037' ) ,
57+ createdAt : Id ( 'e2e6906b-d2b6-48d2-8aa2-54e8b29f6933' ) ,
58+ updatedAt : Id ( '2e877fe0-a504-4ea0-b43c-210d011db434' ) ,
59+ } ,
60+ relations : {
61+ sponsors : Id ( '6860bfac-f703-4289-b789-972d0aaf3abe' ) ,
62+ } ,
63+ } ,
64+ Todo3 : {
65+ typeIds : [ Id ( '4f7bba76-7855-4d63-b59d-1d9f2be866df' ) ] ,
66+ properties : {
67+ name : Id ( '47006386-d351-411c-8287-1dae1c1aa8c1' ) ,
68+ completed : Id ( '9f9f00eb-4f32-4f71-92ba-b266566d0013' ) ,
69+ description : Id ( '89cac80a-1dbd-4bca-97b2-45e1556d9122' ) ,
2970 } ,
3071 } ,
31-
32- // Todo2: {
33- // typeIds: [Id('LJuM8ju67mCv78FhAiK9k9')],
34- // properties: {
35- // name: Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
36- // checked: Id('Ud9kn9gAUsCr1pxvxcgDj8'),
37- // due: Id('CFisPgjjWVdnaMtSWJDBqA'),
38- // point: Id('BkcVo7JZHF5LsWw7XZJwwe'),
39- // website: Id('XZmLQ8XyaUHnNWgSSbzaHU'),
40- // amount: Id('LfzKTfgy5Qg3PxAfKB2BL7'),
41- // },
42- // relations: {
43- // assignees: Id('HCdFcTRyMyZMXScKox738i'),
44- // },
45- // },
46- // User: {
47- // typeIds: [Id('Fk5qzwdpKsD35gm5ts4SZA')],
48- // properties: {
49- // name: Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
50- // },
51- // },
5272} ;
0 commit comments