mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
12 lines
279 B
Text
12 lines
279 B
Text
|
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;
|
||
|
}
|
||
|
}
|