mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add new purchase API
This commit is contained in:
@@ -162,5 +162,16 @@ export interface SignInByMailCodeRequest {
|
||||
receivedCode: string
|
||||
}
|
||||
|
||||
export interface IdentityTokenCreatePayload {
|
||||
purpose: 'purchase'
|
||||
familyId: string
|
||||
userId: string
|
||||
mail: string
|
||||
}
|
||||
|
||||
export type IdentityTokenPayload = IdentityTokenCreatePayload & {
|
||||
exp: number
|
||||
}
|
||||
|
||||
export { SerializedParentAction, SerializedChildAction, SerializedAppLogicAction } from '../action/serialization'
|
||||
export { ServerDataStatus } from '../object/serverdatastatus'
|
||||
|
||||
Reference in New Issue
Block a user