@aiao/rxdb-test 0.0.6 → 0.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.
@@ -37,19 +37,24 @@ User = __decorateClass(
37
37
  kind: RelationKind.ONE_TO_ONE,
38
38
  mappedEntity: "IdCard",
39
39
  nullable: true,
40
- mappedNamespace: "public"
40
+ mappedNamespace: "public",
41
+ onDelete: "CASCADE",
42
+ onUpdate: "RESTRICT"
41
43
  },
42
44
  {
43
45
  name: "orders",
44
46
  kind: RelationKind.ONE_TO_MANY,
45
47
  mappedEntity: "Order",
46
48
  mappedProperty: "owner",
47
- mappedNamespace: "public"
49
+ mappedNamespace: "public",
50
+ onDelete: "CASCADE",
51
+ onUpdate: "RESTRICT"
48
52
  }
49
53
  ],
50
54
  repository: "Repository",
51
55
  namespace: "public",
52
56
  indexes: [],
57
+ computedProperties: [],
53
58
  extends: [
54
59
  "EntityBase"
55
60
  ]
@@ -67,25 +72,32 @@ SKUAttributes = __decorateClass(
67
72
  name: "sku",
68
73
  kind: RelationKind.MANY_TO_ONE,
69
74
  mappedEntity: "SKU",
70
- mappedNamespace: "public"
75
+ mappedNamespace: "public",
76
+ onDelete: "RESTRICT",
77
+ onUpdate: "RESTRICT"
71
78
  },
72
79
  {
73
80
  name: "attribute",
74
81
  kind: RelationKind.MANY_TO_ONE,
75
82
  mappedEntity: "Attribute",
76
- mappedNamespace: "public"
83
+ mappedNamespace: "public",
84
+ onDelete: "RESTRICT",
85
+ onUpdate: "RESTRICT"
77
86
  },
78
87
  {
79
88
  name: "value",
80
89
  kind: RelationKind.MANY_TO_ONE,
81
90
  mappedEntity: "AttributeValue",
82
- mappedNamespace: "public"
91
+ mappedNamespace: "public",
92
+ onDelete: "RESTRICT",
93
+ onUpdate: "RESTRICT"
83
94
  }
84
95
  ],
85
96
  repository: "Repository",
86
97
  namespace: "public",
87
98
  properties: [],
88
99
  indexes: [],
100
+ computedProperties: [],
89
101
  extends: [
90
102
  "EntityBase"
91
103
  ],
@@ -119,18 +131,23 @@ SKU = __decorateClass(
119
131
  kind: RelationKind.ONE_TO_MANY,
120
132
  mappedEntity: "SKUAttributes",
121
133
  mappedProperty: "sku",
122
- mappedNamespace: "public"
134
+ mappedNamespace: "public",
135
+ onDelete: "CASCADE",
136
+ onUpdate: "RESTRICT"
123
137
  },
124
138
  {
125
139
  name: "product",
126
140
  kind: RelationKind.MANY_TO_ONE,
127
141
  mappedEntity: "Product",
128
- mappedNamespace: "public"
142
+ mappedNamespace: "public",
143
+ onDelete: "RESTRICT",
144
+ onUpdate: "RESTRICT"
129
145
  }
130
146
  ],
131
147
  repository: "Repository",
132
148
  namespace: "public",
133
149
  indexes: [],
150
+ computedProperties: [],
134
151
  extends: [
135
152
  "EntityBase"
136
153
  ],
@@ -161,12 +178,15 @@ Product = __decorateClass(
161
178
  kind: RelationKind.ONE_TO_MANY,
162
179
  mappedEntity: "SKU",
163
180
  mappedProperty: "product",
164
- mappedNamespace: "public"
181
+ mappedNamespace: "public",
182
+ onDelete: "CASCADE",
183
+ onUpdate: "RESTRICT"
165
184
  }
166
185
  ],
167
186
  repository: "Repository",
168
187
  namespace: "public",
169
188
  indexes: [],
189
+ computedProperties: [],
170
190
  extends: [
171
191
  "EntityBase"
172
192
  ],
@@ -203,19 +223,24 @@ OrderItem = __decorateClass(
203
223
  name: "order",
204
224
  kind: RelationKind.MANY_TO_ONE,
205
225
  mappedEntity: "Order",
206
- mappedNamespace: "public"
226
+ mappedNamespace: "public",
227
+ onDelete: "RESTRICT",
228
+ onUpdate: "RESTRICT"
207
229
  },
208
230
  {
209
231
  name: "categories",
210
232
  kind: RelationKind.MANY_TO_MANY,
211
233
  mappedEntity: "Category",
212
234
  mappedProperty: "orderItems",
213
- mappedNamespace: "public"
235
+ mappedNamespace: "public",
236
+ onDelete: "RESTRICT",
237
+ onUpdate: "RESTRICT"
214
238
  }
