LaidFile beta
Interface of @v12-engine/client
ts
export interface LaidFile<T = unknown>A file laid over a view: what its fields were before (as the code said, with the files laid before it), the file, and whether the view's own code laid it (layFiles) or only the editor since (relayFile)
Members
code
ts
readonly code: Partial<GameView>;The view's fields as the code said them, before this file and the ones laid after it changed them
def
ts
readonly def: ViewFile<T>;The view definition the file was laid over (its name, reader and fields)
file
ts
readonly file: T;The file's parsed content as laid
read
ts
readonly read: boolean;Whether the view's own code laid the file; false when only the editor laid it since (relayFile)