Welcome to mirror list, hosted at ThFree Co, Russian Federation.

types.ts « src « vue « SegmentEditor « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 62aab9d1f57166aae01732adc17ece8fc78615f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*!
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

export interface SegmentMetadata {
  acceptedValues: string;
  category: string;
  name: string;
  needsMostFrequentValues: boolean;
  segment: string;
  sqlFilterValue: unknown;
  sqlSegment: string;
  type: string;
}

export interface SegmentOrCondition {
  segment: string;
  matches: string;
  value: string;

  id?: string;
  isLoading?: boolean;
}

export interface SegmentAndCondition {
  orConditions: SegmentOrCondition[];
}