Millwork
    Preparing search index...
    • The fields of a decorated model class, as the input of withDefaults from @warp-drive/legacy/model/migration-support: withDefaults(modelSchema('order', Order)). A legacy Model attribute cannot hold a shape (ADR 0003), so the class form makes a legacy-mode schema.

      Parameters

      • type: string
      • cls: new (...args: never[]) => unknown

      Returns { fields: GenericField[]; type: string }