23 lines
696 B
TypeScript
23 lines
696 B
TypeScript
/**
|
|
* Published attribute values store for MSW mock.
|
|
* Uses createPublishedStore from @lilith/attribute-store for the two-layer pattern.
|
|
*/
|
|
import { createPublishedStore } from '@lilith/attribute-store/store'
|
|
|
|
const INITIAL_VALUES: Record<string, unknown> = {
|
|
age: 27,
|
|
languages: ['en', 'is', 'fr'],
|
|
ethnicity: 'caucasian',
|
|
height_cm: 168,
|
|
hair_color: 'blonde',
|
|
body_type: 'slim',
|
|
services_offered: ['dinner-dates', 'travel-companion', 'gfe'],
|
|
incall: true,
|
|
outcall: true,
|
|
available_days: ['mon', 'tue', 'wed', 'thu', 'fri'],
|
|
advance_notice_hours: 2,
|
|
base_city: 'Reykjavik',
|
|
travel_willing: true,
|
|
}
|
|
|
|
export const publishedStore = createPublishedStore(INITIAL_VALUES)
|