Closed jimlambie closed 5 years ago
{ key: 'car_makes', name: 'Makes datasource', source: [Object], paginate: true, compose: "all", count: 20, search: {}, filter: {} }
Both the following examples will work:
{ "page": { "name": "index" }, "routes": [ { "path": "/" } ] }
{ "routes": [ { "path": "/" } ] }
{ datasource: { key: 'car_makes', name: 'Makes datasource', source: [Object], paginate: true, compose: "all", count: 20, search: {}, filter: {} } }
Close #263 Close #438 Close #479
Allow flattened datasource specification files, to match the page specification files. This is backwards compatible, the datasource property is added internally.
Allow page specification files without the "page" block, using the filename as the page name internally.
Both the following examples will work:
Allow "composed" option in datasources. The value will be added to the API endpoint.
Close #263 Close #438 Close #479