@creator.co/analytics-kysely-types 1.0.22-alpha-89f1870 → 1.0.22-alpha-4fc5676
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/enums.ts +3 -2
- package/index.d.ts +2 -4
- package/package.json +1 -1
package/enums.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const TaskStatus = {
|
|
2
|
+
Backfilling: "backfilling",
|
|
2
3
|
Enabled: "enabled",
|
|
3
4
|
Failed: "failed"
|
|
4
5
|
} as const;
|
|
5
|
-
export type
|
|
6
|
+
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
|
|
6
7
|
export const TaskSchedule = {
|
|
7
8
|
Hourly: "hourly",
|
|
8
9
|
Daily: "daily"
|
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
|
|
|
5
5
|
: ColumnType<T, T | undefined, T>;
|
|
6
6
|
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
7
7
|
|
|
8
|
-
import type {
|
|
8
|
+
import type { TaskStatus, TaskSchedule, TaskType } from "./enums";
|
|
9
9
|
|
|
10
10
|
export type AnalyticsView = {
|
|
11
11
|
id: GeneratedAlways<number>;
|
|
@@ -30,9 +30,6 @@ export type AnalyticsWidget = {
|
|
|
30
30
|
export type IntegrationGA4 = {
|
|
31
31
|
id: GeneratedAlways<number>;
|
|
32
32
|
brandId: number;
|
|
33
|
-
status: IntegrationStatus;
|
|
34
|
-
backfillData: Json;
|
|
35
|
-
backfillDate: Timestamp | null;
|
|
36
33
|
credentials: string;
|
|
37
34
|
propertyId: string;
|
|
38
35
|
createdAt: Generated<Timestamp>;
|
|
@@ -72,6 +69,7 @@ export type IntegrationTaskSchedule = {
|
|
|
72
69
|
integrationId: number;
|
|
73
70
|
schedule: TaskSchedule;
|
|
74
71
|
type: TaskType;
|
|
72
|
+
status: TaskStatus;
|
|
75
73
|
syncData: Json | null;
|
|
76
74
|
syncDate: Timestamp | null;
|
|
77
75
|
createdAt: Generated<Timestamp>;
|