|
@@ -0,0 +1,26 @@
|
|
|
|
|
+export interface IMember {
|
|
|
|
|
+ userID: string;
|
|
|
|
|
+ cptList: string[];
|
|
|
|
|
+ createProject: 'yes' | 'no';
|
|
|
|
|
+ projectView: 'self' | 'all';
|
|
|
|
|
+ editProject: 'self' | 'all';
|
|
|
|
|
+ exportProject: 'disabled' | 'self' | 'all';
|
|
|
|
|
+ importProject: 'disabled' | 'self' | 'all';
|
|
|
|
|
+ shareProject: 'disabled' | 'self' | 'all';
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export interface IEnterprise {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ cldID: string;
|
|
|
|
|
+ adminID: string;
|
|
|
|
|
+ members: IMember[];
|
|
|
|
|
+ companyName: string;
|
|
|
|
|
+ logo: string;
|
|
|
|
|
+ companyLocation: [string, string, string];
|
|
|
|
|
+ companyType: string;
|
|
|
|
|
+ companyScale: string;
|
|
|
|
|
+ createTime: number;
|
|
|
|
|
+ passwordCheck: 'no' | 'weak' | 'normal' | 'strong' | 'super';
|
|
|
|
|
+ ip: string;
|
|
|
|
|
+ logoutRule: string;
|
|
|
|
|
+}
|