chore: strip remaining pre-fork version references
Second pass — removes chat-switchboard version numbers from config field docs, section headers, file headers, and test comments. These were pre-fork version tags that don't apply to switchboard-core. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -85,7 +85,7 @@ type UserStore interface {
|
||||
RevokeAllRefreshTokens(ctx context.Context, userID string) error
|
||||
CleanExpiredTokens(ctx context.Context) error
|
||||
|
||||
// ── CS1 additions (v0.29.0) ──
|
||||
// ── CS1 additions ──
|
||||
|
||||
// Exists returns true if a user with the given ID exists and is active.
|
||||
Exists(ctx context.Context, userID string) (bool, error)
|
||||
@@ -94,7 +94,7 @@ type UserStore interface {
|
||||
// Excludes the calling user. Max 20 results.
|
||||
SearchActive(ctx context.Context, excludeUserID, query string) ([]UserSearchResult, error)
|
||||
|
||||
// ── CS2 additions (v0.29.0) ──
|
||||
// ── CS2 additions ──
|
||||
|
||||
// CountAll returns the total number of users.
|
||||
CountAll(ctx context.Context) (int, error)
|
||||
@@ -108,7 +108,7 @@ type UserStore interface {
|
||||
// UpdateVaultKeys re-wraps the user's vault keys (password change).
|
||||
UpdateVaultKeys(ctx context.Context, userID string, encUEK, salt, nonce []byte) error
|
||||
|
||||
// ── CS4 additions (v0.29.0) ──
|
||||
// ── CS4 additions ──
|
||||
|
||||
// ClearVaultKeys nulls out vault columns and sets vault_set = false.
|
||||
ClearVaultKeys(ctx context.Context, userID string) error
|
||||
@@ -147,7 +147,7 @@ type TeamStore interface {
|
||||
IsTeamAdmin(ctx context.Context, teamID, userID string) (bool, error)
|
||||
IsMember(ctx context.Context, teamID, userID string) (bool, error)
|
||||
|
||||
// ── CS1 additions (v0.29.0) ──
|
||||
// ── CS1 additions ──
|
||||
|
||||
// Exists returns true if a team with the given ID exists.
|
||||
Exists(ctx context.Context, teamID string) (bool, error)
|
||||
@@ -161,12 +161,12 @@ type TeamStore interface {
|
||||
// ListTeamAuditActions returns distinct audit actions for a team's members.
|
||||
ListTeamAuditActions(ctx context.Context, teamID string) ([]string, error)
|
||||
|
||||
// ── CS5b additions (v0.29.0) ──
|
||||
// ── CS5b additions ──
|
||||
|
||||
// GetFirstTeamIDForUser returns the first team_id the user belongs to, or "" if none.
|
||||
GetFirstTeamIDForUser(ctx context.Context, userID string) (string, error)
|
||||
|
||||
// ── CS6 additions (v0.29.0) ──
|
||||
// ── CS6 additions ──
|
||||
|
||||
// AddMemberReturningID inserts a team member and returns the row ID.
|
||||
AddMemberReturningID(ctx context.Context, teamID, userID, role string) (string, error)
|
||||
@@ -207,7 +207,7 @@ type GlobalConfigStore interface {
|
||||
Set(ctx context.Context, key string, value models.JSONMap, updatedBy string) error
|
||||
GetAll(ctx context.Context) (map[string]models.JSONMap, error)
|
||||
|
||||
// ── OIDC state (v0.29.0-cs4) ──
|
||||
// ── OIDC state ──
|
||||
|
||||
// SaveOIDCState stores a state+nonce pair for OIDC callback verification.
|
||||
SaveOIDCState(ctx context.Context, state, nonce, redirectTo string) error
|
||||
@@ -219,7 +219,7 @@ type GlobalConfigStore interface {
|
||||
// CleanupOIDCState removes stale OIDC states older than 10 minutes.
|
||||
CleanupOIDCState(ctx context.Context) error
|
||||
|
||||
// ── CS6 additions (v0.29.0) ──
|
||||
// ── CS6 additions ──
|
||||
|
||||
// GetString returns the raw value column as a string for simple settings
|
||||
// (e.g. bare JSON booleans like "true"/"false").
|
||||
@@ -227,7 +227,7 @@ type GlobalConfigStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// GROUP STORE (v0.16.0)
|
||||
// GROUP STORE
|
||||
// =========================================
|
||||
|
||||
type GroupStore interface {
|
||||
@@ -252,7 +252,7 @@ type GroupStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// RESOURCE GRANT STORE (v0.16.0)
|
||||
// RESOURCE GRANT STORE
|
||||
// =========================================
|
||||
|
||||
type ResourceGrantStore interface {
|
||||
@@ -265,7 +265,7 @@ type ResourceGrantStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// NOTIFICATION STORE (v0.20.0)
|
||||
// NOTIFICATION STORE
|
||||
// =========================================
|
||||
|
||||
type NotificationStore interface {
|
||||
@@ -279,7 +279,7 @@ type NotificationStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// NOTIFICATION PREFERENCES STORE (v0.20.0)
|
||||
// NOTIFICATION PREFERENCES STORE
|
||||
// =========================================
|
||||
|
||||
type NotificationPreferenceStore interface {
|
||||
@@ -294,12 +294,12 @@ type NotificationPreferenceStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// SESSION STORE (v0.24.3)
|
||||
// SESSION STORE
|
||||
// =========================================
|
||||
|
||||
|
||||
// =========================================
|
||||
// HEALTH STORE (v0.29.0)
|
||||
// HEALTH STORE
|
||||
// =========================================
|
||||
|
||||
// HealthStore manages provider health windows. The full interface is used
|
||||
@@ -310,7 +310,7 @@ type HealthStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// PRESENCE STORE (v0.29.0)
|
||||
// PRESENCE STORE
|
||||
// =========================================
|
||||
|
||||
// PresenceStore manages user online/offline status.
|
||||
@@ -329,7 +329,7 @@ type PresenceStore interface {
|
||||
// =========================================
|
||||
// SHARED TYPES
|
||||
// =========================================
|
||||
// CONNECTION STORE (v0.38.1)
|
||||
// CONNECTION STORE
|
||||
// =========================================
|
||||
|
||||
type ConnectionStore interface {
|
||||
@@ -362,7 +362,7 @@ type ConnectionStore interface {
|
||||
}
|
||||
|
||||
// =========================================
|
||||
// DEPENDENCY STORE (v0.38.2)
|
||||
// DEPENDENCY STORE
|
||||
// =========================================
|
||||
|
||||
type DependencyStore interface {
|
||||
|
||||
Reference in New Issue
Block a user