@supernova-studio/model 0.47.13 → 0.47.15
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/dist/index.d.mts +34 -4
- package/dist/index.d.ts +34 -4
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1645 -1631
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/export/export-runner/export-context.ts +4 -1
- package/src/users/index.ts +1 -0
- package/src/users/user-analytics-cleanup-schedule.ts +15 -0
package/package.json
CHANGED
|
@@ -10,9 +10,12 @@ export const ExportJobDocumentationContext = z.object({
|
|
|
10
10
|
export const ExportJobContext = z.object({
|
|
11
11
|
apiUrl: z.string(),
|
|
12
12
|
accessToken: z.string(),
|
|
13
|
+
|
|
13
14
|
designSystemId: z.string(),
|
|
14
|
-
|
|
15
|
+
versionId: z.string(),
|
|
15
16
|
brandId: z.string().optional(),
|
|
17
|
+
themeId: z.string().optional(),
|
|
18
|
+
|
|
16
19
|
exporterPackageUrl: z.string(),
|
|
17
20
|
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
18
21
|
|
package/src/users/index.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
export const UserAnalyticsCleanupSchedule = z.object({
|
|
4
|
+
userId: z.string(),
|
|
5
|
+
createdAt: z.coerce.date(),
|
|
6
|
+
deleteAt: z.coerce.date(),
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export type UserAnalyticsCleanupSchedule = z.infer<typeof UserAnalyticsCleanupSchedule>;
|
|
10
|
+
|
|
11
|
+
export const UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
|
|
12
|
+
createdAt: true,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export type UserAnalyticsCleanupScheduleDbInput = z.infer<typeof UserAnalyticsCleanupScheduleDbInput>;
|