TrackCollaborator
Source: lyda-shared/src/Models/db/lyda/TrackCollaborator.ts
Dependencies
import {User} from "./User.js";
import {CollaboratorType} from "./CollaboratorType.js";
import {Track} from "./Track.ts";
TrackCollaborator
Type: interface
export interface TrackCollaborator {
collab_type?: CollaboratorType;
track?: Track;
user?: User;
track_id: number;
user_id: number;
type: number;
approved: boolean;
denied: boolean;
created_at: Date;
updated_at: Date;
}
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| collab_type | CollaboratorType | No | - |
| track | Track | No | - |
| user | User | No | - |
| track_id | number | Yes | - |
| user_id | number | Yes | - |
| type | number | Yes | - |
| approved | boolean | Yes | - |
| denied | boolean | Yes | - |
| created_at | Date | Yes | - |
| updated_at | Date | Yes | - |