cms/app-client/mirage/serializers/sparse-document.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 04 Jul 2016 19:21:37 +0200
changeset 222 0eba8101b129
parent 173 cf7b221238fd
child 229 744379451219
permissions -rw-r--r--
Add fields to sparse-document Add duration, author to playlist-component row Style playlist-component rows
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
// mirage/serializers/blog-post.js
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import BaseSerializer from './application';
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
export default BaseSerializer.extend({
222
0eba8101b129 Add fields to sparse-document
Chloe Laisne <chloe.laisne@gmail.com>
parents: 173
diff changeset
     5
    attrs: ['id', 'title', 'language', 'url', 'issued', 'modified', 'publishers', 'mediaArray']
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
});