mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-04 11:44:47 +08:00
[local-private] require Rx from nylas-exports
This commit is contained in:
parent
3910799683
commit
b542edce02
11 changed files with 11 additions and 21 deletions
|
@ -1,5 +1,4 @@
|
||||||
import Rx from 'rx-lite';
|
import {Rx, Message, DatabaseStore} from 'nylas-exports';
|
||||||
import {Message, DatabaseStore} from 'nylas-exports';
|
|
||||||
|
|
||||||
export default class ActivityDataSource {
|
export default class ActivityDataSource {
|
||||||
buildObservable({openTrackingId, linkTrackingId, messageLimit}) {
|
buildObservable({openTrackingId, linkTrackingId, messageLimit}) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import Rx from 'rx-lite'
|
import {Rx, CalendarDataSource} from 'nylas-exports'
|
||||||
import {CalendarDataSource} from 'nylas-exports'
|
|
||||||
import ProposedTimeCalendarStore from '../proposed-time-calendar-store'
|
import ProposedTimeCalendarStore from '../proposed-time-calendar-store'
|
||||||
|
|
||||||
export default class ProposedTimeCalendarDataSource extends CalendarDataSource {
|
export default class ProposedTimeCalendarDataSource extends CalendarDataSource {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import Rx from 'rx-lite'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {DatabaseStore} from 'nylas-exports'
|
import {Rx, DatabaseStore} from 'nylas-exports'
|
||||||
|
|
||||||
import SalesforceIcon from '../shared-components/salesforce-icon'
|
import SalesforceIcon from '../shared-components/salesforce-icon'
|
||||||
import SalesforceObject from '../models/salesforce-object'
|
import SalesforceObject from '../models/salesforce-object'
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import Rx from 'rx-lite'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {ComponentRegistry, WorkspaceStore} from 'nylas-exports'
|
import {Rx, ComponentRegistry, WorkspaceStore} from 'nylas-exports'
|
||||||
|
|
||||||
// Worker to fetch new Salesforce objects
|
// Worker to fetch new Salesforce objects
|
||||||
import SalesforceDataReset from './salesforce-data-reset'
|
import SalesforceDataReset from './salesforce-data-reset'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import _ from 'underscore'
|
import _ from 'underscore'
|
||||||
import Rx from 'rx-lite'
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
Rx,
|
||||||
DatabaseStore,
|
DatabaseStore,
|
||||||
Thread,
|
Thread,
|
||||||
} from 'nylas-exports'
|
} from 'nylas-exports'
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import _ from 'underscore'
|
import _ from 'underscore'
|
||||||
import Rx from 'rx-lite'
|
import { Rx, AccountStore, DatabaseStore } from 'nylas-exports'
|
||||||
|
|
||||||
import { AccountStore, DatabaseStore } from 'nylas-exports'
|
|
||||||
import SalesforceObject from './models/salesforce-object'
|
import SalesforceObject from './models/salesforce-object'
|
||||||
|
|
||||||
class SalesforceRelatedObjectCache {
|
class SalesforceRelatedObjectCache {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import _ from 'underscore'
|
import _ from 'underscore'
|
||||||
import Rx from 'rx-lite'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {Thread, DatabaseStore} from 'nylas-exports'
|
import {Rx, Thread, DatabaseStore} from 'nylas-exports'
|
||||||
import SalesforceIcon from '../shared-components/salesforce-icon'
|
import SalesforceIcon from '../shared-components/salesforce-icon'
|
||||||
import SalesforceObject from '../models/salesforce-object'
|
import SalesforceObject from '../models/salesforce-object'
|
||||||
import {relatedSObjectsForThread} from '../related-object-helpers'
|
import {relatedSObjectsForThread} from '../related-object-helpers'
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
import _ from 'underscore'
|
import _ from 'underscore'
|
||||||
import Rx from 'rx-lite'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom'
|
import ReactDOM from 'react-dom'
|
||||||
|
|
||||||
import {RetinaImg, KeyCommandsRegion} from 'nylas-component-kit'
|
import {RetinaImg, KeyCommandsRegion} from 'nylas-component-kit'
|
||||||
import {Actions, FocusedContactsStore} from 'nylas-exports'
|
import {Rx, Actions, FocusedContactsStore} from 'nylas-exports'
|
||||||
|
|
||||||
import SalesforceEnv from '../salesforce-env'
|
import SalesforceEnv from '../salesforce-env'
|
||||||
import SalesforceObject from '../models/salesforce-object'
|
import SalesforceObject from '../models/salesforce-object'
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import Rx from 'rx-lite';
|
|
||||||
import React, {Component, PropTypes} from 'react';
|
import React, {Component, PropTypes} from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import {Actions, Message, DatabaseStore} from 'nylas-exports';
|
import {Rx, Actions, Message, DatabaseStore} from 'nylas-exports';
|
||||||
import {RetinaImg, ListensToObservable} from 'nylas-component-kit';
|
import {RetinaImg, ListensToObservable} from 'nylas-component-kit';
|
||||||
import SendRemindersPopover from './send-reminders-popover';
|
import SendRemindersPopover from './send-reminders-popover';
|
||||||
import {getLatestMessage, setMessageReminder, reminderDateForMessage} from './send-reminders-utils'
|
import {getLatestMessage, setMessageReminder, reminderDateForMessage} from './send-reminders-utils'
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import Rx from 'rx-lite'
|
|
||||||
import React, {Component, PropTypes} from 'react';
|
import React, {Component, PropTypes} from 'react';
|
||||||
import {RetinaImg} from 'nylas-component-kit';
|
import {RetinaImg} from 'nylas-component-kit';
|
||||||
import {Message, DatabaseStore, FocusedPerspectiveStore} from 'nylas-exports';
|
import {Rx, Message, DatabaseStore, FocusedPerspectiveStore} from 'nylas-exports';
|
||||||
import {getReminderLabel, getLatestMessageWithReminder, setMessageReminder} from './send-reminders-utils'
|
import {getReminderLabel, getLatestMessageWithReminder, setMessageReminder} from './send-reminders-utils'
|
||||||
import {PLUGIN_ID} from './send-reminders-constants';
|
import {PLUGIN_ID} from './send-reminders-constants';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import Rx from 'rx-lite'
|
|
||||||
import {
|
import {
|
||||||
|
Rx,
|
||||||
Thread,
|
Thread,
|
||||||
Message,
|
Message,
|
||||||
Actions,
|
Actions,
|
||||||
|
|
Loading…
Add table
Reference in a new issue