dvStudioPagesShape top-level constant

DVRecordShape const dvStudioPagesShape

A page as a record, keyed by its route: one shape for DVPageStore, the Studio API and the published-pages reader, so the three cannot disagree about the fields.

Implementation

const DVRecordShape dvStudioPagesShape = DVRecordShape(
  collection: dvStudioPagesTable,
  key: 'route',
  fields: <String, DVFieldType>{
    'route': DVFieldType.text,
    'title': DVFieldType.text,
    'document': DVFieldType.text,
  },
);