open-nomad/ui/app/serializers
Buck Doyle 4394c5b9ff
Add common serialiser abstractions (#8634)
This extracts some common API-idiosyncracy-handling patterns from model serialisers into properties that are processed by the application serialiser:

* arrayNullOverrides converts a null property value to an empty array
* mapToArray converts a map to an array of maps, using the original map keys as Name properties on the array maps
* separateNanos splits nanosecond-containing timestamps into millisecond timestamps and separate nanosecond properties
2020-08-20 12:14:49 -05:00
..
agent.js Add manually-converted classes 2020-06-15 10:14:26 -05:00
allocation.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
application.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
deployment.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
drain-strategy.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
evaluation.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
fragment.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-plan.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
job-scale.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
job-summary.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
job-version.js Add manually-converted classes 2020-06-15 10:14:26 -05:00
job.js Finish modeling behaviors within job scale events 2020-07-29 19:07:24 -07:00
namespace.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
network.js Add manually-converted classes 2020-06-15 10:14:26 -05:00
node-attributes.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
node-event.js Add manually-converted classes 2020-06-15 10:14:26 -05:00
node.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
plugin.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
policy.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
port.js Update UI to use new allocated ports fields (#8631) 2020-08-20 11:07:13 -04:00
reschedule-event.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
resources.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
scale-event.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
service.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
task-event.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
task-group-deployment-summary.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task-group-scale.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
task-group.js Add common serialiser abstractions (#8634) 2020-08-20 12:14:49 -05:00
task-state.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
token.js Add manually-converted classes 2020-06-15 10:14:26 -05:00
volume.js Remove superfluous uses of Object.freeze 2020-06-15 10:15:11 -05:00