feat: Implement an API endpoint to get flow folder

This commit is contained in:
Faruk AYDIN
2025-02-06 12:44:15 +01:00
parent 586348039d
commit 529eec69e9
5 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
const getFlowMock = async (folder) => {
const data = {
id: folder.id,
name: folder.name,
createdAt: folder.createdAt.getTime(),
updatedAt: folder.updatedAt.getTime(),
};
return {
data: data,
meta: {
count: 1,
currentPage: null,
isArray: false,
totalPages: null,
type: 'Folder',
},
};
};
export default getFlowMock;