@vendure/core 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.
- package/dist/api/api-internal-modules.js +2 -0
- package/dist/api/api-internal-modules.js.map +1 -1
- package/dist/api/config/get-final-vendure-schema.js +1 -1
- package/dist/api/config/get-final-vendure-schema.js.map +1 -1
- package/dist/api/config/graphql-custom-fields.js +15 -1
- package/dist/api/config/graphql-custom-fields.js.map +1 -1
- package/dist/api/resolvers/admin/facet.resolver.d.ts +5 -2
- package/dist/api/resolvers/admin/facet.resolver.js +45 -1
- package/dist/api/resolvers/admin/facet.resolver.js.map +1 -1
- package/dist/api/resolvers/admin/global-settings.resolver.js +14 -3
- package/dist/api/resolvers/admin/global-settings.resolver.js.map +1 -1
- package/dist/api/resolvers/admin/settings-store.resolver.d.ts +19 -0
- package/dist/api/resolvers/admin/settings-store.resolver.js +86 -0
- package/dist/api/resolvers/admin/settings-store.resolver.js.map +1 -0
- package/dist/api/resolvers/entity/product-option-entity.resolver.d.ts +1 -1
- package/dist/api/resolvers/entity/product-option-entity.resolver.js.map +1 -1
- package/dist/api/resolvers/entity/product-option-group-entity.resolver.d.ts +1 -1
- package/dist/api/resolvers/entity/product-option-group-entity.resolver.js.map +1 -1
- package/dist/api/resolvers/shop/shop-order.resolver.d.ts +5 -1
- package/dist/api/resolvers/shop/shop-order.resolver.js +18 -0
- package/dist/api/resolvers/shop/shop-order.resolver.js.map +1 -1
- package/dist/api/schema/admin-api/facet.api.graphql +7 -0
- package/dist/api/schema/admin-api/settings-store.api.graphql +34 -0
- package/dist/api/schema/common/common-error-results.graphql +10 -0
- package/dist/api/schema/common/common-types.graphql +1 -0
- package/dist/api/schema/common/custom-field-types.graphql +22 -0
- package/dist/api/schema/shop-api/shop.api.graphql +16 -0
- package/dist/bootstrap.js +3 -2
- package/dist/bootstrap.js.map +1 -1
- package/dist/config/config.service.d.ts +2 -0
- package/dist/config/config.service.js +4 -0
- package/dist/config/config.service.js.map +1 -1
- package/dist/config/custom-field/custom-field-types.d.ts +11 -2
- package/dist/config/default-config.js +4 -1
- package/dist/config/default-config.js.map +1 -1
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/settings-store/clean-orphaned-settings-store-task.d.ts +36 -0
- package/dist/config/settings-store/clean-orphaned-settings-store-task.js +73 -0
- package/dist/config/settings-store/clean-orphaned-settings-store-task.js.map +1 -0
- package/dist/config/settings-store/settings-store-types.d.ts +269 -0
- package/dist/config/settings-store/settings-store-types.js +55 -0
- package/dist/config/settings-store/settings-store-types.js.map +1 -0
- package/dist/config/vendure-config.d.ts +30 -0
- package/dist/entity/entities.d.ts +14 -12
- package/dist/entity/entities.js +14 -12
- package/dist/entity/entities.js.map +1 -1
- package/dist/entity/index.d.ts +7 -7
- package/dist/entity/index.js +7 -7
- package/dist/entity/index.js.map +1 -1
- package/dist/entity/order/order.entity.d.ts +1 -0
- package/dist/entity/order/order.entity.js +12 -1
- package/dist/entity/order/order.entity.js.map +1 -1
- package/dist/entity/order-modification/order-modification.entity.d.ts +1 -1
- package/dist/entity/order-modification/order-modification.entity.js +3 -3
- package/dist/entity/order-modification/order-modification.entity.js.map +1 -1
- package/dist/entity/settings-store-entry/settings-store-entry.entity.d.ts +29 -0
- package/dist/entity/settings-store-entry/settings-store-entry.entity.js +50 -0
- package/dist/entity/settings-store-entry/settings-store-entry.entity.js.map +1 -0
- package/dist/event-bus/events/customer-event.d.ts +1 -1
- package/dist/event-bus/events/customer-event.js +1 -1
- package/dist/event-bus/events/order-event.d.ts +17 -8
- package/dist/event-bus/events/order-event.js +13 -7
- package/dist/event-bus/events/order-event.js.map +1 -1
- package/dist/plugin/default-job-queue-plugin/job-record.entity.js +2 -0
- package/dist/plugin/default-job-queue-plugin/job-record.entity.js.map +1 -1
- package/dist/plugin/vendure-plugin.d.ts +3 -2
- package/dist/plugin/vendure-plugin.js.map +1 -1
- package/dist/service/helpers/order-modifier/order-modifier.js +2 -0
- package/dist/service/helpers/order-modifier/order-modifier.js.map +1 -1
- package/dist/service/helpers/settings-store/settings-store.service.d.ts +148 -0
- package/dist/service/helpers/settings-store/settings-store.service.js +389 -0
- package/dist/service/helpers/settings-store/settings-store.service.js.map +1 -0
- package/dist/service/index.d.ts +1 -0
- package/dist/service/index.js +1 -0
- package/dist/service/index.js.map +1 -1
- package/dist/service/service.module.js +2 -0
- package/dist/service/service.module.js.map +1 -1
- package/dist/service/services/order.service.js +15 -4
- package/dist/service/services/order.service.js.map +1 -1
- package/dist/service/services/product-option.service.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { LocalizedString, Permission } from '@vendure/common/lib/generated-types';
|
|
2
|
+
import { RequestContext } from '../../api/common/request-context';
|
|
3
|
+
import { Injector } from '../../common/injector';
|
|
4
|
+
/**
|
|
5
|
+
* @description
|
|
6
|
+
* A function that determines how a settings store entry should be scoped.
|
|
7
|
+
* Returns a string that will be used as the scope key for storage isolation.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // User-specific scoping
|
|
12
|
+
* const userScope: SettingsStoreScopeFunction = ({ ctx }) => ctx.activeUserId || '';
|
|
13
|
+
*
|
|
14
|
+
* // Channel-specific scoping
|
|
15
|
+
* const channelScope: SettingsStoreScopeFunction = ({ ctx }) => ctx.channelId || '';
|
|
16
|
+
*
|
|
17
|
+
* // User and channel scoping
|
|
18
|
+
* const userAndChannelScope: SettingsStoreScopeFunction = ({ ctx }) =>
|
|
19
|
+
* `${ctx.activeUserId || ''}:${ctx.channelId || ''}`;
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @docsCategory SettingsStore
|
|
23
|
+
* @since 3.4.0
|
|
24
|
+
*/
|
|
25
|
+
export type SettingsStoreScopeFunction = (params: {
|
|
26
|
+
key: string;
|
|
27
|
+
value?: any;
|
|
28
|
+
ctx: RequestContext;
|
|
29
|
+
}) => string;
|
|
30
|
+
/**
|
|
31
|
+
* @description
|
|
32
|
+
* Configuration for a settings store field, defining how it should be stored,
|
|
33
|
+
* scoped, validated, and accessed.
|
|
34
|
+
*
|
|
35
|
+
* @docsCategory SettingsStore
|
|
36
|
+
* @since 3.4.0
|
|
37
|
+
*/
|
|
38
|
+
export interface SettingsStoreFieldConfig {
|
|
39
|
+
/**
|
|
40
|
+
* @description
|
|
41
|
+
* The name of the field. This will be combined with the namespace
|
|
42
|
+
* to create the full key (e.g., 'dashboard.theme').
|
|
43
|
+
*/
|
|
44
|
+
name: string;
|
|
45
|
+
/**
|
|
46
|
+
* @description
|
|
47
|
+
* Function that determines how this field should be scoped.
|
|
48
|
+
* Defaults to global scoping (no isolation).
|
|
49
|
+
*/
|
|
50
|
+
scope?: SettingsStoreScopeFunction;
|
|
51
|
+
/**
|
|
52
|
+
* @description
|
|
53
|
+
* Whether this field is readonly via the GraphQL API.
|
|
54
|
+
* Readonly fields can still be modified programmatically via a service.
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
readonly?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @description
|
|
60
|
+
* Permissions required to access this field. If not specified,
|
|
61
|
+
* basic authentication is required for admin API access.
|
|
62
|
+
*/
|
|
63
|
+
requiresPermission?: Array<Permission | string> | Permission | string;
|
|
64
|
+
/**
|
|
65
|
+
* @description
|
|
66
|
+
* Custom validation function for field values.
|
|
67
|
+
*/
|
|
68
|
+
validate?: (value: any, injector: Injector, ctx: RequestContext) => string | LocalizedString[] | void | Promise<string | LocalizedString[] | void>;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @description
|
|
72
|
+
* Configuration for registering a namespace of settings store fields.
|
|
73
|
+
*
|
|
74
|
+
* @docsCategory SettingsStore
|
|
75
|
+
* @since 3.4.0
|
|
76
|
+
*/
|
|
77
|
+
export interface SettingsStoreRegistration {
|
|
78
|
+
/**
|
|
79
|
+
* @description
|
|
80
|
+
* The namespace for these fields (e.g., 'dashboard', 'payment').
|
|
81
|
+
* Field names will be prefixed with this namespace.
|
|
82
|
+
*/
|
|
83
|
+
namespace: string;
|
|
84
|
+
/**
|
|
85
|
+
* @description
|
|
86
|
+
* Array of field configurations for this namespace.
|
|
87
|
+
*/
|
|
88
|
+
fields: SettingsStoreFieldConfig[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @description
|
|
92
|
+
* This is how SettingsStoreFields are defined in the {@link VendureConfig} object.
|
|
93
|
+
*
|
|
94
|
+
* @since 3.4.0
|
|
95
|
+
* @docsCategory configuration
|
|
96
|
+
*/
|
|
97
|
+
export type SettingsStoreFields = {
|
|
98
|
+
[namespace: string]: SettingsStoreFieldConfig[];
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @description
|
|
102
|
+
* Pre-built scope functions for common scoping patterns.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```ts
|
|
106
|
+
* const config: VendureConfig = {
|
|
107
|
+
* settingsStoreFields: {
|
|
108
|
+
* dashboard: [
|
|
109
|
+
* {
|
|
110
|
+
* name: 'theme',
|
|
111
|
+
* scope: SettingsStoreScopes.user, // User-specific
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* name: 'currency',
|
|
115
|
+
* scope: SettingsStoreScopes.channel, // Channel-specific
|
|
116
|
+
* },
|
|
117
|
+
* {
|
|
118
|
+
* name: 'tableFilters',
|
|
119
|
+
* scope: SettingsStoreScopes.userAndChannel, // User-specific per channel
|
|
120
|
+
* }
|
|
121
|
+
* ]
|
|
122
|
+
* }
|
|
123
|
+
* };
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @docsCategory SettingsStore
|
|
127
|
+
* @since 3.4.0
|
|
128
|
+
*/
|
|
129
|
+
export declare const SettingsStoreScopes: {
|
|
130
|
+
/**
|
|
131
|
+
* @description
|
|
132
|
+
* Global scoping - no isolation, single value for all users and channels.
|
|
133
|
+
*/
|
|
134
|
+
global: () => string;
|
|
135
|
+
/**
|
|
136
|
+
* @description
|
|
137
|
+
* User-specific scoping - separate values per user.
|
|
138
|
+
*/
|
|
139
|
+
user: ({ ctx }: {
|
|
140
|
+
ctx: RequestContext;
|
|
141
|
+
}) => string;
|
|
142
|
+
/**
|
|
143
|
+
* @description
|
|
144
|
+
* Channel-specific scoping - separate values per channel.
|
|
145
|
+
*/
|
|
146
|
+
channel: ({ ctx }: {
|
|
147
|
+
ctx: RequestContext;
|
|
148
|
+
}) => string;
|
|
149
|
+
/**
|
|
150
|
+
* @description
|
|
151
|
+
* User and channel specific scoping - separate values per user per channel.
|
|
152
|
+
*/
|
|
153
|
+
userAndChannel: ({ ctx }: {
|
|
154
|
+
ctx: RequestContext;
|
|
155
|
+
}) => string;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* @description
|
|
159
|
+
* Result type for settings store set operations, providing detailed feedback
|
|
160
|
+
* about the success or failure of each operation.
|
|
161
|
+
*
|
|
162
|
+
* @docsCategory SettingsStore
|
|
163
|
+
* @since 3.4.0
|
|
164
|
+
*/
|
|
165
|
+
export interface SetSettingsStoreValueResult {
|
|
166
|
+
/**
|
|
167
|
+
* @description
|
|
168
|
+
* The key that was attempted to be set.
|
|
169
|
+
*/
|
|
170
|
+
key: string;
|
|
171
|
+
/**
|
|
172
|
+
* @description
|
|
173
|
+
* Whether the set operation was successful.
|
|
174
|
+
*/
|
|
175
|
+
result: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* @description
|
|
178
|
+
* Error message if the operation failed, null if successful.
|
|
179
|
+
*/
|
|
180
|
+
error?: string;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* @description
|
|
184
|
+
* Represents an orphaned settings store entry that no longer has a corresponding
|
|
185
|
+
* field definition in the configuration.
|
|
186
|
+
*
|
|
187
|
+
* @docsCategory SettingsStore
|
|
188
|
+
* @since 3.4.0
|
|
189
|
+
*/
|
|
190
|
+
export interface OrphanedSettingsStoreEntry {
|
|
191
|
+
/**
|
|
192
|
+
* @description
|
|
193
|
+
* The orphaned key.
|
|
194
|
+
*/
|
|
195
|
+
key: string;
|
|
196
|
+
/**
|
|
197
|
+
* @description
|
|
198
|
+
* The scope of the orphaned entry.
|
|
199
|
+
*/
|
|
200
|
+
scope: string;
|
|
201
|
+
/**
|
|
202
|
+
* @description
|
|
203
|
+
* When the entry was last updated.
|
|
204
|
+
*/
|
|
205
|
+
updatedAt: Date;
|
|
206
|
+
/**
|
|
207
|
+
* @description
|
|
208
|
+
* Preview of the stored value (truncated for large values).
|
|
209
|
+
*/
|
|
210
|
+
valuePreview: string;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @description
|
|
214
|
+
* Options for cleaning up orphaned settings store entries.
|
|
215
|
+
*
|
|
216
|
+
* @docsCategory SettingsStore
|
|
217
|
+
* @since 3.4.0
|
|
218
|
+
*/
|
|
219
|
+
export interface CleanupOrphanedSettingsStoreEntriesOptions {
|
|
220
|
+
/**
|
|
221
|
+
* @description
|
|
222
|
+
* If true, perform a dry run without actually deleting entries.
|
|
223
|
+
* @default false
|
|
224
|
+
*/
|
|
225
|
+
dryRun?: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* @description
|
|
228
|
+
* Only delete entries older than this duration.
|
|
229
|
+
* Examples: '30d', '7d', '1h', '30m'
|
|
230
|
+
* @default '7d'
|
|
231
|
+
*/
|
|
232
|
+
olderThan?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @description
|
|
235
|
+
* Maximum number of entries to delete in a single operation.
|
|
236
|
+
* @default 1000
|
|
237
|
+
*/
|
|
238
|
+
maxDeleteCount?: number;
|
|
239
|
+
/**
|
|
240
|
+
* @description
|
|
241
|
+
* Batch size for deletion operations.
|
|
242
|
+
* @default 100
|
|
243
|
+
*/
|
|
244
|
+
batchSize?: number;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* @description
|
|
248
|
+
* Result of a cleanup operation for orphaned settings store entries.
|
|
249
|
+
*
|
|
250
|
+
* @docsCategory SettingsStore
|
|
251
|
+
* @since 3.4.0
|
|
252
|
+
*/
|
|
253
|
+
export interface CleanupOrphanedSettingsStoreEntriesResult {
|
|
254
|
+
/**
|
|
255
|
+
* @description
|
|
256
|
+
* Number of entries that were (or would be) deleted.
|
|
257
|
+
*/
|
|
258
|
+
deletedCount: number;
|
|
259
|
+
/**
|
|
260
|
+
* @description
|
|
261
|
+
* Whether this was a dry run.
|
|
262
|
+
*/
|
|
263
|
+
dryRun: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* @description
|
|
266
|
+
* Sample of deleted entries (for logging/audit purposes).
|
|
267
|
+
*/
|
|
268
|
+
deletedEntries: OrphanedSettingsStoreEntry[];
|
|
269
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettingsStoreScopes = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @description
|
|
6
|
+
* Pre-built scope functions for common scoping patterns.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const config: VendureConfig = {
|
|
11
|
+
* settingsStoreFields: {
|
|
12
|
+
* dashboard: [
|
|
13
|
+
* {
|
|
14
|
+
* name: 'theme',
|
|
15
|
+
* scope: SettingsStoreScopes.user, // User-specific
|
|
16
|
+
* },
|
|
17
|
+
* {
|
|
18
|
+
* name: 'currency',
|
|
19
|
+
* scope: SettingsStoreScopes.channel, // Channel-specific
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* name: 'tableFilters',
|
|
23
|
+
* scope: SettingsStoreScopes.userAndChannel, // User-specific per channel
|
|
24
|
+
* }
|
|
25
|
+
* ]
|
|
26
|
+
* }
|
|
27
|
+
* };
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @docsCategory SettingsStore
|
|
31
|
+
* @since 3.4.0
|
|
32
|
+
*/
|
|
33
|
+
exports.SettingsStoreScopes = {
|
|
34
|
+
/**
|
|
35
|
+
* @description
|
|
36
|
+
* Global scoping - no isolation, single value for all users and channels.
|
|
37
|
+
*/
|
|
38
|
+
global: () => '',
|
|
39
|
+
/**
|
|
40
|
+
* @description
|
|
41
|
+
* User-specific scoping - separate values per user.
|
|
42
|
+
*/
|
|
43
|
+
user: ({ ctx }) => `user:${ctx.activeUserId || 'unknown'}`,
|
|
44
|
+
/**
|
|
45
|
+
* @description
|
|
46
|
+
* Channel-specific scoping - separate values per channel.
|
|
47
|
+
*/
|
|
48
|
+
channel: ({ ctx }) => `channel:${ctx.channelId || 'unknown'}`,
|
|
49
|
+
/**
|
|
50
|
+
* @description
|
|
51
|
+
* User and channel specific scoping - separate values per user per channel.
|
|
52
|
+
*/
|
|
53
|
+
userAndChannel: ({ ctx }) => `user:${ctx.activeUserId || ''}:channel:${ctx.channelId || ''}`,
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=settings-store-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-store-types.js","sourceRoot":"","sources":["../../../src/config/settings-store/settings-store-types.ts"],"names":[],"mappings":";;;AAkHA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACU,QAAA,mBAAmB,GAAG;IAC/B;;;OAGG;IACH,MAAM,EAAE,GAAW,EAAE,CAAC,EAAE;IAExB;;;OAGG;IACH,IAAI,EAAE,CAAC,EAAE,GAAG,EAA2B,EAAU,EAAE,CAAC,QAAQ,GAAG,CAAC,YAAY,IAAI,SAAS,EAAE;IAE3F;;;OAGG;IACH,OAAO,EAAE,CAAC,EAAE,GAAG,EAA2B,EAAU,EAAE,CAAC,WAAW,GAAG,CAAC,SAAS,IAAI,SAAS,EAAE;IAE9F;;;OAGG;IACH,cAAc,EAAE,CAAC,EAAE,GAAG,EAA2B,EAAU,EAAE,CACzD,QAAQ,GAAG,CAAC,YAAY,IAAI,EAAE,YAAY,GAAG,CAAC,SAAS,IAAI,EAAE,EAAE;CACtE,CAAC"}
|
|
@@ -52,6 +52,7 @@ import { PromotionAction } from './promotion/promotion-action';
|
|
|
52
52
|
import { PromotionCondition } from './promotion/promotion-condition';
|
|
53
53
|
import { RefundProcess } from './refund/refund-process';
|
|
54
54
|
import { SessionCacheStrategy } from './session-cache/session-cache-strategy';
|
|
55
|
+
import { SettingsStoreFields } from './settings-store/settings-store-types';
|
|
55
56
|
import { ShippingCalculator } from './shipping-method/shipping-calculator';
|
|
56
57
|
import { ShippingEligibilityChecker } from './shipping-method/shipping-eligibility-checker';
|
|
57
58
|
import { ShippingLineAssignmentStrategy } from './shipping-method/shipping-line-assignment-strategy';
|
|
@@ -186,6 +187,14 @@ export interface ApiOptions {
|
|
|
186
187
|
* @default []
|
|
187
188
|
*/
|
|
188
189
|
middleware?: Middleware[];
|
|
190
|
+
/**
|
|
191
|
+
* @description
|
|
192
|
+
* Set the trust proxy configuration for the server. See the [express proxy docs](https://expressjs.com/en/guide/behind-proxies.html).
|
|
193
|
+
*
|
|
194
|
+
* @default false
|
|
195
|
+
* @since 3.4.0
|
|
196
|
+
*/
|
|
197
|
+
trustProxy?: TrustProxyOptions;
|
|
189
198
|
/**
|
|
190
199
|
* @description
|
|
191
200
|
* Custom [ApolloServerPlugins](https://www.apollographql.com/docs/apollo-server/integrations/plugins/) which
|
|
@@ -218,6 +227,17 @@ export interface ApiOptions {
|
|
|
218
227
|
*/
|
|
219
228
|
introspection?: boolean;
|
|
220
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* @description
|
|
232
|
+
* Configures Express trust proxy settings when running behind a reverse proxy (usually the case with most hosting services).
|
|
233
|
+
* Setting `trustProxy` allows you to retrieve the original IP address from the `X-Forwarded-For` header.
|
|
234
|
+
*
|
|
235
|
+
* See the [express documentation](https://expressjs.com/en/guide/behind-proxies.html) for more details.
|
|
236
|
+
*
|
|
237
|
+
* @docsCategory configuration
|
|
238
|
+
* @since 3.4.0
|
|
239
|
+
*/
|
|
240
|
+
export type TrustProxyOptions = boolean | number | string | string[] | ((ip: string) => boolean);
|
|
221
241
|
/**
|
|
222
242
|
* @description
|
|
223
243
|
* Options for the handling of the cookies used to track sessions (only applicable if
|
|
@@ -1137,6 +1157,16 @@ export interface VendureConfig {
|
|
|
1137
1157
|
* @default {}
|
|
1138
1158
|
*/
|
|
1139
1159
|
customFields?: CustomFields;
|
|
1160
|
+
/**
|
|
1161
|
+
* @description
|
|
1162
|
+
* Defines key-value fields that can be set and read via the `getKeyValue`/`setKeyValue` GraphQL APIs
|
|
1163
|
+
* and via the {@link SettingsStoreService}. These differ from custom fields in that they are not associated
|
|
1164
|
+
* with a specific entity, but can be scoped globally or to a specific user etc, and defining them does not
|
|
1165
|
+
* require any changes to the database schema.
|
|
1166
|
+
*
|
|
1167
|
+
* @since 3.4.0
|
|
1168
|
+
*/
|
|
1169
|
+
settingsStoreFields?: SettingsStoreFields;
|
|
1140
1170
|
/**
|
|
1141
1171
|
* @description
|
|
1142
1172
|
* The connection options used by TypeORM to connect to the database.
|
|
@@ -8,38 +8,38 @@ import { Channel } from './channel/channel.entity';
|
|
|
8
8
|
import { CollectionAsset } from './collection/collection-asset.entity';
|
|
9
9
|
import { CollectionTranslation } from './collection/collection-translation.entity';
|
|
10
10
|
import { Collection } from './collection/collection.entity';
|
|
11
|
-
import { Customer } from './customer/customer.entity';
|
|
12
11
|
import { CustomerGroup } from './customer-group/customer-group.entity';
|
|
13
|
-
import {
|
|
14
|
-
import { Facet } from './facet/facet.entity';
|
|
12
|
+
import { Customer } from './customer/customer.entity';
|
|
15
13
|
import { FacetValueTranslation } from './facet-value/facet-value-translation.entity';
|
|
16
14
|
import { FacetValue } from './facet-value/facet-value.entity';
|
|
15
|
+
import { FacetTranslation } from './facet/facet-translation.entity';
|
|
16
|
+
import { Facet } from './facet/facet.entity';
|
|
17
17
|
import { Fulfillment } from './fulfillment/fulfillment.entity';
|
|
18
18
|
import { GlobalSettings } from './global-settings/global-settings.entity';
|
|
19
19
|
import { CustomerHistoryEntry } from './history-entry/customer-history-entry.entity';
|
|
20
20
|
import { HistoryEntry } from './history-entry/history-entry.entity';
|
|
21
21
|
import { OrderHistoryEntry } from './history-entry/order-history-entry.entity';
|
|
22
|
-
import { Order } from './order/order.entity';
|
|
23
|
-
import { OrderLine } from './order-line/order-line.entity';
|
|
24
22
|
import { FulfillmentLine } from './order-line-reference/fulfillment-line.entity';
|
|
25
23
|
import { OrderLineReference } from './order-line-reference/order-line-reference.entity';
|
|
26
24
|
import { OrderModificationLine } from './order-line-reference/order-modification-line.entity';
|
|
27
25
|
import { RefundLine } from './order-line-reference/refund-line.entity';
|
|
26
|
+
import { OrderLine } from './order-line/order-line.entity';
|
|
28
27
|
import { OrderModification } from './order-modification/order-modification.entity';
|
|
29
|
-
import {
|
|
28
|
+
import { Order } from './order/order.entity';
|
|
30
29
|
import { PaymentMethodTranslation } from './payment-method/payment-method-translation.entity';
|
|
31
30
|
import { PaymentMethod } from './payment-method/payment-method.entity';
|
|
32
|
-
import {
|
|
33
|
-
import { ProductTranslation } from './product/product-translation.entity';
|
|
34
|
-
import { Product } from './product/product.entity';
|
|
35
|
-
import { ProductOptionTranslation } from './product-option/product-option-translation.entity';
|
|
36
|
-
import { ProductOption } from './product-option/product-option.entity';
|
|
31
|
+
import { Payment } from './payment/payment.entity';
|
|
37
32
|
import { ProductOptionGroupTranslation } from './product-option-group/product-option-group-translation.entity';
|
|
38
33
|
import { ProductOptionGroup } from './product-option-group/product-option-group.entity';
|
|
34
|
+
import { ProductOptionTranslation } from './product-option/product-option-translation.entity';
|
|
35
|
+
import { ProductOption } from './product-option/product-option.entity';
|
|
39
36
|
import { ProductVariantAsset } from './product-variant/product-variant-asset.entity';
|
|
40
37
|
import { ProductVariantPrice } from './product-variant/product-variant-price.entity';
|
|
41
38
|
import { ProductVariantTranslation } from './product-variant/product-variant-translation.entity';
|
|
42
39
|
import { ProductVariant } from './product-variant/product-variant.entity';
|
|
40
|
+
import { ProductAsset } from './product/product-asset.entity';
|
|
41
|
+
import { ProductTranslation } from './product/product-translation.entity';
|
|
42
|
+
import { Product } from './product/product.entity';
|
|
43
43
|
import { PromotionTranslation } from './promotion/promotion-translation.entity';
|
|
44
44
|
import { Promotion } from './promotion/promotion.entity';
|
|
45
45
|
import { Refund } from './refund/refund.entity';
|
|
@@ -52,6 +52,7 @@ import { Seller } from './seller/seller.entity';
|
|
|
52
52
|
import { AnonymousSession } from './session/anonymous-session.entity';
|
|
53
53
|
import { AuthenticatedSession } from './session/authenticated-session.entity';
|
|
54
54
|
import { Session } from './session/session.entity';
|
|
55
|
+
import { SettingsStoreEntry } from './settings-store-entry/settings-store-entry.entity';
|
|
55
56
|
import { ShippingLine } from './shipping-line/shipping-line.entity';
|
|
56
57
|
import { ShippingMethodTranslation } from './shipping-method/shipping-method-translation.entity';
|
|
57
58
|
import { ShippingMethod } from './shipping-method/shipping-method.entity';
|
|
@@ -98,8 +99,8 @@ export declare const coreEntitiesMap: {
|
|
|
98
99
|
FulfillmentLine: typeof FulfillmentLine;
|
|
99
100
|
GlobalSettings: typeof GlobalSettings;
|
|
100
101
|
HistoryEntry: typeof HistoryEntry;
|
|
101
|
-
OrderModificationLine: typeof OrderModificationLine;
|
|
102
102
|
NativeAuthenticationMethod: typeof NativeAuthenticationMethod;
|
|
103
|
+
OrderModificationLine: typeof OrderModificationLine;
|
|
103
104
|
Order: typeof Order;
|
|
104
105
|
OrderHistoryEntry: typeof OrderHistoryEntry;
|
|
105
106
|
OrderLine: typeof OrderLine;
|
|
@@ -130,6 +131,7 @@ export declare const coreEntitiesMap: {
|
|
|
130
131
|
Role: typeof Role;
|
|
131
132
|
Sale: typeof Sale;
|
|
132
133
|
Session: typeof Session;
|
|
134
|
+
SettingsStoreEntry: typeof SettingsStoreEntry;
|
|
133
135
|
ShippingLine: typeof ShippingLine;
|
|
134
136
|
ShippingMethod: typeof ShippingMethod;
|
|
135
137
|
ShippingMethodTranslation: typeof ShippingMethodTranslation;
|
package/dist/entity/entities.js
CHANGED
|
@@ -11,38 +11,38 @@ const channel_entity_1 = require("./channel/channel.entity");
|
|
|
11
11
|
const collection_asset_entity_1 = require("./collection/collection-asset.entity");
|
|
12
12
|
const collection_translation_entity_1 = require("./collection/collection-translation.entity");
|
|
13
13
|
const collection_entity_1 = require("./collection/collection.entity");
|
|
14
|
-
const customer_entity_1 = require("./customer/customer.entity");
|
|
15
14
|
const customer_group_entity_1 = require("./customer-group/customer-group.entity");
|
|
16
|
-
const
|
|
17
|
-
const facet_entity_1 = require("./facet/facet.entity");
|
|
15
|
+
const customer_entity_1 = require("./customer/customer.entity");
|
|
18
16
|
const facet_value_translation_entity_1 = require("./facet-value/facet-value-translation.entity");
|
|
19
17
|
const facet_value_entity_1 = require("./facet-value/facet-value.entity");
|
|
18
|
+
const facet_translation_entity_1 = require("./facet/facet-translation.entity");
|
|
19
|
+
const facet_entity_1 = require("./facet/facet.entity");
|
|
20
20
|
const fulfillment_entity_1 = require("./fulfillment/fulfillment.entity");
|
|
21
21
|
const global_settings_entity_1 = require("./global-settings/global-settings.entity");
|
|
22
22
|
const customer_history_entry_entity_1 = require("./history-entry/customer-history-entry.entity");
|
|
23
23
|
const history_entry_entity_1 = require("./history-entry/history-entry.entity");
|
|
24
24
|
const order_history_entry_entity_1 = require("./history-entry/order-history-entry.entity");
|
|
25
|
-
const order_entity_1 = require("./order/order.entity");
|
|
26
|
-
const order_line_entity_1 = require("./order-line/order-line.entity");
|
|
27
25
|
const fulfillment_line_entity_1 = require("./order-line-reference/fulfillment-line.entity");
|
|
28
26
|
const order_line_reference_entity_1 = require("./order-line-reference/order-line-reference.entity");
|
|
29
27
|
const order_modification_line_entity_1 = require("./order-line-reference/order-modification-line.entity");
|
|
30
28
|
const refund_line_entity_1 = require("./order-line-reference/refund-line.entity");
|
|
29
|
+
const order_line_entity_1 = require("./order-line/order-line.entity");
|
|
31
30
|
const order_modification_entity_1 = require("./order-modification/order-modification.entity");
|
|
32
|
-
const
|
|
31
|
+
const order_entity_1 = require("./order/order.entity");
|
|
33
32
|
const payment_method_translation_entity_1 = require("./payment-method/payment-method-translation.entity");
|
|
34
33
|
const payment_method_entity_1 = require("./payment-method/payment-method.entity");
|
|
35
|
-
const
|
|
36
|
-
const product_translation_entity_1 = require("./product/product-translation.entity");
|
|
37
|
-
const product_entity_1 = require("./product/product.entity");
|
|
38
|
-
const product_option_translation_entity_1 = require("./product-option/product-option-translation.entity");
|
|
39
|
-
const product_option_entity_1 = require("./product-option/product-option.entity");
|
|
34
|
+
const payment_entity_1 = require("./payment/payment.entity");
|
|
40
35
|
const product_option_group_translation_entity_1 = require("./product-option-group/product-option-group-translation.entity");
|
|
41
36
|
const product_option_group_entity_1 = require("./product-option-group/product-option-group.entity");
|
|
37
|
+
const product_option_translation_entity_1 = require("./product-option/product-option-translation.entity");
|
|
38
|
+
const product_option_entity_1 = require("./product-option/product-option.entity");
|
|
42
39
|
const product_variant_asset_entity_1 = require("./product-variant/product-variant-asset.entity");
|
|
43
40
|
const product_variant_price_entity_1 = require("./product-variant/product-variant-price.entity");
|
|
44
41
|
const product_variant_translation_entity_1 = require("./product-variant/product-variant-translation.entity");
|
|
45
42
|
const product_variant_entity_1 = require("./product-variant/product-variant.entity");
|
|
43
|
+
const product_asset_entity_1 = require("./product/product-asset.entity");
|
|
44
|
+
const product_translation_entity_1 = require("./product/product-translation.entity");
|
|
45
|
+
const product_entity_1 = require("./product/product.entity");
|
|
46
46
|
const promotion_translation_entity_1 = require("./promotion/promotion-translation.entity");
|
|
47
47
|
const promotion_entity_1 = require("./promotion/promotion.entity");
|
|
48
48
|
const refund_entity_1 = require("./refund/refund.entity");
|
|
@@ -55,6 +55,7 @@ const seller_entity_1 = require("./seller/seller.entity");
|
|
|
55
55
|
const anonymous_session_entity_1 = require("./session/anonymous-session.entity");
|
|
56
56
|
const authenticated_session_entity_1 = require("./session/authenticated-session.entity");
|
|
57
57
|
const session_entity_1 = require("./session/session.entity");
|
|
58
|
+
const settings_store_entry_entity_1 = require("./settings-store-entry/settings-store-entry.entity");
|
|
58
59
|
const shipping_line_entity_1 = require("./shipping-line/shipping-line.entity");
|
|
59
60
|
const shipping_method_translation_entity_1 = require("./shipping-method/shipping-method-translation.entity");
|
|
60
61
|
const shipping_method_entity_1 = require("./shipping-method/shipping-method.entity");
|
|
@@ -101,8 +102,8 @@ exports.coreEntitiesMap = {
|
|
|
101
102
|
FulfillmentLine: fulfillment_line_entity_1.FulfillmentLine,
|
|
102
103
|
GlobalSettings: global_settings_entity_1.GlobalSettings,
|
|
103
104
|
HistoryEntry: history_entry_entity_1.HistoryEntry,
|
|
104
|
-
OrderModificationLine: order_modification_line_entity_1.OrderModificationLine,
|
|
105
105
|
NativeAuthenticationMethod: native_authentication_method_entity_1.NativeAuthenticationMethod,
|
|
106
|
+
OrderModificationLine: order_modification_line_entity_1.OrderModificationLine,
|
|
106
107
|
Order: order_entity_1.Order,
|
|
107
108
|
OrderHistoryEntry: order_history_entry_entity_1.OrderHistoryEntry,
|
|
108
109
|
OrderLine: order_line_entity_1.OrderLine,
|
|
@@ -133,6 +134,7 @@ exports.coreEntitiesMap = {
|
|
|
133
134
|
Role: role_entity_1.Role,
|
|
134
135
|
Sale: sale_entity_1.Sale,
|
|
135
136
|
Session: session_entity_1.Session,
|
|
137
|
+
SettingsStoreEntry: settings_store_entry_entity_1.SettingsStoreEntry,
|
|
136
138
|
ShippingLine: shipping_line_entity_1.ShippingLine,
|
|
137
139
|
ShippingMethod: shipping_method_entity_1.ShippingMethod,
|
|
138
140
|
ShippingMethodTranslation: shipping_method_translation_entity_1.ShippingMethodTranslation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../src/entity/entities.ts"],"names":[],"mappings":";;;AAAA,6DAAmD;AACnD,+EAAqE;AACrE,uDAA6C;AAC7C,uGAA4F;AAC5F,yHAA6G;AAC7G,qHAAyG;AACzG,6DAAmD;AACnD,kFAAuE;AACvE,8FAAmF;AACnF,sEAA4D;AAC5D,gEAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../src/entity/entities.ts"],"names":[],"mappings":"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"}
|
package/dist/entity/index.d.ts
CHANGED
|
@@ -10,23 +10,23 @@ export * from './channel/channel.entity';
|
|
|
10
10
|
export * from './collection/collection-asset.entity';
|
|
11
11
|
export * from './collection/collection-translation.entity';
|
|
12
12
|
export * from './collection/collection.entity';
|
|
13
|
-
export * from './region/country.entity';
|
|
14
13
|
export * from './custom-entity-fields';
|
|
15
14
|
export * from './customer-group/customer-group.entity';
|
|
16
15
|
export * from './customer/customer.entity';
|
|
16
|
+
export * from './entity-id.decorator';
|
|
17
17
|
export * from './facet-value/facet-value-translation.entity';
|
|
18
18
|
export * from './facet-value/facet-value.entity';
|
|
19
19
|
export * from './facet/facet-translation.entity';
|
|
20
20
|
export * from './facet/facet.entity';
|
|
21
21
|
export * from './fulfillment/fulfillment.entity';
|
|
22
22
|
export * from './global-settings/global-settings.entity';
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './order-line/order-line.entity';
|
|
23
|
+
export * from './money.decorator';
|
|
25
24
|
export * from './order-line-reference/fulfillment-line.entity';
|
|
26
|
-
export * from './order-line-reference/order-modification-line.entity';
|
|
27
25
|
export * from './order-line-reference/order-line-reference.entity';
|
|
26
|
+
export * from './order-line-reference/order-modification-line.entity';
|
|
28
27
|
export * from './order-line-reference/refund-line.entity';
|
|
29
|
-
export * from './
|
|
28
|
+
export * from './order-line/order-line.entity';
|
|
29
|
+
export * from './order/order.entity';
|
|
30
30
|
export * from './payment-method/payment-method.entity';
|
|
31
31
|
export * from './payment/payment.entity';
|
|
32
32
|
export * from './product-option-group/product-option-group-translation.entity';
|
|
@@ -42,11 +42,13 @@ export * from './product/product-translation.entity';
|
|
|
42
42
|
export * from './product/product.entity';
|
|
43
43
|
export * from './promotion/promotion.entity';
|
|
44
44
|
export * from './refund/refund.entity';
|
|
45
|
+
export * from './region/country.entity';
|
|
45
46
|
export * from './role/role.entity';
|
|
46
47
|
export * from './seller/seller.entity';
|
|
47
48
|
export * from './session/anonymous-session.entity';
|
|
48
49
|
export * from './session/authenticated-session.entity';
|
|
49
50
|
export * from './session/session.entity';
|
|
51
|
+
export * from './settings-store-entry/settings-store-entry.entity';
|
|
50
52
|
export * from './shipping-line/shipping-line.entity';
|
|
51
53
|
export * from './shipping-method/shipping-method.entity';
|
|
52
54
|
export * from './stock-level/stock-level.entity';
|
|
@@ -63,5 +65,3 @@ export * from './tax-category/tax-category.entity';
|
|
|
63
65
|
export * from './tax-rate/tax-rate.entity';
|
|
64
66
|
export * from './user/user.entity';
|
|
65
67
|
export * from './zone/zone.entity';
|
|
66
|
-
export * from './entity-id.decorator';
|
|
67
|
-
export * from './money.decorator';
|
package/dist/entity/index.js
CHANGED
|
@@ -26,23 +26,23 @@ __exportStar(require("./channel/channel.entity"), exports);
|
|
|
26
26
|
__exportStar(require("./collection/collection-asset.entity"), exports);
|
|
27
27
|
__exportStar(require("./collection/collection-translation.entity"), exports);
|
|
28
28
|
__exportStar(require("./collection/collection.entity"), exports);
|
|
29
|
-
__exportStar(require("./region/country.entity"), exports);
|
|
30
29
|
__exportStar(require("./custom-entity-fields"), exports);
|
|
31
30
|
__exportStar(require("./customer-group/customer-group.entity"), exports);
|
|
32
31
|
__exportStar(require("./customer/customer.entity"), exports);
|
|
32
|
+
__exportStar(require("./entity-id.decorator"), exports);
|
|
33
33
|
__exportStar(require("./facet-value/facet-value-translation.entity"), exports);
|
|
34
34
|
__exportStar(require("./facet-value/facet-value.entity"), exports);
|
|
35
35
|
__exportStar(require("./facet/facet-translation.entity"), exports);
|
|
36
36
|
__exportStar(require("./facet/facet.entity"), exports);
|
|
37
37
|
__exportStar(require("./fulfillment/fulfillment.entity"), exports);
|
|
38
38
|
__exportStar(require("./global-settings/global-settings.entity"), exports);
|
|
39
|
-
__exportStar(require("./
|
|
40
|
-
__exportStar(require("./order-line/order-line.entity"), exports);
|
|
39
|
+
__exportStar(require("./money.decorator"), exports);
|
|
41
40
|
__exportStar(require("./order-line-reference/fulfillment-line.entity"), exports);
|
|
42
|
-
__exportStar(require("./order-line-reference/order-modification-line.entity"), exports);
|
|
43
41
|
__exportStar(require("./order-line-reference/order-line-reference.entity"), exports);
|
|
42
|
+
__exportStar(require("./order-line-reference/order-modification-line.entity"), exports);
|
|
44
43
|
__exportStar(require("./order-line-reference/refund-line.entity"), exports);
|
|
45
|
-
__exportStar(require("./
|
|
44
|
+
__exportStar(require("./order-line/order-line.entity"), exports);
|
|
45
|
+
__exportStar(require("./order/order.entity"), exports);
|
|
46
46
|
__exportStar(require("./payment-method/payment-method.entity"), exports);
|
|
47
47
|
__exportStar(require("./payment/payment.entity"), exports);
|
|
48
48
|
__exportStar(require("./product-option-group/product-option-group-translation.entity"), exports);
|
|
@@ -58,11 +58,13 @@ __exportStar(require("./product/product-translation.entity"), exports);
|
|
|
58
58
|
__exportStar(require("./product/product.entity"), exports);
|
|
59
59
|
__exportStar(require("./promotion/promotion.entity"), exports);
|
|
60
60
|
__exportStar(require("./refund/refund.entity"), exports);
|
|
61
|
+
__exportStar(require("./region/country.entity"), exports);
|
|
61
62
|
__exportStar(require("./role/role.entity"), exports);
|
|
62
63
|
__exportStar(require("./seller/seller.entity"), exports);
|
|
63
64
|
__exportStar(require("./session/anonymous-session.entity"), exports);
|
|
64
65
|
__exportStar(require("./session/authenticated-session.entity"), exports);
|
|
65
66
|
__exportStar(require("./session/session.entity"), exports);
|
|
67
|
+
__exportStar(require("./settings-store-entry/settings-store-entry.entity"), exports);
|
|
66
68
|
__exportStar(require("./shipping-line/shipping-line.entity"), exports);
|
|
67
69
|
__exportStar(require("./shipping-method/shipping-method.entity"), exports);
|
|
68
70
|
__exportStar(require("./stock-level/stock-level.entity"), exports);
|
|
@@ -79,6 +81,4 @@ __exportStar(require("./tax-category/tax-category.entity"), exports);
|
|
|
79
81
|
__exportStar(require("./tax-rate/tax-rate.entity"), exports);
|
|
80
82
|
__exportStar(require("./user/user.entity"), exports);
|
|
81
83
|
__exportStar(require("./zone/zone.entity"), exports);
|
|
82
|
-
__exportStar(require("./entity-id.decorator"), exports);
|
|
83
|
-
__exportStar(require("./money.decorator"), exports);
|
|
84
84
|
//# sourceMappingURL=index.js.map
|
package/dist/entity/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,uEAAqD;AACrD,uDAAqC;AACrC,iEAA+C;AAC/C,uFAAqE;AACrE,gGAA8E;AAC9E,8FAA4E;AAC5E,qDAAmC;AACnC,2DAAyC;AACzC,uEAAqD;AACrD,6EAA2D;AAC3D,iEAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,uEAAqD;AACrD,uDAAqC;AACrC,iEAA+C;AAC/C,uFAAqE;AACrE,gGAA8E;AAC9E,8FAA4E;AAC5E,qDAAmC;AACnC,2DAAyC;AACzC,uEAAqD;AACrD,6EAA2D;AAC3D,iEAA+C;AAC/C,yDAAuC;AACvC,yEAAuD;AACvD,6DAA2C;AAC3C,wDAAsC;AACtC,+EAA6D;AAC7D,mEAAiD;AACjD,mEAAiD;AACjD,uDAAqC;AACrC,mEAAiD;AACjD,2EAAyD;AACzD,oDAAkC;AAClC,iFAA+D;AAC/D,qFAAmE;AACnE,wFAAsE;AACtE,4EAA0D;AAC1D,iEAA+C;AAC/C,uDAAqC;AACrC,yEAAuD;AACvD,2DAAyC;AACzC,iGAA+E;AAC/E,qFAAmE;AACnE,qFAAmE;AACnE,yEAAuD;AACvD,iFAA+D;AAC/D,iFAA+D;AAC/D,uFAAqE;AACrE,2EAAyD;AACzD,iEAA+C;AAC/C,uEAAqD;AACrD,2DAAyC;AACzC,+DAA6C;AAC7C,yDAAuC;AACvC,0DAAwC;AACxC,qDAAmC;AACnC,yDAAuC;AACvC,qEAAmD;AACnD,yEAAuD;AACvD,2DAAyC;AACzC,qFAAmE;AACnE,uEAAqD;AACrD,2EAAyD;AACzD,mEAAiD;AACjD,yEAAuD;AACvD,qEAAmD;AACnD,uEAAqD;AACrD,kEAAgD;AAChD,+DAA6C;AAC7C,2EAAyD;AACzD,yEAAuD;AACvD,+DAA6C;AAC7C,mDAAiC;AACjC,qEAAmD;AACnD,6DAA2C;AAC3C,qDAAmC;AACnC,qDAAmC"}
|