EmailGenerator`} default={`HandlebarsMjmlGenerator `} />
-An optional allowed EmailGenerator, used to allow custom email generation functionality to
+An optional allowed EmailGenerator, used to allow custom email generation functionality to
better match with custom email sending functionality.
@@ -86,8 +86,8 @@ better match with custom email sending functionality.
-Allows you to dynamically load the "globalTemplateVars" key async and access Vendure services
-to create the object. This is not a requirement. You can also specify a simple static object if your
+Allows you to dynamically load the "globalTemplateVars" key async and access Vendure services
+to create the object. This is not a requirement. You can also specify a simple static object if your
projects doesn't need to access async or dynamic values.
*Example*
@@ -112,9 +112,9 @@ EmailPlugin.init({
```
```ts title="Signature"
-type GlobalTemplateVarsFn = (
- ctx: RequestContext,
- injector: Injector,
+type GlobalTemplateVarsFn = (
+ ctx: RequestContext,
+ injector: Injector,
) => Promise<{ [key: string]: any }>
```
diff --git a/docs/docs/reference/graphql-api/admin/object-types.md b/docs/docs/reference/graphql-api/admin/object-types.md
index 9e1c842e9c..2d1ac5ff65 100644
--- a/docs/docs/reference/graphql-api/admin/object-types.md
+++ b/docs/docs/reference/graphql-api/admin/object-types.md
@@ -267,6 +267,28 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## BooleanStructFieldConfig
+
+
+
type BooleanStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -793,7 +815,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
union CustomFieldConfig =
-
+
## CustomFields
@@ -990,6 +1012,39 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## DateTimeStructFieldConfig
+
+
+
+
+
+
+
+
type DateTimeStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -1310,6 +1365,34 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## FloatStructFieldConfig
+
+
+
type FloatStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -1575,6 +1658,34 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## IntStructFieldConfig
+
+
+
type IntStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -3849,6 +3960,71 @@ import MemberDescription from '@site/src/components/MemberDescription';
}
+## StringStructFieldConfig
+
+
+
type StringStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
+
+
+## StructCustomFieldConfig
+
+
+
type StructCustomFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
+
+
+## StructFieldConfig
+
+
+
union StructFieldConfig =
+
+
+
## Success
@@ -4051,6 +4227,28 @@ import MemberDescription from '@site/src/components/MemberDescription';
+
}
+
+
+## TextStructFieldConfig
+
+
+
type TextStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
diff --git a/docs/docs/reference/graphql-api/shop/object-types.md b/docs/docs/reference/graphql-api/shop/object-types.md
index 0b0c887e9f..eb54c9df09 100644
--- a/docs/docs/reference/graphql-api/shop/object-types.md
+++ b/docs/docs/reference/graphql-api/shop/object-types.md
@@ -207,6 +207,28 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## BooleanStructFieldConfig
+
+
+
type BooleanStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -581,7 +603,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
union CustomFieldConfig =
-
+
## Customer
@@ -693,6 +715,39 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## DateTimeStructFieldConfig
+
+
+
+
+
+
+
+
type DateTimeStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -917,6 +972,34 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## FloatStructFieldConfig
+
+
+
type FloatStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -1145,6 +1228,34 @@ import MemberDescription from '@site/src/components/MemberDescription';
+}
+
+
+## IntStructFieldConfig
+
+
+
type IntStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
@@ -2800,6 +2911,71 @@ import MemberDescription from '@site/src/components/MemberDescription';
}
+## StringStructFieldConfig
+
+
+
type StringStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
+
+
+## StructCustomFieldConfig
+
+
+
type StructCustomFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
+
+
+## StructFieldConfig
+
+
+
union StructFieldConfig =
+
+
+
## Success
@@ -2964,6 +3140,28 @@ import MemberDescription from '@site/src/components/MemberDescription';
+
}
+
+
+## TextStructFieldConfig
+
+
+
type TextStructFieldConfig {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
diff --git a/docs/docs/reference/typescript-api/auth/default-session-cache-strategy.md b/docs/docs/reference/typescript-api/auth/default-session-cache-strategy.md
index f4ab67f26b..62536081e9 100644
--- a/docs/docs/reference/typescript-api/auth/default-session-cache-strategy.md
+++ b/docs/docs/reference/typescript-api/auth/default-session-cache-strategy.md
@@ -13,16 +13,16 @@ import MemberDescription from '@site/src/components/MemberDescription';
-The default SessionCacheStrategy delegates to the configured
-CacheStrategy to store the session data. This should be suitable
+The default SessionCacheStrategy delegates to the configured
+CacheStrategy to store the session data. This should be suitable
for most use-cases, assuming you select a suitable CacheStrategy
```ts title="Signature"
class DefaultSessionCacheStrategy implements SessionCacheStrategy {
protected cacheService: CacheService;
- constructor(options?: {
- ttl?: number;
- cachePrefix?: string;
+ constructor(options?: {
+ ttl?: number;
+ cachePrefix?: string;
})
init(injector: Injector) => ;
set(session: CachedSession) => Promise;
@@ -44,7 +44,7 @@ class DefaultSessionCacheStrategy implements SessionCacheStrategy {
### constructor
- DefaultSessionCacheStrategy`} />
+ DefaultSessionCacheStrategy`} />
### init
diff --git a/docs/docs/reference/typescript-api/auth/external-authentication-service.md b/docs/docs/reference/typescript-api/auth/external-authentication-service.md
index e6ee877b07..c2e6a04ca2 100644
--- a/docs/docs/reference/typescript-api/auth/external-authentication-service.md
+++ b/docs/docs/reference/typescript-api/auth/external-authentication-service.md
@@ -13,7 +13,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
-This is a helper service which exposes methods related to looking up and creating Users based on an
+This is a helper service which exposes methods related to looking up and creating Users based on an
external AuthenticationStrategy .
```ts title="Signature"
@@ -21,27 +21,27 @@ class ExternalAuthenticationService {
constructor(connection: TransactionalConnection, roleService: RoleService, historyService: HistoryService, customerService: CustomerService, administratorService: AdministratorService, channelService: ChannelService)
findCustomerUser(ctx: RequestContext, strategy: string, externalIdentifier: string, checkCurrentChannelOnly: = true) => Promise;
findAdministratorUser(ctx: RequestContext, strategy: string, externalIdentifier: string) => Promise;
- createCustomerAndUser(ctx: RequestContext, config: {
- strategy: string;
- externalIdentifier: string;
- emailAddress: string;
- firstName: string;
- lastName: string;
- verified?: boolean;
+ createCustomerAndUser(ctx: RequestContext, config: {
+ strategy: string;
+ externalIdentifier: string;
+ emailAddress: string;
+ firstName: string;
+ lastName: string;
+ verified?: boolean;
}) => Promise;
- createAdministratorAndUser(ctx: RequestContext, config: {
- strategy: string;
- externalIdentifier: string;
- identifier: string;
- emailAddress?: string;
- firstName?: string;
- lastName?: string;
- roles: Role[];
+ createAdministratorAndUser(ctx: RequestContext, config: {
+ strategy: string;
+ externalIdentifier: string;
+ identifier: string;
+ emailAddress?: string;
+ firstName?: string;
+ lastName?: string;
+ roles: Role[];
}) => ;
findUser(ctx: RequestContext, strategy: string, externalIdentifier: string) => Promise;
- createUser(ctx: RequestContext, config: {
- strategy: string;
- externalIdentifier: string;
+ createUser(ctx: RequestContext, config: {
+ strategy: string;
+ externalIdentifier: string;
}) => Promise;
}
```
@@ -57,32 +57,32 @@ class ExternalAuthenticationService {
RequestContext, strategy: string, externalIdentifier: string, checkCurrentChannelOnly: = true) => Promise<User | undefined>`} />
-Looks up a User based on their identifier from an external authentication
-provider, ensuring this User is associated with a Customer account.
-
-By default, only customers in the currently-active Channel will be checked.
-By passing `false` as the `checkCurrentChannelOnly` argument, _all_ channels
+Looks up a User based on their identifier from an external authentication
+provider, ensuring this User is associated with a Customer account.
+
+By default, only customers in the currently-active Channel will be checked.
+By passing `false` as the `checkCurrentChannelOnly` argument, _all_ channels
will be checked.
### findAdministratorUser
RequestContext, strategy: string, externalIdentifier: string) => Promise<User | undefined>`} />
-Looks up a User based on their identifier from an external authentication
+Looks up a User based on their identifier from an external authentication
provider, ensuring this User is associated with an Administrator account.
### createCustomerAndUser
-RequestContext, config: { strategy: string; externalIdentifier: string; emailAddress: string; firstName: string; lastName: string; verified?: boolean; }) => Promise<User >`} />
+RequestContext, config: {
strategy: string;
externalIdentifier: string;
emailAddress: string;
firstName: string;
lastName: string;
verified?: boolean;
}) => Promise<User >`} />
-If a customer has been successfully authenticated by an external authentication provider, yet cannot
-be found using `findCustomerUser`, then we need to create a new User and
-Customer record in Vendure for that user. This method encapsulates that logic as well as additional
+If a customer has been successfully authenticated by an external authentication provider, yet cannot
+be found using `findCustomerUser`, then we need to create a new User and
+Customer record in Vendure for that user. This method encapsulates that logic as well as additional
housekeeping such as adding a record to the Customer's history.
### createAdministratorAndUser
-RequestContext, config: { strategy: string; externalIdentifier: string; identifier: string; emailAddress?: string; firstName?: string; lastName?: string; roles: Role []; }) => `} />
+RequestContext, config: {
strategy: string;
externalIdentifier: string;
identifier: string;
emailAddress?: string;
firstName?: string;
lastName?: string;
roles: Role [];
}) => `} />
-If an administrator has been successfully authenticated by an external authentication provider, yet cannot
-be found using `findAdministratorUser`, then we need to create a new User and
+If an administrator has been successfully authenticated by an external authentication provider, yet cannot
+be found using `findAdministratorUser`, then we need to create a new User and
Administrator record in Vendure for that user.
### findUser
@@ -91,11 +91,11 @@ Administrator record in Vendure for that user.
### createUser
-RequestContext, config: { strategy: string; externalIdentifier: string; }) => Promise<User >`} />
+RequestContext, config: {
strategy: string;
externalIdentifier: string;
}) => Promise<User >`} />
-Looks up a User based on their identifier from an external authentication
-provider. Creates the user if does not exist. Unlike `findCustomerUser` and `findAdministratorUser`,
-this method does not enforce that the User is associated with a Customer or
+Looks up a User based on their identifier from an external authentication
+provider. Creates the user if does not exist. Unlike `findCustomerUser` and `findAdministratorUser`,
+this method does not enforce that the User is associated with a Customer or
Administrator account.
diff --git a/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-config.md b/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-config.md
index 25cece8358..593b0e5a38 100644
--- a/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-config.md
+++ b/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-config.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## AdminUiAppConfig
-
+
Configures the path to a custom-build of the Admin UI app.
diff --git a/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-dev-mode-config.md b/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-dev-mode-config.md
index 56008951b1..3230e6e2dc 100644
--- a/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-dev-mode-config.md
+++ b/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-app-dev-mode-config.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## AdminUiAppDevModeConfig
-
+
Information about the Admin UI app dev server.
diff --git a/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-config.md b/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-config.md
index 9403dffbb2..600e54b96e 100644
--- a/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-config.md
+++ b/docs/docs/reference/typescript-api/common/admin-ui/admin-ui-config.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## AdminUiConfig
-
+
This interface describes JSON config file (vendure-ui-config.json) used by the Admin UI.
The values are loaded at run-time by the Admin UI app, and allow core configuration to be
diff --git a/docs/docs/reference/typescript-api/common/currency-code.md b/docs/docs/reference/typescript-api/common/currency-code.md
index f2f32f5220..d881fd3ec1 100644
--- a/docs/docs/reference/typescript-api/common/currency-code.md
+++ b/docs/docs/reference/typescript-api/common/currency-code.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## CurrencyCode
-
+
ISO 4217 currency code
diff --git a/docs/docs/reference/typescript-api/common/job-state.md b/docs/docs/reference/typescript-api/common/job-state.md
index 53fc2c1037..819cf8523a 100644
--- a/docs/docs/reference/typescript-api/common/job-state.md
+++ b/docs/docs/reference/typescript-api/common/job-state.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## JobState
-
+
The state of a Job in the JobQueue
diff --git a/docs/docs/reference/typescript-api/common/language-code.md b/docs/docs/reference/typescript-api/common/language-code.md
index c586d097d6..38b00f3e89 100644
--- a/docs/docs/reference/typescript-api/common/language-code.md
+++ b/docs/docs/reference/typescript-api/common/language-code.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## LanguageCode
-
+
Languages in the form of a ISO 639-1 language code with optional
region or script modifier (e.g. de_AT). The selection available is based
diff --git a/docs/docs/reference/typescript-api/common/permission.md b/docs/docs/reference/typescript-api/common/permission.md
index d14454f1a5..b9aa0a06e3 100644
--- a/docs/docs/reference/typescript-api/common/permission.md
+++ b/docs/docs/reference/typescript-api/common/permission.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## Permission
-
+
Permissions for administrators and customers. Used to control access to
GraphQL resolvers via the Allow decorator.
diff --git a/docs/docs/reference/typescript-api/configurable-operation-def/config-arg-type.md b/docs/docs/reference/typescript-api/configurable-operation-def/config-arg-type.md
index 318be9a8ff..49d4610cac 100644
--- a/docs/docs/reference/typescript-api/configurable-operation-def/config-arg-type.md
+++ b/docs/docs/reference/typescript-api/configurable-operation-def/config-arg-type.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## ConfigArgType
-
+
Certain entities (those which implement ConfigurableOperationDef ) allow arbitrary
configuration arguments to be specified which can then be set in the admin-ui and used in
diff --git a/docs/docs/reference/typescript-api/configurable-operation-def/default-form-component-id.md b/docs/docs/reference/typescript-api/configurable-operation-def/default-form-component-id.md
index bc73096e18..d1ce6a404c 100644
--- a/docs/docs/reference/typescript-api/configurable-operation-def/default-form-component-id.md
+++ b/docs/docs/reference/typescript-api/configurable-operation-def/default-form-component-id.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## DefaultFormComponentId
-
+
The ids of the default form input components that ship with the
Admin UI.
@@ -34,4 +34,5 @@ type DefaultFormComponentId = | 'boolean-form-input'
| 'textarea-form-input'
| 'product-multi-form-input'
| 'combination-mode-form-input'
+ | 'struct-form-input'
```
diff --git a/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md b/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md
index f2741629dd..452f114727 100644
--- a/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md
+++ b/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## DefaultFormConfigHash
-
+
Used to define the expected arguments for a given default form input component.
@@ -40,6 +40,7 @@ type DefaultFormConfigHash = {
selectionMode?: 'product' | 'variant';
};
'combination-mode-form-input': Record;
+ 'struct-form-input': Record;
}
```
@@ -130,6 +131,11 @@ type DefaultFormConfigHash = {
+### 'struct-form-input'
+
+
+
+
diff --git a/docs/docs/reference/typescript-api/custom-fields/custom-field-config.md b/docs/docs/reference/typescript-api/custom-fields/custom-field-config.md
index c523ee4790..b335f8c3be 100644
--- a/docs/docs/reference/typescript-api/custom-fields/custom-field-config.md
+++ b/docs/docs/reference/typescript-api/custom-fields/custom-field-config.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## CustomFieldConfig
-
+
An object used to configure a custom field.
@@ -25,4 +25,5 @@ type CustomFieldConfig = | StringCustomFieldConfig
| BooleanCustomFieldConfig
| DateTimeCustomFieldConfig
| RelationCustomFieldConfig
+ | StructCustomFieldConfig
```
diff --git a/docs/docs/reference/typescript-api/custom-fields/custom-field-type.md b/docs/docs/reference/typescript-api/custom-fields/custom-field-type.md
index fa0f5d2943..ad121b9b4d 100644
--- a/docs/docs/reference/typescript-api/custom-fields/custom-field-type.md
+++ b/docs/docs/reference/typescript-api/custom-fields/custom-field-type.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## CustomFieldType
-
+
A data type for a custom field. The CustomFieldType determines the data types used in the generated
database columns and GraphQL fields as follows (key: m = MySQL, p = Postgres, s = SQLite):
@@ -21,11 +21,12 @@ Type | DB type | GraphQL type
string | varchar | String
localeString | varchar | String
text | longtext(m), text(p,s) | String
-localeText | longtext(m), text(p,s) | String
+localeText | longtext(m), text(p,s) | String
int | int | Int
float | double precision | Float
boolean | tinyint (m), bool (p), boolean (s) | Boolean
datetime | datetime (m,s), timestamp (p) | DateTime
+struct | json (m), jsonb (p), text (s) | JSON
relation | many-to-one / many-to-many relation | As specified in config
Additionally, the CustomFieldType also dictates which [configuration options](/reference/typescript-api/custom-fields/#custom-field-config-properties)
@@ -41,4 +42,5 @@ type CustomFieldType = | 'string'
| 'relation'
| 'text'
| 'localeText'
+ | 'struct'
```
diff --git a/docs/docs/reference/typescript-api/custom-fields/index.md b/docs/docs/reference/typescript-api/custom-fields/index.md
index 9cfa5c8d98..711aa093bd 100644
--- a/docs/docs/reference/typescript-api/custom-fields/index.md
+++ b/docs/docs/reference/typescript-api/custom-fields/index.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## CustomFields
-
+
Most entities can have additional fields added to them by defining an array of CustomFieldConfig objects on against the corresponding key.
diff --git a/docs/docs/reference/typescript-api/custom-fields/struct-custom-field-config.md b/docs/docs/reference/typescript-api/custom-fields/struct-custom-field-config.md
new file mode 100644
index 0000000000..658814258b
--- /dev/null
+++ b/docs/docs/reference/typescript-api/custom-fields/struct-custom-field-config.md
@@ -0,0 +1,25 @@
+---
+title: "StructCustomFieldConfig"
+isDefaultIndex: false
+generated: true
+---
+
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
+
+
+## StructCustomFieldConfig
+
+
+
+Configures a "struct" custom field.
+
+```ts title="Signature"
+type StructCustomFieldConfig = TypedCustomFieldConfig<
+ 'struct',
+ Omit
+> & {
+ fields: StructFieldConfig[];
+}
+```
diff --git a/docs/docs/reference/typescript-api/custom-fields/struct-field-config.md b/docs/docs/reference/typescript-api/custom-fields/struct-field-config.md
new file mode 100644
index 0000000000..e3c4b65fec
--- /dev/null
+++ b/docs/docs/reference/typescript-api/custom-fields/struct-field-config.md
@@ -0,0 +1,45 @@
+---
+title: "StructFieldConfig"
+isDefaultIndex: false
+generated: true
+---
+
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
+
+
+## StructFieldConfig
+
+
+
+Configures an individual field of a "struct" custom field. The individual fields share
+the same API as the top-level custom fields, with the exception that they do not support the
+`readonly`, `internal`, `nullable`, `unique` and `requiresPermission` options.
+
+*Example*
+
+```ts
+const customFields: CustomFields = {
+ Product: [
+ {
+ name: 'specifications',
+ type: 'struct',
+ fields: [
+ { name: 'processor', type: 'string' },
+ { name: 'ram', type: 'string' },
+ { name: 'screenSize', type: 'float' },
+ ],
+ },
+ ],
+};
+```
+
+```ts title="Signature"
+type StructFieldConfig = | StringStructFieldConfig
+ | TextStructFieldConfig
+ | IntStructFieldConfig
+ | FloatStructFieldConfig
+ | BooleanStructFieldConfig
+ | DateTimeStructFieldConfig
+```
diff --git a/docs/docs/reference/typescript-api/custom-fields/typed-custom-single-field-config.md b/docs/docs/reference/typescript-api/custom-fields/typed-custom-single-field-config.md
index eb2ad76c2a..435fed6ca6 100644
--- a/docs/docs/reference/typescript-api/custom-fields/typed-custom-single-field-config.md
+++ b/docs/docs/reference/typescript-api/custom-fields/typed-custom-single-field-config.md
@@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
## TypedCustomSingleFieldConfig
-
+
Configures a custom field on an entity in the CustomFields config object.
diff --git a/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md b/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md
index 79fa387205..09441d53bc 100644
--- a/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md
+++ b/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md
@@ -27,10 +27,10 @@ class SimpleGraphQLClient {
asUserWithCredentials(username: string, password: string) => ;
asSuperAdmin() => ;
asAnonymousUser() => ;
- fileUploadMutation(options: {
- mutation: DocumentNode;
- filePaths: string[];
- mapVariables: (filePaths: string[]) => any;
+ fileUploadMutation(options: {
+ mutation: DocumentNode;
+ filePaths: string[];
+ mapVariables: (filePaths: string[]) => any;
}) => Promise;
}
```
@@ -66,8 +66,8 @@ Performs both query and mutation operations.
Promise<Response>`} />
-Performs a raw HTTP request to the given URL, but also includes the authToken & channelToken
-headers if they have been set. Useful for testing non-GraphQL endpoints, e.g. for plugins
+Performs a raw HTTP request to the given URL, but also includes the authToken & channelToken
+headers if they have been set. Useful for testing non-GraphQL endpoints, e.g. for plugins
which make use of REST controllers.
### queryStatus
@@ -91,11 +91,11 @@ Logs in as the SuperAdmin user.
Logs out so that the client is then treated as an anonymous user.
### fileUploadMutation
- Promise<any>`} />
+ Promise<any>`} />
-Perform a file upload mutation.
-
-Upload spec: https://github.com/jaydenseric/graphql-multipart-request-spec
+Perform a file upload mutation.
+
+Upload spec: https://github.com/jaydenseric/graphql-multipart-request-spec
Discussion of issue: https://github.com/jaydenseric/apollo-upload-client/issues/32
diff --git a/graphql.config.yml b/graphql.config.yml
new file mode 100644
index 0000000000..fd4d8998ad
--- /dev/null
+++ b/graphql.config.yml
@@ -0,0 +1,2 @@
+schema: ./schema-admin.json
+documents: '**/*.graphql'
diff --git a/packages/admin-ui/src/lib/core/src/common/generated-types.ts b/packages/admin-ui/src/lib/core/src/common/generated-types.ts
index e24d36a293..401096db04 100644
--- a/packages/admin-ui/src/lib/core/src/common/generated-types.ts
+++ b/packages/admin-ui/src/lib/core/src/common/generated-types.ts
@@ -337,6 +337,17 @@ export type BooleanOperators = {
isNull?: InputMaybe;
};
+export type BooleanStructFieldConfig = StructField & {
+ __typename?: 'BooleanStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
/** Returned if an attempting to cancel lines from an Order which is still active */
export type CancelActiveOrderError = ErrorResult & {
__typename?: 'CancelActiveOrderError';
@@ -1336,7 +1347,7 @@ export type CustomField = {
ui?: Maybe;
};
-export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig;
+export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | TextCustomFieldConfig;
/**
* This type is deprecated in v2.2 in favor of the EntityCustomFields type,
@@ -1536,6 +1547,24 @@ export type DateTimeCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+/**
+ * Expects the same validation formats as the ` ` HTML element.
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
+ */
+export type DateTimeStructFieldConfig = StructField & {
+ __typename?: 'DateTimeStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type DeleteAssetInput = {
assetId: Scalars['ID']['input'];
deleteFromAllChannels?: InputMaybe;
@@ -1872,6 +1901,20 @@ export type FloatCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type FloatStructFieldConfig = StructField & {
+ __typename?: 'FloatStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type FulfillOrderInput = {
handler: ConfigurableOperationInput;
lines: Array;
@@ -2078,6 +2121,20 @@ export type IntCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type IntStructFieldConfig = StructField & {
+ __typename?: 'IntStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
/** Returned if the user authentication credentials are not valid */
export type InvalidCredentialsError = ErrorResult & {
__typename?: 'InvalidCredentialsError';
@@ -6110,6 +6167,47 @@ export type StringOperators = {
regex?: InputMaybe;
};
+export type StringStructFieldConfig = StructField & {
+ __typename?: 'StringStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ length?: Maybe;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ options?: Maybe>;
+ pattern?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructCustomFieldConfig = CustomField & {
+ __typename?: 'StructCustomFieldConfig';
+ description?: Maybe>;
+ fields: Array;
+ internal?: Maybe;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ readonly?: Maybe;
+ requiresPermission?: Maybe>;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructField = {
+ description?: Maybe>;
+ label?: Maybe>;
+ list?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig;
+
/** Indicates that an operation succeeded, where we do not want to return any more specific information. */
export type Success = {
__typename?: 'Success';
@@ -6329,6 +6427,17 @@ export type TextCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type TextStructFieldConfig = StructField & {
+ __typename?: 'TextStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError;
export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
@@ -8269,9 +8378,11 @@ type CustomFieldConfig_RelationCustomFieldConfig_Fragment = { __typename?: 'Rela
type CustomFieldConfig_StringCustomFieldConfig_Fragment = { __typename?: 'StringCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
+type CustomFieldConfig_StructCustomFieldConfig_Fragment = { __typename?: 'StructCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
+
type CustomFieldConfig_TextCustomFieldConfig_Fragment = { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
-export type CustomFieldConfigFragment = CustomFieldConfig_BooleanCustomFieldConfig_Fragment | CustomFieldConfig_DateTimeCustomFieldConfig_Fragment | CustomFieldConfig_FloatCustomFieldConfig_Fragment | CustomFieldConfig_IntCustomFieldConfig_Fragment | CustomFieldConfig_LocaleStringCustomFieldConfig_Fragment | CustomFieldConfig_LocaleTextCustomFieldConfig_Fragment | CustomFieldConfig_RelationCustomFieldConfig_Fragment | CustomFieldConfig_StringCustomFieldConfig_Fragment | CustomFieldConfig_TextCustomFieldConfig_Fragment;
+export type CustomFieldConfigFragment = CustomFieldConfig_BooleanCustomFieldConfig_Fragment | CustomFieldConfig_DateTimeCustomFieldConfig_Fragment | CustomFieldConfig_FloatCustomFieldConfig_Fragment | CustomFieldConfig_IntCustomFieldConfig_Fragment | CustomFieldConfig_LocaleStringCustomFieldConfig_Fragment | CustomFieldConfig_LocaleTextCustomFieldConfig_Fragment | CustomFieldConfig_RelationCustomFieldConfig_Fragment | CustomFieldConfig_StringCustomFieldConfig_Fragment | CustomFieldConfig_StructCustomFieldConfig_Fragment | CustomFieldConfig_TextCustomFieldConfig_Fragment;
export type StringCustomFieldFragment = { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
@@ -8291,6 +8402,8 @@ export type DateTimeCustomFieldFragment = { __typename?: 'DateTimeCustomFieldCon
export type RelationCustomFieldFragment = { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
+export type StructCustomFieldFragment = { __typename?: 'StructCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, fields: Array<{ __typename?: 'BooleanStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, pattern?: string | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null } | { __typename?: 'TextStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
+
type CustomFields_BooleanCustomFieldConfig_Fragment = { __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
type CustomFields_DateTimeCustomFieldConfig_Fragment = { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
@@ -8307,14 +8420,16 @@ type CustomFields_RelationCustomFieldConfig_Fragment = { __typename?: 'RelationC
type CustomFields_StringCustomFieldConfig_Fragment = { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
+type CustomFields_StructCustomFieldConfig_Fragment = { __typename?: 'StructCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, fields: Array<{ __typename?: 'BooleanStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, pattern?: string | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null } | { __typename?: 'TextStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
+
type CustomFields_TextCustomFieldConfig_Fragment = { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null };
-export type CustomFieldsFragment = CustomFields_BooleanCustomFieldConfig_Fragment | CustomFields_DateTimeCustomFieldConfig_Fragment | CustomFields_FloatCustomFieldConfig_Fragment | CustomFields_IntCustomFieldConfig_Fragment | CustomFields_LocaleStringCustomFieldConfig_Fragment | CustomFields_LocaleTextCustomFieldConfig_Fragment | CustomFields_RelationCustomFieldConfig_Fragment | CustomFields_StringCustomFieldConfig_Fragment | CustomFields_TextCustomFieldConfig_Fragment;
+export type CustomFieldsFragment = CustomFields_BooleanCustomFieldConfig_Fragment | CustomFields_DateTimeCustomFieldConfig_Fragment | CustomFields_FloatCustomFieldConfig_Fragment | CustomFields_IntCustomFieldConfig_Fragment | CustomFields_LocaleStringCustomFieldConfig_Fragment | CustomFields_LocaleTextCustomFieldConfig_Fragment | CustomFields_RelationCustomFieldConfig_Fragment | CustomFields_StringCustomFieldConfig_Fragment | CustomFields_StructCustomFieldConfig_Fragment | CustomFields_TextCustomFieldConfig_Fragment;
export type GetServerConfigQueryVariables = Exact<{ [key: string]: never; }>;
-export type GetServerConfigQuery = { globalSettings: { __typename?: 'GlobalSettings', id: string, serverConfig: { __typename?: 'ServerConfig', moneyStrategyPrecision: number, permittedAssetTypes: Array, orderProcess: Array<{ __typename?: 'OrderProcessState', name: string, to: Array }>, permissions: Array<{ __typename?: 'PermissionDefinition', name: string, description: string, assignable: boolean }>, entityCustomFields: Array<{ __typename?: 'EntityCustomFields', entityName: string, customFields: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> }> } } };
+export type GetServerConfigQuery = { globalSettings: { __typename?: 'GlobalSettings', id: string, serverConfig: { __typename?: 'ServerConfig', moneyStrategyPrecision: number, permittedAssetTypes: Array, orderProcess: Array<{ __typename?: 'OrderProcessState', name: string, to: Array }>, permissions: Array<{ __typename?: 'PermissionDefinition', name: string, description: string, assignable: boolean }>, entityCustomFields: Array<{ __typename?: 'EntityCustomFields', entityName: string, customFields: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StructCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, fields: Array<{ __typename?: 'BooleanStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, pattern?: string | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null } | { __typename?: 'TextStructFieldConfig', name: string, type: string, list: boolean, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, requiresPermission?: Array | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> }> } } };
export type JobInfoFragment = { __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number };
@@ -8992,7 +9107,8 @@ export const IntCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kin
export const FloatCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode;
export const DateTimeCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode;
export const RelationCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode;
-export const CustomFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleStringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleTextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IntCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FloatCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DateTimeCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RelationCustomField"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}}]} as unknown as DocumentNode;
+export const StructCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StructCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode;
+export const CustomFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleStringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleTextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IntCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FloatCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DateTimeCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RelationCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StructCustomField"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StructCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}}]}}]}}]} as unknown as DocumentNode;
export const JobInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode;
export const ConfigurableOperationDefFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperationDef"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperationDefinition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode;
export const ErrorResultFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode;
@@ -9215,7 +9331,7 @@ export const DeletePaymentMethodDocument = {"kind":"Document","definitions":[{"k
export const DeletePaymentMethodsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeletePaymentMethods"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletePaymentMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode;
export const GetGlobalSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetGlobalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"globalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GlobalSettings"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettings"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
export const UpdateGlobalSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateGlobalSettings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateGlobalSettingsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateGlobalSettings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GlobalSettings"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettings"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode;
-export const GetServerConfigDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetServerConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"globalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"moneyStrategyPrecision"}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permittedAssetTypes"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"entityCustomFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entityName"}},{"kind":"Field","name":{"kind":"Name","value":"customFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleStringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleTextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IntCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FloatCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DateTimeCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RelationCustomField"}}]}}]}}]} as unknown as DocumentNode;
+export const GetServerConfigDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetServerConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"globalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"moneyStrategyPrecision"}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permittedAssetTypes"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"entityCustomFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entityName"}},{"kind":"Field","name":{"kind":"Name","value":"customFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StructCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"fields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeStructFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleStringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleTextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IntCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FloatCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DateTimeCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RelationCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StructCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StructCustomField"}}]}}]}}]} as unknown as DocumentNode;
export const GetJobInfoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetJobInfo"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"job"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"jobId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode;
export const GetAllJobsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllJobs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JobListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode;
export const GetJobsByIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetJobsById"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobsById"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"jobIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode;
diff --git a/packages/admin-ui/src/lib/core/src/common/introspection-result.ts b/packages/admin-ui/src/lib/core/src/common/introspection-result.ts
index 3aa3f64e39..a5b6106435 100644
--- a/packages/admin-ui/src/lib/core/src/common/introspection-result.ts
+++ b/packages/admin-ui/src/lib/core/src/common/introspection-result.ts
@@ -1,331 +1,263 @@
/* eslint-disable */
- export interface PossibleTypesResultData {
- possibleTypes: {
- [key: string]: string[]
- }
- }
- const result: PossibleTypesResultData = {
- "possibleTypes": {
- "AddFulfillmentToOrderResult": [
- "CreateFulfillmentError",
- "EmptyOrderLineSelectionError",
- "Fulfillment",
- "FulfillmentStateTransitionError",
- "InsufficientStockOnHandError",
- "InvalidFulfillmentHandlerError",
- "ItemsAlreadyFulfilledError"
- ],
- "AddManualPaymentToOrderResult": [
- "ManualPaymentStateError",
- "Order"
- ],
- "ApplyCouponCodeResult": [
- "CouponCodeExpiredError",
- "CouponCodeInvalidError",
- "CouponCodeLimitError",
- "Order"
- ],
- "AuthenticationResult": [
- "CurrentUser",
- "InvalidCredentialsError"
- ],
- "CancelOrderResult": [
- "CancelActiveOrderError",
- "EmptyOrderLineSelectionError",
- "MultipleOrderError",
- "Order",
- "OrderStateTransitionError",
- "QuantityTooGreatError"
- ],
- "CancelPaymentResult": [
- "CancelPaymentError",
- "Payment",
- "PaymentStateTransitionError"
- ],
- "CreateAssetResult": [
- "Asset",
- "MimeTypeError"
- ],
- "CreateChannelResult": [
- "Channel",
- "LanguageNotAvailableError"
- ],
- "CreateCustomerResult": [
- "Customer",
- "EmailAddressConflictError"
- ],
- "CreatePromotionResult": [
- "MissingConditionsError",
- "Promotion"
- ],
- "CustomField": [
- "BooleanCustomFieldConfig",
- "DateTimeCustomFieldConfig",
- "FloatCustomFieldConfig",
- "IntCustomFieldConfig",
- "LocaleStringCustomFieldConfig",
- "LocaleTextCustomFieldConfig",
- "RelationCustomFieldConfig",
- "StringCustomFieldConfig",
- "TextCustomFieldConfig"
- ],
- "CustomFieldConfig": [
- "BooleanCustomFieldConfig",
- "DateTimeCustomFieldConfig",
- "FloatCustomFieldConfig",
- "IntCustomFieldConfig",
- "LocaleStringCustomFieldConfig",
- "LocaleTextCustomFieldConfig",
- "RelationCustomFieldConfig",
- "StringCustomFieldConfig",
- "TextCustomFieldConfig"
- ],
- "DuplicateEntityResult": [
- "DuplicateEntityError",
- "DuplicateEntitySuccess"
- ],
- "ErrorResult": [
- "AlreadyRefundedError",
- "CancelActiveOrderError",
- "CancelPaymentError",
- "ChannelDefaultLanguageError",
- "CouponCodeExpiredError",
- "CouponCodeInvalidError",
- "CouponCodeLimitError",
- "CreateFulfillmentError",
- "DuplicateEntityError",
- "EmailAddressConflictError",
- "EmptyOrderLineSelectionError",
- "FacetInUseError",
- "FulfillmentStateTransitionError",
- "GuestCheckoutError",
- "IneligibleShippingMethodError",
- "InsufficientStockError",
- "InsufficientStockOnHandError",
- "InvalidCredentialsError",
- "InvalidFulfillmentHandlerError",
- "ItemsAlreadyFulfilledError",
- "LanguageNotAvailableError",
- "ManualPaymentStateError",
- "MimeTypeError",
- "MissingConditionsError",
- "MultipleOrderError",
- "NativeAuthStrategyError",
- "NegativeQuantityError",
- "NoActiveOrderError",
- "NoChangesSpecifiedError",
- "NothingToRefundError",
- "OrderLimitError",
- "OrderModificationError",
- "OrderModificationStateError",
- "OrderStateTransitionError",
- "PaymentMethodMissingError",
- "PaymentOrderMismatchError",
- "PaymentStateTransitionError",
- "ProductOptionInUseError",
- "QuantityTooGreatError",
- "RefundAmountError",
- "RefundOrderStateError",
- "RefundPaymentIdMissingError",
- "RefundStateTransitionError",
- "SettlePaymentError"
- ],
- "ModifyOrderResult": [
- "CouponCodeExpiredError",
- "CouponCodeInvalidError",
- "CouponCodeLimitError",
- "IneligibleShippingMethodError",
- "InsufficientStockError",
- "NegativeQuantityError",
- "NoChangesSpecifiedError",
- "Order",
- "OrderLimitError",
- "OrderModificationStateError",
- "PaymentMethodMissingError",
- "RefundPaymentIdMissingError"
- ],
- "NativeAuthenticationResult": [
- "CurrentUser",
- "InvalidCredentialsError",
- "NativeAuthStrategyError"
- ],
- "Node": [
- "Address",
- "Administrator",
- "Allocation",
- "Asset",
- "AuthenticationMethod",
- "Cancellation",
- "Channel",
- "Collection",
- "Country",
- "Customer",
- "CustomerGroup",
- "Facet",
- "FacetValue",
- "Fulfillment",
- "HistoryEntry",
- "Job",
- "Order",
- "OrderLine",
- "OrderModification",
- "Payment",
- "PaymentMethod",
- "Product",
- "ProductOption",
- "ProductOptionGroup",
- "ProductVariant",
- "Promotion",
- "Province",
- "Refund",
- "Release",
- "Return",
- "Role",
- "Sale",
- "Seller",
- "ShippingMethod",
- "StockAdjustment",
- "StockLevel",
- "StockLocation",
- "Surcharge",
- "Tag",
- "TaxCategory",
- "TaxRate",
- "User",
- "Zone"
- ],
- "PaginatedList": [
- "AdministratorList",
- "AssetList",
- "ChannelList",
- "CollectionList",
- "CountryList",
- "CustomerGroupList",
- "CustomerList",
- "FacetList",
- "FacetValueList",
- "HistoryEntryList",
- "JobList",
- "OrderList",
- "PaymentMethodList",
- "ProductList",
- "ProductVariantList",
- "PromotionList",
- "ProvinceList",
- "RoleList",
- "SellerList",
- "ShippingMethodList",
- "StockLocationList",
- "TagList",
- "TaxCategoryList",
- "TaxRateList",
- "ZoneList"
- ],
- "RefundOrderResult": [
- "AlreadyRefundedError",
- "MultipleOrderError",
- "NothingToRefundError",
- "OrderStateTransitionError",
- "PaymentOrderMismatchError",
- "QuantityTooGreatError",
- "Refund",
- "RefundAmountError",
- "RefundOrderStateError",
- "RefundStateTransitionError"
- ],
- "Region": [
- "Country",
- "Province"
- ],
- "RemoveFacetFromChannelResult": [
- "Facet",
- "FacetInUseError"
- ],
- "RemoveOptionGroupFromProductResult": [
- "Product",
- "ProductOptionInUseError"
- ],
- "RemoveOrderItemsResult": [
- "Order",
- "OrderModificationError"
- ],
- "SearchResultPrice": [
- "PriceRange",
- "SinglePrice"
- ],
- "SetCustomerForDraftOrderResult": [
- "EmailAddressConflictError",
- "Order"
- ],
- "SetOrderShippingMethodResult": [
- "IneligibleShippingMethodError",
- "NoActiveOrderError",
- "Order",
- "OrderModificationError"
- ],
- "SettlePaymentResult": [
- "OrderStateTransitionError",
- "Payment",
- "PaymentStateTransitionError",
- "SettlePaymentError"
- ],
- "SettleRefundResult": [
- "Refund",
- "RefundStateTransitionError"
- ],
- "StockMovement": [
- "Allocation",
- "Cancellation",
- "Release",
- "Return",
- "Sale",
- "StockAdjustment"
- ],
- "StockMovementItem": [
- "Allocation",
- "Cancellation",
- "Release",
- "Return",
- "Sale",
- "StockAdjustment"
- ],
- "TransitionFulfillmentToStateResult": [
- "Fulfillment",
- "FulfillmentStateTransitionError"
- ],
- "TransitionOrderToStateResult": [
- "Order",
- "OrderStateTransitionError"
- ],
- "TransitionPaymentToStateResult": [
- "Payment",
- "PaymentStateTransitionError"
- ],
- "UpdateChannelResult": [
- "Channel",
- "LanguageNotAvailableError"
- ],
- "UpdateCustomerResult": [
- "Customer",
- "EmailAddressConflictError"
- ],
- "UpdateGlobalSettingsResult": [
- "ChannelDefaultLanguageError",
- "GlobalSettings"
- ],
- "UpdateOrderItemsResult": [
- "InsufficientStockError",
- "NegativeQuantityError",
- "Order",
- "OrderLimitError",
- "OrderModificationError"
- ],
- "UpdatePromotionResult": [
- "MissingConditionsError",
- "Promotion"
- ]
- }
+export interface PossibleTypesResultData {
+ possibleTypes: {
+ [key: string]: string[];
+ };
+}
+const result: PossibleTypesResultData = {
+ possibleTypes: {
+ AddFulfillmentToOrderResult: [
+ 'CreateFulfillmentError',
+ 'EmptyOrderLineSelectionError',
+ 'Fulfillment',
+ 'FulfillmentStateTransitionError',
+ 'InsufficientStockOnHandError',
+ 'InvalidFulfillmentHandlerError',
+ 'ItemsAlreadyFulfilledError',
+ ],
+ AddManualPaymentToOrderResult: ['ManualPaymentStateError', 'Order'],
+ ApplyCouponCodeResult: [
+ 'CouponCodeExpiredError',
+ 'CouponCodeInvalidError',
+ 'CouponCodeLimitError',
+ 'Order',
+ ],
+ AuthenticationResult: ['CurrentUser', 'InvalidCredentialsError'],
+ CancelOrderResult: [
+ 'CancelActiveOrderError',
+ 'EmptyOrderLineSelectionError',
+ 'MultipleOrderError',
+ 'Order',
+ 'OrderStateTransitionError',
+ 'QuantityTooGreatError',
+ ],
+ CancelPaymentResult: ['CancelPaymentError', 'Payment', 'PaymentStateTransitionError'],
+ CreateAssetResult: ['Asset', 'MimeTypeError'],
+ CreateChannelResult: ['Channel', 'LanguageNotAvailableError'],
+ CreateCustomerResult: ['Customer', 'EmailAddressConflictError'],
+ CreatePromotionResult: ['MissingConditionsError', 'Promotion'],
+ CustomField: [
+ 'BooleanCustomFieldConfig',
+ 'DateTimeCustomFieldConfig',
+ 'FloatCustomFieldConfig',
+ 'IntCustomFieldConfig',
+ 'LocaleStringCustomFieldConfig',
+ 'LocaleTextCustomFieldConfig',
+ 'RelationCustomFieldConfig',
+ 'StringCustomFieldConfig',
+ 'StructCustomFieldConfig',
+ 'TextCustomFieldConfig',
+ ],
+ CustomFieldConfig: [
+ 'BooleanCustomFieldConfig',
+ 'DateTimeCustomFieldConfig',
+ 'FloatCustomFieldConfig',
+ 'IntCustomFieldConfig',
+ 'LocaleStringCustomFieldConfig',
+ 'LocaleTextCustomFieldConfig',
+ 'RelationCustomFieldConfig',
+ 'StringCustomFieldConfig',
+ 'StructCustomFieldConfig',
+ 'TextCustomFieldConfig',
+ ],
+ DuplicateEntityResult: ['DuplicateEntityError', 'DuplicateEntitySuccess'],
+ ErrorResult: [
+ 'AlreadyRefundedError',
+ 'CancelActiveOrderError',
+ 'CancelPaymentError',
+ 'ChannelDefaultLanguageError',
+ 'CouponCodeExpiredError',
+ 'CouponCodeInvalidError',
+ 'CouponCodeLimitError',
+ 'CreateFulfillmentError',
+ 'DuplicateEntityError',
+ 'EmailAddressConflictError',
+ 'EmptyOrderLineSelectionError',
+ 'FacetInUseError',
+ 'FulfillmentStateTransitionError',
+ 'GuestCheckoutError',
+ 'IneligibleShippingMethodError',
+ 'InsufficientStockError',
+ 'InsufficientStockOnHandError',
+ 'InvalidCredentialsError',
+ 'InvalidFulfillmentHandlerError',
+ 'ItemsAlreadyFulfilledError',
+ 'LanguageNotAvailableError',
+ 'ManualPaymentStateError',
+ 'MimeTypeError',
+ 'MissingConditionsError',
+ 'MultipleOrderError',
+ 'NativeAuthStrategyError',
+ 'NegativeQuantityError',
+ 'NoActiveOrderError',
+ 'NoChangesSpecifiedError',
+ 'NothingToRefundError',
+ 'OrderLimitError',
+ 'OrderModificationError',
+ 'OrderModificationStateError',
+ 'OrderStateTransitionError',
+ 'PaymentMethodMissingError',
+ 'PaymentOrderMismatchError',
+ 'PaymentStateTransitionError',
+ 'ProductOptionInUseError',
+ 'QuantityTooGreatError',
+ 'RefundAmountError',
+ 'RefundOrderStateError',
+ 'RefundPaymentIdMissingError',
+ 'RefundStateTransitionError',
+ 'SettlePaymentError',
+ ],
+ ModifyOrderResult: [
+ 'CouponCodeExpiredError',
+ 'CouponCodeInvalidError',
+ 'CouponCodeLimitError',
+ 'IneligibleShippingMethodError',
+ 'InsufficientStockError',
+ 'NegativeQuantityError',
+ 'NoChangesSpecifiedError',
+ 'Order',
+ 'OrderLimitError',
+ 'OrderModificationStateError',
+ 'PaymentMethodMissingError',
+ 'RefundPaymentIdMissingError',
+ ],
+ NativeAuthenticationResult: ['CurrentUser', 'InvalidCredentialsError', 'NativeAuthStrategyError'],
+ Node: [
+ 'Address',
+ 'Administrator',
+ 'Allocation',
+ 'Asset',
+ 'AuthenticationMethod',
+ 'Cancellation',
+ 'Channel',
+ 'Collection',
+ 'Country',
+ 'Customer',
+ 'CustomerGroup',
+ 'Facet',
+ 'FacetValue',
+ 'Fulfillment',
+ 'HistoryEntry',
+ 'Job',
+ 'Order',
+ 'OrderLine',
+ 'OrderModification',
+ 'Payment',
+ 'PaymentMethod',
+ 'Product',
+ 'ProductOption',
+ 'ProductOptionGroup',
+ 'ProductVariant',
+ 'Promotion',
+ 'Province',
+ 'Refund',
+ 'Release',
+ 'Return',
+ 'Role',
+ 'Sale',
+ 'Seller',
+ 'ShippingMethod',
+ 'StockAdjustment',
+ 'StockLevel',
+ 'StockLocation',
+ 'Surcharge',
+ 'Tag',
+ 'TaxCategory',
+ 'TaxRate',
+ 'User',
+ 'Zone',
+ ],
+ PaginatedList: [
+ 'AdministratorList',
+ 'AssetList',
+ 'ChannelList',
+ 'CollectionList',
+ 'CountryList',
+ 'CustomerGroupList',
+ 'CustomerList',
+ 'FacetList',
+ 'FacetValueList',
+ 'HistoryEntryList',
+ 'JobList',
+ 'OrderList',
+ 'PaymentMethodList',
+ 'ProductList',
+ 'ProductVariantList',
+ 'PromotionList',
+ 'ProvinceList',
+ 'RoleList',
+ 'SellerList',
+ 'ShippingMethodList',
+ 'StockLocationList',
+ 'TagList',
+ 'TaxCategoryList',
+ 'TaxRateList',
+ 'ZoneList',
+ ],
+ RefundOrderResult: [
+ 'AlreadyRefundedError',
+ 'MultipleOrderError',
+ 'NothingToRefundError',
+ 'OrderStateTransitionError',
+ 'PaymentOrderMismatchError',
+ 'QuantityTooGreatError',
+ 'Refund',
+ 'RefundAmountError',
+ 'RefundOrderStateError',
+ 'RefundStateTransitionError',
+ ],
+ Region: ['Country', 'Province'],
+ RemoveFacetFromChannelResult: ['Facet', 'FacetInUseError'],
+ RemoveOptionGroupFromProductResult: ['Product', 'ProductOptionInUseError'],
+ RemoveOrderItemsResult: ['Order', 'OrderModificationError'],
+ SearchResultPrice: ['PriceRange', 'SinglePrice'],
+ SetCustomerForDraftOrderResult: ['EmailAddressConflictError', 'Order'],
+ SetOrderShippingMethodResult: [
+ 'IneligibleShippingMethodError',
+ 'NoActiveOrderError',
+ 'Order',
+ 'OrderModificationError',
+ ],
+ SettlePaymentResult: [
+ 'OrderStateTransitionError',
+ 'Payment',
+ 'PaymentStateTransitionError',
+ 'SettlePaymentError',
+ ],
+ SettleRefundResult: ['Refund', 'RefundStateTransitionError'],
+ StockMovement: ['Allocation', 'Cancellation', 'Release', 'Return', 'Sale', 'StockAdjustment'],
+ StockMovementItem: ['Allocation', 'Cancellation', 'Release', 'Return', 'Sale', 'StockAdjustment'],
+ StructField: [
+ 'BooleanStructFieldConfig',
+ 'DateTimeStructFieldConfig',
+ 'FloatStructFieldConfig',
+ 'IntStructFieldConfig',
+ 'StringStructFieldConfig',
+ 'TextStructFieldConfig',
+ ],
+ StructFieldConfig: [
+ 'BooleanStructFieldConfig',
+ 'DateTimeStructFieldConfig',
+ 'FloatStructFieldConfig',
+ 'IntStructFieldConfig',
+ 'StringStructFieldConfig',
+ 'TextStructFieldConfig',
+ ],
+ TransitionFulfillmentToStateResult: ['Fulfillment', 'FulfillmentStateTransitionError'],
+ TransitionOrderToStateResult: ['Order', 'OrderStateTransitionError'],
+ TransitionPaymentToStateResult: ['Payment', 'PaymentStateTransitionError'],
+ UpdateChannelResult: ['Channel', 'LanguageNotAvailableError'],
+ UpdateCustomerResult: ['Customer', 'EmailAddressConflictError'],
+ UpdateGlobalSettingsResult: ['ChannelDefaultLanguageError', 'GlobalSettings'],
+ UpdateOrderItemsResult: [
+ 'InsufficientStockError',
+ 'NegativeQuantityError',
+ 'Order',
+ 'OrderLimitError',
+ 'OrderModificationError',
+ ],
+ UpdatePromotionResult: ['MissingConditionsError', 'Promotion'],
+ },
};
- export default result;
-
\ No newline at end of file
+export default result;
diff --git a/packages/admin-ui/src/lib/core/src/common/utilities/custom-field-default-value.ts b/packages/admin-ui/src/lib/core/src/common/utilities/custom-field-default-value.ts
index 1711b5b658..3c9fec736e 100644
--- a/packages/admin-ui/src/lib/core/src/common/utilities/custom-field-default-value.ts
+++ b/packages/admin-ui/src/lib/core/src/common/utilities/custom-field-default-value.ts
@@ -30,6 +30,8 @@ export function getDefaultValue(type: CustomFieldType, isNullable?: boolean) {
return isNullable ? null : new Date();
case 'relation':
return null;
+ case 'struct':
+ return {};
default:
assertNever(type);
}
diff --git a/packages/admin-ui/src/lib/core/src/data/definitions/settings-definitions.ts b/packages/admin-ui/src/lib/core/src/data/definitions/settings-definitions.ts
index eddddb4124..cf59fda9a6 100644
--- a/packages/admin-ui/src/lib/core/src/data/definitions/settings-definitions.ts
+++ b/packages/admin-ui/src/lib/core/src/data/definitions/settings-definitions.ts
@@ -640,6 +640,54 @@ export const RELATION_CUSTOM_FIELD_FRAGMENT = gql`
${CUSTOM_FIELD_CONFIG_FRAGMENT}
`;
+export const STRUCT_CUSTOM_FIELD_FRAGMENT = gql`
+ fragment StructCustomField on StructCustomFieldConfig {
+ ...CustomFieldConfig
+ fields {
+ ... on StructField {
+ name
+ type
+ list
+ description {
+ languageCode
+ value
+ }
+ label {
+ languageCode
+ value
+ }
+ ui
+ }
+ ... on StringStructFieldConfig {
+ pattern
+ options {
+ label {
+ languageCode
+ value
+ }
+ value
+ }
+ }
+ ... on IntStructFieldConfig {
+ intMin: min
+ intMax: max
+ intStep: step
+ }
+ ... on FloatStructFieldConfig {
+ floatMin: min
+ floatMax: max
+ floatStep: step
+ }
+ ... on DateTimeStructFieldConfig {
+ datetimeMin: min
+ datetimeMax: max
+ datetimeStep: step
+ }
+ }
+ }
+ ${CUSTOM_FIELD_CONFIG_FRAGMENT}
+`;
+
export const ALL_CUSTOM_FIELDS_FRAGMENT = gql`
fragment CustomFields on CustomField {
... on StringCustomFieldConfig {
@@ -669,6 +717,9 @@ export const ALL_CUSTOM_FIELDS_FRAGMENT = gql`
... on RelationCustomFieldConfig {
...RelationCustomField
}
+ ... on StructCustomFieldConfig {
+ ...StructCustomField
+ }
}
${STRING_CUSTOM_FIELD_FRAGMENT}
${LOCALE_STRING_CUSTOM_FIELD_FRAGMENT}
@@ -679,6 +730,7 @@ export const ALL_CUSTOM_FIELDS_FRAGMENT = gql`
${DATE_TIME_CUSTOM_FIELD_FRAGMENT}
${RELATION_CUSTOM_FIELD_FRAGMENT}
${LOCALE_TEXT_CUSTOM_FIELD_FRAGMENT}
+ ${STRUCT_CUSTOM_FIELD_FRAGMENT}
`;
export const GET_SERVER_CONFIG = gql`
diff --git a/packages/admin-ui/src/lib/core/src/data/utils/add-custom-fields.ts b/packages/admin-ui/src/lib/core/src/data/utils/add-custom-fields.ts
index 907369b9d4..deeea865de 100644
--- a/packages/admin-ui/src/lib/core/src/data/utils/add-custom-fields.ts
+++ b/packages/admin-ui/src/lib/core/src/data/utils/add-custom-fields.ts
@@ -10,8 +10,8 @@ import {
import {
CustomFieldConfig,
CustomFields,
- EntityCustomFields,
RelationCustomFieldFragment,
+ StructCustomFieldFragment,
} from '../../common/generated-types';
/**
@@ -75,6 +75,19 @@ export function addCustomFields(
},
}
: {}),
+ ...(customField.type === 'struct'
+ ? {
+ selectionSet: {
+ kind: Kind.SELECTION_SET,
+ selections: (customField as StructCustomFieldFragment).fields.map(
+ f => ({
+ kind: Kind.FIELD,
+ name: { kind: Kind.NAME, value: f.name },
+ }),
+ ),
+ },
+ }
+ : {}),
}) as FieldNode,
);
if (!existingCustomFieldsField) {
diff --git a/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-filter-collection.ts b/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-filter-collection.ts
index 5891a36a47..c4a6cb651c 100644
--- a/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-filter-collection.ts
+++ b/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-filter-collection.ts
@@ -186,7 +186,8 @@ export class DataTableFilterCollection =
filterType = { kind: 'text' };
break;
case 'relation':
- // Cannot sort relations
+ case 'struct':
+ // Cannot filter relations
break;
default:
assertNever(type);
diff --git a/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-sort-collection.ts b/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-sort-collection.ts
index 376ba44d66..f1708f82b8 100644
--- a/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-sort-collection.ts
+++ b/packages/admin-ui/src/lib/core/src/providers/data-table/data-table-sort-collection.ts
@@ -68,6 +68,7 @@ export class DataTableSortCollection<
this.addSort({ name: config.name });
break;
case 'relation':
+ case 'struct':
// Cannot sort relations
break;
default:
diff --git a/packages/admin-ui/src/lib/core/src/public_api.ts b/packages/admin-ui/src/lib/core/src/public_api.ts
index 6ce4730f4e..df86a4a2dc 100644
--- a/packages/admin-ui/src/lib/core/src/public_api.ts
+++ b/packages/admin-ui/src/lib/core/src/public_api.ts
@@ -290,6 +290,7 @@ export * from './shared/dynamic-form-inputs/relation-form-input/relation-form-in
export * from './shared/dynamic-form-inputs/relation-form-input/relation-selector-dialog/relation-selector-dialog.component';
export * from './shared/dynamic-form-inputs/rich-text-form-input/rich-text-form-input.component';
export * from './shared/dynamic-form-inputs/select-form-input/select-form-input.component';
+export * from './shared/dynamic-form-inputs/struct-form-input/struct-form-input.component';
export * from './shared/dynamic-form-inputs/text-form-input/text-form-input.component';
export * from './shared/dynamic-form-inputs/textarea-form-input/textarea-form-input.component';
export * from './shared/pipes/asset-preview.pipe';
diff --git a/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.html b/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.html
index d6e7bec07b..60f73c0eb7 100644
--- a/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.html
+++ b/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.html
@@ -21,20 +21,41 @@
{{ item.customFields[customField.name] | slice : 0 : 50 }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ item.customFields[customField.name] }}
diff --git a/packages/admin-ui/src/lib/core/src/shared/components/tabbed-custom-fields/tabbed-custom-fields.component.ts b/packages/admin-ui/src/lib/core/src/shared/components/tabbed-custom-fields/tabbed-custom-fields.component.ts
index 00fb91683b..0e8d3a19e5 100644
--- a/packages/admin-ui/src/lib/core/src/shared/components/tabbed-custom-fields/tabbed-custom-fields.component.ts
+++ b/packages/admin-ui/src/lib/core/src/shared/components/tabbed-custom-fields/tabbed-custom-fields.component.ts
@@ -46,6 +46,7 @@ export class TabbedCustomFieldsComponent implements OnInit {
customField.type === 'text' ||
customField.type === 'localeText' ||
customField.type === 'relation' ||
+ customField.type === 'struct' ||
(customField.ui?.component && !smallComponents.includes(customField.ui?.component))
);
}
diff --git a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/default-form-inputs.ts b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/default-form-inputs.ts
index 132dfffec0..4b0b62d073 100644
--- a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/default-form-inputs.ts
+++ b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/default-form-inputs.ts
@@ -16,6 +16,7 @@ import { ProductSelectorFormInputComponent } from './product-selector-form-input
import { RelationFormInputComponent } from './relation-form-input/relation-form-input.component';
import { RichTextFormInputComponent } from './rich-text-form-input/rich-text-form-input.component';
import { SelectFormInputComponent } from './select-form-input/select-form-input.component';
+import { StructFormInputComponent } from './struct-form-input/struct-form-input.component';
import { TextFormInputComponent } from './text-form-input/text-form-input.component';
import { TextareaFormInputComponent } from './textarea-form-input/textarea-form-input.component';
@@ -37,6 +38,7 @@ export const defaultFormInputs = [
HtmlEditorFormInputComponent,
ProductMultiSelectorFormInputComponent,
CombinationModeFormInputComponent,
+ StructFormInputComponent,
];
/**
diff --git a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.ts b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.ts
index b60b6dc724..2e1ce65cbb 100644
--- a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.ts
+++ b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.ts
@@ -280,7 +280,7 @@ export class DynamicFormInputComponent
({
id: this.listId++,
control: new UntypedFormControl(getConfigArgValue(value)),
- } as InputListItem),
+ }) as InputListItem,
);
this.renderList$.next();
}
@@ -325,6 +325,8 @@ export class DynamicFormInputComponent
return { component: 'text-form-input' };
case 'relation':
return { component: 'relation-form-input' };
+ case 'struct':
+ return { component: 'struct-form-input' };
default:
assertNever(type);
}
diff --git a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.html b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.html
new file mode 100644
index 0000000000..1aabdb4545
--- /dev/null
+++ b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.html
@@ -0,0 +1,21 @@
+
+
+
+
+ {{ field.def | customFieldLabel: (uiLanguage$ | async) }}
+
+
+
+
+
+
+
+
diff --git a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.scss b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.scss
new file mode 100644
index 0000000000..bc2ce6bf79
--- /dev/null
+++ b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.scss
@@ -0,0 +1,15 @@
+.struct-container {
+ border-left: 2px solid var(--color-weight-100);
+}
+
+.struct-field-wrapper {
+ display: flex;
+ width: 100%;
+ align-items: baseline;
+ & > .struct-field-label {
+ flex: 1;
+ }
+ & > vdr-dynamic-form-input {
+ flex: 2;
+ }
+}
diff --git a/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.ts b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.ts
new file mode 100644
index 0000000000..86d2b46d87
--- /dev/null
+++ b/packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/struct-form-input/struct-form-input.component.ts
@@ -0,0 +1,62 @@
+import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core';
+import { FormControl, FormGroup, UntypedFormControl } from '@angular/forms';
+import { DefaultFormComponentConfig, DefaultFormComponentId } from '@vendure/common/lib/shared-types';
+import { Observable, Subscription } from 'rxjs';
+import { map } from 'rxjs/operators';
+
+import { FormInputComponent } from '../../../common/component-registry-types';
+import { LanguageCode, StructCustomFieldFragment } from '../../../common/generated-types';
+import { DataService } from '../../../data/providers/data.service';
+
+/**
+ * @description
+ * A checkbox input. The default input component for `boolean` fields.
+ *
+ * @docsCategory custom-input-components
+ * @docsPage default-inputs
+ */
+@Component({
+ selector: 'vdr-struct-form-input',
+ templateUrl: './struct-form-input.component.html',
+ styleUrls: ['./struct-form-input.component.scss'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class StructFormInputComponent implements FormInputComponent, OnInit, OnDestroy {
+ static readonly id: DefaultFormComponentId = 'struct-form-input';
+ readonly: boolean;
+ formControl: UntypedFormControl;
+ config: DefaultFormComponentConfig<'struct-form-input'>;
+ uiLanguage$: Observable;
+ protected structFormGroup = new FormGroup({});
+ protected fields: Array<{
+ def: StructCustomFieldFragment['fields'][number];
+ formControl: FormControl;
+ }>;
+ private subscription: Subscription;
+
+ constructor(private dataService: DataService) {}
+
+ ngOnInit() {
+ this.uiLanguage$ = this.dataService.client
+ .uiState()
+ .stream$.pipe(map(({ uiState }) => uiState.language));
+
+ const value = this.formControl.value || {};
+
+ this.fields =
+ (this.config as unknown as StructCustomFieldFragment).fields?.map(field => {
+ const formControl = new FormControl(value[field.name]);
+ this.structFormGroup.addControl(field.name, formControl);
+ return { def: field, formControl };
+ }) ?? [];
+
+ this.structFormGroup.valueChanges.subscribe(value => {
+ this.formControl.setValue(value);
+ this.formControl.markAsDirty();
+ });
+ }
+
+ ngOnDestroy() {
+ this.subscription?.unsubscribe();
+ }
+}
diff --git a/packages/admin-ui/src/lib/core/src/shared/shared.module.ts b/packages/admin-ui/src/lib/core/src/shared/shared.module.ts
index 45e8a7d427..a78b01cd2b 100644
--- a/packages/admin-ui/src/lib/core/src/shared/shared.module.ts
+++ b/packages/admin-ui/src/lib/core/src/shared/shared.module.ts
@@ -146,6 +146,7 @@ import { RelationFormInputComponent } from './dynamic-form-inputs/relation-form-
import { RelationSelectorDialogComponent } from './dynamic-form-inputs/relation-form-input/relation-selector-dialog/relation-selector-dialog.component';
import { RichTextFormInputComponent } from './dynamic-form-inputs/rich-text-form-input/rich-text-form-input.component';
import { SelectFormInputComponent } from './dynamic-form-inputs/select-form-input/select-form-input.component';
+import { StructFormInputComponent } from './dynamic-form-inputs/struct-form-input/struct-form-input.component';
import { TextFormInputComponent } from './dynamic-form-inputs/text-form-input/text-form-input.component';
import { TextareaFormInputComponent } from './dynamic-form-inputs/textarea-form-input/textarea-form-input.component';
import { AssetPreviewPipe } from './pipes/asset-preview.pipe';
@@ -351,6 +352,7 @@ const DYNAMIC_FORM_INPUTS = [
HtmlEditorFormInputComponent,
ProductMultiSelectorFormInputComponent,
CombinationModeFormInputComponent,
+ StructFormInputComponent,
];
@NgModule({
diff --git a/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts b/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts
index 22c83113dc..86fcb1550e 100644
--- a/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts
+++ b/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts
@@ -337,6 +337,16 @@ export type BooleanOperators = {
isNull?: InputMaybe;
};
+export type BooleanStructFieldConfig = StructField & {
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
/** Returned if an attempting to cancel lines from an Order which is still active */
export type CancelActiveOrderError = ErrorResult & {
errorCode: ErrorCode;
@@ -1321,6 +1331,7 @@ export type CustomFieldConfig =
| LocaleTextCustomFieldConfig
| RelationCustomFieldConfig
| StringCustomFieldConfig
+ | StructCustomFieldConfig
| TextCustomFieldConfig;
/**
@@ -1512,6 +1523,23 @@ export type DateTimeCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+/**
+ * Expects the same validation formats as the ` ` HTML element.
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
+ */
+export type DateTimeStructFieldConfig = StructField & {
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type DeleteAssetInput = {
assetId: Scalars['ID']['input'];
deleteFromAllChannels?: InputMaybe;
@@ -1830,6 +1858,19 @@ export type FloatCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type FloatStructFieldConfig = StructField & {
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type FulfillOrderInput = {
handler: ConfigurableOperationInput;
lines: Array;
@@ -2024,6 +2065,19 @@ export type IntCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type IntStructFieldConfig = StructField & {
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
/** Returned if the user authentication credentials are not valid */
export type InvalidCredentialsError = ErrorResult & {
authenticationError: Scalars['String']['output'];
@@ -5707,6 +5761,51 @@ export type StringOperators = {
regex?: InputMaybe;
};
+export type StringStructFieldConfig = StructField & {
+ description?: Maybe>;
+ label?: Maybe>;
+ length?: Maybe;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ options?: Maybe>;
+ pattern?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructCustomFieldConfig = CustomField & {
+ description?: Maybe>;
+ fields: Array;
+ internal?: Maybe;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ readonly?: Maybe;
+ requiresPermission?: Maybe>;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructField = {
+ description?: Maybe>;
+ label?: Maybe>;
+ list?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructFieldConfig =
+ | BooleanStructFieldConfig
+ | DateTimeStructFieldConfig
+ | FloatStructFieldConfig
+ | IntStructFieldConfig
+ | StringStructFieldConfig
+ | TextStructFieldConfig;
+
/** Indicates that an operation succeeded, where we do not want to return any more specific information. */
export type Success = {
success: Scalars['Boolean']['output'];
@@ -5914,6 +6013,16 @@ export type TextCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type TextStructFieldConfig = StructField & {
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError;
export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
diff --git a/packages/common/src/generated-shop-types.ts b/packages/common/src/generated-shop-types.ts
index 7fc158516e..92a8b99f07 100644
--- a/packages/common/src/generated-shop-types.ts
+++ b/packages/common/src/generated-shop-types.ts
@@ -148,6 +148,17 @@ export type BooleanOperators = {
isNull?: InputMaybe;
};
+export type BooleanStructFieldConfig = StructField & {
+ __typename?: 'BooleanStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type Channel = Node & {
__typename?: 'Channel';
availableCurrencyCodes: Array;
@@ -764,6 +775,7 @@ export type CustomFieldConfig =
| LocaleTextCustomFieldConfig
| RelationCustomFieldConfig
| StringCustomFieldConfig
+ | StructCustomFieldConfig
| TextCustomFieldConfig;
export type Customer = Node & {
@@ -883,6 +895,24 @@ export type DateTimeCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+/**
+ * Expects the same validation formats as the ` ` HTML element.
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
+ */
+export type DateTimeStructFieldConfig = StructField & {
+ __typename?: 'DateTimeStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type DeletionResponse = {
__typename?: 'DeletionResponse';
message?: Maybe;
@@ -1119,6 +1149,20 @@ export type FloatCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type FloatStructFieldConfig = StructField & {
+ __typename?: 'FloatStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
export type Fulfillment = Node & {
__typename?: 'Fulfillment';
createdAt: Scalars['DateTime']['output'];
@@ -1302,6 +1346,20 @@ export type IntCustomFieldConfig = CustomField & {
ui?: Maybe;
};
+export type IntStructFieldConfig = StructField & {
+ __typename?: 'IntStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ max?: Maybe;
+ min?: Maybe;
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ step?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
/** Returned if the user authentication credentials are not valid */
export type InvalidCredentialsError = ErrorResult & {
__typename?: 'InvalidCredentialsError';
@@ -3228,6 +3286,53 @@ export type StringOperators = {
regex?: InputMaybe;
};
+export type StringStructFieldConfig = StructField & {
+ __typename?: 'StringStructFieldConfig';
+ description?: Maybe>;
+ label?: Maybe>;
+ length?: Maybe;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ options?: Maybe>;
+ pattern?: Maybe;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructCustomFieldConfig = CustomField & {
+ __typename?: 'StructCustomFieldConfig';
+ description?: Maybe>;
+ fields: Array;
+ internal?: Maybe;
+ label?: Maybe>;
+ list: Scalars['Boolean']['output'];
+ name: Scalars['String']['output'];
+ nullable?: Maybe;
+ readonly?: Maybe;
+ requiresPermission?: Maybe>;
+ type: Scalars['String']['output'];
+ ui?: Maybe;
+};
+
+export type StructField = {
+ description?: Maybe