mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
📚 Add some documentation comments to some tasks.
This commit is contained in:
parent
f5967c3c0a
commit
6800adfaa4
2 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,9 @@
|
|||
;; Task: Delete Executed Tasks
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;; This tasks perform a cleanup of already executed tasks from the
|
||||
;; database.
|
||||
|
||||
(s/def ::max-age ::dt/duration)
|
||||
(s/def ::delete-completed-tasks
|
||||
(s/keys :req-un [::max-age]))
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
;; Task: Remove Media
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;; Task responsible of explicit action of removing a media from file
|
||||
;; system. Mainly used for profile photo change; when we really know
|
||||
;; that the previous photo becomes unused.
|
||||
|
||||
(s/def ::path ::us/not-empty-string)
|
||||
(s/def ::props
|
||||
(s/keys :req-un [::path]))
|
||||
|
|
Loading…
Add table
Reference in a new issue