Skip to content
Snippets Groups Projects
Unverified Commit 115d42c6 authored by Cal Herries's avatar Cal Herries Committed by GitHub
Browse files

Serdes for Actions (#27879)

* Whitespace

* Add Action to entities list

* Add entity_id column migration

* Correct migration ids

* Add entity-id property to action model

* Extract and serdes-dependencies for action

* storage for Action

* ingest for Action

* Generate for Action

* load for Action

* Remove comment

* Add entity_id to action submodels

* Add submodels to copy entities

* Add submodels to exported-models

* Add submodels to legal-top-level-paths

* Slufigy extracted label for action

* Extract for QueryAction

* Generate query_action

* Fix query_action extract test

* Add action subtype extract tests

* Update Action-subtype-IModel-impl docstring

* Generate ImplicitAction and HTTPAction

* Export and Import action_id FK with dashcards

* Generate nano-id

* Add load tests to e2e test

* Nest subtypes directories in actions

* Remove prn

* Add docstring

* Fix copy

* Add select-action fn

* Change extract tests to only extract Action model

* Update action/select-one tests

* Update legal-top-level-paths

* Rename select-action -> select-one

* Implement extract-one for Action only, not subtypes

* Move subtype models from exported to inlined

* Remove entity_id from subtypes

* Reuse type->model

* Ingest Action with inlined subtype info

* Fix serdes-dependencies for Action

* Add action to serdes-descendants for Dashboard

* Add docstring to action update!

* Reuse update! for PUT API

* Add missing ns

* Remove serdes-generate-path impl

* Tidy

* Sort ns

* Restore add-entity-id

* Update entity_id_test

* Undo refactor

* Include id in action arg for update!

* Delete action, with delete cascading to the subtype

* Fix clj-kondo warning

* Fix returning nil Action in dashboard serdes-descendants

* Braden's suggestions
parent 25d72cdb
No related branches found
No related tags found
No related merge requests found
Showing
with 536 additions and 224 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment