@tridion-sites/extensions 0.5.2 → 0.5.4
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/CHANGELOG.md +22 -0
- package/dist/index.d.ts +450 -168
- package/dist/index.js +104 -33
- package/package.json +5 -12
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type { ExternalMultimediaComponent } from '@tridion-sites/models';
|
|
|
13
13
|
import type { FinishActivityResult } from '@tridion-sites/models';
|
|
14
14
|
import type { FocusEvent as FocusEvent_2 } from 'react';
|
|
15
15
|
import type { Folder } from '@tridion-sites/models';
|
|
16
|
+
import type { ForwardRefExoticComponent } from 'react';
|
|
16
17
|
import type { FunctionComponent } from 'react';
|
|
17
18
|
import type { IdentifiableObject } from '@tridion-sites/models';
|
|
18
19
|
import type { ItemBlueprintHierarchy } from '@tridion-sites/models';
|
|
@@ -34,11 +35,11 @@ import type { PublishInfo } from '@tridion-sites/models';
|
|
|
34
35
|
import type { PublishPriority } from '@tridion-sites/models';
|
|
35
36
|
import type { PublishTransactionsCreationResult } from '@tridion-sites/models';
|
|
36
37
|
import type { PublishUrlInfo } from '@tridion-sites/models';
|
|
37
|
-
import type { QueryKey } from '@tanstack/react-query';
|
|
38
38
|
import type { RawEditorOptions } from 'tinymce';
|
|
39
39
|
import { ReactElement } from 'react';
|
|
40
40
|
import type { ReactHTML } from 'react';
|
|
41
41
|
import { ReactNode } from 'react';
|
|
42
|
+
import type { RefAttributes } from 'react';
|
|
42
43
|
import type { RepositoryLocalObject } from '@tridion-sites/models';
|
|
43
44
|
import type { ResolvedItem } from '@tridion-sites/models';
|
|
44
45
|
import type { RloItemType } from '@tridion-sites/models';
|
|
@@ -50,10 +51,6 @@ import type { TargetType } from '@tridion-sites/models';
|
|
|
50
51
|
import type { TranslationInfo } from '@tridion-sites/models';
|
|
51
52
|
import type { TranslationJob } from '@tridion-sites/models';
|
|
52
53
|
import type { TranslationJobType } from '@tridion-sites/models';
|
|
53
|
-
import type { UseMutationOptions } from '@tanstack/react-query';
|
|
54
|
-
import type { UseMutationResult } from '@tanstack/react-query';
|
|
55
|
-
import type { UseQueryOptions } from '@tanstack/react-query';
|
|
56
|
-
import type { UseQueryResult } from '@tanstack/react-query';
|
|
57
54
|
import type { User } from '@tridion-sites/models';
|
|
58
55
|
import type { UserGroup } from '@tridion-sites/models';
|
|
59
56
|
import type { UserProfile } from '@tridion-sites/models';
|
|
@@ -138,7 +135,7 @@ export declare class ActionsConfigurationExtensionsBuilder {
|
|
|
138
135
|
* @param groupId - id of the group to be moved
|
|
139
136
|
* @param beforeGroupId - id of the group before which the group will be moved
|
|
140
137
|
*/
|
|
141
|
-
moveGroup: (groupId: string, beforeGroupId
|
|
138
|
+
moveGroup: (groupId: string, beforeGroupId: string | undefined) => void;
|
|
142
139
|
/**
|
|
143
140
|
* Replaces a group in the group list.
|
|
144
141
|
*
|
|
@@ -161,20 +158,25 @@ export declare class ActionsConfigurationExtensionsBuilder {
|
|
|
161
158
|
*/
|
|
162
159
|
addAction: (groupId: string, actionId: string, beforeActionId?: string) => void;
|
|
163
160
|
/**
|
|
164
|
-
* Removes action from the group(s).
|
|
161
|
+
* Removes action from the group(s).
|
|
165
162
|
*
|
|
166
163
|
* @param actionId - id of the action to be removed
|
|
167
|
-
* @param groupId - id of the group in which the removal will occur
|
|
168
164
|
*/
|
|
169
|
-
removeAction: (actionId: string
|
|
165
|
+
removeAction: (actionId: string) => void;
|
|
170
166
|
/**
|
|
171
|
-
* Replaces an action with a new action id in the group(s).
|
|
167
|
+
* Replaces an action with a new action id in the group(s).
|
|
172
168
|
*
|
|
173
169
|
* @param actionId - id of the action to be replaced
|
|
174
170
|
* @param newActionId - id of the new action
|
|
175
|
-
* @param groupId - id of the group in which the replacement will occur
|
|
176
171
|
*/
|
|
177
|
-
replaceAction: (actionId: string, newActionId: string
|
|
172
|
+
replaceAction: (actionId: string, newActionId: string) => void;
|
|
173
|
+
/**
|
|
174
|
+
* Moves an action withing other actions in the same (or other) group(s).
|
|
175
|
+
*
|
|
176
|
+
* @param actionId - id of the action to be moved
|
|
177
|
+
* @param beforeActionId - id of the action before which the moved action will be inserted
|
|
178
|
+
*/
|
|
179
|
+
moveAction: (actionId: string, beforeActionId: string | undefined) => void;
|
|
178
180
|
build: () => ReadonlyArray<ListBuilderConfigurationExtension<ActionGroup>>;
|
|
179
181
|
}
|
|
180
182
|
|
|
@@ -244,11 +246,27 @@ export declare class ActivitiesExplorerExtensionsBuilder {
|
|
|
244
246
|
build: () => ActivitiesExplorerExtensions;
|
|
245
247
|
}
|
|
246
248
|
|
|
249
|
+
/**
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
export declare type ActivitiesExplorerHook = () => ActivitiesExplorerHookResult;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export declare interface ActivitiesExplorerHookResult {
|
|
258
|
+
items: ReadonlyArray<ActivityInstance>;
|
|
259
|
+
itemsLoadingState: LoadingState;
|
|
260
|
+
}
|
|
261
|
+
|
|
247
262
|
/**
|
|
248
263
|
* @internal
|
|
249
264
|
*/
|
|
250
265
|
export declare interface ActivitiesExplorerHooksApiStorage {
|
|
266
|
+
useActivitiesExplorer: ActivitiesExplorerHook;
|
|
251
267
|
useActivitiesExplorerTable: ActivitiesExplorerTableHook;
|
|
268
|
+
useOptionalActivitiesExplorer: OptionalActivitiesExplorerHook;
|
|
269
|
+
useOptionalActivitiesExplorerTable: OptionalActivitiesExplorerTableHook;
|
|
252
270
|
}
|
|
253
271
|
|
|
254
272
|
/**
|
|
@@ -296,7 +314,7 @@ export declare class ActivitiesExplorerTableExtensionsBuilder {
|
|
|
296
314
|
/**
|
|
297
315
|
* @public
|
|
298
316
|
*/
|
|
299
|
-
export declare type ActivitiesExplorerTableHook = () => ActivitiesExplorerTableHookResult
|
|
317
|
+
export declare type ActivitiesExplorerTableHook = () => ActivitiesExplorerTableHookResult;
|
|
300
318
|
|
|
301
319
|
/**
|
|
302
320
|
* @public
|
|
@@ -308,7 +326,7 @@ export declare interface ActivitiesExplorerTableHookResult {
|
|
|
308
326
|
/**
|
|
309
327
|
* @public
|
|
310
328
|
*/
|
|
311
|
-
export declare type ActivityInstancesQueryHook = (props?: ActivityInstancesQueryProps, options?: QueryOptions<ReadonlyArray<ActivityInstance> | undefined, ApiError>) =>
|
|
329
|
+
export declare type ActivityInstancesQueryHook = (props?: ActivityInstancesQueryProps, options?: QueryOptions<ReadonlyArray<ActivityInstance> | undefined, ApiError>) => QueryResult<ReadonlyArray<ActivityInstance> | undefined, ApiError>;
|
|
312
330
|
|
|
313
331
|
/**
|
|
314
332
|
* @public
|
|
@@ -322,7 +340,7 @@ export declare interface ActivityInstancesQueryProps {
|
|
|
322
340
|
/**
|
|
323
341
|
* @public
|
|
324
342
|
*/
|
|
325
|
-
export declare type AddToBundleMutationHook = (options?:
|
|
343
|
+
export declare type AddToBundleMutationHook = (options?: MutationOptions<MutationResponse, ApiError, AddToBundleRequest>) => MutationResult<MutationResponse, ApiError, AddToBundleRequest>;
|
|
326
344
|
|
|
327
345
|
/**
|
|
328
346
|
* @public
|
|
@@ -385,7 +403,7 @@ export declare type AriaRole = 'button' | 'columnheader' | 'combobox' | 'grid' |
|
|
|
385
403
|
/**
|
|
386
404
|
* @public
|
|
387
405
|
*/
|
|
388
|
-
export declare type AssignActivitiesMutationHook = (options?: BatchMutationOptions<AssignActivitiesRequest>) =>
|
|
406
|
+
export declare type AssignActivitiesMutationHook = (options?: BatchMutationOptions<AssignActivitiesRequest>) => MutationResult<Batch, ApiError, AssignActivitiesRequest>;
|
|
389
407
|
|
|
390
408
|
/**
|
|
391
409
|
* @public
|
|
@@ -398,7 +416,7 @@ export declare interface AssignActivitiesRequest {
|
|
|
398
416
|
/**
|
|
399
417
|
* @public
|
|
400
418
|
*/
|
|
401
|
-
export declare type AssignActivityMutationHook = (options?:
|
|
419
|
+
export declare type AssignActivityMutationHook = (options?: MutationOptions<ActivityInstance, ApiError, AssignActivityRequest>) => MutationResult<ActivityInstance, ApiError, AssignActivityRequest>;
|
|
402
420
|
|
|
403
421
|
/**
|
|
404
422
|
* @public
|
|
@@ -411,7 +429,7 @@ export declare interface AssignActivityRequest {
|
|
|
411
429
|
/**
|
|
412
430
|
* @public
|
|
413
431
|
*/
|
|
414
|
-
export declare type AutoClassifyItemMutationHook = (options?:
|
|
432
|
+
export declare type AutoClassifyItemMutationHook = (options?: MutationOptions<ClassificationInfo, ApiError, AutoClassifyItemRequest>) => MutationResult<ClassificationInfo, ApiError, AutoClassifyItemRequest>;
|
|
415
433
|
|
|
416
434
|
/**
|
|
417
435
|
* @public
|
|
@@ -424,7 +442,7 @@ export declare interface AutoClassifyItemRequest {
|
|
|
424
442
|
/**
|
|
425
443
|
* @public
|
|
426
444
|
*/
|
|
427
|
-
export declare type AutoClassifyItemsMutationHook = (options?: BatchMutationOptions<AutoClassifyItemsRequest>) =>
|
|
445
|
+
export declare type AutoClassifyItemsMutationHook = (options?: BatchMutationOptions<AutoClassifyItemsRequest>) => MutationResult<Batch, ApiError, AutoClassifyItemsRequest>;
|
|
428
446
|
|
|
429
447
|
/**
|
|
430
448
|
* @public
|
|
@@ -452,7 +470,7 @@ export declare interface BackgroundColorProps {
|
|
|
452
470
|
/**
|
|
453
471
|
* @public
|
|
454
472
|
*/
|
|
455
|
-
declare type BatchMutationOptions<TVariables> =
|
|
473
|
+
declare type BatchMutationOptions<TVariables> = MutationOptions<Batch, ApiError, TVariables>;
|
|
456
474
|
|
|
457
475
|
/**
|
|
458
476
|
* Serves as the base for most components in the system and provides the most commonly used properties
|
|
@@ -466,12 +484,12 @@ export declare const Block: BlockComponent;
|
|
|
466
484
|
/**
|
|
467
485
|
* @public
|
|
468
486
|
*/
|
|
469
|
-
export declare type BlockComponent =
|
|
487
|
+
export declare type BlockComponent = ForwardRefExoticComponent<BlockProps>;
|
|
470
488
|
|
|
471
489
|
/**
|
|
472
490
|
* @public
|
|
473
491
|
*/
|
|
474
|
-
export declare interface BlockProps extends SpaceProps, SizeProps, ClickableProps, BackgroundColorProps, OpacityProps, TooltipProps, FocusBehaviorProps {
|
|
492
|
+
export declare interface BlockProps extends RefAttributes<HTMLElement>, SpaceProps, SizeProps, ClickableProps, BackgroundColorProps, OpacityProps, TooltipProps, FocusBehaviorProps {
|
|
475
493
|
/**
|
|
476
494
|
* Accessibility-related props.
|
|
477
495
|
*/
|
|
@@ -534,11 +552,6 @@ export declare interface BundleEditorApiStorage {
|
|
|
534
552
|
hooks: BundleEditorHooksApiStorage;
|
|
535
553
|
}
|
|
536
554
|
|
|
537
|
-
/**
|
|
538
|
-
* @public
|
|
539
|
-
*/
|
|
540
|
-
export declare type BundleEditorHook = () => BundleEditorHookResult | undefined;
|
|
541
|
-
|
|
542
555
|
/**
|
|
543
556
|
* @public
|
|
544
557
|
*/
|
|
@@ -553,7 +566,7 @@ export declare interface BundleEditorHookResult {
|
|
|
553
566
|
* @internal
|
|
554
567
|
*/
|
|
555
568
|
export declare interface BundleEditorHooksApiStorage {
|
|
556
|
-
|
|
569
|
+
useOptionalBundleEditor: OptionalBundleEditorHook;
|
|
557
570
|
}
|
|
558
571
|
|
|
559
572
|
/**
|
|
@@ -565,12 +578,12 @@ export declare const Button: ButtonComponent;
|
|
|
565
578
|
/**
|
|
566
579
|
* @public
|
|
567
580
|
*/
|
|
568
|
-
export declare type ButtonComponent =
|
|
581
|
+
export declare type ButtonComponent = ForwardRefExoticComponent<ButtonProps>;
|
|
569
582
|
|
|
570
583
|
/**
|
|
571
584
|
* @public
|
|
572
585
|
*/
|
|
573
|
-
export declare interface ButtonProps {
|
|
586
|
+
export declare interface ButtonProps extends RefAttributes<HTMLElement> {
|
|
574
587
|
/**
|
|
575
588
|
* Callback executed when the button is clicked.
|
|
576
589
|
*/
|
|
@@ -603,11 +616,6 @@ export declare interface CategoryEditorApiStorage {
|
|
|
603
616
|
hooks: CategoryEditorHooksApiStorage;
|
|
604
617
|
}
|
|
605
618
|
|
|
606
|
-
/**
|
|
607
|
-
* @public
|
|
608
|
-
*/
|
|
609
|
-
export declare type CategoryEditorHook = () => CategoryEditorHookResult | undefined;
|
|
610
|
-
|
|
611
619
|
/**
|
|
612
620
|
* @public
|
|
613
621
|
*/
|
|
@@ -622,7 +630,7 @@ export declare interface CategoryEditorHookResult {
|
|
|
622
630
|
* @internal
|
|
623
631
|
*/
|
|
624
632
|
export declare interface CategoryEditorHooksApiStorage {
|
|
625
|
-
|
|
633
|
+
useOptionalCategoryEditor: OptionalCategoryEditorHook;
|
|
626
634
|
}
|
|
627
635
|
|
|
628
636
|
/**
|
|
@@ -639,7 +647,7 @@ export declare const Center: CenterComponent;
|
|
|
639
647
|
/**
|
|
640
648
|
* @public
|
|
641
649
|
*/
|
|
642
|
-
export declare type CenterComponent =
|
|
650
|
+
export declare type CenterComponent = ForwardRefExoticComponent<CenterProps>;
|
|
643
651
|
|
|
644
652
|
/**
|
|
645
653
|
* @public
|
|
@@ -650,7 +658,7 @@ export declare interface CenterProps extends Without<FlexProps, 'mainAxis' | 'cr
|
|
|
650
658
|
/**
|
|
651
659
|
* @public
|
|
652
660
|
*/
|
|
653
|
-
export declare type ChangeUserLanguageMutationHook = (options?:
|
|
661
|
+
export declare type ChangeUserLanguageMutationHook = (options?: MutationOptions<User, ApiError, ChangeUserLanguageRequest>) => MutationResult<User, ApiError, ChangeUserLanguageRequest>;
|
|
654
662
|
|
|
655
663
|
/**
|
|
656
664
|
* @public
|
|
@@ -663,7 +671,7 @@ export declare interface ChangeUserLanguageRequest {
|
|
|
663
671
|
/**
|
|
664
672
|
* @public
|
|
665
673
|
*/
|
|
666
|
-
export declare type ChangeUserLocaleMutationHook = (options?:
|
|
674
|
+
export declare type ChangeUserLocaleMutationHook = (options?: MutationOptions<User, ApiError, ChangeUserLocaleRequest>) => MutationResult<User, ApiError, ChangeUserLocaleRequest>;
|
|
667
675
|
|
|
668
676
|
/**
|
|
669
677
|
* @public
|
|
@@ -737,11 +745,6 @@ export declare interface ComponentEditorApiStorage {
|
|
|
737
745
|
hooks: ComponentEditorHooksApiStorage;
|
|
738
746
|
}
|
|
739
747
|
|
|
740
|
-
/**
|
|
741
|
-
* @public
|
|
742
|
-
*/
|
|
743
|
-
export declare type ComponentEditorHook = () => ComponentEditorHookResult | undefined;
|
|
744
|
-
|
|
745
748
|
/**
|
|
746
749
|
* @public
|
|
747
750
|
*/
|
|
@@ -756,7 +759,7 @@ export declare interface ComponentEditorHookResult {
|
|
|
756
759
|
* @internal
|
|
757
760
|
*/
|
|
758
761
|
export declare interface ComponentEditorHooksApiStorage {
|
|
759
|
-
|
|
762
|
+
useOptionalComponentEditor: OptionalComponentEditorHook;
|
|
760
763
|
}
|
|
761
764
|
|
|
762
765
|
/**
|
|
@@ -1040,6 +1043,9 @@ export declare interface ContentExplorerHooksApiStorage {
|
|
|
1040
1043
|
useContentExplorer: ContentExplorerHook;
|
|
1041
1044
|
useContentExplorerTable: ContentExplorerTableHook;
|
|
1042
1045
|
useContentExplorerTree: ContentExplorerTreeHook;
|
|
1046
|
+
useOptionalContentExplorer: OptionalContentExplorerHook;
|
|
1047
|
+
useOptionalContentExplorerTable: OptionalContentExplorerTableHook;
|
|
1048
|
+
useOptionalContentExplorerTree: OptionalContentExplorerTreeHook;
|
|
1043
1049
|
}
|
|
1044
1050
|
|
|
1045
1051
|
/**
|
|
@@ -1179,7 +1185,7 @@ export declare class ContentExplorerTableExtensionsBuilder {
|
|
|
1179
1185
|
/**
|
|
1180
1186
|
* @public
|
|
1181
1187
|
*/
|
|
1182
|
-
export declare type ContentExplorerTableHook = () => ContentExplorerTableHookResult
|
|
1188
|
+
export declare type ContentExplorerTableHook = () => ContentExplorerTableHookResult;
|
|
1183
1189
|
|
|
1184
1190
|
/**
|
|
1185
1191
|
* @public
|
|
@@ -1206,7 +1212,7 @@ export declare class ContentExplorerTreeExtensionsBuilder {
|
|
|
1206
1212
|
/**
|
|
1207
1213
|
* @public
|
|
1208
1214
|
*/
|
|
1209
|
-
export declare type ContentExplorerTreeHook = () => ContentExplorerTreeHookResult
|
|
1215
|
+
export declare type ContentExplorerTreeHook = () => ContentExplorerTreeHookResult;
|
|
1210
1216
|
|
|
1211
1217
|
/**
|
|
1212
1218
|
* @public
|
|
@@ -1225,7 +1231,7 @@ export declare interface ContentExplorerUtilsApiStorage {
|
|
|
1225
1231
|
/**
|
|
1226
1232
|
* @public
|
|
1227
1233
|
*/
|
|
1228
|
-
export declare type CopyItemMutationHook = (options?:
|
|
1234
|
+
export declare type CopyItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, CopyItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, CopyItemRequest>;
|
|
1229
1235
|
|
|
1230
1236
|
/**
|
|
1231
1237
|
* @public
|
|
@@ -1238,7 +1244,7 @@ export declare interface CopyItemRequest {
|
|
|
1238
1244
|
/**
|
|
1239
1245
|
* @public
|
|
1240
1246
|
*/
|
|
1241
|
-
export declare type CopyItemsMutationHook = (options?: BatchMutationOptions<CopyItemsRequest>) =>
|
|
1247
|
+
export declare type CopyItemsMutationHook = (options?: BatchMutationOptions<CopyItemsRequest>) => MutationResult<Batch, ApiError, CopyItemsRequest>;
|
|
1242
1248
|
|
|
1243
1249
|
/**
|
|
1244
1250
|
* @public
|
|
@@ -1263,7 +1269,7 @@ export declare interface CreateExtensionGlobalsResult extends ExtensionGlobals {
|
|
|
1263
1269
|
/**
|
|
1264
1270
|
* @public
|
|
1265
1271
|
*/
|
|
1266
|
-
export declare type CreateTranslationJobMutationHook = (options:
|
|
1272
|
+
export declare type CreateTranslationJobMutationHook = (options: MutationOptions<TranslationJob, ApiError, CreateTranslationJobRequest>) => MutationResult<TranslationJob, ApiError, CreateTranslationJobRequest>;
|
|
1267
1273
|
|
|
1268
1274
|
/**
|
|
1269
1275
|
* @public
|
|
@@ -1295,7 +1301,7 @@ export declare type DefaultModelType = Extract<ItemType, 'bundle' | 'searchFolde
|
|
|
1295
1301
|
/**
|
|
1296
1302
|
* @public
|
|
1297
1303
|
*/
|
|
1298
|
-
export declare type DefaultTranslationJobQueryHook = (props: DefaultTranslationJobQueryProps | undefined, options?: QueryOptions<TranslationJob | undefined, ApiError>) =>
|
|
1304
|
+
export declare type DefaultTranslationJobQueryHook = (props: DefaultTranslationJobQueryProps | undefined, options?: QueryOptions<TranslationJob | undefined, ApiError>) => QueryResult<TranslationJob | undefined, ApiError>;
|
|
1299
1305
|
|
|
1300
1306
|
/**
|
|
1301
1307
|
* @public
|
|
@@ -1308,7 +1314,7 @@ export declare interface DefaultTranslationJobQueryProps {
|
|
|
1308
1314
|
/**
|
|
1309
1315
|
* @public
|
|
1310
1316
|
*/
|
|
1311
|
-
export declare type DeleteItemMutationHook = (options?:
|
|
1317
|
+
export declare type DeleteItemMutationHook = (options?: MutationOptions<void, ApiError, DeleteItemRequest>) => MutationResult<void, ApiError, DeleteItemRequest>;
|
|
1312
1318
|
|
|
1313
1319
|
/**
|
|
1314
1320
|
* @public
|
|
@@ -1321,7 +1327,7 @@ export declare interface DeleteItemRequest {
|
|
|
1321
1327
|
/**
|
|
1322
1328
|
* @public
|
|
1323
1329
|
*/
|
|
1324
|
-
export declare type DeleteItemsMutationHook = (options?: BatchMutationOptions<DeleteItemsRequest>) =>
|
|
1330
|
+
export declare type DeleteItemsMutationHook = (options?: BatchMutationOptions<DeleteItemsRequest>) => MutationResult<Batch, ApiError, DeleteItemsRequest>;
|
|
1325
1331
|
|
|
1326
1332
|
/**
|
|
1327
1333
|
* @public
|
|
@@ -1338,7 +1344,7 @@ export declare interface DeleteItemsRequest {
|
|
|
1338
1344
|
/**
|
|
1339
1345
|
* @public
|
|
1340
1346
|
*/
|
|
1341
|
-
export declare type EditorHook = () => EditorHookResult
|
|
1347
|
+
export declare type EditorHook = () => EditorHookResult;
|
|
1342
1348
|
|
|
1343
1349
|
/**
|
|
1344
1350
|
* @public
|
|
@@ -1355,6 +1361,7 @@ export declare interface EditorHookResult {
|
|
|
1355
1361
|
*/
|
|
1356
1362
|
export declare interface EditorHooksApiStorage {
|
|
1357
1363
|
useEditor: EditorHook;
|
|
1364
|
+
useOptionalEditor: OptionalEditorHook;
|
|
1358
1365
|
}
|
|
1359
1366
|
|
|
1360
1367
|
/**
|
|
@@ -1406,7 +1413,7 @@ export declare class ExtensionBuilder {
|
|
|
1406
1413
|
*/
|
|
1407
1414
|
export declare interface ExtensionGlobals {
|
|
1408
1415
|
t: (key: string, options?: Record<string, any>) => string;
|
|
1409
|
-
getConfiguration:
|
|
1416
|
+
getConfiguration: <T extends Record<string, any>>() => T | undefined;
|
|
1410
1417
|
}
|
|
1411
1418
|
|
|
1412
1419
|
/**
|
|
@@ -1432,7 +1439,7 @@ export declare interface ExtensionPoints {
|
|
|
1432
1439
|
/**
|
|
1433
1440
|
* @public
|
|
1434
1441
|
*/
|
|
1435
|
-
export declare type FavoritesQueryHook = (options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) =>
|
|
1442
|
+
export declare type FavoritesQueryHook = (options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<IdentifiableObject> | undefined, ApiError>;
|
|
1436
1443
|
|
|
1437
1444
|
/**
|
|
1438
1445
|
* @public
|
|
@@ -1449,7 +1456,7 @@ export declare type FinishActivitiesMutationHook = (options?: FinishActivitiesMu
|
|
|
1449
1456
|
/**
|
|
1450
1457
|
* @public
|
|
1451
1458
|
*/
|
|
1452
|
-
export declare type FinishActivitiesMutationOptions =
|
|
1459
|
+
export declare type FinishActivitiesMutationOptions = MutationOptions<Batch[], ApiError, FinishActivitiesRequest>;
|
|
1453
1460
|
|
|
1454
1461
|
/**
|
|
1455
1462
|
* @public
|
|
@@ -1470,7 +1477,7 @@ export declare interface FinishActivitiesRequestData {
|
|
|
1470
1477
|
/**
|
|
1471
1478
|
* @public
|
|
1472
1479
|
*/
|
|
1473
|
-
export declare type FinishActivityMutationHook = (options?:
|
|
1480
|
+
export declare type FinishActivityMutationHook = (options?: MutationOptions<FinishActivityResult, ApiError, FinishActivityRequest>) => MutationResult<FinishActivityResult, ApiError, FinishActivityRequest>;
|
|
1474
1481
|
|
|
1475
1482
|
/**
|
|
1476
1483
|
* @public
|
|
@@ -1484,7 +1491,7 @@ export declare interface FinishActivityRequest {
|
|
|
1484
1491
|
/**
|
|
1485
1492
|
* @public
|
|
1486
1493
|
*/
|
|
1487
|
-
export declare type FinishEditingItemMutationHook = (options?:
|
|
1494
|
+
export declare type FinishEditingItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, FinishEditingItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, FinishEditingItemRequest>;
|
|
1488
1495
|
|
|
1489
1496
|
/**
|
|
1490
1497
|
* @public
|
|
@@ -1497,7 +1504,7 @@ export declare interface FinishEditingItemRequest {
|
|
|
1497
1504
|
/**
|
|
1498
1505
|
* @public
|
|
1499
1506
|
*/
|
|
1500
|
-
export declare type FinishEditingItemsMutationHook = (options?: BatchMutationOptions<FinishItemsRequest>) =>
|
|
1507
|
+
export declare type FinishEditingItemsMutationHook = (options?: BatchMutationOptions<FinishItemsRequest>) => MutationResult<Batch, ApiError, FinishItemsRequest>;
|
|
1501
1508
|
|
|
1502
1509
|
/**
|
|
1503
1510
|
* @public
|
|
@@ -1520,7 +1527,7 @@ export declare const Flex: FlexComponent;
|
|
|
1520
1527
|
/**
|
|
1521
1528
|
* @public
|
|
1522
1529
|
*/
|
|
1523
|
-
export declare type FlexComponent =
|
|
1530
|
+
export declare type FlexComponent = ForwardRefExoticComponent<FlexProps>;
|
|
1524
1531
|
|
|
1525
1532
|
/**
|
|
1526
1533
|
* @public
|
|
@@ -1577,11 +1584,6 @@ export declare interface FolderEditorApiStorage {
|
|
|
1577
1584
|
hooks: FolderEditorHooksApiStorage;
|
|
1578
1585
|
}
|
|
1579
1586
|
|
|
1580
|
-
/**
|
|
1581
|
-
* @public
|
|
1582
|
-
*/
|
|
1583
|
-
export declare type FolderEditorHook = () => FolderEditorHookResult | undefined;
|
|
1584
|
-
|
|
1585
1587
|
/**
|
|
1586
1588
|
* @public
|
|
1587
1589
|
*/
|
|
@@ -1596,7 +1598,7 @@ export declare interface FolderEditorHookResult {
|
|
|
1596
1598
|
* @internal
|
|
1597
1599
|
*/
|
|
1598
1600
|
export declare interface FolderEditorHooksApiStorage {
|
|
1599
|
-
|
|
1601
|
+
useOptionalFolderEditor: OptionalFolderEditorHook;
|
|
1600
1602
|
}
|
|
1601
1603
|
|
|
1602
1604
|
/**
|
|
@@ -1917,7 +1919,7 @@ export declare const isSystemNode: (node: ContentExplorerNode) => boolean;
|
|
|
1917
1919
|
/**
|
|
1918
1920
|
* @public
|
|
1919
1921
|
*/
|
|
1920
|
-
export declare type ItemBlueprintHierarchyQueryHook = (props: ItemBlueprintHierarchyQueryProps | undefined, options?: QueryOptions<ItemBlueprintHierarchy | undefined, ApiError>) =>
|
|
1922
|
+
export declare type ItemBlueprintHierarchyQueryHook = (props: ItemBlueprintHierarchyQueryProps | undefined, options?: QueryOptions<ItemBlueprintHierarchy | undefined, ApiError>) => QueryResult<ItemBlueprintHierarchy | undefined, ApiError>;
|
|
1921
1923
|
|
|
1922
1924
|
/**
|
|
1923
1925
|
* @public
|
|
@@ -1929,7 +1931,7 @@ export declare interface ItemBlueprintHierarchyQueryProps {
|
|
|
1929
1931
|
/**
|
|
1930
1932
|
* @public
|
|
1931
1933
|
*/
|
|
1932
|
-
export declare type ItemChildrenQueryHook = (props: ItemChildrenQueryProps | undefined, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) =>
|
|
1934
|
+
export declare type ItemChildrenQueryHook = (props: ItemChildrenQueryProps | undefined, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>;
|
|
1933
1935
|
|
|
1934
1936
|
/**
|
|
1935
1937
|
* @public
|
|
@@ -1948,7 +1950,7 @@ export declare interface ItemChildrenQueryProps {
|
|
|
1948
1950
|
/**
|
|
1949
1951
|
* @public
|
|
1950
1952
|
*/
|
|
1951
|
-
export declare type ItemClassifiedItemsQueryHook = (props: ItemClassifiedItemsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) =>
|
|
1953
|
+
export declare type ItemClassifiedItemsQueryHook = (props: ItemClassifiedItemsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>;
|
|
1952
1954
|
|
|
1953
1955
|
/**
|
|
1954
1956
|
* @public
|
|
@@ -1980,7 +1982,7 @@ export declare interface ItemClassifiedItemsQueryProps {
|
|
|
1980
1982
|
/**
|
|
1981
1983
|
* @public
|
|
1982
1984
|
*/
|
|
1983
|
-
export declare type ItemDefaultDataQueryHook = <TItem extends IdentifiableObject>(props: ItemDefaultDataQueryProps | undefined, options?: QueryOptions<TItem | undefined, ApiError>) =>
|
|
1985
|
+
export declare type ItemDefaultDataQueryHook = <TItem extends IdentifiableObject>(props: ItemDefaultDataQueryProps | undefined, options?: QueryOptions<TItem | undefined, ApiError>) => QueryResult<TItem | undefined, ApiError>;
|
|
1984
1986
|
|
|
1985
1987
|
/**
|
|
1986
1988
|
* @public
|
|
@@ -1992,7 +1994,7 @@ export declare interface ItemDefaultDataQueryProps {
|
|
|
1992
1994
|
/**
|
|
1993
1995
|
* @public
|
|
1994
1996
|
*/
|
|
1995
|
-
export declare type ItemHistoryQueryHook = (props: ItemHistoryQueryProps | undefined, options?: QueryOptions<ReadonlyArray<VersionedItem> | undefined, ApiError>) =>
|
|
1997
|
+
export declare type ItemHistoryQueryHook = (props: ItemHistoryQueryProps | undefined, options?: QueryOptions<ReadonlyArray<VersionedItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<VersionedItem> | undefined, ApiError>;
|
|
1996
1998
|
|
|
1997
1999
|
/**
|
|
1998
2000
|
* @public
|
|
@@ -2004,7 +2006,7 @@ export declare interface ItemHistoryQueryProps {
|
|
|
2004
2006
|
/**
|
|
2005
2007
|
* @public
|
|
2006
2008
|
*/
|
|
2007
|
-
export declare type ItemPublishedPagesQueryHook = (props: ItemPublishedPagesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<Page> | undefined, ApiError>) =>
|
|
2009
|
+
export declare type ItemPublishedPagesQueryHook = (props: ItemPublishedPagesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<Page> | undefined, ApiError>) => QueryResult<ReadonlyArray<Page> | undefined, ApiError>;
|
|
2008
2010
|
|
|
2009
2011
|
/**
|
|
2010
2012
|
* @public
|
|
@@ -2016,7 +2018,7 @@ export declare interface ItemPublishedPagesQueryProps {
|
|
|
2016
2018
|
/**
|
|
2017
2019
|
* @public
|
|
2018
2020
|
*/
|
|
2019
|
-
export declare type ItemPublishedToQueryHook = (props: ItemPublishedToQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishInfo> | undefined, ApiError>) =>
|
|
2021
|
+
export declare type ItemPublishedToQueryHook = (props: ItemPublishedToQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishInfo> | undefined, ApiError>) => QueryResult<ReadonlyArray<PublishInfo> | undefined, ApiError>;
|
|
2020
2022
|
|
|
2021
2023
|
/**
|
|
2022
2024
|
* @public
|
|
@@ -2028,7 +2030,7 @@ export declare interface ItemPublishedToQueryProps {
|
|
|
2028
2030
|
/**
|
|
2029
2031
|
* @public
|
|
2030
2032
|
*/
|
|
2031
|
-
export declare type ItemPublishUrlsQueryHook = (props: ItemPublishUrlsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishUrlInfo> | undefined, ApiError>) =>
|
|
2033
|
+
export declare type ItemPublishUrlsQueryHook = (props: ItemPublishUrlsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishUrlInfo> | undefined, ApiError>) => QueryResult<ReadonlyArray<PublishUrlInfo> | undefined, ApiError>;
|
|
2032
2034
|
|
|
2033
2035
|
/**
|
|
2034
2036
|
* @public
|
|
@@ -2040,7 +2042,7 @@ export declare interface ItemPublishUrlsQueryProps {
|
|
|
2040
2042
|
/**
|
|
2041
2043
|
* @public
|
|
2042
2044
|
*/
|
|
2043
|
-
export declare type ItemQueryHook = <TItem extends IdentifiableObject>(props: ItemQueryProps | undefined, options?: QueryOptions<TItem | undefined, ApiError>) =>
|
|
2045
|
+
export declare type ItemQueryHook = <TItem extends IdentifiableObject>(props: ItemQueryProps | undefined, options?: QueryOptions<TItem | undefined, ApiError>) => QueryResult<TItem | undefined, ApiError>;
|
|
2044
2046
|
|
|
2045
2047
|
/**
|
|
2046
2048
|
* @public
|
|
@@ -2053,7 +2055,7 @@ export declare interface ItemQueryProps {
|
|
|
2053
2055
|
/**
|
|
2054
2056
|
* @public
|
|
2055
2057
|
*/
|
|
2056
|
-
export declare type ItemsInProgressQueryHook = (props?: ItemsInProgressQueryProps, options?: QueryOptions<ReadonlyArray<VersionedItem> | undefined, ApiError>) =>
|
|
2058
|
+
export declare type ItemsInProgressQueryHook = (props?: ItemsInProgressQueryProps, options?: QueryOptions<ReadonlyArray<VersionedItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<VersionedItem> | undefined, ApiError>;
|
|
2057
2059
|
|
|
2058
2060
|
/**
|
|
2059
2061
|
* @public
|
|
@@ -2066,7 +2068,7 @@ export declare interface ItemsInProgressQueryProps {
|
|
|
2066
2068
|
/**
|
|
2067
2069
|
* @public
|
|
2068
2070
|
*/
|
|
2069
|
-
export declare type ItemsQueryHook = <TItem extends IdentifiableObject>(props: ItemsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) =>
|
|
2071
|
+
export declare type ItemsQueryHook = <TItem extends IdentifiableObject>(props: ItemsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<TItem> | undefined, ApiError>;
|
|
2070
2072
|
|
|
2071
2073
|
/**
|
|
2072
2074
|
* @public
|
|
@@ -2080,17 +2082,17 @@ export declare interface ItemsQueryProps {
|
|
|
2080
2082
|
/**
|
|
2081
2083
|
* @public
|
|
2082
2084
|
*/
|
|
2083
|
-
export declare type ItemsToPublishQueryHook = (props: PublishItemsRequest | undefined, options?: QueryOptions<ResolvedItem[] | undefined, ApiError>) =>
|
|
2085
|
+
export declare type ItemsToPublishQueryHook = (props: PublishItemsRequest | undefined, options?: QueryOptions<ResolvedItem[] | undefined, ApiError>) => QueryResult<ResolvedItem[] | undefined, ApiError>;
|
|
2084
2086
|
|
|
2085
2087
|
/**
|
|
2086
2088
|
* @public
|
|
2087
2089
|
*/
|
|
2088
|
-
export declare type ItemsToUnpublishQueryHook = (props: UnpublishItemsRequest | undefined, options?: QueryOptions<ResolvedItem[] | undefined, ApiError>) =>
|
|
2090
|
+
export declare type ItemsToUnpublishQueryHook = (props: UnpublishItemsRequest | undefined, options?: QueryOptions<ResolvedItem[] | undefined, ApiError>) => QueryResult<ResolvedItem[] | undefined, ApiError>;
|
|
2089
2091
|
|
|
2090
2092
|
/**
|
|
2091
2093
|
* @public
|
|
2092
2094
|
*/
|
|
2093
|
-
export declare type ItemTranslationInfoQueryHook = (props: ItemTranslationInfoQueryProps | undefined, options?: QueryOptions<TranslationInfo | undefined, ApiError>) =>
|
|
2095
|
+
export declare type ItemTranslationInfoQueryHook = (props: ItemTranslationInfoQueryProps | undefined, options?: QueryOptions<TranslationInfo | undefined, ApiError>) => QueryResult<TranslationInfo | undefined, ApiError>;
|
|
2094
2096
|
|
|
2095
2097
|
/**
|
|
2096
2098
|
* @public
|
|
@@ -2102,7 +2104,7 @@ export declare interface ItemTranslationInfoQueryProps {
|
|
|
2102
2104
|
/**
|
|
2103
2105
|
* @public
|
|
2104
2106
|
*/
|
|
2105
|
-
export declare type ItemUsedByQueryHook = <TItem extends IdentifiableObject>(props: ItemUsedByQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) =>
|
|
2107
|
+
export declare type ItemUsedByQueryHook = <TItem extends IdentifiableObject>(props: ItemUsedByQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<TItem> | undefined, ApiError>;
|
|
2106
2108
|
|
|
2107
2109
|
/**
|
|
2108
2110
|
* @public
|
|
@@ -2114,7 +2116,7 @@ export declare interface ItemUsedByQueryProps {
|
|
|
2114
2116
|
/**
|
|
2115
2117
|
* @public
|
|
2116
2118
|
*/
|
|
2117
|
-
export declare type ItemUsesQueryHook = <TItem extends IdentifiableObject>(props: ItemUsesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) =>
|
|
2119
|
+
export declare type ItemUsesQueryHook = <TItem extends IdentifiableObject>(props: ItemUsesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<TItem> | undefined, ApiError>;
|
|
2118
2120
|
|
|
2119
2121
|
/**
|
|
2120
2122
|
* @public
|
|
@@ -2130,11 +2132,6 @@ export declare interface KeywordEditorApiStorage {
|
|
|
2130
2132
|
hooks: KeywordEditorHooksApiStorage;
|
|
2131
2133
|
}
|
|
2132
2134
|
|
|
2133
|
-
/**
|
|
2134
|
-
* @public
|
|
2135
|
-
*/
|
|
2136
|
-
export declare type KeywordEditorHook = () => KeywordEditorHookResult | undefined;
|
|
2137
|
-
|
|
2138
2135
|
/**
|
|
2139
2136
|
* @public
|
|
2140
2137
|
*/
|
|
@@ -2149,7 +2146,7 @@ export declare interface KeywordEditorHookResult {
|
|
|
2149
2146
|
* @internal
|
|
2150
2147
|
*/
|
|
2151
2148
|
export declare interface KeywordEditorHooksApiStorage {
|
|
2152
|
-
|
|
2149
|
+
useOptionalKeywordEditor: OptionalKeywordEditorHook;
|
|
2153
2150
|
}
|
|
2154
2151
|
|
|
2155
2152
|
/**
|
|
@@ -2200,7 +2197,18 @@ declare type ListBuilderConfigurationExtension<TItem> = (currentList: ListBuilde
|
|
|
2200
2197
|
/**
|
|
2201
2198
|
* @public
|
|
2202
2199
|
*/
|
|
2203
|
-
export declare
|
|
2200
|
+
export declare interface LoadingState {
|
|
2201
|
+
isFirstTimeLoading: boolean;
|
|
2202
|
+
isLoading: boolean;
|
|
2203
|
+
isReloading: boolean;
|
|
2204
|
+
isLoaded: boolean;
|
|
2205
|
+
isError: boolean;
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
/**
|
|
2209
|
+
* @public
|
|
2210
|
+
*/
|
|
2211
|
+
export declare type LocalizeItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, LocalizeItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, LocalizeItemRequest>;
|
|
2204
2212
|
|
|
2205
2213
|
/**
|
|
2206
2214
|
* @public
|
|
@@ -2213,7 +2221,7 @@ export declare interface LocalizeItemRequest {
|
|
|
2213
2221
|
/**
|
|
2214
2222
|
* @public
|
|
2215
2223
|
*/
|
|
2216
|
-
export declare type LocalizeItemsMutationHook = (options?: BatchMutationOptions<LocalizeItemsRequest>) =>
|
|
2224
|
+
export declare type LocalizeItemsMutationHook = (options?: BatchMutationOptions<LocalizeItemsRequest>) => MutationResult<Batch, ApiError, LocalizeItemsRequest>;
|
|
2217
2225
|
|
|
2218
2226
|
/**
|
|
2219
2227
|
* @public
|
|
@@ -2231,7 +2239,7 @@ export declare type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-betw
|
|
|
2231
2239
|
/**
|
|
2232
2240
|
* @public
|
|
2233
2241
|
*/
|
|
2234
|
-
export declare type MoveItemMutationHook = (options?:
|
|
2242
|
+
export declare type MoveItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, MoveItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, MoveItemRequest>;
|
|
2235
2243
|
|
|
2236
2244
|
/**
|
|
2237
2245
|
* @public
|
|
@@ -2245,7 +2253,7 @@ export declare interface MoveItemRequest {
|
|
|
2245
2253
|
/**
|
|
2246
2254
|
* @public
|
|
2247
2255
|
*/
|
|
2248
|
-
export declare type MoveItemsMutationHook = (options?: BatchMutationOptions<MoveItemsRequest>) =>
|
|
2256
|
+
export declare type MoveItemsMutationHook = (options?: BatchMutationOptions<MoveItemsRequest>) => MutationResult<Batch, ApiError, MoveItemsRequest>;
|
|
2249
2257
|
|
|
2250
2258
|
/**
|
|
2251
2259
|
* @public
|
|
@@ -2264,6 +2272,35 @@ export declare interface MultimediaUploadResult {
|
|
|
2264
2272
|
error?: ApiError | Error;
|
|
2265
2273
|
}
|
|
2266
2274
|
|
|
2275
|
+
/**
|
|
2276
|
+
* @public
|
|
2277
|
+
*/
|
|
2278
|
+
export declare type MutateFunction<TData = unknown, TError = unknown, TVariables = void> = (variables: TVariables, options?: MutateOptions<TData, TError, TVariables>) => Promise<TData>;
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* @public
|
|
2282
|
+
*/
|
|
2283
|
+
export declare interface MutateOptions<TData = unknown, TError = unknown, TVariables = void> {
|
|
2284
|
+
onSuccess?: (data: TData, variables: TVariables) => void;
|
|
2285
|
+
onError?: (error: TError, variables: TVariables) => void;
|
|
2286
|
+
onSettled?: (data: TData | undefined, error: TError | null, variables: TVariables) => void;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* @public
|
|
2291
|
+
*/
|
|
2292
|
+
export declare interface MutationOptions<TData = unknown, TError = unknown, TVariables = void> {
|
|
2293
|
+
variables?: TVariables;
|
|
2294
|
+
onMutate?: (variables: TVariables) => Promise<void> | void;
|
|
2295
|
+
onSuccess?: (data: TData, variables: TVariables) => Promise<void> | void;
|
|
2296
|
+
onError?: (error: TError, variables: TVariables) => Promise<void> | void;
|
|
2297
|
+
onSettled?: (data: TData | undefined, error: TError | null, variables: TVariables) => Promise<void> | void;
|
|
2298
|
+
retry?: boolean | number | ((failureCount: number, error: TError) => boolean);
|
|
2299
|
+
retryDelay?: number | ((failureCount: number, error: TError) => number);
|
|
2300
|
+
cacheTime?: number;
|
|
2301
|
+
meta?: Record<string, unknown>;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2267
2304
|
/**
|
|
2268
2305
|
* @public
|
|
2269
2306
|
*/
|
|
@@ -2272,6 +2309,31 @@ export declare interface MutationResponse {
|
|
|
2272
2309
|
addedItems: Link_2[];
|
|
2273
2310
|
}
|
|
2274
2311
|
|
|
2312
|
+
/**
|
|
2313
|
+
* @public
|
|
2314
|
+
*/
|
|
2315
|
+
export declare interface MutationResult<TData = unknown, TError = unknown, TVariables = unknown> {
|
|
2316
|
+
mutate: (...args: Parameters<MutateFunction<TData, TError, TVariables>>) => void;
|
|
2317
|
+
mutateAsync: MutateFunction<TData, TError, TVariables>;
|
|
2318
|
+
isError: boolean;
|
|
2319
|
+
isIdle: boolean;
|
|
2320
|
+
isLoading: boolean;
|
|
2321
|
+
isSuccess: boolean;
|
|
2322
|
+
reset: () => void;
|
|
2323
|
+
data: TData | undefined;
|
|
2324
|
+
error: TError | null;
|
|
2325
|
+
failureCount: number;
|
|
2326
|
+
failureReason: TError | null;
|
|
2327
|
+
isPaused: boolean;
|
|
2328
|
+
status: MutationStatus;
|
|
2329
|
+
variables: TVariables | undefined;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* @public
|
|
2334
|
+
*/
|
|
2335
|
+
export declare type MutationStatus = 'idle' | 'loading' | 'success' | 'error';
|
|
2336
|
+
|
|
2275
2337
|
/**
|
|
2276
2338
|
* @public
|
|
2277
2339
|
*/
|
|
@@ -2441,16 +2503,76 @@ declare interface OpacityProps_2 {
|
|
|
2441
2503
|
}
|
|
2442
2504
|
|
|
2443
2505
|
/**
|
|
2444
|
-
* @
|
|
2506
|
+
* @public
|
|
2445
2507
|
*/
|
|
2446
|
-
export declare
|
|
2447
|
-
hooks: PageEditorHooksApiStorage;
|
|
2448
|
-
}
|
|
2508
|
+
export declare type OptionalActivitiesExplorerHook = () => ActivitiesExplorerHookResult | undefined;
|
|
2449
2509
|
|
|
2450
2510
|
/**
|
|
2451
2511
|
* @public
|
|
2452
2512
|
*/
|
|
2453
|
-
export declare type
|
|
2513
|
+
export declare type OptionalActivitiesExplorerTableHook = () => ActivitiesExplorerTableHookResult | undefined;
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* @public
|
|
2517
|
+
*/
|
|
2518
|
+
export declare type OptionalBundleEditorHook = () => BundleEditorHookResult | undefined;
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* @public
|
|
2522
|
+
*/
|
|
2523
|
+
export declare type OptionalCategoryEditorHook = () => CategoryEditorHookResult | undefined;
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* @public
|
|
2527
|
+
*/
|
|
2528
|
+
export declare type OptionalComponentEditorHook = () => ComponentEditorHookResult | undefined;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* @public
|
|
2532
|
+
*/
|
|
2533
|
+
export declare type OptionalContentExplorerHook = () => ContentExplorerHookResult | undefined;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* @public
|
|
2537
|
+
*/
|
|
2538
|
+
export declare type OptionalContentExplorerTableHook = () => ContentExplorerTableHookResult | undefined;
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* @public
|
|
2542
|
+
*/
|
|
2543
|
+
export declare type OptionalContentExplorerTreeHook = () => ContentExplorerTreeHookResult | undefined;
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* @public
|
|
2547
|
+
*/
|
|
2548
|
+
export declare type OptionalEditorHook = () => EditorHookResult | undefined;
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* @public
|
|
2552
|
+
*/
|
|
2553
|
+
export declare type OptionalFolderEditorHook = () => FolderEditorHookResult | undefined;
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* @public
|
|
2557
|
+
*/
|
|
2558
|
+
export declare type OptionalKeywordEditorHook = () => KeywordEditorHookResult | undefined;
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* @public
|
|
2562
|
+
*/
|
|
2563
|
+
export declare type OptionalPageEditorHook = () => PageEditorHookResult | undefined;
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* @public
|
|
2567
|
+
*/
|
|
2568
|
+
export declare type OptionalStructureGroupEditorHook = () => StructureGroupEditorHookResult | undefined;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* @internal
|
|
2572
|
+
*/
|
|
2573
|
+
export declare interface PageEditorApiStorage {
|
|
2574
|
+
hooks: PageEditorHooksApiStorage;
|
|
2575
|
+
}
|
|
2454
2576
|
|
|
2455
2577
|
/**
|
|
2456
2578
|
* @public
|
|
@@ -2468,7 +2590,7 @@ export declare interface PageEditorHookResult {
|
|
|
2468
2590
|
* @internal
|
|
2469
2591
|
*/
|
|
2470
2592
|
export declare interface PageEditorHooksApiStorage {
|
|
2471
|
-
|
|
2593
|
+
useOptionalPageEditor: OptionalPageEditorHook;
|
|
2472
2594
|
}
|
|
2473
2595
|
|
|
2474
2596
|
declare const palette: {
|
|
@@ -2503,7 +2625,7 @@ declare const palette: {
|
|
|
2503
2625
|
/**
|
|
2504
2626
|
* @public
|
|
2505
2627
|
*/
|
|
2506
|
-
export declare type PublicationBlueprintHierarchyQueryHook = (props: PublicationBlueprintHierarchyQueryProps | undefined, options?: QueryOptions<PublicationBlueprintHierarchy | undefined, ApiError>) =>
|
|
2628
|
+
export declare type PublicationBlueprintHierarchyQueryHook = (props: PublicationBlueprintHierarchyQueryProps | undefined, options?: QueryOptions<PublicationBlueprintHierarchy | undefined, ApiError>) => QueryResult<PublicationBlueprintHierarchy | undefined, ApiError>;
|
|
2507
2629
|
|
|
2508
2630
|
/**
|
|
2509
2631
|
* @public
|
|
@@ -2515,12 +2637,12 @@ export declare interface PublicationBlueprintHierarchyQueryProps {
|
|
|
2515
2637
|
/**
|
|
2516
2638
|
* @public
|
|
2517
2639
|
*/
|
|
2518
|
-
export declare type PublicationsQueryHook = (options?: QueryOptions<ReadonlyArray<Publication> | undefined, ApiError>) =>
|
|
2640
|
+
export declare type PublicationsQueryHook = (options?: QueryOptions<ReadonlyArray<Publication> | undefined, ApiError>) => QueryResult<ReadonlyArray<Publication> | undefined, ApiError>;
|
|
2519
2641
|
|
|
2520
2642
|
/**
|
|
2521
2643
|
* @public
|
|
2522
2644
|
*/
|
|
2523
|
-
export declare type PublishableTargetTypesQueryHook = (props: PublishableTargetTypesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TargetType> | undefined, ApiError>) =>
|
|
2645
|
+
export declare type PublishableTargetTypesQueryHook = (props: PublishableTargetTypesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TargetType> | undefined, ApiError>) => QueryResult<ReadonlyArray<TargetType> | undefined, ApiError>;
|
|
2524
2646
|
|
|
2525
2647
|
/**
|
|
2526
2648
|
* @public
|
|
@@ -2532,7 +2654,7 @@ export declare interface PublishableTargetTypesQueryProps {
|
|
|
2532
2654
|
/**
|
|
2533
2655
|
* @public
|
|
2534
2656
|
*/
|
|
2535
|
-
export declare type PublishItemsMutationHook = (options?:
|
|
2657
|
+
export declare type PublishItemsMutationHook = (options?: MutationOptions<PublishTransactionsCreationResult, ApiError, PublishItemsRequest>) => MutationResult<PublishTransactionsCreationResult, ApiError, PublishItemsRequest>;
|
|
2536
2658
|
|
|
2537
2659
|
/**
|
|
2538
2660
|
* @public
|
|
@@ -2593,7 +2715,123 @@ export declare interface PublishItemsRequest {
|
|
|
2593
2715
|
/**
|
|
2594
2716
|
* @public
|
|
2595
2717
|
*/
|
|
2596
|
-
export declare type
|
|
2718
|
+
export declare type QueryFetchStatus = 'fetching' | 'paused' | 'idle';
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* @public
|
|
2722
|
+
*/
|
|
2723
|
+
export declare interface QueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData> {
|
|
2724
|
+
retry?: boolean | number | ((failureCount: number, error: TError) => boolean);
|
|
2725
|
+
retryDelay?: number | ((failureCount: number, error: TError) => number);
|
|
2726
|
+
initialData?: TData | (() => TData | undefined);
|
|
2727
|
+
initialDataUpdatedAt?: number | (() => number | undefined);
|
|
2728
|
+
meta?: Record<string, unknown>;
|
|
2729
|
+
/**
|
|
2730
|
+
* Set this to `false` to disable automatic refetching when the query mounts or changes query keys.
|
|
2731
|
+
* To refetch the query, use the `refetch` method returned from the `useQuery` instance.
|
|
2732
|
+
* Defaults to `true`.
|
|
2733
|
+
*/
|
|
2734
|
+
enabled?: boolean;
|
|
2735
|
+
/**
|
|
2736
|
+
* The time in milliseconds after data is considered stale.
|
|
2737
|
+
* If set to `Infinity`, the data will never be considered stale.
|
|
2738
|
+
*/
|
|
2739
|
+
staleTime?: number;
|
|
2740
|
+
/**
|
|
2741
|
+
* If set to a number, the query will continuously refetch at this frequency in milliseconds.
|
|
2742
|
+
* If set to a function, the function will be executed with the latest data and query to compute a frequency
|
|
2743
|
+
* Defaults to `false`.
|
|
2744
|
+
*/
|
|
2745
|
+
refetchInterval?: number | false;
|
|
2746
|
+
/**
|
|
2747
|
+
* If set to `true`, the query will continue to refetch while their tab/window is in the background.
|
|
2748
|
+
* Defaults to `false`.
|
|
2749
|
+
*/
|
|
2750
|
+
refetchIntervalInBackground?: boolean;
|
|
2751
|
+
/**
|
|
2752
|
+
* If set to `true`, the query will refetch on window focus if the data is stale.
|
|
2753
|
+
* If set to `false`, the query will not refetch on window focus.
|
|
2754
|
+
* If set to `'always'`, the query will always refetch on window focus.
|
|
2755
|
+
* Defaults to `true`.
|
|
2756
|
+
*/
|
|
2757
|
+
refetchOnWindowFocus?: boolean | 'always';
|
|
2758
|
+
/**
|
|
2759
|
+
* If set to `true`, the query will refetch on reconnect if the data is stale.
|
|
2760
|
+
* If set to `false`, the query will not refetch on reconnect.
|
|
2761
|
+
* If set to `'always'`, the query will always refetch on reconnect.
|
|
2762
|
+
* If set to a function, the function will be executed with the latest data and query to compute the value.
|
|
2763
|
+
* Defaults to the value of `networkOnline` (`true`)
|
|
2764
|
+
*/
|
|
2765
|
+
refetchOnReconnect?: boolean | 'always';
|
|
2766
|
+
/**
|
|
2767
|
+
* If set to `true`, the query will refetch on mount if the data is stale.
|
|
2768
|
+
* If set to `false`, will disable additional instances of a query to trigger background refetches.
|
|
2769
|
+
* If set to `'always'`, the query will always refetch on mount.
|
|
2770
|
+
* Defaults to `true`.
|
|
2771
|
+
*/
|
|
2772
|
+
refetchOnMount?: boolean | 'always';
|
|
2773
|
+
/**
|
|
2774
|
+
* If set to `false`, the query will not be retried on mount if it contains an error.
|
|
2775
|
+
* Defaults to `true`.
|
|
2776
|
+
*/
|
|
2777
|
+
retryOnMount?: boolean;
|
|
2778
|
+
/**
|
|
2779
|
+
* This callback will fire any time the query successfully fetches new data.
|
|
2780
|
+
*/
|
|
2781
|
+
onSuccess?: (data: TData) => void;
|
|
2782
|
+
/**
|
|
2783
|
+
* This callback will fire if the query encounters an error and will be passed the error.
|
|
2784
|
+
*/
|
|
2785
|
+
onError?: (err: TError) => void;
|
|
2786
|
+
/**
|
|
2787
|
+
* This callback will fire any time the query is either successfully fetched or errors and be passed either the data or error.
|
|
2788
|
+
*/
|
|
2789
|
+
onSettled?: (data: TData | undefined, error: TError | null) => void;
|
|
2790
|
+
/**
|
|
2791
|
+
* Set this to `true` to keep the previous `data` when fetching based on a new query key.
|
|
2792
|
+
* Defaults to `false`.
|
|
2793
|
+
*/
|
|
2794
|
+
keepPreviousData?: boolean;
|
|
2795
|
+
/**
|
|
2796
|
+
* If set, this value will be used as the placeholder data for this particular query observer while the query is still in the `loading` data and no initialData has been provided.
|
|
2797
|
+
*/
|
|
2798
|
+
placeholderData?: TQueryFnData | (() => TQueryFnData | undefined);
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* @public
|
|
2803
|
+
*/
|
|
2804
|
+
export declare interface QueryResult<TData = unknown, TError = unknown> {
|
|
2805
|
+
data: TData | undefined;
|
|
2806
|
+
dataUpdatedAt: number;
|
|
2807
|
+
error: TError | null;
|
|
2808
|
+
errorUpdatedAt: number;
|
|
2809
|
+
failureCount: number;
|
|
2810
|
+
failureReason: TError | null;
|
|
2811
|
+
errorUpdateCount: number;
|
|
2812
|
+
isError: boolean;
|
|
2813
|
+
isFetched: boolean;
|
|
2814
|
+
isFetchedAfterMount: boolean;
|
|
2815
|
+
isFetching: boolean;
|
|
2816
|
+
isLoading: boolean;
|
|
2817
|
+
isLoadingError: boolean;
|
|
2818
|
+
isInitialLoading: boolean;
|
|
2819
|
+
isPaused: boolean;
|
|
2820
|
+
isPlaceholderData: boolean;
|
|
2821
|
+
isPreviousData: boolean;
|
|
2822
|
+
isRefetchError: boolean;
|
|
2823
|
+
isRefetching: boolean;
|
|
2824
|
+
isStale: boolean;
|
|
2825
|
+
isSuccess: boolean;
|
|
2826
|
+
refetch: (options?: RefetchOptions) => Promise<QueryResult<TData, TError>>;
|
|
2827
|
+
status: QueryStatus;
|
|
2828
|
+
fetchStatus: QueryFetchStatus;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
/**
|
|
2832
|
+
* @public
|
|
2833
|
+
*/
|
|
2834
|
+
export declare type QueryStatus = 'loading' | 'error' | 'success';
|
|
2597
2835
|
|
|
2598
2836
|
declare interface ReadonlyHierarchy<TData> {
|
|
2599
2837
|
root: ReadonlyHierarchyNode<TData> | undefined;
|
|
@@ -2628,7 +2866,15 @@ declare interface ReadonlyHierarchyNode<TData> {
|
|
|
2628
2866
|
/**
|
|
2629
2867
|
* @public
|
|
2630
2868
|
*/
|
|
2631
|
-
export declare
|
|
2869
|
+
export declare interface RefetchOptions {
|
|
2870
|
+
cancelRefetch?: boolean;
|
|
2871
|
+
throwOnError?: boolean;
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* @public
|
|
2876
|
+
*/
|
|
2877
|
+
export declare type RemoveFromBundleMutationHook = (options?: MutationOptions<Bundle, ApiError, RemoveFromBundleRequest>) => MutationResult<Bundle, ApiError, RemoveFromBundleRequest>;
|
|
2632
2878
|
|
|
2633
2879
|
/**
|
|
2634
2880
|
* @public
|
|
@@ -2641,7 +2887,7 @@ export declare interface RemoveFromBundleRequest {
|
|
|
2641
2887
|
/**
|
|
2642
2888
|
* @public
|
|
2643
2889
|
*/
|
|
2644
|
-
export declare type RestartActivitiesMutationHook = (options?: BatchMutationOptions<RestartActivitiesRequest>) =>
|
|
2890
|
+
export declare type RestartActivitiesMutationHook = (options?: BatchMutationOptions<RestartActivitiesRequest>) => MutationResult<Batch, ApiError, RestartActivitiesRequest>;
|
|
2645
2891
|
|
|
2646
2892
|
/**
|
|
2647
2893
|
* @public
|
|
@@ -2653,7 +2899,7 @@ export declare interface RestartActivitiesRequest {
|
|
|
2653
2899
|
/**
|
|
2654
2900
|
* @public
|
|
2655
2901
|
*/
|
|
2656
|
-
export declare type RestartActivityMutationHook = (options?:
|
|
2902
|
+
export declare type RestartActivityMutationHook = (options?: MutationOptions<ActivityInstance, ApiError, RestartActivityRequest>) => MutationResult<ActivityInstance, ApiError, RestartActivityRequest>;
|
|
2657
2903
|
|
|
2658
2904
|
/**
|
|
2659
2905
|
* @public
|
|
@@ -2665,7 +2911,7 @@ export declare interface RestartActivityRequest {
|
|
|
2665
2911
|
/**
|
|
2666
2912
|
* @public
|
|
2667
2913
|
*/
|
|
2668
|
-
export declare type RevertItemMutationHook = (options?:
|
|
2914
|
+
export declare type RevertItemMutationHook = (options?: MutationOptions<RepositoryLocalObject | void, ApiError, RevertItemRequest>) => MutationResult<RepositoryLocalObject | void, ApiError, RevertItemRequest>;
|
|
2669
2915
|
|
|
2670
2916
|
/**
|
|
2671
2917
|
* @public
|
|
@@ -2678,7 +2924,7 @@ export declare interface RevertItemRequest {
|
|
|
2678
2924
|
/**
|
|
2679
2925
|
* @public
|
|
2680
2926
|
*/
|
|
2681
|
-
export declare type RevertItemsMutationHook = (options?: BatchMutationOptions<RevertItemsRequest>) =>
|
|
2927
|
+
export declare type RevertItemsMutationHook = (options?: BatchMutationOptions<RevertItemsRequest>) => MutationResult<Batch, ApiError, RevertItemsRequest>;
|
|
2682
2928
|
|
|
2683
2929
|
/**
|
|
2684
2930
|
* @public
|
|
@@ -2769,7 +3015,7 @@ export declare type RichTextFieldSetup = RawEditorOptions['setup'];
|
|
|
2769
3015
|
/**
|
|
2770
3016
|
* @public
|
|
2771
3017
|
*/
|
|
2772
|
-
export declare type RollbackItemMutationHook = (options?:
|
|
3018
|
+
export declare type RollbackItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, RollbackItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, RollbackItemRequest>;
|
|
2773
3019
|
|
|
2774
3020
|
/**
|
|
2775
3021
|
* @public
|
|
@@ -2791,7 +3037,7 @@ export declare interface RuntimeInformation {
|
|
|
2791
3037
|
/**
|
|
2792
3038
|
* @public
|
|
2793
3039
|
*/
|
|
2794
|
-
export declare type SearchInContainerQueryHook = (props: SearchInContainerQueryProps | undefined, options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) =>
|
|
3040
|
+
export declare type SearchInContainerQueryHook = (props: SearchInContainerQueryProps | undefined, options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<IdentifiableObject> | undefined, ApiError>;
|
|
2795
3041
|
|
|
2796
3042
|
/**
|
|
2797
3043
|
* @public
|
|
@@ -2941,7 +3187,7 @@ export declare type StackAlignment = 'start' | 'center' | 'end' | 'stretch' | 'b
|
|
|
2941
3187
|
/**
|
|
2942
3188
|
* @public
|
|
2943
3189
|
*/
|
|
2944
|
-
export declare type StackComponent =
|
|
3190
|
+
export declare type StackComponent = ForwardRefExoticComponent<StackProps>;
|
|
2945
3191
|
|
|
2946
3192
|
/**
|
|
2947
3193
|
* @public
|
|
@@ -2977,7 +3223,7 @@ export declare interface StackProps extends BlockProps {
|
|
|
2977
3223
|
/**
|
|
2978
3224
|
* @public
|
|
2979
3225
|
*/
|
|
2980
|
-
export declare type StartActivitiesMutationHook = (options?: BatchMutationOptions<StartActivitiesRequest>) =>
|
|
3226
|
+
export declare type StartActivitiesMutationHook = (options?: BatchMutationOptions<StartActivitiesRequest>) => MutationResult<Batch, ApiError, StartActivitiesRequest>;
|
|
2981
3227
|
|
|
2982
3228
|
/**
|
|
2983
3229
|
* @public
|
|
@@ -2989,7 +3235,7 @@ export declare interface StartActivitiesRequest {
|
|
|
2989
3235
|
/**
|
|
2990
3236
|
* @public
|
|
2991
3237
|
*/
|
|
2992
|
-
export declare type StartActivityMutationHook = (options?:
|
|
3238
|
+
export declare type StartActivityMutationHook = (options?: MutationOptions<ActivityInstance, ApiError, StartActivityRequest>) => MutationResult<ActivityInstance, ApiError, StartActivityRequest>;
|
|
2993
3239
|
|
|
2994
3240
|
/**
|
|
2995
3241
|
* @public
|
|
@@ -3001,7 +3247,7 @@ export declare interface StartActivityRequest {
|
|
|
3001
3247
|
/**
|
|
3002
3248
|
* @public
|
|
3003
3249
|
*/
|
|
3004
|
-
export declare type StartWorkflowMutationHook = (options?:
|
|
3250
|
+
export declare type StartWorkflowMutationHook = (options?: MutationOptions<ProcessInstance, ApiError, StartWorkflowRequest>) => MutationResult<ProcessInstance, ApiError, StartWorkflowRequest>;
|
|
3005
3251
|
|
|
3006
3252
|
/**
|
|
3007
3253
|
* @public
|
|
@@ -3017,11 +3263,6 @@ export declare interface StructureGroupEditorApiStorage {
|
|
|
3017
3263
|
hooks: StructureGroupEditorHooksApiStorage;
|
|
3018
3264
|
}
|
|
3019
3265
|
|
|
3020
|
-
/**
|
|
3021
|
-
* @public
|
|
3022
|
-
*/
|
|
3023
|
-
export declare type StructureGroupEditorHook = () => StructureGroupEditorHookResult | undefined;
|
|
3024
|
-
|
|
3025
3266
|
/**
|
|
3026
3267
|
* @public
|
|
3027
3268
|
*/
|
|
@@ -3036,7 +3277,7 @@ export declare interface StructureGroupEditorHookResult {
|
|
|
3036
3277
|
* @internal
|
|
3037
3278
|
*/
|
|
3038
3279
|
export declare interface StructureGroupEditorHooksApiStorage {
|
|
3039
|
-
|
|
3280
|
+
useOptionalStructureGroupEditor: OptionalStructureGroupEditorHook;
|
|
3040
3281
|
}
|
|
3041
3282
|
|
|
3042
3283
|
declare interface SvgProps extends TestsProps, TooltipProps_2, SpaceProps_2, SizeProps_2, ColorProps_2, OpacityProps_2 {
|
|
@@ -3053,7 +3294,7 @@ declare interface SvgProps extends TestsProps, TooltipProps_2, SpaceProps_2, Siz
|
|
|
3053
3294
|
/**
|
|
3054
3295
|
* @public
|
|
3055
3296
|
*/
|
|
3056
|
-
export declare type SystemSearchQueryHook = (props?: SystemSearchQueryProps, options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) =>
|
|
3297
|
+
export declare type SystemSearchQueryHook = (props?: SystemSearchQueryProps, options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<IdentifiableObject> | undefined, ApiError>;
|
|
3057
3298
|
|
|
3058
3299
|
/**
|
|
3059
3300
|
* @public
|
|
@@ -3190,17 +3431,18 @@ export declare interface TextLinkProps extends TextProps, LinkProps {
|
|
|
3190
3431
|
/**
|
|
3191
3432
|
* @public
|
|
3192
3433
|
*/
|
|
3193
|
-
export declare interface TextProps {
|
|
3194
|
-
tag?: TextTag;
|
|
3434
|
+
export declare interface TextProps extends ColorProps, TooltipProps {
|
|
3195
3435
|
alignment?: TextAlignment;
|
|
3196
|
-
children?: ReactNode;
|
|
3197
|
-
notSelectable?: boolean;
|
|
3198
|
-
uppercase?: boolean;
|
|
3199
|
-
underline?: boolean;
|
|
3200
|
-
multiLine?: boolean;
|
|
3201
3436
|
breakWord?: boolean;
|
|
3437
|
+
children?: ReactNode;
|
|
3202
3438
|
compact?: boolean;
|
|
3203
3439
|
direction?: TextDirection;
|
|
3440
|
+
multiLine?: boolean;
|
|
3441
|
+
notSelectable?: boolean;
|
|
3442
|
+
tag?: TextTag;
|
|
3443
|
+
type?: TextType;
|
|
3444
|
+
underline?: boolean;
|
|
3445
|
+
uppercase?: boolean;
|
|
3204
3446
|
}
|
|
3205
3447
|
|
|
3206
3448
|
/**
|
|
@@ -3208,6 +3450,11 @@ export declare interface TextProps {
|
|
|
3208
3450
|
*/
|
|
3209
3451
|
export declare type TextTag = 'div' | 'span' | 'h1' | 'h2' | 'h3';
|
|
3210
3452
|
|
|
3453
|
+
/**
|
|
3454
|
+
* @public
|
|
3455
|
+
*/
|
|
3456
|
+
export declare type TextType = 'heading1' | 'heading2' | 'heading3' | 'default' | 'defaultBold' | 'small' | 'smallBold';
|
|
3457
|
+
|
|
3211
3458
|
/**
|
|
3212
3459
|
* @public
|
|
3213
3460
|
*/
|
|
@@ -3281,7 +3528,7 @@ export declare interface TranslationItemExtensionConfiguration {
|
|
|
3281
3528
|
/**
|
|
3282
3529
|
* @public
|
|
3283
3530
|
*/
|
|
3284
|
-
export declare type UnlocalizeItemMutationHook = (options?:
|
|
3531
|
+
export declare type UnlocalizeItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, UnlocalizeItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, UnlocalizeItemRequest>;
|
|
3285
3532
|
|
|
3286
3533
|
/**
|
|
3287
3534
|
* @public
|
|
@@ -3295,7 +3542,7 @@ export declare interface UnlocalizeItemRequest {
|
|
|
3295
3542
|
/**
|
|
3296
3543
|
* @public
|
|
3297
3544
|
*/
|
|
3298
|
-
export declare type UnlocalizeItemsMutationHook = (options?: BatchMutationOptions<UnlocalizeItemsRequest>) =>
|
|
3545
|
+
export declare type UnlocalizeItemsMutationHook = (options?: BatchMutationOptions<UnlocalizeItemsRequest>) => MutationResult<Batch, ApiError, UnlocalizeItemsRequest>;
|
|
3299
3546
|
|
|
3300
3547
|
/**
|
|
3301
3548
|
* @public
|
|
@@ -3308,7 +3555,7 @@ export declare interface UnlocalizeItemsRequest {
|
|
|
3308
3555
|
/**
|
|
3309
3556
|
* @public
|
|
3310
3557
|
*/
|
|
3311
|
-
export declare type UnpublishItemsMutationHook = (options?:
|
|
3558
|
+
export declare type UnpublishItemsMutationHook = (options?: MutationOptions<PublishTransactionsCreationResult, ApiError, UnpublishItemsRequest>) => MutationResult<PublishTransactionsCreationResult, ApiError, UnpublishItemsRequest>;
|
|
3312
3559
|
|
|
3313
3560
|
/**
|
|
3314
3561
|
* @public
|
|
@@ -3353,7 +3600,7 @@ export declare interface UnpublishItemsRequest {
|
|
|
3353
3600
|
/**
|
|
3354
3601
|
* @public
|
|
3355
3602
|
*/
|
|
3356
|
-
export declare type UpdateItemMutationHook = (options?:
|
|
3603
|
+
export declare type UpdateItemMutationHook = (options?: MutationOptions<IdentifiableObject, ApiError, UpdateItemRequest>) => MutationResult<IdentifiableObject, ApiError, UpdateItemRequest>;
|
|
3357
3604
|
|
|
3358
3605
|
/**
|
|
3359
3606
|
* @public
|
|
@@ -3365,7 +3612,7 @@ export declare interface UpdateItemRequest {
|
|
|
3365
3612
|
/**
|
|
3366
3613
|
* @public
|
|
3367
3614
|
*/
|
|
3368
|
-
export declare type UploadMultimediaMutationHook = (options?:
|
|
3615
|
+
export declare type UploadMultimediaMutationHook = (options?: MutationOptions<UploadMultimediaMutationResult, ApiError, UploadMultimediaRequest>) => MutationResult<UploadMultimediaMutationResult, ApiError, UploadMultimediaRequest>;
|
|
3369
3616
|
|
|
3370
3617
|
/**
|
|
3371
3618
|
* @public
|
|
@@ -3384,6 +3631,11 @@ export declare interface UploadMultimediaRequest {
|
|
|
3384
3631
|
schemaId?: ItemUri;
|
|
3385
3632
|
}
|
|
3386
3633
|
|
|
3634
|
+
/**
|
|
3635
|
+
* @public
|
|
3636
|
+
*/
|
|
3637
|
+
export declare const useActivitiesExplorer: ActivitiesExplorerHook;
|
|
3638
|
+
|
|
3387
3639
|
/**
|
|
3388
3640
|
* @public
|
|
3389
3641
|
*/
|
|
@@ -3419,16 +3671,6 @@ export declare const useAutoClassifyItemMutation: AutoClassifyItemMutationHook;
|
|
|
3419
3671
|
*/
|
|
3420
3672
|
export declare const useAutoClassifyItemsMutation: AutoClassifyItemsMutationHook;
|
|
3421
3673
|
|
|
3422
|
-
/**
|
|
3423
|
-
* @public
|
|
3424
|
-
*/
|
|
3425
|
-
export declare const useBundleEditor: BundleEditorHook;
|
|
3426
|
-
|
|
3427
|
-
/**
|
|
3428
|
-
* @public
|
|
3429
|
-
*/
|
|
3430
|
-
export declare const useCategoryEditor: CategoryEditorHook;
|
|
3431
|
-
|
|
3432
3674
|
/**
|
|
3433
3675
|
* @public
|
|
3434
3676
|
*/
|
|
@@ -3439,11 +3681,6 @@ export declare const useChangeUserLanguageMutation: ChangeUserLanguageMutationHo
|
|
|
3439
3681
|
*/
|
|
3440
3682
|
export declare const useChangeUserLocaleMutation: ChangeUserLocaleMutationHook;
|
|
3441
3683
|
|
|
3442
|
-
/**
|
|
3443
|
-
* @public
|
|
3444
|
-
*/
|
|
3445
|
-
export declare const useComponentEditor: ComponentEditorHook;
|
|
3446
|
-
|
|
3447
3684
|
/**
|
|
3448
3685
|
* @public
|
|
3449
3686
|
*/
|
|
@@ -3524,11 +3761,6 @@ export declare const useFinishEditingItemMutation: FinishEditingItemMutationHook
|
|
|
3524
3761
|
*/
|
|
3525
3762
|
export declare const useFinishEditingItemsMutation: FinishEditingItemsMutationHook;
|
|
3526
3763
|
|
|
3527
|
-
/**
|
|
3528
|
-
* @public
|
|
3529
|
-
*/
|
|
3530
|
-
export declare const useFolderEditor: FolderEditorHook;
|
|
3531
|
-
|
|
3532
3764
|
/**
|
|
3533
3765
|
* @public
|
|
3534
3766
|
*/
|
|
@@ -3609,11 +3841,6 @@ export declare const useItemUsedByQuery: ItemUsedByQueryHook;
|
|
|
3609
3841
|
*/
|
|
3610
3842
|
export declare const useItemUsesQuery: ItemUsesQueryHook;
|
|
3611
3843
|
|
|
3612
|
-
/**
|
|
3613
|
-
* @public
|
|
3614
|
-
*/
|
|
3615
|
-
export declare const useKeywordEditor: KeywordEditorHook;
|
|
3616
|
-
|
|
3617
3844
|
/**
|
|
3618
3845
|
* @public
|
|
3619
3846
|
*/
|
|
@@ -3642,7 +3869,67 @@ export declare const useNotifications: NotificationsHook;
|
|
|
3642
3869
|
/**
|
|
3643
3870
|
* @public
|
|
3644
3871
|
*/
|
|
3645
|
-
export declare const
|
|
3872
|
+
export declare const useOptionalActivitiesExplorer: OptionalActivitiesExplorerHook;
|
|
3873
|
+
|
|
3874
|
+
/**
|
|
3875
|
+
* @public
|
|
3876
|
+
*/
|
|
3877
|
+
export declare const useOptionalActivitiesExplorerTable: OptionalActivitiesExplorerTableHook;
|
|
3878
|
+
|
|
3879
|
+
/**
|
|
3880
|
+
* @public
|
|
3881
|
+
*/
|
|
3882
|
+
export declare const useOptionalBundleEditor: OptionalBundleEditorHook;
|
|
3883
|
+
|
|
3884
|
+
/**
|
|
3885
|
+
* @public
|
|
3886
|
+
*/
|
|
3887
|
+
export declare const useOptionalCategoryEditor: OptionalCategoryEditorHook;
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* @public
|
|
3891
|
+
*/
|
|
3892
|
+
export declare const useOptionalComponentEditor: OptionalComponentEditorHook;
|
|
3893
|
+
|
|
3894
|
+
/**
|
|
3895
|
+
* @public
|
|
3896
|
+
*/
|
|
3897
|
+
export declare const useOptionalContentExplorer: OptionalContentExplorerHook;
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* @public
|
|
3901
|
+
*/
|
|
3902
|
+
export declare const useOptionalContentExplorerTable: OptionalContentExplorerTableHook;
|
|
3903
|
+
|
|
3904
|
+
/**
|
|
3905
|
+
* @public
|
|
3906
|
+
*/
|
|
3907
|
+
export declare const useOptionalContentExplorerTree: OptionalContentExplorerTreeHook;
|
|
3908
|
+
|
|
3909
|
+
/**
|
|
3910
|
+
* @public
|
|
3911
|
+
*/
|
|
3912
|
+
export declare const useOptionalEditor: OptionalEditorHook;
|
|
3913
|
+
|
|
3914
|
+
/**
|
|
3915
|
+
* @public
|
|
3916
|
+
*/
|
|
3917
|
+
export declare const useOptionalFolderEditor: OptionalFolderEditorHook;
|
|
3918
|
+
|
|
3919
|
+
/**
|
|
3920
|
+
* @public
|
|
3921
|
+
*/
|
|
3922
|
+
export declare const useOptionalKeywordEditor: OptionalKeywordEditorHook;
|
|
3923
|
+
|
|
3924
|
+
/**
|
|
3925
|
+
* @public
|
|
3926
|
+
*/
|
|
3927
|
+
export declare const useOptionalPageEditor: OptionalPageEditorHook;
|
|
3928
|
+
|
|
3929
|
+
/**
|
|
3930
|
+
* @public
|
|
3931
|
+
*/
|
|
3932
|
+
export declare const useOptionalStructureGroupEditor: OptionalStructureGroupEditorHook;
|
|
3646
3933
|
|
|
3647
3934
|
/**
|
|
3648
3935
|
* @public
|
|
@@ -3692,7 +3979,7 @@ export declare const useRevertItemsMutation: RevertItemsMutationHook;
|
|
|
3692
3979
|
/**
|
|
3693
3980
|
* @public
|
|
3694
3981
|
*/
|
|
3695
|
-
export declare type UserGroupsQueryHook = (props?: UserGroupsQueryProps, options?: QueryOptions<ReadonlyArray<UserGroup> | undefined, ApiError>) =>
|
|
3982
|
+
export declare type UserGroupsQueryHook = (props?: UserGroupsQueryProps, options?: QueryOptions<ReadonlyArray<UserGroup> | undefined, ApiError>) => QueryResult<ReadonlyArray<UserGroup> | undefined, ApiError>;
|
|
3696
3983
|
|
|
3697
3984
|
/**
|
|
3698
3985
|
* @public
|
|
@@ -3729,12 +4016,12 @@ export declare interface UserProfileHookResult {
|
|
|
3729
4016
|
/**
|
|
3730
4017
|
* @public
|
|
3731
4018
|
*/
|
|
3732
|
-
export declare type UserProfileQueryHook = (options?: QueryOptions<UserProfile | undefined, ApiError>) =>
|
|
4019
|
+
export declare type UserProfileQueryHook = (options?: QueryOptions<UserProfile | undefined, ApiError>) => QueryResult<UserProfile | undefined, ApiError>;
|
|
3733
4020
|
|
|
3734
4021
|
/**
|
|
3735
4022
|
* @public
|
|
3736
4023
|
*/
|
|
3737
|
-
export declare type UsersQueryHook = (props?: UsersQueryProps, options?: QueryOptions<ReadonlyArray<User> | undefined, ApiError>) =>
|
|
4024
|
+
export declare type UsersQueryHook = (props?: UsersQueryProps, options?: QueryOptions<ReadonlyArray<User> | undefined, ApiError>) => QueryResult<ReadonlyArray<User> | undefined, ApiError>;
|
|
3738
4025
|
|
|
3739
4026
|
/**
|
|
3740
4027
|
* @public
|
|
@@ -3771,11 +4058,6 @@ export declare const useStartActivityMutation: StartActivityMutationHook;
|
|
|
3771
4058
|
*/
|
|
3772
4059
|
export declare const useStartWorkflowMutation: StartWorkflowMutationHook;
|
|
3773
4060
|
|
|
3774
|
-
/**
|
|
3775
|
-
* @public
|
|
3776
|
-
*/
|
|
3777
|
-
export declare const useStructureGroupEditor: StructureGroupEditorHook;
|
|
3778
|
-
|
|
3779
4061
|
/**
|
|
3780
4062
|
* @public
|
|
3781
4063
|
*/
|