Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make timestamp optional #121

Merged
merged 6 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Acala/acala-evm-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@subql/acala-evm-processor": "latest"
},
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/cli": "latest",
"@subql/node": "latest",
"@subql/testing": "latest",
Expand Down
4 changes: 2 additions & 2 deletions Acala/acala-evm-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ type Transaction @entity {
value: BigInt!
to: String!
from: String!
contractAddress: String!
contractAddress: String
}

type Approval @entity {
id: ID! # Transaction hash
value: BigInt!
owner: String!
spender: String!
contractAddress: String!
contractAddress: String
}
2 changes: 1 addition & 1 deletion Acala/acala-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Acala/acala-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Ajuna/ajuna-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Ajuna/ajuna-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Altair/altair-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Altair/altair-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Astar/astar-evm-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@subql/testing": "latest",
"@subql/node-ethereum": "latest",
"ethers": "^5.7.2",
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"typescript": "^5.2.2",
"@subql/node": "latest"
},
Expand Down
6 changes: 3 additions & 3 deletions Astar/astar-evm-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ type ERC20TokenTransfer @entity {
value: BigInt!
to: String!
from: String!
contractAddress: String!
contractAddress: String
}

type ERC20Approval @entity {
id: ID!
value: BigInt!
owner: String!
spender: String!
contractAddress: String!
contractAddress: String
}

type SubstrateTransfer @entity {
id: ID!
amount: BigInt!
blockNumber: Int!
date: Date!
date: Date
from: String!
to: String!
}
2 changes: 1 addition & 1 deletion Astar/astar-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Astar/astar-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Astar/astar-wasm-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"ipfs-unixfs": "6.0.6"
},
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/cli": "latest",
"@subql/node": "latest",
"@subql/testing": "latest",
Expand Down
4 changes: 2 additions & 2 deletions Astar/astar-wasm-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Transaction @entity {
value: BigInt
from: String!
to: String!
contractAddress: String!
contractAddress: String
}

type Approval @entity {
Expand All @@ -21,7 +21,7 @@ type Approval @entity {
hash: String
owner: String!
spender: String!
contractAddress: String!
contractAddress: String
}

type DApp @entity {
Expand Down
2 changes: 1 addition & 1 deletion Automata/automata-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Automata/automata-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Avail/avail-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Avail/avail-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Avail/avail-turing-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Avail/avail-turing-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Bajun/bajun-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Bajun/bajun-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Basilisk/basilisk-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Basilisk/basilisk-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Bifrost/bifrost-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Bifrost/bifrost-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Bitcountry/bitcountry-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Bitcountry/bitcountry-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Bitgreen/bitgreen-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Bitgreen/bitgreen-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Bittensor/bittensor-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Bittensor/bittensor-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Calamari/calamari-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Calamari/calamari-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Centrifuge/centrifuge-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Centrifuge/centrifuge-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion Clover/clover-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
2 changes: 1 addition & 1 deletion Clover/clover-starter/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
2 changes: 1 addition & 1 deletion ComposableFinance/composable-finance-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SubQuery Team",
"license": "MIT",
"devDependencies": {
"@polkadot/api": "^10",
"@polkadot/api": "^12",
"@subql/types": "latest",
"typescript": "^5.2.2",
"@subql/cli": "latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Transfer @entity {
"""
The date of the transfer
"""
date: Date!
date: Date
"""
The account that transfers are made from
"""
Expand Down
Loading
Loading