mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
2b324c4533
Summary: Update a few more packages to deactivate properly Miscelaneous fixes Initial commit of new settings package WIP WIP - can load and unload and install / uninstall Click to create new boilerplate package, package updating Test Plan: Run tests Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D1582
79 lines
2.8 KiB
CoffeeScript
79 lines
2.8 KiB
CoffeeScript
Utils = require '../src/flux/models/utils'
|
|
|
|
{APIError,
|
|
OfflineError,
|
|
TimeoutError} = require '../src/flux/errors'
|
|
|
|
Exports =
|
|
|
|
React: require 'react'
|
|
BufferedProcess: require '../src/buffered-process'
|
|
BufferedNodeProcess: require '../src/buffered-node-process'
|
|
|
|
# The Task Queue
|
|
Task: require '../src/flux/tasks/task'
|
|
TaskQueue: require '../src/flux/stores/task-queue'
|
|
|
|
# Tasks
|
|
CreateMetadataTask: require '../src/flux/tasks/create-metadata-task'
|
|
DestroyMetadataTask: require '../src/flux/tasks/destroy-metadata-task'
|
|
|
|
# The Database
|
|
DatabaseStore: require '../src/flux/stores/database-store'
|
|
ModelView: require '../src/flux/stores/model-view'
|
|
DatabaseView: require '../src/flux/stores/database-view'
|
|
SearchView: require '../src/flux/stores/search-view'
|
|
|
|
# Actions
|
|
Actions: require '../src/flux/actions'
|
|
|
|
# API Endpoints
|
|
NylasAPI: require '../src/flux/nylas-api'
|
|
EdgehillAPI: require '../src/flux/edgehill-api'
|
|
|
|
# Testing
|
|
NylasTestUtils: require '../spec-nylas/test_utils'
|
|
|
|
# Component Registry
|
|
ComponentRegistry: require '../src/component-registry'
|
|
|
|
# Utils
|
|
Utils: Utils
|
|
MessageUtils: require '../src/flux/models/message-utils'
|
|
|
|
# Mixins
|
|
UndoManager: require '../src/flux/undo-manager'
|
|
|
|
PriorityUICoordinator: require '../src/priority-ui-coordinator'
|
|
|
|
# Stores
|
|
DraftStore: require '../src/flux/stores/draft-store'
|
|
DraftStoreExtension: require '../src/flux/stores/draft-store-extension'
|
|
MessageStore: require '../src/flux/stores/message-store'
|
|
ContactStore: require '../src/flux/stores/contact-store'
|
|
MetadataStore: require '../src/flux/stores/metadata-store'
|
|
NamespaceStore: require '../src/flux/stores/namespace-store'
|
|
AnalyticsStore: require '../src/flux/stores/analytics-store'
|
|
WorkspaceStore: require '../src/flux/stores/workspace-store'
|
|
FocusedTagStore: require '../src/flux/stores/focused-tag-store'
|
|
FocusedContentStore: require '../src/flux/stores/focused-content-store'
|
|
FileUploadStore: require '../src/flux/stores/file-upload-store'
|
|
FileDownloadStore: require '../src/flux/stores/file-download-store'
|
|
FocusedContactsStore: require '../src/flux/stores/focused-contacts-store'
|
|
|
|
# Errors
|
|
APIError: APIError
|
|
OfflineError: OfflineError
|
|
TimeoutError: TimeoutError
|
|
|
|
## TODO move to inside of individual Salesforce package. See https://trello.com/c/tLAGLyeb/246-move-salesforce-models-into-individual-package-db-models-for-packages-various-refactors
|
|
SalesforceAssociation: require '../src/flux/models/salesforce-association'
|
|
SalesforceSearchResult: require '../src/flux/models/salesforce-search-result'
|
|
SalesforceObject: require '../src/flux/models/salesforce-object'
|
|
SalesforceSchema: require '../src/flux/models/salesforce-schema'
|
|
|
|
# Also include all of the model classes
|
|
for key, klass of Utils.modelClassMap()
|
|
Exports[klass.name] = klass
|
|
|
|
module.exports = Exports
|