Files
Compass/_old/lib/client/schema.ts
MartinBraquet 14c12ffb08 Rename
2025-09-18 11:19:09 +02:00

35 lines
1014 B
TypeScript

'use client';
export interface ProfileData {
id: string;
name: string;
image: string;
profile: {
location: string;
gender: string;
birthYear: number;
introversion: number;
occupation: string;
personalityType: string;
conflictStyle: string;
description: string;
contactInfo: string;
intellectualInterests: { interest?: { name?: string, id?: string } }[];
coreValues: { value?: { name?: string, id?: string } }[];
books: { value?: { name?: string, id?: string } }[];
causeAreas: { causeArea?: { name?: string, id?: string } }[];
desiredConnections: { connection?: { name?: string, id?: string } }[];
promptAnswers: { prompt?: string; answer?: string, id?: string }[];
images: string[];
};
}
export type DropdownKey = 'interests' | 'causeAreas' | 'connections' | 'coreValues' | 'books';
export type RangeKey = 'age' | 'introversion';
// type OtherKey = 'gender' | 'searchQuery';
export interface Item {
id: DropdownKey;
name: string;
}