215
239
  ],
216
240
  repository: "Repository",
217
241
  namespace: "public",
218
242
  indexes: [],
243
+ computedProperties: [],
219
244
  extends: [
220
245
  "EntityBase"
221
246
  ]
@@ -247,19 +272,24 @@ Order = __decorateClass(
247
272
  name: "owner",
248
273
  kind: RelationKind.MANY_TO_ONE,
249
274
  mappedEntity: "User",
250
- mappedNamespace: "public"
275
+ mappedNamespace: "public",
276
+ onDelete: "RESTRICT",
277
+ onUpdate: "RESTRICT"
251
278
  },
252
279
  {
253
280
  name: "items",
254
281
  kind: RelationKind.ONE_TO_MANY,
255
282
  mappedEntity: "OrderItem",
256
283
  mappedProperty: "order",
257
- mappedNamespace: "public"
284
+ mappedNamespace: "public",
285
+ onDelete: "CASCADE",
286
+ onUpdate: "RESTRICT"
258
287
  }
259
288
  ],
260
289
  repository: "Repository",
261
290
  namespace: "public",
262
291
  indexes: [],
292
+ computedProperties: [],
263
293
  extends: [
264
294
  "EntityBase"
265
295
  ]
@@ -287,12 +317,15 @@ IdCard = __decorateClass(
287
317
  kind: RelationKind.ONE_TO_ONE,
288
318
  mappedEntity: "User",
289
319
  nullable: false,
290
- mappedNamespace: "public"
320
+ mappedNamespace: "public",
321
+ onDelete: "CASCADE",
322
+ onUpdate: "RESTRICT"
291
323
  }
292
324
  ],
293
325
  repository: "Repository",
294
326
  namespace: "public",
295
327
  indexes: [],
328
+ computedProperties: [],
296
329
  extends: [
297
330
  "EntityBase"
298
331
  ]
@@ -319,12 +352,15 @@ Category = __decorateClass(
319
352
  kind: RelationKind.MANY_TO_MANY,
320
353
  mappedEntity: "OrderItem",
321
354
  mappedProperty: "categories",
322
- mappedNamespace: "public"
355
+ mappedNamespace: "public",
356
+ onDelete: "RESTRICT",
357
+ onUpdate: "RESTRICT"
323
358
  }
324
359
  ],
325
360
  repository: "Repository",
326
361
  namespace: "public",
327
362
  indexes: [],
363
+ computedProperties: [],
328
364
  extends: [
329
365
  "EntityBase"
330
366
  ]
@@ -348,19 +384,24 @@ AttributeValue = __decorateClass(
348
384
  name: "attribute",
349
385
  kind: RelationKind.MANY_TO_ONE,
350
386
  mappedEntity: "Attribute",
351
- mappedNamespace: "public"
387
+ mappedNamespace: "public",
388
+ onDelete: "RESTRICT",
389
+ onUpdate: "RESTRICT"
352
390
  },
353
391
  {
354
392
  name: "skuAttributeValues",
355
393
  kind: RelationKind.ONE_TO_MANY,
356
394
  mappedEntity: "SKUAttributes",
357
395
  mappedProperty: "value",
358
- mappedNamespace: "public"
396
+ mappedNamespace: "public",
397
+ onDelete: "CASCADE",
398
+ onUpdate: "RESTRICT"
359
399
  }
360
400
  ],
361
401
  repository: "Repository",
362
402
  namespace: "public",
363
403
  indexes: [],
404
+ computedProperties: [],
364
405
  extends: [
365
406
  "EntityBase"
366
407
  ],
@@ -386,19 +427,24 @@ Attribute = __decorateClass(
386
427
  kind: RelationKind.ONE_TO_MANY,
387
428
  mappedEntity: "AttributeValue",
388
429
  mappedProperty: "attribute",
389
- mappedNamespace: "public"
430
+ mappedNamespace: "public",
431
+ onDelete: "CASCADE",
432
+ onUpdate: "RESTRICT"
390
433
  },
391
434
  {
392
435
  name: "skuAttributes",
393
436
  kind: RelationKind.ONE_TO_MANY,
394
437
  mappedEntity: "SKUAttributes",
395
438
  mappedProperty: "attribute",
396
- mappedNamespace: "public"
439
+ mappedNamespace: "public",
440
+ onDelete: "CASCADE",
441
+ onUpdate: "RESTRICT"
397
442
  }
398
443
  ],
399
444
  repository: "Repository",
400
445
  namespace: "public",
401
446
  indexes: [],
447
+ computedProperties: [],
402
448
  extends: [
403
449
  "EntityBase"
404
450
  ],