12345678910111213141516171819 |
- import { BaseModel } from "./base_model";
- import { Contributor as ContributorInterface } from "../interfaces/contributor";
- export class Contributor extends BaseModel implements ContributorInterface {
- declare user_id: number;
- declare email: string;
- declare fullname: string;
- declare created_at: string;
- declare created_at_timestamp: number;
- declare is_admin: boolean;
- declare is_reviewer: boolean;
- declare languages: Array<{
- lang_id: number;
- lang_iso: string;
- lang_name: string;
- is_writable: boolean;
- }>;
- declare admin_rights: string[];
- }
|