mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 10:32:40 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
export type LegacyPanelPlatform = 'desktop' | 'mobile';
|
||||
|
||||
export interface LegacyPanelSessionSource {
|
||||
isActive(token: string, platform: LegacyPanelPlatform): Promise<boolean>;
|
||||
}
|
||||
|
||||
export interface LegacyPanelTokenSnapshot {
|
||||
value: string;
|
||||
}
|
||||
|
||||
export interface LegacyPanelAuthSnapshot {
|
||||
token?: string;
|
||||
tokens?: Readonly<
|
||||
Record<
|
||||
string,
|
||||
string | readonly LegacyPanelTokenSnapshot[] | null | undefined
|
||||
>
|
||||
>;
|
||||
}
|
||||
|
||||
export type LegacyPanelAuthSnapshotReader =
|
||||
() => Promise<Readonly<LegacyPanelAuthSnapshot> | null>;
|
||||
Reference in New Issue
Block a user