 		var inlineHtml: [String] = []
 	}
 
-	private struct SavedCache: Codable {
+	private struct SavedCacheEntry: Codable, FetchableRecord, TableRecord, PersistableRecord {
 		let fileId: Int
 		let fileVersion: Int
 		let chunks: [ChunkInfo]

	let previewId: Int
	let fileId: Int
	let workspace: AppWorkspace
	private var chunkInfo: [ChunkInfo] = []
	public var contentCached: Bool { return chunkInfo.count > 0 }
	public let _document: Property<RmdDocument?>

import ClientCore
import Networking
import MJLLogger
import GRDB

// siftlint:disable cyclomatic_complexity

