contributor.d.ts 546 B

123456789101112131415161718
  1. import { BaseModel } from "./base_model";
  2. import { Contributor as ContributorInterface } from "../interfaces/contributor";
  3. export declare class Contributor extends BaseModel implements ContributorInterface {
  4. user_id: number;
  5. email: string;
  6. fullname: string;
  7. created_at: string;
  8. created_at_timestamp: number;
  9. is_admin: boolean;
  10. is_reviewer: boolean;
  11. languages: Array<{
  12. lang_id: number;
  13. lang_iso: string;
  14. lang_name: string;
  15. is_writable: boolean;
  16. }>;
  17. admin_rights: string[];
  18. }