@lightdash/common 3.128.7 → 3.129.0

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.
@@ -1,3 +1,20 @@
1
+ export type AnalyticsProcessingStats = {
2
+ partitionsDiscovered: number;
3
+ partitionsCompacted: number;
4
+ partitionsFailed: number;
5
+ rawObjectsDeleted: number;
6
+ dimensionsFailed: number;
7
+ userPartitionsFailed: number;
8
+ userPartitionsDeferred: number;
9
+ limitReached: boolean;
10
+ };
11
+ export type AnalyticsProcessingStatus = {
12
+ status: 'running' | 'success' | 'partial' | 'failed';
13
+ startedAt: string;
14
+ finishedAt: string | null;
15
+ lastSuccessfulAt: string | null;
16
+ stats: AnalyticsProcessingStats;
17
+ };
1
18
  export type AnalyticsProjectStatus = {
2
19
  project: {
3
20
  projectUuid: string;
@@ -7,6 +24,7 @@ export type AnalyticsProjectStatus = {
7
24
  createdAt: string;
8
25
  /** Checks counts and dashboard verification, not edits to existing definitions. */
9
26
  hasContentUpdates: boolean;
27
+ processing?: AnalyticsProcessingStatus | null;
10
28
  } | null;
11
29
  };
12
30
  export type EnsureAnalyticsProjectResult = {
@@ -1 +1 @@
1
- {"version":3,"file":"analyticsProject.d.ts","sourceRoot":"","sources":["../../../src/types/analyticsProject.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,OAAO,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,mFAAmF;QACnF,iBAAiB,EAAE,OAAO,CAAC;KAC9B,GAAG,IAAI,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;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GAAG;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,iCAAiC,kCACX,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"analyticsProject.js","sourceRoot":"","sources":["../../../src/types/analyticsProject.ts"],"names":[],"mappings":";;;AAwBA,mFAAmF;AACtE,QAAA,iCAAiC,GAC1C,+BAA+B,CAAC"}
1
+ {"version":3,"file":"analyticsProject.js","sourceRoot":"","sources":["../../../src/types/analyticsProject.ts"],"names":[],"mappings":";;;AA4CA,mFAAmF;AACtE,QAAA,iCAAiC,GAC1C,+BAA+B,CAAC"}