Skip to content

Commit

Permalink
fix: add createSchema prop to cms-model-field-to-graphql plugin's…
Browse files Browse the repository at this point in the history
… `read` property
  • Loading branch information
adrians5j committed Sep 15, 2020
1 parent e8061c2 commit 67a3b36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api-headless-cms/src/types.ts
Expand Up @@ -171,6 +171,10 @@ export type CmsModelFieldToGraphQLPlugin = Plugin & {
model: CmsContentModel;
field: CmsContentModelField;
}): GraphQLFieldResolver;
createSchema?(params: {
models: CmsContentModel[];
model: CmsContentModel;
}): GraphQLSchemaModule;
};
manage: {
createListFilters?(params: { model: CmsContentModel; field: CmsContentModelField }): string;
Expand Down

0 comments on commit 67a3b36

Please sign in to comment.