retold-data-service 2.0.7 → 2.0.9

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 (54) hide show
  1. package/.vscode/settings.json +33 -14
  2. package/debug/Harness.js +81 -2
  3. package/package.json +4 -2
  4. package/source/Retold-Data-Service.js +58 -18
  5. package/test/model/{json/MeadowModel-Extended.json → MeadowModel-Extended.json} +969 -5
  6. package/{debug/model/generated_documentation → test/model/doc}/Dictionary.md +1 -1
  7. package/{debug/model/generated_documentation → test/model/doc}/Model-Author.md +5 -5
  8. package/{debug/model/generated_documentation → test/model/doc}/Model-Book.md +6 -6
  9. package/{debug/model/generated_documentation → test/model/doc}/Model-BookAuthorJoin.md +4 -4
  10. package/{debug/model/generated_documentation → test/model/doc}/Model-BookPrice.md +6 -6
  11. package/{debug/model/generated_documentation → test/model/doc}/Model-Review.md +7 -7
  12. package/{debug/model/generated_documentation → test/model/doc}/ModelChangeTracking.md +1 -1
  13. package/{debug/model/generated_diagram/Stricture_Output.dot → test/model/doc/diagrams/Relationships.dot} +1 -1
  14. package/test/model/doc/diagrams/RelationshipsFull.dot +13 -0
  15. package/test/model/doc/diagrams/RelationshipsFull.png +0 -0
  16. package/test/model/meadow/MeadowSchemaAuthor.json +431 -0
  17. package/test/model/meadow/MeadowSchemaBook.json +527 -0
  18. package/test/model/meadow/MeadowSchemaBookAuthorJoin.json +335 -0
  19. package/test/model/meadow/MeadowSchemaBookPrice.json +511 -0
  20. package/test/model/meadow/MeadowSchemaReview.json +463 -0
  21. package/{debug/model/sql_create/BookStore-CreateDatabase.mysql.sql → test/model/mysql_create/MeadowModel-CreateMySQLDatabase.mysql.sql} +6 -6
  22. package/debug/bookstore-configuration.json +0 -26
  23. package/debug/model/Model-Extended.json +0 -915
  24. package/debug/model/Model-PICT.json +0 -1
  25. package/debug/model/Model.json +0 -280
  26. package/debug/model/bookstore-api-endpoint-exercises.paw +0 -0
  27. package/debug/model/ddl/BookStore.ddl +0 -66
  28. package/debug/model/generated_diagram/README.md +0 -1
  29. package/debug/model/generated_documentation/README.md +0 -1
  30. package/debug/model/manual_scripts/DropTables.sql +0 -5
  31. package/debug/model/manual_scripts/MySQL-Laden-Entry-ServicesOnly.sh +0 -28
  32. package/debug/model/manual_scripts/MySQL-Laden-Entry.sh +0 -17
  33. package/debug/model/manual_scripts/MySQL-Security.sql +0 -5
  34. package/debug/model/manual_scripts/README.md +0 -2
  35. package/debug/model/manual_scripts/my.cnf +0 -4
  36. package/debug/model/meadow/Model-MeadowSchema-Author.json +0 -220
  37. package/debug/model/meadow/Model-MeadowSchema-Book.json +0 -268
  38. package/debug/model/meadow/Model-MeadowSchema-BookAuthorJoin.json +0 -172
  39. package/debug/model/meadow/Model-MeadowSchema-BookPrice.json +0 -260
  40. package/debug/model/meadow/Model-MeadowSchema-Review.json +0 -236
  41. package/debug/model/meadow/README.md +0 -1
  42. package/debug/model/sql_create/BookStore-CreateAndPopulateTables.sql +0 -194
  43. package/debug/model/sql_create/README.md +0 -1
  44. package/test/model/Model-Extended.json +0 -915
  45. package/test/model/Model.ddl +0 -66
  46. package/test/model/Model.json +0 -280
  47. package/test/model/meadow/Model-MeadowSchema-Author.json +0 -220
  48. package/test/model/meadow/Model-MeadowSchema-Book.json +0 -268
  49. package/test/model/meadow/Model-MeadowSchema-BookAuthorJoin.json +0 -172
  50. package/test/model/meadow/Model-MeadowSchema-BookPrice.json +0 -260
  51. package/test/model/meadow/Model-MeadowSchema-Review.json +0 -236
  52. /package/test/model/{json/MeadowModel-PICT.json → MeadowModel-PICT.json} +0 -0
  53. /package/test/model/{json/MeadowModel.json → MeadowModel.json} +0 -0
  54. /package/{debug/model/generated_diagram/Stricture_Output.png → test/model/doc/diagrams/Relationships.png} +0 -0
