app/types/coaching.ts

29 lines
No EOL
531 B
TypeScript

export type Member = {
id: string;
name: string;
role?: string;
hourly: number;
availableHrs: number;
};
export type SkillTag = {
id: string;
label: string;
};
export type ProblemTag = {
id: string;
label: string;
examples: string[];
};
export type Offer = {
id: string;
name: string;
scope: string[];
hoursByMember: Array<{ memberId: string; hours: number }>;
price: { baseline: number; stretch: number; calcNote: string };
payoutDelayDays: number;
whyThis: string[];
riskNotes: string[];
};