You've already forked isop-mirror
refactor: extend Internship type to support a user object
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
import type { CompanyData } from "./company_data";
|
import type { CompanyData } from "./company_data";
|
||||||
import type { InternshipStatusData } from "./internship_status";
|
import type { InternshipStatusData } from "./internship_status";
|
||||||
|
import type { User } from "./user";
|
||||||
|
|
||||||
export interface Internship {
|
export interface Internship {
|
||||||
id: number;
|
id: number;
|
||||||
user_id: string;
|
user_id?: string;
|
||||||
|
user?: User;
|
||||||
company: CompanyData;
|
company: CompanyData;
|
||||||
start: string;
|
start: string;
|
||||||
end: string;
|
end: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user