feat(web): introduce templates

This commit is contained in:
Ali BARIN
2025-02-26 10:40:47 +00:00
parent 69e91fea18
commit 839fda8880
33 changed files with 904 additions and 86 deletions

View File

@@ -4,7 +4,7 @@ const createTemplateMock = async (template) => {
name: template.name,
createdAt: template.createdAt.getTime(),
updatedAt: template.updatedAt.getTime(),
flowData: template.flowData,
flowData: template.getFlowDataWithIconUrls(),
};
return {

View File

@@ -4,7 +4,7 @@ const getTemplateMock = async (template) => {
name: template.name,
createdAt: template.createdAt.getTime(),
updatedAt: template.updatedAt.getTime(),
flowData: template.flowData,
flowData: template.getFlowDataWithIconUrls(),
};
return {

View File

@@ -4,7 +4,7 @@ const getTemplatesMock = async (templates) => {
name: template.name,
createdAt: template.createdAt.getTime(),
updatedAt: template.updatedAt.getTime(),
flowData: template.flowData,
flowData: template.getFlowDataWithIconUrls(),
}));
return {