owservable 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/lib/_types/watcher.type.d.ts +5 -0
- package/lib/_types/{observer.type.js → watcher.type.js} +1 -1
- package/lib/_types/watcher.type.js.map +1 -0
- package/lib/functions/initiate.watchers.d.ts +2 -0
- package/lib/functions/{initiate.observers.js → initiate.watchers.js} +10 -10
- package/lib/functions/initiate.watchers.js.map +1 -0
- package/lib/owservable.d.ts +4 -4
- package/lib/owservable.js +4 -4
- package/lib/owservable.js.map +1 -1
- package/lib/routing/functions/add.fastify.routes.d.ts +1 -1
- package/lib/routing/functions/add.fastify.routes.js +2 -8
- package/lib/routing/functions/add.fastify.routes.js.map +1 -1
- package/package.json +1 -1
- package/lib/_types/observer.type.d.ts +0 -5
- package/lib/_types/observer.type.js.map +0 -1
- package/lib/functions/initiate.observers.d.ts +0 -2
- package/lib/functions/initiate.observers.js.map +0 -1
package/README.md
CHANGED
|
@@ -48,11 +48,11 @@ This is a map of all defined Data Middleware methods.
|
|
|
48
48
|
A Data Middleware is tied to a store scope ```'count' | 'one' | 'many'``` and collection name and is used to modify an observed payload if necessary. For example, if based on users
|
|
49
49
|
access permissions a portion of the payload needs to be removed or replaced, etc.
|
|
50
50
|
|
|
51
|
-
###
|
|
51
|
+
### initiateWatchers
|
|
52
52
|
|
|
53
|
-
Method that initiates all
|
|
53
|
+
Method that initiates all watchers. Takes the project root folder path and a global folder name for the watchers.
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Watchers can either perform simple tasks or add jobs to a queue, to be processed by the workers.
|
|
56
56
|
|
|
57
57
|
### initiateCronjobs
|
|
58
58
|
|
|
@@ -142,8 +142,8 @@ Store factory method, creates an appropriate AStore instance based on passed sub
|
|
|
142
142
|
These types are self explanatory.
|
|
143
143
|
|
|
144
144
|
- CronJobType
|
|
145
|
+
- WatcherType
|
|
145
146
|
- WorkerType
|
|
146
|
-
- ObserverType
|
|
147
147
|
- StoreScopeType
|
|
148
148
|
- StoreSubscriptionConfigType
|
|
149
149
|
- StoreSubscriptionUpdateType
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"watcher.type.js","sourceRoot":"","sources":["../../src/_types/watcher.type.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC"}
|
|
@@ -4,24 +4,24 @@ const fs = require("fs");
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
const lodash_1 = require("lodash");
|
|
6
6
|
const get_subfolder_paths_by_folder_name_1 = require("./get.subfolder.paths.by.folder.name");
|
|
7
|
-
const
|
|
7
|
+
const _initiateWatchers = (folder) => {
|
|
8
8
|
const subfolderNames = fs.readdirSync(folder);
|
|
9
9
|
const files = (0, lodash_1.filter)(subfolderNames, (name) => !fs.lstatSync(path.join(folder, name)).isDirectory());
|
|
10
10
|
(0, lodash_1.each)(files, (file) => {
|
|
11
11
|
const absoluteFilePath = path.join(folder, file);
|
|
12
|
-
const
|
|
13
|
-
const { init,
|
|
12
|
+
const watcher = require(absoluteFilePath).default;
|
|
13
|
+
const { init, watch } = watcher;
|
|
14
14
|
if ((0, lodash_1.isFunction)(init))
|
|
15
|
-
init().then(() =>
|
|
15
|
+
init().then(() => watch === null || watch === void 0 ? void 0 : watch());
|
|
16
16
|
else
|
|
17
|
-
|
|
17
|
+
watch === null || watch === void 0 ? void 0 : watch();
|
|
18
18
|
});
|
|
19
19
|
const folders = (0, lodash_1.filter)(subfolderNames, (name) => fs.lstatSync(path.join(folder, name)).isDirectory());
|
|
20
|
-
(0, lodash_1.each)(folders, (sub) =>
|
|
20
|
+
(0, lodash_1.each)(folders, (sub) => _initiateWatchers(path.join(folder, sub)));
|
|
21
21
|
};
|
|
22
|
-
const
|
|
22
|
+
const initiateWatchers = (root, name = 'watchers') => {
|
|
23
23
|
const folders = (0, get_subfolder_paths_by_folder_name_1.default)(root, name);
|
|
24
|
-
(0, lodash_1.each)(folders,
|
|
24
|
+
(0, lodash_1.each)(folders, _initiateWatchers);
|
|
25
25
|
};
|
|
26
|
-
exports.default =
|
|
27
|
-
//# sourceMappingURL=initiate.
|
|
26
|
+
exports.default = initiateWatchers;
|
|
27
|
+
//# sourceMappingURL=initiate.watchers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initiate.watchers.js","sourceRoot":"","sources":["../../src/functions/initiate.watchers.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,yBAAyB;AACzB,6BAA6B;AAE7B,mCAAgD;AAGhD,6FAAiF;AAEjF,MAAM,iBAAiB,GAAG,CAAC,MAAc,EAAQ,EAAE;IAClD,MAAM,cAAc,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9C,MAAM,KAAK,GAAG,IAAA,eAAM,EAAC,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IACrG,IAAA,aAAI,EAAC,KAAK,EAAE,CAAC,IAAY,EAAE,EAAE;QAC5B,MAAM,gBAAgB,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACjD,MAAM,OAAO,GAAgB,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC;QAE/D,MAAM,EAAC,IAAI,EAAE,KAAK,EAAC,GAAG,OAAO,CAAC;QAC9B,IAAI,IAAA,mBAAU,EAAC,IAAI,CAAC;YAAE,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,EAAI,CAAC,CAAC;;YAC9C,KAAK,aAAL,KAAK,uBAAL,KAAK,EAAI,CAAC;IAChB,CAAC,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,IAAA,eAAM,EAAC,cAAc,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAC9G,IAAA,aAAI,EAAC,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,OAAe,UAAU,EAAQ,EAAE;IAC1E,MAAM,OAAO,GAAa,IAAA,4CAA6B,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACpE,IAAA,aAAI,EAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;AAClC,CAAC,CAAC;AACF,kBAAe,gBAAgB,CAAC"}
|
package/lib/owservable.d.ts
CHANGED
|
@@ -2,20 +2,20 @@ import OwservableClient from './owservable.client';
|
|
|
2
2
|
import EStoreType from './_enums/store.type.enum';
|
|
3
3
|
import ConnectionManagerRefreshType from './_types/connection.manager.refresh.type';
|
|
4
4
|
import CronJobType from './_types/cronjob.type';
|
|
5
|
-
import ObserverType from './_types/observer.type';
|
|
6
5
|
import StoreScopeType from './_types/store.scope.type';
|
|
7
6
|
import StoreSubscriptionConfigType from './_types/store.subscription.config.type';
|
|
8
7
|
import StoreSubscriptionUpdateType from './_types/store.subscription.update.type';
|
|
8
|
+
import WatcherType from './_types/watcher.type';
|
|
9
9
|
import WorkerType from './_types/worker.type';
|
|
10
10
|
import IConnectionManager from './auth/i.connection.manager';
|
|
11
11
|
import initiateWorkers from './functions/initiate.workers';
|
|
12
12
|
import initiateCronjobs from './functions/initiate.cronjobs';
|
|
13
|
-
import
|
|
13
|
+
import initiateWatchers from './functions/initiate.watchers';
|
|
14
14
|
import getSubfolderPathsByFolderName from './functions/get.subfolder.paths.by.folder.name';
|
|
15
15
|
import DataMiddlewareMap from './middleware/data.middleware.map';
|
|
16
16
|
import MongoDBConnector from './mongodb/mongodb.connector';
|
|
17
17
|
import CollectionsModelsMap from './mongodb/collections.models.map';
|
|
18
|
-
import
|
|
18
|
+
import processModels from './mongodb/functions/process.models';
|
|
19
19
|
import observableModel from './mongodb/functions/observable.model';
|
|
20
20
|
import observableDatabase from './mongodb/functions/observable.database';
|
|
21
21
|
import RoutesMap from './routing/routes.map';
|
|
@@ -27,6 +27,6 @@ import CountStore from './store/count.store';
|
|
|
27
27
|
import DocumentStore from './store/document.store';
|
|
28
28
|
import CollectionStore from './store/collection.store';
|
|
29
29
|
import storeFactory from './store/factories/store.factory';
|
|
30
|
-
export { OwservableClient, EStoreType, ConnectionManagerRefreshType, CronJobType,
|
|
30
|
+
export { OwservableClient, EStoreType, ConnectionManagerRefreshType, CronJobType, StoreScopeType, StoreSubscriptionConfigType, StoreSubscriptionUpdateType, WatcherType, WorkerType, IConnectionManager, getSubfolderPathsByFolderName, initiateCronjobs, initiateWatchers, initiateWorkers, DataMiddlewareMap, MongoDBConnector, CollectionsModelsMap, processModels, observableModel, observableDatabase, RoutesMap, addFastifyRoutes, cleanRelativePath, processFastifyBlipp, AStore, CountStore, DocumentStore, CollectionStore, storeFactory };
|
|
31
31
|
declare const Owservable: {};
|
|
32
32
|
export default Owservable;
|
package/lib/owservable.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.storeFactory = exports.CollectionStore = exports.DocumentStore = exports.CountStore = exports.AStore = exports.processFastifyBlipp = exports.cleanRelativePath = exports.addFastifyRoutes = exports.RoutesMap = exports.observableDatabase = exports.observableModel = exports.
|
|
3
|
+
exports.storeFactory = exports.CollectionStore = exports.DocumentStore = exports.CountStore = exports.AStore = exports.processFastifyBlipp = exports.cleanRelativePath = exports.addFastifyRoutes = exports.RoutesMap = exports.observableDatabase = exports.observableModel = exports.processModels = exports.CollectionsModelsMap = exports.MongoDBConnector = exports.DataMiddlewareMap = exports.initiateWorkers = exports.initiateWatchers = exports.initiateCronjobs = exports.getSubfolderPathsByFolderName = exports.EStoreType = exports.OwservableClient = void 0;
|
|
4
4
|
const owservable_client_1 = require("./owservable.client");
|
|
5
5
|
exports.OwservableClient = owservable_client_1.default;
|
|
6
6
|
const store_type_enum_1 = require("./_enums/store.type.enum");
|
|
@@ -9,8 +9,8 @@ const initiate_workers_1 = require("./functions/initiate.workers");
|
|
|
9
9
|
exports.initiateWorkers = initiate_workers_1.default;
|
|
10
10
|
const initiate_cronjobs_1 = require("./functions/initiate.cronjobs");
|
|
11
11
|
exports.initiateCronjobs = initiate_cronjobs_1.default;
|
|
12
|
-
const
|
|
13
|
-
exports.
|
|
12
|
+
const initiate_watchers_1 = require("./functions/initiate.watchers");
|
|
13
|
+
exports.initiateWatchers = initiate_watchers_1.default;
|
|
14
14
|
const get_subfolder_paths_by_folder_name_1 = require("./functions/get.subfolder.paths.by.folder.name");
|
|
15
15
|
exports.getSubfolderPathsByFolderName = get_subfolder_paths_by_folder_name_1.default;
|
|
16
16
|
const data_middleware_map_1 = require("./middleware/data.middleware.map");
|
|
@@ -20,7 +20,7 @@ exports.MongoDBConnector = mongodb_connector_1.default;
|
|
|
20
20
|
const collections_models_map_1 = require("./mongodb/collections.models.map");
|
|
21
21
|
exports.CollectionsModelsMap = collections_models_map_1.default;
|
|
22
22
|
const process_models_1 = require("./mongodb/functions/process.models");
|
|
23
|
-
exports.
|
|
23
|
+
exports.processModels = process_models_1.default;
|
|
24
24
|
const observable_model_1 = require("./mongodb/functions/observable.model");
|
|
25
25
|
exports.observableModel = observable_model_1.default;
|
|
26
26
|
const observable_database_1 = require("./mongodb/functions/observable.database");
|
package/lib/owservable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"owservable.js","sourceRoot":"","sources":["../src/owservable.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAEb,2DAAmD;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C;AACtB,kBAAe,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const addFastifyRoutes: (fastify: any,
|
|
1
|
+
declare const addFastifyRoutes: (fastify: any, folder: string) => void;
|
|
2
2
|
export default addFastifyRoutes;
|
|
@@ -4,8 +4,6 @@ const fs = require("fs");
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
const _ = require("lodash");
|
|
6
6
|
const clean_relative_path_1 = require("./clean.relative.path");
|
|
7
|
-
const get_subfolder_paths_by_folder_name_1 = require("../../functions/get.subfolder.paths.by.folder.name");
|
|
8
|
-
const lodash_1 = require("lodash");
|
|
9
7
|
let routesRootFolder;
|
|
10
8
|
const METHODS = ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'PATCH'];
|
|
11
9
|
const _fixUrl = (url, relativeFilePath) => {
|
|
@@ -28,7 +26,7 @@ const _addRoute = (fastify, route, relativeFilePath) => {
|
|
|
28
26
|
if (_.isPlainObject(route) && METHODS.includes(route.method))
|
|
29
27
|
fastify.route(route);
|
|
30
28
|
};
|
|
31
|
-
const
|
|
29
|
+
const addFastifyRoutes = (fastify, folder) => {
|
|
32
30
|
if (!routesRootFolder)
|
|
33
31
|
routesRootFolder = folder;
|
|
34
32
|
const fileNames = fs.readdirSync(folder);
|
|
@@ -46,11 +44,7 @@ const _addFastifyRoutes = (fastify, folder) => {
|
|
|
46
44
|
_addRoute(fastify, route, relativeFilePath);
|
|
47
45
|
});
|
|
48
46
|
const folders = _.filter(fileNames, (name) => fs.lstatSync(path.join(folder, name)).isDirectory());
|
|
49
|
-
_.each(folders, (sub) =>
|
|
50
|
-
};
|
|
51
|
-
const addFastifyRoutes = (fastify, root, name = 'routes') => {
|
|
52
|
-
const folders = (0, get_subfolder_paths_by_folder_name_1.default)(root, name);
|
|
53
|
-
(0, lodash_1.each)(folders, (folder) => _addFastifyRoutes(fastify, folder));
|
|
47
|
+
_.each(folders, (sub) => addFastifyRoutes(fastify, path.join(folder, sub)));
|
|
54
48
|
};
|
|
55
49
|
exports.default = addFastifyRoutes;
|
|
56
50
|
//# sourceMappingURL=add.fastify.routes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.fastify.routes.js","sourceRoot":"","sources":["../../../src/routing/functions/add.fastify.routes.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,yBAAyB;AACzB,6BAA6B;AAE7B,4BAA4B;AAE5B,+DAAsD;
|
|
1
|
+
{"version":3,"file":"add.fastify.routes.js","sourceRoot":"","sources":["../../../src/routing/functions/add.fastify.routes.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,yBAAyB;AACzB,6BAA6B;AAE7B,4BAA4B;AAE5B,+DAAsD;AAEtD,IAAI,gBAAwB,CAAC;AAC7B,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AAE7E,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,gBAAwB,EAAU,EAAE;IACjE,GAAG,GAAG,gBAAgB,GAAG,GAAG,CAAC;IAC7B,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;IACtC,IAAI,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;QAAE,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACjD,OAAO,GAAG,CAAC;AACZ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,OAAY,EAAE,KAAU,EAAE,gBAAwB,EAAQ,EAAE;IAC9E,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC;IAE1C,MAAM,EAAC,GAAG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,CAAC;QACjD,MAAM,gBAAgB,GAAG,IAAA,6BAAiB,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,GAAG,CAAC,CAAC;QAEpF,MAAM,KAAK,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;QACxC,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;YAAE,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC;;YACpF,SAAS,CAAC,OAAO,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAC3G,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AACF,kBAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"observer.type.js","sourceRoot":"","sources":["../../src/_types/observer.type.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initiate.observers.js","sourceRoot":"","sources":["../../src/functions/initiate.observers.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,yBAAyB;AACzB,6BAA6B;AAE7B,mCAAgD;AAGhD,6FAAiF;AAEjF,MAAM,kBAAkB,GAAG,CAAC,MAAc,EAAQ,EAAE;IACnD,MAA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