Mailspring/internal_packages/composer-scheduler/lib/proposal.es6
Evan Morikawa a1b5a23273 refactor(scheduler): move all event data into metadata
Summary: Moved events into metadata. Removed a lot of code

Test Plan: todo

Reviewers: juan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2866
2016-04-09 21:19:01 -04:00

12 lines
279 B
JavaScript

import {Utils} from 'nylas-exports'
export default class Proposal {
constructor(args = {}) {
this.id = Utils.generateFakeServerId();
Object.assign(this, args);
// This field is used by edgehill-server to lookup the proposals.
this.proposalId = this.id;
}
}