@leav/ui 1.9.0-3dd39b32 → 1.9.0-9cfff839

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.
@@ -685,6 +685,50 @@ export type RecordsPagination = {
685
685
  limit: Scalars['Int']['input'];
686
686
  offset?: InputMaybe<Scalars['Int']['input']>;
687
687
  };
688
+ export type ReportFramingAttributeFilterItemInput = {
689
+ attributeId: Scalars['String']['input'];
690
+ values: Array<ReportFramingAttributeFilterValueItemInput>;
691
+ withEmptyValues?: InputMaybe<Scalars['Boolean']['input']>;
692
+ };
693
+ export type ReportFramingAttributeFilterValueItemInput = {
694
+ formattedValue?: InputMaybe<Scalars['String']['input']>;
695
+ rawValue: Scalars['String']['input'];
696
+ };
697
+ export type ReportFramingCampaignInput = {
698
+ computedFraming?: InputMaybe<Array<ReportFramingItemInput>>;
699
+ framing?: InputMaybe<Array<ReportFramingItemInput>>;
700
+ id: Scalars['String']['input'];
701
+ label?: InputMaybe<Scalars['String']['input']>;
702
+ thematics: Array<ReportFramingThematicInput>;
703
+ };
704
+ export type ReportFramingCategoryInput = {
705
+ categoryId: Scalars['String']['input'];
706
+ children: Array<ReportFramingCategoryInput>;
707
+ computedFraming?: InputMaybe<Array<ReportFramingItemInput>>;
708
+ framing?: InputMaybe<Array<ReportFramingItemInput>>;
709
+ id?: InputMaybe<Scalars['String']['input']>;
710
+ label?: InputMaybe<Scalars['String']['input']>;
711
+ };
712
+ export type ReportFramingContentInput = {
713
+ campaigns: Array<ReportFramingCampaignInput>;
714
+ filters?: InputMaybe<ReportFramingFiltersInput>;
715
+ };
716
+ export type ReportFramingFiltersInput = {
717
+ attributes?: InputMaybe<Array<ReportFramingAttributeFilterItemInput>>;
718
+ search?: InputMaybe<Scalars['String']['input']>;
719
+ };
720
+ export type ReportFramingItemInput = {
721
+ columnId: Scalars['String']['input'];
722
+ referenceValue?: InputMaybe<Scalars['Int']['input']>;
723
+ value?: InputMaybe<Scalars['Int']['input']>;
724
+ };
725
+ export type ReportFramingThematicInput = {
726
+ categories: Array<ReportFramingCategoryInput>;
727
+ computedFraming?: InputMaybe<Array<ReportFramingItemInput>>;
728
+ framing?: InputMaybe<Array<ReportFramingItemInput>>;
729
+ id: Scalars['String']['input'];
730
+ label?: InputMaybe<Scalars['String']['input']>;
731
+ };
688
732
  export type SheetInput = {
689
733
  keyIndex?: InputMaybe<Scalars['Int']['input']>;
690
734
  keyToIndex?: InputMaybe<Scalars['Int']['input']>;
@@ -748,9 +792,11 @@ export declare enum TaskStatus {
748
792
  }
749
793
  export declare enum TaskType {
750
794
  EXPORT = "EXPORT",
795
+ FRAMING_REPORT = "FRAMING_REPORT",
751
796
  IMPORT_CONFIG = "IMPORT_CONFIG",
752
797
  IMPORT_DATA = "IMPORT_DATA",
753
798
  INDEXATION = "INDEXATION",
799
+ PURGE_MULTIPLE_VALUES = "PURGE_MULTIPLE_VALUES",
754
800
  SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
755
801
  }
756
802
  export declare enum TreeBehavior {
@@ -7696,15 +7742,14 @@ export type CountValuesOccurrencesQueryVariables = Exact<{
7696
7742
  recordFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7697
7743
  }>;
7698
7744
  export type CountValuesOccurrencesQuery = {
7699
- countValuesOccurrences?: {
7700
- noValueCount: number;
7701
- occurrences: Array<{
7702
- count: number;
7703
- value: {
7704
- id: string;
7705
- };
7706
- }>;
7707
- } | null;
7745
+ listDistinctValues?: Array<{
7746
+ count: number;
7747
+ } | {
7748
+ count: number;
7749
+ treeNode?: {
7750
+ id: string;
7751
+ } | null;
7752
+ }> | null;
7708
7753
  };
7709
7754
  export type ExplorerLibraryDataQueryVariables = Exact<{
7710
7755
  libraryId: Scalars['ID']['input'];
@@ -307,9 +307,11 @@ export var TaskStatus;
307
307
  export var TaskType;
308
308
  (function (TaskType) {
309
309
  TaskType["EXPORT"] = "EXPORT";
310
+ TaskType["FRAMING_REPORT"] = "FRAMING_REPORT";
310
311
  TaskType["IMPORT_CONFIG"] = "IMPORT_CONFIG";
311
312
  TaskType["IMPORT_DATA"] = "IMPORT_DATA";
312
313
  TaskType["INDEXATION"] = "INDEXATION";
314
+ TaskType["PURGE_MULTIPLE_VALUES"] = "PURGE_MULTIPLE_VALUES";
313
315
  TaskType["SAVE_VALUE_BULK"] = "SAVE_VALUE_BULK";
314
316
  })(TaskType || (TaskType = {}));
315
317
  export var TreeBehavior;
@@ -3578,19 +3580,16 @@ export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
3578
3580
  }
3579
3581
  export const CountValuesOccurrencesDocument = gql `
3580
3582
  query CountValuesOccurrences($library: ID!, $attribute: ID!, $recordFilters: [RecordFilterInput]) {
3581
- countValuesOccurrences(
3583
+ listDistinctValues(
3582
3584
  library: $library
3583
3585
  attribute: $attribute
3584
3586
  recordFilters: $recordFilters
3585
3587
  ) {
3586
- noValueCount
3587
- occurrences {
3588
- ... on TreeValueOccurrences {
3589
- value {
3590
- id
3591
- }
3588
+ count
3589
+ ... on TreeDistinctValues {
3590
+ treeNode: value {
3591
+ id
3592
3592
  }
3593
- count
3594
3593
  }
3595
3594
  }
3596
3595
  }