user_group.d.ts 667 B

12345678910111213141516171819202122
  1. import { BaseModel } from "./base_model";
  2. import { UserGroup as UserGroupInterface } from "../interfaces/user_group";
  3. export declare class UserGroup extends BaseModel implements UserGroupInterface {
  4. group_id: number;
  5. name: string;
  6. permissions: {
  7. is_admin: boolean;
  8. is_reviewer: boolean;
  9. admin_rights: string[];
  10. languages: Array<{
  11. lang_id: number;
  12. lang_iso: string;
  13. lang_name: string;
  14. is_writable: boolean;
  15. }>;
  16. };
  17. created_at: string;
  18. created_at_timestamp: number;
  19. team_id: number;
  20. projects: string[] | number[];
  21. members: number[] | string[];
  22. }