ApiKey
Defined in: packages/database/src/types.ts:58
Properties
Section titled “Properties”createdAt
Section titled “createdAt”createdAt:
Date
Defined in: packages/database/src/types.ts:69
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt?:Date|null
Defined in: packages/database/src/types.ts:67
hash:
string
Defined in: packages/database/src/types.ts:62
id:
string
Defined in: packages/database/src/types.ts:59
lastUsedAt?
Section titled “lastUsedAt?”
optionallastUsedAt?:Date|null
Defined in: packages/database/src/types.ts:66
name:
string
Defined in: packages/database/src/types.ts:60
organizationId?
Section titled “organizationId?”
optionalorganizationId?:string|null
Defined in: packages/database/src/types.ts:64
prefix
Section titled “prefix”prefix:
string
Defined in: packages/database/src/types.ts:61
revokedAt?
Section titled “revokedAt?”
optionalrevokedAt?:Date|null
Defined in: packages/database/src/types.ts:68
scopes
Section titled “scopes”scopes:
string[]
Defined in: packages/database/src/types.ts:65
updatedAt
Section titled “updatedAt”updatedAt:
Date
Defined in: packages/database/src/types.ts:70
userId
Section titled “userId”userId:
string
Defined in: packages/database/src/types.ts:63