@wix/categories 1.0.50 → 1.0.52
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/build/cjs/context.js +1 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -0
- package/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +431 -87
- package/type-bundles/index.bundle.d.ts +431 -87
- package/type-bundles/meta.bundle.d.ts +8 -78
|
@@ -1,8 +1,47 @@
|
|
|
1
|
+
type HostModule<T, H extends Host> = {
|
|
2
|
+
__type: 'host';
|
|
3
|
+
create(host: H): T;
|
|
4
|
+
};
|
|
5
|
+
type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
|
|
6
|
+
type Host<Environment = unknown> = {
|
|
7
|
+
channel: {
|
|
8
|
+
observeState(callback: (props: unknown, environment: Environment) => unknown): {
|
|
9
|
+
disconnect: () => void;
|
|
10
|
+
} | Promise<{
|
|
11
|
+
disconnect: () => void;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
environment?: Environment;
|
|
15
|
+
/**
|
|
16
|
+
* Optional bast url to use for API requests, for example `www.wixapis.com`
|
|
17
|
+
*/
|
|
18
|
+
apiBaseUrl?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Possible data to be provided by every host, for cross cutting concerns
|
|
21
|
+
* like internationalization, billing, etc.
|
|
22
|
+
*/
|
|
23
|
+
essentials?: {
|
|
24
|
+
/**
|
|
25
|
+
* The language of the currently viewed session
|
|
26
|
+
*/
|
|
27
|
+
language?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The locale of the currently viewed session
|
|
30
|
+
*/
|
|
31
|
+
locale?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Any headers that should be passed through to the API requests
|
|
34
|
+
*/
|
|
35
|
+
passThroughHeaders?: Record<string, string>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
|
|
1
39
|
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
2
40
|
interface HttpClient {
|
|
3
41
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
4
42
|
fetchWithAuth: typeof fetch;
|
|
5
43
|
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
44
|
+
getActiveToken?: () => string | undefined;
|
|
6
45
|
}
|
|
7
46
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
8
47
|
type HttpResponse<T = any> = {
|
|
@@ -24,16 +63,65 @@ type APIMetadata = {
|
|
|
24
63
|
packageName?: string;
|
|
25
64
|
};
|
|
26
65
|
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
27
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
66
|
+
type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
28
67
|
__type: 'event-definition';
|
|
29
68
|
type: Type;
|
|
30
69
|
isDomainEvent?: boolean;
|
|
31
70
|
transformations?: (envelope: unknown) => Payload;
|
|
32
71
|
__payload: Payload;
|
|
33
72
|
};
|
|
34
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
35
|
-
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
36
|
-
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
73
|
+
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
|
74
|
+
type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
|
|
75
|
+
type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
|
|
76
|
+
|
|
77
|
+
type ServicePluginMethodInput = {
|
|
78
|
+
request: any;
|
|
79
|
+
metadata: any;
|
|
80
|
+
};
|
|
81
|
+
type ServicePluginContract = Record<string, (payload: ServicePluginMethodInput) => unknown | Promise<unknown>>;
|
|
82
|
+
type ServicePluginMethodMetadata = {
|
|
83
|
+
name: string;
|
|
84
|
+
primaryHttpMappingPath: string;
|
|
85
|
+
transformations: {
|
|
86
|
+
fromREST: (...args: unknown[]) => ServicePluginMethodInput;
|
|
87
|
+
toREST: (...args: unknown[]) => unknown;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
type ServicePluginDefinition<Contract extends ServicePluginContract> = {
|
|
91
|
+
__type: 'service-plugin-definition';
|
|
92
|
+
componentType: string;
|
|
93
|
+
methods: ServicePluginMethodMetadata[];
|
|
94
|
+
__contract: Contract;
|
|
95
|
+
};
|
|
96
|
+
declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
|
|
97
|
+
type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
|
|
98
|
+
declare const SERVICE_PLUGIN_ERROR_TYPE = "wix_spi_error";
|
|
99
|
+
|
|
100
|
+
type RequestContext = {
|
|
101
|
+
isSSR: boolean;
|
|
102
|
+
host: string;
|
|
103
|
+
protocol?: string;
|
|
104
|
+
};
|
|
105
|
+
type ResponseTransformer = (data: any, headers?: any) => any;
|
|
106
|
+
/**
|
|
107
|
+
* Ambassador request options types are copied mostly from AxiosRequestConfig.
|
|
108
|
+
* They are copied and not imported to reduce the amount of dependencies (to reduce install time).
|
|
109
|
+
* https://github.com/axios/axios/blob/3f53eb6960f05a1f88409c4b731a40de595cb825/index.d.ts#L307-L315
|
|
110
|
+
*/
|
|
111
|
+
type Method = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
|
|
112
|
+
type AmbassadorRequestOptions<T = any> = {
|
|
113
|
+
_?: T;
|
|
114
|
+
url?: string;
|
|
115
|
+
method?: Method;
|
|
116
|
+
params?: any;
|
|
117
|
+
data?: any;
|
|
118
|
+
transformResponse?: ResponseTransformer | ResponseTransformer[];
|
|
119
|
+
};
|
|
120
|
+
type AmbassadorFactory<Request, Response> = (payload: Request) => ((context: RequestContext) => AmbassadorRequestOptions<Response>) & {
|
|
121
|
+
__isAmbassador: boolean;
|
|
122
|
+
};
|
|
123
|
+
type AmbassadorFunctionDescriptor<Request = any, Response = any> = AmbassadorFactory<Request, Response>;
|
|
124
|
+
type BuildAmbassadorFunction<T extends AmbassadorFunctionDescriptor> = T extends AmbassadorFunctionDescriptor<infer Request, infer Response> ? (req: Request) => Promise<Response> : never;
|
|
37
125
|
|
|
38
126
|
declare global {
|
|
39
127
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -42,6 +130,284 @@ declare global {
|
|
|
42
130
|
}
|
|
43
131
|
}
|
|
44
132
|
|
|
133
|
+
declare const emptyObjectSymbol: unique symbol;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
Represents a strictly empty plain object, the `{}` value.
|
|
137
|
+
|
|
138
|
+
When you annotate something as the type `{}`, it can be anything except `null` and `undefined`. This means that you cannot use `{}` to represent an empty plain object ([read more](https://stackoverflow.com/questions/47339869/typescript-empty-object-and-any-difference/52193484#52193484)).
|
|
139
|
+
|
|
140
|
+
@example
|
|
141
|
+
```
|
|
142
|
+
import type {EmptyObject} from 'type-fest';
|
|
143
|
+
|
|
144
|
+
// The following illustrates the problem with `{}`.
|
|
145
|
+
const foo1: {} = {}; // Pass
|
|
146
|
+
const foo2: {} = []; // Pass
|
|
147
|
+
const foo3: {} = 42; // Pass
|
|
148
|
+
const foo4: {} = {a: 1}; // Pass
|
|
149
|
+
|
|
150
|
+
// With `EmptyObject` only the first case is valid.
|
|
151
|
+
const bar1: EmptyObject = {}; // Pass
|
|
152
|
+
const bar2: EmptyObject = 42; // Fail
|
|
153
|
+
const bar3: EmptyObject = []; // Fail
|
|
154
|
+
const bar4: EmptyObject = {a: 1}; // Fail
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Unfortunately, `Record<string, never>`, `Record<keyof any, never>` and `Record<never, never>` do not work. See {@link https://github.com/sindresorhus/type-fest/issues/395 #395}.
|
|
158
|
+
|
|
159
|
+
@category Object
|
|
160
|
+
*/
|
|
161
|
+
type EmptyObject = {[emptyObjectSymbol]?: never};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
Returns a boolean for whether the two given types are equal.
|
|
165
|
+
|
|
166
|
+
@link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
|
|
167
|
+
@link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
|
|
168
|
+
|
|
169
|
+
Use-cases:
|
|
170
|
+
- If you want to make a conditional branch based on the result of a comparison of two types.
|
|
171
|
+
|
|
172
|
+
@example
|
|
173
|
+
```
|
|
174
|
+
import type {IsEqual} from 'type-fest';
|
|
175
|
+
|
|
176
|
+
// This type returns a boolean for whether the given array includes the given item.
|
|
177
|
+
// `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
|
|
178
|
+
type Includes<Value extends readonly any[], Item> =
|
|
179
|
+
Value extends readonly [Value[0], ...infer rest]
|
|
180
|
+
? IsEqual<Value[0], Item> extends true
|
|
181
|
+
? true
|
|
182
|
+
: Includes<rest, Item>
|
|
183
|
+
: false;
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
@category Type Guard
|
|
187
|
+
@category Utilities
|
|
188
|
+
*/
|
|
189
|
+
type IsEqual<A, B> =
|
|
190
|
+
(<G>() => G extends A ? 1 : 2) extends
|
|
191
|
+
(<G>() => G extends B ? 1 : 2)
|
|
192
|
+
? true
|
|
193
|
+
: false;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
Filter out keys from an object.
|
|
197
|
+
|
|
198
|
+
Returns `never` if `Exclude` is strictly equal to `Key`.
|
|
199
|
+
Returns `never` if `Key` extends `Exclude`.
|
|
200
|
+
Returns `Key` otherwise.
|
|
201
|
+
|
|
202
|
+
@example
|
|
203
|
+
```
|
|
204
|
+
type Filtered = Filter<'foo', 'foo'>;
|
|
205
|
+
//=> never
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
@example
|
|
209
|
+
```
|
|
210
|
+
type Filtered = Filter<'bar', string>;
|
|
211
|
+
//=> never
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
@example
|
|
215
|
+
```
|
|
216
|
+
type Filtered = Filter<'bar', 'foo'>;
|
|
217
|
+
//=> 'bar'
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
@see {Except}
|
|
221
|
+
*/
|
|
222
|
+
type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
|
|
223
|
+
|
|
224
|
+
type ExceptOptions = {
|
|
225
|
+
/**
|
|
226
|
+
Disallow assigning non-specified properties.
|
|
227
|
+
|
|
228
|
+
Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
|
|
229
|
+
|
|
230
|
+
@default false
|
|
231
|
+
*/
|
|
232
|
+
requireExactProps?: boolean;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
Create a type from an object type without certain keys.
|
|
237
|
+
|
|
238
|
+
We recommend setting the `requireExactProps` option to `true`.
|
|
239
|
+
|
|
240
|
+
This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.
|
|
241
|
+
|
|
242
|
+
This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).
|
|
243
|
+
|
|
244
|
+
@example
|
|
245
|
+
```
|
|
246
|
+
import type {Except} from 'type-fest';
|
|
247
|
+
|
|
248
|
+
type Foo = {
|
|
249
|
+
a: number;
|
|
250
|
+
b: string;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
type FooWithoutA = Except<Foo, 'a'>;
|
|
254
|
+
//=> {b: string}
|
|
255
|
+
|
|
256
|
+
const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
|
|
257
|
+
//=> errors: 'a' does not exist in type '{ b: string; }'
|
|
258
|
+
|
|
259
|
+
type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
|
|
260
|
+
//=> {a: number} & Partial<Record<"b", never>>
|
|
261
|
+
|
|
262
|
+
const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
|
|
263
|
+
//=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
@category Object
|
|
267
|
+
*/
|
|
268
|
+
type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {requireExactProps: false}> = {
|
|
269
|
+
[KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
|
|
270
|
+
} & (Options['requireExactProps'] extends true
|
|
271
|
+
? Partial<Record<KeysType, never>>
|
|
272
|
+
: {});
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
Extract the keys from a type where the value type of the key extends the given `Condition`.
|
|
276
|
+
|
|
277
|
+
Internally this is used for the `ConditionalPick` and `ConditionalExcept` types.
|
|
278
|
+
|
|
279
|
+
@example
|
|
280
|
+
```
|
|
281
|
+
import type {ConditionalKeys} from 'type-fest';
|
|
282
|
+
|
|
283
|
+
interface Example {
|
|
284
|
+
a: string;
|
|
285
|
+
b: string | number;
|
|
286
|
+
c?: string;
|
|
287
|
+
d: {};
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
type StringKeysOnly = ConditionalKeys<Example, string>;
|
|
291
|
+
//=> 'a'
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
To support partial types, make sure your `Condition` is a union of undefined (for example, `string | undefined`) as demonstrated below.
|
|
295
|
+
|
|
296
|
+
@example
|
|
297
|
+
```
|
|
298
|
+
import type {ConditionalKeys} from 'type-fest';
|
|
299
|
+
|
|
300
|
+
type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
|
|
301
|
+
//=> 'a' | 'c'
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
@category Object
|
|
305
|
+
*/
|
|
306
|
+
type ConditionalKeys<Base, Condition> = NonNullable<
|
|
307
|
+
// Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
|
|
308
|
+
{
|
|
309
|
+
// Map through all the keys of the given base type.
|
|
310
|
+
[Key in keyof Base]:
|
|
311
|
+
// Pick only keys with types extending the given `Condition` type.
|
|
312
|
+
Base[Key] extends Condition
|
|
313
|
+
// Retain this key since the condition passes.
|
|
314
|
+
? Key
|
|
315
|
+
// Discard this key since the condition fails.
|
|
316
|
+
: never;
|
|
317
|
+
|
|
318
|
+
// Convert the produced object into a union type of the keys which passed the conditional test.
|
|
319
|
+
}[keyof Base]
|
|
320
|
+
>;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
Exclude keys from a shape that matches the given `Condition`.
|
|
324
|
+
|
|
325
|
+
This is useful when you want to create a new type with a specific set of keys from a shape. For example, you might want to exclude all the primitive properties from a class and form a new shape containing everything but the primitive properties.
|
|
326
|
+
|
|
327
|
+
@example
|
|
328
|
+
```
|
|
329
|
+
import type {Primitive, ConditionalExcept} from 'type-fest';
|
|
330
|
+
|
|
331
|
+
class Awesome {
|
|
332
|
+
name: string;
|
|
333
|
+
successes: number;
|
|
334
|
+
failures: bigint;
|
|
335
|
+
|
|
336
|
+
run() {}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
type ExceptPrimitivesFromAwesome = ConditionalExcept<Awesome, Primitive>;
|
|
340
|
+
//=> {run: () => void}
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
@example
|
|
344
|
+
```
|
|
345
|
+
import type {ConditionalExcept} from 'type-fest';
|
|
346
|
+
|
|
347
|
+
interface Example {
|
|
348
|
+
a: string;
|
|
349
|
+
b: string | number;
|
|
350
|
+
c: () => void;
|
|
351
|
+
d: {};
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
type NonStringKeysOnly = ConditionalExcept<Example, string>;
|
|
355
|
+
//=> {b: string | number; c: () => void; d: {}}
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
@category Object
|
|
359
|
+
*/
|
|
360
|
+
type ConditionalExcept<Base, Condition> = Except<
|
|
361
|
+
Base,
|
|
362
|
+
ConditionalKeys<Base, Condition>
|
|
363
|
+
>;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Descriptors are objects that describe the API of a module, and the module
|
|
367
|
+
* can either be a REST module or a host module.
|
|
368
|
+
* This type is recursive, so it can describe nested modules.
|
|
369
|
+
*/
|
|
370
|
+
type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition$1<any> | ServicePluginDefinition<any> | {
|
|
371
|
+
[key: string]: Descriptors | PublicMetadata | any;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* This type takes in a descriptors object of a certain Host (including an `unknown` host)
|
|
375
|
+
* and returns an object with the same structure, but with all descriptors replaced with their API.
|
|
376
|
+
* Any non-descriptor properties are removed from the returned object, including descriptors that
|
|
377
|
+
* do not match the given host (as they will not work with the given host).
|
|
378
|
+
*/
|
|
379
|
+
type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, Depth extends number = 5> = {
|
|
380
|
+
done: T;
|
|
381
|
+
recurse: T extends {
|
|
382
|
+
__type: typeof SERVICE_PLUGIN_ERROR_TYPE;
|
|
383
|
+
} ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition$1<any> ? BuildEventDefinition$1<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
|
|
384
|
+
[Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
|
|
385
|
+
-1,
|
|
386
|
+
0,
|
|
387
|
+
1,
|
|
388
|
+
2,
|
|
389
|
+
3,
|
|
390
|
+
4,
|
|
391
|
+
5
|
|
392
|
+
][Depth]> : never;
|
|
393
|
+
}, EmptyObject>;
|
|
394
|
+
}[Depth extends -1 ? 'done' : 'recurse'];
|
|
395
|
+
type PublicMetadata = {
|
|
396
|
+
PACKAGE_NAME?: string;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
declare global {
|
|
400
|
+
interface ContextualClient {
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* A type used to create concerete types from SDK descriptors in
|
|
405
|
+
* case a contextual client is available.
|
|
406
|
+
*/
|
|
407
|
+
type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
|
|
408
|
+
host: Host;
|
|
409
|
+
} ? BuildDescriptors<T, globalThis.ContextualClient['host']> : T;
|
|
410
|
+
|
|
45
411
|
interface Category {
|
|
46
412
|
/** Category ID. */
|
|
47
413
|
_id?: string | null;
|
|
@@ -90,18 +456,6 @@ interface Category {
|
|
|
90
456
|
* + Default: `false`.
|
|
91
457
|
*/
|
|
92
458
|
visible?: boolean | null;
|
|
93
|
-
/**
|
|
94
|
-
* Category breadcrumbs.
|
|
95
|
-
*
|
|
96
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
97
|
-
* @readonly
|
|
98
|
-
* @deprecated Category breadcrumbs.
|
|
99
|
-
*
|
|
100
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
101
|
-
* @replacedBy breadcrumbs_info
|
|
102
|
-
* @targetRemovalDate 2024-09-03
|
|
103
|
-
*/
|
|
104
|
-
breadcrumbs?: BreadcrumbItemValues;
|
|
105
459
|
/**
|
|
106
460
|
* Category breadcrumbs.
|
|
107
461
|
*
|
|
@@ -139,21 +493,6 @@ interface Category {
|
|
|
139
493
|
*/
|
|
140
494
|
extendedFields?: ExtendedFields;
|
|
141
495
|
}
|
|
142
|
-
interface BreadcrumbItemValues {
|
|
143
|
-
/**
|
|
144
|
-
* List of breadcrumb data. The current category isn't included in the list.
|
|
145
|
-
* @readonly
|
|
146
|
-
*/
|
|
147
|
-
values?: BreadcrumbItem[];
|
|
148
|
-
}
|
|
149
|
-
interface BreadcrumbItem {
|
|
150
|
-
/** Category ID. */
|
|
151
|
-
categoryId?: string;
|
|
152
|
-
/** Category name. */
|
|
153
|
-
categoryName?: string;
|
|
154
|
-
/** Category slug. */
|
|
155
|
-
categorySlug?: string;
|
|
156
|
-
}
|
|
157
496
|
interface BreadcrumbsInfo {
|
|
158
497
|
/**
|
|
159
498
|
* List of breadcrumb data. The current category isn't included in the list.
|
|
@@ -1665,8 +2004,9 @@ interface QueryCategoriesRequest {
|
|
|
1665
2004
|
/** Category tree reference details. */
|
|
1666
2005
|
treeReference: TreeReference;
|
|
1667
2006
|
/**
|
|
1668
|
-
* Whether to return
|
|
1669
|
-
*
|
|
2007
|
+
* Whether to return non-visible categories.
|
|
2008
|
+
*
|
|
2009
|
+
* Default: `false` (only visible categories are returned)
|
|
1670
2010
|
*/
|
|
1671
2011
|
returnNonVisibleCategories?: boolean;
|
|
1672
2012
|
/** Fields to include in the response. */
|
|
@@ -1722,7 +2062,7 @@ declare enum RequestedFields {
|
|
|
1722
2062
|
BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
|
|
1723
2063
|
}
|
|
1724
2064
|
interface QueryCategoriesResponse {
|
|
1725
|
-
/**
|
|
2065
|
+
/** List of categories. */
|
|
1726
2066
|
categories?: Category[];
|
|
1727
2067
|
/** Paging metadata. */
|
|
1728
2068
|
pagingMetadata?: CursorPagingMetadata;
|
|
@@ -2804,14 +3144,6 @@ declare enum WebhookIdentityType {
|
|
|
2804
3144
|
WIX_USER = "WIX_USER",
|
|
2805
3145
|
APP = "APP"
|
|
2806
3146
|
}
|
|
2807
|
-
interface BreadcrumbItemNonNullableFields {
|
|
2808
|
-
categoryId: string;
|
|
2809
|
-
categoryName: string;
|
|
2810
|
-
categorySlug: string;
|
|
2811
|
-
}
|
|
2812
|
-
interface BreadcrumbItemValuesNonNullableFields {
|
|
2813
|
-
values: BreadcrumbItemNonNullableFields[];
|
|
2814
|
-
}
|
|
2815
3147
|
interface BreadcrumbNonNullableFields {
|
|
2816
3148
|
categoryId: string;
|
|
2817
3149
|
categoryName: string;
|
|
@@ -3088,7 +3420,6 @@ interface CategoryNonNullableFields {
|
|
|
3088
3420
|
image: string;
|
|
3089
3421
|
itemCounter: number;
|
|
3090
3422
|
totalItemCounter: number;
|
|
3091
|
-
breadcrumbs?: BreadcrumbItemValuesNonNullableFields;
|
|
3092
3423
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields;
|
|
3093
3424
|
seoData?: SeoSchemaNonNullableFields;
|
|
3094
3425
|
richContentDescription?: RichContentNonNullableFields;
|
|
@@ -3372,18 +3703,6 @@ interface UpdateCategory {
|
|
|
3372
3703
|
* + Default: `false`.
|
|
3373
3704
|
*/
|
|
3374
3705
|
visible?: boolean | null;
|
|
3375
|
-
/**
|
|
3376
|
-
* Category breadcrumbs.
|
|
3377
|
-
*
|
|
3378
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
3379
|
-
* @readonly
|
|
3380
|
-
* @deprecated Category breadcrumbs.
|
|
3381
|
-
*
|
|
3382
|
-
* > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
|
|
3383
|
-
* @replacedBy breadcrumbs_info
|
|
3384
|
-
* @targetRemovalDate 2024-09-03
|
|
3385
|
-
*/
|
|
3386
|
-
breadcrumbs?: BreadcrumbItemValues;
|
|
3387
3706
|
/**
|
|
3388
3707
|
* Category breadcrumbs.
|
|
3389
3708
|
*
|
|
@@ -3431,8 +3750,9 @@ interface QueryCategoriesOptions {
|
|
|
3431
3750
|
/** Category tree reference details. */
|
|
3432
3751
|
treeReference: TreeReference;
|
|
3433
3752
|
/**
|
|
3434
|
-
* Whether to return
|
|
3435
|
-
*
|
|
3753
|
+
* Whether to return non-visible categories.
|
|
3754
|
+
*
|
|
3755
|
+
* Default: `false` (only visible categories are returned)
|
|
3436
3756
|
*/
|
|
3437
3757
|
returnNonVisibleCategories?: boolean | undefined;
|
|
3438
3758
|
/** Fields to include in the response. */
|
|
@@ -3691,7 +4011,15 @@ interface DeleteCategorySignature {
|
|
|
3691
4011
|
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
3692
4012
|
interface QueryCategoriesSignature {
|
|
3693
4013
|
/**
|
|
3694
|
-
*
|
|
4014
|
+
* Retrieves a list of up to 1,000 categories, given the provided filtering, sorting, and cursor paging.
|
|
4015
|
+
* Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
4016
|
+
*
|
|
4017
|
+
* For field support for filters and sorting,
|
|
4018
|
+
* see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
|
|
4019
|
+
*
|
|
4020
|
+
* To learn about working with _Query_ endpoints, see
|
|
4021
|
+
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
|
|
4022
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
3695
4023
|
*/
|
|
3696
4024
|
(options: QueryCategoriesOptions): CategoriesQueryBuilder;
|
|
3697
4025
|
}
|
|
@@ -3842,35 +4170,53 @@ interface GetArrangedItemsSignature {
|
|
|
3842
4170
|
*/
|
|
3843
4171
|
(categoryId: string, treeReference: TreeReference): Promise<GetArrangedItemsResponse & GetArrangedItemsResponseNonNullableFields>;
|
|
3844
4172
|
}
|
|
3845
|
-
declare const onCategoryCreated$1: EventDefinition<CategoryCreatedEnvelope, "wix.categories.v1.category_created">;
|
|
3846
|
-
declare const onCategoryUpdated$1: EventDefinition<CategoryUpdatedEnvelope, "wix.categories.v1.category_updated">;
|
|
3847
|
-
declare const onCategoryDeleted$1: EventDefinition<CategoryDeletedEnvelope, "wix.categories.v1.category_deleted">;
|
|
3848
|
-
declare const onCategoryMoved$1: EventDefinition<CategoryMovedEnvelope, "wix.categories.v1.category_category_moved">;
|
|
3849
|
-
declare const onCategoryItemAddedToCategory$1: EventDefinition<CategoryItemAddedToCategoryEnvelope, "wix.categories.v1.category_item_added_to_category">;
|
|
3850
|
-
declare const onCategoryItemRemovedFromCategory$1: EventDefinition<CategoryItemRemovedFromCategoryEnvelope, "wix.categories.v1.category_item_removed_from_category">;
|
|
3851
|
-
declare const onCategoryItemsArrangedInCategory$1: EventDefinition<CategoryItemsArrangedInCategoryEnvelope, "wix.categories.v1.category_items_arranged_in_category">;
|
|
4173
|
+
declare const onCategoryCreated$1: EventDefinition$1<CategoryCreatedEnvelope, "wix.categories.v1.category_created">;
|
|
4174
|
+
declare const onCategoryUpdated$1: EventDefinition$1<CategoryUpdatedEnvelope, "wix.categories.v1.category_updated">;
|
|
4175
|
+
declare const onCategoryDeleted$1: EventDefinition$1<CategoryDeletedEnvelope, "wix.categories.v1.category_deleted">;
|
|
4176
|
+
declare const onCategoryMoved$1: EventDefinition$1<CategoryMovedEnvelope, "wix.categories.v1.category_category_moved">;
|
|
4177
|
+
declare const onCategoryItemAddedToCategory$1: EventDefinition$1<CategoryItemAddedToCategoryEnvelope, "wix.categories.v1.category_item_added_to_category">;
|
|
4178
|
+
declare const onCategoryItemRemovedFromCategory$1: EventDefinition$1<CategoryItemRemovedFromCategoryEnvelope, "wix.categories.v1.category_item_removed_from_category">;
|
|
4179
|
+
declare const onCategoryItemsArrangedInCategory$1: EventDefinition$1<CategoryItemsArrangedInCategoryEnvelope, "wix.categories.v1.category_items_arranged_in_category">;
|
|
4180
|
+
|
|
4181
|
+
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
4182
|
+
__type: 'event-definition';
|
|
4183
|
+
type: Type;
|
|
4184
|
+
isDomainEvent?: boolean;
|
|
4185
|
+
transformations?: (envelope: unknown) => Payload;
|
|
4186
|
+
__payload: Payload;
|
|
4187
|
+
};
|
|
4188
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
4189
|
+
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
4190
|
+
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
4191
|
+
|
|
4192
|
+
declare global {
|
|
4193
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
4194
|
+
interface SymbolConstructor {
|
|
4195
|
+
readonly observable: symbol;
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
3852
4198
|
|
|
3853
4199
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3854
4200
|
|
|
3855
|
-
declare const createCategory: BuildRESTFunction<typeof createCategory$1> & typeof createCategory$1
|
|
3856
|
-
declare const getCategory: BuildRESTFunction<typeof getCategory$1> & typeof getCategory$1
|
|
3857
|
-
declare const updateCategory: BuildRESTFunction<typeof updateCategory$1> & typeof updateCategory$1
|
|
3858
|
-
declare const deleteCategory: BuildRESTFunction<typeof deleteCategory$1> & typeof deleteCategory$1
|
|
3859
|
-
declare const queryCategories: BuildRESTFunction<typeof queryCategories$1> & typeof queryCategories$1
|
|
3860
|
-
declare const searchCategories: BuildRESTFunction<typeof searchCategories$1> & typeof searchCategories$1
|
|
3861
|
-
declare const countCategories: BuildRESTFunction<typeof countCategories$1> & typeof countCategories$1
|
|
3862
|
-
declare const moveCategory: BuildRESTFunction<typeof moveCategory$1> & typeof moveCategory$1
|
|
3863
|
-
declare const bulkUpdateCategories: BuildRESTFunction<typeof bulkUpdateCategories$1> & typeof bulkUpdateCategories$1
|
|
3864
|
-
declare const updateCategoryVisibility: BuildRESTFunction<typeof updateCategoryVisibility$1> & typeof updateCategoryVisibility$1
|
|
3865
|
-
declare const bulkAddItemsToCategory: BuildRESTFunction<typeof bulkAddItemsToCategory$1> & typeof bulkAddItemsToCategory$1
|
|
3866
|
-
declare const bulkAddItemToCategories: BuildRESTFunction<typeof bulkAddItemToCategories$1> & typeof bulkAddItemToCategories$1
|
|
3867
|
-
declare const bulkRemoveItemsFromCategory: BuildRESTFunction<typeof bulkRemoveItemsFromCategory$1> & typeof bulkRemoveItemsFromCategory$1
|
|
3868
|
-
declare const bulkRemoveItemFromCategories: BuildRESTFunction<typeof bulkRemoveItemFromCategories$1> & typeof bulkRemoveItemFromCategories$1
|
|
3869
|
-
declare const listItemsInCategory: BuildRESTFunction<typeof listItemsInCategory$1> & typeof listItemsInCategory$1
|
|
3870
|
-
declare const listCategoriesForItem: BuildRESTFunction<typeof listCategoriesForItem$1> & typeof listCategoriesForItem$1
|
|
3871
|
-
declare const listTrees: BuildRESTFunction<typeof listTrees$1> & typeof listTrees$1
|
|
3872
|
-
declare const setArrangedItems: BuildRESTFunction<typeof setArrangedItems$1> & typeof setArrangedItems$1
|
|
3873
|
-
declare const getArrangedItems: BuildRESTFunction<typeof getArrangedItems$1> & typeof getArrangedItems$1
|
|
4201
|
+
declare const createCategory: MaybeContext<BuildRESTFunction<typeof createCategory$1> & typeof createCategory$1>;
|
|
4202
|
+
declare const getCategory: MaybeContext<BuildRESTFunction<typeof getCategory$1> & typeof getCategory$1>;
|
|
4203
|
+
declare const updateCategory: MaybeContext<BuildRESTFunction<typeof updateCategory$1> & typeof updateCategory$1>;
|
|
4204
|
+
declare const deleteCategory: MaybeContext<BuildRESTFunction<typeof deleteCategory$1> & typeof deleteCategory$1>;
|
|
4205
|
+
declare const queryCategories: MaybeContext<BuildRESTFunction<typeof queryCategories$1> & typeof queryCategories$1>;
|
|
4206
|
+
declare const searchCategories: MaybeContext<BuildRESTFunction<typeof searchCategories$1> & typeof searchCategories$1>;
|
|
4207
|
+
declare const countCategories: MaybeContext<BuildRESTFunction<typeof countCategories$1> & typeof countCategories$1>;
|
|
4208
|
+
declare const moveCategory: MaybeContext<BuildRESTFunction<typeof moveCategory$1> & typeof moveCategory$1>;
|
|
4209
|
+
declare const bulkUpdateCategories: MaybeContext<BuildRESTFunction<typeof bulkUpdateCategories$1> & typeof bulkUpdateCategories$1>;
|
|
4210
|
+
declare const updateCategoryVisibility: MaybeContext<BuildRESTFunction<typeof updateCategoryVisibility$1> & typeof updateCategoryVisibility$1>;
|
|
4211
|
+
declare const bulkAddItemsToCategory: MaybeContext<BuildRESTFunction<typeof bulkAddItemsToCategory$1> & typeof bulkAddItemsToCategory$1>;
|
|
4212
|
+
declare const bulkAddItemToCategories: MaybeContext<BuildRESTFunction<typeof bulkAddItemToCategories$1> & typeof bulkAddItemToCategories$1>;
|
|
4213
|
+
declare const bulkRemoveItemsFromCategory: MaybeContext<BuildRESTFunction<typeof bulkRemoveItemsFromCategory$1> & typeof bulkRemoveItemsFromCategory$1>;
|
|
4214
|
+
declare const bulkRemoveItemFromCategories: MaybeContext<BuildRESTFunction<typeof bulkRemoveItemFromCategories$1> & typeof bulkRemoveItemFromCategories$1>;
|
|
4215
|
+
declare const listItemsInCategory: MaybeContext<BuildRESTFunction<typeof listItemsInCategory$1> & typeof listItemsInCategory$1>;
|
|
4216
|
+
declare const listCategoriesForItem: MaybeContext<BuildRESTFunction<typeof listCategoriesForItem$1> & typeof listCategoriesForItem$1>;
|
|
4217
|
+
declare const listTrees: MaybeContext<BuildRESTFunction<typeof listTrees$1> & typeof listTrees$1>;
|
|
4218
|
+
declare const setArrangedItems: MaybeContext<BuildRESTFunction<typeof setArrangedItems$1> & typeof setArrangedItems$1>;
|
|
4219
|
+
declare const getArrangedItems: MaybeContext<BuildRESTFunction<typeof getArrangedItems$1> & typeof getArrangedItems$1>;
|
|
3874
4220
|
|
|
3875
4221
|
type _publicOnCategoryCreatedType = typeof onCategoryCreated$1;
|
|
3876
4222
|
/** */
|
|
@@ -3937,8 +4283,6 @@ type context_BookingData = BookingData;
|
|
|
3937
4283
|
type context_Border = Border;
|
|
3938
4284
|
type context_BorderColors = BorderColors;
|
|
3939
4285
|
type context_Breadcrumb = Breadcrumb;
|
|
3940
|
-
type context_BreadcrumbItem = BreadcrumbItem;
|
|
3941
|
-
type context_BreadcrumbItemValues = BreadcrumbItemValues;
|
|
3942
4286
|
type context_BreadcrumbsInfo = BreadcrumbsInfo;
|
|
3943
4287
|
type context_BulkActionMetadata = BulkActionMetadata;
|
|
3944
4288
|
type context_BulkAddItemToCategoriesOptions = BulkAddItemToCategoriesOptions;
|
|
@@ -4312,7 +4656,7 @@ declare const context_setArrangedItems: typeof setArrangedItems;
|
|
|
4312
4656
|
declare const context_updateCategory: typeof updateCategory;
|
|
4313
4657
|
declare const context_updateCategoryVisibility: typeof updateCategoryVisibility;
|
|
4314
4658
|
declare namespace context {
|
|
4315
|
-
export { type context_ActionEvent as ActionEvent, type context_Aggregation as Aggregation, type context_AggregationData as AggregationData, type context_AggregationKindOneOf as AggregationKindOneOf, type context_AggregationResults as AggregationResults, type context_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context_AggregationResultsScalarResult as AggregationResultsScalarResult, context_AggregationType as AggregationType, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_App as App, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BaseEventMetadata as BaseEventMetadata, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, type context_Border as Border, type context_BorderColors as BorderColors, type context_Breadcrumb as Breadcrumb, type context_BreadcrumbItem as BreadcrumbItem, type context_BreadcrumbItemValues as BreadcrumbItemValues, type context_BreadcrumbsInfo as BreadcrumbsInfo, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type context_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type context_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type context_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type context_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type context_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type context_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type context_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type context_BulkCategoriesResult as BulkCategoriesResult, type context_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type context_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type context_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type context_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type context_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type context_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type context_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type context_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type context_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type context_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type context_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type context_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type context_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type context_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type context_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type context_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type context_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type context_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type context_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type context_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type context_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type context_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type context_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type context_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type context_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, type context_CategoriesQueryBuilder as CategoriesQueryBuilder, type context_CategoriesQueryResult as CategoriesQueryResult, type context_Category as Category, type context_CategoryCreatedEnvelope as CategoryCreatedEnvelope, type context_CategoryDeletedEnvelope as CategoryDeletedEnvelope, type context_CategoryItemAddedToCategoryEnvelope as CategoryItemAddedToCategoryEnvelope, type context_CategoryItemRemovedFromCategoryEnvelope as CategoryItemRemovedFromCategoryEnvelope, type context_CategoryItemsArrangedInCategoryEnvelope as CategoryItemsArrangedInCategoryEnvelope, type context_CategoryMoved as CategoryMoved, type context_CategoryMovedEnvelope as CategoryMovedEnvelope, type context_CategoryNonNullableFields as CategoryNonNullableFields, type context_CategoryTreeNode as CategoryTreeNode, type context_CategoryUpdatedEnvelope as CategoryUpdatedEnvelope, type context_CellStyle as CellStyle, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CompactCategory as CompactCategory, type context_CountCategoriesOptions as CountCategoriesOptions, type context_CountCategoriesRequest as CountCategoriesRequest, type context_CountCategoriesResponse as CountCategoriesResponse, type context_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type context_CreateCategoryOptions as CreateCategoryOptions, type context_CreateCategoryRequest as CreateCategoryRequest, type context_CreateCategoryResponse as CreateCategoryResponse, type context_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_DateHistogramAggregation as DateHistogramAggregation, type context_DateHistogramResult as DateHistogramResult, type context_DateHistogramResults as DateHistogramResults, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DeleteCategoryRequest as DeleteCategoryRequest, type context_DeleteCategoryResponse as DeleteCategoryResponse, type context_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type context_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DividerData as DividerData, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetArrangedItemsRequest as GetArrangedItemsRequest, type context_GetArrangedItemsResponse as GetArrangedItemsResponse, type context_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type context_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type context_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type context_GetCategoryOptions as GetCategoryOptions, type context_GetCategoryRequest as GetCategoryRequest, type context_GetCategoryResponse as GetCategoryResponse, type context_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context_Gradient as Gradient, type context_GroupByValueResults as GroupByValueResults, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_ImageData as ImageData, type context_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context_InitialExpandedItems as InitialExpandedItems, context_Interval as Interval, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemAddedToCategory as ItemAddedToCategory, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemReference as ItemReference, type context_ItemReferenceMetadata as ItemReferenceMetadata, type context_ItemRemovedFromCategory as ItemRemovedFromCategory, type context_ItemStyle as ItemStyle, type context_ItemsAddedToCategory as ItemsAddedToCategory, type context_ItemsArrangedInCategory as ItemsArrangedInCategory, type context_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type context_Keyword as Keyword, type context_Layout as Layout, context_LayoutType as LayoutType, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, type context_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type context_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type context_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type context_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type context_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type context_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type context_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type context_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type context_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type context_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type context_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type context_ListTreesRequest as ListTreesRequest, type context_ListTreesResponse as ListTreesResponse, type context_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_MaskedCategory as MaskedCategory, type context_Media as Media, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_MissingValues as MissingValues, context_Mode as Mode, type context_MoveCategoryOptions as MoveCategoryOptions, type context_MoveCategoryRequest as MoveCategoryRequest, type context_MoveCategoryResponse as MoveCategoryResponse, type context_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type context_MoveItemInCategoryRequest as MoveItemInCategoryRequest, context_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type context_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type context_NestedAggregation as NestedAggregation, type context_NestedAggregationItem as NestedAggregationItem, type context_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context_NestedAggregationResults as NestedAggregationResults, type context_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context_NestedAggregationType as NestedAggregationType, type context_NestedResultValue as NestedResultValue, type context_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context_NestedResults as NestedResults, type context_NestedValueAggregationResult as NestedValueAggregationResult, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, type context_Oembed as Oembed, type context_OffsetSearch as OffsetSearch, type context_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, type context_PDFSettings as PDFSettings, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_PagingMetadataV2 as PagingMetadataV2, type context_ParagraphData as ParagraphData, type context_ParentCategory as ParentCategory, type context_Permissions as Permissions, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollSettings as PollSettings, context_Position as Position, type context_QueryCategoriesOptions as QueryCategoriesOptions, type context_QueryCategoriesRequest as QueryCategoriesRequest, type context_QueryCategoriesResponse as QueryCategoriesResponse, type context_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context_RangeAggregation as RangeAggregation, type context_RangeAggregationResult as RangeAggregationResult, type context_RangeBucket as RangeBucket, type context_RangeResult as RangeResult, type context_RangeResults as RangeResults, type context_Rel as Rel, context_RequestedFields as RequestedFields, type context_RestoreInfo as RestoreInfo, type context_Results as Results, type context_RichContent as RichContent, type context_ScalarAggregation as ScalarAggregation, type context_ScalarResult as ScalarResult, context_ScalarType as ScalarType, type context_SearchCategoriesOptions as SearchCategoriesOptions, type context_SearchCategoriesRequest as SearchCategoriesRequest, type context_SearchCategoriesResponse as SearchCategoriesResponse, type context_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type context_SearchDetails as SearchDetails, type context_SeoSchema as SeoSchema, type context_SetArrangedItemsOptions as SetArrangedItemsOptions, type context_SetArrangedItemsRequest as SetArrangedItemsRequest, type context_SetArrangedItemsResponse as SetArrangedItemsResponse, type context_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type context_Settings as Settings, context_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, context_SortDirection as SortDirection, context_SortOrder as SortOrder, context_SortType as SortType, type context_Sorting as Sorting, context_Source as Source, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, type context_Styles as Styles, type context_TableCellData as TableCellData, type context_TableData as TableData, type context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TreeReference as TreeReference, context_Type as Type, type context_URI as URI, type context_UpdateCategory as UpdateCategory, type context_UpdateCategoryOptions as UpdateCategoryOptions, type context_UpdateCategoryRequest as UpdateCategoryRequest, type context_UpdateCategoryResponse as UpdateCategoryResponse, type context_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type context_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type context_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type context_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type context_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type context_ValueAggregation as ValueAggregation, type context_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context_ValueAggregationResult as ValueAggregationResult, type context_ValueResult as ValueResult, type context_ValueResults as ValueResults, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, type context__publicOnCategoryCreatedType as _publicOnCategoryCreatedType, type context__publicOnCategoryDeletedType as _publicOnCategoryDeletedType, type context__publicOnCategoryItemAddedToCategoryType as _publicOnCategoryItemAddedToCategoryType, type context__publicOnCategoryItemRemovedFromCategoryType as _publicOnCategoryItemRemovedFromCategoryType, type context__publicOnCategoryItemsArrangedInCategoryType as _publicOnCategoryItemsArrangedInCategoryType, type context__publicOnCategoryMovedType as _publicOnCategoryMovedType, type context__publicOnCategoryUpdatedType as _publicOnCategoryUpdatedType, context_bulkAddItemToCategories as bulkAddItemToCategories, context_bulkAddItemsToCategory as bulkAddItemsToCategory, context_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, context_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, context_bulkUpdateCategories as bulkUpdateCategories, context_countCategories as countCategories, context_createCategory as createCategory, context_deleteCategory as deleteCategory, context_getArrangedItems as getArrangedItems, context_getCategory as getCategory, context_listCategoriesForItem as listCategoriesForItem, context_listItemsInCategory as listItemsInCategory, context_listTrees as listTrees, context_moveCategory as moveCategory, context_onCategoryCreated as onCategoryCreated, context_onCategoryDeleted as onCategoryDeleted, context_onCategoryItemAddedToCategory as onCategoryItemAddedToCategory, context_onCategoryItemRemovedFromCategory as onCategoryItemRemovedFromCategory, context_onCategoryItemsArrangedInCategory as onCategoryItemsArrangedInCategory, context_onCategoryMoved as onCategoryMoved, context_onCategoryUpdated as onCategoryUpdated, onCategoryCreated$1 as publicOnCategoryCreated, onCategoryDeleted$1 as publicOnCategoryDeleted, onCategoryItemAddedToCategory$1 as publicOnCategoryItemAddedToCategory, onCategoryItemRemovedFromCategory$1 as publicOnCategoryItemRemovedFromCategory, onCategoryItemsArrangedInCategory$1 as publicOnCategoryItemsArrangedInCategory, onCategoryMoved$1 as publicOnCategoryMoved, onCategoryUpdated$1 as publicOnCategoryUpdated, context_queryCategories as queryCategories, context_searchCategories as searchCategories, context_setArrangedItems as setArrangedItems, context_updateCategory as updateCategory, context_updateCategoryVisibility as updateCategoryVisibility };
|
|
4659
|
+
export { type context_ActionEvent as ActionEvent, type context_Aggregation as Aggregation, type context_AggregationData as AggregationData, type context_AggregationKindOneOf as AggregationKindOneOf, type context_AggregationResults as AggregationResults, type context_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context_AggregationResultsScalarResult as AggregationResultsScalarResult, context_AggregationType as AggregationType, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_App as App, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BaseEventMetadata as BaseEventMetadata, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, type context_Border as Border, type context_BorderColors as BorderColors, type context_Breadcrumb as Breadcrumb, type context_BreadcrumbsInfo as BreadcrumbsInfo, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type context_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type context_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type context_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type context_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type context_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type context_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type context_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type context_BulkCategoriesResult as BulkCategoriesResult, type context_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type context_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type context_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type context_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type context_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type context_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type context_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type context_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type context_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type context_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type context_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type context_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type context_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type context_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type context_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type context_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type context_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type context_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type context_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type context_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type context_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type context_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type context_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type context_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type context_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, type context_CategoriesQueryBuilder as CategoriesQueryBuilder, type context_CategoriesQueryResult as CategoriesQueryResult, type context_Category as Category, type context_CategoryCreatedEnvelope as CategoryCreatedEnvelope, type context_CategoryDeletedEnvelope as CategoryDeletedEnvelope, type context_CategoryItemAddedToCategoryEnvelope as CategoryItemAddedToCategoryEnvelope, type context_CategoryItemRemovedFromCategoryEnvelope as CategoryItemRemovedFromCategoryEnvelope, type context_CategoryItemsArrangedInCategoryEnvelope as CategoryItemsArrangedInCategoryEnvelope, type context_CategoryMoved as CategoryMoved, type context_CategoryMovedEnvelope as CategoryMovedEnvelope, type context_CategoryNonNullableFields as CategoryNonNullableFields, type context_CategoryTreeNode as CategoryTreeNode, type context_CategoryUpdatedEnvelope as CategoryUpdatedEnvelope, type context_CellStyle as CellStyle, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CompactCategory as CompactCategory, type context_CountCategoriesOptions as CountCategoriesOptions, type context_CountCategoriesRequest as CountCategoriesRequest, type context_CountCategoriesResponse as CountCategoriesResponse, type context_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type context_CreateCategoryOptions as CreateCategoryOptions, type context_CreateCategoryRequest as CreateCategoryRequest, type context_CreateCategoryResponse as CreateCategoryResponse, type context_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_DateHistogramAggregation as DateHistogramAggregation, type context_DateHistogramResult as DateHistogramResult, type context_DateHistogramResults as DateHistogramResults, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DeleteCategoryRequest as DeleteCategoryRequest, type context_DeleteCategoryResponse as DeleteCategoryResponse, type context_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type context_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DividerData as DividerData, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetArrangedItemsRequest as GetArrangedItemsRequest, type context_GetArrangedItemsResponse as GetArrangedItemsResponse, type context_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type context_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type context_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type context_GetCategoryOptions as GetCategoryOptions, type context_GetCategoryRequest as GetCategoryRequest, type context_GetCategoryResponse as GetCategoryResponse, type context_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context_Gradient as Gradient, type context_GroupByValueResults as GroupByValueResults, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_ImageData as ImageData, type context_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context_InitialExpandedItems as InitialExpandedItems, context_Interval as Interval, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemAddedToCategory as ItemAddedToCategory, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemReference as ItemReference, type context_ItemReferenceMetadata as ItemReferenceMetadata, type context_ItemRemovedFromCategory as ItemRemovedFromCategory, type context_ItemStyle as ItemStyle, type context_ItemsAddedToCategory as ItemsAddedToCategory, type context_ItemsArrangedInCategory as ItemsArrangedInCategory, type context_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type context_Keyword as Keyword, type context_Layout as Layout, context_LayoutType as LayoutType, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, type context_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type context_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type context_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type context_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type context_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type context_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type context_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type context_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type context_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type context_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type context_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type context_ListTreesRequest as ListTreesRequest, type context_ListTreesResponse as ListTreesResponse, type context_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_MaskedCategory as MaskedCategory, type context_Media as Media, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_MissingValues as MissingValues, context_Mode as Mode, type context_MoveCategoryOptions as MoveCategoryOptions, type context_MoveCategoryRequest as MoveCategoryRequest, type context_MoveCategoryResponse as MoveCategoryResponse, type context_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type context_MoveItemInCategoryRequest as MoveItemInCategoryRequest, context_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type context_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type context_NestedAggregation as NestedAggregation, type context_NestedAggregationItem as NestedAggregationItem, type context_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context_NestedAggregationResults as NestedAggregationResults, type context_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context_NestedAggregationType as NestedAggregationType, type context_NestedResultValue as NestedResultValue, type context_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context_NestedResults as NestedResults, type context_NestedValueAggregationResult as NestedValueAggregationResult, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, type context_Oembed as Oembed, type context_OffsetSearch as OffsetSearch, type context_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, type context_PDFSettings as PDFSettings, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_PagingMetadataV2 as PagingMetadataV2, type context_ParagraphData as ParagraphData, type context_ParentCategory as ParentCategory, type context_Permissions as Permissions, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollSettings as PollSettings, context_Position as Position, type context_QueryCategoriesOptions as QueryCategoriesOptions, type context_QueryCategoriesRequest as QueryCategoriesRequest, type context_QueryCategoriesResponse as QueryCategoriesResponse, type context_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context_RangeAggregation as RangeAggregation, type context_RangeAggregationResult as RangeAggregationResult, type context_RangeBucket as RangeBucket, type context_RangeResult as RangeResult, type context_RangeResults as RangeResults, type context_Rel as Rel, context_RequestedFields as RequestedFields, type context_RestoreInfo as RestoreInfo, type context_Results as Results, type context_RichContent as RichContent, type context_ScalarAggregation as ScalarAggregation, type context_ScalarResult as ScalarResult, context_ScalarType as ScalarType, type context_SearchCategoriesOptions as SearchCategoriesOptions, type context_SearchCategoriesRequest as SearchCategoriesRequest, type context_SearchCategoriesResponse as SearchCategoriesResponse, type context_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type context_SearchDetails as SearchDetails, type context_SeoSchema as SeoSchema, type context_SetArrangedItemsOptions as SetArrangedItemsOptions, type context_SetArrangedItemsRequest as SetArrangedItemsRequest, type context_SetArrangedItemsResponse as SetArrangedItemsResponse, type context_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type context_Settings as Settings, context_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, context_SortDirection as SortDirection, context_SortOrder as SortOrder, context_SortType as SortType, type context_Sorting as Sorting, context_Source as Source, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, type context_Styles as Styles, type context_TableCellData as TableCellData, type context_TableData as TableData, type context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TreeReference as TreeReference, context_Type as Type, type context_URI as URI, type context_UpdateCategory as UpdateCategory, type context_UpdateCategoryOptions as UpdateCategoryOptions, type context_UpdateCategoryRequest as UpdateCategoryRequest, type context_UpdateCategoryResponse as UpdateCategoryResponse, type context_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type context_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type context_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type context_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type context_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type context_ValueAggregation as ValueAggregation, type context_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context_ValueAggregationResult as ValueAggregationResult, type context_ValueResult as ValueResult, type context_ValueResults as ValueResults, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, type context__publicOnCategoryCreatedType as _publicOnCategoryCreatedType, type context__publicOnCategoryDeletedType as _publicOnCategoryDeletedType, type context__publicOnCategoryItemAddedToCategoryType as _publicOnCategoryItemAddedToCategoryType, type context__publicOnCategoryItemRemovedFromCategoryType as _publicOnCategoryItemRemovedFromCategoryType, type context__publicOnCategoryItemsArrangedInCategoryType as _publicOnCategoryItemsArrangedInCategoryType, type context__publicOnCategoryMovedType as _publicOnCategoryMovedType, type context__publicOnCategoryUpdatedType as _publicOnCategoryUpdatedType, context_bulkAddItemToCategories as bulkAddItemToCategories, context_bulkAddItemsToCategory as bulkAddItemsToCategory, context_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, context_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, context_bulkUpdateCategories as bulkUpdateCategories, context_countCategories as countCategories, context_createCategory as createCategory, context_deleteCategory as deleteCategory, context_getArrangedItems as getArrangedItems, context_getCategory as getCategory, context_listCategoriesForItem as listCategoriesForItem, context_listItemsInCategory as listItemsInCategory, context_listTrees as listTrees, context_moveCategory as moveCategory, context_onCategoryCreated as onCategoryCreated, context_onCategoryDeleted as onCategoryDeleted, context_onCategoryItemAddedToCategory as onCategoryItemAddedToCategory, context_onCategoryItemRemovedFromCategory as onCategoryItemRemovedFromCategory, context_onCategoryItemsArrangedInCategory as onCategoryItemsArrangedInCategory, context_onCategoryMoved as onCategoryMoved, context_onCategoryUpdated as onCategoryUpdated, onCategoryCreated$1 as publicOnCategoryCreated, onCategoryDeleted$1 as publicOnCategoryDeleted, onCategoryItemAddedToCategory$1 as publicOnCategoryItemAddedToCategory, onCategoryItemRemovedFromCategory$1 as publicOnCategoryItemRemovedFromCategory, onCategoryItemsArrangedInCategory$1 as publicOnCategoryItemsArrangedInCategory, onCategoryMoved$1 as publicOnCategoryMoved, onCategoryUpdated$1 as publicOnCategoryUpdated, context_queryCategories as queryCategories, context_searchCategories as searchCategories, context_setArrangedItems as setArrangedItems, context_updateCategory as updateCategory, context_updateCategoryVisibility as updateCategoryVisibility };
|
|
4316
4660
|
}
|
|
4317
4661
|
|
|
4318
4662
|
export { context as categories };
|