@universis/accommodation 1.1.1 → 1.1.3
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/config/models/AccommodationChildFinancialAttribute.json +5 -0
- package/dist/config/models/AccommodationGuardianFinancialAttribute.json +5 -0
- package/dist/config/models/AccommodationPlace.json +50 -38
- package/dist/config/models/AccommodationPlaceLocale.json +5 -0
- package/dist/config/models/AccommodationRequestAction.json +10 -0
- package/dist/config/models/AccommodationRequestActionMessage.json +5 -0
- package/dist/config/models/AccommodationRequestActionReview.json +5 -0
- package/dist/config/models/AccommodationRequestAttachmentConfiguration.json +5 -0
- package/dist/config/models/AccommodationRequestCategory.json +19 -14
- package/dist/config/models/AccommodationRequestEvent.json +19 -14
- package/dist/config/models/AccommodationRequestFinancialAttribute.json +5 -0
- package/dist/config/models/AccommodationRoom.json +18 -1
- package/dist/config/models/AccommodationRoomLocale.json +5 -0
- package/dist/config/models/AccommodationSiblingFinancialAttribute.json +1 -7
- package/dist/config/models/CancelAccommodationCardAction.json +10 -4
- package/dist/config/models/GuardianType.json +5 -0
- package/dist/config/models/Review.json +5 -0
- package/dist/config/models/RoomType.json +5 -0
- package/dist/config/models/RoomTypeLocale.json +19 -14
- package/dist/config/models/StudentAccommodationCard.json +81 -79
- package/dist/config/scope.access.js +296 -80
- package/dist/config/scope.access.js.map +1 -1
- package/dist/listeners/OnUpdateAccommodationRoomListener.js +151 -0
- package/dist/listeners/OnUpdateAccommodationRoomListener.js.map +1 -0
- package/dist/listeners/StudentAccommodationCardSaveListener.js +9 -3
- package/dist/listeners/StudentAccommodationCardSaveListener.js.map +1 -1
- package/package.json +1 -1
- package/src/config/models/AccommodationChildFinancialAttribute.json +5 -0
- package/src/config/models/AccommodationGuardianFinancialAttribute.json +5 -0
- package/src/config/models/AccommodationPlace.json +50 -38
- package/src/config/models/AccommodationPlaceLocale.json +5 -0
- package/src/config/models/AccommodationRequestAction.json +10 -0
- package/src/config/models/AccommodationRequestActionMessage.json +5 -0
- package/src/config/models/AccommodationRequestActionReview.json +5 -0
- package/src/config/models/AccommodationRequestAttachmentConfiguration.json +5 -0
- package/src/config/models/AccommodationRequestCategory.json +19 -14
- package/src/config/models/AccommodationRequestEvent.json +19 -14
- package/src/config/models/AccommodationRequestFinancialAttribute.json +5 -0
- package/src/config/models/AccommodationRoom.json +18 -1
- package/src/config/models/AccommodationRoomLocale.json +5 -0
- package/src/config/models/AccommodationSiblingFinancialAttribute.json +1 -7
- package/src/config/models/CancelAccommodationCardAction.json +10 -4
- package/src/config/models/GuardianType.json +5 -0
- package/src/config/models/Review.json +5 -0
- package/src/config/models/RoomType.json +5 -0
- package/src/config/models/RoomTypeLocale.json +19 -14
- package/src/config/models/StudentAccommodationCard.json +81 -79
- package/src/config/scope.access.js +296 -80
- package/src/listeners/OnUpdateAccommodationRoomListener.js +150 -0
- package/src/listeners/StudentAccommodationCardSaveListener.js +9 -3
|
@@ -28,13 +28,7 @@
|
|
|
28
28
|
{
|
|
29
29
|
"mask": 15,
|
|
30
30
|
"type": "global",
|
|
31
|
-
"account": "
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"mask": 15,
|
|
35
|
-
"type": "self",
|
|
36
|
-
"filter": "accommodationRequest/student/department eq departments()",
|
|
37
|
-
"account": "Administrators"
|
|
31
|
+
"account": "AccommodationAdministrators"
|
|
38
32
|
},
|
|
39
33
|
{
|
|
40
34
|
"mask": 1,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"version": "1.0",
|
|
10
10
|
"fields": [
|
|
11
11
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"@id": "http://schema.org/accommodationCard",
|
|
13
|
+
"name": "accommodationCard",
|
|
14
|
+
"type": "StudentAccommodationCard"
|
|
15
15
|
}
|
|
16
16
|
],
|
|
17
17
|
"privileges": [
|
|
@@ -23,9 +23,15 @@
|
|
|
23
23
|
"mask": 15,
|
|
24
24
|
"type": "global",
|
|
25
25
|
"account": "Administrators"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"mask": 15,
|
|
29
|
+
"type": "global",
|
|
30
|
+
"account": "AccommodationAdministrators"
|
|
26
31
|
}
|
|
27
32
|
],
|
|
28
|
-
"eventListeners": [
|
|
33
|
+
"eventListeners": [
|
|
34
|
+
{
|
|
29
35
|
"type": "@themost/data/previous-state-listener"
|
|
30
36
|
}
|
|
31
37
|
]
|
|
@@ -68,19 +68,24 @@
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
"privileges": [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
71
|
+
{
|
|
72
|
+
"mask": 1,
|
|
73
|
+
"type": "global",
|
|
74
|
+
"account": "*"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"mask": 31,
|
|
78
|
+
"type": "global"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"mask": 15,
|
|
82
|
+
"type": "global",
|
|
83
|
+
"account": "Administrators"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"mask": 15,
|
|
87
|
+
"type": "global",
|
|
88
|
+
"account": "AccommodationAdministrators"
|
|
89
|
+
}
|
|
85
90
|
]
|
|
86
91
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"title": "StudentAccommodationCard",
|
|
6
6
|
"hidden": false,
|
|
7
7
|
"sealed": false,
|
|
8
|
-
"version": "1.
|
|
8
|
+
"version": "1.8",
|
|
9
9
|
"source": "StudentAccommodationCardBase",
|
|
10
10
|
"view": "StudentAccommodationCardData",
|
|
11
11
|
"classPath": "./models/StudentAccommodationCard",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"description": "Ο κωδικός της εγγραφής",
|
|
17
17
|
"type": "Counter",
|
|
18
18
|
"primary": true
|
|
19
|
-
},
|
|
19
|
+
},
|
|
20
20
|
{
|
|
21
21
|
"name": "action",
|
|
22
22
|
"title": "Action",
|
|
23
23
|
"description": "The action associated with this card.",
|
|
24
24
|
"type": "AccommodationRequestAction",
|
|
25
25
|
"nullable": false
|
|
26
|
-
},
|
|
26
|
+
},
|
|
27
27
|
{
|
|
28
28
|
"name": "student",
|
|
29
29
|
"title": "Φοιτητής",
|
|
@@ -47,80 +47,75 @@
|
|
|
47
47
|
"type": "AcademicYear",
|
|
48
48
|
"expandable": true,
|
|
49
49
|
"nullable": false
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"@id": "http://schema.org/validThrough",
|
|
77
|
-
"name": "validThrough",
|
|
78
|
-
"title": "validThrough",
|
|
79
|
-
"description": "The date after when the item is not valid.",
|
|
80
|
-
"type": "DateTime",
|
|
81
|
-
"nullable": false
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"@id": "http://schema.org/cardStatus",
|
|
85
|
-
"name": "cardStatus",
|
|
86
|
-
"title": "cardStatus",
|
|
87
|
-
"description": "Indicates the current disposition of the Card.",
|
|
88
|
-
"type": "ActionStatusType",
|
|
89
|
-
"value": "javascript:return { alternateName:'PotentialActionStatus' };"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "dateCancelled",
|
|
93
|
-
"title": "Date Cancelled",
|
|
94
|
-
"description": "The date on which this item was cancelled.",
|
|
95
|
-
"type": "DateTime",
|
|
96
|
-
"nullable": true
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "cancelReason",
|
|
100
|
-
"title": "Λόγοι ακύρωσης",
|
|
101
|
-
"description": "Λόγοι ακύρωσης",
|
|
102
|
-
"type": "Text",
|
|
103
|
-
"size": 255,
|
|
104
|
-
"many": false,
|
|
105
|
-
"nullable": true
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "dateModified",
|
|
109
|
-
"title": "Ημερομηνία τροποποίησης",
|
|
110
|
-
"description": "Ημερομηνία τροποποίησης",
|
|
111
|
-
"type": "DateTime",
|
|
112
|
-
"nullable": false,
|
|
113
|
-
"value": "javascript:return new Date();",
|
|
114
|
-
"calculation": "javascript:return this.now();"
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
"constraints": [
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "serialNumber",
|
|
53
|
+
"title": "Number",
|
|
54
|
+
"type": "Integer",
|
|
55
|
+
"nullable": false,
|
|
56
|
+
"value": "javascript:return this.newid();"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "dateCreated",
|
|
60
|
+
"title": "Date Created",
|
|
61
|
+
"description": "The date on which this item was created.",
|
|
62
|
+
"type": "DateTime",
|
|
63
|
+
"value": "javascript:return (new Date());",
|
|
64
|
+
"readonly": true
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"@id": "http://schema.org/validFrom",
|
|
68
|
+
"name": "validFrom",
|
|
69
|
+
"title": "validFrom",
|
|
70
|
+
"description": "The date when the item becomes valid.",
|
|
71
|
+
"type": "DateTime",
|
|
72
|
+
"nullable": false
|
|
73
|
+
},
|
|
118
74
|
{
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
75
|
+
"@id": "http://schema.org/validThrough",
|
|
76
|
+
"name": "validThrough",
|
|
77
|
+
"title": "validThrough",
|
|
78
|
+
"description": "The date after when the item is not valid.",
|
|
79
|
+
"type": "DateTime",
|
|
80
|
+
"nullable": false
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"@id": "http://schema.org/cardStatus",
|
|
84
|
+
"name": "cardStatus",
|
|
85
|
+
"title": "cardStatus",
|
|
86
|
+
"description": "Indicates the current disposition of the Card.",
|
|
87
|
+
"type": "ActionStatusType",
|
|
88
|
+
"value": "javascript:return { alternateName:'PotentialActionStatus' };"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "dateCancelled",
|
|
92
|
+
"title": "Date Cancelled",
|
|
93
|
+
"description": "The date on which this item was cancelled.",
|
|
94
|
+
"type": "DateTime",
|
|
95
|
+
"nullable": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "cancelReason",
|
|
99
|
+
"title": "Λόγοι ακύρωσης",
|
|
100
|
+
"description": "Λόγοι ακύρωσης",
|
|
101
|
+
"type": "Text",
|
|
102
|
+
"size": 255,
|
|
103
|
+
"many": false,
|
|
104
|
+
"nullable": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "dateModified",
|
|
108
|
+
"title": "Ημερομηνία τροποποίησης",
|
|
109
|
+
"description": "Ημερομηνία τροποποίησης",
|
|
110
|
+
"type": "DateTime",
|
|
111
|
+
"nullable": false,
|
|
112
|
+
"value": "javascript:return new Date();",
|
|
113
|
+
"calculation": "javascript:return this.now();"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "isActive",
|
|
117
|
+
"readonly": true,
|
|
118
|
+
"virtual": true
|
|
124
119
|
}
|
|
125
120
|
],
|
|
126
121
|
"privileges": [
|
|
@@ -133,12 +128,17 @@
|
|
|
133
128
|
"type": "global",
|
|
134
129
|
"account": "Administrators"
|
|
135
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"mask": 15,
|
|
133
|
+
"type": "global",
|
|
134
|
+
"account": "AccommodationAdministrators"
|
|
135
|
+
},
|
|
136
136
|
{
|
|
137
137
|
"mask": 1,
|
|
138
138
|
"type": "self",
|
|
139
139
|
"account": "Students",
|
|
140
140
|
"filter": "student/user eq me()"
|
|
141
|
-
}
|
|
141
|
+
}
|
|
142
142
|
],
|
|
143
143
|
"eventListeners": [
|
|
144
144
|
{
|
|
@@ -150,9 +150,11 @@
|
|
|
150
150
|
{
|
|
151
151
|
"type": "./listeners/OnCancelAccommodationCardListener"
|
|
152
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"type": "./listeners/OnUpdateAccommodationRoomListener"
|
|
155
|
+
},
|
|
153
156
|
{
|
|
154
157
|
"type": "./listeners/SendEmailAfterCardStatusChangeListener"
|
|
155
158
|
}
|
|
156
159
|
]
|
|
157
|
-
}
|
|
158
|
-
|
|
160
|
+
}
|