Repository Public License
1{2 "entrypoint": "library",3 "id": "app_reading_list",4 "name": "Reading List",5 "objects": [6 {7 "id": "books",8 "name": "Books",9 "props": {10 "columns": [11 {12 "label": "Title",13 "name": "title",14 "required": true,15 "type": "text"16 },17 {18 "label": "Author",19 "name": "author",20 "type": "text"21 },22 {23 "default": "Want to Read",24 "label": "Status",25 "name": "status",26 "options": [27 "Want to Read",28 "Reading",29 "Finished"30 ],31 "required": true,32 "type": "text"33 },34 {35 "label": "Rating (1–5)",36 "name": "rating",37 "type": "integer"38 },39 {40 "label": "Finished On",41 "name": "finished_on",42 "type": "date"43 }44 ],45 "seed": [46 {47 "author": "Andy Weir",48 "finished_on": "2025-01-18",49 "rating": 5,50 "status": "Finished",51 "title": "Project Hail Mary"52 },53 {54 "author": "Kazuo Ishiguro",55 "finished_on": "2025-02-09",56 "rating": 4,57 "status": "Finished",58 "title": "The Remains of the Day"59 },60 {61 "author": "Susanna Clarke",62 "finished_on": "2025-02-27",63 "rating": 5,64 "status": "Finished",65 "title": "Piranesi"66 },67 {68 "author": "Daniel Kahneman",69 "finished_on": "2025-03-15",70 "rating": 3,71 "status": "Finished",72 "title": "Thinking, Fast and Slow"73 },74 {75 "author": "Ursula K. Le Guin",76 "status": "Reading",77 "title": "The Left Hand of Darkness"78 },79 {80 "author": "George Eliot",81 "status": "Want to Read",82 "title": "Middlemarch"83 },84 {85 "author": "Tara Westover",86 "finished_on": "2025-04-02",87 "rating": 4,88 "status": "Finished",89 "title": "Educated"90 },91 {92 "author": "Richard Powers",93 "status": "Want to Read",94 "title": "The Overstory"95 }96 ]97 },98 "provenance": {99 "source": "agent"100 },101 "schemaVersion": 1,102 "type": "prism.data.table",103 "version": 1104 },105 {106 "children": [107 "root"108 ],109 "id": "library",110 "name": "Reading List",111 "props": {112 "icon": "books.vertical"113 },114 "provenance": {115 "source": "agent"116 },117 "schemaVersion": 1,118 "type": "prism.page",119 "version": 1120 },121 {122 "children": [123 "notices",124 "toolbar",125 "split",126 "finishedChart"127 ],128 "id": "root",129 "props": {130 "align": "stretch",131 "grow": true,132 "padding": 16,133 "spacing": 12134 },135 "provenance": {136 "source": "agent"137 },138 "schemaVersion": 1,139 "type": "prism.stack",140 "version": 1141 },142 {143 "children": [144 "searchBox",145 "newBook"146 ],147 "id": "toolbar",148 "provenance": {149 "source": "agent"150 },151 "schemaVersion": 1,152 "type": "prism.toolbar",153 "version": 1154 },155 {156 "children": [157 "booksTable",158 "bookEditor"159 ],160 "id": "split",161 "props": {162 "direction": "horizontal",163 "grow": true164 },165 "provenance": {166 "source": "agent"167 },168 "schemaVersion": 1,169 "type": "prism.split",170 "version": 1171 },172 {173 "dependencies": [174 "books"175 ],176 "id": "finishedChart",177 "props": {178 "format": "number",179 "height": 220,180 "query": {181 "aggregates": [182 {183 "as": "books",184 "column": "id",185 "fn": "count"186 }187 ],188 "filters": [189 {190 "column": "status",191 "op": "eq",192 "value": "Finished"193 },194 {195 "column": "finished_on",196 "op": "ne",197 "value": ""198 }199 ],200 "groupBy": {201 "as": "month",202 "bucket": "month",203 "column": "finished_on"204 },205 "sort": [206 {207 "column": "month"208 }209 ],210 "table": "books"211 },212 "title": "Books finished per month",213 "tone": "accent",214 "x": "month",215 "y": "books"216 },217 "provenance": {218 "source": "agent"219 },220 "schemaVersion": 1,221 "type": "prism.chart.bar",222 "version": 1223 },224 {225 "id": "searchBox",226 "props": {227 "accessibilityLabel": "Search books by title or author",228 "placeholder": "Search title or author",229 "value": {230 "$bind": "search"231 },232 "width": 280233 },234 "provenance": {235 "source": "agent"236 },237 "schemaVersion": 1,238 "type": "prism.search",239 "version": 1240 },241 {242 "events": {243 "click": [244 {245 "key": "selectedBook",246 "type": "setState",247 "value": ""248 }249 ]250 },251 "id": "newBook",252 "props": {253 "icon": "plus",254 "style": "primary",255 "title": "New Book"256 },257 "provenance": {258 "source": "agent"259 },260 "schemaVersion": 1,261 "type": "prism.button",262 "version": 1263 },264 {265 "dependencies": [266 "books"267 ],268 "id": "booksTable",269 "props": {270 "columns": [271 {272 "column": "title",273 "title": "Title"274 },275 {276 "column": "author",277 "title": "Author"278 },279 {280 "column": "status",281 "format": "badge",282 "title": "Status"283 },284 {285 "align": "center",286 "column": "rating",287 "format": "number",288 "title": "Rating"289 },290 {291 "column": "finished_on",292 "format": "date",293 "title": "Finished On"294 }295 ],296 "emptyMessage": "Add a book with New Book, or clear the search.",297 "emptyTitle": "No books",298 "grow": true,299 "query": {300 "search": {301 "columns": [302 "title",303 "author"304 ],305 "text": {306 "$expr": "state.search"307 }308 },309 "sort": [310 {311 "column": "title"312 }313 ],314 "table": "books"315 },316 "selection": {317 "$bind": "selectedBook"318 }319 },320 "provenance": {321 "source": "agent"322 },323 "schemaVersion": 1,324 "type": "prism.table",325 "version": 1326 },327 {328 "events": {329 "deleted": [330 {331 "key": "selectedBook",332 "type": "setState",333 "value": ""334 },335 {336 "message": "Book deleted",337 "tone": "info",338 "type": "showNotification"339 }340 ],341 "saved": [342 {343 "message": "Book saved",344 "tone": "success",345 "type": "showNotification"346 }347 ]348 },349 "id": "bookEditor",350 "props": {351 "fields": [352 "title",353 "author",354 "status",355 "rating",356 "finished_on"357 ],358 "padding": 12,359 "recordId": {360 "$bind": "selectedBook"361 },362 "submitTitle": {363 "$expr": "isEmpty(state.selectedBook) ? 'Add Book' : 'Save'"364 },365 "table": "books",366 "width": 320367 },368 "provenance": {369 "source": "agent"370 },371 "schemaVersion": 1,372 "type": "prism.recordEditor",373 "version": 1374 },375 {376 "id": "notices",377 "provenance": {378 "source": "agent"379 },380 "schemaVersion": 1,381 "type": "prism.notification",382 "version": 1383 }384 ],385 "permissions": [386 "storage.local"387 ],388 "schemaVersion": 1,389 "state": {390 "search": "",391 "selectedBook": ""392 },393 "summary": "Track books with a reading status and rating, search them, and see how many books you finish each month.",394 "version": 1395}