Merge files with nodes

This commit is contained in:
Hakan Shehu
2025-02-12 21:45:02 +01:00
parent a9e028af52
commit f4ad5756f3
53 changed files with 598 additions and 1014 deletions

View File

@@ -0,0 +1,9 @@
import { FileAttributes } from '@colanode/core';
export const buildFilePath = (
workspaceId: string,
fileId: string,
fileAttributes: FileAttributes
) => {
return `files/${workspaceId}/${fileId}_${fileAttributes.version}${fileAttributes.extension}`;
};