@golemio/fypr 1.1.1-dev.2368450356 → 1.1.1-dev.2387575538

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.
Files changed (88) hide show
  1. package/db/example/01_display_cases.sql +4 -4
  2. package/db/example/02_information_panels.sql +4 -4
  3. package/db/example/03_obelisks.sql +4 -4
  4. package/db/example/05_totems.sql +1 -1
  5. package/db/migrations/postgresql/20260312000000-schema-updates.js +53 -0
  6. package/db/migrations/postgresql/20260316093713-add-source-created-at-index.js +53 -0
  7. package/db/migrations/postgresql/sqls/20260312000000-schema-updates-down.sql +14 -0
  8. package/db/migrations/postgresql/sqls/20260312000000-schema-updates-up.sql +14 -0
  9. package/db/migrations/postgresql/sqls/20260316093713-add-source-created-at-index-down.sql +6 -0
  10. package/db/migrations/postgresql/sqls/20260316093713-add-source-created-at-index-up.sql +17 -0
  11. package/dist/integration-engine/transformations/AbstractElementTransformation.js +1 -0
  12. package/dist/integration-engine/transformations/AbstractElementTransformation.js.map +1 -1
  13. package/dist/integration-engine/transformations/InformationPanelsTransformation.js +7 -0
  14. package/dist/integration-engine/transformations/InformationPanelsTransformation.js.map +1 -1
  15. package/dist/integration-engine/transformations/TotemsTransformation.js +2 -1
  16. package/dist/integration-engine/transformations/TotemsTransformation.js.map +1 -1
  17. package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.d.ts +13 -0
  18. package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.js +67 -0
  19. package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.js.map +1 -0
  20. package/dist/output-gateway/fypr/data-access/FyprElementRepository.d.ts +18 -0
  21. package/dist/output-gateway/fypr/data-access/FyprElementRepository.js +46 -0
  22. package/dist/output-gateway/fypr/data-access/FyprElementRepository.js.map +1 -0
  23. package/dist/output-gateway/fypr/routers/index.d.ts +1 -0
  24. package/dist/output-gateway/fypr/routers/index.js +6 -0
  25. package/dist/output-gateway/fypr/routers/index.js.map +1 -0
  26. package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.d.ts +10 -0
  27. package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.js +44 -0
  28. package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.js.map +1 -0
  29. package/dist/output-gateway/index.js +2 -3
  30. package/dist/output-gateway/index.js.map +1 -1
  31. package/dist/output-gateway/ioc/Di.d.ts +2 -0
  32. package/dist/output-gateway/ioc/Di.js +26 -0
  33. package/dist/output-gateway/ioc/Di.js.map +1 -0
  34. package/dist/output-gateway/ioc/FYPROGContainerTokens.d.ts +4 -0
  35. package/dist/output-gateway/ioc/FYPROGContainerTokens.js +12 -0
  36. package/dist/output-gateway/ioc/FYPROGContainerTokens.js.map +1 -0
  37. package/dist/output-gateway/shared/constants/element-kinds.d.ts +1 -0
  38. package/dist/output-gateway/shared/constants/element-kinds.js +6 -0
  39. package/dist/output-gateway/shared/constants/element-kinds.js.map +1 -0
  40. package/dist/output-gateway/shared/constants/index.d.ts +1 -0
  41. package/dist/output-gateway/shared/constants/index.js +18 -0
  42. package/dist/output-gateway/shared/constants/index.js.map +1 -0
  43. package/dist/schema-definitions/FyprElementTypes.d.ts +6 -0
  44. package/dist/schema-definitions/FyprElementTypes.js +3 -0
  45. package/dist/schema-definitions/FyprElementTypes.js.map +1 -0
  46. package/dist/schema-definitions/const.d.ts +44 -0
  47. package/dist/schema-definitions/const.js +17 -1
  48. package/dist/schema-definitions/const.js.map +1 -1
  49. package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js +22 -71
  50. package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js.map +1 -1
  51. package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js +15 -45
  52. package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js.map +1 -1
  53. package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js +85 -281
  54. package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js.map +1 -1
  55. package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js +17 -53
  56. package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js.map +1 -1
  57. package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js +19 -59
  58. package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js.map +1 -1
  59. package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js +59 -203
  60. package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js.map +1 -1
  61. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.d.ts +7 -0
  62. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.d.ts +3 -1
  63. package/dist/schema-definitions/index.d.ts +34 -2
  64. package/dist/schema-definitions/index.js +34 -1
  65. package/dist/schema-definitions/index.js.map +1 -1
  66. package/dist/schema-definitions/models/AbstractElementModel.d.ts +9 -0
  67. package/dist/schema-definitions/models/AbstractElementModel.js +15 -35
  68. package/dist/schema-definitions/models/AbstractElementModel.js.map +1 -1
  69. package/dist/schema-definitions/models/DisplayCaseModel.js +20 -60
  70. package/dist/schema-definitions/models/DisplayCaseModel.js.map +1 -1
  71. package/dist/schema-definitions/models/InformationPanelModel.d.ts +7 -0
  72. package/dist/schema-definitions/models/InformationPanelModel.js +90 -261
  73. package/dist/schema-definitions/models/InformationPanelModel.js.map +1 -1
  74. package/dist/schema-definitions/models/ObeliskModel.js +15 -42
  75. package/dist/schema-definitions/models/ObeliskModel.js.map +1 -1
  76. package/dist/schema-definitions/models/SignpostModel.js +17 -48
  77. package/dist/schema-definitions/models/SignpostModel.js.map +1 -1
  78. package/dist/schema-definitions/models/TotemModel.d.ts +1 -1
  79. package/dist/schema-definitions/models/TotemModel.js +53 -177
  80. package/dist/schema-definitions/models/TotemModel.js.map +1 -1
  81. package/dist/schema-definitions/models/interfaces/IElement.d.ts +1 -0
  82. package/dist/schema-definitions/models/interfaces/IInformationPanel.d.ts +7 -0
  83. package/dist/schema-definitions/models/interfaces/ITotem.d.ts +1 -1
  84. package/docs/asyncapi.yaml +26 -0
  85. package/docs/implementation_documentation.md +67 -16
  86. package/docs/openapi-output.yaml +437 -249
  87. package/docs/translations.md +9 -1
  88. package/package.json +13 -4
