mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 06:51:37 +02: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
|
;; Task: Delete Executed Tasks
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
;; This tasks perform a cleanup of already executed tasks from the
|
||||||
|
;; database.
|
||||||
|
|
||||||
(s/def ::max-age ::dt/duration)
|
(s/def ::max-age ::dt/duration)
|
||||||
(s/def ::delete-completed-tasks
|
(s/def ::delete-completed-tasks
|
||||||
(s/keys :req-un [::max-age]))
|
(s/keys :req-un [::max-age]))
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
;; Task: Remove Media
|
;; 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 ::path ::us/not-empty-string)
|
||||||
(s/def ::props
|
(s/def ::props
|
||||||
(s/keys :req-un [::path]))
|
(s/keys :req-un [::path]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue