@wix/categories 1.0.19 → 1.0.20

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.
Files changed (31) hide show
  1. package/build/cjs/src/categories-v1-category.http.d.ts +1 -3
  2. package/build/cjs/src/categories-v1-category.http.js +32 -54
  3. package/build/cjs/src/categories-v1-category.http.js.map +1 -1
  4. package/build/cjs/src/categories-v1-category.meta.d.ts +0 -1
  5. package/build/cjs/src/categories-v1-category.meta.js +1 -20
  6. package/build/cjs/src/categories-v1-category.meta.js.map +1 -1
  7. package/build/cjs/src/categories-v1-category.public.d.ts +3 -4
  8. package/build/cjs/src/categories-v1-category.public.js +4 -8
  9. package/build/cjs/src/categories-v1-category.public.js.map +1 -1
  10. package/build/cjs/src/categories-v1-category.types.d.ts +164 -538
  11. package/build/cjs/src/categories-v1-category.types.js +22 -1
  12. package/build/cjs/src/categories-v1-category.types.js.map +1 -1
  13. package/build/cjs/src/categories-v1-category.universal.d.ts +339 -789
  14. package/build/cjs/src/categories-v1-category.universal.js +23 -64
  15. package/build/cjs/src/categories-v1-category.universal.js.map +1 -1
  16. package/build/es/src/categories-v1-category.http.d.ts +1 -3
  17. package/build/es/src/categories-v1-category.http.js +31 -52
  18. package/build/es/src/categories-v1-category.http.js.map +1 -1
  19. package/build/es/src/categories-v1-category.meta.d.ts +0 -1
  20. package/build/es/src/categories-v1-category.meta.js +0 -18
  21. package/build/es/src/categories-v1-category.meta.js.map +1 -1
  22. package/build/es/src/categories-v1-category.public.d.ts +3 -4
  23. package/build/es/src/categories-v1-category.public.js +2 -7
  24. package/build/es/src/categories-v1-category.public.js.map +1 -1
  25. package/build/es/src/categories-v1-category.types.d.ts +164 -538
  26. package/build/es/src/categories-v1-category.types.js +21 -0
  27. package/build/es/src/categories-v1-category.types.js.map +1 -1
  28. package/build/es/src/categories-v1-category.universal.d.ts +339 -789
  29. package/build/es/src/categories-v1-category.universal.js +22 -62
  30. package/build/es/src/categories-v1-category.universal.js.map +1 -1
  31. package/package.json +2 -2
@@ -1477,7 +1477,7 @@ export interface QueryCategoriesRequest {
1477
1477
  * A reference to the tree that contains this category.
1478
1478
  * Used only in the first request. Following requests use the cursor token.
1479
1479
  */
1480
- treeReference: TreeReference;
1480
+ treeReference?: TreeReference;
1481
1481
  /**
1482
1482
  * Whether hidden categories should be included in the response. Default is `false`.
1483
1483
  * Used only in the first request. Following requests use the cursor token.
@@ -1555,6 +1555,22 @@ export interface Cursors {
1555
1555
  /** Cursor pointing to previous page in the list of results. */
1556
1556
  prev?: string | null;
1557
1557
  }
