@nautical-commerce/graphql-schema 1.64.0-3-g08efeced5 → 1.64.0-5-g73131ffd1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10506,6 +10506,10 @@ type Page implements Node & ObjectWithMetadata {
10506
10506
 
10507
10507
  """Whether the page is published."""
10508
10508
  isPublished: Boolean!
10509
+ image(
10510
+ """Featured image for the page."""
10511
+ size: Int
10512
+ ): Image
10509
10513
  }
10510
10514
 
10511
10515
  type PageCountableConnection {
@@ -13163,7 +13167,7 @@ type Mutation {
13163
13167
  description: String
13164
13168
 
13165
13169
  """
13166
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: pplication/vnd.rar, application/dxf, image/heic-sequence, application/vnd.ms-word, image/heic, application/x-tar, text/comma-separated-values, image/x-ms-bmp, drawing/x-dwg, image/svg+xml, application/acad, image/png, text/plain, application/x-jpg, image/x-tiff, application/x-dwg, application/x-rar-compressed, drawing/dwg, text/svg-xml, application/gzipped, application/postscript, application/pdf, application/vnd.pdf, application/x-tiff, image/tif, image/x-dwg, application/excel, application/x-eps, image/x-eps, image/heif-sequence, application/x-pdf, image/jpg, image/tiff, application/tif, application/msword, image/dxf, text/svg, application/dwg, application/x-rtf, image/webp, application/x-tif, application/rtf, application/jpg, text/x-csv, application/x-zip-compressed, image/x-dxf, image/eps, image/x-bmp, image/svg, application/x-rar, drawing/x-dwf, application/x-dxf, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.presentation, application/csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip-compressed, image/gif, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/vnd.oasis.opendocument.text, application/x-csv, image/jpeg, application/x-gzip, application/x-acad, application/zip, text/pdf, application/svg+xml, image/vnd.dwg, application/x-autocad, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv, application/acrobat, application/tiff, application/eps, text/x-pdf, image/heif, image/bmp, text/x-comma-separated-values, image/x-tif, text/rtf.
13170
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-csv, drawing/x-dwf, image/svg+xml, image/tif, application/excel, application/x-tif, image/bmp, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-eps, application/jpg, image/jpeg, application/gzip, image/heic, application/rtf, application/vnd.oasis.opendocument.presentation, application/x-gzip, image/x-dxf, image/vnd.dwg, text/plain, text/rtf, text/pdf, application/x-dwg, application/eps, application/postscript, text/x-pdf, image/heif-sequence, image/gif, image/png, application/x-tiff, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/acad, image/eps, application/vnd.oasis.opendocument.spreadsheet, application/zip, text/svg-xml, image/tiff, application/x-jpg, application/tif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/csv, application/tiff, application/pdf, application/dxf, application/vnd.ms-word, application/gzipped, application/x-rar, image/x-ms-bmp, pplication/vnd.rar, image/x-bmp, application/dwg, text/x-csv, drawing/x-dwg, application/x-rtf, application/x-zip-compressed, application/acrobat, image/heif, text/x-comma-separated-values, application/x-dxf, application/msword, application/vnd.ms-excel, text/csv, application/x-acad, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.oasis.opendocument.text, image/jpg, image/dxf, drawing/dwg, application/vnd.pdf, image/x-tiff, image/webp, image/x-eps, application/vnd.ms-powerpoint, application/x-rar-compressed, application/svg+xml, application/x-pdf, text/svg, image/svg, text/comma-separated-values, image/x-tif, application/gzip-compressed, application/x-autocad, image/heic-sequence, application/x-tar, image/x-dwg.
13167
13171
  """
13168
13172
  file: Upload!
13169
13173
 
@@ -14634,6 +14638,26 @@ type Mutation {
14634
14638
  input: PageInput!
14635
14639
  ): PageUpdate
14636
14640
 
14641
+ """
14642
+ Creates a featured image for the given page.This mutation must be sent as a 'multipart' request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
14643
+ """
14644
+ pageImageUpdate(
14645
+ """Alt text for the image."""
14646
+ alt: String!
14647
+
14648
+ """ID of the page to update."""
14649
+ id: ID!
14650
+
14651
+ """Represents an image file in a multipart request"""
14652
+ image: Upload!
14653
+ ): PageImageUpdate
14654
+
14655
+ """Deletes a features image for the given page."""
14656
+ pageImageDelete(
14657
+ """ID of the page to delete the image off of."""
14658
+ id: ID!
14659
+ ): PageImageDelete
14660
+
14637
14661
  """Completes creating an order."""
14638
14662
  draftOrderComplete(
14639
14663
  """ID of the order that will be completed."""
@@ -20411,6 +20435,22 @@ type PageUpdate {
20411
20435
  page: Page
20412
20436
  }
20413
20437
 
20438
+ """
20439
+ Creates a featured image for the given page.This mutation must be sent as a 'multipart' request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
20440
+ """
20441
+ type PageImageUpdate {
20442
+ """An updated page instance."""
20443
+ page: Page
20444
+ pageErrors: [PageError!]!
20445
+ }
20446
+
20447
+ """Deletes a features image for the given page."""
20448
+ type PageImageDelete {
20449
+ """An updated page instance"""
20450
+ page: Page
20451
+ pageErrors: [PageError!]!
20452
+ }
20453
+
20414
20454
  """Completes creating an order."""
20415
20455
  type DraftOrderComplete {
20416
20456
  """Completed order."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.64.0-3-g08efeced5",
3
+ "version": "v1.64.0-5-g73131ffd1",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {