Niche API Documentation - v0.1.0
    Preparing search index...

    Variable EventEntrySchemaConst

    EventEntrySchema: ZodObject<
        {
            eventId: ZodUUID;
            note: ZodOptional<ZodString>;
            rating: ZodOptional<ZodCoercedNumber<unknown>>;
            status: ZodEnum<{ bookmark: "bookmark"; done: "done"; none: "none" }>;
        },
        $strip,
    > = ...

    Validates the payload submitted when a user logs an interaction with an event.

    • status: "none" removes the event from the user's list.
    • status: "bookmark" saves it for later; rating and note are ignored.
    • status: "done" records attendance; rating (1–5) and note (≤ 2000 chars) are optional.