whiteboard

package
v1.0.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package whiteboard registers Board-domain EventKeys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys() []event.KeyDefinition

Keys returns all Board-domain EventKey definitions.

Types

type BoardWhiteboardUpdatedV1Data

type BoardWhiteboardUpdatedV1Data struct {
	// WhiteboardID is the id of the whiteboard whose content was updated.
	WhiteboardID string `json:"whiteboard_id"`
	// OperatorIDs lists the operators that produced this update batch.
	OperatorIDs []OperatorID `json:"operator_ids"`
}

BoardWhiteboardUpdatedV1Data is the flattened whiteboard updated source payload.

type OperatorID

type OperatorID struct {
	// OpenID is the operator's open_id within the current app.
	OpenID string `json:"open_id"`
	// UnionID is the operator's union_id across apps under the same ISV.
	UnionID string `json:"union_id"`
	// UserID is the operator's user_id within the tenant.
	UserID string `json:"user_id"`
}

OperatorID identifies an operator that produced the whiteboard update, expressed in the three Lark identity formats.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL