All files / src owservable.ts

100% Statements 58/58
100% Branches 0/0
100% Functions 0/0
100% Lines 58/58

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127    1x     1x                               1x 1x 1x     1x 1x 1x     1x 1x 1x 1x 1x     1x     1x 1x     1x 1x 1x 1x 1x 1x 1x     1x 1x 1x 1x     1x     1x     1x                               1x 1x 1x     1x 1x 1x     1x 1x 1x 1x 1x     1x     1x 1x     1x 1x 1x 1x 1x 1x 1x     1x 1x 1x 1x     1x     1x 1x  
'use strict';
 
import OwservableClient from './owservable.client';
 
// _enums
import EStoreType from './_enums/store.type.enum';
 
// _types
import ConnectionManagerRefreshType from './_types/connection.manager.refresh.type';
import CronJobType from './_types/cronjob.type';
import StoreScopeType from './_types/store.scope.type';
import StoreSubscriptionConfigType from './_types/store.subscription.config.type';
import StoreSubscriptionUpdateType from './_types/store.subscription.update.type';
import SubscriptionMethodsType from './_types/subscription.methods.type';
import WatcherType from './_types/watcher.type';
import WorkerType from './_types/worker.type';
 
// auth
import IConnectionManager from './auth/i.connection.manager';
 
// functions
import initiateWorkers from './functions/initiate.workers';
import initiateCronjobs from './functions/initiate.cronjobs';
import initiateWatchers from './functions/initiate.watchers';
 
// functions action
import addActionCronjobs from './functions/action/add.action.cronjobs';
import addActionWatchers from './functions/action/add.action.watchers';
import addActionWorkers from './functions/action/add.action.workers';
 
// functions execute
import executeCronjob from './functions/execute/execute.cronjob';
import executeWatcher from './functions/execute/execute.watcher';
import executeWorker from './functions/execute/execute.worker';
import executeProcessesInFolder from './functions/execute/execute.processes.in.folder';
import executeOnFilesRecursively from './functions/execute/execute.on.files.recursively';
 
// middleware
import DataMiddlewareMap from './middleware/data.middleware.map';
 
// mongodb
import MongoDBConnector from './mongodb/mongodb.connector';
import CollectionsModelsMap from './mongodb/collections.models.map';
 
// mongodb functions
import processModels from './mongodb/functions/process.models';
import observableModel from './mongodb/functions/observable.model';
import observableDatabase from './mongodb/functions/observable.database';
import addIndexToAttributes from './mongodb/functions/index/add.index.to.attributes';
import addUpIndicesToAttributes from './mongodb/functions/index/add.up.indices.to.attributes';
import addDownIndicesToAttributes from './mongodb/functions/index/add.down.indices.to.attributes';
import addUpAndDownIndicesToAttributes from './mongodb/functions/index/add.up.and.down.indices.to.attributes';
 
// store
import AStore from './store/a.store';
import CountStore from './store/count.store';
import DocumentStore from './store/document.store';
import CollectionStore from './store/collection.store';
 
// store factories
import storeFactory from './store/factories/store.factory';
 
export {
	OwservableClient,
 
	// _enums
	EStoreType,
 
	// _types
	ConnectionManagerRefreshType,
	CronJobType,
	StoreScopeType,
	StoreSubscriptionConfigType,
	StoreSubscriptionUpdateType,
	SubscriptionMethodsType,
	WatcherType,
	WorkerType,
 
	// auth
	IConnectionManager,
 
	// functions
	initiateCronjobs,
	initiateWatchers,
	initiateWorkers,
 
	// functions action
	addActionCronjobs,
	addActionWatchers,
	addActionWorkers,
 
	// functions execute
	executeCronjob,
	executeWatcher,
	executeWorker,
	executeProcessesInFolder,
	executeOnFilesRecursively,
 
	// middleware
	DataMiddlewareMap,
 
	// mongodb
	MongoDBConnector,
	CollectionsModelsMap,
 
	// mongodb functions
	processModels,
	observableModel,
	observableDatabase,
	addIndexToAttributes,
	addUpIndicesToAttributes,
	addDownIndicesToAttributes,
	addUpAndDownIndicesToAttributes,
 
	// store
	AStore,
	CountStore,
	DocumentStore,
	CollectionStore,
 
	// store factories
	storeFactory
};
 
const Owservable = {};
export default Owservable;