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
27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
/**
|
|
* This module was automatically generated by `ts-interface-builder`
|
|
*/
|
|
import * as t from "ts-interface-checker";
|
|
// tslint:disable:object-literal-key-quotes
|
|
|
|
export const ITestingHooks = t.iface([], {
|
|
"getOwnPort": t.func("number"),
|
|
"getPort": t.func("number"),
|
|
"setLoginSessionProfile": t.func("void", t.param("gristSidCookie", "string"), t.param("profile", t.union("UserProfile", "null")), t.param("org", "string", true)),
|
|
"setServerVersion": t.func("void", t.param("version", t.union("string", "null"))),
|
|
"disconnectClients": t.func("void"),
|
|
"commShutdown": t.func("void"),
|
|
"commRestart": t.func("void"),
|
|
"commSetClientPersistence": t.func("void", t.param("ttlMs", "number")),
|
|
"closeDocs": t.func("void"),
|
|
"setDocWorkerActivation": t.func("void", t.param("workerId", "string"), t.param("active", t.union(t.lit('active'), t.lit('inactive'), t.lit('crash')))),
|
|
"flushAuthorizerCache": t.func("void"),
|
|
"getDocClientCounts": t.func(t.array(t.tuple("string", "number"))),
|
|
"setActiveDocTimeout": t.func("number", t.param("seconds", "number")),
|
|
});
|
|
|
|
const exportedTypeSuite: t.ITypeSuite = {
|
|
ITestingHooks,
|
|
};
|
|
export default exportedTypeSuite;
|