123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /**
- * Final results of integrator for a use case w/ multiple joins
- * with the data from the various fixtures.
- * @type {Object}
- */
- // NOTE
- // Currently unused, until the inner join feature is added
- // to prune keys of joined child rows. Otherwise there is a lot
- // of extra data that isn't worth writing short-term tests to compare against.
- module.exports = {
- // the `multiple.joins.js` fixture.
- 'multiple.joins': [{
- id: 10,
- subject: 'msgA',
- body: 'A test message.',
- from: [{
- email: 'sender@thatguy.com',
- subject: 'msgA',
- body: 'A test message.',
- from: 1,
- to: [
- [Object],
- [Object]
- ],
- '??????': 10
- }, {
- email: 'sender@thatguy.com',
- subject: 'msgB',
- body: 'Another test message.',
- from: 1,
- to: [],
- '??????': 20
- }],
- to: [{
- email: 'a@recipient.com',
- id: 2,
- subject: 'msgA',
- body: 'A test message.',
- from: 1
- }, {
- email: 'b@recipient.com',
- id: 3,
- subject: 'msgA',
- body: 'A test message.',
- from: 1
- }],
- cc: [{
- email: 'c@recipient.com',
- id: 4,
- subject: 'msgA',
- body: 'A test message.',
- from: [
- [Object],
- [Object]
- ],
- to: [
- [Object],
- [Object]
- ]
- }, {
- email: 'd@recipient.com',
- id: 5,
- subject: 'msgA',
- body: 'A test message.',
- from: [
- [Object],
- [Object]
- ],
- to: [
- [Object],
- [Object]
- ]
- }]
- }, {
- id: 20,
- subject: 'msgB',
- body: 'Another test message.',
- from: [],
- to: [],
- cc: []
- }, {
- id: 30,
- subject: 'msgC',
- body: 'Aint sent this one yet.',
- from: [{
- subject: 'msgC',
- body: 'Aint sent this one yet.',
- from: null,
- to: [],
- '??????': 30
- }],
- to: [],
- cc: []
- }]
- };
|