@futdevpro/fsm-dynamo 1.10.17 → 1.10.18
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/build/_models/control-models/service-endpoint-settings-base.control-model.d.ts.map +1 -1
- package/build/_models/control-models/service-endpoint-settings-base.control-model.js +4 -0
- package/build/_models/control-models/service-endpoint-settings-base.control-model.js.map +1 -1
- package/futdevpro-fsm-dynamo-01.10.18.tgz +0 -0
- package/package.json +1 -1
- package/src/_models/control-models/service-endpoint-settings-base.control-model.ts +7 -0
- package/futdevpro-fsm-dynamo-01.10.17.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-endpoint-settings-base.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/service-endpoint-settings-base.control-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service-endpoint-settings-base.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/service-endpoint-settings-base.control-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAgBrE,MAAM,WAAW,2BAA2B,CAC1C,QAAQ,EACR,QAAQ,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,EAChC,MAAM,GAAG,SAAS;IAElB,UAAU,EAAE,QAAQ,CAAC;IACrB,UAAU,EAAE,QAAQ,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,MAAM,iCAAiC,GAAG;IAC9C,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;CACnE,CAAA;AAED,qBAAa,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAM;gBAG5B,GAAG,EAAE,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC;CAwB9D;AACD,MAAM,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,IAAI;KAC1F,CAAC,IAAI,MAAM,CAAC,GAAG,0BAA0B,CACxC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CACzD;CACF,CAAA"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DyFM_Endpoint_SettingsBase = void 0;
|
|
4
|
+
const stack_util_1 = require("../../_collections/utils/stack.util");
|
|
4
5
|
class DyFM_Endpoint_SettingsBase {
|
|
5
6
|
name;
|
|
6
7
|
type;
|
|
7
8
|
endpoint;
|
|
8
9
|
pathParamKeys = [];
|
|
9
10
|
constructor(set) {
|
|
11
|
+
if (!set.endpoint) {
|
|
12
|
+
throw new Error(`endpoint not setted up for this endpoint (${set.name ?? (0, stack_util_1.DyFM_getStackLocation)()})`);
|
|
13
|
+
}
|
|
10
14
|
if (set.endpoint.includes('{')) {
|
|
11
15
|
console.warn(`using {param} brackets in endpoint definitions will be deprecated... ` +
|
|
12
16
|
`\nuse :param instead ({pathParam} --> :pathParam) (${set.name})`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-endpoint-settings-base.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/service-endpoint-settings-base.control-model.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"service-endpoint-settings-base.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/service-endpoint-settings-base.control-model.ts"],"names":[],"mappings":";;;AAAA,oEAA4E;AA8B5E,MAAa,0BA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Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prep": "npm i pnpm -g && npm i rimraf nodemon -g",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DyFM_getStackLocation } from '../../_collections/utils/stack.util';
|
|
1
2
|
import { DyFM_HttpCallType } from '../../_enums/http-call-type.enum';
|
|
2
3
|
|
|
3
4
|
/* class Flow {
|
|
@@ -37,6 +38,12 @@ export class DyFM_Endpoint_SettingsBase<T_Result, I_Inputs, T_Body> {
|
|
|
37
38
|
constructor(
|
|
38
39
|
set: DyFM_Endpoint_SettingsBase<T_Result, I_Inputs, T_Body>
|
|
39
40
|
) {
|
|
41
|
+
if (!set.endpoint) {
|
|
42
|
+
throw new Error(
|
|
43
|
+
`endpoint not setted up for this endpoint (${set.name ?? DyFM_getStackLocation()})`
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
40
47
|
if (set.endpoint.includes('{')) {
|
|
41
48
|
console.warn(
|
|
42
49
|
`using {param} brackets in endpoint definitions will be deprecated... ` +
|
|
Binary file
|