0.0.19 • Published 7 years ago

graphql-api-builder v0.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

GraphQL API Biulder

Allows you to build your apollo graphql api in an organized and structured way.

Exact design is still under construction, currently looks like this:

export const User: ObjectApi = {
  apiObject: 'User',
  dbObject: 'app_user',
  description: 'people who use our system',
  queryApis: [
    getIndexQuery,
    getDetailQuery
  ],
  mutationApis: [
    getCreateQuery,
    getDeleteQuery,
    getUpdateQuery
  ],
  fields: [{
    apiField: 'id',
    primary: true,
    apiType: 'Int',
    description: 'unique identifier',
    allowedForView: true
  }, {
    apiField: 'username',
    apiType: 'String',
    description: 'public identifier',
    requiredForCreate: true,
    allowedForUpdate: true,
    allowedForView: true
  }],
  getResolver
};
0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago