@vendure/admin-ui 3.3.8 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2090,6 +2090,10 @@ export declare enum JobState {
|
|
|
2090
2090
|
RETRYING = "RETRYING",
|
|
2091
2091
|
RUNNING = "RUNNING"
|
|
2092
2092
|
}
|
|
2093
|
+
export type KeyValueInput = {
|
|
2094
|
+
key: Scalars['String']['input'];
|
|
2095
|
+
value: Scalars['JSON']['input'];
|
|
2096
|
+
};
|
|
2093
2097
|
/**
|
|
2094
2098
|
* @description
|
|
2095
2099
|
* Languages in the form of a ISO 639-1 language code with optional
|
|
@@ -2811,10 +2815,18 @@ export type Mutation = {
|
|
|
2811
2815
|
setDraftOrderShippingAddress: Order;
|
|
2812
2816
|
/** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
|
|
2813
2817
|
setDraftOrderShippingMethod: SetOrderShippingMethodResult;
|
|
2818
|
+
/** Set a single key-value pair (automatically scoped based on field configuration) */
|
|
2819
|
+
setKeyValue: SetKeyValueResult;
|
|
2820
|
+
/** Set multiple key-value pairs in a transaction (each automatically scoped) */
|
|
2821
|
+
setKeyValues: Array<SetKeyValueResult>;
|
|
2814
2822
|
setMainNavExpanded: Scalars['Boolean']['output'];
|
|
2815
2823
|
setOrderCustomFields?: Maybe<Order>;
|
|
2816
2824
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
2817
2825
|
setOrderCustomer?: Maybe<Order>;
|
|
2826
|
+
/** Set a single key-value pair (automatically scoped based on field configuration) */
|
|
2827
|
+
setSettingsStoreValue: SetSettingsStoreValueResult;
|
|
2828
|
+
/** Set multiple key-value pairs in a transaction (each automatically scoped) */
|
|
2829
|
+
setSettingsStoreValues: Array<SetSettingsStoreValueResult>;
|
|
2818
2830
|
setUiLanguage: LanguageCode;
|
|
2819
2831
|
setUiLocale?: Maybe<Scalars['String']['output']>;
|
|
2820
2832
|
setUiTheme: Scalars['String']['output'];
|
|
@@ -3295,6 +3307,12 @@ export type MutationSetDraftOrderShippingMethodArgs = {
|
|
|
3295
3307
|
orderId: Scalars['ID']['input'];
|
|
3296
3308
|
shippingMethodId: Scalars['ID']['input'];
|
|
3297
3309
|
};
|
|
3310
|
+
export type MutationSetKeyValueArgs = {
|
|
3311
|
+
input: KeyValueInput;
|
|
3312
|
+
};
|
|
3313
|
+
export type MutationSetKeyValuesArgs = {
|
|
3314
|
+
inputs: Array<KeyValueInput>;
|
|
3315
|
+
};
|
|
3298
3316
|
export type MutationSetMainNavExpandedArgs = {
|
|
3299
3317
|
expanded: Scalars['Boolean']['input'];
|
|
3300
3318
|
};
|
|
@@ -3304,6 +3322,12 @@ export type MutationSetOrderCustomFieldsArgs = {
|
|
|
3304
3322
|
export type MutationSetOrderCustomerArgs = {
|
|
3305
3323
|
input: SetOrderCustomerInput;
|
|
3306
3324
|
};
|
|
3325
|
+
export type MutationSetSettingsStoreValueArgs = {
|
|
3326
|
+
input: SettingsStoreInput;
|
|
3327
|
+
};
|
|
3328
|
+
export type MutationSetSettingsStoreValuesArgs = {
|
|
3329
|
+
inputs: Array<SettingsStoreInput>;
|
|
3330
|
+
};
|
|
3307
3331
|
export type MutationSetUiLanguageArgs = {
|
|
3308
3332
|
languageCode: LanguageCode;
|
|
3309
3333
|
};
|
|
@@ -4570,6 +4594,14 @@ export type Query = {
|
|
|
4570
4594
|
facetValues: FacetValueList;
|
|
4571
4595
|
facets: FacetList;
|
|
4572
4596
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
4597
|
+
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
4598
|
+
getKeyValue?: Maybe<Scalars['JSON']['output']>;
|
|
4599
|
+
/** Get multiple key-value pairs (each automatically scoped) */
|
|
4600
|
+
getKeyValues?: Maybe<Scalars['JSON']['output']>;
|
|
4601
|
+
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
4602
|
+
getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
|
|
4603
|
+
/** Get multiple key-value pairs (each automatically scoped) */
|
|
4604
|
+
getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
|
|
4573
4605
|
globalSettings: GlobalSettings;
|
|
4574
4606
|
job?: Maybe<Job>;
|
|
4575
4607
|
jobBufferSize: Array<JobBufferSize>;
|
|
@@ -4685,6 +4717,18 @@ export type QueryFacetValuesArgs = {
|
|
|
4685
4717
|
export type QueryFacetsArgs = {
|
|
4686
4718
|
options?: InputMaybe<FacetListOptions>;
|
|
4687
4719
|
};
|
|
4720
|
+
export type QueryGetKeyValueArgs = {
|
|
4721
|
+
key: Scalars['String']['input'];
|
|
4722
|
+
};
|
|
4723
|
+
export type QueryGetKeyValuesArgs = {
|
|
4724
|
+
keys: Array<Scalars['String']['input']>;
|
|
4725
|
+
};
|
|
4726
|
+
export type QueryGetSettingsStoreValueArgs = {
|
|
4727
|
+
key: Scalars['String']['input'];
|
|
4728
|
+
};
|
|
4729
|
+
export type QueryGetSettingsStoreValuesArgs = {
|
|
4730
|
+
keys: Array<Scalars['String']['input']>;
|
|
4731
|
+
};
|
|
4688
4732
|
export type QueryJobArgs = {
|
|
4689
4733
|
jobId: Scalars['ID']['input'];
|
|
4690
4734
|
};
|
|
@@ -5150,12 +5194,28 @@ export type ServerConfig = {
|
|
|
5150
5194
|
permittedAssetTypes: Array<Scalars['String']['output']>;
|
|
5151
5195
|
};
|
|
5152
5196
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
5197
|
+
export type SetKeyValueResult = {
|
|
5198
|
+
__typename?: 'SetKeyValueResult';
|
|
5199
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
5200
|
+
key: Scalars['String']['output'];
|
|
5201
|
+
result: Scalars['Boolean']['output'];
|
|
5202
|
+
};
|
|
5153
5203
|
export type SetOrderCustomerInput = {
|
|
5154
5204
|
customerId: Scalars['ID']['input'];
|
|
5155
5205
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
5156
5206
|
orderId: Scalars['ID']['input'];
|
|
5157
5207
|
};
|
|
5158
5208
|
export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError;
|
|
5209
|
+
export type SetSettingsStoreValueResult = {
|
|
5210
|
+
__typename?: 'SetSettingsStoreValueResult';
|
|
5211
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
5212
|
+
key: Scalars['String']['output'];
|
|
5213
|
+
result: Scalars['Boolean']['output'];
|
|
5214
|
+
};
|
|
5215
|
+
export type SettingsStoreInput = {
|
|
5216
|
+
key: Scalars['String']['input'];
|
|
5217
|
+
value: Scalars['JSON']['input'];
|
|
5218
|
+
};
|
|
5159
5219
|
/** Returned if the Payment settlement fails */
|
|
5160
5220
|
export type SettlePaymentError = ErrorResult & {
|
|
5161
5221
|
__typename?: 'SettlePaymentError';
|
|
@@ -5794,6 +5854,8 @@ export type UpdateOrderInput = {
|
|
|
5794
5854
|
customFields?: InputMaybe<Scalars['JSON']['input']>;
|
|
5795
5855
|
id: Scalars['ID']['input'];
|
|
5796
5856
|
};
|
|
5857
|
+
/** Union type of all possible errors that can occur when adding or removing items from an Order. */
|
|
5858
|
+
export type UpdateOrderItemErrorResult = InsufficientStockError | NegativeQuantityError | OrderInterceptorError | OrderLimitError | OrderModificationError;
|
|
5797
5859
|
export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderInterceptorError | OrderLimitError | OrderModificationError;
|
|
5798
5860
|
export type UpdateOrderNoteInput = {
|
|
5799
5861
|
isPublic?: InputMaybe<Scalars['Boolean']['input']>;
|
package/core/common/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ADMIN_UI_VERSION = "3.
|
|
1
|
+
export declare const ADMIN_UI_VERSION = "3.4.0";
|
|
@@ -7856,7 +7856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
7856
7856
|
}], ctorParameters: () => [{ type: AlertsService }] });
|
|
7857
7857
|
|
|
7858
7858
|
// Auto-generated by the set-version.js script.
|
|
7859
|
-
const ADMIN_UI_VERSION = '3.
|
|
7859
|
+
const ADMIN_UI_VERSION = '3.4.0';
|
|
7860
7860
|
|
|
7861
7861
|
/* eslint-disable @angular-eslint/directive-selector */
|
|
7862
7862
|
class FormFieldControlDirective {
|
|
@@ -10171,6 +10171,13 @@ const result = {
|
|
|
10171
10171
|
"ChannelDefaultLanguageError",
|
|
10172
10172
|
"GlobalSettings"
|
|
10173
10173
|
],
|
|
10174
|
+
"UpdateOrderItemErrorResult": [
|
|
10175
|
+
"InsufficientStockError",
|
|
10176
|
+
"NegativeQuantityError",
|
|
10177
|
+
"OrderInterceptorError",
|
|
10178
|
+
"OrderLimitError",
|
|
10179
|
+
"OrderModificationError"
|
|
10180
|
+
],
|
|
10174
10181
|
"UpdateOrderItemsResult": [
|
|
10175
10182
|
"InsufficientStockError",
|
|
10176
10183
|
"NegativeQuantityError",
|