forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorganizationSettings.ts
More file actions
34 lines (31 loc) · 924 Bytes
/
Copy pathorganizationSettings.ts
File metadata and controls
34 lines (31 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import type { OrganizationSettingsJSONSnapshot } from 'snapshots';
import type { ClerkResourceJSON } from './json';
import type { OrganizationEnrollmentMode } from './organizationDomain';
import type { ClerkResource } from './resource';
export interface OrganizationSettingsJSON extends ClerkResourceJSON {
id: never;
object: never;
enabled: boolean;
max_allowed_memberships: number;
actions: {
admin_delete: boolean;
};
domains: {
enabled: boolean;
enrollment_modes: OrganizationEnrollmentMode[];
default_role: string | null;
};
}
export interface OrganizationSettingsResource extends ClerkResource {
enabled: boolean;
maxAllowedMemberships: number;
actions: {
adminDelete: boolean;
};
domains: {
enabled: boolean;
enrollmentModes: OrganizationEnrollmentMode[];
defaultRole: string | null;
};
__internal_toSnapshot: () => OrganizationSettingsJSONSnapshot;
}