Add editable project template flow

This commit is contained in:
2026-09-08 10:25:52 +00:00
committed by Twyco
parent 49e887753c
commit 04b0d5e316
11 changed files with 438 additions and 1 deletions
@@ -10,6 +10,7 @@ export type ProjectTemplateModel = {
slug: string;
copy_areas: string[];
configuration_snapshot: Record<string, unknown>;
linked_project_count?: number;
created_at: string | null;
updated_at: string | null;
};
+5
View File
@@ -61,6 +61,11 @@ export type ProjectTemplatesCreatePageProps = {
project: ProjectModel;
};
export type ProjectTemplatesEditPageProps = {
copyAreaOptions: ProjectDuplicateCopyAreaOption[];
template: ProjectTemplateModel;
};
export type ProjectTemplateStateArea = {
label: string;
value: string;