1558
+ export interface ListCompactCategoriesByIdsRequest {
1559
+ /** List of category ids. */
1560
+ categoryIds?: string[];
1561
+ /** A reference to the tree that contains the categories. */
1562
+ treeReference?: TreeReference;
1563
+ }
1564
+ export interface ListCompactCategoriesByIdsResponse {
1565
+ /** Categories which satisfy the provided ids. */
1566
+ categories?: CompactCategory[];
1567
+ }
1568
+ export interface CompactCategory {
1569
+ /** Category ID. */
1570
+ id?: string | null;
1571
+ /** Category name. */
1572
+ name?: string | null;
1573
+ }
1558
1574
  export interface SearchCategoriesRequest {
1559
1575
  /** WQL query expression. */
1560
1576
  search?: CursorSearch;
@@ -1592,6 +1608,8 @@ export interface Aggregation extends AggregationKindOneOf {
1592
1608
  value?: ValueAggregation;
1593
1609
  range?: RangeAggregation;
1594
1610
  scalar?: ScalarAggregation;
1611
+ dateHistogram?: DateHistogramAggregation;
1612
+ nested?: NestedAggregation;
1595
1613
  name?: string | null;
1596
1614
  type?: AggregationType;
1597
1615
  fieldPath?: string;
@@ -1602,6 +1620,8 @@ export interface AggregationKindOneOf {
1602
1620
  value?: ValueAggregation;
1603
1621
  range?: RangeAggregation;
1604
1622
  scalar?: ScalarAggregation;
1623
+ dateHistogram?: DateHistogramAggregation;
1624
+ nested?: NestedAggregation;
1605
1625
  }
1606
1626
  export interface RangeBucket {
1607
1627
  /** Inclusive lower bound of the range. Required if to is not given. */
@@ -1648,11 +1668,12 @@ export interface ValueAggregationOptionsOneOf {
1648
1668
  /** options for including missing values */
1649
1669
  includeOptions?: IncludeMissingValuesOptions;
1650
1670
  }
1651
- export declare enum AggregationType {
1671
+ export declare enum NestedAggregationType {
1652
1672
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
1653
1673
  VALUE = "VALUE",
1654
1674
  RANGE = "RANGE",
1655
- SCALAR = "SCALAR"
1675
+ SCALAR = "SCALAR",
1676
+ DATE_HISTOGRAM = "DATE_HISTOGRAM"
1656
1677
  }
1657
1678
  export interface RangeAggregation {
1658
1679
  buckets?: RangeBucket[];
@@ -1660,6 +1681,47 @@ export interface RangeAggregation {
1660
1681
  export interface ScalarAggregation {
1661
1682
  type?: ScalarType;
1662
1683
  }
1684
+ export interface DateHistogramAggregation {
1685
+ interval?: Interval;
1686
+ }
1687
+ export declare enum Interval {
1688
+ UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
1689
+ YEAR = "YEAR",
1690
+ MONTH = "MONTH",
1691
+ WEEK = "WEEK",
1692
+ DAY = "DAY",
1693
+ HOUR = "HOUR",
1694
+ MINUTE = "MINUTE",
1695
+ SECOND = "SECOND"
1696
+ }
1697
+ export interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
1698
+ value?: ValueAggregation;
1699
+ range?: RangeAggregation;
1700
+ scalar?: ScalarAggregation;
1701
+ dateHistogram?: DateHistogramAggregation;
1702
+ name?: string | null;
1703
+ type?: NestedAggregationType;
1704
+ fieldPath?: string;
1705
+ }
1706
+ /** @oneof */
1707
+ export interface NestedAggregationItemKindOneOf {
1708
+ value?: ValueAggregation;
1709
+ range?: RangeAggregation;
1710
+ scalar?: ScalarAggregation;
1711
+ dateHistogram?: DateHistogramAggregation;
1712
+ }
1713
+ export declare enum AggregationType {
1714
+ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
1715
+ VALUE = "VALUE",
1716
+ RANGE = "RANGE",
1717
+ SCALAR = "SCALAR",
1718
+ DATE_HISTOGRAM = "DATE_HISTOGRAM",
1719
+ NESTED = "NESTED"
1720
+ }
1721
+ /** nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
1722
+ export interface NestedAggregation {
1723
+ nestedAggregations?: NestedAggregationItem[];
1724
+ }
1663
1725
  export interface GroupByAggregation extends GroupByAggregationKindOneOf {
1664
1726
  value?: ValueAggregation;
1665
1727
  name?: string | null;
@@ -1746,14 +1808,58 @@ export interface NestedValueAggregationResult {
1746
1808
  value?: string;
1747
1809
  nestedResults?: NestedAggregationResults;
1748
1810
  }
1811
+ export interface ValueResult {
1812
+ value?: string;
1813
+ count?: number | null;
1814
+ }
1815
+ export interface RangeResult {
1816
+ from?: number | null;
1817
+ to?: number | null;
1818
+ count?: number | null;
1819
+ }
1820
+ export interface NestedResultsScalarResult {
1821
+ value?: number;
1822
+ }
1823
+ export interface NestedResultValue extends NestedResultValueResultOneOf {
1824
+ value?: ValueResult;
1825
+ range?: RangeResult;
1826
+ scalar?: NestedResultsScalarResult;
1827
+ dateHistogram?: ValueResult;
1828
+ }
1829
+ /** @oneof */
1830
+ export interface NestedResultValueResultOneOf {
1831
+ value?: ValueResult;
1832
+ range?: RangeResult;
1833
+ scalar?: NestedResultsScalarResult;
1834
+ dateHistogram?: ValueResult;
1835
+ }
1836
+ export interface Results {
1837
+ results?: Record<string, NestedResultValue>;
1838
+ }
1839
+ export interface DateHistogramResult {
1840
+ value?: string;
1841
+ count?: number;
1842
+ }
1749
1843
  export interface GroupByValueResults {
1750
1844
  results?: NestedValueAggregationResult[];
1751
1845
  }
1846
+ export interface DateHistogramResults {
1847
+ results?: DateHistogramResult[];
1848
+ }
1849
+ /**
1850
+ * results of `NESTED` aggregation type in a flattened form
1851
+ * aggregations in resulting array are keyed by requested aggregation `name`.
1852
+ */
1853
+ export interface NestedResults {
1854
+ results?: Results[];
1855
+ }
1752
1856
  export interface AggregationResults extends AggregationResultsResultOneOf {
1753
1857
  values?: ValueResults;
1754
1858
  ranges?: RangeResults;
1755
1859
  scalar?: ScalarResult;
1756
1860
  groupedByValue?: GroupByValueResults;
1861
+ dateHistogram?: DateHistogramResults;
1862
+ nested?: NestedResults;
1757
1863
  name?: string;
1758
1864
  type?: AggregationType;
1759
1865
  fieldPath?: string;
@@ -1764,6 +1870,8 @@ export interface AggregationResultsResultOneOf {
1764
1870
  ranges?: RangeResults;
1765
1871
  scalar?: ScalarResult;
1766
1872
  groupedByValue?: GroupByValueResults;
1873
+ dateHistogram?: DateHistogramResults;
1874
+ nested?: NestedResults;
1767
1875
  }
1768
1876
  export interface DeprecatedSearchCategoriesWithOffsetRequest {
1769
1877
  /** WQL query expression. */
@@ -3809,7 +3917,7 @@ export interface UpdateCategoryResponseNonNullableFields {
3809
3917
  };
3810
3918
  };
3811
3919
  }
3812
- export interface QueryCategoriesResponseNonNullableFields {
3920
+ export interface SearchCategoriesResponseNonNullableFields {
3813
3921
  categories: {
3814
3922
  image?: {
3815
3923
  id: string;
@@ -4101,7 +4209,7 @@ export interface QueryCategoriesResponseNonNullableFields {
4101
4209
  };
4102
4210
  type: NodeType;
4103
4211
  id: string;
4104
- nodes: NonNullable<NonNullable<NonNullable<QueryCategoriesResponseNonNullableFields>['categories'][0]>['richContentDescription']>['nodes'][];
4212
+ nodes: NonNullable<NonNullable<NonNullable<SearchCategoriesResponseNonNullableFields>['categories'][0]>['richContentDescription']>['nodes'][];
4105
4213
  }[];
4106
4214
  metadata?: {
4107
4215
  version: number;
@@ -4311,548 +4419,66 @@ export interface QueryCategoriesResponseNonNullableFields {
4311
4419
  appNamespace: string;
4312
4420
  };
4313
4421
  }[];
4314
- }
4315
- export interface SearchCategoriesResponseNonNullableFields {
4316
- categories: {
4317
- image?: {
4318
- id: string;
4319
- url: string;
4320
- height: number;
4321
- width: number;
4322
- };
4323
- numberOfItems: number;
4324
- totalNumberOfItems: number;
4325
- breadcrumbs?: {
4326
- values: {
4327
- categoryId: string;
4328
- categoryName: string;
4329
- categorySlug: string;
4330
- }[];
4331
- };
4332
- seoData?: {
4333
- tags: {
4334
- type: string;
4335
- children: string;
4336
- custom: boolean;
4337
- disabled: boolean;
4338
- }[];
4339
- settings?: {
4340
- preventAutoRedirect: boolean;
4341
- keywords: {
4342
- term: string;
4343
- isMain: boolean;
4422
+ aggregationData?: {
4423
+ results: {
4424
+ values?: {
4425
+ results: {
4426
+ value: string;
4427
+ count: number;
4344
4428
  }[];
4345
4429
  };
4346
- };
4347
- richContentDescription?: {
4348
- nodes: {
4349
- buttonData?: {
4350
- containerData?: {
4351
- width?: {
4352
- size: WidthType;
4353
- };
4354
- alignment: PluginContainerDataAlignment;
4355
- };
4356
- type: Type;
4357
- link?: {
4358
- url: string;
4359
- anchor: string;
4360
- target: Target;
4361
- };
4362
- };
4363
- codeBlockData?: {
4364
- textStyle?: {
4365
- textAlignment: TextAlignment;
4366
- };
4367
- };
4368
- dividerData?: {
4369
- containerData?: {
4370
- width?: {
4371
- size: WidthType;
4372
- };
4373
- alignment: PluginContainerDataAlignment;
4374
- };
4375
- lineStyle: LineStyle;
4376
- width: Width;
4377
- alignment: Alignment;
4378
- };
4379
- fileData?: {
4380
- containerData?: {
4381
- width?: {
4382
- size: WidthType;
4383
- };
4384
- alignment: PluginContainerDataAlignment;
4385
- };
4386
- pdfSettings?: {
4387
- viewMode: ViewMode;
4388
- };
4389
- };
4390
- galleryData?: {
4391
- containerData?: {
4392
- width?: {
4393
- size: WidthType;
4394
- };
4395
- alignment: PluginContainerDataAlignment;
4396
- };
4397
- items: {
4398
- image?: {
4399
- link?: {
4400
- url: string;
4401
- anchor: string;
4402
- target: Target;
4403
- };
4404
- };
4405
- }[];
4406
- options?: {
4407
- layout?: {
4408
- type: LayoutType;
4409
- orientation: Orientation;
4410
- };
4411
- item?: {
4412
- crop: Crop;
4413
- };
4414
- thumbnails?: {
4415
- placement: ThumbnailsAlignment;
4430
+ ranges?: {
4431
+ results: {
4432
+ count: number;
4433
+ }[];
4434
+ };
4435
+ scalar?: {
4436
+ type: ScalarType;
4437
+ value: number;
4438
+ };
4439
+ groupedByValue?: {
4440
+ results: {
4441
+ value: string;
4442
+ nestedResults?: {
4443
+ values?: {
4444
+ results: {
4445
+ value: string;
4446
+ count: number;
4447
+ }[];
4416
4448
  };
4417
- };
4418
- };
4419
- gifData?: {
4420
- containerData?: {
4421
- width?: {
4422
- size: WidthType;
4449
+ ranges?: {
4450
+ results: {
4451
+ count: number;
4452
+ }[];
4423
4453
  };
4424
- alignment: PluginContainerDataAlignment;
4425
- };
4426
- height: number;
4427
- width: number;
4428
- };
4429
- headingData?: {
4430
- level: number;
4431
- textStyle?: {
4432
- textAlignment: TextAlignment;
4433
- };
4434
- };
4435
- htmlData?: {
4436
- url: string;
4437
- html: string;
4438
- containerData?: {
4439
- width?: {
4440
- size: WidthType;
4454
+ scalar?: {
4455
+ type: ScalarType;
4456
+ value: number;
4441
4457
  };
4442
- alignment: PluginContainerDataAlignment;
4458
+ name: string;
4459
+ type: AggregationType;
4460
+ fieldPath: string;
4443
4461
  };
4444
- source: Source;
4445
- };
4446
- imageData?: {
4447
- containerData?: {
4448
- width?: {
4449
- size: WidthType;
4462
+ }[];
4463
+ };
4464
+ dateHistogram?: {
4465
+ results: {
4466
+ value: string;
4467
+ count: number;
4468
+ }[];
4469
+ };
4470
+ nested?: {
4471
+ results: {
4472
+ results?: {
4473
+ value?: {
4474
+ value: string;
4450
4475
  };
4451
- alignment: PluginContainerDataAlignment;
4452
- };
4453
- link?: {
4454
- url: string;
4455
- anchor: string;
4456
- target: Target;
4457
- };
4458
- };
4459
- linkPreviewData?: {
4460
- containerData?: {
4461
- width?: {
4462
- size: WidthType;
4476
+ scalar?: {
4477
+ value: number;
4463
4478
  };
4464
- alignment: PluginContainerDataAlignment;
4465
- };
4466
- link?: {
4467
- url: string;
4468
- anchor: string;
4469
- target: Target;
4470
- };
4471
- };
4472
- mapData?: {
4473
- containerData?: {
4474
- width?: {
4475
- size: WidthType;
4479
+ dateHistogram?: {
4480
+ value: string;
4476
4481
  };
4477
- alignment: PluginContainerDataAlignment;
4478
- };
4479
- mapSettings?: {
4480
- mapType: MapType;
4481
- };
4482
- };
4483
- paragraphData?: {
4484
- textStyle?: {
4485
- textAlignment: TextAlignment;
4486
- };
4487
- };
4488
- pollData?: {
4489
- containerData?: {
4490
- width?: {
4491
- size: WidthType;
4492
- };
4493
- alignment: PluginContainerDataAlignment;
4494
- };
4495
- poll?: {
4496
- options: Option[];
4497
- settings?: {
4498
- permissions?: {
4499
- view: ViewRole;
4500
- vote: VoteRole;
4501
- };
4502
- };
4503
- };
4504
- layout?: {
4505
- poll?: {
4506
- type: PollLayoutType;
4507
- direction: PollLayoutDirection;
4508
- };
4509
- };
4510
- design?: {
4511
- poll?: {
4512
- background?: {
4513
- type: BackgroundType;
4514
- };
4515
- };
4516
- };
4517
- };
4518
- textData?: {
4519
- text: string;
4520
- decorations: {
4521
- anchorData?: {
4522
- anchor: string;
4523
- };
4524
- linkData?: {
4525
- link?: {
4526
- url: string;
4527
- anchor: string;
4528
- target: Target;
4529
- };
4530
- };
4531
- mentionData?: {
4532
- name: string;
4533
- slug: string;
4534
- };
4535
- fontSizeData?: {
4536
- unit: FontType;
4537
- };
4538
- type: DecorationType;
4539
- }[];
4540
- };
4541
- appEmbedData?: {
4542
- type: AppType;
4543
- };
4544
- videoData?: {
4545
- containerData?: {
4546
- width?: {
4547
- size: WidthType;
4548
- };
4549
- alignment: PluginContainerDataAlignment;
4550
- };
4551
- };
4552
- embedData?: {
4553
- containerData?: {
4554
- width?: {
4555
- size: WidthType;
4556
- };
4557
- alignment: PluginContainerDataAlignment;
4558
- };
4559
- };
4560
- collapsibleListData?: {
4561
- containerData?: {
4562
- width?: {
4563
- size: WidthType;
4564
- };
4565
- alignment: PluginContainerDataAlignment;
4566
- };
4567
- initialExpandedItems: InitialExpandedItems;
4568
- direction: Direction;
4569
- };
4570
- tableData?: {
4571
- containerData?: {
4572
- width?: {
4573
- size: WidthType;
4574
- };
4575
- alignment: PluginContainerDataAlignment;
4576
- };
4577
- dimensions?: {
4578
- colsWidthRatio: number[];
4579
- rowsHeight: number[];
4580
- colsMinWidth: number[];
4581
- };
4582
- };
4583
- tableCellData?: {
4584
- cellStyle?: {
4585
- verticalAlignment: VerticalAlignment;
4586
- };
4587
- };
4588
- audioData?: {
4589
- containerData?: {
4590
- width?: {
4591
- size: WidthType;
4592
- };
4593
- alignment: PluginContainerDataAlignment;
4594
- };
4595
- };
4596
- orderedListData?: {
4597
- indentation: number;
4598
- };
4599
- bulletedListData?: {
4600
- indentation: number;
4601
- };
4602
- blockquoteData?: {
4603
- indentation: number;
4604
- };
4605
- type: NodeType;
4606
- id: string;
4607
- nodes: NonNullable<NonNullable<NonNullable<SearchCategoriesResponseNonNullableFields>['categories'][0]>['richContentDescription']>['nodes'][];
4608
- }[];
4609
- metadata?: {
4610
- version: number;
4611
- };
4612
- documentStyle?: {
4613
- headerOne?: {
4614
- decorations: {
4615
- anchorData?: {
4616
- anchor: string;
4617
- };
4618
- linkData?: {
4619
- link?: {
4620
- url: string;
4621
- anchor: string;
4622
- target: Target;
4623
- };
4624
- };
4625
- mentionData?: {
4626
- name: string;
4627
- slug: string;
4628
- };
4629
- fontSizeData?: {
4630
- unit: FontType;
4631
- };
4632
- type: DecorationType;
4633
- }[];
4634
- };
4635
- headerTwo?: {
4636
- decorations: {
4637
- anchorData?: {
4638
- anchor: string;
4639
- };
4640
- linkData?: {
4641
- link?: {
4642
- url: string;
4643
- anchor: string;
4644
- target: Target;
4645
- };
4646
- };
4647
- mentionData?: {
4648
- name: string;
4649
- slug: string;
4650
- };
4651
- fontSizeData?: {
4652
- unit: FontType;
4653
- };
4654
- type: DecorationType;
4655
- }[];
4656
- };
4657
- headerThree?: {
4658
- decorations: {
4659
- anchorData?: {
4660
- anchor: string;
4661
- };
4662
- linkData?: {
4663
- link?: {
4664
- url: string;
4665
- anchor: string;
4666
- target: Target;
4667
- };
4668
- };
4669
- mentionData?: {
4670
- name: string;
4671
- slug: string;
4672
- };
4673
- fontSizeData?: {
4674
- unit: FontType;
4675
- };
4676
- type: DecorationType;
4677
- }[];
4678
- };
4679
- headerFour?: {
4680
- decorations: {
4681
- anchorData?: {
4682
- anchor: string;
4683
- };
4684
- linkData?: {
4685
- link?: {
4686
- url: string;
4687
- anchor: string;
4688
- target: Target;
4689
- };
4690
- };
4691
- mentionData?: {
4692
- name: string;
4693
- slug: string;
4694
- };
4695
- fontSizeData?: {
4696
- unit: FontType;
4697
- };
4698
- type: DecorationType;
4699
- }[];
4700
- };
4701
- headerFive?: {
4702
- decorations: {
4703
- anchorData?: {
4704
- anchor: string;
4705
- };
4706
- linkData?: {
4707
- link?: {
4708
- url: string;
4709
- anchor: string;
4710
- target: Target;
4711
- };
4712
- };
4713
- mentionData?: {
4714
- name: string;
4715
- slug: string;
4716
- };
4717
- fontSizeData?: {
4718
- unit: FontType;
4719
- };
4720
- type: DecorationType;
4721
- }[];
4722
- };
4723
- headerSix?: {
4724
- decorations: {
4725
- anchorData?: {
4726
- anchor: string;
4727
- };
4728
- linkData?: {
4729
- link?: {
4730
- url: string;
4731
- anchor: string;
4732
- target: Target;
4733
- };
4734
- };
4735
- mentionData?: {
4736
- name: string;
4737
- slug: string;
4738
- };
4739
- fontSizeData?: {
4740
- unit: FontType;
4741
- };
4742
- type: DecorationType;
4743
- }[];
4744
- };
4745
- paragraph?: {
4746
- decorations: {
4747
- anchorData?: {
4748
- anchor: string;
4749
- };
4750
- linkData?: {
4751
- link?: {
4752
- url: string;
4753
- anchor: string;
4754
- target: Target;
4755
- };
4756
- };
4757
- mentionData?: {
4758
- name: string;
4759
- slug: string;
4760
- };
4761
- fontSizeData?: {
4762
- unit: FontType;
4763
- };
4764
- type: DecorationType;
4765
- }[];
4766
- };
4767
- blockquote?: {
4768
- decorations: {
4769
- anchorData?: {
4770
- anchor: string;
4771
- };
4772
- linkData?: {
4773
- link?: {
4774
- url: string;
4775
- anchor: string;
4776
- target: Target;
4777
- };
4778
- };
4779
- mentionData?: {
4780
- name: string;
4781
- slug: string;
4782
- };
4783
- fontSizeData?: {
4784
- unit: FontType;
4785
- };
4786
- type: DecorationType;
4787
- }[];
4788
- };
4789
- codeBlock?: {
4790
- decorations: {
4791
- anchorData?: {
4792
- anchor: string;
4793
- };
4794
- linkData?: {
4795
- link?: {
4796
- url: string;
4797
- anchor: string;
4798
- target: Target;
4799
- };
4800
- };
4801
- mentionData?: {
4802
- name: string;
4803
- slug: string;
4804
- };
4805
- fontSizeData?: {
4806
- unit: FontType;
4807
- };
4808
- type: DecorationType;
4809
- }[];
4810
- };
4811
- };
4812
- };
4813
- treeReference?: {
4814
- appNamespace: string;
4815
- };
4816
- }[];
4817
- aggregationData?: {
4818
- results: {
4819
- values?: {
4820
- results: {
4821
- value: string;
4822
- count: number;
4823
- }[];
4824
- };
4825
- ranges?: {
4826
- results: {
4827
- count: number;
4828
- }[];
4829
- };
4830
- scalar?: {
4831
- type: ScalarType;
4832
- value: number;
4833
- };
4834
- groupedByValue?: {
4835
- results: {
4836
- value: string;
4837
- nestedResults?: {
4838
- values?: {
4839
- results: {
4840
- value: string;
4841
- count: number;
4842
- }[];
4843
- };
4844
- ranges?: {
4845
- results: {
4846
- count: number;
4847
- }[];
4848
- };
4849
- scalar?: {
4850
- type: ScalarType;
4851
- value: number;
4852
- };
4853
- name: string;
4854
- type: AggregationType;
4855
- fieldPath: string;
4856
4482
  };
4857
4483
  }[];
4858
4484
  };