Farb palette

This commit is contained in:
2025-12-04 16:06:58 +01:00
parent 0554fdda01
commit aa9bd3f0b6
50 changed files with 3971 additions and 899 deletions

View File

@@ -1,4 +1,6 @@
import { NavigatorScreenParams } from '@react-navigation/native';
import React from 'react';
import { GlazeLayer, UserListType } from '../types';
export type RootStackParamList = {
Login: undefined;
@@ -6,14 +8,30 @@ export type RootStackParamList = {
Onboarding: undefined;
MainTabs: NavigatorScreenParams<MainTabParamList>;
ProjectDetail: { projectId: string };
StepEditor: { projectId: string; stepId?: string; selectedGlazeIds?: string[]; mixNotes?: string; _timestamp?: number; _editorKey?: string };
GlazePicker: { projectId: string; stepId?: string; selectedGlazeIds?: string[]; _editorKey?: string };
GlazeMixer: { projectId: string; stepId?: string; _editorKey?: string };
StepEditor: {
projectId: string;
stepId?: string;
selectedGlazeIds?: string[]; // DEPRECATED - keep for backwards compat
newGlazeLayers?: GlazeLayer[]; // NEW
mixNotes?: string;
_timestamp?: number;
_editorKey?: string
};
GlazePicker: {
projectId: string;
stepId?: string;
selectedGlazeIds?: string[];
mode?: 'add_layer' | 'replace';
onGlazesSelected?: React.MutableRefObject<((layers: GlazeLayer[]) => void) | null>;
_editorKey?: string
};
GlazeDetail: { glazeId: string };
AddCustomGlaze: { onGlazeCreated?: (glazeId: string) => void };
UserList: { type: UserListType }; // NEW
};
export type MainTabParamList = {
Home: undefined;
Projects: undefined;
News: undefined;
Settings: undefined;