@@ -0,0 +1,4 @@
1
+ export declare const fyprOGContainerTokens: {
2
+ FyprElementRepositoriesMap: symbol;
3
+ V1FyprElementKindsController: symbol;
4
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fyprOGContainerTokens = void 0;
4
+ exports.fyprOGContainerTokens = {
5
+ //#region Repositories
6
+ FyprElementRepositoriesMap: Symbol("FyprElementRepositoriesMap"),
7
+ //#endregion
8
+ //#region Controllers
9
+ V1FyprElementKindsController: Symbol("V1FyprElementKindsController"),
10
+ //#endregion
11
+ };
12
+ //# sourceMappingURL=FYPROGContainerTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FYPROGContainerTokens.js","sourceRoot":"","sources":["../../../src/output-gateway/ioc/FYPROGContainerTokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACjC,sBAAsB;IACtB,0BAA0B,EAAE,MAAM,CAAC,4BAA4B,CAAC;IAChE,YAAY;IAEZ,qBAAqB;IACrB,4BAA4B,EAAE,MAAM,CAAC,8BAA8B,CAAC;IACpE,YAAY;CACf,CAAC"}
@@ -0,0 +1 @@
1
+ export { FyprElementKind, fyprElementKinds } from "../../../schema-definitions";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fyprElementKinds = void 0;
4
+ var _sch_1 = require("../../../schema-definitions");
5
+ Object.defineProperty(exports, "fyprElementKinds", { enumerable: true, get: function () { return _sch_1.fyprElementKinds; } });
6
+ //# sourceMappingURL=element-kinds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element-kinds.js","sourceRoot":"","sources":["../../../../src/output-gateway/shared/constants/element-kinds.ts"],"names":[],"mappings":";;;AAAA,oDAAyD;AAA/B,wGAAA,gBAAgB,OAAA"}
@@ -0,0 +1 @@
1
+ export * from "./element-kinds";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./element-kinds"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/output-gateway/shared/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
@@ -0,0 +1,6 @@
1
+ import { IDisplayCase } from "./models/interfaces/IDisplayCase";
2
+ import { IInformationPanel } from "./models/interfaces/IInformationPanel";
3
+ import { IObelisk } from "./models/interfaces/IObelisk";
4
+ import { ISignpost } from "./models/interfaces/ISignpost";
5
+ import { ITotem } from "./models/interfaces/ITotem";
6
+ export type FyprElement = IDisplayCase | IInformationPanel | IObelisk | ISignpost | ITotem;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=FyprElementTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FyprElementTypes.js","sourceRoot":"","sources":["../../src/schema-definitions/FyprElementTypes.ts"],"names":[],"mappings":""}
@@ -1 +1,45 @@
1
1
  export declare const PG_SCHEMA = "fypr";
2
+ export declare const nullableString: {
3
+ readonly oneOf: readonly [{
4
+ readonly type: "string";
5
+ }, {
6
+ readonly type: "null";
7
+ readonly nullable: true;
8
+ }];
9
+ };
10
+ export declare const nullableNumber: {
11
+ readonly oneOf: readonly [{
12
+ readonly type: "number";
13
+ }, {
14
+ readonly type: "null";
15
+ readonly nullable: true;
16
+ }];
17
+ };
18
+ export declare const nullableBoolean: {
19
+ readonly oneOf: readonly [{
20
+ readonly type: "boolean";
21
+ }, {
22
+ readonly type: "null";
23
+ readonly nullable: true;
24
+ }];
25
+ };
26
+ export declare const nullableDateString: {
27
+ readonly oneOf: readonly [{
28
+ readonly type: "string";
29
+ readonly format: "date";
30
+ }, {
31
+ readonly type: "null";
32
+ readonly nullable: true;
33
+ }];
34
+ };
35
+ export declare const nullableStringArray: {
36
+ readonly oneOf: readonly [{
37
+ readonly type: "array";
38
+ readonly items: {
39
+ readonly type: "string";
40
+ };
41
+ }, {
42
+ readonly type: "null";
43
+ readonly nullable: true;
44
+ }];
45
+ };
@@ -1,5 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PG_SCHEMA = void 0;
3
+ exports.nullableStringArray = exports.nullableDateString = exports.nullableBoolean = exports.nullableNumber = exports.nullableString = exports.PG_SCHEMA = void 0;
4
4
  exports.PG_SCHEMA = "fypr";
5
+ // Reusable JSON schema fragments for nullable properties
6
+ exports.nullableString = { oneOf: [{ type: "string" }, { type: "null", nullable: true }] };
7
+ exports.nullableNumber = { oneOf: [{ type: "number" }, { type: "null", nullable: true }] };
8
+ exports.nullableBoolean = { oneOf: [{ type: "boolean" }, { type: "null", nullable: true }] };
9
+ exports.nullableDateString = {
10
+ oneOf: [
11
+ { type: "string", format: "date" },
12
+ { type: "null", nullable: true },
13
+ ],
14
+ };
15
+ exports.nullableStringArray = {
16
+ oneOf: [
17
+ { type: "array", items: { type: "string" } },
18
+ { type: "null", nullable: true },
19
+ ],
20
+ };
5
21
  //# sourceMappingURL=const.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"const.js","sourceRoot":"","sources":["../../src/schema-definitions/const.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["../../src/schema-definitions/const.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,MAAM,CAAC;AAEhC,yDAAyD;AAC5C,QAAA,cAAc,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAW,CAAC;AAC5F,QAAA,cAAc,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAW,CAAC;AAC5F,QAAA,eAAe,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAW,CAAC;AAC9F,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE;QACH,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;QAClC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;KACnC;CACK,CAAC;AACE,QAAA,mBAAmB,GAAG;IAC/B,KAAK,EAAE;QACH,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC5C,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;KACnC;CACK,CAAC"}
@@ -1,84 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.dbfyprDisplayCasesJSONSchema = void 0;
4
+ const const_1 = require("../const");
4
5
  const DBFYPRElementsJSONSchema_1 = require("./DBFYPRElementsJSONSchema");
5
6
  const dbfyprDisplayCasesJSONSchemaAux = {
6
7
  type: "array",
7
8
  items: {
8
9
  type: "object",
9
10
  properties: {
10
- zastavka_nazev: {
11
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
12
- },
13
- zastavka_smer: {
14
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
15
- },
16
- stanoviste: {
17
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
18
- },
19
- zastavka_typ: {
20
- oneOf: [
21
- {
22
- type: "array",
23
- items: { type: "string" },
24
- },
25
- { type: "null", nullable: true },
26
- ],
27
- },
28
- id_zastavky_thmp: {
29
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
30
- },
31
- pristresek_typ: {
32
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
33
- },
34
- pristresek_id: {
35
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
36
- },
37
- qr_kod: {
38
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
39
- },
40
- dodavatel: {
41
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
42
- },
43
- predani_do_spravy_datum: {
44
- oneOf: [
45
- { type: "string", format: "date" },
46
- { type: "null", nullable: true },
47
- ],
48
- },
49
- komentare: {
50
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
51
- },
52
- asw_node_id: {
53
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
54
- },
55
- asw_stop_id: {
56
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
57
- },
58
- umisteni_popis: {
59
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
60
- },
61
- ulice_nazev: {
62
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
63
- },
64
- id_prvku_ropid: {
65
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
66
- },
67
- cena_prvku_bez_dph: {
68
- oneOf: [{ type: "number" }, { type: "null", nullable: true }],
69
- },
70
- vyrobni_cislo_prvku: {
71
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
72
- },
73
- cislo_prvku_thmp: {
74
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
75
- },
76
- cetnost_uklidu: {
77
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
78
- },
11
+ zastavka_nazev: const_1.nullableString,
12
+ zastavka_smer: const_1.nullableString,
13
+ stanoviste: const_1.nullableString,
14
+ zastavka_typ: const_1.nullableStringArray,
15
+ id_zastavky_thmp: const_1.nullableString,
16
+ pristresek_typ: const_1.nullableString,
17
+ pristresek_id: const_1.nullableString,
18
+ qr_kod: const_1.nullableString,
19
+ dodavatel: const_1.nullableString,
20
+ komentare: const_1.nullableString,
21
+ asw_node_id: const_1.nullableString,
22
+ asw_stop_id: const_1.nullableString,
23
+ umisteni_popis: const_1.nullableString,
24
+ ulice_nazev: const_1.nullableString,
25
+ id_prvku_ropid: const_1.nullableString,
26
+ cena_prvku_bez_dph: const_1.nullableNumber,
27
+ vyrobni_cislo_prvku: const_1.nullableString,
28
+ cislo_prvku_thmp: const_1.nullableString,
29
+ cetnost_uklidu: const_1.nullableString,
79
30
  },
80
31
  required: [],
81
- additionalProperties: false,
32
+ additionalProperties: true,
82
33
  },
83
34
  };
84
35
  exports.dbfyprDisplayCasesJSONSchema = {
@@ -91,7 +42,7 @@ exports.dbfyprDisplayCasesJSONSchema = {
91
42
  ...dbfyprDisplayCasesJSONSchemaAux.items.properties,
92
43
  },
93
44
  required: [...DBFYPRElementsJSONSchema_1.dbfyprElementsJSONSchema.items.required, ...dbfyprDisplayCasesJSONSchemaAux.items.required],
94
- additionalProperties: false,
45
+ additionalProperties: true,
95
46
  },
96
47
  };
