(profileId: string)
| 32 | export const sessionKey = (deviceId: string) => `session:${PROJECT_ID}:${deviceId}`; |
| 33 | export const wallclockKey = `session:wallclock:${PROJECT_ID}`; |
| 34 | export const profileKey = (profileId: string) => |
| 35 | `session:profile:${PROJECT_ID}:${profileId}`; |
| 36 | export const claimKey = (deviceId: string, sessionId: string) => |
| 37 | `session:end:emitted:${PROJECT_ID}:${deviceId}:${sessionId}`; |
| 38 | /** The session-buffer's Redis list (ground-truth pending CH rows). */ |