@cr_docs_t/dts 0.34.0 → 0.35.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.
|
@@ -14,7 +14,7 @@ export declare const DocumentSchema: z.ZodObject<{
|
|
|
14
14
|
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
15
15
|
updatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
16
16
|
name: z.ZodString;
|
|
17
|
-
serializedCRDTState: z.
|
|
17
|
+
serializedCRDTState: z.ZodOptional<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>;
|
|
18
18
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
19
19
|
contributors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
20
20
|
contributorType: z.ZodEnum<typeof ContributorType>;
|
|
@@ -11,7 +11,7 @@ export const ContributorSchema = z.object({
|
|
|
11
11
|
});
|
|
12
12
|
export const DocumentSchema = IdentifiedSchema.extend({
|
|
13
13
|
name: z.string().min(1, "Name is required"),
|
|
14
|
-
serializedCRDTState: z.
|
|
14
|
+
serializedCRDTState: z.instanceof(Buffer).optional(),
|
|
15
15
|
ownerId: z.string().optional(),
|
|
16
16
|
contributors: z.array(ContributorSchema).default([]),
|
|
17
17
|
projectId: z.string().optional(),
|