1
0
mirror of https://github.com/dap-ps/graph.git synced 2025-02-12 04:26:47 +00:00
graph/schema.graphql

37 lines
518 B
GraphQL
Raw Normal View History

2020-02-14 14:05:25 +02:00
type DappMeta @entity {
2020-02-14 13:05:08 +02:00
id: ID!
2020-02-14 14:05:25 +02:00
ipfsHash: String!
hash: String!
details: Detail! @derivedFrom(field: "identifier")
2020-03-14 04:54:06 +05:30
# email: String!
2020-02-14 14:05:25 +02:00
status: Status!
2020-02-14 13:05:08 +02:00
}
2020-02-14 14:05:25 +02:00
type Detail @entity {
id: ID!
identifier: DappMeta!
name: String!
uploader: String!
url: String!
description: String!
category: DAppCategories!
image: String!
dateAdded: BigInt!
}
enum Status {
NEW
APPROVED
UPDATED
}
enum DAppCategories {
EXCHANGES
MARKETPLACES
COLLECTIBLES
GAMES
SOCIAL_NETWORKS
UTILITIES
OTHER
2020-03-14 04:54:06 +05:30
}