File tree Expand file tree Collapse file tree
packages/hypergraph/src/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,19 +5,22 @@ Config.setApiOrigin('https://testnet-api.geobrowser.io');
55
66const BOUNTY_TYPE_ID = Id ( '327976dea5ad45769b83b7e7ec6337cf' ) ;
77const REWARD_PROPERTY_ID = Id ( 'e8e7301136354e84b46b767e7cd530a8' ) ;
8+ const ACTIVE_UNTIL_PROPERTY_ID = Id ( '3e4679aaeaf94bddaad825dd5d96234c' ) ;
89
910const Bounty = Entity . Schema (
1011 {
1112 name : Type . String ,
1213 description : Type . String ,
1314 reward : Type . Number ,
15+ activeUntil : Type . Date ,
1416 } ,
1517 {
1618 types : [ BOUNTY_TYPE_ID ] ,
1719 properties : {
1820 name : SystemIds . NAME_PROPERTY ,
1921 description : SystemIds . DESCRIPTION_PROPERTY ,
2022 reward : REWARD_PROPERTY_ID ,
23+ activeUntil : ACTIVE_UNTIL_PROPERTY_ID ,
2124 } ,
2225 } ,
2326) ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export const convertPropertyValue = (
4747 return property . time ;
4848 }
4949 if ( property . string != null ) {
50- return property . time ;
50+ return property . string ;
5151 }
5252 return undefined ;
5353 }
You can’t perform that action at this time.
0 commit comments