@golemio/pid
Version:
Golemio PID Module
174 lines • 5.39 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RopidVYMI = void 0;
require("@golemio/core/dist/shared/sequelize");
const RopidVYMIOutputSchemas_1 = require("./RopidVYMIOutputSchemas");
const RopidVYMISDMA_1 = require("./RopidVYMISDMA");
const datasourceJsonSchema = {
type: "array",
items: {
type: "object",
properties: {
"@id": {
type: "string",
},
"@id_dtb": {
type: "string",
},
"@stav": {
type: "string",
},
"@pa_01": {
type: "string",
},
"@pa_02": {
type: "string",
},
"@pa_03": {
type: "string",
},
"@pa_04": {
type: "string",
},
"@typ_zaznamu": {
type: "string",
},
"@typ_udalost": {
type: ["null", "string"],
},
"@kanaly": {
type: "string",
},
"@nazev": {
type: "string",
},
"@cas_od": {
type: "string",
},
"@typ_do": {
type: "string",
},
"@cas_do": {
type: ["null", "string"],
},
"@zobrazit_do": {
type: ["null", "string"],
},
"@druh_dopr": {
type: "string",
},
"@priorita": {
type: ["null", "string"],
},
"@duvod": {
type: ["null", "string"],
},
"@link": {
type: ["null", "string"],
},
"@opatr_ropid": {
type: ["null", "string"],
},
"@opatr_dpp": {
type: ["null", "string"],
},
"@popis": {
type: ["null", "string"],
},
"linky-zmena": {
type: "array",
items: {
type: "object",
properties: {
"@id": {
type: "string",
},
"@id_dtb": {
type: "string",
},
"@cislo": {
type: "string",
},
"@nazev": {
type: "string",
},
"@linka_typ": {
type: "string",
},
"@plati_od": {
type: ["null", "string"],
},
"@plati_do": {
type: ["null", "string"],
},
"#text": {
type: ["null", "string"],
},
},
},
},
"zastavky-zmena": {
type: "array",
items: {
type: "object",
properties: {
"@id": {
type: "string",
},
"@id_dtb": {
type: "string",
},
"@uzelCislo": {
type: "string",
},
"@zastCislo": {
type: "string",
},
"@zast_typ": {
type: "string",
},
"@plati_od": {
type: ["null", "string"],
},
"@plati_do": {
type: ["null", "string"],
},
"#text": {
type: ["null", "string"],
},
},
},
},
},
},
};
const forExport = {
name: "RopidVYMI",
events: {
name: "RopidVYMIEvents",
datasourceJsonSchema,
outputJsonSchema: RopidVYMIOutputSchemas_1.outputEventsJsonSchema,
outputSequelizeAttributes: RopidVYMISDMA_1.outputEventsSDMA,
pgTableName: "ropidvymi_events",
},
eventsRoutes: {
name: "RopidVYMIEventsRoutes",
datasourceJsonSchema,
outputJsonSchema: RopidVYMIOutputSchemas_1.outputEventsRoutesJsonSchema,
outputSequelizeAttributes: RopidVYMISDMA_1.outputEventsRoutesSDMA,
pgTableName: "ropidvymi_events_routes",
},
eventsStops: {
name: "RopidVYMIEventsStops",
datasourceJsonSchema,
outputJsonSchema: RopidVYMIOutputSchemas_1.outputEventsStopsJsonSchema,
outputSequelizeAttributes: RopidVYMISDMA_1.outputEventsStopsSDMA,
pgTableName: "ropidvymi_events_stops",
},
metadata: {
name: "RopidVYMIMetadata",
pgTableName: "ropidvymi_metadata",
},
};
exports.RopidVYMI = forExport;
//# sourceMappingURL=index.js.map