@golemio/pid 2.19.1-dev.1443064947 → 2.19.1-dev.1444937495
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/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.d.ts +1 -1
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js +1 -1
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js.map +1 -1
- package/package.json +1 -1
package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { AbstractTransformation } from "@golemio/core/dist/helpers/transformatio
|
|
|
4
4
|
export declare class JISInfotextOverviewTransformation extends AbstractTransformation<JISInfotextsModel, IInfotextOverviewOutputDto> {
|
|
5
5
|
name: string;
|
|
6
6
|
protected transformInternal: (inputDto: JISInfotextsModel) => {
|
|
7
|
-
id: string;
|
|
8
7
|
priority: import("../../domain/InfotextPriorityEnum").InfotextPriority;
|
|
9
8
|
display_type: import("../../domain/InfotextDisplayTypeEnum").InfotextDisplayType;
|
|
10
9
|
text: string;
|
|
@@ -16,5 +15,6 @@ export declare class JISInfotextOverviewTransformation extends AbstractTransform
|
|
|
16
15
|
}[];
|
|
17
16
|
valid_from: string;
|
|
18
17
|
valid_to: string | null;
|
|
18
|
+
id: string;
|
|
19
19
|
};
|
|
20
20
|
}
|
package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js
CHANGED
|
@@ -20,7 +20,6 @@ let JISInfotextOverviewTransformation = exports.JISInfotextOverviewTransformatio
|
|
|
20
20
|
var _a, _b, _c;
|
|
21
21
|
const stops = (_a = inputDto.stops) !== null && _a !== void 0 ? _a : [];
|
|
22
22
|
return {
|
|
23
|
-
id: inputDto.id,
|
|
24
23
|
priority: PriorityMapper_1.PriorityMapper.mapInputToOutputPriority(inputDto.severity_level),
|
|
25
24
|
display_type: DisplayTypeMapper_1.DisplayTypeMapper.mapInputToOutputDisplayType(inputDto.display_type),
|
|
26
25
|
text: inputDto.description_text.cs,
|
|
@@ -35,6 +34,7 @@ let JISInfotextOverviewTransformation = exports.JISInfotextOverviewTransformatio
|
|
|
35
34
|
}),
|
|
36
35
|
valid_from: (_c = shared_1.RopidRouterUtils.formatTimestamp(inputDto.active_period_start)) !== null && _c !== void 0 ? _c : inputDto.active_period_start.toISOString(),
|
|
37
36
|
valid_to: shared_1.RopidRouterUtils.formatTimestamp(inputDto.active_period_end),
|
|
37
|
+
id: inputDto.id,
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
}
|
package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JISInfotextOverviewTransformation.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.ts"],"names":[],"mappings":";;;;;;;;;AACA,4CAA8C;AAE9C,6GAA0G;AAC1G,iEAAgE;AAChE,oEAAiE;AACjE,8DAA2D;AAGpD,IAAM,iCAAiC,+CAAvC,MAAM,iCAAkC,SAAQ,+CAAqE;IAArH;;QACI,SAAI,GAAG,mCAAmC,CAAC;QAExC,sBAAiB,GAAG,CAAC,QAA2B,EAAE,EAAE;;YAC1D,MAAM,KAAK,GAAG,MAAA,QAAQ,CAAC,KAAK,mCAAI,EAAE,CAAC;YACnC,OAAO;gBACH,
|
|
1
|
+
{"version":3,"file":"JISInfotextOverviewTransformation.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.ts"],"names":[],"mappings":";;;;;;;;;AACA,4CAA8C;AAE9C,6GAA0G;AAC1G,iEAAgE;AAChE,oEAAiE;AACjE,8DAA2D;AAGpD,IAAM,iCAAiC,+CAAvC,MAAM,iCAAkC,SAAQ,+CAAqE;IAArH;;QACI,SAAI,GAAG,mCAAmC,CAAC;QAExC,sBAAiB,GAAG,CAAC,QAA2B,EAAE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