97
48
  //# sourceMappingURL=DBFYPRDisplayCasesJSONSchema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRDisplayCasesJSONSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.ts"],"names":[],"mappings":";;;AACA,yEAAsE;AAItE,MAAM,+BAA+B,GAA0E;IAC3G,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,cAAc,EAAE;gBACZ,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,aAAa,EAAE;gBACX,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,UAAU,EAAE;gBACR,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,YAAY,EAAE;gBACV,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;qBAC5B;oBACD,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;iBACnC;aACJ;YACD,gBAAgB,EAAE;gBACd,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,cAAc,EAAE;gBACZ,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,aAAa,EAAE;gBACX,KAAK,EA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ACzG,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
1
+ {"version":3,"file":"DBFYPRDisplayCasesJSONSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.ts"],"names":[],"mappings":";;;AACA,oCAAiF;AACjF,yEAAsE;AAItE,MAAM,+BAA+B,GAA0E;IAC3G,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,cAAc,EAAE,sBAAc;YAC9B,aAAa,EAAE,sBAAc;YAC7B,UAAU,EAAE,sBAAc;YAC1B,YAAY,EAAE,2BAAmB;YACjC,gBAAgB,EAAE,sBAAc;YAChC,cAAc,EAAE,sBAAc;YAC9B,aAAa,EAAE,sBAAc;YAC7B,MAAM,EAAE,sBAAc;YACtB,SAAS,EAAE,sBAAc;YACzB,SAAS,EAAE,sBAAc;YACzB,WAAW,EAAE,sBAAc;YAC3B,WAAW,EAAE,sBAAc;YAC3B,cAAc,EAAE,sBAAc;YAC9B,WAAW,EAAE,sBAAc;YAC3B,cAAc,EAAE,sBAAc;YAC9B,kBAAkB,EAAE,sBAAc;YAClC,mBAAmB,EAAE,sBAAc;YACnC,gBAAgB,EAAE,sBAAc;YAChC,cAAc,EAAE,sBAAc;SACjC;QACD,QAAQ,EAAE,EAAE;QACZ,oBAAoB,EAAE,IAAI;KAC7B;CACJ,CAAC;AAEW,QAAA,4BAA4B,GAAyC;IAC9E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,gHAAgH;YAChH,GAAG,mDAAwB,CAAC,KAAK,CAAC,UAAU;YAC5C,GAAG,+BAA+B,CAAC,KAAK,CAAC,UAAU;SACtD;QACD,QAAQ,EAAE,CAAC,GAAG,mDAAwB,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,+BAA+B,CAAC,KAAK,CAAC,QAAQ,CAAC;QACzG,oBAAoB,EAAE,IAAI;KAC7B;CACJ,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.dbfyprElementsJSONSchema = void 0;
4
+ const const_1 = require("../const");
4
5
  exports.dbfyprElementsJSONSchema = {
5
6
  type: "array",
6
7
  items: {
@@ -8,51 +9,20 @@ exports.dbfyprElementsJSONSchema = {
8
9
  properties: {
9
10
  id: { type: "integer" },
10
11
  documentId: { type: "string" },
11
- uid_prvku: {
12
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
13
- },
14
- typ_prvku: {
15
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
16
- },
17
- nazev_prvku: {
18
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
19
- },
20
- stav_prvku: {
21
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
22
- },
23
- vlastnik_prvku: {
24
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
25
- },
26
- spravce_prvku: {
27
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
28
- },
29
- umisteni_mestska_cast: {
30
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
31
- },
32
- souradnice_umisteni_lat: {
33
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
34
- },
35
- souradnice_umisteni_lon: {
36
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
37
- },
38
- mapa_odkaz: {
39
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
40
- },
41
- planovany_rok_realizace: {
42
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
43
- },
44
- poznamka_k_prvku: {
45
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
46
- },
47
- predani_do_spravy: {
48
- oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
49
- },
50
- predani_do_spravy_datum: {
51
- oneOf: [
52
- { type: "string", format: "date" },
53
- { type: "null", nullable: true },
54
- ],
55
- },
12
+ uid_prvku: const_1.nullableString,
13
+ typ_prvku: const_1.nullableString,
14
+ nazev_prvku: const_1.nullableString,
15
+ stav_prvku: const_1.nullableString,
16
+ vlastnik_prvku: const_1.nullableString,
17
+ spravce_prvku: const_1.nullableString,
18
+ umisteni_mestska_cast: const_1.nullableString,
19
+ souradnice_umisteni_lat: const_1.nullableString,
20
+ souradnice_umisteni_lon: const_1.nullableString,
21
+ mapa_odkaz: const_1.nullableString,
22
+ planovany_rok_realizace: const_1.nullableString,
23
+ poznamka_k_prvku: const_1.nullableString,
24
+ predani_do_spravy: const_1.nullableBoolean,
25
+ predani_do_spravy_datum: const_1.nullableDateString,
56
26
  createdAt: { type: "string", format: "date-time" },
57
27
  updatedAt: { type: "string", format: "date-time" },
58
28
  publishedAt: { type: "string", format: "date-time" },
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRElementsJSONSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/data-sources/DBFYPRElementsJSONSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,wBAAwB,GAAqC;IACtE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACvB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,SAAS,EAAE;gBACP,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,SAAS,EAAE;gBACP,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,WAAW,EAAE;gBACT,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CA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AAc,EAAE,sBAAc;YAC9B,aAAa,EAAE,sBAAc;YAC7B,qBAAqB,EAAE,sBAAc;YACrC,uBAAuB,EAAE,sBAAc;YACvC,uBAAuB,EAAE,sBAAc;YACvC,UAAU,EAAE,sBAAc;YAC1B,uBAAuB,EAAE,sBAAc;YACvC,gBAAgB,EAAE,sBAAc;YAChC,iBAAiB,EAAE,uBAAe;YAClC,uBAAuB,EAAE,0BAAkB;YAC3C,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;YAClD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;YAClD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;SACvD;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC;QACvE,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}