Hiyve Components - v1.0.0
    Preparing search index...

    Type Alias AnnotationPermission

    AnnotationPermission:
        | "everyone"
        | "sharer-only"
        | "owner-only"
        | (
            (
                ctx: { isOwner: boolean; isSharer: boolean; userId: string },
            ) => boolean
        )

    Who can perform a given action (draw, clear-all). 'everyone' is the permissive default; 'sharer-only' and 'owner-only' are quick presets; the predicate form unlocks fully custom rules.