Mailspring/spec-nylas/fixtures/packages
Evan Morikawa d2b979e716 refactor(models): Enables 3rd party plugins to add Models & Tasks
Summary:
Adding serialzable registry

Added DatabaseObjectRegistry

rename modelReviver to deserializeObject

Consolidate deserizlie

Get rid of model methods from Utils

DatabaseRegistry change notifications

Logic to throttle database refresh requests

Fixes in nylas-exports

Silent model setup

Continue to resolving the database setup phase for non main windows.

A packages `activate` method does not actually get called until the
DatabaseStore says that it's ready. This is necessary to ensure that a
package that introduces database changes has those schema changes take
hold before the activate happens.

However, in windows like the `onboarding` window that do not depend on a
database at all, there is no setup that is run and the promise use to
never resolve thereby making the packages never activate.

In this case, any external windows will go ahead and let their packages
activate.

Check subclass instead of instance!

Use the correct types for "messages" and "drafts"

Move Salesforce models

Proper references to Model and Attributes

Convert Salesforce stores to NylasStores and fix paths

Move database setup to DB

Test Plan: todo

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D1899
2015-08-19 16:25:56 -07:00
..
package-that-throws-an-exception add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-that-throws-on-activate add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-that-throws-on-deactivate add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-activation-commands add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-broken-keymap/keymaps add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-broken-package-json add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-config-defaults add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-config-schema add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-consumed-services add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-deactivate add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-deprecated-pane-item-method add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-empty-activation-commands add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-empty-keymap add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-empty-menu add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-grammars/grammars add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-incompatible-native-module add(specs): Empty folders and node_modules in spec fixture to fix specs 2015-06-03 10:23:54 -07:00
package-with-index add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-injection-selector/grammars add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-invalid-styles add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-keymaps/keymaps add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-keymaps-manifest add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-main add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-menus/menus add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-menus-manifest add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-models refactor(models): Enables 3rd party plugins to add Models & Tasks 2015-08-19 16:25:56 -07:00
package-with-provided-services add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-serialization add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-serialize-error add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-settings/settings add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-style-sheets-manifest add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-styles/styles add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-with-stylesheets-manifest add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
package-without-module add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-incomplete-ui-variables add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-index-css add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-index-less add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-invalid-styles add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-package-file add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-syntax-variables add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-with-ui-variables add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
theme-without-package-file/styles add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00