Skip to content

Commit

Permalink
Export more cloudinary fields (keystonejs#7607)
Browse files Browse the repository at this point in the history
* Export cloudinary image output type

* update changeset

Co-authored-by: Daniel Cousens <[email protected]>
  • Loading branch information
mmachatschek and dcousens authored Jun 9, 2022
1 parent ec04adf commit 52e5477
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-singers-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-6/cloudinary': patch
---

Added an export for the Cloudinary image GraphQL output type for developer usage e.g. in virtual fields.
2 changes: 1 addition & 1 deletion packages/cloudinary/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type CloudinaryImage_File = {
}) => string | null;
};

const outputType = graphql.object<CloudinaryImage_File>()({
export const outputType = graphql.object<CloudinaryImage_File>()({
name: 'CloudinaryImage_File',
fields: {
id: graphql.field({ type: graphql.ID }),
Expand Down

0 comments on commit 52e5477

Please sign in to comment.