@universis/accommodation 1.1.2 → 1.1.5

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.
@@ -2,11 +2,11 @@
2
2
  "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
3
3
  "@id": "https://universis.io/schemas/RoomType",
4
4
  "name": "RoomType",
5
- "title": "Τύπος αίθουσας",
5
+ "title": "Τύπος δωματίου",
6
6
  "type": "lookup",
7
7
  "hidden": false,
8
8
  "sealed": false,
9
- "version": "1.4",
9
+ "version": "1.4.1",
10
10
  "fields": [
11
11
  {
12
12
  "name": "id",
@@ -27,7 +27,7 @@
27
27
  "nullable": false,
28
28
  "size": 100
29
29
  },
30
- {
30
+ {
31
31
  "name": "alternateName",
32
32
  "title": "Εναλλακτική Ονομασία",
33
33
  "description": "Εναλλακτική Ονομασία",
@@ -44,6 +44,12 @@
44
44
  "nullable": false,
45
45
  "value": "javascript:return 0;"
46
46
  },
47
+ {
48
+ "name": "bedsAllowed",
49
+ "type": "number",
50
+ "value": "javascript:return 0;",
51
+ "description": "The total allowed number of beds for the room type"
52
+ },
47
53
  {
48
54
  "name": "locales",
49
55
  "type": "RoomTypeLocale",
@@ -79,247 +85,247 @@
79
85
  }
80
86
  ],
81
87
  "privileges": [
82
- {
83
- "mask": 1,
84
- "type": "global",
85
- "account": "*"
86
- },
87
- {
88
- "mask": 31,
89
- "type": "global"
90
- },
91
- {
92
- "mask": 15,
93
- "type": "global",
94
- "account": "Administrators"
95
- },
96
- {
97
- "mask": 15,
98
- "type": "global",
99
- "account": "AccommodationAdministrators"
100
- }
88
+ {
89
+ "mask": 1,
90
+ "type": "global",
91
+ "account": "*"
92
+ },
93
+ {
94
+ "mask": 31,
95
+ "type": "global"
96
+ },
97
+ {
98
+ "mask": 15,
99
+ "type": "global",
100
+ "account": "Administrators"
101
+ },
102
+ {
103
+ "mask": 15,
104
+ "type": "global",
105
+ "account": "AccommodationAdministrators"
106
+ }
101
107
  ],
102
108
  "eventListeners": [
103
109
  {
104
110
  "type": "./listeners/data-localization"
105
111
  }
106
112
  ],
107
- "seed":[
108
- {
109
- "alternateName": "unknown",
110
- "name": "Άγνωστο",
111
- "description": "Άγνωστο",
112
- "locales": [
113
- {
114
- "inLanguage": "en",
115
- "name": "Unknown",
116
- "description": "Unknown"
117
- }
118
- ]
119
- },
120
- {
121
- "alternateName": "restaurant",
122
- "name": "Εστιατόριο",
123
- "description": "Εστιατόριο",
124
- "locales": [
125
- {
126
- "inLanguage": "en",
127
- "name": "Restaurant",
128
- "description": "Restaurant"
129
- }
130
- ]
131
- },
132
- {
133
- "alternateName": "plain",
134
- "name": "Κανονικό",
135
- "description": "Κανονικό",
136
- "locales": [
137
- {
138
- "inLanguage": "en",
139
- "name": "Plain",
140
- "description": "Plain"
141
- }
142
- ]
143
- },
144
- {
145
- "alternateName": "disabled",
146
- "name": "Ανενεργό",
147
- "description": "Ανενεργό",
148
- "locales": [
149
- {
150
- "inLanguage": "en",
151
- "name": "Disabled",
152
- "description": "Disabled"
153
- }
154
- ]
155
- },
156
- {
157
- "alternateName": "warehouse",
158
- "name": "Αποθήκη",
159
- "description": "Αποθήκη",
160
- "locales": [
161
- {
162
- "inLanguage": "en",
163
- "name": "Warehouse",
164
- "description": "Warehouse"
165
- }
166
- ]
167
- },
168
- {
169
- "alternateName": "office",
170
- "name": "Γραφείο",
171
- "description": "Γραφείο",
172
- "locales": [
173
- {
174
- "inLanguage": "en",
175
- "name": "Office",
176
- "description": "Office"
177
- }
178
- ]
179
- },
180
- {
181
- "alternateName": "lab",
182
- "name": "Εργαστήριο",
183
- "description": "Εργαστήριο",
184
- "locales": [
185
- {
186
- "inLanguage": "en",
187
- "name": "Lab",
188
- "description": "Lab"
189
- }
190
- ]
191
- },
192
- {
193
- "alternateName": "wc",
194
- "name": "WC",
195
- "description": "WC",
196
- "locales": [
197
- {
198
- "inLanguage": "en",
199
- "name": "WC",
200
- "description": "WC"
201
- }
202
- ]
203
- },
204
- {
205
- "alternateName": "reading-room",
206
- "name": "Αναγνωστήριο",
207
- "description": "Αναγνωστήριο",
208
- "locales": [
209
- {
210
- "inLanguage": "en",
211
- "name": "Reading Room",
212
- "description": "Reading Room"
213
- }
214
- ]
215
- },
216
- {
217
- "alternateName": "multi-purpose",
218
- "name": "Πολυχρηστικό",
219
- "description": "Πολυχρηστικό",
220
- "locales": [
221
- {
222
- "inLanguage": "en",
223
- "name": "Multi purpose",
224
- "description": "Multi purpose"
225
- }
226
- ]
227
- },
228
- {
229
- "alternateName": "event-hall",
230
- "name": "Αίθουσα εκδηλώσεων",
231
- "description": "Αίθουσα εκδηλώσεων",
232
- "locales": [
233
- {
234
- "inLanguage": "en",
235
- "name": "Event hall",
236
- "description": "Event hall"
237
- }
238
- ]
239
- },
240
- {
241
- "alternateName": "library",
242
- "name": "Βιβλιοθήκη",
243
- "description": "Βιβλιοθήκη",
244
- "locales": [
245
- {
246
- "inLanguage": "en",
247
- "name": "Library",
248
- "description": "Library"
249
- }
250
- ]
251
- },
252
- {
253
- "alternateName": "boiler",
254
- "name": "Λεβητοστάσιο",
255
- "description": "Λεβητοστάσιο",
256
- "locales": [
257
- {
258
- "inLanguage": "en",
259
- "name": "Boiler",
260
- "description": "Boiler"
261
- }
262
- ]
263
- },
264
- {
265
- "alternateName": "mechanical",
266
- "name": "Μηχανοστάσιο",
267
- "description": "Μηχανοστάσιο",
268
- "locales": [
269
- {
270
- "inLanguage": "en",
271
- "name": "Mechanical",
272
- "description": "Mechanical"
273
- }
274
- ]
275
- },
276
- {
277
- "alternateName": "laundry",
278
- "name": "Πλυντήριο",
279
- "description": "Πλυντήριο",
280
- "locales": [
281
- {
282
- "inLanguage": "en",
283
- "name": "Laundry",
284
- "description": "Laundry"
285
- }
286
- ]
287
- },
288
- {
289
- "alternateName": "church",
290
- "name": "Εκκλησία",
291
- "description": "Εκκλησία",
292
- "locales": [
293
- {
294
- "inLanguage": "en",
295
- "name": "Church",
296
- "description": "Church"
297
- }
298
- ]
299
- },
300
- {
301
- "alternateName": "hostel",
302
- "name": "Χόστελ",
303
- "description": "Χόστελ",
304
- "locales": [
305
- {
306
- "inLanguage": "en",
307
- "name": "Hostel",
308
- "description": "Hostel"
309
- }
310
- ]
311
- },
312
- {
313
- "alternateName": "temporary",
314
- "name": "Προσωρινό",
315
- "description": "Προσωρινό",
316
- "locales": [
317
- {
318
- "inLanguage": "en",
319
- "name": "Temporary",
320
- "description": "Temporary"
321
- }
322
- ]
323
- }
324
- ]
113
+ "seed": [
114
+ {
115
+ "alternateName": "unknown",
116
+ "name": "Άγνωστο",
117
+ "description": "Άγνωστο",
118
+ "locales": [
119
+ {
120
+ "inLanguage": "en",
121
+ "name": "Unknown",
122
+ "description": "Unknown"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "alternateName": "restaurant",
128
+ "name": "Εστιατόριο",
129
+ "description": "Εστιατόριο",
130
+ "locales": [
131
+ {
132
+ "inLanguage": "en",
133
+ "name": "Restaurant",
134
+ "description": "Restaurant"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "alternateName": "plain",
140
+ "name": "Κανονικό",
141
+ "description": "Κανονικό",
142
+ "locales": [
143
+ {
144
+ "inLanguage": "en",
145
+ "name": "Plain",
146
+ "description": "Plain"
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "alternateName": "disabled",
152
+ "name": "Ανενεργό",
153
+ "description": "Ανενεργό",
154
+ "locales": [
155
+ {
156
+ "inLanguage": "en",
157
+ "name": "Disabled",
158
+ "description": "Disabled"
159
+ }
160
+ ]
161
+ },
162
+ {
163
+ "alternateName": "warehouse",
164
+ "name": "Αποθήκη",
165
+ "description": "Αποθήκη",
166
+ "locales": [
167
+ {
168
+ "inLanguage": "en",
169
+ "name": "Warehouse",
170
+ "description": "Warehouse"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "alternateName": "office",
176
+ "name": "Γραφείο",
177
+ "description": "Γραφείο",
178
+ "locales": [
179
+ {
180
+ "inLanguage": "en",
181
+ "name": "Office",
182
+ "description": "Office"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "alternateName": "lab",
188
+ "name": "Εργαστήριο",
189
+ "description": "Εργαστήριο",
190
+ "locales": [
191
+ {
192
+ "inLanguage": "en",
193
+ "name": "Lab",
194
+ "description": "Lab"
195
+ }
196
+ ]
197
+ },
198
+ {
199
+ "alternateName": "wc",
200
+ "name": "WC",
201
+ "description": "WC",
202
+ "locales": [
203
+ {
204
+ "inLanguage": "en",
205
+ "name": "WC",
206
+ "description": "WC"
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "alternateName": "reading-room",
212
+ "name": "Αναγνωστήριο",
213
+ "description": "Αναγνωστήριο",
214
+ "locales": [
215
+ {
216
+ "inLanguage": "en",
217
+ "name": "Reading Room",
218
+ "description": "Reading Room"
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "alternateName": "multi-purpose",
224
+ "name": "Πολυχρηστικό",
225
+ "description": "Πολυχρηστικό",
226
+ "locales": [
227
+ {
228
+ "inLanguage": "en",
229
+ "name": "Multi purpose",
230
+ "description": "Multi purpose"
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "alternateName": "event-hall",
236
+ "name": "Αίθουσα εκδηλώσεων",
237
+ "description": "Αίθουσα εκδηλώσεων",
238
+ "locales": [
239
+ {
240
+ "inLanguage": "en",
241
+ "name": "Event hall",
242
+ "description": "Event hall"
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "alternateName": "library",
248
+ "name": "Βιβλιοθήκη",
249
+ "description": "Βιβλιοθήκη",
250
+ "locales": [
251
+ {
252
+ "inLanguage": "en",
253
+ "name": "Library",
254
+ "description": "Library"
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "alternateName": "boiler",
260
+ "name": "Λεβητοστάσιο",
261
+ "description": "Λεβητοστάσιο",
262
+ "locales": [
263
+ {
264
+ "inLanguage": "en",
265
+ "name": "Boiler",
266
+ "description": "Boiler"
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "alternateName": "mechanical",
272
+ "name": "Μηχανοστάσιο",
273
+ "description": "Μηχανοστάσιο",
274
+ "locales": [
275
+ {
276
+ "inLanguage": "en",
277
+ "name": "Mechanical",
278
+ "description": "Mechanical"
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ "alternateName": "laundry",
284
+ "name": "Πλυντήριο",
285
+ "description": "Πλυντήριο",
286
+ "locales": [
287
+ {
288
+ "inLanguage": "en",
289
+ "name": "Laundry",
290
+ "description": "Laundry"
291
+ }
292
+ ]
293
+ },
294
+ {
295
+ "alternateName": "church",
296
+ "name": "Εκκλησία",
297
+ "description": "Εκκλησία",
298
+ "locales": [
299
+ {
300
+ "inLanguage": "en",
301
+ "name": "Church",
302
+ "description": "Church"
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "alternateName": "hostel",
308
+ "name": "Χόστελ",
309
+ "description": "Χόστελ",
310
+ "locales": [
311
+ {
312
+ "inLanguage": "en",
313
+ "name": "Hostel",
314
+ "description": "Hostel"
315
+ }
316
+ ]
317
+ },
318
+ {
319
+ "alternateName": "temporary",
320
+ "name": "Προσωρινό",
321
+ "description": "Προσωρινό",
322
+ "locales": [
323
+ {
324
+ "inLanguage": "en",
325
+ "name": "Temporary",
326
+ "description": "Temporary"
327
+ }
328
+ ]
329
+ }
330
+ ]
325
331
  }