@aiao/rxdb-test 0.0.8 → 0.0.10

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.
@@ -1129,15 +1129,15 @@ export declare class Todo extends EntityBase implements IEntity {
1129
1129
  export declare class MenuSimple extends TreeAdjacencyListEntityBase implements ITreeEntity {
1130
1130
  static [ENTITY_STATIC_TYPES]: MenuSimpleStaticTypes;
1131
1131
  /**
1132
- * children
1132
+ * 子节点
1133
1133
  */
1134
1134
  readonly children$: RelationEntitiesObservable<MenuSimple>;
1135
1135
  /**
1136
- * parent
1136
+ * 父节点
1137
1137
  */
1138
1138
  readonly parent$: RelationEntityObservable<typeof MenuSimple>;
1139
1139
  /**
1140
- * parent id
1140
+ * 父节点 id
1141
1141
  */
1142
1142
  parentId?: UUID | null;
1143
1143
  /**
@@ -1260,19 +1260,19 @@ MenuSimple.findDescendants({ entityId: root.id, level: 1 }).subscribe(children =
1260
1260
  export declare class MenuLarge extends TreeAdjacencyListEntityBase implements ITreeEntity {
1261
1261
  static [ENTITY_STATIC_TYPES]: MenuLargeStaticTypes;
1262
1262
  /**
1263
- * children
1263
+ * 子节点
1264
1264
  */
1265
1265
  readonly children$: RelationEntitiesObservable<MenuLarge>;
1266
1266
  /**
1267
- * hasChildren
1267
+ * 是否有子节点
1268
1268
  */
1269
1269
  readonly hasChildren?: boolean | null;
1270
1270
  /**
1271
- * parent
1271
+ * 父节点
1272
1272
  */
1273
1273
  readonly parent$: RelationEntityObservable<typeof MenuLarge>;
1274
1274
  /**
1275
- * parent id
1275
+ * 父节点 id
1276
1276
  */
1277
1277
  parentId?: UUID | null;
1278
1278
  /**
@@ -1395,11 +1395,11 @@ MenuLarge.findDescendants({ entityId: root.id, level: 1 }).subscribe(children =>
1395
1395
  export declare class FileNode extends TreeAdjacencyListEntityBase implements ITreeEntity {
1396
1396
  static [ENTITY_STATIC_TYPES]: FileNodeStaticTypes;
1397
1397
  /**
1398
- * children
1398
+ * 子节点
1399
1399
  */
1400
1400
  readonly children$: RelationEntitiesObservable<FileNode>;
1401
1401
  /**
1402
- * parent
1402
+ * 父节点
1403
1403
  */
1404
1404
  readonly parent$: RelationEntityObservable<typeof FileNode>;
1405
1405
  /**
@@ -1411,7 +1411,7 @@ export declare class FileNode extends TreeAdjacencyListEntityBase implements ITr
1411
1411
  */
1412
1412
  name: string;
1413
1413
  /**
1414
- * parent id
1414
+ * 父节点 id
1415
1415
  */
1416
1416
  parentId?: UUID | null;
1417
1417
  /**
@@ -1538,15 +1538,15 @@ FileNode.findDescendants({ entityId: root.id, level: 1 }).subscribe(children =>
1538
1538
  export declare class FileLarge extends TreeAdjacencyListEntityBase implements ITreeEntity {
1539
1539
  static [ENTITY_STATIC_TYPES]: FileLargeStaticTypes;
1540
1540
  /**
1541
- * children
1541
+ * 子节点
1542
1542
  */
1543
1543
  readonly children$: RelationEntitiesObservable<FileLarge>;
1544
1544
  /**
1545
- * hasChildren
1545
+ * 是否有子节点
1546
1546
  */
1547
1547
  readonly hasChildren?: boolean | null;
1548
1548
  /**
1549
- * parent
1549
+ * 父节点
1550
1550
  */
1551
1551
  readonly parent$: RelationEntityObservable<typeof FileLarge>;
1552
1552
  /**
@@ -1558,7 +1558,7 @@ export declare class FileLarge extends TreeAdjacencyListEntityBase implements IT
1558
1558
  */
1559
1559
  name: string;
1560
1560
  /**
1561
- * parent id
1561
+ * 父节点 id
1562
1562
  */
1563
1563
  parentId?: UUID | null;
1564
1564
  /**
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.1";
1
+ export declare const version = "0.0.8";
2
2
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = "0.0.1";
1
+ const o = "0.0.8";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -1568,15 +1568,15 @@ declare module "@aiao/rxdb" {
1568
1568
  */
1569
1569
  User: typeof User;
1570
1570
  /**
1571
- * SKUAttributes
1571
+ * SKU属性关联
1572
1572
  */
1573
1573
  SKUAttributes: typeof SKUAttributes;
1574
1574
  /**
1575
- * SKU
1575
+ * 库存单元
1576
1576
  */
1577
1577
  SKU: typeof SKU;
1578
1578
  /**
1579
- * Product
1579
+ * 产品
1580
1580
  */
1581
1581
  Product: typeof Product;
1582
1582
  /**
@@ -1596,11 +1596,11 @@ declare module "@aiao/rxdb" {
1596
1596
  */
1597
1597
  Category: typeof Category;
1598
1598
  /**
1599
- * AttributeValue
1599
+ * 属性值
1600
1600
  */
1601
1601
  AttributeValue: typeof AttributeValue;
1602
1602
  /**
1603
- * Attribute
1603
+ * 属性
1604
1604
  */
1605
1605
  Attribute: typeof Attribute;
1606
1606
  }
@@ -1754,15 +1754,15 @@ export interface SKUStaticTypes {
1754
1754
  */
1755
1755
  export interface SKUInitData {
1756
1756
  /**
1757
- * code
1757
+ * SKU编码
1758
1758
  */
1759
1759
  code?: string;
1760
1760
  /**
1761
- * price
1761
+ * 价格
1762
1762
  */
1763
1763
  price?: number;
1764
1764
  /**
1765
- * stock
1765
+ * 库存
1766
1766
  */
1767
1767
  stock?: number;
1768
1768
  }
@@ -1810,11 +1810,11 @@ export interface ProductStaticTypes {
1810
1810
  */
1811
1811
  export interface ProductInitData {
1812
1812
  /**
1813
- * name
1813
+ * 产品名称
1814
1814
  */
1815
1815
  name?: string;
1816
1816
  /**
1817
- * description
1817
+ * 产品描述
1818
1818
  */
1819
1819
  description?: string | null;
1820
1820
  }
@@ -2066,7 +2066,7 @@ export interface AttributeValueStaticTypes {
2066
2066
  */
2067
2067
  export interface AttributeValueInitData {
2068
2068
  /**
2069
- * name
2069
+ * 属性值名称
2070
2070
  */
2071
2071
  name?: string;
2072
2072
  }
@@ -2114,7 +2114,7 @@ export interface AttributeStaticTypes {
2114
2114
  */
2115
2115
  export interface AttributeInitData {
2116
2116
  /**
2117
- * name
2117
+ * 属性名称
2118
2118
  */
2119
2119
  name?: string;
2120
2120
  }
@@ -2125,11 +2125,11 @@ export interface AttributeInitData {
2125
2125
  export declare class User extends EntityBase implements IEntity {
2126
2126
  static [ENTITY_STATIC_TYPES]: UserStaticTypes;
2127
2127
  /**
2128
- * idCard
2128
+ * 身份证
2129
2129
  */
2130
2130
  readonly idCard$: RelationEntityObservable<typeof IdCard>;
2131
2131
  /**
2132
- * orders
2132
+ * 订单
2133
2133
  */
2134
2134
  readonly orders$: RelationEntitiesObservable<Order>;
2135
2135
  /**
@@ -2142,7 +2142,7 @@ export declare class User extends EntityBase implements IEntity {
2142
2142
  */
2143
2143
  gender?: string | null;
2144
2144
  /**
2145
- * idCard id
2145
+ * 身份证 id
2146
2146
  */
2147
2147
  idCardId?: UUID | null;
2148
2148
  /**
@@ -2222,32 +2222,32 @@ export declare class User extends EntityBase implements IEntity {
2222
2222
  }
2223
2223
 
2224
2224
  /**
2225
- * SKUAttributes
2225
+ * SKU属性关联
2226
2226
  */
2227
2227
  export declare class SKUAttributes extends EntityBase implements IEntity {
2228
2228
  static [ENTITY_STATIC_TYPES]: SKUAttributesStaticTypes;
2229
2229
  /**
2230
- * attribute
2230
+ * 属性
2231
2231
  */
2232
2232
  readonly attribute$: RelationEntityObservable<typeof Attribute>;
2233
2233
  /**
2234
- * sku
2234
+ * SKU
2235
2235
  */
2236
2236
  readonly sku$: RelationEntityObservable<typeof SKU>;
2237
2237
  /**
2238
- * value
2238
+ * 属性值
2239
2239
  */
2240
2240
  readonly value$: RelationEntityObservable<typeof AttributeValue>;
2241
2241
  /**
2242
- * attribute id
2242
+ * 属性 id
2243
2243
  */
2244
2244
  attributeId: UUID;
2245
2245
  /**
2246
- * sku id
2246
+ * SKU id
2247
2247
  */
2248
2248
  skuId: UUID;
2249
2249
  /**
2250
- * value id
2250
+ * 属性值 id
2251
2251
  */
2252
2252
  valueId: UUID;
2253
2253
  /**
@@ -2319,32 +2319,32 @@ export declare class SKUAttributes extends EntityBase implements IEntity {
2319
2319
  }
2320
2320
 
2321
2321
  /**
2322
- * SKU
2322
+ * 库存单元
2323
2323
  */
2324
2324
  export declare class SKU extends EntityBase implements IEntity {
2325
2325
  static [ENTITY_STATIC_TYPES]: SKUStaticTypes;
2326
2326
  /**
2327
- * attributes
2327
+ * 属性列表
2328
2328
  */
2329
2329
  readonly attributes$: RelationEntitiesObservable<SKUAttributes>;
2330
2330
  /**
2331
- * product
2331
+ * 所属产品
2332
2332
  */
2333
2333
  readonly product$: RelationEntityObservable<typeof Product>;
2334
2334
  /**
2335
- * code
2335
+ * SKU编码
2336
2336
  */
2337
2337
  code: string;
2338
2338
  /**
2339
- * price
2339
+ * 价格
2340
2340
  */
2341
2341
  price: number;
2342
2342
  /**
2343
- * product id
2343
+ * 所属产品 id
2344
2344
  */
2345
2345
  productId: UUID;
2346
2346
  /**
2347
- * stock
2347
+ * 库存
2348
2348
  */
2349
2349
  stock: number;
2350
2350
  /**
@@ -2416,20 +2416,20 @@ export declare class SKU extends EntityBase implements IEntity {
2416
2416
  }
2417
2417
 
2418
2418
  /**
2419
- * Product
2419
+ * 产品
2420
2420
  */
2421
2421
  export declare class Product extends EntityBase implements IEntity {
2422
2422
  static [ENTITY_STATIC_TYPES]: ProductStaticTypes;
2423
2423
  /**
2424
- * skus
2424
+ * SKU列表
2425
2425
  */
2426
2426
  readonly skus$: RelationEntitiesObservable<SKU>;
2427
2427
  /**
2428
- * description
2428
+ * 产品描述
2429
2429
  */
2430
2430
  description?: string | null;
2431
2431
  /**
2432
- * name
2432
+ * 产品名称
2433
2433
  */
2434
2434
  name: string;
2435
2435
  /**
@@ -2506,15 +2506,15 @@ export declare class Product extends EntityBase implements IEntity {
2506
2506
  export declare class OrderItem extends EntityBase implements IEntity {
2507
2507
  static [ENTITY_STATIC_TYPES]: OrderItemStaticTypes;
2508
2508
  /**
2509
- * categories
2509
+ * 分类
2510
2510
  */
2511
2511
  readonly categories$: RelationEntitiesObservable<Category>;
2512
2512
  /**
2513
- * order
2513
+ * 所属订单
2514
2514
  */
2515
2515
  readonly order$: RelationEntityObservable<typeof Order>;
2516
2516
  /**
2517
- * order id
2517
+ * 所属订单 id
2518
2518
  */
2519
2519
  orderId: UUID;
2520
2520
  /**
@@ -2603,11 +2603,11 @@ export declare class OrderItem extends EntityBase implements IEntity {
2603
2603
  export declare class Order extends EntityBase implements IEntity {
2604
2604
  static [ENTITY_STATIC_TYPES]: OrderStaticTypes;
2605
2605
  /**
2606
- * items
2606
+ * 订单项
2607
2607
  */
2608
2608
  readonly items$: RelationEntitiesObservable<OrderItem>;
2609
2609
  /**
2610
- * owner
2610
+ * 所有者
2611
2611
  */
2612
2612
  readonly owner$: RelationEntityObservable<typeof User>;
2613
2613
  /**
@@ -2619,7 +2619,7 @@ export declare class Order extends EntityBase implements IEntity {
2619
2619
  */
2620
2620
  number: string;
2621
2621
  /**
2622
- * owner id
2622
+ * 所有者 id
2623
2623
  */
2624
2624
  ownerId: UUID;
2625
2625
  /**
@@ -2696,7 +2696,7 @@ export declare class Order extends EntityBase implements IEntity {
2696
2696
  export declare class IdCard extends EntityBase implements IEntity {
2697
2697
  static [ENTITY_STATIC_TYPES]: IdCardStaticTypes;
2698
2698
  /**
2699
- * owner
2699
+ * 持有人
2700
2700
  */
2701
2701
  readonly owner$: RelationEntityObservable<typeof User>;
2702
2702
  /**
@@ -2704,7 +2704,7 @@ export declare class IdCard extends EntityBase implements IEntity {
2704
2704
  */
2705
2705
  code: string;
2706
2706
  /**
2707
- * owner id
2707
+ * 持有人 id
2708
2708
  */
2709
2709
  ownerId: UUID;
2710
2710
  /**
@@ -2781,7 +2781,7 @@ export declare class IdCard extends EntityBase implements IEntity {
2781
2781
  export declare class Category extends EntityBase implements IEntity {
2782
2782
  static [ENTITY_STATIC_TYPES]: CategoryStaticTypes;
2783
2783
  /**
2784
- * orderItems
2784
+ * 订单项
2785
2785
  */
2786
2786
  readonly orderItems$: RelationEntitiesObservable<OrderItem>;
2787
2787
  /**
@@ -2857,24 +2857,24 @@ export declare class Category extends EntityBase implements IEntity {
2857
2857
  }
2858
2858
 
2859
2859
  /**
2860
- * AttributeValue
2860
+ * 属性值
2861
2861
  */
2862
2862
  export declare class AttributeValue extends EntityBase implements IEntity {
2863
2863
  static [ENTITY_STATIC_TYPES]: AttributeValueStaticTypes;
2864
2864
  /**
2865
- * attribute
2865
+ * 所属属性
2866
2866
  */
2867
2867
  readonly attribute$: RelationEntityObservable<typeof Attribute>;
2868
2868
  /**
2869
- * skuAttributeValues
2869
+ * SKU属性值关联
2870
2870
  */
2871
2871
  readonly skuAttributeValues$: RelationEntitiesObservable<SKUAttributes>;
2872
2872
  /**
2873
- * attribute id
2873
+ * 所属属性 id
2874
2874
  */
2875
2875
  attributeId: UUID;
2876
2876
  /**
2877
- * name
2877
+ * 属性值名称
2878
2878
  */
2879
2879
  name: string;
2880
2880
  /**
@@ -2946,20 +2946,20 @@ export declare class AttributeValue extends EntityBase implements IEntity {
2946
2946
  }
2947
2947
 
2948
2948
  /**
2949
- * Attribute
2949
+ * 属性
2950
2950
  */
2951
2951
  export declare class Attribute extends EntityBase implements IEntity {
2952
2952
  static [ENTITY_STATIC_TYPES]: AttributeStaticTypes;
2953
2953
  /**
2954
- * skuAttributes
2954
+ * SKU属性关联
2955
2955
  */
2956
2956
  readonly skuAttributes$: RelationEntitiesObservable<SKUAttributes>;
2957
2957
  /**
2958
- * values
2958
+ * 属性值列表
2959
2959
  */
2960
2960
  readonly values$: RelationEntitiesObservable<AttributeValue>;
2961
2961
  /**
2962
- * name
2962
+ * 属性名称
2963
2963
  */
2964
2964
  name: string;
2965
2965
  /**
@@ -34,6 +34,7 @@ User = __decorateClass(
34
34
  relations: [
35
35
  {
36
36
  name: "idCard",
37
+ displayName: "身份证",
37
38
  kind: RelationKind.ONE_TO_ONE,
38
39
  mappedEntity: "IdCard",
39
40
  nullable: true,
@@ -43,6 +44,7 @@ User = __decorateClass(
43
44
  },
44
45
  {
45
46
  name: "orders",
47
+ displayName: "订单",
46
48
  kind: RelationKind.ONE_TO_MANY,
47
49
  mappedEntity: "Order",
48
50
  mappedProperty: "owner",
@@ -67,9 +69,11 @@ SKUAttributes = __decorateClass(
67
69
  [
68
70
  Entity({
69
71
  name: "SKUAttributes",
72
+ displayName: "SKU属性关联",
70
73
  relations: [
71
74
  {
72
75
  name: "sku",
76
+ displayName: "SKU",
73
77
  kind: RelationKind.MANY_TO_ONE,
74
78
  mappedEntity: "SKU",
75
79
  mappedNamespace: "public",
@@ -78,6 +82,7 @@ SKUAttributes = __decorateClass(
78
82
  },
79
83
  {
80
84
  name: "attribute",
85
+ displayName: "属性",
81
86
  kind: RelationKind.MANY_TO_ONE,
82
87
  mappedEntity: "Attribute",
83
88
  mappedNamespace: "public",
@@ -86,6 +91,7 @@ SKUAttributes = __decorateClass(
86
91
  },
87
92
  {
88
93
  name: "value",
94
+ displayName: "属性值",
89
95
  kind: RelationKind.MANY_TO_ONE,
90
96
  mappedEntity: "AttributeValue",
91
97
  mappedNamespace: "public",
@@ -100,8 +106,7 @@ SKUAttributes = __decorateClass(
100
106
  computedProperties: [],
101
107
  extends: [
102
108
  "EntityBase"
103
- ],
104
- displayName: "SKUAttributes"
109
+ ]
105
110
  })
106
111
  ],
107
112
  SKUAttributes
@@ -111,23 +116,28 @@ SKU = __decorateClass(
111
116
  [
112
117
  Entity({
113
118
  name: "SKU",
119
+ displayName: "库存单元",
114
120
  properties: [
115
121
  {
116
122
  name: "code",
117
- type: PropertyType.string
123
+ type: PropertyType.string,
124
+ displayName: "SKU编码"
118
125
  },
119
126
  {
120
127
  name: "price",
121
- type: PropertyType.integer
128
+ type: PropertyType.integer,
129
+ displayName: "价格"
122
130
  },
123
131
  {
124
132
  name: "stock",
125
- type: PropertyType.integer
133
+ type: PropertyType.integer,
134
+ displayName: "库存"
126
135
  }
127
136
  ],
128
137
  relations: [
129
138
  {
130
139
  name: "attributes",
140
+ displayName: "属性列表",
131
141
  kind: RelationKind.ONE_TO_MANY,
132
142
  mappedEntity: "SKUAttributes",
133
143
  mappedProperty: "sku",
@@ -137,6 +147,7 @@ SKU = __decorateClass(
137
147
  },
138
148
  {
139
149
  name: "product",
150
+ displayName: "所属产品",
140
151
  kind: RelationKind.MANY_TO_ONE,
141
152
  mappedEntity: "Product",
142
153
  mappedNamespace: "public",
@@ -150,8 +161,7 @@ SKU = __decorateClass(
150
161
  computedProperties: [],
151
162
  extends: [
152
163
  "EntityBase"
153
- ],
154
- displayName: "SKU"
164
+ ]
155
165
  })
156
166
  ],
157
167
  SKU
@@ -161,20 +171,24 @@ Product = __decorateClass(
161
171
  [
162
172
  Entity({
163
173
  name: "Product",
174
+ displayName: "产品",
164
175
  properties: [
165
176
  {
166
177
  name: "name",
167
- type: PropertyType.string
178
+ type: PropertyType.string,
179
+ displayName: "产品名称"
168
180
  },
169
181
  {
170
182
  name: "description",
171
183
  type: PropertyType.string,
184
+ displayName: "产品描述",
172
185
  nullable: true
173
186
  }
174
187
  ],
175
188
  relations: [
176
189
  {
177
190
  name: "skus",
191
+ displayName: "SKU列表",
178
192
  kind: RelationKind.ONE_TO_MANY,
179
193
  mappedEntity: "SKU",
180
194
  mappedProperty: "product",
@@ -189,8 +203,7 @@ Product = __decorateClass(
189
203
  computedProperties: [],
190
204
  extends: [
191
205
  "EntityBase"
192
- ],
193
- displayName: "Product"
206
+ ]
194
207
  })
195
208
  ],
196
209
  Product
@@ -221,6 +234,7 @@ OrderItem = __decorateClass(
221
234
  relations: [
222
235
  {
223
236
  name: "order",
237
+ displayName: "所属订单",
224
238
  kind: RelationKind.MANY_TO_ONE,
225
239
  mappedEntity: "Order",
226
240
  mappedNamespace: "public",
@@ -229,6 +243,7 @@ OrderItem = __decorateClass(
229
243
  },
230
244
  {
231
245
  name: "categories",
246
+ displayName: "分类",
232
247
  kind: RelationKind.MANY_TO_MANY,
233
248
  mappedEntity: "Category",
234
249
  mappedProperty: "orderItems",
@@ -270,6 +285,7 @@ Order = __decorateClass(
270
285
  relations: [
271
286
  {
272
287
  name: "owner",
288
+ displayName: "所有者",
273
289
  kind: RelationKind.MANY_TO_ONE,
274
290
  mappedEntity: "User",
275
291
  mappedNamespace: "public",
@@ -278,6 +294,7 @@ Order = __decorateClass(
278
294
  },
279
295
  {
280
296
  name: "items",
297
+ displayName: "订单项",
281
298
  kind: RelationKind.ONE_TO_MANY,
282
299
  mappedEntity: "OrderItem",
283
300
  mappedProperty: "order",
@@ -314,6 +331,7 @@ IdCard = __decorateClass(
314
331
  relations: [
315
332
  {
316
333
  name: "owner",
334
+ displayName: "持有人",
317
335
  kind: RelationKind.ONE_TO_ONE,
318
336
  mappedEntity: "User",
319
337
  nullable: false,
@@ -349,6 +367,7 @@ Category = __decorateClass(
349
367
  relations: [
350
368
  {
351
369
  name: "orderItems",
370
+ displayName: "订单项",
352
371
  kind: RelationKind.MANY_TO_MANY,
353
372
  mappedEntity: "OrderItem",
354
373
  mappedProperty: "categories",
@@ -373,15 +392,18 @@ AttributeValue = __decorateClass(
373
392
  [
374
393
  Entity({
375
394
  name: "AttributeValue",
395
+ displayName: "属性值",
376
396
  properties: [
377
397
  {
378
398
  name: "name",
379
- type: PropertyType.string
399
+ type: PropertyType.string,
400
+ displayName: "属性值名称"
380
401
  }
381
402
  ],
382
403
  relations: [
383
404
  {
384
405
  name: "attribute",
406
+ displayName: "所属属性",
385
407
  kind: RelationKind.MANY_TO_ONE,
386
408
  mappedEntity: "Attribute",
387
409
  mappedNamespace: "public",
@@ -390,6 +412,7 @@ AttributeValue = __decorateClass(
390
412
  },
391
413
  {
392
414
  name: "skuAttributeValues",
415
+ displayName: "SKU属性值关联",
393
416
  kind: RelationKind.ONE_TO_MANY,
394
417
  mappedEntity: "SKUAttributes",
395
418
  mappedProperty: "value",
@@ -404,8 +427,7 @@ AttributeValue = __decorateClass(
404
427
  computedProperties: [],
405
428
  extends: [
406
429
  "EntityBase"
407
- ],
408
- displayName: "AttributeValue"
430
+ ]
409
431
  })
410
432
  ],
411
433
  AttributeValue
@@ -415,15 +437,18 @@ Attribute = __decorateClass(
415
437
  [
416
438
  Entity({
417
439
  name: "Attribute",
440
+ displayName: "属性",
418
441
  properties: [
419
442
  {
420
443
  name: "name",
421
- type: PropertyType.string
444
+ type: PropertyType.string,
445
+ displayName: "属性名称"
422
446
  }
423
447
  ],
424
448
  relations: [
425
449
  {
426
450
  name: "values",
451
+ displayName: "属性值列表",
427
452
  kind: RelationKind.ONE_TO_MANY,
428
453
  mappedEntity: "AttributeValue",
429
454
  mappedProperty: "attribute",
@@ -433,6 +458,7 @@ Attribute = __decorateClass(
433
458
  },
434
459
  {
435
460
  name: "skuAttributes",
461
+ displayName: "SKU属性关联",
436
462
  kind: RelationKind.ONE_TO_MANY,
437
463
  mappedEntity: "SKUAttributes",
438
464
  mappedProperty: "attribute",
@@ -447,8 +473,7 @@ Attribute = __decorateClass(
447
473
  computedProperties: [],
448
474
  extends: [
449
475
  "EntityBase"
450
- ],
451
- displayName: "Attribute"
476
+ ]
452
477
  })
453
478
  ],
454
479
  Attribute
@@ -4,18 +4,18 @@ import { Observable } from 'rxjs';
4
4
  /**
5
5
  * rule
6
6
  */
7
- declare type RxDBRepositorySyncRule = StringRules<RxDBRepositorySync, 'id'>
8
- | StringRules<RxDBRepositorySync, 'namespace'>
9
- | StringRules<RxDBRepositorySync, 'entity'>
10
- | StringRules<RxDBRepositorySync, 'syncType'>
11
- | NumberRules<RxDBRepositorySync, 'lastPushedChangeId'>
12
- | DateRules<RxDBRepositorySync, 'lastPushedAt'>
13
- | DateRules<RxDBRepositorySync, 'lastPulledAt'>
14
- | NumberRules<RxDBRepositorySync, 'lastPullRemoteChangeId'>
15
- | BooleanRules<RxDBRepositorySync, 'enabled'>
16
- | DateRules<RxDBRepositorySync, 'createdAt'>
17
- | DateRules<RxDBRepositorySync, 'updatedAt'>
18
- | StringRules<RxDBRepositorySync, 'branchId'>
7
+ declare type RxDBSyncRule = StringRules<RxDBSync, 'id'>
8
+ | StringRules<RxDBSync, 'namespace'>
9
+ | StringRules<RxDBSync, 'entity'>
10
+ | StringRules<RxDBSync, 'syncType'>
11
+ | NumberRules<RxDBSync, 'lastPushedChangeId'>
12
+ | DateRules<RxDBSync, 'lastPushedAt'>
13
+ | DateRules<RxDBSync, 'lastPulledAt'>
14
+ | NumberRules<RxDBSync, 'lastPullRemoteChangeId'>
15
+ | BooleanRules<RxDBSync, 'enabled'>
16
+ | DateRules<RxDBSync, 'createdAt'>
17
+ | DateRules<RxDBSync, 'updatedAt'>
18
+ | StringRules<RxDBSync, 'branchId'>
19
19
  | RelationExistsRules<'branch', RxDBBranchRuleGroup>
20
20
  | RelationStringRules<'branch.id', string>
21
21
  | RelationBooleanRules<'branch.activated', boolean>
@@ -56,7 +56,7 @@ declare type RxDBRepositorySyncRule = StringRules<RxDBRepositorySync, 'id'>
56
56
  /**
57
57
  * RuleGroupBase
58
58
  */
59
- export declare type RxDBRepositorySyncRuleGroup = RuleGroupBase<typeof RxDBRepositorySync,
59
+ export declare type RxDBSyncRuleGroup = RuleGroupBase<typeof RxDBSync,
60
60
  |'id'
61
61
  |'namespace'
62
62
  |'entity'
@@ -107,12 +107,12 @@ export declare type RxDBRepositorySyncRuleGroup = RuleGroupBase<typeof RxDBRepos
107
107
  |'branch.parent.createdAt'
108
108
  |'branch.parent.updatedAt'
109
109
  |'parentId',
110
- RxDBRepositorySyncRule>;
110
+ RxDBSyncRule>;
111
111
 
112
112
  /**
113
113
  * OrderByField
114
114
  */
115
- declare type RxDBRepositorySyncOrderByField = "id" | "namespace" | "entity" | "syncType" | "lastPushedChangeId" | "lastPushedAt" | "lastPulledAt" | "lastPullRemoteChangeId" | "enabled" | "createdAt" | "updatedAt";
115
+ declare type RxDBSyncOrderByField = "id" | "namespace" | "entity" | "syncType" | "lastPushedChangeId" | "lastPushedAt" | "lastPulledAt" | "lastPullRemoteChangeId" | "enabled" | "createdAt" | "updatedAt";
116
116
 
117
117
  /**
118
118
  * rule
@@ -160,18 +160,18 @@ declare type RxDBChangeRule = NumberRules<RxDBChange, 'id'>
160
160
  | RelationDateRules<'branch.createdAt', Date | null>
161
161
  | RelationDateRules<'branch.updatedAt', Date | null>
162
162
  | StringRules<RxDBBranch, 'parentId'>
163
- | RelationStringRules<'branch.repositorySyncs.id', string>
164
- | RelationStringRules<'branch.repositorySyncs.namespace', string>
165
- | RelationStringRules<'branch.repositorySyncs.entity', string>
166
- | RelationStringRules<'branch.repositorySyncs.syncType', string>
167
- | RelationNumberRules<'branch.repositorySyncs.lastPushedChangeId', number | null>
168
- | RelationDateRules<'branch.repositorySyncs.lastPushedAt', Date | null>
169
- | RelationDateRules<'branch.repositorySyncs.lastPulledAt', Date | null>
170
- | RelationNumberRules<'branch.repositorySyncs.lastPullRemoteChangeId', number | null>
171
- | RelationBooleanRules<'branch.repositorySyncs.enabled', boolean>
172
- | RelationDateRules<'branch.repositorySyncs.createdAt', Date | null>
173
- | RelationDateRules<'branch.repositorySyncs.updatedAt', Date | null>
174
- | StringRules<RxDBRepositorySync, 'branchId'>
163
+ | RelationStringRules<'branch.syncs.id', string>
164
+ | RelationStringRules<'branch.syncs.namespace', string>
165
+ | RelationStringRules<'branch.syncs.entity', string>
166
+ | RelationStringRules<'branch.syncs.syncType', string>
167
+ | RelationNumberRules<'branch.syncs.lastPushedChangeId', number | null>
168
+ | RelationDateRules<'branch.syncs.lastPushedAt', Date | null>
169
+ | RelationDateRules<'branch.syncs.lastPulledAt', Date | null>
170
+ | RelationNumberRules<'branch.syncs.lastPullRemoteChangeId', number | null>
171
+ | RelationBooleanRules<'branch.syncs.enabled', boolean>
172
+ | RelationDateRules<'branch.syncs.createdAt', Date | null>
173
+ | RelationDateRules<'branch.syncs.updatedAt', Date | null>
174
+ | StringRules<RxDBSync, 'branchId'>
175
175
  | RelationStringRules<'branch.children.id', string>
176
176
  | RelationBooleanRules<'branch.children.activated', boolean>
177
177
  | RelationNumberRules<'branch.children.fromChangeId', number | null>
@@ -213,17 +213,17 @@ export declare type RxDBChangeRuleGroup = RuleGroupBase<typeof RxDBChange,
213
213
  |'branch.createdAt'
214
214
  |'branch.updatedAt'
215
215
  |'parentId'
216
- |'branch.repositorySyncs.id'
217
- |'branch.repositorySyncs.namespace'
218
- |'branch.repositorySyncs.entity'
219
- |'branch.repositorySyncs.syncType'
220
- |'branch.repositorySyncs.lastPushedChangeId'
221
- |'branch.repositorySyncs.lastPushedAt'
222
- |'branch.repositorySyncs.lastPulledAt'
223
- |'branch.repositorySyncs.lastPullRemoteChangeId'
224
- |'branch.repositorySyncs.enabled'
225
- |'branch.repositorySyncs.createdAt'
226
- |'branch.repositorySyncs.updatedAt'
216
+ |'branch.syncs.id'
217
+ |'branch.syncs.namespace'
218
+ |'branch.syncs.entity'
219
+ |'branch.syncs.syncType'
220
+ |'branch.syncs.lastPushedChangeId'
221
+ |'branch.syncs.lastPushedAt'
222
+ |'branch.syncs.lastPulledAt'
223
+ |'branch.syncs.lastPullRemoteChangeId'
224
+ |'branch.syncs.enabled'
225
+ |'branch.syncs.createdAt'
226
+ |'branch.syncs.updatedAt'
227
227
  |'branchId'
228
228
  |'branch.children.id'
229
229
  |'branch.children.activated'
@@ -273,19 +273,19 @@ declare type RxDBBranchRule = StringRules<RxDBBranch, 'id'>
273
273
  | RelationNumberRules<'changes.revertChangeId', number | null>
274
274
  | RelationDateRules<'changes.redoInvalidatedAt', Date | null>
275
275
  | StringRules<RxDBChange, 'branchId'>
276
- | RelationExistsRules<'repositorySyncs', RxDBRepositorySyncRuleGroup>
277
- | RelationStringRules<'repositorySyncs.id', string>
278
- | RelationStringRules<'repositorySyncs.namespace', string>
279
- | RelationStringRules<'repositorySyncs.entity', string>
280
- | RelationStringRules<'repositorySyncs.syncType', string>
281
- | RelationNumberRules<'repositorySyncs.lastPushedChangeId', number | null>
282
- | RelationDateRules<'repositorySyncs.lastPushedAt', Date | null>
283
- | RelationDateRules<'repositorySyncs.lastPulledAt', Date | null>
284
- | RelationNumberRules<'repositorySyncs.lastPullRemoteChangeId', number | null>
285
- | RelationBooleanRules<'repositorySyncs.enabled', boolean>
286
- | RelationDateRules<'repositorySyncs.createdAt', Date | null>
287
- | RelationDateRules<'repositorySyncs.updatedAt', Date | null>
288
- | StringRules<RxDBRepositorySync, 'branchId'>
276
+ | RelationExistsRules<'syncs', RxDBSyncRuleGroup>
277
+ | RelationStringRules<'syncs.id', string>
278
+ | RelationStringRules<'syncs.namespace', string>
279
+ | RelationStringRules<'syncs.entity', string>
280
+ | RelationStringRules<'syncs.syncType', string>
281
+ | RelationNumberRules<'syncs.lastPushedChangeId', number | null>
282
+ | RelationDateRules<'syncs.lastPushedAt', Date | null>
283
+ | RelationDateRules<'syncs.lastPulledAt', Date | null>
284
+ | RelationNumberRules<'syncs.lastPullRemoteChangeId', number | null>
285
+ | RelationBooleanRules<'syncs.enabled', boolean>
286
+ | RelationDateRules<'syncs.createdAt', Date | null>
287
+ | RelationDateRules<'syncs.updatedAt', Date | null>
288
+ | StringRules<RxDBSync, 'branchId'>
289
289
  | RelationExistsRules<'children', RxDBBranchRuleGroup>
290
290
  | RelationStringRules<'children.id', string>
291
291
  | RelationBooleanRules<'children.activated', boolean>
@@ -329,18 +329,18 @@ export declare type RxDBBranchRuleGroup = RuleGroupBase<typeof RxDBBranch,
329
329
  |'changes.revertChangeId'
330
330
  |'changes.redoInvalidatedAt'
331
331
  |'branchId'
332
- |'repositorySyncs'
333
- |'repositorySyncs.id'
334
- |'repositorySyncs.namespace'
335
- |'repositorySyncs.entity'
336
- |'repositorySyncs.syncType'
337
- |'repositorySyncs.lastPushedChangeId'
338
- |'repositorySyncs.lastPushedAt'
339
- |'repositorySyncs.lastPulledAt'
340
- |'repositorySyncs.lastPullRemoteChangeId'
341
- |'repositorySyncs.enabled'
342
- |'repositorySyncs.createdAt'
343
- |'repositorySyncs.updatedAt'
332
+ |'syncs'
333
+ |'syncs.id'
334
+ |'syncs.namespace'
335
+ |'syncs.entity'
336
+ |'syncs.syncType'
337
+ |'syncs.lastPushedChangeId'
338
+ |'syncs.lastPushedAt'
339
+ |'syncs.lastPulledAt'
340
+ |'syncs.lastPullRemoteChangeId'
341
+ |'syncs.enabled'
342
+ |'syncs.createdAt'
343
+ |'syncs.updatedAt'
344
344
  |'branchId'
345
345
  |'children'
346
346
  |'children.id'
@@ -391,9 +391,9 @@ declare module "@aiao/rxdb" {
391
391
  */
392
392
  interface RxDB {
393
393
  /**
394
- * RxDBRepositorySync
394
+ * RxDBSync
395
395
  */
396
- RxDBRepositorySync: typeof RxDBRepositorySync;
396
+ RxDBSync: typeof RxDBSync;
397
397
  /**
398
398
  * RxDBMigration
399
399
  */
@@ -412,7 +412,7 @@ declare module "@aiao/rxdb" {
412
412
  /**
413
413
  * 静态类型
414
414
  */
415
- export interface RxDBRepositorySyncStaticTypes {
415
+ export interface RxDBSyncStaticTypes {
416
416
  /**
417
417
  * id 类型
418
418
  */
@@ -424,33 +424,33 @@ export interface RxDBRepositorySyncStaticTypes {
424
424
  /**
425
425
  * 查询选项
426
426
  */
427
- findOneOrFailOptions: FindOneOrFailOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>;
427
+ findOneOrFailOptions: FindOneOrFailOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>;
428
428
  /**
429
429
  * 查询选项
430
430
  */
431
- findOptions: FindOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>;
431
+ findOptions: FindOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>;
432
432
  /**
433
433
  * 查询选项
434
434
  */
435
- findOneOptions: FindOneOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>;
435
+ findOneOptions: FindOneOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>;
436
436
  /**
437
437
  * 查询选项
438
438
  */
439
- findAllOptions: FindAllOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>;
439
+ findAllOptions: FindAllOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>;
440
440
  /**
441
441
  * 查询选项
442
442
  */
443
- findByCursorOptions: FindByCursorOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>;
443
+ findByCursorOptions: FindByCursorOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>;
444
444
  /**
445
445
  * 查询选项
446
446
  */
447
- countOptions: CountOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup>;
447
+ countOptions: CountOptions<typeof RxDBSync,RxDBSyncRuleGroup>;
448
448
  }
449
449
 
450
450
  /**
451
451
  * 初始化数据
452
452
  */
453
- export interface RxDBRepositorySyncInitData {
453
+ export interface RxDBSyncInitData {
454
454
  /**
455
455
  * id
456
456
  */
@@ -754,10 +754,10 @@ export interface RxDBBranchInitData {
754
754
  }
755
755
 
756
756
  /**
757
- * RxDBRepositorySync
757
+ * RxDBSync
758
758
  */
759
- export declare class RxDBRepositorySync {
760
- static [ENTITY_STATIC_TYPES]: RxDBRepositorySyncStaticTypes;
759
+ export declare class RxDBSync {
760
+ static [ENTITY_STATIC_TYPES]: RxDBSyncStaticTypes;
761
761
  /**
762
762
  * branch
763
763
  */
@@ -817,60 +817,60 @@ export declare class RxDBRepositorySync {
817
817
  * 初始化数据
818
818
  * @param initData 初始化数据
819
819
  */
820
- constructor(initData?: RxDBRepositorySyncInitData);
820
+ constructor(initData?: RxDBSyncInitData);
821
821
  /**
822
822
  * 统计实体数量
823
823
  * @param options 查询选项
824
824
  * @example
825
- * RxDBRepositorySync.count({ where: { combinator: 'and', rules: [] } }).subscribe(total => console.log(total));
825
+ * RxDBSync.count({ where: { combinator: 'and', rules: [] } }).subscribe(total => console.log(total));
826
826
  */
827
- static count(options: CountOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup>): Observable<number>;
827
+ static count(options: CountOptions<typeof RxDBSync,RxDBSyncRuleGroup>): Observable<number>;
828
828
  /**
829
829
  * 查询多个实体
830
830
  * @param options 查询选项
831
831
  * @example
832
- * RxDBRepositorySync.find({ where: { combinator: 'and', rules: [] }] }).subscribe(list => console.log(list));
832
+ * RxDBSync.find({ where: { combinator: 'and', rules: [] }] }).subscribe(list => console.log(list));
833
833
  */
834
- static find(options: FindOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>): Observable<RxDBRepositorySync[]>;
834
+ static find(options: FindOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>): Observable<RxDBSync[]>;
835
835
  /**
836
836
  * 查询所有实体
837
837
  * @param options 查询选项
838
838
  * @example
839
- * RxDBRepositorySync.findAll({ where: { combinator: 'and', rules: [] } }).subscribe(list => console.log(list));
839
+ * RxDBSync.findAll({ where: { combinator: 'and', rules: [] } }).subscribe(list => console.log(list));
840
840
  */
841
- static findAll(options: FindAllOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>): Observable<RxDBRepositorySync[]>;
841
+ static findAll(options: FindAllOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>): Observable<RxDBSync[]>;
842
842
  /**
843
843
  * 游标分页查询
844
844
  * @param options 查询选项
845
845
  * @example
846
- * RxDBRepositorySync.findByCursor({ where: { combinator: 'and', rules: [] } }).subscribe(list => console.log(list));
846
+ * RxDBSync.findByCursor({ where: { combinator: 'and', rules: [] } }).subscribe(list => console.log(list));
847
847
  */
848
- static findByCursor(options: FindByCursorOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>): Observable<RxDBRepositorySync[]>;
848
+ static findByCursor(options: FindByCursorOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>): Observable<RxDBSync[]>;
849
849
  /**
850
850
  * 查询单个实体,未找到时返回 undefined
851
851
  * @param options 查询选项
852
852
  * @example
853
- * RxDBRepositorySync.findOne({ where: { combinator: 'and', rules: [] } }).subscribe(entity => console.log(entity));
853
+ * RxDBSync.findOne({ where: { combinator: 'and', rules: [] } }).subscribe(entity => console.log(entity));
854
854
  */
855
- static findOne(options: FindOneOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>): Observable<RxDBRepositorySync | undefined>;
855
+ static findOne(options: FindOneOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>): Observable<RxDBSync | undefined>;
856
856
  /**
857
857
  * 查询单个实体,未找到时抛出错误
858
858
  * @param options 查询选项
859
859
  * @example
860
- * RxDBRepositorySync.findOneOrFail({ where: { combinator: 'and', rules: [] } }).subscribe(entity => console.log(entity));
860
+ * RxDBSync.findOneOrFail({ where: { combinator: 'and', rules: [] } }).subscribe(entity => console.log(entity));
861
861
  */
862
- static findOneOrFail(options: FindOneOrFailOptions<typeof RxDBRepositorySync,RxDBRepositorySyncRuleGroup,RxDBRepositorySyncOrderByField>): Observable<RxDBRepositorySync>;
862
+ static findOneOrFail(options: FindOneOrFailOptions<typeof RxDBSync,RxDBSyncRuleGroup,RxDBSyncOrderByField>): Observable<RxDBSync>;
863
863
  /**
864
864
  * 根据 ID 获取单个实体
865
865
  * @param options 查询选项
866
866
  * @example
867
- * RxDBRepositorySync.get('123').subscribe(entity => console.log(entity));
867
+ * RxDBSync.get('123').subscribe(entity => console.log(entity));
868
868
  */
869
- static get(options: string): Observable<RxDBRepositorySync>;
869
+ static get(options: string): Observable<RxDBSync>;
870
870
  /**
871
871
  * 删除
872
872
  */
873
- remove(): Promise<RxDBRepositorySync>;
873
+ remove(): Promise<RxDBSync>;
874
874
  /**
875
875
  * 重置数据
876
876
  */
@@ -878,7 +878,7 @@ export declare class RxDBRepositorySync {
878
878
  /**
879
879
  * 保存
880
880
  */
881
- save(): Promise<RxDBRepositorySync>;
881
+ save(): Promise<RxDBSync>;
882
882
  }
883
883
 
884
884
  /**
@@ -1129,9 +1129,9 @@ export declare class RxDBBranch {
1129
1129
  */
1130
1130
  readonly parent$: RelationEntityObservable<typeof RxDBBranch>;
1131
1131
  /**
1132
- * repositorySyncs
1132
+ * syncs
1133
1133
  */
1134
- readonly repositorySyncs$: RelationEntitiesObservable<RxDBRepositorySync>;
1134
+ readonly syncs$: RelationEntitiesObservable<RxDBSync>;
1135
1135
  /**
1136
1136
  * updatedAt
1137
1137
  * @default new Date()
@@ -1,16 +1,15 @@
1
1
  import { Entity, PropertyType, RelationKind, __decorateClass } from '@aiao/rxdb';
2
- let RxDBRepositorySync = class {};
3
- RxDBRepositorySync = __decorateClass(
2
+ let RxDBSync = class {};
3
+ RxDBSync = __decorateClass(
4
4
  [
5
5
  Entity({
6
- name: "RxDBRepositorySync",
6
+ name: "RxDBSync",
7
7
  log: false,
8
8
  properties: [
9
9
  {
10
10
  name: "id",
11
11
  type: PropertyType.string,
12
- primary: true,
13
- unique: true
12
+ primary: true
14
13
  },
15
14
  {
16
15
  name: "namespace",
@@ -101,10 +100,10 @@ RxDBRepositorySync = __decorateClass(
101
100
  namespace: "public",
102
101
  computedProperties: [],
103
102
  extends: [],
104
- displayName: "RxDBRepositorySync"
103
+ displayName: "RxDBSync"
105
104
  })
106
105
  ],
107
- RxDBRepositorySync
106
+ RxDBSync
108
107
  );
109
108
  let RxDBMigration = class {};
110
109
  RxDBMigration = __decorateClass(
@@ -301,9 +300,9 @@ RxDBBranch = __decorateClass(
301
300
  onUpdate: "RESTRICT"
302
301
  },
303
302
  {
304
- name: "repositorySyncs",
303
+ name: "syncs",
305
304
  kind: RelationKind.ONE_TO_MANY,
306
- mappedEntity: "RxDBRepositorySync",
305
+ mappedEntity: "RxDBSync",
307
306
  mappedProperty: "branch",
308
307
  mappedNamespace: "public",
309
308
  onDelete: "CASCADE",
@@ -338,5 +337,5 @@ RxDBBranch = __decorateClass(
338
337
  ],
339
338
  RxDBBranch
340
339
  );
341
- const ENTITIES = [ RxDBBranch, RxDBChange, RxDBMigration, RxDBRepositorySync ];
342
- export { ENTITIES, RxDBBranch, RxDBChange, RxDBMigration, RxDBRepositorySync };
340
+ const ENTITIES = [ RxDBBranch, RxDBChange, RxDBMigration, RxDBSync ];
341
+ export { ENTITIES, RxDBBranch, RxDBChange, RxDBMigration, RxDBSync };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiao/rxdb-test",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -29,6 +29,9 @@
29
29
  "dist",
30
30
  "!**/*.tsbuildinfo"
31
31
  ],
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
32
35
  "nx": {
33
36
  "name": "rxdb-test",
34
37
  "tags": [
@@ -36,9 +39,9 @@
36
39
  ]
37
40
  },
38
41
  "dependencies": {
39
- "@aiao/rxdb": "0.0.8"
42
+ "@aiao/rxdb": "0.0.10"
40
43
  },
41
44
  "devDependencies": {
42
- "@aiao/rxdb-client-generator": "0.0.8"
45
+ "@aiao/rxdb-client-generator": "0.0.10"
43
46
  }
44
47
  }