@supernova-studio/model 1.4.13 → 1.4.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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -143854,20 +143854,26 @@ declare const PublishedDocPageVisitsEntry: z.ZodObject<{
|
|
|
143854
143854
|
locale: z.ZodOptional<z.ZodString>;
|
|
143855
143855
|
timestamp: z.ZodDate;
|
|
143856
143856
|
visits: z.ZodNumber;
|
|
143857
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
143858
|
+
anonymousId: z.ZodOptional<z.ZodString>;
|
|
143857
143859
|
}, "strip", z.ZodTypeAny, {
|
|
143858
143860
|
id: string;
|
|
143859
143861
|
pagePersistentId: string;
|
|
143860
143862
|
versionId: string;
|
|
143861
143863
|
timestamp: Date;
|
|
143862
143864
|
visits: number;
|
|
143865
|
+
userId?: string | undefined;
|
|
143863
143866
|
locale?: string | undefined;
|
|
143867
|
+
anonymousId?: string | undefined;
|
|
143864
143868
|
}, {
|
|
143865
143869
|
id: string;
|
|
143866
143870
|
pagePersistentId: string;
|
|
143867
143871
|
versionId: string;
|
|
143868
143872
|
timestamp: Date;
|
|
143869
143873
|
visits: number;
|
|
143874
|
+
userId?: string | undefined;
|
|
143870
143875
|
locale?: string | undefined;
|
|
143876
|
+
anonymousId?: string | undefined;
|
|
143871
143877
|
}>;
|
|
143872
143878
|
type PublishedDocPageVisitsEntry = z.infer<typeof PublishedDocPageVisitsEntry>;
|
|
143873
143879
|
type CreatePublishedDocPageVisitsEntry = DbCreateInputOmit<PublishedDocPageVisitsEntry>;
|
package/dist/index.d.ts
CHANGED
|
@@ -143854,20 +143854,26 @@ declare const PublishedDocPageVisitsEntry: z.ZodObject<{
|
|
|
143854
143854
|
locale: z.ZodOptional<z.ZodString>;
|
|
143855
143855
|
timestamp: z.ZodDate;
|
|
143856
143856
|
visits: z.ZodNumber;
|
|
143857
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
143858
|
+
anonymousId: z.ZodOptional<z.ZodString>;
|
|
143857
143859
|
}, "strip", z.ZodTypeAny, {
|
|
143858
143860
|
id: string;
|
|
143859
143861
|
pagePersistentId: string;
|
|
143860
143862
|
versionId: string;
|
|
143861
143863
|
timestamp: Date;
|
|
143862
143864
|
visits: number;
|
|
143865
|
+
userId?: string | undefined;
|
|
143863
143866
|
locale?: string | undefined;
|
|
143867
|
+
anonymousId?: string | undefined;
|
|
143864
143868
|
}, {
|
|
143865
143869
|
id: string;
|
|
143866
143870
|
pagePersistentId: string;
|
|
143867
143871
|
versionId: string;
|
|
143868
143872
|
timestamp: Date;
|
|
143869
143873
|
visits: number;
|
|
143874
|
+
userId?: string | undefined;
|
|
143870
143875
|
locale?: string | undefined;
|
|
143876
|
+
anonymousId?: string | undefined;
|
|
143871
143877
|
}>;
|
|
143872
143878
|
type PublishedDocPageVisitsEntry = z.infer<typeof PublishedDocPageVisitsEntry>;
|
|
143873
143879
|
type CreatePublishedDocPageVisitsEntry = DbCreateInputOmit<PublishedDocPageVisitsEntry>;
|
package/dist/index.js
CHANGED
|
@@ -4918,7 +4918,9 @@ var PublishedDocPageVisitsEntry = _zod.z.object({
|
|
|
4918
4918
|
pagePersistentId: _zod.z.string(),
|
|
4919
4919
|
locale: _zod.z.string().optional(),
|
|
4920
4920
|
timestamp: _zod.z.coerce.date(),
|
|
4921
|
-
visits: _zod.z.number()
|
|
4921
|
+
visits: _zod.z.number(),
|
|
4922
|
+
userId: _zod.z.string().optional(),
|
|
4923
|
+
anonymousId: _zod.z.string().optional()
|
|
4922
4924
|
});
|
|
4923
4925
|
|
|
4924
4926
|
// src/dsm/published-doc-page.ts
|