@leav/ui 1.12.0-a0a98764 → 1.12.0-ae43850b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/utils.d.ts +3 -0
- package/dist/__mocks__/utils.js +2 -0
- package/dist/__mocks__/utils.js.map +1 -0
- package/dist/_gqlTypes/index.d.ts +325 -59
- package/dist/_gqlTypes/index.js +249 -46
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/components/Explorer/DataView.js +31 -14
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +0 -1
- package/dist/components/Explorer/_constants.js +0 -1
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +5 -9
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.d.ts +4 -9
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js +3 -11
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +8 -8
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +26 -13
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.d.ts +7 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js +30 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.d.ts +23 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js +2 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.d.ts +4 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +46 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.d.ts +12 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js +24 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.d.ts +13 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js +28 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +6 -10
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +5 -8
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.d.ts +8 -2
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +104 -80
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +30 -19
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.d.ts +2 -1
- package/dist/components/Explorer/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.d.ts +2 -1
- package/dist/components/Filters/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +8 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.d.ts +1 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +4 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +4 -8
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useConfirmModal/__mocks__/index.d.ts +1 -0
- package/dist/hooks/useConfirmModal/__mocks__/index.js +5 -0
- package/dist/hooks/useConfirmModal/__mocks__/index.js.map +1 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.d.ts +3 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js +7 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js.map +1 -0
- package/dist/hooks/useConfirmModal/index.d.ts +1 -0
- package/dist/hooks/useConfirmModal/index.js +5 -0
- package/dist/hooks/useConfirmModal/index.js.map +1 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.d.ts +7 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.js +25 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.js.map +1 -0
- package/dist/hooks/useGetRecordIdCard/index.d.ts +1 -0
- package/dist/hooks/useGetRecordIdCard/index.js +5 -0
- package/dist/hooks/useGetRecordIdCard/index.js.map +1 -0
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.d.ts +18 -0
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js +20 -0
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.d.ts +6 -0
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js +8 -0
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +5 -2
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +10 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +21 -9
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.d.ts +13 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js +59 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.d.ts +13 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js +29 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js.map +1 -0
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
- package/dist/locales/en/shared.json +6 -4
- package/dist/locales/fr/shared.json +8 -6
- package/package.json +9 -9
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.d.ts +0 -8
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js +0 -40
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.d.ts +0 -17
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js +0 -42
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.d.ts +0 -5
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js +0 -20
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.d.ts +0 -12
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js +0 -30
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/__mocks__/utils.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nexport type Mockify<T> = {\n [P in keyof T]?: T[P] extends (...args: any[]) => any\n ? jest.Mock<ReturnType<T[P]> extends never ? never : any>\n : T[P];\n};\n"]}
|
|
@@ -243,6 +243,67 @@ export declare enum AttributesSortableFields {
|
|
|
243
243
|
multiple_values = "multiple_values",
|
|
244
244
|
type = "type"
|
|
245
245
|
}
|
|
246
|
+
export declare enum AutomationRuleEventAction {
|
|
247
|
+
API_KEY_DELETE = "API_KEY_DELETE",
|
|
248
|
+
API_KEY_SAVE = "API_KEY_SAVE",
|
|
249
|
+
APP_DELETE = "APP_DELETE",
|
|
250
|
+
APP_SAVE = "APP_SAVE",
|
|
251
|
+
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
252
|
+
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
253
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
254
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
255
|
+
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
256
|
+
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
257
|
+
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
258
|
+
DATA_IMPORT_START = "DATA_IMPORT_START",
|
|
259
|
+
EXPORT_END = "EXPORT_END",
|
|
260
|
+
EXPORT_START = "EXPORT_START",
|
|
261
|
+
GLOBAL_SETTINGS_SAVE = "GLOBAL_SETTINGS_SAVE",
|
|
262
|
+
LIBRARY_DELETE = "LIBRARY_DELETE",
|
|
263
|
+
LIBRARY_PURGE = "LIBRARY_PURGE",
|
|
264
|
+
LIBRARY_SAVE = "LIBRARY_SAVE",
|
|
265
|
+
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
266
|
+
RECORD_DELETE = "RECORD_DELETE",
|
|
267
|
+
RECORD_INIT = "RECORD_INIT",
|
|
268
|
+
RECORD_SAVE = "RECORD_SAVE",
|
|
269
|
+
TASKS_DELETE = "TASKS_DELETE",
|
|
270
|
+
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
271
|
+
TREE_DELETE = "TREE_DELETE",
|
|
272
|
+
TREE_DELETE_ELEMENT = "TREE_DELETE_ELEMENT",
|
|
273
|
+
TREE_MOVE_ELEMENT = "TREE_MOVE_ELEMENT",
|
|
274
|
+
TREE_SAVE = "TREE_SAVE",
|
|
275
|
+
VALUE_DELETE = "VALUE_DELETE",
|
|
276
|
+
VALUE_SAVE = "VALUE_SAVE",
|
|
277
|
+
VERSION_PROFILE_DELETE = "VERSION_PROFILE_DELETE",
|
|
278
|
+
VERSION_PROFILE_SAVE = "VERSION_PROFILE_SAVE"
|
|
279
|
+
}
|
|
280
|
+
export declare enum AutomationRuleSortableFields {
|
|
281
|
+
id = "id"
|
|
282
|
+
}
|
|
283
|
+
export type AutomationRuleTriggerInput = {
|
|
284
|
+
eventAction: AutomationRuleEventAction;
|
|
285
|
+
eventTopic?: InputMaybe<EventTopicInput>;
|
|
286
|
+
synchronous: Scalars['Boolean']['input'];
|
|
287
|
+
};
|
|
288
|
+
export type AutomationRulesFiltersInput = {
|
|
289
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
290
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
291
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
292
|
+
trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
|
|
293
|
+
};
|
|
294
|
+
export type AutomationRulesSortInput = {
|
|
295
|
+
field: AutomationRuleSortableFields;
|
|
296
|
+
order?: InputMaybe<SortOrder>;
|
|
297
|
+
};
|
|
298
|
+
export declare enum AutomationTriggerDefSynchronicity {
|
|
299
|
+
ASYNC = "ASYNC",
|
|
300
|
+
BOTH = "BOTH",
|
|
301
|
+
SYNC = "SYNC"
|
|
302
|
+
}
|
|
303
|
+
export declare enum AutomationTriggerDefTopics {
|
|
304
|
+
ATTRIBUTE = "ATTRIBUTE",
|
|
305
|
+
LIBRARY = "LIBRARY"
|
|
306
|
+
}
|
|
246
307
|
export declare enum AvailableLanguage {
|
|
247
308
|
en = "en",
|
|
248
309
|
fr = "fr"
|
|
@@ -252,6 +313,11 @@ export type ChildrenAsRecordValuePermissionFilterInput = {
|
|
|
252
313
|
attributeId: Scalars['ID']['input'];
|
|
253
314
|
libraryId: Scalars['ID']['input'];
|
|
254
315
|
};
|
|
316
|
+
export type CreateAutomationRuleInput = {
|
|
317
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
318
|
+
label: Scalars['String']['input'];
|
|
319
|
+
trigger: AutomationRuleTriggerInput;
|
|
320
|
+
};
|
|
255
321
|
export type CreateRecordDataInput = {
|
|
256
322
|
values?: InputMaybe<Array<ValueBatchInput>>;
|
|
257
323
|
version?: InputMaybe<Array<ValueVersionInput>>;
|
|
@@ -287,6 +353,59 @@ export type EmbeddedAttributeInput = {
|
|
|
287
353
|
label?: InputMaybe<Scalars['SystemTranslation']['input']>;
|
|
288
354
|
validation_regex?: InputMaybe<Scalars['String']['input']>;
|
|
289
355
|
};
|
|
356
|
+
export declare enum EventAction {
|
|
357
|
+
API_KEY_DELETE = "API_KEY_DELETE",
|
|
358
|
+
API_KEY_SAVE = "API_KEY_SAVE",
|
|
359
|
+
APP_DELETE = "APP_DELETE",
|
|
360
|
+
APP_SAVE = "APP_SAVE",
|
|
361
|
+
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
362
|
+
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
363
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
364
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
365
|
+
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
366
|
+
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
367
|
+
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
368
|
+
DATA_IMPORT_START = "DATA_IMPORT_START",
|
|
369
|
+
EXPORT_END = "EXPORT_END",
|
|
370
|
+
EXPORT_START = "EXPORT_START",
|
|
371
|
+
GLOBAL_SETTINGS_SAVE = "GLOBAL_SETTINGS_SAVE",
|
|
372
|
+
LIBRARY_DELETE = "LIBRARY_DELETE",
|
|
373
|
+
LIBRARY_PURGE = "LIBRARY_PURGE",
|
|
374
|
+
LIBRARY_SAVE = "LIBRARY_SAVE",
|
|
375
|
+
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
376
|
+
RECORD_DELETE = "RECORD_DELETE",
|
|
377
|
+
RECORD_SAVE = "RECORD_SAVE",
|
|
378
|
+
TASKS_DELETE = "TASKS_DELETE",
|
|
379
|
+
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
380
|
+
TREE_DELETE = "TREE_DELETE",
|
|
381
|
+
TREE_DELETE_ELEMENT = "TREE_DELETE_ELEMENT",
|
|
382
|
+
TREE_MOVE_ELEMENT = "TREE_MOVE_ELEMENT",
|
|
383
|
+
TREE_SAVE = "TREE_SAVE",
|
|
384
|
+
VALUE_DELETE = "VALUE_DELETE",
|
|
385
|
+
VALUE_SAVE = "VALUE_SAVE",
|
|
386
|
+
VERSION_PROFILE_DELETE = "VERSION_PROFILE_DELETE",
|
|
387
|
+
VERSION_PROFILE_SAVE = "VERSION_PROFILE_SAVE"
|
|
388
|
+
}
|
|
389
|
+
export type EventTopicInput = {
|
|
390
|
+
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
391
|
+
application?: InputMaybe<Scalars['String']['input']>;
|
|
392
|
+
attribute?: InputMaybe<Scalars['String']['input']>;
|
|
393
|
+
automationRule?: InputMaybe<Scalars['String']['input']>;
|
|
394
|
+
filename?: InputMaybe<Scalars['String']['input']>;
|
|
395
|
+
library?: InputMaybe<Scalars['String']['input']>;
|
|
396
|
+
permission?: InputMaybe<EventTopicPermissionInput>;
|
|
397
|
+
profile?: InputMaybe<Scalars['String']['input']>;
|
|
398
|
+
record?: InputMaybe<EventTopicRecordInput>;
|
|
399
|
+
tree?: InputMaybe<Scalars['String']['input']>;
|
|
400
|
+
};
|
|
401
|
+
export type EventTopicPermissionInput = {
|
|
402
|
+
applyTo?: InputMaybe<Scalars['String']['input']>;
|
|
403
|
+
id: Scalars['String']['input'];
|
|
404
|
+
};
|
|
405
|
+
export type EventTopicRecordInput = {
|
|
406
|
+
id: Scalars['String']['input'];
|
|
407
|
+
libraryId: Scalars['String']['input'];
|
|
408
|
+
};
|
|
290
409
|
export type FileInput = {
|
|
291
410
|
data: Scalars['Upload']['input'];
|
|
292
411
|
replace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -421,6 +540,8 @@ export declare enum LogAction {
|
|
|
421
540
|
APP_SAVE = "APP_SAVE",
|
|
422
541
|
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
423
542
|
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
543
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
544
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
424
545
|
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
425
546
|
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
426
547
|
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
@@ -473,6 +594,7 @@ export declare enum LogSortableField {
|
|
|
473
594
|
export type LogTopicFilterInput = {
|
|
474
595
|
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
475
596
|
attribute?: InputMaybe<Scalars['String']['input']>;
|
|
597
|
+
automationRule?: InputMaybe<Scalars['String']['input']>;
|
|
476
598
|
filename?: InputMaybe<Scalars['String']['input']>;
|
|
477
599
|
library?: InputMaybe<Scalars['String']['input']>;
|
|
478
600
|
permission?: InputMaybe<LogTopicPermissionFilterInput>;
|
|
@@ -503,6 +625,11 @@ export type Pagination = {
|
|
|
503
625
|
limit: Scalars['Int']['input'];
|
|
504
626
|
offset: Scalars['Int']['input'];
|
|
505
627
|
};
|
|
628
|
+
export type PartialAutomationRuleTriggerInput = {
|
|
629
|
+
eventAction?: InputMaybe<AutomationRuleEventAction>;
|
|
630
|
+
eventTopic?: InputMaybe<EventTopicInput>;
|
|
631
|
+
synchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
632
|
+
};
|
|
506
633
|
export type PermissionActionInput = {
|
|
507
634
|
allowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
508
635
|
name: PermissionsActions;
|
|
@@ -575,6 +702,7 @@ export declare enum PermissionsActions {
|
|
|
575
702
|
admin_import_config_clear_database = "admin_import_config_clear_database",
|
|
576
703
|
admin_library = "admin_library",
|
|
577
704
|
admin_list_plugins = "admin_list_plugins",
|
|
705
|
+
admin_manage_automation = "admin_manage_automation",
|
|
578
706
|
admin_manage_global_preferences = "admin_manage_global_preferences",
|
|
579
707
|
create_record = "create_record",
|
|
580
708
|
delete_record = "delete_record",
|
|
@@ -661,6 +789,11 @@ export type RecordInput = {
|
|
|
661
789
|
id: Scalars['ID']['input'];
|
|
662
790
|
library: Scalars['String']['input'];
|
|
663
791
|
};
|
|
792
|
+
export type RecordNewCommentFilterInput = {
|
|
793
|
+
ignoreOwnEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
794
|
+
libraries?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
795
|
+
records?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
796
|
+
};
|
|
664
797
|
export declare enum RecordPermissionsActions {
|
|
665
798
|
access_record = "access_record",
|
|
666
799
|
access_record_by_default = "access_record_by_default",
|
|
@@ -759,10 +892,6 @@ export declare enum TaskType {
|
|
|
759
892
|
PURGE_MULTIPLE_VALUES = "PURGE_MULTIPLE_VALUES",
|
|
760
893
|
SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
|
|
761
894
|
}
|
|
762
|
-
export type ThematicToRenew = {
|
|
763
|
-
campaignId: Scalars['String']['input'];
|
|
764
|
-
thematicId: Scalars['String']['input'];
|
|
765
|
-
};
|
|
766
895
|
export declare enum TreeBehavior {
|
|
767
896
|
files = "files",
|
|
768
897
|
standard = "standard"
|
|
@@ -823,6 +952,13 @@ export declare enum TreesSortableFields {
|
|
|
823
952
|
id = "id",
|
|
824
953
|
system = "system"
|
|
825
954
|
}
|
|
955
|
+
export type UpdateAutomationRuleInput = {
|
|
956
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
957
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
958
|
+
id: Scalars['ID']['input'];
|
|
959
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
960
|
+
trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
|
|
961
|
+
};
|
|
826
962
|
export type UploadFiltersInput = {
|
|
827
963
|
uid?: InputMaybe<Scalars['String']['input']>;
|
|
828
964
|
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -886,6 +1022,7 @@ export type ViewDisplayInput = {
|
|
|
886
1022
|
type: ViewTypes;
|
|
887
1023
|
};
|
|
888
1024
|
export type ViewInput = {
|
|
1025
|
+
/** The whoAmI column should never be included in attributes because is already hard-coded to be present */
|
|
889
1026
|
attributes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
890
1027
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
891
1028
|
description?: InputMaybe<Scalars['SystemTranslationOptional']['input']>;
|
|
@@ -899,6 +1036,7 @@ export type ViewInput = {
|
|
|
899
1036
|
valuesVersions?: InputMaybe<Array<ViewValuesVersionInput>>;
|
|
900
1037
|
};
|
|
901
1038
|
export type ViewInputPartial = {
|
|
1039
|
+
/** The whoAmI column should never be included in attributes because is already hard-coded to be present */
|
|
902
1040
|
attributes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
903
1041
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
904
1042
|
description?: InputMaybe<Scalars['SystemTranslationOptional']['input']>;
|
|
@@ -6218,6 +6356,28 @@ export type PurgeRecordMutation = {
|
|
|
6218
6356
|
};
|
|
6219
6357
|
};
|
|
6220
6358
|
};
|
|
6359
|
+
export type GetRecordIdCardQueryVariables = Exact<{
|
|
6360
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
6361
|
+
libraryId: Scalars['ID']['input'];
|
|
6362
|
+
}>;
|
|
6363
|
+
export type GetRecordIdCardQuery = {
|
|
6364
|
+
records: {
|
|
6365
|
+
list: Array<{
|
|
6366
|
+
id: string;
|
|
6367
|
+
whoAmI: {
|
|
6368
|
+
id: string;
|
|
6369
|
+
color?: string | null;
|
|
6370
|
+
label?: string | null;
|
|
6371
|
+
subLabel?: string | null;
|
|
6372
|
+
preview?: IPreviewScalar | null;
|
|
6373
|
+
parentContext?: Array<{
|
|
6374
|
+
id: string;
|
|
6375
|
+
label?: string | null;
|
|
6376
|
+
}> | null;
|
|
6377
|
+
};
|
|
6378
|
+
}>;
|
|
6379
|
+
};
|
|
6380
|
+
};
|
|
6221
6381
|
export type CancelTaskMutationVariables = Exact<{
|
|
6222
6382
|
taskId: Scalars['ID']['input'];
|
|
6223
6383
|
}>;
|
|
@@ -7672,21 +7832,6 @@ export type ExplorerLinkAttributeQuery = {
|
|
|
7672
7832
|
}>;
|
|
7673
7833
|
} | null;
|
|
7674
7834
|
};
|
|
7675
|
-
export type CountValuesOccurrencesQueryVariables = Exact<{
|
|
7676
|
-
library: Scalars['ID']['input'];
|
|
7677
|
-
attribute: Scalars['ID']['input'];
|
|
7678
|
-
recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
7679
|
-
}>;
|
|
7680
|
-
export type CountValuesOccurrencesQuery = {
|
|
7681
|
-
listDistinctValues?: Array<{
|
|
7682
|
-
count: number;
|
|
7683
|
-
} | {
|
|
7684
|
-
count: number;
|
|
7685
|
-
treeNode?: {
|
|
7686
|
-
id: string;
|
|
7687
|
-
} | null;
|
|
7688
|
-
}> | null;
|
|
7689
|
-
};
|
|
7690
7835
|
export type ExplorerLibraryCountDataQueryVariables = Exact<{
|
|
7691
7836
|
libraryId: Scalars['ID']['input'];
|
|
7692
7837
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
@@ -7943,6 +8088,41 @@ export type LibraryExportProfilesQuery = {
|
|
|
7943
8088
|
}>;
|
|
7944
8089
|
} | null;
|
|
7945
8090
|
};
|
|
8091
|
+
export type MassEditableAttributesQueryVariables = Exact<{
|
|
8092
|
+
libraryId: Scalars['String']['input'];
|
|
8093
|
+
}>;
|
|
8094
|
+
export type MassEditableAttributesQuery = {
|
|
8095
|
+
attributes?: {
|
|
8096
|
+
list: Array<{
|
|
8097
|
+
id: string;
|
|
8098
|
+
label?: any | null;
|
|
8099
|
+
} | {
|
|
8100
|
+
id: string;
|
|
8101
|
+
label?: any | null;
|
|
8102
|
+
tree_values?: Array<{
|
|
8103
|
+
node?: {
|
|
8104
|
+
id: string;
|
|
8105
|
+
record: {
|
|
8106
|
+
id: string;
|
|
8107
|
+
whoAmI: {
|
|
8108
|
+
label?: string | null;
|
|
8109
|
+
color?: string | null;
|
|
8110
|
+
};
|
|
8111
|
+
};
|
|
8112
|
+
} | null;
|
|
8113
|
+
allowedDependentValues?: Array<{
|
|
8114
|
+
nodeId?: string | null;
|
|
8115
|
+
}> | null;
|
|
8116
|
+
}> | null;
|
|
8117
|
+
permissions_conf_dependent_values?: {
|
|
8118
|
+
dependenciesTreeAttributes: Array<{
|
|
8119
|
+
id: string;
|
|
8120
|
+
label?: any | null;
|
|
8121
|
+
}>;
|
|
8122
|
+
} | null;
|
|
8123
|
+
}>;
|
|
8124
|
+
} | null;
|
|
8125
|
+
};
|
|
7946
8126
|
export type ExplorerSelectionIdsQueryVariables = Exact<{
|
|
7947
8127
|
libraryId: Scalars['ID']['input'];
|
|
7948
8128
|
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
@@ -8032,6 +8212,21 @@ export type UpdateViewMutation = {
|
|
|
8032
8212
|
}> | null;
|
|
8033
8213
|
};
|
|
8034
8214
|
};
|
|
8215
|
+
export type ValuesOccurrencesQueryVariables = Exact<{
|
|
8216
|
+
libraryId: Scalars['ID']['input'];
|
|
8217
|
+
attributeId: Scalars['ID']['input'];
|
|
8218
|
+
recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
|
|
8219
|
+
}>;
|
|
8220
|
+
export type ValuesOccurrencesQuery = {
|
|
8221
|
+
listDistinctValues?: Array<{
|
|
8222
|
+
count: number;
|
|
8223
|
+
} | {
|
|
8224
|
+
count: number;
|
|
8225
|
+
treeNode?: {
|
|
8226
|
+
id: string;
|
|
8227
|
+
} | null;
|
|
8228
|
+
}> | null;
|
|
8229
|
+
};
|
|
8035
8230
|
export type TreeFiltersDataQueryQueryVariables = Exact<{
|
|
8036
8231
|
treeId: Scalars['ID']['input'];
|
|
8037
8232
|
startAt?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -9467,6 +9662,43 @@ export declare function usePurgeRecordMutation(baseOptions?: Apollo.MutationHook
|
|
|
9467
9662
|
export type PurgeRecordMutationHookResult = ReturnType<typeof usePurgeRecordMutation>;
|
|
9468
9663
|
export type PurgeRecordMutationResult = Apollo.MutationResult<PurgeRecordMutation>;
|
|
9469
9664
|
export type PurgeRecordMutationOptions = Apollo.BaseMutationOptions<PurgeRecordMutation, PurgeRecordMutationVariables>;
|
|
9665
|
+
export declare const GetRecordIdCardDocument: Apollo.DocumentNode;
|
|
9666
|
+
/**
|
|
9667
|
+
* __useGetRecordIdCardQuery__
|
|
9668
|
+
*
|
|
9669
|
+
* To run a query within a React component, call `useGetRecordIdCardQuery` and pass it any options that fit your needs.
|
|
9670
|
+
* When your component renders, `useGetRecordIdCardQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9671
|
+
* you can use to render your UI.
|
|
9672
|
+
*
|
|
9673
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9674
|
+
*
|
|
9675
|
+
* @example
|
|
9676
|
+
* const { data, loading, error } = useGetRecordIdCardQuery({
|
|
9677
|
+
* variables: {
|
|
9678
|
+
* id: // value for 'id'
|
|
9679
|
+
* libraryId: // value for 'libraryId'
|
|
9680
|
+
* },
|
|
9681
|
+
* });
|
|
9682
|
+
*/
|
|
9683
|
+
export declare function useGetRecordIdCardQuery(baseOptions: Apollo.QueryHookOptions<GetRecordIdCardQuery, GetRecordIdCardQueryVariables> & ({
|
|
9684
|
+
variables: GetRecordIdCardQueryVariables;
|
|
9685
|
+
skip?: boolean;
|
|
9686
|
+
} | {
|
|
9687
|
+
skip: boolean;
|
|
9688
|
+
})): Apollo.InteropQueryResult<GetRecordIdCardQuery, Exact<{
|
|
9689
|
+
id?: InputMaybe<Scalars["String"]["input"]>;
|
|
9690
|
+
libraryId: Scalars["ID"]["input"];
|
|
9691
|
+
}>>;
|
|
9692
|
+
export declare function useGetRecordIdCardLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetRecordIdCardQuery, GetRecordIdCardQueryVariables>): Apollo.LazyQueryResultTuple<GetRecordIdCardQuery, Exact<{
|
|
9693
|
+
id?: InputMaybe<Scalars["String"]["input"]>;
|
|
9694
|
+
libraryId: Scalars["ID"]["input"];
|
|
9695
|
+
}>>;
|
|
9696
|
+
export declare function useGetRecordIdCardSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetRecordIdCardQuery, GetRecordIdCardQueryVariables>): Apollo.UseSuspenseQueryResult<GetRecordIdCardQuery, GetRecordIdCardQueryVariables>;
|
|
9697
|
+
export declare function useGetRecordIdCardSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetRecordIdCardQuery, GetRecordIdCardQueryVariables>): Apollo.UseSuspenseQueryResult<GetRecordIdCardQuery | undefined, GetRecordIdCardQueryVariables>;
|
|
9698
|
+
export type GetRecordIdCardQueryHookResult = ReturnType<typeof useGetRecordIdCardQuery>;
|
|
9699
|
+
export type GetRecordIdCardLazyQueryHookResult = ReturnType<typeof useGetRecordIdCardLazyQuery>;
|
|
9700
|
+
export type GetRecordIdCardSuspenseQueryHookResult = ReturnType<typeof useGetRecordIdCardSuspenseQuery>;
|
|
9701
|
+
export type GetRecordIdCardQueryResult = Apollo.QueryResult<GetRecordIdCardQuery, GetRecordIdCardQueryVariables>;
|
|
9470
9702
|
export declare const CancelTaskDocument: Apollo.DocumentNode;
|
|
9471
9703
|
export type CancelTaskMutationFn = Apollo.MutationFunction<CancelTaskMutation, CancelTaskMutationVariables>;
|
|
9472
9704
|
/**
|
|
@@ -10116,46 +10348,6 @@ export type ExplorerLinkAttributeQueryHookResult = ReturnType<typeof useExplorer
|
|
|
10116
10348
|
export type ExplorerLinkAttributeLazyQueryHookResult = ReturnType<typeof useExplorerLinkAttributeLazyQuery>;
|
|
10117
10349
|
export type ExplorerLinkAttributeSuspenseQueryHookResult = ReturnType<typeof useExplorerLinkAttributeSuspenseQuery>;
|
|
10118
10350
|
export type ExplorerLinkAttributeQueryResult = Apollo.QueryResult<ExplorerLinkAttributeQuery, ExplorerLinkAttributeQueryVariables>;
|
|
10119
|
-
export declare const CountValuesOccurrencesDocument: Apollo.DocumentNode;
|
|
10120
|
-
/**
|
|
10121
|
-
* __useCountValuesOccurrencesQuery__
|
|
10122
|
-
*
|
|
10123
|
-
* To run a query within a React component, call `useCountValuesOccurrencesQuery` and pass it any options that fit your needs.
|
|
10124
|
-
* When your component renders, `useCountValuesOccurrencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10125
|
-
* you can use to render your UI.
|
|
10126
|
-
*
|
|
10127
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
10128
|
-
*
|
|
10129
|
-
* @example
|
|
10130
|
-
* const { data, loading, error } = useCountValuesOccurrencesQuery({
|
|
10131
|
-
* variables: {
|
|
10132
|
-
* library: // value for 'library'
|
|
10133
|
-
* attribute: // value for 'attribute'
|
|
10134
|
-
* recordFilters: // value for 'recordFilters'
|
|
10135
|
-
* },
|
|
10136
|
-
* });
|
|
10137
|
-
*/
|
|
10138
|
-
export declare function useCountValuesOccurrencesQuery(baseOptions: Apollo.QueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables> & ({
|
|
10139
|
-
variables: CountValuesOccurrencesQueryVariables;
|
|
10140
|
-
skip?: boolean;
|
|
10141
|
-
} | {
|
|
10142
|
-
skip: boolean;
|
|
10143
|
-
})): Apollo.InteropQueryResult<CountValuesOccurrencesQuery, Exact<{
|
|
10144
|
-
library: Scalars["ID"]["input"];
|
|
10145
|
-
attribute: Scalars["ID"]["input"];
|
|
10146
|
-
recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
10147
|
-
}>>;
|
|
10148
|
-
export declare function useCountValuesOccurrencesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>): Apollo.LazyQueryResultTuple<CountValuesOccurrencesQuery, Exact<{
|
|
10149
|
-
library: Scalars["ID"]["input"];
|
|
10150
|
-
attribute: Scalars["ID"]["input"];
|
|
10151
|
-
recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
10152
|
-
}>>;
|
|
10153
|
-
export declare function useCountValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>;
|
|
10154
|
-
export declare function useCountValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<CountValuesOccurrencesQuery | undefined, CountValuesOccurrencesQueryVariables>;
|
|
10155
|
-
export type CountValuesOccurrencesQueryHookResult = ReturnType<typeof useCountValuesOccurrencesQuery>;
|
|
10156
|
-
export type CountValuesOccurrencesLazyQueryHookResult = ReturnType<typeof useCountValuesOccurrencesLazyQuery>;
|
|
10157
|
-
export type CountValuesOccurrencesSuspenseQueryHookResult = ReturnType<typeof useCountValuesOccurrencesSuspenseQuery>;
|
|
10158
|
-
export type CountValuesOccurrencesQueryResult = Apollo.QueryResult<CountValuesOccurrencesQuery, CountValuesOccurrencesQueryVariables>;
|
|
10159
10351
|
export declare const ExplorerLibraryCountDataDocument: Apollo.DocumentNode;
|
|
10160
10352
|
/**
|
|
10161
10353
|
* __useExplorerLibraryCountDataQuery__
|
|
@@ -10382,6 +10574,40 @@ export type LibraryExportProfilesQueryHookResult = ReturnType<typeof useLibraryE
|
|
|
10382
10574
|
export type LibraryExportProfilesLazyQueryHookResult = ReturnType<typeof useLibraryExportProfilesLazyQuery>;
|
|
10383
10575
|
export type LibraryExportProfilesSuspenseQueryHookResult = ReturnType<typeof useLibraryExportProfilesSuspenseQuery>;
|
|
10384
10576
|
export type LibraryExportProfilesQueryResult = Apollo.QueryResult<LibraryExportProfilesQuery, LibraryExportProfilesQueryVariables>;
|
|
10577
|
+
export declare const MassEditableAttributesDocument: Apollo.DocumentNode;
|
|
10578
|
+
/**
|
|
10579
|
+
* __useMassEditableAttributesQuery__
|
|
10580
|
+
*
|
|
10581
|
+
* To run a query within a React component, call `useMassEditableAttributesQuery` and pass it any options that fit your needs.
|
|
10582
|
+
* When your component renders, `useMassEditableAttributesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10583
|
+
* you can use to render your UI.
|
|
10584
|
+
*
|
|
10585
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
10586
|
+
*
|
|
10587
|
+
* @example
|
|
10588
|
+
* const { data, loading, error } = useMassEditableAttributesQuery({
|
|
10589
|
+
* variables: {
|
|
10590
|
+
* libraryId: // value for 'libraryId'
|
|
10591
|
+
* },
|
|
10592
|
+
* });
|
|
10593
|
+
*/
|
|
10594
|
+
export declare function useMassEditableAttributesQuery(baseOptions: Apollo.QueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables> & ({
|
|
10595
|
+
variables: MassEditableAttributesQueryVariables;
|
|
10596
|
+
skip?: boolean;
|
|
10597
|
+
} | {
|
|
10598
|
+
skip: boolean;
|
|
10599
|
+
})): Apollo.InteropQueryResult<MassEditableAttributesQuery, Exact<{
|
|
10600
|
+
libraryId: Scalars["String"]["input"];
|
|
10601
|
+
}>>;
|
|
10602
|
+
export declare function useMassEditableAttributesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>): Apollo.LazyQueryResultTuple<MassEditableAttributesQuery, Exact<{
|
|
10603
|
+
libraryId: Scalars["String"]["input"];
|
|
10604
|
+
}>>;
|
|
10605
|
+
export declare function useMassEditableAttributesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>): Apollo.UseSuspenseQueryResult<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>;
|
|
10606
|
+
export declare function useMassEditableAttributesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>): Apollo.UseSuspenseQueryResult<MassEditableAttributesQuery | undefined, MassEditableAttributesQueryVariables>;
|
|
10607
|
+
export type MassEditableAttributesQueryHookResult = ReturnType<typeof useMassEditableAttributesQuery>;
|
|
10608
|
+
export type MassEditableAttributesLazyQueryHookResult = ReturnType<typeof useMassEditableAttributesLazyQuery>;
|
|
10609
|
+
export type MassEditableAttributesSuspenseQueryHookResult = ReturnType<typeof useMassEditableAttributesSuspenseQuery>;
|
|
10610
|
+
export type MassEditableAttributesQueryResult = Apollo.QueryResult<MassEditableAttributesQuery, MassEditableAttributesQueryVariables>;
|
|
10385
10611
|
export declare const ExplorerSelectionIdsDocument: Apollo.DocumentNode;
|
|
10386
10612
|
/**
|
|
10387
10613
|
* __useExplorerSelectionIdsQuery__
|
|
@@ -10472,6 +10698,46 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
|
|
|
10472
10698
|
export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
|
|
10473
10699
|
export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
|
|
10474
10700
|
export type UpdateViewMutationOptions = Apollo.BaseMutationOptions<UpdateViewMutation, UpdateViewMutationVariables>;
|
|
10701
|
+
export declare const ValuesOccurrencesDocument: Apollo.DocumentNode;
|
|
10702
|
+
/**
|
|
10703
|
+
* __useValuesOccurrencesQuery__
|
|
10704
|
+
*
|
|
10705
|
+
* To run a query within a React component, call `useValuesOccurrencesQuery` and pass it any options that fit your needs.
|
|
10706
|
+
* When your component renders, `useValuesOccurrencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
10707
|
+
* you can use to render your UI.
|
|
10708
|
+
*
|
|
10709
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
10710
|
+
*
|
|
10711
|
+
* @example
|
|
10712
|
+
* const { data, loading, error } = useValuesOccurrencesQuery({
|
|
10713
|
+
* variables: {
|
|
10714
|
+
* libraryId: // value for 'libraryId'
|
|
10715
|
+
* attributeId: // value for 'attributeId'
|
|
10716
|
+
* recordFilters: // value for 'recordFilters'
|
|
10717
|
+
* },
|
|
10718
|
+
* });
|
|
10719
|
+
*/
|
|
10720
|
+
export declare function useValuesOccurrencesQuery(baseOptions: Apollo.QueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables> & ({
|
|
10721
|
+
variables: ValuesOccurrencesQueryVariables;
|
|
10722
|
+
skip?: boolean;
|
|
10723
|
+
} | {
|
|
10724
|
+
skip: boolean;
|
|
10725
|
+
})): Apollo.InteropQueryResult<ValuesOccurrencesQuery, Exact<{
|
|
10726
|
+
libraryId: Scalars["ID"]["input"];
|
|
10727
|
+
attributeId: Scalars["ID"]["input"];
|
|
10728
|
+
recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
|
|
10729
|
+
}>>;
|
|
10730
|
+
export declare function useValuesOccurrencesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.LazyQueryResultTuple<ValuesOccurrencesQuery, Exact<{
|
|
10731
|
+
libraryId: Scalars["ID"]["input"];
|
|
10732
|
+
attributeId: Scalars["ID"]["input"];
|
|
10733
|
+
recordFilters: Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>;
|
|
10734
|
+
}>>;
|
|
10735
|
+
export declare function useValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>;
|
|
10736
|
+
export declare function useValuesOccurrencesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>): Apollo.UseSuspenseQueryResult<ValuesOccurrencesQuery | undefined, ValuesOccurrencesQueryVariables>;
|
|
10737
|
+
export type ValuesOccurrencesQueryHookResult = ReturnType<typeof useValuesOccurrencesQuery>;
|
|
10738
|
+
export type ValuesOccurrencesLazyQueryHookResult = ReturnType<typeof useValuesOccurrencesLazyQuery>;
|
|
10739
|
+
export type ValuesOccurrencesSuspenseQueryHookResult = ReturnType<typeof useValuesOccurrencesSuspenseQuery>;
|
|
10740
|
+
export type ValuesOccurrencesQueryResult = Apollo.QueryResult<ValuesOccurrencesQuery, ValuesOccurrencesQueryVariables>;
|
|
10475
10741
|
export declare const TreeFiltersDataQueryDocument: Apollo.DocumentNode;
|
|
10476
10742
|
/**
|
|
10477
10743
|
* __useTreeFiltersDataQueryQuery__
|