mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
ea01ca814d
Summary: Removed test/aws/, most of app/server/lib/, 3 dirs in app/lambda/, corresponding tests, and more! Test Plan: a lot of this is quite the opposite... Reviewers: dsagal, paulfitz Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2894
18 lines
761 B
TypeScript
18 lines
761 B
TypeScript
import {UserProfile} from 'app/common/LoginSessionAPI';
|
|
|
|
export interface ITestingHooks {
|
|
getOwnPort(): Promise<number>;
|
|
getPort(): Promise<number>;
|
|
setLoginSessionProfile(gristSidCookie: string, profile: UserProfile|null, org?: string): Promise<void>;
|
|
setServerVersion(version: string|null): Promise<void>;
|
|
disconnectClients(): Promise<void>;
|
|
commShutdown(): Promise<void>;
|
|
commRestart(): Promise<void>;
|
|
commSetClientPersistence(ttlMs: number): Promise<void>;
|
|
closeDocs(): Promise<void>;
|
|
setDocWorkerActivation(workerId: string, active: 'active'|'inactive'|'crash'): Promise<void>;
|
|
flushAuthorizerCache(): Promise<void>;
|
|
getDocClientCounts(): Promise<Array<[string, number]>>;
|
|
setActiveDocTimeout(seconds: number): Promise<number>;
|
|
}
|