Skip to content
@legacy

Documentation / @warp-drive/legacy / model-fragments / withLegacy

Function: withLegacy()

ts
function withLegacy(schema): ResourceSchema;

Defined in: warp-drive-packages/legacy/src/model-fragments/utilities/with-legacy.ts:6

Parameters

schema

WithPartial<LegacyResourceSchema, "identity" | "legacy">

Returns

ResourceSchema

Released under the MIT License.