mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-05-15 12:17:58 +02:00
inbox: require non-empty source in inbox item (#98)
This commit is contained in:
@@ -17,7 +17,7 @@ const RawInboxItemSchema = z.object({
|
||||
notebookIds: z.array(z.string()).optional(),
|
||||
tagIds: z.array(z.string()).optional(),
|
||||
type: z.enum(["note"]),
|
||||
source: z.string(),
|
||||
source: z.string().min(1, "Source is required"),
|
||||
version: z.literal(1),
|
||||
content: z
|
||||
.object({
|
||||
|
||||
Reference in New Issue
Block a user