feat: first draft

This commit is contained in:
2025-01-25 20:39:55 +01:00
parent 78c69dbc1a
commit 06fbbab24d
53 changed files with 13416 additions and 123 deletions

52
utils/types.ts Normal file
View File

@@ -0,0 +1,52 @@
export interface GlobalState {
strategyCanvas: {
factors: {
id: string;
name: string;
marketScore: number;
ideaScore: number;
}[];
notes: Record<string, string>;
};
fourActions: {
eliminate: string[];
reduce: string[];
raise: string[];
create: string[];
};
sixPaths: Record<
PathType,
{
notes: string;
opportunities: string[];
}
>;
utilityMap: Record<
string,
{
value: boolean;
notes: string;
}
>;
priceCorridor: {
targetPrice: number;
competitors: {
name: string;
price: number;
category: 'same-form' | 'different-form' | 'different-function';
}[];
};
validation: {
nonCustomers: Record<string, boolean>;
sequence: Record<string, boolean>;
notes: string;
};
}
export type PathType =
| 'industries'
| 'groups'
| 'buyers'
| 'complementary'
| 'functional'
| 'trends';