createManifestPatchDecoder
Callable
Parameters
manifest: ThemeManifest
Returns (input: Readonly<Record<string, unknown>>) => Readonly<Record<string, unknown>>
Parameters
input: Readonly<Record<string, unknown>>
Returns Readonly<Record<string, unknown>>
DOM-free mirror of
InspectedTheme.patchencoding: validates a source patch against manifest metadata and returns the canonical decoded value of every source it writes.