You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Converted models and services to TypeScript
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const EncryptionService = require('../../services/EncryptionService');
|
||||
const EncryptionService = require('../../services/EncryptionService').default;
|
||||
const { _ } = require('../../locale');
|
||||
const BaseItem = require('../../models/BaseItem.js');
|
||||
const BaseItem = require('../../models/BaseItem').default;
|
||||
const Setting = require('../../models/Setting').default;
|
||||
const MasterKey = require('../../models/MasterKey.js');
|
||||
const MasterKey = require('../../models/MasterKey').default;
|
||||
const { reg } = require('../../registry.js');
|
||||
const shim = require('../../shim').default;
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
const { reg } = require('../../registry.js');
|
||||
const Folder = require('../../models/Folder.js');
|
||||
const Folder = require('../../models/Folder').default;
|
||||
const BaseModel = require('../../BaseModel').default;
|
||||
const Note = require('../../models/Note.js');
|
||||
const Resource = require('../../models/Resource.js');
|
||||
const ResourceFetcher = require('../../services/ResourceFetcher.js');
|
||||
const DecryptionWorker = require('../../services/DecryptionWorker.js');
|
||||
const Note = require('../../models/Note').default;
|
||||
const Resource = require('../../models/Resource').default;
|
||||
const ResourceFetcher = require('../../services/ResourceFetcher').default;
|
||||
const DecryptionWorker = require('../../services/DecryptionWorker').default;
|
||||
const Setting = require('../../models/Setting').default;
|
||||
const Mutex = require('async-mutex').Mutex;
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
const Setting = require('../../models/Setting').default;
|
||||
const Tag = require('../../models/Tag');
|
||||
const Tag = require('../../models/Tag').default;
|
||||
const BaseModel = require('../../BaseModel').default;
|
||||
const Note = require('../../models/Note');
|
||||
const Note = require('../../models/Note').default;
|
||||
const { reg } = require('../../registry.js');
|
||||
const ResourceFetcher = require('../../services/ResourceFetcher');
|
||||
const DecryptionWorker = require('../../services/DecryptionWorker');
|
||||
const ResourceFetcher = require('../../services/ResourceFetcher').default;
|
||||
const DecryptionWorker = require('../../services/DecryptionWorker').default;
|
||||
const eventManager = require('../../eventManager').default;
|
||||
|
||||
const reduxSharedMiddleware = async function(store, next, action) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Folder = require('../../models/Folder');
|
||||
const Folder = require('../../models/Folder').default;
|
||||
const BaseModel = require('../../BaseModel').default;
|
||||
|
||||
const shared = {};
|
||||
|
||||
Reference in New Issue
Block a user