Skip to content

viewDeleteResponseSchema

const viewDeleteResponseSchema: ZodObject<{ id: ZodUUID; object: ZodLiteral<"view">; parent: ZodObject<{ database_id: ZodUUID; type: ZodLiteral<"database_id">; }, $strip>; type: ZodEnum<{ board: "board"; calendar: "calendar"; chart: "chart"; dashboard: "dashboard"; form: "form"; gallery: "gallery"; list: "list"; map: "map"; table: "table"; timeline: "timeline"; }>; }, $strip>

Defined in: src/schemas/view.schema.ts:92

Notion’s delete-view response includes only object, id, parent, and type. It omits the rest of the view shape.