Add missing fields to models
This commit is contained in:
parent
c2b8fe469f
commit
f8e787fcdd
|
@ -11,7 +11,7 @@ Commit = Model.extend
|
||||||
authorEmail: DS.attr()
|
authorEmail: DS.attr()
|
||||||
committerName: DS.attr()
|
committerName: DS.attr()
|
||||||
committerEmail: DS.attr()
|
committerEmail: DS.attr()
|
||||||
commitedAt: DS.attr()
|
committedAt: DS.attr()
|
||||||
|
|
||||||
build: DS.belongsTo('build')
|
build: DS.belongsTo('build')
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,9 @@ Job = Model.extend DurationCalculations,
|
||||||
_startedAt: DS.attr()
|
_startedAt: DS.attr()
|
||||||
_finishedAt: DS.attr()
|
_finishedAt: DS.attr()
|
||||||
allowFailure: DS.attr('boolean')
|
allowFailure: DS.attr('boolean')
|
||||||
|
tags: DS.attr()
|
||||||
|
|
||||||
|
repositoryPrivate: DS.attr()
|
||||||
|
|
||||||
repositorySlug: DS.attr()
|
repositorySlug: DS.attr()
|
||||||
repo: DS.belongsTo('repo', async: true)
|
repo: DS.belongsTo('repo', async: true)
|
||||||
|
|
|
@ -7,6 +7,7 @@ Serializer = ApplicationSerializer.extend
|
||||||
_config: { key: 'config' }
|
_config: { key: 'config' }
|
||||||
_finishedAt: { key: 'finished_at' }
|
_finishedAt: { key: 'finished_at' }
|
||||||
_startedAt: { key: 'started_at' }
|
_startedAt: { key: 'started_at' }
|
||||||
|
_duration: { key: 'duration' }
|
||||||
}
|
}
|
||||||
|
|
||||||
extractSingle: (store, primaryType, rawPayload, recordId) ->
|
extractSingle: (store, primaryType, rawPayload, recordId) ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user