retold-data-service 2.0.7 → 2.0.8

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 (53) hide show
  1. package/debug/Harness.js +81 -2
  2. package/package.json +4 -2
  3. package/source/Retold-Data-Service.js +44 -13
  4. package/test/model/{json/MeadowModel-Extended.json → MeadowModel-Extended.json} +969 -5
  5. package/{debug/model/generated_documentation → test/model/doc}/Dictionary.md +1 -1
  6. package/{debug/model/generated_documentation → test/model/doc}/Model-Author.md +5 -5
  7. package/{debug/model/generated_documentation → test/model/doc}/Model-Book.md +6 -6
  8. package/{debug/model/generated_documentation → test/model/doc}/Model-BookAuthorJoin.md +4 -4
  9. package/{debug/model/generated_documentation → test/model/doc}/Model-BookPrice.md +6 -6
  10. package/{debug/model/generated_documentation → test/model/doc}/Model-Review.md +7 -7
  11. package/{debug/model/generated_documentation → test/model/doc}/ModelChangeTracking.md +1 -1
  12. package/{debug/model/generated_diagram/Stricture_Output.dot → test/model/doc/diagrams/Relationships.dot} +1 -1
  13. package/test/model/doc/diagrams/RelationshipsFull.dot +13 -0
  14. package/test/model/doc/diagrams/RelationshipsFull.png +0 -0
  15. package/test/model/meadow/MeadowSchemaAuthor.json +431 -0
  16. package/test/model/meadow/MeadowSchemaBook.json +527 -0
  17. package/test/model/meadow/MeadowSchemaBookAuthorJoin.json +335 -0
  18. package/test/model/meadow/MeadowSchemaBookPrice.json +511 -0
  19. package/test/model/meadow/MeadowSchemaReview.json +463 -0
  20. package/{debug/model/sql_create/BookStore-CreateDatabase.mysql.sql → test/model/mysql_create/MeadowModel-CreateMySQLDatabase.mysql.sql} +6 -6
  21. package/debug/bookstore-configuration.json +0 -26
  22. package/debug/model/Model-Extended.json +0 -915
  23. package/debug/model/Model-PICT.json +0 -1
  24. package/debug/model/Model.json +0 -280
  25. package/debug/model/bookstore-api-endpoint-exercises.paw +0 -0
  26. package/debug/model/ddl/BookStore.ddl +0 -66
  27. package/debug/model/generated_diagram/README.md +0 -1
  28. package/debug/model/generated_documentation/README.md +0 -1
  29. package/debug/model/manual_scripts/DropTables.sql +0 -5
  30. package/debug/model/manual_scripts/MySQL-Laden-Entry-ServicesOnly.sh +0 -28
  31. package/debug/model/manual_scripts/MySQL-Laden-Entry.sh +0 -17
  32. package/debug/model/manual_scripts/MySQL-Security.sql +0 -5
  33. package/debug/model/manual_scripts/README.md +0 -2
  34. package/debug/model/manual_scripts/my.cnf +0 -4
  35. package/debug/model/meadow/Model-MeadowSchema-Author.json +0 -220
  36. package/debug/model/meadow/Model-MeadowSchema-Book.json +0 -268
  37. package/debug/model/meadow/Model-MeadowSchema-BookAuthorJoin.json +0 -172
  38. package/debug/model/meadow/Model-MeadowSchema-BookPrice.json +0 -260
  39. package/debug/model/meadow/Model-MeadowSchema-Review.json +0 -236
  40. package/debug/model/meadow/README.md +0 -1
  41. package/debug/model/sql_create/BookStore-CreateAndPopulateTables.sql +0 -194
  42. package/debug/model/sql_create/README.md +0 -1
  43. package/test/model/Model-Extended.json +0 -915
  44. package/test/model/Model.ddl +0 -66
  45. package/test/model/Model.json +0 -280
  46. package/test/model/meadow/Model-MeadowSchema-Author.json +0 -220
  47. package/test/model/meadow/Model-MeadowSchema-Book.json +0 -268
  48. package/test/model/meadow/Model-MeadowSchema-BookAuthorJoin.json +0 -172
  49. package/test/model/meadow/Model-MeadowSchema-BookPrice.json +0 -260
  50. package/test/model/meadow/Model-MeadowSchema-Review.json +0 -236
  51. /package/test/model/{json/MeadowModel-PICT.json → MeadowModel-PICT.json} +0 -0
  52. /package/test/model/{json/MeadowModel.json → MeadowModel.json} +0 -0
  53. /package/{debug/model/generated_diagram/Stricture_Output.png → test/model/doc/diagrams/Relationships.png} +0 -0
