feat(api): add create folder endpoint for users

This commit is contained in:
Ali BARIN
2025-04-24 12:56:36 +00:00
parent 115b409b92
commit b15ad10a55
8 changed files with 110 additions and 3 deletions

View File

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