Adding migrations and lot of work. Starting work on the demo scope
This commit is contained in:
@@ -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 || [],
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user