summaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-02 18:38:12 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-02 18:38:30 +0100
commiteed359e2b6d35fe444353f115237d41d6acad9dc (patch)
tree5e90cb767cf7e87555890318e7f103d9e78cf568 /Readme.md
parentee364381107827718c90fa359055be8e525fe386 (diff)
improving display options to the admin view
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index 9d146e0..8fa5a0d 100644
--- a/Readme.md
+++ b/Readme.md
@@ -73,6 +73,31 @@ Valid datatypes include:
- double-captioned-image-list
- meta
+### Notes
+
+- ALL records should have a title. this is used to generate the ID.
+- add an `alias` attribute to retitle fields in the admin view
+- foreign keys: list `key` attribute pointing at the other table
+
+### Dashboard resources
+
+```
+ dashboard: {
+ resources: {
+ flour: {
+ display: "image",
+ },
+ bread: {
+ title: "type",
+ subtitle: "title",
+ },
+ artwork: {
+ groupBy: "artist",
+ },
+ },
+ },
+```
+
## Local S3
If you don't want to use S3 and you have enough disk space locally, you can just write them locally. Supply these options to the S3 service configuration (pathss with trailing slash!).