Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ expiresAt
Function
expiresAt
packages/typesense/src/utils/keys.ts:4–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
3
const
week = 604800;
4
const
expiresAt = () => Math.floor(
new
Date().getTime() / 1000.0) + week;
5
6
function
createKey({
7
keyWithSearchPermissions,
Callers
1
createKey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected