Variable updateProjectSettingsAtomConst

updateProjectSettingsAtom: PrimitiveAtom<undefined | UpdateDocFunction<Partial<{
    exporterRoles?: string[];
    rowyRunDeployStatus: "BUILDING" | "COMPLETE";
    rowyRunRegion: string;
    rowyRunUrl: string;
    services: Partial<{
        builder: string;
        hooks: string;
        terminal: string;
    }>;
    setupCompleted: boolean;
    tables: TableSettings[];
}>>> & WithInitialValue<undefined | UpdateDocFunction<Partial<{
    exporterRoles?: string[];
    rowyRunDeployStatus: "BUILDING" | "COMPLETE";
    rowyRunRegion: string;
    rowyRunUrl: string;
    services: Partial<{
        builder: string;
        hooks: string;
        terminal: string;
    }>;
    setupCompleted: boolean;
    tables: TableSettings[];
}>>> = ...

Stores a function that updates project settings

Example

Basic usage:

const [updateProjectSettings] = useAtom(updateProjectSettingsAtom, projectScope);
if (updateProjectSettings) updateProjectSettings({ ... });

Generated using TypeDoc