getDeprecatedReason
constgetDeprecatedReason: (schema) =>Option.Option<string>
Defined in: packages/@livestore/common/dist/schema/EventDef/deprecated.d.ts:61
Checks if a schema has a deprecation annotation.
Parameters
Section titled “Parameters”schema
Section titled “schema”Schema.Top
The schema to check
Returns
Section titled “Returns”Option.Option<string>
The deprecation reason if deprecated, None otherwise