Variable: collectionSchema
ts
const collectionSchema: ZodObject<{
collection_id: ZodCoercedString<unknown>;
collection_media_count: ZodOptional<ZodNullable<ZodNumber>>;
collection_name: ZodOptional<ZodString>;
collection_type: ZodOptional<ZodString>;
}, $loose>;A saved-posts collection. Besides the ones a person makes, the app lists automatic ones (all saved posts, products). collection_type tells them apart.