@golemio/municipal-libraries 1.3.8 → 1.4.0-dev.2635611134
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/db/example/01_libraries.sql +22 -22
- package/db/migrations/postgresql/20260521145623-migrate-to-json-api.js +45 -0
- package/db/migrations/postgresql/20260527131433-add-opening-hours-type.js +45 -0
- package/db/migrations/postgresql/sqls/20260521145623-migrate-to-json-api-down.sql +31 -0
- package/db/migrations/postgresql/sqls/20260521145623-migrate-to-json-api-up.sql +16 -0
- package/db/migrations/postgresql/sqls/20260527131433-add-opening-hours-type-down.sql +1 -0
- package/db/migrations/postgresql/sqls/20260527131433-add-opening-hours-type-up.sql +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -9
- package/dist/index.js.map +1 -1
- package/dist/integration-engine/datasources/MunicipalLibrariesDataSource.d.ts +1 -2
- package/dist/integration-engine/datasources/MunicipalLibrariesDataSource.js +3 -30
- package/dist/integration-engine/datasources/MunicipalLibrariesDataSource.js.map +1 -1
- package/dist/integration-engine/repositories/LibraryServicesRepository.js +4 -4
- package/dist/integration-engine/repositories/LibraryServicesRepository.js.map +1 -1
- package/dist/integration-engine/repositories/MunicipalLibrariesRepository.d.ts +1 -1
- package/dist/integration-engine/repositories/MunicipalLibrariesRepository.js +12 -12
- package/dist/integration-engine/repositories/MunicipalLibrariesRepository.js.map +1 -1
- package/dist/integration-engine/repositories/OpeningHoursRepository.js +4 -4
- package/dist/integration-engine/repositories/OpeningHoursRepository.js.map +1 -1
- package/dist/integration-engine/repositories/ServicesRepository.js +4 -4
- package/dist/integration-engine/repositories/ServicesRepository.js.map +1 -1
- package/dist/integration-engine/transformations/MunicipalLibrariesTransformation.d.ts +7 -6
- package/dist/integration-engine/transformations/MunicipalLibrariesTransformation.js +26 -14
- package/dist/integration-engine/transformations/MunicipalLibrariesTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/helpers/TransformationHelper.d.ts +9 -11
- package/dist/integration-engine/transformations/helpers/TransformationHelper.js +66 -79
- package/dist/integration-engine/transformations/helpers/TransformationHelper.js.map +1 -1
- package/dist/integration-engine/transformations/index.d.ts +1 -0
- package/dist/integration-engine/transformations/index.js +18 -0
- package/dist/integration-engine/transformations/index.js.map +1 -0
- package/dist/integration-engine/workers/MunicipalLibrariesWorker.js +2 -2
- package/dist/integration-engine/workers/MunicipalLibrariesWorker.js.map +1 -1
- package/dist/integration-engine/workers/schemas/UpdateDistrictSchema.d.ts +2 -2
- package/dist/integration-engine/workers/schemas/UpdateDistrictSchema.js +2 -2
- package/dist/integration-engine/workers/schemas/UpdateDistrictSchema.js.map +1 -1
- package/dist/integration-engine/workers/tasks/RefreshDataInDBTask.js +5 -5
- package/dist/integration-engine/workers/tasks/RefreshDataInDBTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateDistrictsTask.d.ts +2 -2
- package/dist/integration-engine/workers/tasks/UpdateDistrictsTask.js +3 -3
- package/dist/integration-engine/workers/tasks/UpdateDistrictsTask.js.map +1 -1
- package/dist/output-gateway/MunicipalLibrariesRouter.d.ts +0 -1
- package/dist/output-gateway/MunicipalLibrariesRouter.js +2 -2
- package/dist/output-gateway/MunicipalLibrariesRouter.js.map +1 -1
- package/dist/output-gateway/repositories/LibraryServicesRepository.js +3 -3
- package/dist/output-gateway/repositories/LibraryServicesRepository.js.map +1 -1
- package/dist/output-gateway/repositories/MunicipalLibrariesRepository.js +8 -8
- package/dist/output-gateway/repositories/MunicipalLibrariesRepository.js.map +1 -1
- package/dist/output-gateway/repositories/OpeningHoursRepository.js +3 -3
- package/dist/output-gateway/repositories/OpeningHoursRepository.js.map +1 -1
- package/dist/output-gateway/repositories/ServicesRepository.js +3 -3
- package/dist/output-gateway/repositories/ServicesRepository.js.map +1 -1
- package/dist/schema-definitions/Libraries.d.ts +1 -1
- package/dist/schema-definitions/LibraryServices.d.ts +1 -1
- package/dist/schema-definitions/OpeningHours.d.ts +2 -1
- package/dist/schema-definitions/OpeningHours.js.map +1 -1
- package/dist/schema-definitions/datasources/MunicipalLibrariesJsonSchema.d.ts +42 -51
- package/dist/schema-definitions/datasources/MunicipalLibrariesJsonSchema.js +96 -146
- package/dist/schema-definitions/datasources/MunicipalLibrariesJsonSchema.js.map +1 -1
- package/dist/schema-definitions/index.js +5 -5
- package/dist/schema-definitions/index.js.map +1 -1
- package/dist/schema-definitions/models/LibrariesModel.d.ts +2 -2
- package/dist/schema-definitions/models/LibrariesModel.js +2 -2
- package/dist/schema-definitions/models/LibrariesModel.js.map +1 -1
- package/dist/schema-definitions/models/LibraryServicesModel.d.ts +2 -2
- package/dist/schema-definitions/models/LibraryServicesModel.js +2 -2
- package/dist/schema-definitions/models/LibraryServicesModel.js.map +1 -1
- package/dist/schema-definitions/models/OpeningHoursModel.d.ts +4 -3
- package/dist/schema-definitions/models/OpeningHoursModel.js +5 -3
- package/dist/schema-definitions/models/OpeningHoursModel.js.map +1 -1
- package/dist/schema-definitions/models/ServicesModel.d.ts +2 -2
- package/docs/implementation_documentation.md +8 -3
- package/docs/openapi.yaml +8 -4
- package/package.json +91 -64
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServicesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/ServicesRepository.ts"],"names":[],"mappings":";;;AAAA,qEAA0E;AAC1E
|
|
1
|
+
{"version":3,"file":"ServicesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/ServicesRepository.ts"],"names":[],"mappings":";;;AAAA,qEAA0E;AAC1E,+BAA0C;AAC1C,6CAAkD;AAElD,MAAa,kBAAmB,SAAQ,uBAAc;IAClD;QACI,KAAK,CACD,yBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,GAAG,YAAY,EAC3E,yBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC,WAAW,EACnE,qBAAa,CAAC,cAAc,EAC5B,EAAE,MAAM,EAAE,yBAAkB,CAAC,QAAQ,EAAE,CAC1C,CAAC;QAGC,WAAM,GAAG,KAAK,IAAkB,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC,CAAC;QAEK,WAAM,GAAG,KAAK,IAAkB,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC,CAAC;IARF,CAAC;CASJ;AAjBD,gDAiBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface IOpeningHours {
|
|
2
2
|
id: number;
|
|
3
|
-
library_id:
|
|
3
|
+
library_id: string;
|
|
4
4
|
day_of_week: string;
|
|
5
5
|
opens: string;
|
|
6
6
|
closes: string;
|
|
@@ -8,6 +8,7 @@ export interface IOpeningHours {
|
|
|
8
8
|
is_default: boolean;
|
|
9
9
|
valid_from: string | null;
|
|
10
10
|
valid_through: string | null;
|
|
11
|
+
type: string;
|
|
11
12
|
}
|
|
12
13
|
export declare const municipalLibraryOpeningHours: {
|
|
13
14
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpeningHours.js","sourceRoot":"","sources":["../../src/schema-definitions/OpeningHours.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"OpeningHours.js","sourceRoot":"","sources":["../../src/schema-definitions/OpeningHours.ts"],"names":[],"mappings":";;;AAaa,QAAA,4BAA4B,GAAG;IACxC,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,eAAe;CAC/B,CAAC"}
|
|
@@ -1,65 +1,56 @@
|
|
|
1
|
-
import { Point } from "@golemio/core/dist/shared/geojson";
|
|
2
1
|
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
streda = "Wednesday",
|
|
7
|
-
ctvrtek = "Thursday",
|
|
8
|
-
patek = "Friday",
|
|
9
|
-
sobota = "Saturday",
|
|
10
|
-
nedele = "Sunday"
|
|
2
|
+
interface ITimeValue {
|
|
3
|
+
raw: string;
|
|
4
|
+
formatted: string;
|
|
11
5
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
interface IDaySchedule {
|
|
7
|
+
from: ITimeValue;
|
|
8
|
+
to: ITimeValue;
|
|
9
|
+
type: string;
|
|
10
|
+
}
|
|
11
|
+
interface IValidityRange {
|
|
12
|
+
from: string | null;
|
|
13
|
+
to: string | null;
|
|
14
|
+
}
|
|
15
|
+
interface ITimetable {
|
|
16
|
+
label: string;
|
|
17
|
+
type: string;
|
|
18
|
+
validity_range: IValidityRange;
|
|
19
|
+
days: Array<IDaySchedule[] | null>;
|
|
16
20
|
}
|
|
17
|
-
export type TDailyOpeningHours = {
|
|
18
|
-
rano: IRangeInput;
|
|
19
|
-
odpoledne?: IRangeInput;
|
|
20
|
-
};
|
|
21
21
|
interface IOpeningHoursInput {
|
|
22
|
-
|
|
22
|
+
active_timetable: number;
|
|
23
|
+
timetables: ITimetable[];
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
sluzba: IServiceInput | IServiceInput[];
|
|
25
|
+
interface ILocationDetails {
|
|
26
|
+
street: string;
|
|
27
|
+
street_number: string;
|
|
28
|
+
district: string;
|
|
29
|
+
postal_code: string;
|
|
30
|
+
}
|
|
31
|
+
interface IGeo {
|
|
32
|
+
lat: number;
|
|
33
|
+
lng: number;
|
|
34
34
|
}
|
|
35
|
-
export interface
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
export interface ILocation {
|
|
36
|
+
address: string;
|
|
37
|
+
details: ILocationDetails;
|
|
38
|
+
geo: IGeo;
|
|
39
39
|
}
|
|
40
40
|
interface IContactInput {
|
|
41
|
-
|
|
41
|
+
phone: string;
|
|
42
42
|
email: string;
|
|
43
43
|
}
|
|
44
|
-
export interface IAddressInput {
|
|
45
|
-
ulice: string;
|
|
46
|
-
cislo: string | null;
|
|
47
|
-
mesto: string;
|
|
48
|
-
psc: string;
|
|
49
|
-
gps: string;
|
|
50
|
-
url: string;
|
|
51
|
-
}
|
|
52
44
|
export interface ILibrariesInput {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
kontakt: IContactInput;
|
|
45
|
+
title: string;
|
|
46
|
+
number: number;
|
|
47
|
+
knoddel: number;
|
|
48
|
+
show_in_list: boolean;
|
|
49
|
+
location: ILocation;
|
|
50
|
+
contact: IContactInput;
|
|
51
|
+
barrier_free: boolean;
|
|
52
|
+
website_url: string;
|
|
53
|
+
opening_hours: IOpeningHoursInput;
|
|
63
54
|
}
|
|
64
55
|
export declare const municipalLibrariesDatasource: {
|
|
65
56
|
name: string;
|
|
@@ -1,172 +1,122 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.municipalLibrariesDatasource =
|
|
4
|
-
|
|
5
|
-
var OpeningHoursDays;
|
|
6
|
-
(function (OpeningHoursDays) {
|
|
7
|
-
OpeningHoursDays["pondeli"] = "Monday";
|
|
8
|
-
OpeningHoursDays["utery"] = "Tuesday";
|
|
9
|
-
OpeningHoursDays["streda"] = "Wednesday";
|
|
10
|
-
OpeningHoursDays["ctvrtek"] = "Thursday";
|
|
11
|
-
OpeningHoursDays["patek"] = "Friday";
|
|
12
|
-
OpeningHoursDays["sobota"] = "Saturday";
|
|
13
|
-
OpeningHoursDays["nedele"] = "Sunday";
|
|
14
|
-
})(OpeningHoursDays || (exports.OpeningHoursDays = OpeningHoursDays = {}));
|
|
3
|
+
exports.municipalLibrariesDatasource = void 0;
|
|
4
|
+
// @ts-expect-error JSONSchemaType doesn't handle nullable fields well
|
|
15
5
|
const municipalLibrariesJsonSchema = {
|
|
16
6
|
type: "array",
|
|
17
|
-
additionalItems: false,
|
|
18
7
|
items: {
|
|
19
8
|
type: "object",
|
|
20
|
-
required: ["
|
|
9
|
+
required: ["title", "show_in_list", "location", "contact", "barrier_free", "website_url", "opening_hours"],
|
|
21
10
|
additionalProperties: true,
|
|
22
11
|
properties: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
title: { type: "string" },
|
|
13
|
+
number: { type: "number" },
|
|
14
|
+
knoddel: { type: "number" },
|
|
15
|
+
show_in_list: { type: "boolean" },
|
|
16
|
+
barrier_free: { type: "boolean" },
|
|
17
|
+
website_url: { type: "string" },
|
|
18
|
+
location: {
|
|
29
19
|
type: "object",
|
|
30
|
-
required: ["
|
|
31
|
-
additionalProperties:
|
|
20
|
+
required: ["details", "geo"],
|
|
21
|
+
additionalProperties: true,
|
|
32
22
|
properties: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
additionalProperties: false,
|
|
45
|
-
properties: {
|
|
46
|
-
oteviracidoba: {
|
|
47
|
-
oneOf: [
|
|
48
|
-
{
|
|
49
|
-
type: "array",
|
|
50
|
-
additionalItems: false,
|
|
51
|
-
items: { $ref: "#/definitions/openingHours" },
|
|
52
|
-
},
|
|
53
|
-
{ $ref: "#/definitions/openingHours" },
|
|
54
|
-
],
|
|
23
|
+
address: { type: "string" },
|
|
24
|
+
details: {
|
|
25
|
+
type: "object",
|
|
26
|
+
required: ["street", "street_number", "district", "postal_code"],
|
|
27
|
+
additionalProperties: true,
|
|
28
|
+
properties: {
|
|
29
|
+
street: { type: "string" },
|
|
30
|
+
street_number: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
31
|
+
district: { type: "string" },
|
|
32
|
+
postal_code: { type: "string" },
|
|
33
|
+
},
|
|
55
34
|
},
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
sluzby: {
|
|
59
|
-
oneOf: [
|
|
60
|
-
{
|
|
35
|
+
geo: {
|
|
61
36
|
type: "object",
|
|
62
|
-
required: ["
|
|
37
|
+
required: ["lat", "lng"],
|
|
63
38
|
additionalProperties: false,
|
|
64
39
|
properties: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
type: "array",
|
|
69
|
-
additionalItems: false,
|
|
70
|
-
items: { $ref: "#/definitions/service" },
|
|
71
|
-
},
|
|
72
|
-
{ $ref: "#/definitions/service" },
|
|
73
|
-
],
|
|
74
|
-
},
|
|
40
|
+
lat: { type: "number" },
|
|
41
|
+
lng: { type: "number" },
|
|
75
42
|
},
|
|
76
43
|
},
|
|
77
|
-
{ type: "null", nullable: true },
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
|
-
kontakt: { $ref: "#/definitions/contact" },
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
definitions: {
|
|
84
|
-
dailyOpeningHours: {
|
|
85
|
-
type: "object",
|
|
86
|
-
required: ["rano"],
|
|
87
|
-
additionalProperties: false,
|
|
88
|
-
properties: {
|
|
89
|
-
rano: {
|
|
90
|
-
type: "object",
|
|
91
|
-
required: ["od", "do"],
|
|
92
|
-
additionalProperties: false,
|
|
93
|
-
properties: {
|
|
94
|
-
od: { type: "string" },
|
|
95
|
-
do: { type: "string" },
|
|
96
|
-
},
|
|
97
44
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
},
|
|
45
|
+
},
|
|
46
|
+
contact: {
|
|
47
|
+
type: "object",
|
|
48
|
+
required: ["phone", "email"],
|
|
49
|
+
additionalProperties: true,
|
|
50
|
+
properties: {
|
|
51
|
+
phone: { type: "string" },
|
|
52
|
+
email: { type: "string" },
|
|
106
53
|
},
|
|
107
54
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
55
|
+
opening_hours: {
|
|
56
|
+
type: "object",
|
|
57
|
+
required: ["active_timetable", "timetables"],
|
|
58
|
+
additionalProperties: true,
|
|
59
|
+
properties: {
|
|
60
|
+
active_timetable: { type: "number" },
|
|
61
|
+
timetables: {
|
|
62
|
+
type: "array",
|
|
63
|
+
items: {
|
|
64
|
+
type: "object",
|
|
65
|
+
required: ["label", "validity_range", "days"],
|
|
66
|
+
additionalProperties: true,
|
|
67
|
+
properties: {
|
|
68
|
+
label: { type: "string" },
|
|
69
|
+
type: { type: "string" },
|
|
70
|
+
validity_range: {
|
|
71
|
+
type: "object",
|
|
72
|
+
required: ["from", "to"],
|
|
73
|
+
additionalProperties: false,
|
|
74
|
+
properties: {
|
|
75
|
+
from: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
76
|
+
to: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
days: {
|
|
80
|
+
type: "array",
|
|
81
|
+
items: {
|
|
82
|
+
oneOf: [
|
|
83
|
+
{
|
|
84
|
+
type: "array",
|
|
85
|
+
items: {
|
|
86
|
+
type: "object",
|
|
87
|
+
required: ["from", "to", "type"],
|
|
88
|
+
additionalProperties: true,
|
|
89
|
+
properties: {
|
|
90
|
+
from: {
|
|
91
|
+
type: "object",
|
|
92
|
+
required: ["formatted"],
|
|
93
|
+
additionalProperties: true,
|
|
94
|
+
properties: {
|
|
95
|
+
formatted: { type: "string" },
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
to: {
|
|
99
|
+
type: "object",
|
|
100
|
+
required: ["formatted"],
|
|
101
|
+
additionalProperties: true,
|
|
102
|
+
properties: {
|
|
103
|
+
formatted: { type: "string" },
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
type: { type: "string" },
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
{ type: "null", nullable: true },
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
124
116
|
},
|
|
125
117
|
},
|
|
126
|
-
pondeli: {
|
|
127
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
128
|
-
},
|
|
129
|
-
utery: {
|
|
130
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
131
|
-
},
|
|
132
|
-
streda: {
|
|
133
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
134
|
-
},
|
|
135
|
-
ctvrtek: {
|
|
136
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
137
|
-
},
|
|
138
|
-
patek: {
|
|
139
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
140
|
-
},
|
|
141
|
-
sobota: {
|
|
142
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
143
|
-
},
|
|
144
|
-
nedele: {
|
|
145
|
-
oneOf: [{ $ref: "#/definitions/dailyOpeningHours" }, { type: "null", nullable: true }],
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
service: {
|
|
150
|
-
type: "object",
|
|
151
|
-
required: ["id", "nazev", "popis"],
|
|
152
|
-
additionalProperties: false,
|
|
153
|
-
properties: {
|
|
154
|
-
id: { type: "string" },
|
|
155
|
-
nazev: { type: "string" },
|
|
156
|
-
popis: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
contact: {
|
|
160
|
-
type: "object",
|
|
161
|
-
required: ["telefon", "email"],
|
|
162
|
-
additionalProperties: false,
|
|
163
|
-
properties: {
|
|
164
|
-
telefon: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
165
|
-
email: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
166
118
|
},
|
|
167
119
|
},
|
|
168
|
-
// @ts-expect-error
|
|
169
|
-
geometry: schema_definitions_1.SharedSchemaProvider.Geometry,
|
|
170
120
|
},
|
|
171
121
|
};
|
|
172
122
|
exports.municipalLibrariesDatasource = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MunicipalLibrariesJsonSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/MunicipalLibrariesJsonSchema.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"MunicipalLibrariesJsonSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/MunicipalLibrariesJsonSchema.ts"],"names":[],"mappings":";;;AAiEA,sEAAsE;AACtE,MAAM,4BAA4B,GAAsC;IACpE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,CAAC;QAC1G,oBAAoB,EAAE,IAAI;QAC1B,UAAU,EAAE;YACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC/B,QAAQ,EAAE;gBACN,IAAI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vB,oBAAoB,EAAE,IAAI;4DAC1B,UAAU,EAAE;gEACR,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6DAChC;yDACJ;wDACD,EAAE,EAAE;4DACA,IAAI,EAAE,QAAQ;4DACd,QAAQ,EAAE,CAAC,WAAW,CAAC;4DACvB,oBAAoB,EAAE,IAAI;4DAC1B,UAAU,EAAE;gEACR,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6DAChC;yDACJ;wDACD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;qDAC3B;iDACJ;6CACJ;4CACD,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;yCACnC;qCACJ;iCACJ;6BACJ;yBACJ;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AAEW,QAAA,4BAA4B,GAAoE;IACzG,IAAI,EAAE,8BAA8B;IACpC,UAAU,EAAE,4BAA4B;CAC3C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MunicipalLibraries = void 0;
|
|
4
|
-
const MunicipalLibrariesJsonSchema_1 = require("
|
|
5
|
-
const Libraries_1 = require("
|
|
6
|
-
const Services_1 = require("
|
|
7
|
-
const OpeningHours_1 = require("
|
|
8
|
-
const LibraryServices_1 = require("
|
|
4
|
+
const MunicipalLibrariesJsonSchema_1 = require("#sch/datasources/MunicipalLibrariesJsonSchema");
|
|
5
|
+
const Libraries_1 = require("#sch/Libraries");
|
|
6
|
+
const Services_1 = require("#sch/Services");
|
|
7
|
+
const OpeningHours_1 = require("#sch/OpeningHours");
|
|
8
|
+
const LibraryServices_1 = require("#sch/LibraryServices");
|
|
9
9
|
const forExport = {
|
|
10
10
|
name: "MunicipalLibraries",
|
|
11
11
|
pgSchema: "municipal_libraries",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,gGAA6F;AAC7F,8CAAoD;AACpD,4CAAyD;AACzD,oDAAiE;AACjE,0DAAyE;AAEzE,MAAM,SAAS,GAAQ;IACnB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE;QACT,4BAA4B,EAA5B,2DAA4B;KAC/B;IACD,WAAW,EAAE;QACT,kBAAkB,EAAlB,8BAAkB;QAClB,wBAAwB,EAAxB,mCAAwB;QACxB,iCAAiC,EAAjC,mDAAiC;QACjC,4BAA4B,EAA5B,2CAA4B;KAC/B;CACJ,CAAC;AAEoB,uCAAkB"}
|
|
@@ -4,7 +4,7 @@ import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
|
4
4
|
import { IPostalAddress } from "@golemio/core/dist/integration-engine";
|
|
5
5
|
import { ILibraries } from "../Libraries";
|
|
6
6
|
export declare class LibrariesModel extends Model<ILibraries> implements ILibraries {
|
|
7
|
-
id:
|
|
7
|
+
id: string;
|
|
8
8
|
name: string;
|
|
9
9
|
geometry: Point;
|
|
10
10
|
address: IPostalAddress;
|
|
@@ -13,6 +13,6 @@ export declare class LibrariesModel extends Model<ILibraries> implements ILibrar
|
|
|
13
13
|
email: string;
|
|
14
14
|
telephone: string;
|
|
15
15
|
static attributeModel: ModelAttributes<LibrariesModel, ILibraries>;
|
|
16
|
-
static updateAttributes:
|
|
16
|
+
static updateAttributes: Array<keyof ILibraries>;
|
|
17
17
|
static jsonSchema: JSONSchemaType<ILibraries[]>;
|
|
18
18
|
}
|
|
@@ -8,7 +8,7 @@ class LibrariesModel extends sequelize_1.Model {
|
|
|
8
8
|
exports.LibrariesModel = LibrariesModel;
|
|
9
9
|
LibrariesModel.attributeModel = {
|
|
10
10
|
id: {
|
|
11
|
-
type: sequelize_1.DataTypes.
|
|
11
|
+
type: sequelize_1.DataTypes.STRING(255),
|
|
12
12
|
primaryKey: true,
|
|
13
13
|
},
|
|
14
14
|
name: sequelize_1.DataTypes.STRING(255),
|
|
@@ -27,7 +27,7 @@ LibrariesModel.jsonSchema = {
|
|
|
27
27
|
items: {
|
|
28
28
|
type: "object",
|
|
29
29
|
properties: {
|
|
30
|
-
id: { type: "
|
|
30
|
+
id: { type: "string" },
|
|
31
31
|
name: { type: "string" },
|
|
32
32
|
geometry: { $ref: "#/definitions/geometry" },
|
|
33
33
|
address: { type: "object" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LibrariesModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/LibrariesModel.ts"],"names":[],"mappings":";;;AAEA,mEAAwF;AACxF,8EAA6E;AAI7E,MAAa,cAAe,SAAQ,iBAAiB;;AAArD,wCAiDC;AAvCiB,6BAAc,GAAgD;IACxE,EAAE,EAAE;QACA,IAAI,EAAE,qBAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"LibrariesModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/LibrariesModel.ts"],"names":[],"mappings":";;;AAEA,mEAAwF;AACxF,8EAA6E;AAI7E,MAAa,cAAe,SAAQ,iBAAiB;;AAArD,wCAiDC;AAvCiB,6BAAc,GAAgD;IACxE,EAAE,EAAE;QACA,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;QAC3B,UAAU,EAAE,IAAI;KACnB;IACD,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAC3B,QAAQ,EAAE,qBAAS,CAAC,QAAQ;IAC5B,OAAO,EAAE,qBAAS,CAAC,IAAI;IACvB,KAAK,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAC5B,SAAS,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAChC,GAAG,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAC1B,QAAQ,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;CAClC,CAAC;AAEY,+BAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC;KACtE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC;KAC7B,MAAM,CAAC,YAAY,CAA4B,CAAC;AAEvC,yBAAU,GAAiC;IACrD,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,QAAQ,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;YAC5C,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACvB,QAAQ,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;SAC9E;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;KAC3B;IACD,WAAW,EAAE;QACT,mBAAmB;QACnB,QAAQ,EAAE,yCAAoB,CAAC,QAAQ;KAC1C;CACJ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
2
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { ILibraryServices } from "
|
|
3
|
+
import { ILibraryServices } from "#sch/LibraryServices";
|
|
4
4
|
export declare class LibraryServicesModel extends Model<ILibraryServices> implements ILibraryServices {
|
|
5
|
-
library_id:
|
|
5
|
+
library_id: string;
|
|
6
6
|
service_id: number;
|
|
7
7
|
static attributeModel: ModelAttributes<LibraryServicesModel, ILibraryServices>;
|
|
8
8
|
static updateAttributes: (keyof ILibraryServices)[];
|
|
@@ -7,7 +7,7 @@ class LibraryServicesModel extends sequelize_1.Model {
|
|
|
7
7
|
exports.LibraryServicesModel = LibraryServicesModel;
|
|
8
8
|
LibraryServicesModel.attributeModel = {
|
|
9
9
|
library_id: {
|
|
10
|
-
type: sequelize_1.DataTypes.
|
|
10
|
+
type: sequelize_1.DataTypes.STRING(255),
|
|
11
11
|
primaryKey: true,
|
|
12
12
|
},
|
|
13
13
|
service_id: {
|
|
@@ -21,7 +21,7 @@ LibraryServicesModel.jsonSchema = {
|
|
|
21
21
|
items: {
|
|
22
22
|
type: "object",
|
|
23
23
|
properties: {
|
|
24
|
-
library_id: { type: "
|
|
24
|
+
library_id: { type: "string" },
|
|
25
25
|
service_id: { type: "integer" },
|
|
26
26
|
},
|
|
27
27
|
required: ["library_id", "service_id"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LibraryServicesModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/LibraryServicesModel.ts"],"names":[],"mappings":";;;AACA,mEAAwF;AAGxF,MAAa,oBAAqB,SAAQ,iBAAuB;;AAAjE,oDA4BC;AAxBiB,mCAAc,GAA4D;IACpF,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"LibraryServicesModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/LibraryServicesModel.ts"],"names":[],"mappings":";;;AACA,mEAAwF;AAGxF,MAAa,oBAAqB,SAAQ,iBAAuB;;AAAjE,oDA4BC;AAxBiB,mCAAc,GAA4D;IACpF,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;QAC3B,UAAU,EAAE,IAAI;KACnB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEY,qCAAgB,GAAG,CAAC,YAAsC,CAAC,CAAC;AAE5D,+BAAU,GAAuC;IAC3D,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SAClC;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;KACzC;CACJ,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
2
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { IOpeningHours } from "
|
|
3
|
+
import { IOpeningHours } from "#sch/OpeningHours";
|
|
4
4
|
export declare class OpeningHoursModel extends Model<IOpeningHours> implements IOpeningHours {
|
|
5
5
|
id: number;
|
|
6
|
-
library_id:
|
|
6
|
+
library_id: string;
|
|
7
7
|
day_of_week: string;
|
|
8
8
|
opens: string;
|
|
9
9
|
closes: string;
|
|
@@ -11,7 +11,8 @@ export declare class OpeningHoursModel extends Model<IOpeningHours> implements I
|
|
|
11
11
|
is_default: boolean;
|
|
12
12
|
valid_from: string | null;
|
|
13
13
|
valid_through: string | null;
|
|
14
|
+
type: string;
|
|
14
15
|
static attributeModel: ModelAttributes<OpeningHoursModel, IOpeningHours>;
|
|
15
|
-
static updateAttributes:
|
|
16
|
+
static updateAttributes: Array<keyof IOpeningHours>;
|
|
16
17
|
static jsonSchema: JSONSchemaType<IOpeningHours[]>;
|
|
17
18
|
}
|
|
@@ -11,7 +11,7 @@ OpeningHoursModel.attributeModel = {
|
|
|
11
11
|
primaryKey: true,
|
|
12
12
|
autoIncrement: true,
|
|
13
13
|
},
|
|
14
|
-
library_id: sequelize_1.DataTypes.
|
|
14
|
+
library_id: sequelize_1.DataTypes.STRING(255),
|
|
15
15
|
day_of_week: sequelize_1.DataTypes.STRING(255),
|
|
16
16
|
opens: sequelize_1.DataTypes.STRING(255),
|
|
17
17
|
closes: sequelize_1.DataTypes.STRING(255),
|
|
@@ -19,6 +19,7 @@ OpeningHoursModel.attributeModel = {
|
|
|
19
19
|
is_default: sequelize_1.DataTypes.BOOLEAN,
|
|
20
20
|
valid_from: sequelize_1.DataTypes.DATE,
|
|
21
21
|
valid_through: sequelize_1.DataTypes.DATE,
|
|
22
|
+
type: sequelize_1.DataTypes.STRING(255),
|
|
22
23
|
};
|
|
23
24
|
OpeningHoursModel.updateAttributes = Object.keys(OpeningHoursModel.attributeModel)
|
|
24
25
|
.filter((att) => att !== "id")
|
|
@@ -29,7 +30,7 @@ OpeningHoursModel.jsonSchema = {
|
|
|
29
30
|
type: "object",
|
|
30
31
|
properties: {
|
|
31
32
|
id: { type: "integer" },
|
|
32
|
-
library_id: { type: "
|
|
33
|
+
library_id: { type: "string" },
|
|
33
34
|
day_of_week: { type: "string" },
|
|
34
35
|
opens: { type: "string" },
|
|
35
36
|
closes: { type: "string" },
|
|
@@ -37,8 +38,9 @@ OpeningHoursModel.jsonSchema = {
|
|
|
37
38
|
is_default: { type: "boolean" },
|
|
38
39
|
valid_from: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
39
40
|
valid_through: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
41
|
+
type: { type: "string" },
|
|
40
42
|
},
|
|
41
|
-
required: ["library_id", "day_of_week", "opens", "closes", "description", "is_default"],
|
|
43
|
+
required: ["library_id", "day_of_week", "opens", "closes", "description", "is_default", "type"],
|
|
42
44
|
},
|
|
43
45
|
};
|
|
44
46
|
//# sourceMappingURL=OpeningHoursModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpeningHoursModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/OpeningHoursModel.ts"],"names":[],"mappings":";;;AACA,mEAAwF;AAGxF,MAAa,iBAAkB,SAAQ,iBAAoB;;AAA3D,
|
|
1
|
+
{"version":3,"file":"OpeningHoursModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/OpeningHoursModel.ts"],"names":[],"mappings":";;;AACA,mEAAwF;AAGxF,MAAa,iBAAkB,SAAQ,iBAAoB;;AAA3D,8CAoDC;AAxCiB,gCAAc,GAAsD;IAC9E,EAAE,EAAE;QACA,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,IAAI;KACtB;IACD,UAAU,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IACjC,WAAW,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAClC,KAAK,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAC5B,MAAM,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAC7B,WAAW,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IAClC,UAAU,EAAE,qBAAS,CAAC,OAAO;IAC7B,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,aAAa,EAAE,qBAAS,CAAC,IAAI;IAC7B,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;CAC9B,CAAC;AAEY,kCAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC;KACzE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC;KAC7B,MAAM,CAAC,YAAY,CAA+B,CAAC;AAE1C,4BAAU,GAAoC;IACxD,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAA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