@nautical-commerce/graphql-schema 1.64.1 → 1.65.0

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.
@@ -4751,7 +4751,6 @@ type Permission {
4751
4751
  name: String!
4752
4752
  }
4753
4753
 
4754
- """An enumeration."""
4755
4754
  enum PermissionEnum {
4756
4755
  MANAGE_USERS
4757
4756
  MANAGE_STAFF
@@ -4767,7 +4766,7 @@ enum PermissionEnum {
4767
4766
  MANAGE_ORDERS
4768
4767
  MANAGE_DRAFT_AND_QUOTE_ORDERS
4769
4768
  MANAGE_FULFILLMENTS
4770
- MANAGE_PAGES
4769
+ MANAGE_PAGES @deprecated(reason: "This will be removed on March 10, 2025. If you are using MANAGE_PAGES, please use MANAGE_STOREFRONTS instead.")
4771
4770
  MANAGE_PRODUCTS
4772
4771
  MANAGE_INVENTORY
4773
4772
  MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES
@@ -10512,6 +10511,10 @@ type Page implements Node & ObjectWithMetadata {
10512
10511
 
10513
10512
  """Whether the page is published."""
10514
10513
  isPublished: Boolean!
10514
+ image(
10515
+ """Featured image for the page."""
10516
+ size: Int
10517
+ ): Image
10515
10518
  }
10516
10519
 
10517
10520
  type PageCountableConnection {
@@ -13169,7 +13172,7 @@ type Mutation {
13169
13172
  description: String
13170
13173
 
13171
13174
  """
13172
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.ms-powerpoint, image/x-tif, application/x-eps, image/bmp, text/x-csv, image/x-tiff, image/jpg, image/tiff, image/x-ms-bmp, application/msword, application/svg+xml, text/rtf, image/heif, application/vnd.pdf, image/eps, application/x-rtf, drawing/x-dwf, application/csv, application/acad, application/excel, application/rtf, image/x-bmp, application/zip, application/x-dxf, drawing/dwg, image/heic, application/dxf, application/pdf, image/heif-sequence, image/jpeg, image/vnd.dwg, drawing/x-dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/heic-sequence, image/svg+xml, application/x-csv, application/jpg, application/vnd.oasis.opendocument.text, application/tiff, application/x-acad, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/gif, application/x-dwg, pplication/vnd.rar, application/x-autocad, text/plain, application/acrobat, application/x-tiff, application/gzip-compressed, text/pdf, application/x-jpg, text/svg, image/svg, application/x-gzip, application/x-tif, image/dxf, application/vnd.oasis.opendocument.spreadsheet, image/x-eps, application/eps, text/x-pdf, image/png, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/csv, image/tif, image/x-dwg, image/x-dxf, text/svg-xml, application/postscript, text/x-comma-separated-values, application/x-rar-compressed, application/dwg, application/x-rar, application/gzipped, application/vnd.oasis.opendocument.presentation, application/vnd.ms-excel, application/tif, image/webp, application/x-pdf, application/gzip, text/comma-separated-values, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tar, application/x-zip-compressed.
13175
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, pplication/vnd.rar, image/x-ms-bmp, image/x-bmp, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/svg-xml, image/tiff, image/heif-sequence, application/vnd.oasis.opendocument.text, image/bmp, application/x-tiff, application/x-rtf, image/x-eps, application/acrobat, image/dxf, application/x-rar, application/x-dwg, image/svg, application/vnd.ms-word, image/x-tiff, image/tif, image/heif, application/excel, image/png, application/tiff, application/svg+xml, application/gzip-compressed, application/rtf, text/plain, application/x-gzip, application/vnd.ms-excel, image/x-dxf, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.presentation, application/x-eps, text/x-comma-separated-values, application/vnd.oasis.opendocument.spreadsheet, application/acad, text/pdf, application/x-pdf, image/gif, application/x-dxf, image/webp, application/x-tif, application/x-csv, text/x-pdf, application/msword, text/csv, application/tif, application/x-autocad, image/eps, image/heic, image/vnd.dwg, drawing/x-dwg, application/gzipped, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpg, image/x-dwg, application/dxf, application/jpg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/eps, application/pdf, application/csv, text/svg, application/zip, application/gzip, text/rtf, text/x-csv, application/x-tar, application/x-zip-compressed, application/x-rar-compressed, text/comma-separated-values, image/heic-sequence, image/jpeg, image/x-tif, application/dwg, application/postscript, application/vnd.pdf, application/x-acad, image/svg+xml, application/x-jpg.
13173
13176
  """
13174
13177
  file: Upload!
13175
13178
 
@@ -14640,6 +14643,26 @@ type Mutation {
14640
14643
  input: PageInput!
14641
14644
  ): PageUpdate
14642
14645
 
14646
+ """
14647
+ 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
14648
+ """
14649
+ pageImageUpdate(
14650
+ """Alt text for the image."""
14651
+ alt: String!
14652
+
14653
+ """ID of the page to update."""
14654
+ id: ID!
14655
+
14656
+ """Represents an image file in a multipart request"""
14657
+ image: Upload!
14658
+ ): PageImageUpdate
14659
+
14660
+ """Deletes a features image for the given page."""
14661
+ pageImageDelete(
14662
+ """ID of the page to delete the image off of."""
14663
+ id: ID!
14664
+ ): PageImageDelete
14665
+
14643
14666
  """Completes creating an order."""
14644
14667
  draftOrderComplete(
14645
14668
  """ID of the order that will be completed."""
@@ -20417,6 +20440,22 @@ type PageUpdate {
20417
20440
  page: Page
20418
20441
  }
20419
20442
 
20443
+ """
20444
+ 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
20445
+ """
20446
+ type PageImageUpdate {
20447
+ """An updated page instance."""
20448
+ page: Page
20449
+ pageErrors: [PageError!]!
20450
+ }
20451
+
20452
+ """Deletes a features image for the given page."""
20453
+ type PageImageDelete {
20454
+ """An updated page instance"""
20455
+ page: Page
20456
+ pageErrors: [PageError!]!
20457
+ }
20458
+
20420
20459
  """Completes creating an order."""
20421
20460
  type DraftOrderComplete {
20422
20461
  """Completed order."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.64.1",
3
+ "version": "v1.65.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {