Skip to main content

max / makenotwork

1.7 KB · 50 lines History Blame Raw
1 # The copy at `/dashboard/export`, which is words and routes and nothing else.
2 #
3 # Read at build time by the `declare!` in `src/quasi/export_portal.rs`. Editing
4 # this file is editing the page. See `content/policy.toml` for the split this
5 # follows.
6 #
7 # `filename` is what the reader's disk ends up with, and it is the name the
8 # endpoint itself sets in `Content-Disposition` rather than a shorter one
9 # invented here: a `data-saves` control renames the download, so the two
10 # disagreeing means the same export arrives under two names depending on which
11 # control started it.
12 #
13 # The order is the order the cards render in, which is the order the shipped
14 # template listed them.
15
16 [[direct]]
17 title = "Projects & Items"
18 description = "All your project and item metadata including titles, descriptions, prices, and tags."
19 meta = "JSON format"
20 route = "/api/export/projects"
21 filename = "makenot-work-projects.json"
22
23 [[direct]]
24 title = "Sales History"
25 description = "Record of all sales you've made, including dates, amounts, and item titles."
26 meta = "CSV format"
27 route = "/api/export/sales"
28 filename = "makenot-work-sales.csv"
29
30 [[direct]]
31 title = "Collaborator Payouts"
32 description = "Record of all revenue shared with collaborators on your projects, both incoming and outgoing."
33 meta = "CSV format"
34 route = "/api/export/splits"
35 filename = "makenot-work-splits.csv"
36
37 [[direct]]
38 title = "Purchase History"
39 description = "Record of all items you've purchased, for your personal records."
40 meta = "CSV format"
41 route = "/api/export/purchases"
42 filename = "makenot-work-purchases.csv"
43
44 [[direct]]
45 title = "Followers & Members"
46 description = "List of users who follow you or have memberships to your projects."
47 meta = "CSV format"
48 route = "/api/export/followers"
49 filename = "makenot-work-followers.csv"
50