evm-ink / frontend

7 stars 7 forks source link

yarn generate error #1

Open BillInUK opened 10 months ago

BillInUK commented 10 months ago

i run yarn generator,and there is some schema unkown ,errors: ✔ Parse Configuration ⚠ Generate outputs ❯ Generate to ./src/gql/operations-types.ts ✔ Load GraphQL schemas ✔ Load GraphQL documents ✖ GraphQL Document Validation failed with 36 errors; Error 0: Unknown type "numeric". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/mutation/update_collection_by_id.mutation.graphql:3:15 Error 1: Unknown type "numeric". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/mutation/update_collection_by_id.mutation.graphql:4:11 Error 2: Unknown type "brc20_tokens_order_by". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_brc20_tokens.query.graphql:4:15 Error 3: Unknown type "brc20_tokens_bool_exp". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_brc20_tokens.query.graphql:5:11 Error 4: Cannot query field "brc20_tokens" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_brc20_tokens.query.graphql:7:3 Error 5: Unknown type "brc20_user_balances_order_by". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_brc20_user_balances.query.graphql:4:15 Error 6: Unknown type "brc20_user_balances_bool_exp". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_brc20_user_balances.query.graphql:5:11 Error 7: Cannot query field "brc20_user_balances" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_brc20_user_balances.query.graphql:7:3 Error 8: Cannot query field "claim" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_claim_arguments.query.graphql:2:3 Error 9: Cannot query field "collections" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collection.query.graphql:2:3 Error 10: Cannot query field "collection_inscriptions" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collection_inscriptions.query.graphql:2:3 Error 11: Unknown type "inscriptions". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collection_inscriptions.query.graphql:17:34 Error 12: Cannot query field "collection_stats" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collection_stats.query.graphql:2:3 Error 13: Cannot query field "get_collection_upload_urls" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collection_upload_urls.query.graphql:2:3 Error 14: Unknown type "collections_order_by". Did you mean "CollectionSaleOrderBy", "CollectionSalePeriod", "CollectionStandard", "CollectionOrderHistory", or "CollectionSale"? at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collections.query.graphql:4:15 Error 15: Unknown type "collections_bool_exp". Did you mean "CollectionSale", "CollectionSaleOrderBy", "CollectionSalePeriod", "CollectionStandard", or "CollectionStats"? at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collections.query.graphql:5:11 Error 16: Cannot query field "collections" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_collections.query.graphql:7:3 Error 17: Cannot query field "inscriptions" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscription_by_trx_hash.query.graphql:2:3 Error 18: Unknown type "inscription_traits_bool_exp". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscription_traits.query.graphql:1:36 Error 19: Cannot query field "inscription_traits" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscription_traits.query.graphql:2:3 Error 20: Cannot query field "inscription_transfers" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscription_transfers.query.graphql:2:3 Error 21: Unknown type "inscriptions_order_by". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscriptions.query.graphql:4:15 Error 22: Unknown type "inscriptions_bool_exp". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscriptions.query.graphql:5:11 Error 23: Cannot query field "inscriptions" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_inscriptions.query.graphql:7:3 Error 24: Cannot query field "lazy_claim" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_lazy_claim_arguments.query.graphql:2:3 Error 25: Cannot query field "new_collections_by_pk" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collection_by_id.query.graphql:2:3 Error 26: Cannot query field "new_collection_files" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collection_files.query.graphql:6:3 Error 27: Cannot query field "new_collection_files_aggregate" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collection_files_info.query.graphql:2:3 Error 28: Cannot query field "new_collection_files_aggregate" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collection_files_info.query.graphql:9:3 Error 29: Cannot query field "new_collection_files" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collection_files_info.query.graphql:19:3 Error 30: Cannot query field "new_collection_upload" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collection_upload.query.graphql:2:3 Error 31: Unknown type "new_collections_order_by". Did you mean "CollectionSaleOrderBy" or "WalletCollectionOrderBy"? at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collections.query.graphql:4:15 Error 32: Unknown type "new_collections_bool_exp". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collections.query.graphql:5:11 Error 33: Cannot query field "new_collections" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_new_collections.query.graphql:7:3 Error 34: Cannot query field "signedMessage" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/get_nonce.query.graphql:2:3 Error 35: Cannot query field "collections" on type "query_root". at /Users/mac/WebstormProjects/github/evm-ink-frontend/src/gql/query/is_slug_available.query.graphql:2:3 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

BillInUK commented 10 months ago

do you add some custom schema on hasura?

BillInUK commented 10 months ago

how can i upload the custom schema in operation.ts?