namirasoft-field-node 1.3.19 → 1.3.20
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/dist/NSFApplication.js
CHANGED
|
@@ -19,21 +19,21 @@ const Update_3 = require("./controller/entity_tag/Update");
|
|
|
19
19
|
class NSFApplication {
|
|
20
20
|
static getControllers(tables) {
|
|
21
21
|
return [
|
|
22
|
+
(app, req, res) => new List_1.List(app, req, res, tables),
|
|
23
|
+
(app, req, res) => new Get_1.Get(app, req, res, tables),
|
|
22
24
|
(app, req, res) => new Create_1.Create(app, req, res, tables),
|
|
23
25
|
(app, req, res) => new Delete_1.Delete(app, req, res, tables),
|
|
24
|
-
(app, req, res) => new Get_1.Get(app, req, res, tables),
|
|
25
|
-
(app, req, res) => new List_1.List(app, req, res, tables),
|
|
26
26
|
(app, req, res) => new Update_1.Update(app, req, res, tables),
|
|
27
|
-
(app, req, res) => new Create_2.Create(app, req, res, tables),
|
|
28
|
-
(app, req, res) => new Delete_2.Delete(app, req, res, tables),
|
|
29
|
-
(app, req, res) => new Get_2.Get(app, req, res, tables),
|
|
30
27
|
(app, req, res) => new List_2.List(app, req, res, tables),
|
|
28
|
+
(app, req, res) => new Get_2.Get(app, req, res, tables),
|
|
29
|
+
(app, req, res) => new Create_2.Create(app, req, res, tables),
|
|
31
30
|
(app, req, res) => new Update_2.Update(app, req, res, tables),
|
|
32
|
-
(app, req, res) => new
|
|
33
|
-
(app, req, res) => new Delete_3.Delete(app, req, res, tables),
|
|
34
|
-
(app, req, res) => new Get_3.Get(app, req, res, tables),
|
|
31
|
+
(app, req, res) => new Delete_2.Delete(app, req, res, tables),
|
|
35
32
|
(app, req, res) => new List_3.List(app, req, res, tables),
|
|
33
|
+
(app, req, res) => new Get_3.Get(app, req, res, tables),
|
|
34
|
+
(app, req, res) => new Create_3.Create(app, req, res, tables),
|
|
36
35
|
(app, req, res) => new Update_3.Update(app, req, res, tables),
|
|
36
|
+
(app, req, res) => new Delete_3.Delete(app, req, res, tables),
|
|
37
37
|
];
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSFApplication.js","sourceRoot":"","sources":["../src/NSFApplication.ts"],"names":[],"mappings":";;;AAIA,gEAAqF;AACrF,gEAAqF;AACrF,0DAA4E;AAC5E,4DAA+E;AAC/E,gEAAqF;AACrF,6DAA+E;AAC/E,6DAA+E;AAC/E,uDAAsE;AACtE,yDAAyE;AACzE,6DAA+E;AAC/E,2DAA2E;AAC3E,2DAA2E;AAC3E,qDAAkE;AAClE,uDAAqE;AACrE,2DAA2E;AAE3E,MAAa,cAAc;IAEvB,MAAM,CAAC,cAAc,CAAC,MAA8C;QAEhE,OAAO;YACH,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"NSFApplication.js","sourceRoot":"","sources":["../src/NSFApplication.ts"],"names":[],"mappings":";;;AAIA,gEAAqF;AACrF,gEAAqF;AACrF,0DAA4E;AAC5E,4DAA+E;AAC/E,gEAAqF;AACrF,6DAA+E;AAC/E,6DAA+E;AAC/E,uDAAsE;AACtE,yDAAyE;AACzE,6DAA+E;AAC/E,2DAA2E;AAC3E,2DAA2E;AAC3E,qDAAkE;AAClE,uDAAqE;AACrE,2DAA2E;AAE3E,MAAa,cAAc;IAEvB,MAAM,CAAC,cAAc,CAAC,MAA8C;QAEhE,OAAO;YACH,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,WAAkB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC;YAChE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,SAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC;YAC/D,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IA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G,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC;YAC7D,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC;YAC7D,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC;SAChE,CAAC;IACN,CAAC;CACJ;AAxBD,wCAwBC"}
|
package/package.json
CHANGED
package/src/NSFApplication.ts
CHANGED
|
@@ -23,21 +23,23 @@ export class NSFApplication
|
|
|
23
23
|
static getControllers(tables: FieldDatabaseTables<BaseMySqlDatabase>): ((app: NSABaseApplication<BaseMySqlDatabase>, req: express.Request, res: express.Response) => any)[]
|
|
24
24
|
{
|
|
25
25
|
return [
|
|
26
|
+
(app, req, res) => new EntityCategoryList(app, req, res, tables),
|
|
27
|
+
(app, req, res) => new EntityCategoryGet(app, req, res, tables),
|
|
26
28
|
(app, req, res) => new EntityCategoryCreate(app, req, res, tables),
|
|
27
29
|
(app, req, res) => new EntityCategoryDelete(app, req, res, tables),
|
|
28
|
-
(app, req, res) => new EntityCategoryGet(app, req, res, tables),
|
|
29
|
-
(app, req, res) => new EntityCategoryList(app, req, res, tables),
|
|
30
30
|
(app, req, res) => new EntityCategoryUpdate(app, req, res, tables),
|
|
31
|
-
|
|
32
|
-
(app, req, res) => new EntityFieldDelete(app, req, res, tables),
|
|
33
|
-
(app, req, res) => new EntityFieldGet(app, req, res, tables),
|
|
31
|
+
|
|
34
32
|
(app, req, res) => new EntityFieldList(app, req, res, tables),
|
|
33
|
+
(app, req, res) => new EntityFieldGet(app, req, res, tables),
|
|
34
|
+
(app, req, res) => new EntityFieldCreate(app, req, res, tables),
|
|
35
35
|
(app, req, res) => new EntityFieldUpdate(app, req, res, tables),
|
|
36
|
-
(app, req, res) => new
|
|
37
|
-
|
|
38
|
-
(app, req, res) => new EntityTagGet(app, req, res, tables),
|
|
36
|
+
(app, req, res) => new EntityFieldDelete(app, req, res, tables),
|
|
37
|
+
|
|
39
38
|
(app, req, res) => new EntityTagList(app, req, res, tables),
|
|
39
|
+
(app, req, res) => new EntityTagGet(app, req, res, tables),
|
|
40
|
+
(app, req, res) => new EntityTagCreate(app, req, res, tables),
|
|
40
41
|
(app, req, res) => new EntityTagUpdate(app, req, res, tables),
|
|
42
|
+
(app, req, res) => new EntityTagDelete(app, req, res, tables),
|
|
41
43
|
];
|
|
42
44
|
}
|
|
43
45
|
}
|