@nautical-commerce/graphql-schema 1.64.0-4-g2e9b8c43e → 1.64.0-6-g4b9f486bf

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.
@@ -4748,7 +4748,6 @@ type Permission {
4748
4748
  name: String!
4749
4749
  }
4750
4750
 
4751
- """An enumeration."""
4752
4751
  enum PermissionEnum {
4753
4752
  MANAGE_USERS
4754
4753
  MANAGE_STAFF
@@ -4764,7 +4763,7 @@ enum PermissionEnum {
4764
4763
  MANAGE_ORDERS
4765
4764
  MANAGE_DRAFT_AND_QUOTE_ORDERS
4766
4765
  MANAGE_FULFILLMENTS
4767
- MANAGE_PAGES
4766
+ MANAGE_PAGES @deprecated(reason: "This will be removed on March 10, 2025. If you are using MANAGE_PAGES, please use MANAGE_STOREFRONTS instead.")
4768
4767
  MANAGE_PRODUCTS
4769
4768
  MANAGE_INVENTORY
4770
4769
  MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES
@@ -10506,6 +10505,10 @@ type Page implements Node & ObjectWithMetadata {
10506
10505
 
10507
10506
  """Whether the page is published."""
10508
10507
  isPublished: Boolean!
10508
+ image(
10509
+ """Featured image for the page."""
10510
+ size: Int
10511
+ ): Image
10509
10512
  }
10510
10513
 
10511
10514
  type PageCountableConnection {
@@ -13163,7 +13166,7 @@ type Mutation {
13163
13166
  description: String
13164
13167
 
13165
13168
  """
13166
- 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.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, drawing/x-dwf, image/webp, image/gif, image/vnd.dwg, application/dxf, application/x-dwg, application/x-tar, application/x-zip-compressed, application/postscript, application/x-acad, text/rtf, application/x-gzip, pplication/vnd.rar, image/x-dxf, image/x-bmp, image/heif, application/x-eps, image/eps, text/x-pdf, application/vnd.oasis.opendocument.spreadsheet, application/svg+xml, application/x-dxf, image/heic, application/tif, image/x-tiff, text/plain, application/excel, application/x-jpg, application/x-tiff, image/heic-sequence, image/heif-sequence, application/gzipped, text/x-comma-separated-values, application/zip, application/acad, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/acrobat, application/tiff, application/vnd.pdf, image/x-dwg, application/eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-ms-bmp, drawing/x-dwg, image/tiff, image/jpeg, image/jpg, text/pdf, application/x-pdf, application/gzip, application/x-csv, application/jpg, drawing/dwg, application/vnd.ms-word, application/msword, application/x-tif, text/svg-xml, text/csv, image/x-eps, application/vnd.oasis.opendocument.presentation, text/x-csv, application/dwg, text/comma-separated-values, text/svg, application/csv, application/x-rar, image/png, image/tif, application/x-rtf, application/gzip-compressed, application/vnd.oasis.opendocument.text, image/dxf, application/x-autocad, application/x-rar-compressed, application/vnd.ms-excel, application/pdf, image/svg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/rtf, image/bmp, image/x-tif, image/svg+xml.
13169
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/dwg, application/excel, application/tif, application/x-tif, image/x-dxf, image/bmp, image/dxf, application/gzipped, application/x-csv, application/x-rar-compressed, image/tiff, pplication/vnd.rar, image/heic, image/x-eps, application/msword, image/x-ms-bmp, text/rtf, application/tiff, text/comma-separated-values, application/x-eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, application/x-rtf, text/svg-xml, application/jpg, text/csv, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/svg+xml, image/x-bmp, application/x-zip-compressed, application/vnd.ms-word, application/x-tiff, image/heif, text/x-csv, application/vnd.ms-excel, application/x-tar, application/x-gzip, drawing/dwg, text/pdf, application/vnd.oasis.opendocument.presentation, image/jpeg, application/dxf, application/rtf, application/vnd.oasis.opendocument.text, application/x-pdf, image/tif, image/eps, application/acrobat, application/gzip, image/x-tif, application/x-acad, image/gif, image/webp, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-powerpoint, drawing/x-dwg, application/postscript, application/acad, application/csv, text/plain, text/svg, image/png, image/jpg, application/svg+xml, text/x-pdf, application/x-dxf, image/svg, application/x-jpg, image/heif-sequence, application/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-autocad, image/vnd.dwg, application/eps, image/x-tiff, application/vnd.pdf, text/x-comma-separated-values, application/gzip-compressed, image/heic-sequence, application/zip, application/x-rar, drawing/x-dwf, image/x-dwg.
13167
13170
  """
13168
13171
  file: Upload!
13169
13172
 
@@ -14634,6 +14637,26 @@ type Mutation {
14634
14637
  input: PageInput!
14635
14638
  ): PageUpdate
14636
14639
 
14640
+ """
14641
+ 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
14642
+ """
14643
+ pageImageUpdate(
14644
+ """Alt text for the image."""
14645
+ alt: String!
14646
+
14647
+ """ID of the page to update."""
14648
+ id: ID!
14649
+
14650
+ """Represents an image file in a multipart request"""
14651
+ image: Upload!
14652
+ ): PageImageUpdate
14653
+
14654
+ """Deletes a features image for the given page."""
14655
+ pageImageDelete(
14656
+ """ID of the page to delete the image off of."""
14657
+ id: ID!
14658
+ ): PageImageDelete
14659
+
14637
14660
  """Completes creating an order."""
14638
14661
  draftOrderComplete(
14639
14662
  """ID of the order that will be completed."""
@@ -20411,6 +20434,22 @@ type PageUpdate {
20411
20434
  page: Page
20412
20435
  }
20413
20436
 
20437
+ """
20438
+ 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
20439
+ """
20440
+ type PageImageUpdate {
20441
+ """An updated page instance."""
20442
+ page: Page
20443
+ pageErrors: [PageError!]!
20444
+ }
20445
+
20446
+ """Deletes a features image for the given page."""
20447
+ type PageImageDelete {
20448
+ """An updated page instance"""
20449
+ page: Page
20450
+ pageErrors: [PageError!]!
20451
+ }
20452
+
20414
20453
  """Completes creating an order."""
20415
20454
  type DraftOrderComplete {
20416
20455
  """Completed order."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.64.0-4-g2e9b8c43e",
3
+ "version": "v1.64.0-6-g4b9f486bf",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {