mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-05-01 08:41:08 +00:00
feat: [wip] keybox
This commit is contained in:
parent
071ffe1f81
commit
1a1ac5cd43
1 changed files with 8 additions and 0 deletions
8
src/lib/blah/structures/keybox.ts
Normal file
8
src/lib/blah/structures/keybox.ts
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import type { BlahSignedPayload } from '../crypto';
|
||||||
|
|
||||||
|
export type BlahActKeyEntry = {
|
||||||
|
exp: number;
|
||||||
|
};
|
||||||
|
export type BlahSignedActKeyEntry = BlahSignedPayload<BlahActKeyEntry>;
|
||||||
|
|
||||||
|
export type BlahKeyBox = BlahSignedPayload<BlahSignedActKeyEntry[]>;
|
Loading…
Add table
Reference in a new issue