Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

index.ts

52 lines1.6 KB

1export {
2 getPrimaryKnownEnvironment,
3 readPrimaryEnvironmentDescriptor,
4 resetPrimaryEnvironmentDescriptorForTests,
5 resolveInitialPrimaryEnvironmentDescriptor,
6 writePrimaryEnvironmentDescriptor,
7} from "./context";
8​
9export {
10 resolveInitialPrimaryEnvironmentDescriptor as ensurePrimaryEnvironmentReady,
11 writePrimaryEnvironmentDescriptor as updatePrimaryEnvironmentDescriptor,
12} from "./context";
13​
14export {
15 createServerPairingCredential,
16 fetchSessionState,
17 isPrimaryEnvironmentPairingCredentialRejectedError,
18 isPrimaryEnvironmentRequestError,
19 listServerClientSessions,
20 listServerPairingLinks,
21 peekPairingTokenFromUrl,
22 PrimaryEnvironmentPairingCredentialRejectedError,
23 PrimaryEnvironmentRequestError,
24 reauthenticatePrimaryEnvironment,
25 resolveInitialServerAuthGateState,
26 revokeOtherServerClientSessions,
27 revokeServerClientSession,
28 revokeServerPairingLink,
29 stripPairingTokenFromUrl,
30 submitServerAuthCredential,
31 takePairingTokenFromUrl,
32 type ServerClientSessionRecord,
33 type ServerPairingLinkRecord,
34 __resetServerAuthBootstrapForTests,
35} from "./auth";
36​
37export { refreshPrimarySessionState, usePrimarySessionState } from "./sessionState";
38​
39export { PrimaryEnvironmentHttpClient } from "./httpClient";
40​
41export {
42 DesktopEnvironmentBootstrapIncompleteError,
43 isDesktopEnvironmentBootstrapIncompleteError,
44 isPrimaryEnvironmentProtocolUnsupportedError,
45 isPrimaryEnvironmentUrlInvalidError,
46 PrimaryEnvironmentProtocolUnsupportedError,
47 PrimaryEnvironmentUrlInvalidError,
48 readPrimaryEnvironmentTarget,
49 resolvePrimaryEnvironmentHttpUrl,
50 isLoopbackHostname,
51 type PrimaryEnvironmentTarget,
52} from "./target";