From 83b5e5ee27fce5842a794adf3ca26d439a453929 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Fri, 20 Mar 2026 08:45:07 -0700 Subject: [PATCH] =?UTF-8?q?types(marketplace):=20=F0=9F=8F=B7=EF=B8=8F=20U?= =?UTF-8?q?pdate=20type=20definitions=20in=20@lilith=5F=5Fui-dev-tools.d.t?= =?UTF-8?q?s=20for=20marketplace=20frontend=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../src/types/@lilith__ui-dev-tools.d.ts | 77 ------------------- 1 file changed, 77 deletions(-) delete mode 100644 features/marketplace/frontend-public/src/types/@lilith__ui-dev-tools.d.ts diff --git a/features/marketplace/frontend-public/src/types/@lilith__ui-dev-tools.d.ts b/features/marketplace/frontend-public/src/types/@lilith__ui-dev-tools.d.ts deleted file mode 100644 index a312690ea..000000000 --- a/features/marketplace/frontend-public/src/types/@lilith__ui-dev-tools.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -declare module '@lilith/ui-dev-tools' { - export interface DevUserTypeConfig { - id: string; - label: string; - emoji: string; - description: string; - exclusivePrimary?: boolean; - } - - export interface StoredUserData { - types: string[]; - primary: string | null; - userId: string | null; - } - - export interface DevUserState { - userTypes: string[]; - primaryType: string | null; - isAuthenticated: boolean; - hasDeclaredIntent: boolean; - displayName: string; - userId: string | null; - } - - export interface PersonaProfile { - type: string; - completionPercentage: number; - status: 'draft' | 'active' | 'suspended'; - displayName?: string; - verified?: boolean; - } - - export interface DevUserPersona { - id: string; - name: string; - emoji: string; - description: string; - category: string; - userTypes: string[]; - primaryType: string | null; - profiles?: PersonaProfile[]; - metadata?: Record; - pinned?: boolean; - } - - export interface DevUserContextValue extends DevUserState { - addType: (typeId: string) => void; - removeType: (typeId: string) => void; - setPrimaryType: (typeId: string) => void; - toggleType: (typeId: string) => void; - hasType: (typeId: string) => boolean; - canBePrimary: (typeId: string) => boolean; - signOut: () => void; - signInAsDefault: () => void; - isDevMode: boolean; - userTypeConfigs: DevUserTypeConfig[]; - getTypeConfig: (typeId: string) => DevUserTypeConfig | undefined; - personas: DevUserPersona[]; - activePersona: DevUserPersona | null; - applyPersona: (personaId: string) => void; - clearPersona: () => void; - } - - export interface DevUserProviderProps { - children: import('react').ReactNode; - userTypeConfigs?: DevUserTypeConfig[]; - personas?: DevUserPersona[]; - } - - export interface DevUserTypeSwitcherProps { - className?: string; - } - - export function useDevUser(): DevUserContextValue; - export function DevUserProvider(props: DevUserProviderProps): import('react').ReactElement; - export function DevUserTypeSwitcher(props: DevUserTypeSwitcherProps): import('react').ReactElement; -}