feat(web): add account workspaces and signed content flows

This commit is contained in:
justme committed 2026-10-14 04:06:03 +08:00
1 parent 7b8d61d1ba
commit b5cf3d5958
117 files changed
+2789 -1674

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
/** Encrypted resource metadata v1. Account and structure DTOs are generated from the backend. */
export interface PublishedFile {
id: string;
kind: 'file';
threadId: string;
folderId?: string;
name: string;
mime: string;
size: number;
ts: number;
deviceId: string;
gated: boolean;
}
export type ResourceControl = { op: 'file.published'; item: PublishedFile };
export const WORKSPACE_APP = 'webdrop.workspace';