UNPKG

@experts_hub/shared

Version:

Shared DTOs, interfaces, and utilities for experts hub applications

68 lines (67 loc) 1.75 kB
export interface IFetchFreelancersResponse { statusCode: number; status: boolean; message: string; data: any; } export interface ICreateFreelancerPayload { firstName: string; lastName: string; email: string; password: string; confirmPassword: string; skills: string[]; expectedHourlyCompensation: number; modeOfWork: "REMOTE" | "ONSITE" | "HYBRID"; availabilityToJoin: string; isImmediateJoiner: boolean; linkedinProfileLink?: string; githubProfileLink?: string; kaggleProfileLink?: string; stackOverflowProfileLink?: string; portfolioLink?: string; foundUsOn: string; OTHER?: string; foundUsOnDetail?: string; isDeveloper?: boolean; } export interface ICreateFreelancerResponse { statusCode: number; status: boolean; message: string; } export interface IUpdateFreelancerPayload { firstName?: string; lastName?: string; email?: string; password?: string; skills?: string[]; expectedHourlyCompensation?: number; modeOfWork?: string; availabilityToJoin?: string; isImmediateJoiner?: boolean; linkedinProfileLink?: string; githubProfileLink?: string; kaggleProfileLink?: string; stackOverflowProfileLink?: string; portfolioLink?: string; foundUsOn?: string; OTHER?: string; foundUsOnDetail?: string; isDeveloper?: boolean; } export interface IUpdateFreelancerResponse { statusCode: number; status: boolean; message: string; } export interface IDeleteFreelancerResponse { statusCode: number; status: boolean; message: string; } export interface IAttachPermissionsToFreelancerResponse { statusCode: number; status: boolean; message: string; }