mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
12 lines
389 B
JavaScript
12 lines
389 B
JavaScript
|
import ApplicationSerializer from './application';
|
||
|
import EmbeddedRecordsMixin from 'ember-data/serializers/embedded-records-mixin';
|
||
|
|
||
|
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
|
||
|
attrs: {
|
||
|
apiKeys: {embedded: 'always'},
|
||
|
webhooks: {embedded: 'always'},
|
||
|
createdAtUTC: {key: 'created_at'},
|
||
|
updatedAtUTC: {key: 'updated_at'}
|
||
|
}
|
||
|
});
|