Rename session recording to session replay across the codebase.
Renames all files, components, database schema, API routes, hooks, messages, and build config from "recording" to "replay" terminology. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
72b5c658e2
commit
0a3cf7a9ff
34 files changed
+138
-144
No files matched your search
@@ -75,8 +75,8 @@ model Website {
|
||||
updatedAt DateTime? @updatedAt @map("updated_at") @db.Timestamptz(6)
|
||||
deletedAt DateTime? @map("deleted_at") @db.Timestamptz(6)
|
||||
|
||||
recordingEnabled Boolean @default(false) @map("recording_enabled")
|
||||
recordingConfig Json? @map("recording_config")
|
||||
replayEnabled Boolean @default(false) @map("replay_enabled")
|
||||
replayConfig Json? @map("replay_config")
|
||||
|
||||
user User? @relation("user", fields: [userId], references: [id])
|
||||
createUser User? @relation("createUser", fields: [createdBy], references: [id])
|
||||
@@ -86,7 +86,7 @@ model Website {
|
||||
revenue Revenue[]
|
||||
segments Segment[]
|
||||
sessionData SessionData[]
|
||||
sessionRecordings SessionRecording[]
|
||||
sessionReplays SessionReplay[]
|
||||
|
||||
@@index([userId])
|
||||
@@index([teamId])
|
||||
@@ -355,8 +355,8 @@ model Share {
|
||||
@@map("share")
|
||||
}
|
||||
|
||||
model SessionRecording {
|
||||
id String @id() @map("recording_id") @db.Uuid
|
||||
model SessionReplay {
|
||||
id String @id() @map("replay_id") @db.Uuid
|
||||
websiteId String @map("website_id") @db.Uuid
|
||||
sessionId String @map("session_id") @db.Uuid
|
||||
chunkIndex Int @map("chunk_index") @db.Integer
|
||||
@@ -373,5 +373,5 @@ model SessionRecording {
|
||||
@@index([websiteId, sessionId])
|
||||
@@index([websiteId, createdAt])
|
||||
@@index([sessionId, chunkIndex])
|
||||
@@map("session_recording")
|
||||
@@map("session_replay")
|
||||
}
|
||||
Reference in new issue
Block a user