daytonajs-mvc 0.0.3

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/index.js ADDED
@@ -0,0 +1,13 @@
1
+ // index.js:
2
+
3
+ "use strict";
4
+
5
+ require("daytonajs-say");
6
+
7
+ const application = require("./lib/application.js");
8
+ const ApplicationController = require("./lib/applicationController.js");
9
+ const ApplicationDatabase = require("./lib/applicationDatabase.js");
10
+ const ApplicationRouter = require("./lib/applicationRouter.js");
11
+ const ApplicationService = require("./lib/applicationService.js");
12
+ const RowModel = require("./lib/rowModel.js");
13
+ const TableModel = require("./lib/tableModel.js");
@@ -0,0 +1,5 @@
1
+ // application.js:
2
+
3
+ class application {}
4
+
5
+ module.exports = application;
@@ -0,0 +1,7 @@
1
+ // /lib/applicationController.js:
2
+
3
+ "use strict";
4
+
5
+ class ApplicationController {}
6
+
7
+ module.exports = ApplicationController;
@@ -0,0 +1,9 @@
1
+ // lib/applicationDatabase.js:
2
+
3
+ "use strict";
4
+
5
+ const Database = require("daytonajs-orm");
6
+
7
+ class ApplicationDatabase extends Database {}
8
+
9
+ module.exports = ApplicationDatabase;
@@ -0,0 +1,7 @@
1
+ // /lib/applicationRouter.js:
2
+
3
+ "use strict";
4
+
5
+ class applicationRouter {}
6
+
7
+ module.exports = applicationRouter;
@@ -0,0 +1,7 @@
1
+ // /lib/applicationService.js:
2
+
3
+ "use strict";
4
+
5
+ class ApplicationService {}
6
+
7
+ module.exports = ApplicationService;
@@ -0,0 +1,9 @@
1
+ // /lib/rowModel.js:
2
+
3
+ "use strict";
4
+
5
+ const RowDataGateway = require("daytonajs-orm");
6
+
7
+ class RowModel extends RowDataGateway {}
8
+
9
+ module.exports = RowModel;
@@ -0,0 +1,9 @@
1
+ // /lib/TableModel.js:
2
+
3
+ "use strict";
4
+
5
+ const TableDataGateway = require("daytonajs-orm");
6
+
7
+ class TableModel extends TableDataGateway {}
8
+
9
+ module.exports = TableModel;
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "daytonajs-mvc",
3
+ "version": "0.0.3",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "dev": "NODE_ENV=development nodemon index.js --watch .",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "keywords": [],
11
+ "author": "",
12
+ "license": "ISC",
13
+ "type": "commonjs",
14
+ "devDependencies": {
15
+ "daytonajs-say": "^0.0.1"
16
+ },
17
+ "dependencies": {
18
+ "daytonajs-config": "^0.0.2",
19
+ "daytonajs-orm": "^0.0.1"
20
+ }
21
+ }