Skip to main content

Module papers

Module papers 

Source
Expand description

The papers wallet, for the window (docs/papers.md): the page, its form, a paper kept from a mail’s attachment or a file, its renewal planned as a task.

StructsΒ§

Choice πŸ”’
Family πŸ”’
PaperEdit πŸ”’
What the form gives back.
PaperView πŸ”’
PapersView πŸ”’

FunctionsΒ§

keep_checked πŸ”’
A file checked by the antivirus (an attachment), kept in the wallet’s folder; returns its path there, with a title and a kind guessed from its name.
plan_renewal πŸ”’
Its renewal, as a task in your usual list (your phone has it): from when renewing starts to the day it ends, with the steps known for its kind.
remove πŸ”’
A paper taken out; its file stays where it is.
save πŸ”’
A paper saved: new when id is empty; returns what went wrong, else β€œβ€.
view πŸ”’
The page, as JSON: the papers by family, the kinds to choose from.
view_of πŸ”’
wallet πŸ”’