@@ -1,236 +0,0 @@
1
- {
2
- "Scope": "Review",
3
- "DefaultIdentifier": "IDReviews",
4
- "Domain": "Default",
5
- "Schema": [
6
- {
7
- "Column": "IDReviews",
8
- "Type": "AutoIdentity"
9
- },
10
- {
11
- "Column": "GUIDReviews",
12
- "Type": "AutoGUID"
13
- },
14
- {
15
- "Column": "CreateDate",
16
- "Type": "CreateDate"
17
- },
18
- {
19
- "Column": "CreatingIDUser",
20
- "Type": "CreateIDUser"
21
- },
22
- {
23
- "Column": "UpdateDate",
24
- "Type": "UpdateDate"
25
- },
26
- {
27
- "Column": "UpdatingIDUser",
28
- "Type": "UpdateIDUser"
29
- },
30
- {
31
- "Column": "Deleted",
32
- "Type": "Deleted"
33
- },
34
- {
35
- "Column": "DeleteDate",
36
- "Type": "DeleteDate"
37
- },
38
- {
39
- "Column": "DeletingIDUser",
40
- "Type": "DeleteIDUser"
41
- },
42
- {
43
- "Column": "Text",
44
- "Type": "String"
45
- },
46
- {
47
- "Column": "Rating",
48
- "Type": "Integer"
49
- },
50
- {
51
- "Column": "IDBook",
52
- "Type": "Integer"
53
- }
54
- ],
55
- "DefaultObject": {
56
- "IDReviews": 0,
57
- "GUIDReviews": "0x0000000000000000",
58
- "CreateDate": null,
59
- "CreatingIDUser": 0,
60
- "UpdateDate": null,
61
- "UpdatingIDUser": 0,
62
- "Deleted": false,
63
- "DeleteDate": null,
64
- "DeletingIDUser": 0,
65
- "Text": "",
66
- "Rating": 0,
67
- "IDBook": 0
68
- },
69
- "JsonSchema": {
70
- "title": "Review",
71
- "type": "object",
72
- "properties": {
73
- "IDReviews": {
74
- "type": "integer"
75
- },
76
- "GUIDReviews": {
77
- "type": "string"
78
- },
79
- "CreateDate": {
80
- "type": "string"
81
- },
82
- "CreatingIDUser": {
83
- "type": "integer"
84
- },
85
- "UpdateDate": {
86
- "type": "string"
87
- },
88
- "UpdatingIDUser": {
89
- "type": "integer"
90
- },
91
- "Deleted": {
92
- "type": "boolean"
93
- },
94
- "DeleteDate": {
95
- "type": "string"
96
- },
97
- "DeletingIDUser": {
98
- "type": "integer"
99
- },
100
- "Text": {
101
- "type": "string"
102
- },
103
- "Rating": {
104
- "type": "integer"
105
- },
106
- "IDBook": {
107
- "type": "integer"
108
- }
109
- },
110
- "required": [
111
- "IDReviews"
112
- ]
113
- },
114
- "Authorization": {
115
- "__DefaultAPISecurity": {
116
- "Create": "Deny",
117
- "Read": "Deny",
118
- "Reads": "Deny",
119
- "ReadsBy": "Deny",
120
- "ReadMax": "Deny",
121
- "ReadSelectList": "Deny",
122
- "Update": "Deny",
123
- "Delete": "Deny",
124
- "Count": "Deny",
125
- "CountBy": "Deny",
126
- "Schema": "Deny",
127
- "Validate": "Deny",
128
- "New": "Deny"
129
- },
130
- "Unauthenticated": {
131
- "Create": "Deny",
132
- "Read": "Deny",
133
- "Reads": "Deny",
134
- "ReadsBy": "Deny",
135
- "ReadMax": "Deny",
136
- "ReadSelectList": "Deny",
137
- "Update": "Deny",
138
- "Delete": "Deny",
139
- "Count": "Deny",
140
- "CountBy": "Deny",
141
- "Schema": "Deny",
142
- "Validate": "Deny",
143
- "New": "Deny"
144
- },
145
- "Readonly": {
146
- "Create": "Deny",
147
- "Read": "Allow",
148
- "Reads": "Allow",
149
- "ReadsBy": "Allow",
150
- "ReadMax": "Allow",
151
- "ReadSelectList": "Allow",
152
- "Update": "Deny",
153
- "Delete": "Deny",
154
- "Count": "Allow",
155
- "CountBy": "Allow",
156
- "Schema": "Allow",
157
- "Validate": "Allow",
158
- "New": "Deny"
159
- },
160
- "User": {
161
- "Create": "Allow",
162
- "Read": "MyCustomer",
163
- "Reads": "MyCustomer",
164
- "ReadsBy": "MyCustomer",
165
- "ReadMax": "MyCustomer",
166
- "ReadSelectList": "MyCustomer",
167
- "Update": "Mine",
168
- "Delete": "Mine",
169
- "Count": "MyCustomer",
170
- "CountBy": "MyCustomer",
171
- "Schema": "MyCustomer",
172
- "Validate": "MyCustomer",
173
- "New": "MyCustomer"
174
- },
175
- "Manager": {
176
- "Create": "Allow",
177
- "Read": "MyCustomer",
178
- "Reads": "MyCustomer",
179
- "ReadsBy": "MyCustomer",
180
- "ReadMax": "MyCustomer",
181
- "ReadSelectList": "MyCustomer",
182
- "Update": "Mine",
183
- "Delete": "Mine",
184
- "Count": "MyCustomer",
185
- "CountBy": "MyCustomer",
186
- "Schema": "MyCustomer",
187
- "Validate": "MyCustomer",
188
- "New": "MyCustomer"
189
- },
190
- "Director": {
191
- "Create": "Allow",
192
- "Read": "MyCustomer",
193
- "Reads": "MyCustomer",
194
- "ReadsBy": "MyCustomer",
195
- "ReadMax": "MyCustomer",
196
- "ReadSelectList": "MyCustomer",
197
- "Update": "MyCustomer",
198
- "Delete": "MyCustomer",
199
- "Count": "MyCustomer",
200
- "CountBy": "MyCustomer",
201
- "Schema": "MyCustomer",
202
- "Validate": "MyCustomer",
203
- "New": "MyCustomer"
204
- },
205
- "Executive": {
206
- "Create": "Allow",
207
- "Read": "MyCustomer",
208
- "Reads": "MyCustomer",
209
- "ReadsBy": "MyCustomer",
210
- "ReadMax": "MyCustomer",
211
- "ReadSelectList": "MyCustomer",
212
- "Update": "MyCustomer",
213
- "Delete": "MyCustomer",
214
- "Count": "MyCustomer",
215
- "CountBy": "MyCustomer",
216
- "Schema": "MyCustomer",
217
- "Validate": "MyCustomer",
218
- "New": "MyCustomer"
219
- },
220
- "Administrator": {
221
- "Create": "Allow",
222
- "Read": "Allow",
223
- "Reads": "Allow",
224
- "ReadsBy": "Allow",
225
- "ReadMax": "Allow",
226
- "ReadSelectList": "Allow",
227
- "Update": "Allow",
228
- "Delete": "Allow",
229
- "Count": "Allow",
230
- "CountBy": "Allow",
231
- "Schema": "Allow",
232
- "Validate": "Allow",
233
- "New": "Allow"
234
- }
235
- }
236
- }
@@ -1 +0,0 @@
1
- This is where the meadow schema for each table of the data model will generate.