Skip to content

Commit 5b8f1f6

Browse files
authored
Nik/fix date parsing (#580)
1 parent d7f578c commit 5b8f1f6

12 files changed

Lines changed: 39 additions & 10 deletions

File tree

.changeset/fix-number-property-parsing.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/green-baths-double.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@graphprotocol/hypergraph": patch
3+
"@graphprotocol/hypergraph-react": patch
4+
---
5+
6+
fix date parsing
7+

apps/connect/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# connect
22

3+
## 0.3.3
4+
### Patch Changes
5+
6+
- Updated dependencies [d7f578c]
7+
- @graphprotocol/hypergraph@0.10.3
8+
- @graphprotocol/hypergraph-react@0.10.3
9+
310
## 0.3.2
411
### Patch Changes
512

apps/connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "connect",
33
"private": true,
4-
"version": "0.3.2",
4+
"version": "0.3.3",
55
"type": "module",
66
"scripts": {
77
"dev": "vite --force",

apps/events/test-script.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,22 @@ Config.setApiOrigin('https://testnet-api.geobrowser.io');
55

66
const BOUNTY_TYPE_ID = Id('327976dea5ad45769b83b7e7ec6337cf');
77
const REWARD_PROPERTY_ID = Id('e8e7301136354e84b46b767e7cd530a8');
8+
const ACTIVE_UNTIL_PROPERTY_ID = Id('3e4679aaeaf94bddaad825dd5d96234c');
89

910
const 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
);

apps/server/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# server
22

3+
## 0.1.20
4+
### Patch Changes
5+
6+
- Updated dependencies [d7f578c]
7+
- @graphprotocol/hypergraph@0.10.3
8+
39
## 0.1.19
410
### Patch Changes
511

apps/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "server",
3-
"version": "0.1.19",
3+
"version": "0.1.20",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/hypergraph-react/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/hypergraph-react
22

3+
## 0.10.3
4+
### Patch Changes
5+
6+
- Updated dependencies [d7f578c]
7+
- @graphprotocol/hypergraph@0.10.3
8+
39
## 0.10.2
410
### Patch Changes
511

packages/hypergraph-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/hypergraph-react",
3-
"version": "0.10.2",
3+
"version": "0.10.3",
44
"description": "React implementation and additional functionality, components, and hooks for the hypergraph SDK framework",
55
"keywords": [
66
"Web3",

packages/hypergraph/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# @graphprotocol/hypergraph
22

3+
## 0.10.3
4+
### Patch Changes
5+
6+
- d7f578c: fix number, date, point and boolean property parsing when API returns value only on the string field
7+
38
## 0.10.2
49
### Patch Changes
510

0 commit comments

Comments
 (0)