graphql-typescript:使用类型化类定义和构建GraphQL模式

时间:2021-02-04 03:08:25
【文件属性】:
文件名称:graphql-typescript:使用类型化类定义和构建GraphQL模式
文件大小:51KB
文件格式:ZIP
更新时间:2021-02-04 03:08:25
graphql typescript decorators annotations graphql-schema graphql型脚本 使用类型化类定义和构建GraphQL模式 import { Type , Field , Nullable , Mutation , String , Boolean , Int , makeSchema } from 'graphql-typescript' @ Type class Query { @ Field ( ( ) => Box ) box : Box } class UnboxArguments { @ Field ( ( ) => [ String ] ) tools : string [ ] } @ Type class Box { @
【文件预览】:
graphql-typescript-master
----.gitignore(52B)
----package.json(1KB)
----tslint.json(297B)
----src()
--------storage.ts(357B)
--------metadata()
--------decorators()
--------structures()
--------schema.ts(1KB)
--------index.ts(166B)
--------types.ts(126B)
----jest.config.js(436B)
----wallaby.js(482B)
----LICENSE(1KB)
----tsconfig.json(500B)
----README.md(6KB)
----tests()
--------decorators()
----example()
--------A.ts(1KB)
--------B.ts(185B)
--------index.ts(434B)
----.vscode()
--------settings.json(305B)
----.circleci()
--------config.yml(700B)
----.npmignore(117B)
----yarn.lock(116KB)

网友评论