File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ import { Entity, Type } from '@graphprotocol/hypergraph';
22
33export class User extends Entity . Class < User > ( 'User' ) ( {
44 name : Type . String ,
5- created : Type . Date
5+ created : Type . Date ,
66} ) { }
77
88export class Todo extends Entity . Class < Todo > ( 'Todo' ) ( {
99 name : Type . String ,
1010 completed : Type . Boolean ,
11- assignees : Type . Relation ( User )
11+ assignees : Type . Relation ( User ) ,
1212} ) { }
1313
1414export class Todo2 extends Entity . Class < Todo2 > ( 'Todo2' ) ( {
@@ -18,22 +18,22 @@ export class Todo2 extends Entity.Class<Todo2>('Todo2')({
1818 due : Type . Date ,
1919 amount : Type . Number ,
2020 point : Type . Point ,
21- website : Type . String
21+ website : Type . String ,
2222} ) { }
2323
2424export class JobOffer extends Entity . Class < JobOffer > ( 'JobOffer' ) ( {
2525 name : Type . String ,
26- salary : Type . Number
26+ salary : Type . Number ,
2727} ) { }
2828
2929export class Company extends Entity . Class < Company > ( 'Company' ) ( {
3030 name : Type . String ,
31- jobOffers : Type . Relation ( JobOffer )
31+ jobOffers : Type . Relation ( JobOffer ) ,
3232} ) { }
3333
3434export class Event extends Entity . Class < Event > ( 'Event' ) ( {
3535 name : Type . String ,
3636 description : Type . optional ( Type . String ) ,
3737 sponsors : Type . Relation ( Company ) ,
38- createdAt : Type . Date
39- } ) { }
38+ createdAt : Type . Date ,
39+ } ) { }
You can’t perform that action at this time.
0 commit comments