mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
⏪ Revert some changes to the audit validation
This commit is contained in:
parent
bf297539ae
commit
8f8d90abbc
1 changed files with 7 additions and 9 deletions
|
@ -51,15 +51,13 @@
|
|||
(db/insert-multi! pool :audit-log event-columns events))))
|
||||
|
||||
(def schema:event
|
||||
[:schema {:registry
|
||||
{::valid-any [:or ::sm/inst :int :double [:string {:max 250}]]}}
|
||||
[:map {:title "Event"}
|
||||
[:name [:string {:max 250}]]
|
||||
[:type [:string {:max 250}]]
|
||||
[:props
|
||||
[:map-of :keyword ::valid-any]]
|
||||
[:context {:optional true}
|
||||
[:map-of :keyword ::valid-any]]]])
|
||||
[:map {:title "Event"}
|
||||
[:name [:string {:max 250}]]
|
||||
[:type [:string {:max 250}]]
|
||||
[:props
|
||||
[:map-of :keyword :any]]
|
||||
[:context {:optional true}
|
||||
[:map-of :keyword :any]]])
|
||||
|
||||
(def schema:push-audit-events
|
||||
[:map {:title "push-audit-events"}
|
||||
|
|
Loading…
Add table
Reference in a new issue