forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvironment.ts
More file actions
20 lines (18 loc) · 821 Bytes
/
Copy pathenvironment.ts
File metadata and controls
20 lines (18 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import type { EnvironmentJSONSnapshot } from 'snapshots';
import type { AuthConfigResource } from './authConfig';
import type { DisplayConfigResource } from './displayConfig';
import type { OrganizationSettingsResource } from './organizationSettings';
import type { ClerkResource } from './resource';
import type { UserSettingsResource } from './userSettings';
export interface EnvironmentResource extends ClerkResource {
userSettings: UserSettingsResource;
organizationSettings: OrganizationSettingsResource;
authConfig: AuthConfigResource;
displayConfig: DisplayConfigResource;
isSingleSession: () => boolean;
isProduction: () => boolean;
isDevelopmentOrStaging: () => boolean;
onWindowLocationHost: () => boolean;
maintenanceMode: boolean;
__internal_toSnapshot: () => EnvironmentJSONSnapshot;
}