Skip to content

Instantly share code, notes, and snippets.

@grdryn
Last active April 18, 2017 13:43
Show Gist options
  • Save grdryn/49f931a0975a7c11a1de88e98bb0c78e to your computer and use it in GitHub Desktop.
Save grdryn/49f931a0975a7c11a1de88e98bb0c78e to your computer and use it in GitHub Desktop.
SyncRecords response
{ create:
{ HJ8QkzOSH:
{ data:
{ id: 'HJ8QkzOSH',
title: 'Static forms',
_id: '58f5f79ae5bde967e38a847e',
steps:
[ { updatedAt: '2017-04-18T11:25:14.914Z',
createdAt: '2017-04-18T11:25:14.914Z',
code: 'risk-assessment',
name: 'Risk Assessment',
templates:
{ form: '<risk-assessment-form></risk-assessment-form>',
view: '<risk-assessment value="result.submission"></risk-assessment>' } },
{ updatedAt: '2017-04-18T11:25:14.914Z',
createdAt: '2017-04-18T11:25:14.914Z',
code: 'vehicle-inspection',
name: 'Vehicle Inspection',
templates:
{ form: '<vehicle-inspection-form></vehicle-inspection-form>',
view: '<vehicle-inspection value="result.submission"></vehicle-inspection>' } } ] } },
B1r71fOBr:
{ data:
{ id: 'B1r71fOBr',
title: 'App forms',
_id: '58f5f79ae5bde967e38a847f',
steps:
[ { updatedAt: '2017-04-18T11:25:14.919Z',
createdAt: '2017-04-18T11:25:14.919Z',
code: 'identification',
name: 'Identification' },
{ updatedAt: '2017-04-18T11:25:14.919Z',
createdAt: '2017-04-18T11:25:14.919Z',
code: 'signoff',
name: 'Signoff' } ] } },
SyVXyMuSr:
{ data:
{ id: 'SyVXyMuSr',
title: 'Mixed forms',
_id: '58f5f79ae5bde967e38a8480',
steps:
[ { updatedAt: '2017-04-18T11:25:14.922Z',
createdAt: '2017-04-18T11:25:14.922Z',
code: 'signoff',
name: 'Sign-off Workorder' },
{ updatedAt: '2017-04-18T11:25:14.922Z',
createdAt: '2017-04-18T11:25:14.922Z',
code: 'risk-assessment',
name: 'Risk Assessment',
templates:
{ form: '<risk-assessment-form></risk-assessment-form>',
view: '<risk-assessment value="result.submission"></risk-assessment>' } },
{ updatedAt: '2017-04-18T11:25:14.922Z',
createdAt: '2017-04-18T11:25:14.922Z',
code: 'vehicle-inspection',
name: 'Vehicle Inspection',
templates:
{ form: '<vehicle-inspection-form></vehicle-inspection-form>',
view: '<vehicle-inspection value="result.submission"></vehicle-inspection>' } } ] } } },
update: {},
delete: {} }
{ create:
{ B1r71fOBr:
{ _id: '58f5effcbbfe2ff110976540',
data:
{ id: 'B1r71fOBr',
title: 'App forms',
_id: '58f5f01a8bbd7d5d93ee7278',
steps:
[ { updatedAt: '2017-04-18T10:53:14.279Z',
createdAt: '2017-04-18T10:53:14.279Z',
code: 'identification',
name: 'Identification' },
{ updatedAt: '2017-04-18T10:53:14.279Z',
createdAt: '2017-04-18T10:53:14.279Z',
code: 'signoff',
name: 'Signoff' } ] },
hash: null,
refs: [ 'workflows_97d170e1550eee4afc0af065b78cda302a97674c' ],
uid: 'B1r71fOBr' },
HJ8QkzOSH:
{ _id: '58f5effcbbfe2ff11097653f',
data:
{ id: 'HJ8QkzOSH',
title: 'Static forms',
_id: '58f5f01a8bbd7d5d93ee7277',
steps:
[ { updatedAt: '2017-04-18T10:53:14.273Z',
createdAt: '2017-04-18T10:53:14.273Z',
code: 'risk-assessment',
name: 'Risk Assessment',
templates:
{ form: '<risk-assessment-form></risk-assessment-form>',
view: '<risk-assessment value="result.submission"></risk-assessment>' } },
{ updatedAt: '2017-04-18T10:53:14.273Z',
createdAt: '2017-04-18T10:53:14.273Z',
code: 'vehicle-inspection',
name: 'Vehicle Inspection',
templates:
{ form: '<vehicle-inspection-form></vehicle-inspection-form>',
view: '<vehicle-inspection value="result.submission"></vehicle-inspection>' } } ] },
hash: null,
refs: [ 'workflows_97d170e1550eee4afc0af065b78cda302a97674c' ],
uid: 'HJ8QkzOSH' },
SyVXyMuSr:
{ _id: '58f5effcbbfe2ff110976541',
data:
{ id: 'SyVXyMuSr',
title: 'Mixed forms',
_id: '58f5f01a8bbd7d5d93ee7279',
steps:
[ { updatedAt: '2017-04-18T10:53:14.282Z',
createdAt: '2017-04-18T10:53:14.282Z',
code: 'signoff',
name: 'Sign-off Workorder' },
{ updatedAt: '2017-04-18T10:53:14.282Z',
createdAt: '2017-04-18T10:53:14.282Z',
code: 'risk-assessment',
name: 'Risk Assessment',
templates:
{ form: '<risk-assessment-form></risk-assessment-form>',
view: '<risk-assessment value="result.submission"></risk-assessment>' } },
{ updatedAt: '2017-04-18T10:53:14.282Z',
createdAt: '2017-04-18T10:53:14.282Z',
code: 'vehicle-inspection',
name: 'Vehicle Inspection',
templates:
{ form: '<vehicle-inspection-form></vehicle-inspection-form>',
view: '<vehicle-inspection value="result.submission"></vehicle-inspection>' } } ] },
hash: null,
refs: [ 'workflows_97d170e1550eee4afc0af065b78cda302a97674c' ],
uid: 'SyVXyMuSr' } },
update: {},
delete: {},
hash: '7f29f7707a84f8ac361cecf05cebc94f5b9a20b9_0' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment