Changeset 0.24.3 (#159)
This commit is contained in:
@@ -334,6 +334,22 @@ type Channel struct {
|
||||
ProjectID *string `json:"project_id,omitempty" db:"project_id"`
|
||||
WorkspaceID *string `json:"workspace_id,omitempty" db:"workspace_id"`
|
||||
Settings JSONMap `json:"settings,omitempty" db:"settings"`
|
||||
AllowAnonymous bool `json:"allow_anonymous" db:"allow_anonymous"` // v0.24.3: session participants can join
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// SESSION PARTICIPANTS (v0.24.3)
|
||||
// =========================================
|
||||
|
||||
// SessionParticipant is an ephemeral identity for anonymous workflow
|
||||
// channel visitors. Scoped to a single channel, no users row required.
|
||||
type SessionParticipant struct {
|
||||
ID string `json:"id" db:"id"`
|
||||
SessionToken string `json:"session_token" db:"session_token"`
|
||||
ChannelID string `json:"channel_id" db:"channel_id"`
|
||||
DisplayName string `json:"display_name" db:"display_name"`
|
||||
Fingerprint string `json:"fingerprint,omitempty" db:"fingerprint"`
|
||||
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
||||
}
|
||||
|
||||
// =========================================
|
||||
|
||||
Reference in New Issue
Block a user