- Adds /recipe/:id page - (Almost!) fully designed and functional recipe view - Has steps, images, ingredients, peripheral info (work/wait time, rating, description, servings) - New colour scheme! Much more monotone but in a nice way (imo) - New font, not condensed - Several more smaller design changes Co-authored-by: june <self@breadone.net> Co-committed-by: june <self@breadone.net>
29 lines
621 B
JavaScript
29 lines
621 B
JavaScript
/// <reference path="../pb_data/types.d.ts" />
|
|
migrate((app) => {
|
|
const collection = app.findCollectionByNameOrId("pbc_3146854971")
|
|
|
|
// update collection data
|
|
unmarshal({
|
|
"createRule": "",
|
|
"deleteRule": "",
|
|
"listRule": "",
|
|
"updateRule": "",
|
|
"viewRule": ""
|
|
}, collection)
|
|
|
|
return app.save(collection)
|
|
}, (app) => {
|
|
const collection = app.findCollectionByNameOrId("pbc_3146854971")
|
|
|
|
// update collection data
|
|
unmarshal({
|
|
"createRule": null,
|
|
"deleteRule": null,
|
|
"listRule": null,
|
|
"updateRule": null,
|
|
"viewRule": null
|
|
}, collection)
|
|
|
|
return app.save(collection)
|
|
})
|