Adding migrations and lot of work. Starting work on the demo scope

This commit is contained in:
2026-08-22 14:53:23 +02:00
parent 1893bf23af
commit 94ccbfd1b9
29 changed files with 1280 additions and 122 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ type MysteryDocument = {
body?: string[]
metadata?: Record<string, string>
asset?: string
requiredFlags?: string[]
}
type MysteryGraph = {
entry: string
@@ -81,7 +82,7 @@ export async function importMysteryTemplate(manifestPath: string, baseUrl = 'htt
width: uploaded?.width || 174, height: uploaded?.height || 145, rotation: 0, zIndex: uploaded?.zIndex || 1, hidden: false,
body: source.body || [], regions: [], assetId: uploaded?.assetId,
fileName: uploaded?.fileName, mimeType: uploaded?.mimeType, fileSize: uploaded?.fileSize,
fileType: source.fileType, metadata: source.metadata || {},
fileType: source.fileType, metadata: source.metadata || {}, requiredFlags: source.requiredFlags || [],
})
}