Skip to content
module@warp-drive/legacy/model-fragments @legacy

Variable FragmentExtension ​

ts
const FragmentExtension: {
  features: typeof Fragment;
  kind: "object";
  name: "fragment";
};

Defined in: warp-drive-packages/legacy/src/model-fragments/extensions/fragment.ts:79

A schema extension that adds the Fragment API to migrated ModelFragments object resources.

Type Declaration ​

features ​

ts
features: typeof Fragment;

The features (Fragment) added by this extension.

kind ​

ts
kind: "object";

This extension applies to 'object' schemas.

name ​

ts
name: "fragment";

The registered name of this extension.

Released under the MIT License.