mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -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))))
|
(db/insert-multi! pool :audit-log event-columns events))))
|
||||||
|
|
||||||
(def schema:event
|
(def schema:event
|
||||||
[:schema {:registry
|
|
||||||
{::valid-any [:or ::sm/inst :int :double [:string {:max 250}]]}}
|
|
||||||
[:map {:title "Event"}
|
[:map {:title "Event"}
|
||||||
[:name [:string {:max 250}]]
|
[:name [:string {:max 250}]]
|
||||||
[:type [:string {:max 250}]]
|
[:type [:string {:max 250}]]
|
||||||
[:props
|
[:props
|
||||||
[:map-of :keyword ::valid-any]]
|
[:map-of :keyword :any]]
|
||||||
[:context {:optional true}
|
[:context {:optional true}
|
||||||
[:map-of :keyword ::valid-any]]]])
|
[:map-of :keyword :any]]])
|
||||||
|
|
||||||
(def schema:push-audit-events
|
(def schema:push-audit-events
|
||||||
[:map {:title "push-audit-events"}
|
[:map {:title "push-audit-events"}
|
||||||
|
|
Loading…
Add table
Reference in a new issue