mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-24 13:47:57 -05:00
Uses the ethereum address of a specific player to fetch the Moloch DAOs that player is a member of
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
overwrite: true
|
|
require:
|
|
- ts-node/register
|
|
generates:
|
|
./src/handlers/remote-schemas/autogen/types.ts:
|
|
schema: './src/handlers/remote-schemas/typeDefs.ts'
|
|
plugins:
|
|
- typescript
|
|
- typescript-resolvers
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
config:
|
|
noSchemaStitching: true
|
|
avoidOptionals: true
|
|
maybeValue: 'T extends PromiseLike<infer U> ? Promise<U | null> : T | null | undefined'
|
|
./src/lib/autogen/hasura-sdk.ts:
|
|
schema: '../codegen/schema.graphql'
|
|
documents:
|
|
- ./src/handlers/graphql/**/(!(*.d)).ts
|
|
plugins:
|
|
- typescript
|
|
- typescript-operations
|
|
- typescript-graphql-request
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
config:
|
|
immutableTypes: true
|
|
scalars:
|
|
account_type: "'ETHEREUM' | 'DISCORD' | 'GITHUB' | 'TWITTER' | 'DISCOURSE'"
|
|
./src/lib/autogen/daohaus-sdk.ts:
|
|
schema: 'https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus'
|
|
documents:
|
|
- ./src/handlers/remote-schemas/resolvers/daohaus/**/(!(*.d)).ts
|
|
plugins:
|
|
- typescript
|
|
- typescript-operations
|
|
- typescript-graphql-request
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
config:
|
|
avoidOptionals: true
|