Skip to content

Commit

Permalink
Updated initData to enforce all fields being initialised to blank
Browse files Browse the repository at this point in the history
  • Loading branch information
kloudsoft91 committed Oct 20, 2023
1 parent 2c6bbf7 commit 63147ce
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions assets/data/initData.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
export default {
id: 0,
stipe_features: {},
gills: {},
cap_features: {}
"id": 0,
"tags": [],
"common_names": [],
"latin_names": [],
"maori_names": [],
"genus": "",
"description": "",
"lookalikes": [],
"lookalikes_description": "",
"links": [],
"nz_books": [],
"edibility": "",
"ecology": "",
"environment": "",
"time_of_year": [],
"native_or_introduced": "",
"photos": [],
"cap_features": {
"description": "",
"colour": [],
"diameter_min": null,
"diameter_max": null,
"thickness_min": null,
"thickness_max": null,
"texture": "",
"shape": []
},
"gills": {
"description": "",
"colour": [],
"attachment": "",
"spore_colour": ""
},
"stipe_features": {
"description": "",
"diameter_min": null,
"diameter_max": null,
"colour": [],
"length_min": null,
"length_max": null,
"bruising_colour": "na",
"type": ""
}
}

0 comments on commit 63147ce

Please sign in to comment.