@@ -0,0 +1,335 @@
1
+ {
2
+ "Scope": "BookAuthorJoin",
3
+ "DefaultIdentifier": "IDBookAuthorJoin",
4
+ "Domain": "Default",
5
+ "Schema": [
6
+ {
7
+ "Column": "IDBookAuthorJoin",
8
+ "Type": "AutoIdentity",
9
+ "Size": "Default"
10
+ },
11
+ {
12
+ "Column": "GUIDBookAuthorJoin",
13
+ "Type": "AutoGUID",
14
+ "Size": "36"
15
+ },
16
+ {
17
+ "Column": "IDBook",
18
+ "Type": "Integer",
19
+ "Size": "int"
20
+ },
21
+ {
22
+ "Column": "IDAuthor",
23
+ "Type": "Integer",
24
+ "Size": "int"
25
+ }
26
+ ],
27
+ "DefaultObject": {
28
+ "IDBookAuthorJoin": 0,
29
+ "GUIDBookAuthorJoin": "0x0000000000000000",
30
+ "IDBook": 0,
31
+ "IDAuthor": 0
32
+ },
33
+ "JsonSchema": {
34
+ "title": "BookAuthorJoin",
35
+ "type": "object",
36
+ "properties": {
37
+ "IDBookAuthorJoin": {
38
+ "type": "integer",
39
+ "size": "Default"
40
+ },
41
+ "GUIDBookAuthorJoin": {
42
+ "type": "string",
43
+ "size": "36"
44
+ },
45
+ "IDBook": {
46
+ "type": "integer",
47
+ "size": "int"
48
+ },
49
+ "IDAuthor": {
50
+ "type": "integer",
51
+ "size": "int"
52
+ }
53
+ },
54
+ "required": [
55
+ "IDBookAuthorJoin"
56
+ ],
57
+ "MeadowSchema": {
58
+ "Scope": "BookAuthorJoin",
59
+ "DefaultIdentifier": "IDBookAuthorJoin",
60
+ "Domain": "Default",
61
+ "Schema": [
62
+ {
63
+ "Column": "IDBookAuthorJoin",
64
+ "Type": "AutoIdentity",
65
+ "Size": "Default"
66
+ },
67
+ {
68
+ "Column": "GUIDBookAuthorJoin",
69
+ "Type": "AutoGUID",
70
+ "Size": "36"
71
+ },
72
+ {
73
+ "Column": "IDBook",
74
+ "Type": "Integer",
75
+ "Size": "int"
76
+ },
77
+ {
78
+ "Column": "IDAuthor",
79
+ "Type": "Integer",
80
+ "Size": "int"
81
+ }
82
+ ],
83
+ "DefaultObject": {
84
+ "IDBookAuthorJoin": 0,
85
+ "GUIDBookAuthorJoin": "0x0000000000000000",
86
+ "IDBook": 0,
87
+ "IDAuthor": 0
88
+ },
89
+ "Authorization": {
90
+ "__DefaultAPISecurity": {
91
+ "Create": "Deny",
92
+ "Read": "Deny",
93
+ "Reads": "Deny",
94
+ "ReadsBy": "Deny",
95
+ "ReadMax": "Deny",
96
+ "ReadSelectList": "Deny",
97
+ "Update": "Deny",
98
+ "Delete": "Deny",
99
+ "Count": "Deny",
100
+ "CountBy": "Deny",
101
+ "Schema": "Deny",
102
+ "Validate": "Deny",
103
+ "New": "Deny"
104
+ },
105
+ "Unauthenticated": {
106
+ "Create": "Deny",
107
+ "Read": "Deny",
108
+ "Reads": "Deny",
109
+ "ReadsBy": "Deny",
110
+ "ReadMax": "Deny",
111
+ "ReadSelectList": "Deny",
112
+ "Update": "Deny",
113
+ "Delete": "Deny",
114
+ "Count": "Deny",
115
+ "CountBy": "Deny",
116
+ "Schema": "Deny",
117
+ "Validate": "Deny",
118
+ "New": "Deny"
119
+ },
120
+ "Readonly": {
121
+ "Create": "Deny",
122
+ "Read": "Allow",
123
+ "Reads": "Allow",
124
+ "ReadsBy": "Allow",
125
+ "ReadMax": "Allow",
126
+ "ReadSelectList": "Allow",
127
+ "Update": "Deny",
128
+ "Delete": "Deny",
129
+ "Count": "Allow",
130
+ "CountBy": "Allow",
131
+ "Schema": "Allow",
132
+ "Validate": "Allow",
133
+ "New": "Deny"
134
+ },
135
+ "User": {
136
+ "Create": "Allow",
137
+ "Read": "MyCustomer",
138
+ "Reads": "MyCustomer",
139
+ "ReadsBy": "MyCustomer",
140
+ "ReadMax": "MyCustomer",
141
+ "ReadSelectList": "MyCustomer",
142
+ "Update": "Mine",
143
+ "Delete": "Mine",
144
+ "Count": "MyCustomer",
145
+ "CountBy": "MyCustomer",
146
+ "Schema": "MyCustomer",
147
+ "Validate": "MyCustomer",
148
+ "New": "MyCustomer"
149
+ },
150
+ "Manager": {
151
+ "Create": "Allow",
152
+ "Read": "MyCustomer",
153
+ "Reads": "MyCustomer",
154
+ "ReadsBy": "MyCustomer",
155
+ "ReadMax": "MyCustomer",
156
+ "ReadSelectList": "MyCustomer",
157
+ "Update": "Mine",
158
+ "Delete": "Mine",
159
+ "Count": "MyCustomer",
160
+ "CountBy": "MyCustomer",
161
+ "Schema": "MyCustomer",
162
+ "Validate": "MyCustomer",
163
+ "New": "MyCustomer"
164
+ },
165
+ "Director": {
166
+ "Create": "Allow",
167
+ "Read": "MyCustomer",
168
+ "Reads": "MyCustomer",
169
+ "ReadsBy": "MyCustomer",
170
+ "ReadMax": "MyCustomer",
171
+ "ReadSelectList": "MyCustomer",
172
+ "Update": "MyCustomer",
173
+ "Delete": "MyCustomer",
174
+ "Count": "MyCustomer",
175
+ "CountBy": "MyCustomer",
176
+ "Schema": "MyCustomer",
177
+ "Validate": "MyCustomer",
178
+ "New": "MyCustomer"
179
+ },
180
+ "Executive": {
181
+ "Create": "Allow",
182
+ "Read": "MyCustomer",
183
+ "Reads": "MyCustomer",
184
+ "ReadsBy": "MyCustomer",
185
+ "ReadMax": "MyCustomer",
186
+ "ReadSelectList": "MyCustomer",
187
+ "Update": "MyCustomer",
188
+ "Delete": "MyCustomer",
189
+ "Count": "MyCustomer",
190
+ "CountBy": "MyCustomer",
191
+ "Schema": "MyCustomer",
192
+ "Validate": "MyCustomer",
193
+ "New": "MyCustomer"
194
+ },
195
+ "Administrator": {
196
+ "Create": "Allow",
197
+ "Read": "Allow",
198
+ "Reads": "Allow",
199
+ "ReadsBy": "Allow",
200
+ "ReadMax": "Allow",
201
+ "ReadSelectList": "Allow",
202
+ "Update": "Allow",
203
+ "Delete": "Allow",
204
+ "Count": "Allow",
205
+ "CountBy": "Allow",
206
+ "Schema": "Allow",
207
+ "Validate": "Allow",
208
+ "New": "Allow"
209
+ }
210
+ }
211
+ }
212
+ },
213
+ "Authorization": {
214
+ "__DefaultAPISecurity": {
215
+ "Create": "Deny",
216
+ "Read": "Deny",
217
+ "Reads": "Deny",
218
+ "ReadsBy": "Deny",
219
+ "ReadMax": "Deny",
220
+ "ReadSelectList": "Deny",
221
+ "Update": "Deny",
222
+ "Delete": "Deny",
223
+ "Count": "Deny",
224
+ "CountBy": "Deny",
225
+ "Schema": "Deny",
226
+ "Validate": "Deny",
227
+ "New": "Deny"
228
+ },
229
+ "Unauthenticated": {
230
+ "Create": "Deny",
231
+ "Read": "Deny",
232
+ "Reads": "Deny",
233
+ "ReadsBy": "Deny",
234
+ "ReadMax": "Deny",
235
+ "ReadSelectList": "Deny",
236
+ "Update": "Deny",
237
+ "Delete": "Deny",
238
+ "Count": "Deny",
239
+ "CountBy": "Deny",
240
+ "Schema": "Deny",
241
+ "Validate": "Deny",
242
+ "New": "Deny"
243
+ },
244
+ "Readonly": {
245
+ "Create": "Deny",
246
+ "Read": "Allow",
247
+ "Reads": "Allow",
248
+ "ReadsBy": "Allow",
249
+ "ReadMax": "Allow",
250
+ "ReadSelectList": "Allow",
251
+ "Update": "Deny",
252
+ "Delete": "Deny",
253
+ "Count": "Allow",
254
+ "CountBy": "Allow",
255
+ "Schema": "Allow",
256
+ "Validate": "Allow",
257
+ "New": "Deny"
258
+ },
259
+ "User": {
260
+ "Create": "Allow",
261
+ "Read": "MyCustomer",
262
+ "Reads": "MyCustomer",
263
+ "ReadsBy": "MyCustomer",
264
+ "ReadMax": "MyCustomer",
265
+ "ReadSelectList": "MyCustomer",
266
+ "Update": "Mine",
267
+ "Delete": "Mine",
268
+ "Count": "MyCustomer",
269
+ "CountBy": "MyCustomer",
270
+ "Schema": "MyCustomer",
271
+ "Validate": "MyCustomer",
272
+ "New": "MyCustomer"
273
+ },
274
+ "Manager": {
275
+ "Create": "Allow",
276
+ "Read": "MyCustomer",
277
+ "Reads": "MyCustomer",
278
+ "ReadsBy": "MyCustomer",
279
+ "ReadMax": "MyCustomer",
280
+ "ReadSelectList": "MyCustomer",
281
+ "Update": "Mine",
282
+ "Delete": "Mine",
283
+ "Count": "MyCustomer",
284
+ "CountBy": "MyCustomer",
285
+ "Schema": "MyCustomer",
286
+ "Validate": "MyCustomer",
287
+ "New": "MyCustomer"
288
+ },
289
+ "Director": {
290
+ "Create": "Allow",
291
+ "Read": "MyCustomer",
292
+ "Reads": "MyCustomer",
293
+ "ReadsBy": "MyCustomer",
294
+ "ReadMax": "MyCustomer",
295
+ "ReadSelectList": "MyCustomer",
296
+ "Update": "MyCustomer",
297
+ "Delete": "MyCustomer",
298
+ "Count": "MyCustomer",
299
+ "CountBy": "MyCustomer",
300
+ "Schema": "MyCustomer",
301
+ "Validate": "MyCustomer",
302
+ "New": "MyCustomer"
303
+ },
304
+ "Executive": {
305
+ "Create": "Allow",
306
+ "Read": "MyCustomer",
307
+ "Reads": "MyCustomer",
308
+ "ReadsBy": "MyCustomer",
309
+ "ReadMax": "MyCustomer",
310
+ "ReadSelectList": "MyCustomer",
311
+ "Update": "MyCustomer",
312
+ "Delete": "MyCustomer",
313
+ "Count": "MyCustomer",
314
+ "CountBy": "MyCustomer",
315
+ "Schema": "MyCustomer",
316
+ "Validate": "MyCustomer",
317
+ "New": "MyCustomer"
318
+ },
319
+ "Administrator": {
320
+ "Create": "Allow",
321
+ "Read": "Allow",
322
+ "Reads": "Allow",
323
+ "ReadsBy": "Allow",
324
+ "ReadMax": "Allow",
325
+ "ReadSelectList": "Allow",
326
+ "Update": "Allow",
327
+ "Delete": "Allow",
328
+ "Count": "Allow",
329
+ "CountBy": "Allow",
330
+ "Schema": "Allow",
331
+ "Validate": "Allow",
332
+ "New": "Allow"
333
+ }
334
+ }
335
+ }