Revert author field on app details page (#3453)

This commit is contained in:
Krzysztof Żuraw 2023-04-04 10:55:12 +02:00 committed by GitHub
parent 2a9b512178
commit 97c7a32455
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 90 additions and 1045 deletions

View file

@ -549,12 +549,6 @@
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
{
"name": "PASSWORD_RESET_ALREADY_REQUESTED",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{ {
"name": "REQUIRED", "name": "REQUIRED",
"description": null, "description": null,
@ -3105,18 +3099,6 @@
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
{
"name": "author",
"description": "The App's author name.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{ {
"name": "extensions", "name": "extensions",
"description": "App's dashboard extensions.\n\nAdded in Saleor 3.1.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "App's dashboard extensions.\n\nAdded in Saleor 3.1.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
@ -3870,12 +3852,6 @@
"description": null, "description": null,
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
},
{
"name": "UNSUPPORTED_SALEOR_VERSION",
"description": null,
"isDeprecated": false,
"deprecationReason": null
} }
], ],
"possibleTypes": null "possibleTypes": null
@ -4907,49 +4883,6 @@
"enumValues": null, "enumValues": null,
"possibleTypes": null "possibleTypes": null
}, },
{
"kind": "OBJECT",
"name": "AppManifestRequiredSaleorVersion",
"description": null,
"fields": [
{
"name": "constraint",
"description": "Required Saleor version as semver range.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "satisfied",
"description": "Informs if the Saleor version matches the required one.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{ {
"kind": "OBJECT", "kind": "OBJECT",
"name": "AppManifestWebhook", "name": "AppManifestWebhook",
@ -10640,7 +10573,7 @@
}, },
{ {
"name": "values", "name": "values",
"description": "The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.This field will be removed in Saleor 4.0.", "description": "The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.",
"type": { "type": {
"kind": "LIST", "kind": "LIST",
"name": null, "name": null,
@ -10658,130 +10591,6 @@
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
{
"name": "dropdown",
"description": "Attribute value ID.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "INPUT_OBJECT",
"name": "AttributeValueSelectableTypeInput",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "swatch",
"description": "Attribute value ID.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "INPUT_OBJECT",
"name": "AttributeValueSelectableTypeInput",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "multiselect",
"description": "List of attribute value IDs.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "AttributeValueSelectableTypeInput",
"ofType": null
}
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "numeric",
"description": "Numeric value of an attribute.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "file",
"description": "URL of the file attribute. Every time, a new value is created.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "contentType",
"description": "File content type.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "references",
"description": "List of entity IDs that will be used as references.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "richText",
"description": "Text content in JSON format.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "JSONString",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "plainText",
"description": "Plain text content.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{ {
"name": "boolean", "name": "boolean",
"description": "The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created.", "description": "The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created.",
@ -10793,30 +10602,6 @@
"defaultValue": null, "defaultValue": null,
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
},
{
"name": "date",
"description": "Represents the date value of the attribute value.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "Date",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "dateTime",
"description": "Represents the date/time value of the attribute value.\n\nAdded in Saleor 3.12.",
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
} }
], ],
"interfaces": null, "interfaces": null,
@ -11822,7 +11607,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -11834,7 +11619,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -18622,7 +18407,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -18634,7 +18419,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -41434,30 +41219,6 @@
}, },
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
},
{
"name": "requiredSaleorVersion",
"description": "Determines the app's required Saleor version as semver range.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "AppManifestRequiredSaleorVersion",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "author",
"description": "The App's author name.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
} }
], ],
"inputFields": null, "inputFields": null,
@ -45833,55 +45594,6 @@
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
{
"name": "stockBulkUpdate",
"description": "Updates stocks for a given variant and warehouse.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point. \n\nRequires one of the following permissions: MANAGE_PRODUCTS.",
"args": [
{
"name": "errorPolicy",
"description": "Policies of error handling. DEFAULT: REJECT_EVERYTHING",
"type": {
"kind": "ENUM",
"name": "ErrorPolicyEnum",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "stocks",
"description": "Input list of stocks to update.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "StockBulkUpdateInput",
"ofType": null
}
}
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "OBJECT",
"name": "StockBulkUpdate",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{ {
"name": "staffNotificationRecipientCreate", "name": "staffNotificationRecipientCreate",
"description": "Creates a new staff notification recipient. \n\nRequires one of the following permissions: MANAGE_SETTINGS.", "description": "Creates a new staff notification recipient. \n\nRequires one of the following permissions: MANAGE_SETTINGS.",
@ -59081,7 +58793,7 @@
}, },
{ {
"name": "shippingTaxClass", "name": "shippingTaxClass",
"description": "Denormalized tax class assigned to the shipping method.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", "description": "Denormalized tax class assigned to the shipping method.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.",
"args": [], "args": [],
"type": { "type": {
"kind": "OBJECT", "kind": "OBJECT",
@ -63597,7 +63309,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -63609,7 +63321,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -63802,7 +63514,7 @@
}, },
{ {
"name": "taxClass", "name": "taxClass",
"description": "Denormalized tax class of the product in this order line.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", "description": "Denormalized tax class of the product in this order line.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.",
"args": [], "args": [],
"type": { "type": {
"kind": "OBJECT", "kind": "OBJECT",
@ -68326,7 +68038,7 @@
}, },
{ {
"name": "availableAttributes", "name": "availableAttributes",
"description": "Attributes that can be assigned to the page type.\n\nRequires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES.", "description": "Attributes that can be assigned to the page type.\n\nRequires one of the following permissions: MANAGE_PAGES.",
"args": [ "args": [
{ {
"name": "filter", "name": "filter",
@ -68411,7 +68123,7 @@
}, },
{ {
"name": "hasPages", "name": "hasPages",
"description": "Whether page type has pages assigned.\n\nRequires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES.", "description": "Whether page type has pages assigned.\n\nRequires one of the following permissions: MANAGE_PAGES.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -74096,7 +73808,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -74108,7 +73820,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -74509,7 +74221,7 @@
}, },
{ {
"name": "taxClass", "name": "taxClass",
"description": "Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", "description": "Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.",
"args": [], "args": [],
"type": { "type": {
"kind": "OBJECT", "kind": "OBJECT",
@ -75860,7 +75572,7 @@
}, },
{ {
"name": "taxCode", "name": "taxCode",
"description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.", "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
@ -76941,7 +76653,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -76953,7 +76665,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -77102,7 +76814,7 @@
}, },
{ {
"name": "taxCode", "name": "taxCode",
"description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.", "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
@ -77464,7 +77176,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -77476,7 +77188,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -79486,7 +79198,7 @@
}, },
{ {
"name": "taxClass", "name": "taxClass",
"description": "Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", "description": "Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.",
"args": [], "args": [],
"type": { "type": {
"kind": "OBJECT", "kind": "OBJECT",
@ -80304,7 +80016,7 @@
}, },
{ {
"name": "taxCode", "name": "taxCode",
"description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.", "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
@ -94167,7 +93879,7 @@
}, },
{ {
"name": "taxClass", "name": "taxClass",
"description": "Tax class assigned to this shipping method.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", "description": "Tax class assigned to this shipping method.\n\nRequires one of the following permissions: MANAGE_TAXES, MANAGE_SHIPPING.",
"args": [], "args": [],
"type": { "type": {
"kind": "OBJECT", "kind": "OBJECT",
@ -99738,285 +99450,6 @@
], ],
"possibleTypes": null "possibleTypes": null
}, },
{
"kind": "OBJECT",
"name": "StockBulkResult",
"description": null,
"fields": [
{
"name": "stock",
"description": "Stock data.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "Stock",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "errors",
"description": "List of errors occurred on create or update attempt.",
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "StockBulkUpdateError",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "StockBulkUpdate",
"description": "Updates stocks for a given variant and warehouse.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point. \n\nRequires one of the following permissions: MANAGE_PRODUCTS.",
"fields": [
{
"name": "count",
"description": "Returns how many objects were updated.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "results",
"description": "List of the updated stocks.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "StockBulkResult",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "errors",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "StockBulkUpdateError",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "StockBulkUpdateError",
"description": null,
"fields": [
{
"name": "field",
"description": "Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "message",
"description": "The error message.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "code",
"description": "The error code.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "StockBulkUpdateErrorCode",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "StockBulkUpdateErrorCode",
"description": "An enumeration.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "GRAPHQL_ERROR",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INVALID",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NOT_FOUND",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "REQUIRED",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "StockBulkUpdateInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "variantId",
"description": "Variant ID.",
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "variantExternalReference",
"description": "Variant external reference.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "warehouseId",
"description": "Warehouse ID.",
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "warehouseExternalReference",
"description": "Warehouse external reference.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "quantity",
"description": "Quantity of items available for sell.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{ {
"kind": "OBJECT", "kind": "OBJECT",
"name": "StockCountableConnection", "name": "StockCountableConnection",
@ -103608,18 +103041,6 @@
"inputFields": null, "inputFields": null,
"interfaces": null, "interfaces": null,
"enumValues": [ "enumValues": [
{
"name": "ORIGINAL",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "AVIF",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{ {
"name": "WEBP", "name": "WEBP",
"description": null, "description": null,
@ -107055,7 +106476,7 @@
"args": [ "args": [
{ {
"name": "size", "name": "size",
"description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", "description": "Size of the image. If not provided, the original image will be returned.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Int", "name": "Int",
@ -107067,7 +106488,7 @@
}, },
{ {
"name": "format", "name": "format",
"description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "ThumbnailFormatEnum", "name": "ThumbnailFormatEnum",
@ -117437,11 +116858,7 @@
"name": "include", "name": "include",
"description": "Directs the executor to include this field or fragment only when the `if` argument is true.", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.",
"isRepeatable": false, "isRepeatable": false,
"locations": [ "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"FIELD",
"FRAGMENT_SPREAD",
"INLINE_FRAGMENT"
],
"args": [ "args": [
{ {
"name": "if", "name": "if",
@ -117465,11 +116882,7 @@
"name": "skip", "name": "skip",
"description": "Directs the executor to skip this field or fragment when the `if` argument is true.", "description": "Directs the executor to skip this field or fragment when the `if` argument is true.",
"isRepeatable": false, "isRepeatable": false,
"locations": [ "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"FIELD",
"FRAGMENT_SPREAD",
"INLINE_FRAGMENT"
],
"args": [ "args": [
{ {
"name": "if", "name": "if",
@ -117518,9 +116931,7 @@
"name": "specifiedBy", "name": "specifiedBy",
"description": "Exposes a URL that specifies the behaviour of this scalar.", "description": "Exposes a URL that specifies the behaviour of this scalar.",
"isRepeatable": false, "isRepeatable": false,
"locations": [ "locations": ["SCALAR"],
"SCALAR"
],
"args": [ "args": [
{ {
"name": "url", "name": "url",
@ -117542,4 +116953,4 @@
} }
] ]
} }
} }

View file

@ -1188,9 +1188,6 @@
"context": "unassign collection from sale and save, button", "context": "unassign collection from sale and save, button",
"string": "Unassign and save" "string": "Unassign and save"
}, },
"6SL46U": {
"string": "by {author}"
},
"6WRFp2": { "6WRFp2": {
"context": "order history message", "context": "order history message",
"string": "Note was added to the order" "string": "Note was added to the order"

View file

@ -33,7 +33,7 @@
"@material-ui/lab": "^4.0.0-alpha.61", "@material-ui/lab": "^4.0.0-alpha.61",
"@material-ui/styles": "^4.11.4", "@material-ui/styles": "^4.11.4",
"@reach/auto-id": "^0.16.0", "@reach/auto-id": "^0.16.0",
"@saleor/macaw-ui": "^0.8.0-pre.52", "@saleor/macaw-ui": "^0.8.0-pre.50",
"@saleor/sdk": "^0.4.6", "@saleor/sdk": "^0.4.6",
"@sentry/react": "^6.0.0", "@sentry/react": "^6.0.0",
"@types/faker": "^5.1.6", "@types/faker": "^5.1.6",

View file

@ -85,7 +85,6 @@ enum AccountErrorCode {
PASSWORD_TOO_COMMON PASSWORD_TOO_COMMON
PASSWORD_TOO_SHORT PASSWORD_TOO_SHORT
PASSWORD_TOO_SIMILAR PASSWORD_TOO_SIMILAR
PASSWORD_RESET_ALREADY_REQUESTED
REQUIRED REQUIRED
UNIQUE UNIQUE
JWT_SIGNATURE_EXPIRED JWT_SIGNATURE_EXPIRED
@ -597,15 +596,6 @@ type App implements Node & ObjectWithMetadata {
"""JWT token used to authenticate by thridparty app.""" """JWT token used to authenticate by thridparty app."""
accessToken: String accessToken: String
"""
The App's author name.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
"""
author: String
""" """
App's dashboard extensions. App's dashboard extensions.
@ -744,7 +734,6 @@ enum AppErrorCode {
UNIQUE UNIQUE
OUT_OF_SCOPE_APP OUT_OF_SCOPE_APP
OUT_OF_SCOPE_PERMISSION OUT_OF_SCOPE_PERMISSION
UNSUPPORTED_SALEOR_VERSION
} }
"""Represents app data.""" """Represents app data."""
@ -932,26 +921,6 @@ type AppManifestExtension {
target: AppExtensionTargetEnum! target: AppExtensionTargetEnum!
} }
type AppManifestRequiredSaleorVersion {
"""
Required Saleor version as semver range.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
"""
constraint: String!
"""
Informs if the Saleor version matches the required one.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
"""
satisfied: Boolean!
}
type AppManifestWebhook { type AppManifestWebhook {
"""The name of the webhook.""" """The name of the webhook."""
name: String! name: String!
@ -2258,91 +2227,14 @@ input BulkAttributeValueInput {
id: ID id: ID
""" """
The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.This field will be removed in Saleor 4.0. The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
""" """
values: [String!] values: [String!]
"""
Attribute value ID.
Added in Saleor 3.12.
"""
dropdown: AttributeValueSelectableTypeInput
"""
Attribute value ID.
Added in Saleor 3.12.
"""
swatch: AttributeValueSelectableTypeInput
"""
List of attribute value IDs.
Added in Saleor 3.12.
"""
multiselect: [AttributeValueSelectableTypeInput!]
"""
Numeric value of an attribute.
Added in Saleor 3.12.
"""
numeric: String
"""
URL of the file attribute. Every time, a new value is created.
Added in Saleor 3.12.
"""
file: String
"""
File content type.
Added in Saleor 3.12.
"""
contentType: String
"""
List of entity IDs that will be used as references.
Added in Saleor 3.12.
"""
references: [ID!]
"""
Text content in JSON format.
Added in Saleor 3.12.
"""
richText: JSONString
"""
Plain text content.
Added in Saleor 3.12.
"""
plainText: String
""" """
The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created.
""" """
boolean: Boolean boolean: Boolean
"""
Represents the date value of the attribute value.
Added in Saleor 3.12.
"""
date: Date
"""
Represents the date/time value of the attribute value.
Added in Saleor 3.12.
"""
dateTime: DateTime
} }
type BulkProductError { type BulkProductError {
@ -2585,12 +2477,12 @@ type Category implements Node & ObjectWithMetadata {
): CategoryCountableConnection ): CategoryCountableConnection
backgroundImage( backgroundImage(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.
@ -4150,12 +4042,12 @@ type Collection implements Node & ObjectWithMetadata {
): ProductCountableConnection ): ProductCountableConnection
backgroundImage( backgroundImage(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.
@ -8742,24 +8634,6 @@ type Manifest {
Note: this API is currently in Feature Preview and can be subject to changes at later point. Note: this API is currently in Feature Preview and can be subject to changes at later point.
""" """
audience: String audience: String
"""
Determines the app's required Saleor version as semver range.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
"""
requiredSaleorVersion: AppManifestRequiredSaleorVersion
"""
The App's author name.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
"""
author: String
} }
type Margin { type Margin {
@ -9772,23 +9646,6 @@ type Mutation {
taxExemption: Boolean! taxExemption: Boolean!
): TaxExemptionManage ): TaxExemptionManage
"""
Updates stocks for a given variant and warehouse.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
Requires one of the following permissions: MANAGE_PRODUCTS.
"""
stockBulkUpdate(
"""Policies of error handling. DEFAULT: REJECT_EVERYTHING"""
errorPolicy: ErrorPolicyEnum
"""Input list of stocks to update."""
stocks: [StockBulkUpdateInput!]!
): StockBulkUpdate
""" """
Creates a new staff notification recipient. Creates a new staff notification recipient.
@ -13672,7 +13529,7 @@ type Order implements Node & ObjectWithMetadata {
Note: this API is currently in Feature Preview and can be subject to changes at later point. Note: this API is currently in Feature Preview and can be subject to changes at later point.
Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. Requires one of the following permissions: AUTHENTICATED_STAFF_USER.
""" """
shippingTaxClass: TaxClass shippingTaxClass: TaxClass
@ -14634,12 +14491,12 @@ type OrderLine implements Node & ObjectWithMetadata {
digitalContentUrl: DigitalContentUrl digitalContentUrl: DigitalContentUrl
thumbnail( thumbnail(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.
@ -14700,7 +14557,7 @@ type OrderLine implements Node & ObjectWithMetadata {
Note: this API is currently in Feature Preview and can be subject to changes at later point. Note: this API is currently in Feature Preview and can be subject to changes at later point.
Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. Requires one of the following permissions: AUTHENTICATED_STAFF_USER.
""" """
taxClass: TaxClass taxClass: TaxClass
@ -15734,7 +15591,7 @@ type PageType implements Node & ObjectWithMetadata {
""" """
Attributes that can be assigned to the page type. Attributes that can be assigned to the page type.
Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES. Requires one of the following permissions: MANAGE_PAGES.
""" """
availableAttributes( availableAttributes(
filter: AttributeFilterInput filter: AttributeFilterInput
@ -15756,7 +15613,7 @@ type PageType implements Node & ObjectWithMetadata {
""" """
Whether page type has pages assigned. Whether page type has pages assigned.
Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES. Requires one of the following permissions: MANAGE_PAGES.
""" """
hasPages: Boolean hasPages: Boolean
} }
@ -16987,12 +16844,12 @@ type Product implements Node & ObjectWithMetadata {
descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")
thumbnail( thumbnail(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.
@ -17108,7 +16965,7 @@ type Product implements Node & ObjectWithMetadata {
""" """
Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type. Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.
Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. Requires one of the following permissions: AUTHENTICATED_STAFF_USER.
""" """
taxClass: TaxClass taxClass: TaxClass
@ -17417,7 +17274,7 @@ input ProductCreateInput {
""" """
Tax rate for enabled tax gateway. Tax rate for enabled tax gateway.
DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.
""" """
taxCode: String taxCode: String
@ -17661,12 +17518,12 @@ type ProductImage {
sortOrder: Int sortOrder: Int
url( url(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.
@ -17714,7 +17571,7 @@ input ProductInput {
""" """
Tax rate for enabled tax gateway. Tax rate for enabled tax gateway.
DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.
""" """
taxCode: String taxCode: String
@ -17816,12 +17673,12 @@ type ProductMedia implements Node & ObjectWithMetadata {
oembedData: JSONString! oembedData: JSONString!
url( url(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.
@ -18316,7 +18173,7 @@ type ProductType implements Node & ObjectWithMetadata {
""" """
Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type. Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.
Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. Requires one of the following permissions: AUTHENTICATED_STAFF_USER.
""" """
taxClass: TaxClass taxClass: TaxClass
@ -18468,7 +18325,7 @@ input ProductTypeInput {
""" """
Tax rate for enabled tax gateway. Tax rate for enabled tax gateway.
DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type.
""" """
taxCode: String taxCode: String
@ -22025,7 +21882,7 @@ type ShippingMethodType implements Node & ObjectWithMetadata {
""" """
Tax class assigned to this shipping method. Tax class assigned to this shipping method.
Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. Requires one of the following permissions: MANAGE_TAXES, MANAGE_SHIPPING.
""" """
taxClass: TaxClass taxClass: TaxClass
} }
@ -23304,70 +23161,6 @@ enum StockAvailability {
OUT_OF_STOCK OUT_OF_STOCK
} }
type StockBulkResult {
"""Stock data."""
stock: Stock
"""List of errors occurred on create or update attempt."""
errors: [StockBulkUpdateError!]
}
"""
Updates stocks for a given variant and warehouse.
Added in Saleor 3.13.
Note: this API is currently in Feature Preview and can be subject to changes at later point.
Requires one of the following permissions: MANAGE_PRODUCTS.
"""
type StockBulkUpdate {
"""Returns how many objects were updated."""
count: Int!
"""List of the updated stocks."""
results: [StockBulkResult!]!
errors: [StockBulkUpdateError!]!
}
type StockBulkUpdateError {
"""
Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
"""
field: String
"""The error message."""
message: String
"""The error code."""
code: StockBulkUpdateErrorCode!
}
"""An enumeration."""
enum StockBulkUpdateErrorCode {
GRAPHQL_ERROR
INVALID
NOT_FOUND
REQUIRED
}
input StockBulkUpdateInput {
"""Variant ID."""
variantId: ID
"""Variant external reference."""
variantExternalReference: String
"""Warehouse ID."""
warehouseId: ID
"""Warehouse external reference."""
warehouseExternalReference: String
"""Quantity of items available for sell."""
quantity: Int!
}
type StockCountableConnection { type StockCountableConnection {
"""Pagination data for this connection.""" """Pagination data for this connection."""
pageInfo: PageInfo! pageInfo: PageInfo!
@ -24237,8 +24030,6 @@ type ThumbnailCreated implements Event {
"""An enumeration.""" """An enumeration."""
enum ThumbnailFormatEnum { enum ThumbnailFormatEnum {
ORIGINAL
AVIF
WEBP WEBP
} }
@ -24994,12 +24785,12 @@ type User implements Node & ObjectWithMetadata {
editableGroups: [Group!] editableGroups: [Group!]
avatar( avatar(
""" """
Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). Size of the image. If not provided, the original image will be returned.
""" """
size: Int size: Int
""" """
The format of the image. When not provided, format of the original image will be used. The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.
Added in Saleor 3.6. Added in Saleor 3.6.

View file

@ -28,7 +28,6 @@ export const AppPage: React.FC<AppPageProps> = ({
name={data?.name} name={data?.name}
supportUrl={data?.supportUrl} supportUrl={data?.supportUrl}
homepageUrl={data?.homepageUrl} homepageUrl={data?.homepageUrl}
author={data?.author}
/> />
<DetailPageLayout.Content> <DetailPageLayout.Content>
<Box <Box

View file

@ -11,14 +11,12 @@ interface AppPageNavProps {
name: string | undefined | null; name: string | undefined | null;
supportUrl: string | undefined | null; supportUrl: string | undefined | null;
homepageUrl: string | undefined | null; homepageUrl: string | undefined | null;
author: string | undefined | null;
} }
export const AppPageNav: React.FC<AppPageNavProps> = ({ export const AppPageNav: React.FC<AppPageNavProps> = ({
name, name,
supportUrl, supportUrl,
homepageUrl, homepageUrl,
author,
}) => { }) => {
const location = useLocation<LinkState>(); const location = useLocation<LinkState>();
const goBackLink = location.state?.from ?? AppUrls.resolveAppListUrl(); const goBackLink = location.state?.from ?? AppUrls.resolveAppListUrl();
@ -35,48 +33,33 @@ export const AppPageNav: React.FC<AppPageNavProps> = ({
<TopNavLink to={goBackLink} variant="tertiary" /> <TopNavLink to={goBackLink} variant="tertiary" />
<Box display="flex" gap={5} alignItems="center"> <Box display="flex" gap={5} alignItems="center">
<AppAvatar /> <AppAvatar />
<Box display="flex" flexDirection="column"> <Text variant="heading">{name}</Text>
<Text variant="heading">{name}</Text>
<Text
variant="caption"
color="textNeutralSubdued"
textTransform="uppercase"
>
{author && (
<FormattedMessage
defaultMessage="by {author}"
id="6SL46U"
values={{ author }}
/>
)}
</Text>
</Box>
</Box> </Box>
</Box> </Box>
</Box> <Box display="flex" gap={4}>
<Box display="flex" gap={4}> {supportUrl && (
{supportUrl && ( <Button
<Button variant="secondary"
variant="secondary" size="medium"
size="medium" onClick={() => {
onClick={() => { window.open(supportUrl, "_blank");
window.open(supportUrl, "_blank"); }}
}} >
> <FormattedMessage defaultMessage="Support" id="HqRNN8" />
<FormattedMessage defaultMessage="Support" id="HqRNN8" /> </Button>
</Button> )}
)} {homepageUrl && (
{homepageUrl && ( <Button
<Button variant="secondary"
variant="secondary" size="medium"
size="medium" onClick={() => {
onClick={() => { window.open(homepageUrl, "_blank");
window.open(homepageUrl, "_blank"); }}
}} >
> <FormattedMessage defaultMessage="Homepage" id="rxNddi" />
<FormattedMessage defaultMessage="Homepage" id="rxNddi" /> </Button>
</Button> )}
)} </Box>
</Box> </Box>
</TopNavWrapper> </TopNavWrapper>
); );

View file

@ -105,7 +105,6 @@ export const appDetails: NonNullable<AppQuery["app"]> = {
isActive: true, isActive: true,
metadata: [], metadata: [],
name: "app1", name: "app1",
author: "Saleor Commerce",
permissions: [ permissions: [
{ {
__typename: "Permission", __typename: "Permission",

View file

@ -46,7 +46,6 @@ export const appDetails = gql`
app(id: $id) { app(id: $id) {
...App ...App
aboutApp aboutApp
author
permissions { permissions {
code code
name name

View file

@ -3414,7 +3414,6 @@ export const AppDocument = gql`
app(id: $id) { app(id: $id) {
...App ...App
aboutApp aboutApp
author
permissions { permissions {
code code
name name

File diff suppressed because one or more lines are too long

View file

@ -81,7 +81,6 @@ export enum AccountErrorCode {
PASSWORD_TOO_COMMON = 'PASSWORD_TOO_COMMON', PASSWORD_TOO_COMMON = 'PASSWORD_TOO_COMMON',
PASSWORD_TOO_SHORT = 'PASSWORD_TOO_SHORT', PASSWORD_TOO_SHORT = 'PASSWORD_TOO_SHORT',
PASSWORD_TOO_SIMILAR = 'PASSWORD_TOO_SIMILAR', PASSWORD_TOO_SIMILAR = 'PASSWORD_TOO_SIMILAR',
PASSWORD_RESET_ALREADY_REQUESTED = 'PASSWORD_RESET_ALREADY_REQUESTED',
REQUIRED = 'REQUIRED', REQUIRED = 'REQUIRED',
UNIQUE = 'UNIQUE', UNIQUE = 'UNIQUE',
JWT_SIGNATURE_EXPIRED = 'JWT_SIGNATURE_EXPIRED', JWT_SIGNATURE_EXPIRED = 'JWT_SIGNATURE_EXPIRED',
@ -186,8 +185,7 @@ export enum AppErrorCode {
REQUIRED = 'REQUIRED', REQUIRED = 'REQUIRED',
UNIQUE = 'UNIQUE', UNIQUE = 'UNIQUE',
OUT_OF_SCOPE_APP = 'OUT_OF_SCOPE_APP', OUT_OF_SCOPE_APP = 'OUT_OF_SCOPE_APP',
OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION', OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION'
UNSUPPORTED_SALEOR_VERSION = 'UNSUPPORTED_SALEOR_VERSION'
} }
export type AppExtensionFilterInput = { export type AppExtensionFilterInput = {
@ -690,76 +688,10 @@ export type AttributeWhereInput = {
export type BulkAttributeValueInput = { export type BulkAttributeValueInput = {
/** ID of the selected attribute. */ /** ID of the selected attribute. */
id?: InputMaybe<Scalars['ID']>; id?: InputMaybe<Scalars['ID']>;
/** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.This field will be removed in Saleor 4.0. */ /** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created. */
values?: InputMaybe<Array<Scalars['String']>>; values?: InputMaybe<Array<Scalars['String']>>;
/**
* Attribute value ID.
*
* Added in Saleor 3.12.
*/
dropdown?: InputMaybe<AttributeValueSelectableTypeInput>;
/**
* Attribute value ID.
*
* Added in Saleor 3.12.
*/
swatch?: InputMaybe<AttributeValueSelectableTypeInput>;
/**
* List of attribute value IDs.
*
* Added in Saleor 3.12.
*/
multiselect?: InputMaybe<Array<AttributeValueSelectableTypeInput>>;
/**
* Numeric value of an attribute.
*
* Added in Saleor 3.12.
*/
numeric?: InputMaybe<Scalars['String']>;
/**
* URL of the file attribute. Every time, a new value is created.
*
* Added in Saleor 3.12.
*/
file?: InputMaybe<Scalars['String']>;
/**
* File content type.
*
* Added in Saleor 3.12.
*/
contentType?: InputMaybe<Scalars['String']>;
/**
* List of entity IDs that will be used as references.
*
* Added in Saleor 3.12.
*/
references?: InputMaybe<Array<Scalars['ID']>>;
/**
* Text content in JSON format.
*
* Added in Saleor 3.12.
*/
richText?: InputMaybe<Scalars['JSONString']>;
/**
* Plain text content.
*
* Added in Saleor 3.12.
*/
plainText?: InputMaybe<Scalars['String']>;
/** The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. */ /** The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. */
boolean?: InputMaybe<Scalars['Boolean']>; boolean?: InputMaybe<Scalars['Boolean']>;
/**
* Represents the date value of the attribute value.
*
* Added in Saleor 3.12.
*/
date?: InputMaybe<Scalars['Date']>;
/**
* Represents the date/time value of the attribute value.
*
* Added in Saleor 3.12.
*/
dateTime?: InputMaybe<Scalars['DateTime']>;
}; };
export type CardInput = { export type CardInput = {
@ -4147,7 +4079,7 @@ export type ProductCreateInput = {
/** /**
* Tax rate for enabled tax gateway. * Tax rate for enabled tax gateway.
* *
* DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.
*/ */
taxCode?: InputMaybe<Scalars['String']>; taxCode?: InputMaybe<Scalars['String']>;
/** Search engine optimization fields. */ /** Search engine optimization fields. */
@ -4299,7 +4231,7 @@ export type ProductInput = {
/** /**
* Tax rate for enabled tax gateway. * Tax rate for enabled tax gateway.
* *
* DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.
*/ */
taxCode?: InputMaybe<Scalars['String']>; taxCode?: InputMaybe<Scalars['String']>;
/** Search engine optimization fields. */ /** Search engine optimization fields. */
@ -4474,7 +4406,7 @@ export type ProductTypeInput = {
/** /**
* Tax rate for enabled tax gateway. * Tax rate for enabled tax gateway.
* *
* DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. * DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type.
*/ */
taxCode?: InputMaybe<Scalars['String']>; taxCode?: InputMaybe<Scalars['String']>;
/** ID of a tax class to assign to this product type. All products of this product type would use this tax class, unless it's overridden in the `Product` type. */ /** ID of a tax class to assign to this product type. All products of this product type would use this tax class, unless it's overridden in the `Product` type. */
@ -5194,27 +5126,6 @@ export enum StockAvailability {
OUT_OF_STOCK = 'OUT_OF_STOCK' OUT_OF_STOCK = 'OUT_OF_STOCK'
} }
/** An enumeration. */
export enum StockBulkUpdateErrorCode {
GRAPHQL_ERROR = 'GRAPHQL_ERROR',
INVALID = 'INVALID',
NOT_FOUND = 'NOT_FOUND',
REQUIRED = 'REQUIRED'
}
export type StockBulkUpdateInput = {
/** Variant ID. */
variantId?: InputMaybe<Scalars['ID']>;
/** Variant external reference. */
variantExternalReference?: InputMaybe<Scalars['String']>;
/** Warehouse ID. */
warehouseId?: InputMaybe<Scalars['ID']>;
/** Warehouse external reference. */
warehouseExternalReference?: InputMaybe<Scalars['String']>;
/** Quantity of items available for sell. */
quantity: Scalars['Int'];
};
/** An enumeration. */ /** An enumeration. */
export enum StockErrorCode { export enum StockErrorCode {
ALREADY_EXISTS = 'ALREADY_EXISTS', ALREADY_EXISTS = 'ALREADY_EXISTS',
@ -5406,8 +5317,6 @@ export enum TaxExemptionManageErrorCode {
/** An enumeration. */ /** An enumeration. */
export enum ThumbnailFormatEnum { export enum ThumbnailFormatEnum {
ORIGINAL = 'ORIGINAL',
AVIF = 'AVIF',
WEBP = 'WEBP' WEBP = 'WEBP'
} }
@ -6932,7 +6841,7 @@ export type AppQueryVariables = Exact<{
}>; }>;
export type AppQuery = { __typename: 'Query', app: { __typename: 'App', aboutApp: string | null, author: string | null, dataPrivacy: string | null, dataPrivacyUrl: string | null, id: string, name: string | null, created: any | null, isActive: boolean | null, type: AppTypeEnum | null, homepageUrl: string | null, appUrl: string | null, manifestUrl: string | null, configurationUrl: string | null, supportUrl: string | null, version: string | null, accessToken: string | null, permissions: Array<{ __typename: 'Permission', code: PermissionEnum, name: string }> | null, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, tokens: Array<{ __typename: 'AppToken', authToken: string | null, id: string, name: string | null }> | null, webhooks: Array<{ __typename: 'Webhook', id: string, name: string, isActive: boolean, app: { __typename: 'App', id: string, name: string | null } }> | null } | null }; export type AppQuery = { __typename: 'Query', app: { __typename: 'App', aboutApp: string | null, dataPrivacy: string | null, dataPrivacyUrl: string | null, id: string, name: string | null, created: any | null, isActive: boolean | null, type: AppTypeEnum | null, homepageUrl: string | null, appUrl: string | null, manifestUrl: string | null, configurationUrl: string | null, supportUrl: string | null, version: string | null, accessToken: string | null, permissions: Array<{ __typename: 'Permission', code: PermissionEnum, name: string }> | null, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, tokens: Array<{ __typename: 'AppToken', authToken: string | null, id: string, name: string | null }> | null, webhooks: Array<{ __typename: 'Webhook', id: string, name: string, isActive: boolean, app: { __typename: 'App', id: string, name: string | null } }> | null } | null };
export type ExtensionListQueryVariables = Exact<{ export type ExtensionListQueryVariables = Exact<{
filter: AppExtensionFilterInput; filter: AppExtensionFilterInput;