@aiao/rxdb 0.0.2 → 0.0.4

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 (89) hide show
  1. package/LICENSE +21 -0
  2. package/{RxDB.d.ts → dist/RxDB.d.ts} +39 -11
  3. package/dist/RxDB.d.ts.map +1 -0
  4. package/{RxDBError.d.ts → dist/RxDBError.d.ts} +2 -0
  5. package/dist/RxDBError.d.ts.map +1 -0
  6. package/{entity → dist/entity}/@Entity.d.ts +4 -9
  7. package/dist/entity/@Entity.d.ts.map +1 -0
  8. package/{entity → dist/entity}/@TreeEntity.d.ts +5 -4
  9. package/dist/entity/@TreeEntity.d.ts.map +1 -0
  10. package/{entity → dist/entity}/EntityBase.d.ts +4 -1
  11. package/dist/entity/EntityBase.d.ts.map +1 -0
  12. package/{entity → dist/entity}/EntityManager.d.ts +33 -9
  13. package/dist/entity/EntityManager.d.ts.map +1 -0
  14. package/{entity → dist/entity}/EntityStatus.d.ts +26 -19
  15. package/dist/entity/EntityStatus.d.ts.map +1 -0
  16. package/dist/entity/TreeEntityBase.d.ts +15 -0
  17. package/dist/entity/TreeEntityBase.d.ts.map +1 -0
  18. package/{entity → dist/entity}/entity-metadata-options.interface.d.ts +67 -72
  19. package/dist/entity/entity-metadata-options.interface.d.ts.map +1 -0
  20. package/{entity → dist/entity}/entity-metadata.interface.d.ts +5 -14
  21. package/dist/entity/entity-metadata.interface.d.ts.map +1 -0
  22. package/{entity → dist/entity}/entity.interface.d.ts +10 -1
  23. package/dist/entity/entity.interface.d.ts.map +1 -0
  24. package/{entity → dist/entity}/entity.utils.d.ts +9 -2
  25. package/dist/entity/entity.utils.d.ts.map +1 -0
  26. package/{entity → dist/entity}/entity_proxy_helper.d.ts +3 -2
  27. package/dist/entity/entity_proxy_helper.d.ts.map +1 -0
  28. package/{entity → dist/entity}/entity_relation_helper.d.ts +4 -3
  29. package/dist/entity/entity_relation_helper.d.ts.map +1 -0
  30. package/{entity → dist/entity}/generate_many_to_many_entity.d.ts +5 -4
  31. package/dist/entity/generate_many_to_many_entity.d.ts.map +1 -0
  32. package/{entity → dist/entity}/transition-metadata.d.ts +6 -5
  33. package/dist/entity/transition-metadata.d.ts.map +1 -0
  34. package/dist/index.d.ts +38 -0
  35. package/dist/index.d.ts.map +1 -0
  36. package/dist/index.js +3386 -0
  37. package/{repository → dist/repository}/Repository.d.ts +14 -20
  38. package/dist/repository/Repository.d.ts.map +1 -0
  39. package/{repository → dist/repository}/RepositoryBase.d.ts +6 -5
  40. package/dist/repository/RepositoryBase.d.ts.map +1 -0
  41. package/dist/repository/TreeRepository.d.ts +29 -0
  42. package/dist/repository/TreeRepository.d.ts.map +1 -0
  43. package/dist/repository/query-options.interface.d.ts +47 -0
  44. package/dist/repository/query-options.interface.d.ts.map +1 -0
  45. package/{repository → dist/repository}/query.interface.d.ts +18 -10
  46. package/dist/repository/query.interface.d.ts.map +1 -0
  47. package/dist/repository/query.utils.d.ts +27 -0
  48. package/dist/repository/query.utils.d.ts.map +1 -0
  49. package/dist/repository/relation-query.interface.d.ts +63 -0
  50. package/dist/repository/relation-query.interface.d.ts.map +1 -0
  51. package/{repository → dist/repository}/repository.interface.d.ts +9 -18
  52. package/dist/repository/repository.interface.d.ts.map +1 -0
  53. package/dist/repository/tree-repository.interface.d.ts +66 -0
  54. package/dist/repository/tree-repository.interface.d.ts.map +1 -0
  55. package/{rxdb-adapter.d.ts → dist/rxdb-adapter.d.ts} +30 -6
  56. package/dist/rxdb-adapter.d.ts.map +1 -0
  57. package/{rxdb-events.d.ts → dist/rxdb-events.d.ts} +9 -82
  58. package/dist/rxdb-events.d.ts.map +1 -0
  59. package/{rxdb-plugin.d.ts → dist/rxdb-plugin.d.ts} +2 -1
  60. package/dist/rxdb-plugin.d.ts.map +1 -0
  61. package/{rxdb-utils.d.ts → dist/rxdb-utils.d.ts} +15 -3
  62. package/dist/rxdb-utils.d.ts.map +1 -0
  63. package/{rxdb.interface.d.ts → dist/rxdb.interface.d.ts} +3 -10
  64. package/dist/rxdb.interface.d.ts.map +1 -0
  65. package/{rxdb.private.d.ts → dist/rxdb.private.d.ts} +14 -14
  66. package/dist/rxdb.private.d.ts.map +1 -0
  67. package/{schema → dist/schema}/SchemaManager.d.ts +8 -4
  68. package/dist/schema/SchemaManager.d.ts.map +1 -0
  69. package/dist/system/VersionManager.d.ts +35 -0
  70. package/dist/system/VersionManager.d.ts.map +1 -0
  71. package/dist/system/branch.d.ts +17 -0
  72. package/dist/system/branch.d.ts.map +1 -0
  73. package/dist/system/change.d.ts +78 -0
  74. package/dist/system/change.d.ts.map +1 -0
  75. package/dist/system/migration.d.ts +27 -0
  76. package/dist/system/migration.d.ts.map +1 -0
  77. package/dist/system/types.d.ts +335 -0
  78. package/dist/system/types.d.ts.map +1 -0
  79. package/package.json +26 -12
  80. package/entity/TreeEntityBase.d.ts +0 -7
  81. package/index.d.ts +0 -26
  82. package/index.js +0 -1779
  83. package/repository/TreeRepository.d.ts +0 -28
  84. package/repository/query-options.interface.d.ts +0 -53
  85. package/repository/query.utils.d.ts +0 -19
  86. package/repository/tree-query-options.interface.d.ts +0 -9
  87. package/repository/tree-repository.interface.d.ts +0 -26
  88. package/system/change.d.ts +0 -13
  89. package/system/migration.d.ts +0 -9
@@ -0,0 +1,335 @@
1
+ import { Observable } from 'rxjs';
2
+ import { UUID } from '../entity/entity.interface.js';
3
+ import { CountOptions, FindAllOptions, FindOneOptions, FindOneOrFailOptions, FindOptions } from '../repository/query-options.interface.js';
4
+ import { BooleanRules, DateRules, NumberRules, RuleGroupCustom, StringRules, UUIDRules } from '../repository/query.interface.js';
5
+ import { RelationBooleanRules, RelationDateRules, RelationNumberRules, RelationStringRules, RelationUUIDRules } from '../repository/relation-query.interface.js';
6
+ import { FindTreeOptions, FindTreeRootOptions } from '../repository/tree-repository.interface.js';
7
+ import { RxDBBranch } from './branch.js';
8
+ import { RxDBChange } from './change.js';
9
+ import { RxDBMigration } from './migration.js';
10
+ /**
11
+ * rule
12
+ */
13
+ type RxDBMigrationRule = NumberRules<RxDBMigration, 'id'> | StringRules<RxDBMigration, 'name'> | DateRules<RxDBMigration, 'executedAt'>;
14
+ /**
15
+ * RuleGroupCustom
16
+ */
17
+ type RxDBMigrationRuleGroup = RuleGroupCustom<typeof RxDBMigration, 'id' | 'name' | 'executedAt', RxDBMigrationRule>;
18
+ /**
19
+ * OrderByField
20
+ */
21
+ type RxDBMigrationOrderByField = 'id' | 'name' | 'executedAt';
22
+ /**
23
+ * rule
24
+ */
25
+ type RxDBChangeRule = NumberRules<RxDBChange, 'id'> | StringRules<RxDBChange, 'type'> | UUIDRules<RxDBChange, 'transactionId'> | StringRules<RxDBChange, 'namespace'> | StringRules<RxDBChange, 'entity'> | UUIDRules<RxDBChange, 'entityId'> | DateRules<RxDBChange, 'createdAt'> | DateRules<RxDBChange, 'updatedAt'> | DateRules<RxDBChange, 'revertChangedAt'> | NumberRules<RxDBChange, 'revertChangeId'> | UUIDRules<RxDBChange, 'parentId'> | UUIDRules<RxDBChange, 'branchId'> | RelationNumberRules<'children.id', any> | RelationStringRules<'children.type', string> | RelationUUIDRules<'children.transactionId', UUID | null> | RelationStringRules<'children.namespace', string | null> | RelationStringRules<'children.entity', string | null> | RelationUUIDRules<'children.entityId', UUID | null> | RelationDateRules<'children.createdAt', Date | null> | RelationDateRules<'children.updatedAt', Date | null> | RelationDateRules<'children.revertChangedAt', Date | null> | RelationNumberRules<'children.revertChangeId', any | null> | RelationNumberRules<'parent.id', any> | RelationStringRules<'parent.type', string> | RelationUUIDRules<'parent.transactionId', UUID | null> | RelationStringRules<'parent.namespace', string | null> | RelationStringRules<'parent.entity', string | null> | RelationUUIDRules<'parent.entityId', UUID | null> | RelationDateRules<'parent.createdAt', Date | null> | RelationDateRules<'parent.updatedAt', Date | null> | RelationDateRules<'parent.revertChangedAt', Date | null> | RelationNumberRules<'parent.revertChangeId', any | null> | RelationStringRules<'branch.id', string> | RelationBooleanRules<'branch.activated', boolean> | RelationBooleanRules<'branch.local', boolean> | RelationBooleanRules<'branch.remote', boolean>;
26
+ /**
27
+ * RuleGroupCustom
28
+ */
29
+ type RxDBChangeRuleGroup = RuleGroupCustom<typeof RxDBChange, 'id' | 'type' | 'transactionId' | 'namespace' | 'entity' | 'entityId' | 'createdAt' | 'updatedAt' | 'revertChangedAt' | 'revertChangeId' | 'parentId' | 'branchId' | 'children.id' | 'children.type' | 'children.transactionId' | 'children.namespace' | 'children.entity' | 'children.entityId' | 'children.createdAt' | 'children.updatedAt' | 'children.revertChangedAt' | 'children.revertChangeId' | 'parentId' | 'branchId' | 'parent.id' | 'parent.type' | 'parent.transactionId' | 'parent.namespace' | 'parent.entity' | 'parent.entityId' | 'parent.createdAt' | 'parent.updatedAt' | 'parent.revertChangedAt' | 'parent.revertChangeId' | 'parentId' | 'branchId' | 'branch.id' | 'branch.activated' | 'branch.local' | 'branch.remote', RxDBChangeRule>;
30
+ /**
31
+ * OrderByField
32
+ */
33
+ declare type RxDBChangeOrderByField = 'id' | 'type' | 'transactionId' | 'namespace' | 'entity' | 'entityId' | 'inversePatch' | 'patch' | 'createdAt' | 'updatedAt' | 'revertChangedAt' | 'revertChangeId';
34
+ /**
35
+ * TreeRule
36
+ */
37
+ declare type RxDBChangeTreeRule = RelationStringRules<'children.type', string> | RelationUUIDRules<'children.transactionId', UUID | null> | RelationStringRules<'children.namespace', string | null> | RelationStringRules<'children.entity', string | null> | RelationUUIDRules<'children.entityId', UUID | null> | RelationDateRules<'children.createdAt', Date | null> | RelationDateRules<'children.updatedAt', Date | null> | RelationDateRules<'children.revertChangedAt', Date | null> | RelationNumberRules<'children.revertChangeId', any | null>;
38
+ /**
39
+ * TreeRuleGroup
40
+ */
41
+ export declare type RxDBChangeTreeRuleGroup = RuleGroupCustom<typeof RxDBChange, 'children.type' | 'children.transactionId' | 'children.namespace' | 'children.entity' | 'children.entityId' | 'children.createdAt' | 'children.updatedAt' | 'children.revertChangedAt' | 'children.revertChangeId', RxDBChangeTreeRule>;
42
+ /**
43
+ * rule
44
+ */
45
+ declare type RxDBBranchRule = StringRules<RxDBBranch, 'id'> | BooleanRules<RxDBBranch, 'activated'> | BooleanRules<RxDBBranch, 'local'> | BooleanRules<RxDBBranch, 'remote'> | RelationNumberRules<'changes.id', any> | RelationStringRules<'changes.type', string> | RelationUUIDRules<'changes.transactionId', UUID | null> | RelationStringRules<'changes.namespace', string | null> | RelationStringRules<'changes.entity', string | null> | RelationUUIDRules<'changes.entityId', UUID | null> | RelationDateRules<'changes.createdAt', Date | null> | RelationDateRules<'changes.updatedAt', Date | null> | RelationDateRules<'changes.revertChangedAt', Date | null> | RelationNumberRules<'changes.revertChangeId', any | null> | UUIDRules<RxDBChange, 'parentId'> | UUIDRules<RxDBChange, 'branchId'> | RelationNumberRules<'changes.children.id', any> | RelationStringRules<'changes.children.type', string> | RelationUUIDRules<'changes.children.transactionId', UUID | null> | RelationStringRules<'changes.children.namespace', string | null> | RelationStringRules<'changes.children.entity', string | null> | RelationUUIDRules<'changes.children.entityId', UUID | null> | RelationDateRules<'changes.children.createdAt', Date | null> | RelationDateRules<'changes.children.updatedAt', Date | null> | RelationDateRules<'changes.children.revertChangedAt', Date | null> | RelationNumberRules<'changes.children.revertChangeId', any | null> | RelationNumberRules<'changes.parent.id', any> | RelationStringRules<'changes.parent.type', string> | RelationUUIDRules<'changes.parent.transactionId', UUID | null> | RelationStringRules<'changes.parent.namespace', string | null> | RelationStringRules<'changes.parent.entity', string | null> | RelationUUIDRules<'changes.parent.entityId', UUID | null> | RelationDateRules<'changes.parent.createdAt', Date | null> | RelationDateRules<'changes.parent.updatedAt', Date | null> | RelationDateRules<'changes.parent.revertChangedAt', Date | null> | RelationNumberRules<'changes.parent.revertChangeId', any | null>;
46
+ /**
47
+ * RuleGroupCustom
48
+ */
49
+ export declare type RxDBBranchRuleGroup = RuleGroupCustom<typeof RxDBBranch, 'id' | 'activated' | 'local' | 'remote' | 'changes.id' | 'changes.type' | 'changes.transactionId' | 'changes.namespace' | 'changes.entity' | 'changes.entityId' | 'changes.createdAt' | 'changes.updatedAt' | 'changes.revertChangedAt' | 'changes.revertChangeId' | 'parentId' | 'branchId' | 'changes.children.id' | 'changes.children.type' | 'changes.children.transactionId' | 'changes.children.namespace' | 'changes.children.entity' | 'changes.children.entityId' | 'changes.children.createdAt' | 'changes.children.updatedAt' | 'changes.children.revertChangedAt' | 'changes.children.revertChangeId' | 'parentId' | 'branchId' | 'changes.parent.id' | 'changes.parent.type' | 'changes.parent.transactionId' | 'changes.parent.namespace' | 'changes.parent.entity' | 'changes.parent.entityId' | 'changes.parent.createdAt' | 'changes.parent.updatedAt' | 'changes.parent.revertChangedAt' | 'changes.parent.revertChangeId' | 'parentId' | 'branchId', RxDBBranchRule>;
50
+ /**
51
+ * OrderByField
52
+ */
53
+ type RxDBBranchOrderByField = 'id' | 'activated' | 'local' | 'remote';
54
+ /**
55
+ * rxdb
56
+ */
57
+ declare module '@aiao/rxdb' {
58
+ /**
59
+ * RxDB
60
+ */
61
+ interface RxDB {
62
+ /**
63
+ * RxDBMigration
64
+ */
65
+ RxDBMigration: typeof RxDBMigration;
66
+ /**
67
+ * RxDBChange
68
+ */
69
+ RxDBChange: typeof RxDBChange;
70
+ /**
71
+ * RxDBBranch
72
+ */
73
+ RxDBBranch: typeof RxDBBranch;
74
+ }
75
+ }
76
+ /**
77
+ * 静态类型
78
+ */
79
+ export interface RxDBMigrationStaticTypes {
80
+ /**
81
+ * id 类型
82
+ */
83
+ idType: number;
84
+ /**
85
+ * 查询选项
86
+ */
87
+ getOptions: number;
88
+ /**
89
+ * 查询选项
90
+ */
91
+ findOneOrFailOptions: FindOneOrFailOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>;
92
+ /**
93
+ * 查询选项
94
+ */
95
+ findOptions: FindOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>;
96
+ /**
97
+ * 查询选项
98
+ */
99
+ findOneOptions: FindOneOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>;
100
+ /**
101
+ * 查询选项
102
+ */
103
+ findAllOptions: FindAllOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>;
104
+ /**
105
+ * 查询选项
106
+ */
107
+ countOptions: CountOptions<typeof RxDBMigration, RxDBMigrationRuleGroup>;
108
+ }
109
+ /**
110
+ * 静态类型
111
+ */
112
+ export interface RxDBChangeStaticTypes {
113
+ /**
114
+ * id 类型
115
+ */
116
+ idType: number;
117
+ /**
118
+ * 查询选项
119
+ */
120
+ getOptions: number;
121
+ /**
122
+ * 查询选项
123
+ */
124
+ findOneOrFailOptions: FindOneOrFailOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>;
125
+ /**
126
+ * 查询选项
127
+ */
128
+ findOptions: FindOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>;
129
+ /**
130
+ * 查询选项
131
+ */
132
+ findOneOptions: FindOneOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>;
133
+ /**
134
+ * 查询选项
135
+ */
136
+ findAllOptions: FindAllOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>;
137
+ /**
138
+ * 查询选项
139
+ */
140
+ countOptions: CountOptions<typeof RxDBChange, RxDBChangeRuleGroup>;
141
+ /**
142
+ * 查询的实体
143
+ */
144
+ entity: RxDBChange;
145
+ /**
146
+ * 查询选项
147
+ */
148
+ findRootOptions: FindTreeRootOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>;
149
+ /**
150
+ * 查询选项
151
+ */
152
+ countRootOptions: FindTreeRootOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>;
153
+ /**
154
+ * 查询选项
155
+ */
156
+ findDescendantsOptions: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>;
157
+ /**
158
+ * 查询选项
159
+ */
160
+ countDescendantsOptions: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>;
161
+ /**
162
+ * 查询选项
163
+ */
164
+ findAncestorsOptions: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>;
165
+ /**
166
+ * 查询选项
167
+ */
168
+ countAncestorsOptions: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>;
169
+ }
170
+ /**
171
+ * 静态类型
172
+ */
173
+ export interface RxDBBranchStaticTypes {
174
+ /**
175
+ * id 类型
176
+ */
177
+ idType: string;
178
+ /**
179
+ * 查询选项
180
+ */
181
+ getOptions: string;
182
+ /**
183
+ * 查询选项
184
+ */
185
+ findOneOrFailOptions: FindOneOrFailOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>;
186
+ /**
187
+ * 查询选项
188
+ */
189
+ findOptions: FindOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>;
190
+ /**
191
+ * 查询选项
192
+ */
193
+ findOneOptions: FindOneOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>;
194
+ /**
195
+ * 查询选项
196
+ */
197
+ findAllOptions: FindAllOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>;
198
+ /**
199
+ * 查询选项
200
+ */
201
+ countOptions: CountOptions<typeof RxDBBranch, RxDBBranchRuleGroup>;
202
+ }
203
+ /**
204
+ * RxDBMigration
205
+ */
206
+ export interface RxDBMigrationRepository {
207
+ count(options: CountOptions<typeof RxDBMigration, RxDBMigrationRuleGroup>): Observable<number>;
208
+ /**
209
+ * find 查询
210
+ * @param options 查询选项
211
+ */
212
+ find(options: FindOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>): Observable<RxDBMigration[]>;
213
+ /**
214
+ * findAll 查询
215
+ * @param options 查询选项
216
+ */
217
+ findAll(options: FindAllOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>): Observable<RxDBMigration[]>;
218
+ /**
219
+ * findOne 查询
220
+ * @param options 查询选项
221
+ */
222
+ findOne(options: FindOneOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>): Observable<RxDBMigration | undefined>;
223
+ /**
224
+ * findOneOrFail 查询
225
+ * @param options 查询选项
226
+ */
227
+ findOneOrFail(options: FindOneOrFailOptions<typeof RxDBMigration, RxDBMigrationRuleGroup, RxDBMigrationOrderByField>): Observable<RxDBMigration>;
228
+ /**
229
+ * get 查询
230
+ * @param options 查询选项
231
+ */
232
+ get(options: number): Observable<RxDBMigration>;
233
+ }
234
+ /**
235
+ * RxDBChange
236
+ */
237
+ export interface RxDBChangeRepository {
238
+ /**
239
+ * count 查询
240
+ * @param options 查询选项
241
+ */
242
+ count(options: CountOptions<typeof RxDBChange, RxDBChangeRuleGroup>): Observable<number>;
243
+ /**
244
+ * 查询祖先实体数量
245
+ * @param options 查询选项
246
+ */
247
+ countAncestors(options?: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>): Observable<number>;
248
+ /**
249
+ * 查询子孙实体数量
250
+ * @param options 查询选项
251
+ */
252
+ countDescendants(options?: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>): Observable<number>;
253
+ /**
254
+ * 查询子孙实体数量
255
+ * @param options 查询选项
256
+ */
257
+ countRoot(options?: FindTreeRootOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>): Observable<number>;
258
+ /**
259
+ * find 查询
260
+ * @param options 查询选项
261
+ */
262
+ find(options: FindOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>): Observable<RxDBChange[]>;
263
+ /**
264
+ * findAll 查询
265
+ * @param options 查询选项
266
+ */
267
+ findAll(options: FindAllOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>): Observable<RxDBChange[]>;
268
+ /**
269
+ * 查询祖先实体
270
+ * @param options 查询选项
271
+ */
272
+ findAncestors(options?: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>): Observable<RxDBChange[]>;
273
+ /**
274
+ * 查询子孙实体
275
+ * @param options 查询选项
276
+ */
277
+ findDescendants(options?: FindTreeOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>): Observable<RxDBChange[]>;
278
+ /**
279
+ * findOne 查询
280
+ * @param options 查询选项
281
+ */
282
+ findOne(options: FindOneOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>): Observable<RxDBChange | undefined>;
283
+ /**
284
+ * findOneOrFail 查询
285
+ * @param options 查询选项
286
+ */
287
+ findOneOrFail(options: FindOneOrFailOptions<typeof RxDBChange, RxDBChangeRuleGroup, RxDBChangeOrderByField>): Observable<RxDBChange>;
288
+ /**
289
+ * 查询子孙实体
290
+ * @param options 查询选项
291
+ */
292
+ findRoot(options?: FindTreeRootOptions<typeof RxDBChange, RxDBChangeTreeRuleGroup>): Observable<RxDBChange[]>;
293
+ /**
294
+ * get 查询
295
+ * @param options 查询选项
296
+ */
297
+ get(options: number): Observable<RxDBChange>;
298
+ }
299
+ /**
300
+ * RxDBBranch
301
+ */
302
+ export interface RxDBBranchRepository {
303
+ /**
304
+ * count 查询
305
+ * @param options 查询选项
306
+ */
307
+ count(options: CountOptions<typeof RxDBBranch, RxDBBranchRuleGroup>): Observable<number>;
308
+ /**
309
+ * find 查询
310
+ * @param options 查询选项
311
+ */
312
+ find(options: FindOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>): Observable<RxDBBranch[]>;
313
+ /**
314
+ * findAll 查询
315
+ * @param options 查询选项
316
+ */
317
+ findAll(options: FindAllOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>): Observable<RxDBBranch[]>;
318
+ /**
319
+ * findOne 查询
320
+ * @param options 查询选项
321
+ */
322
+ findOne(options: FindOneOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>): Observable<RxDBBranch | undefined>;
323
+ /**
324
+ * findOneOrFail 查询
325
+ * @param options 查询选项
326
+ */
327
+ findOneOrFail(options: FindOneOrFailOptions<typeof RxDBBranch, RxDBBranchRuleGroup, RxDBBranchOrderByField>): Observable<RxDBBranch>;
328
+ /**
329
+ * get 查询
330
+ * @param options 查询选项
331
+ */
332
+ get(options: string): Observable<RxDBBranch>;
333
+ }
334
+ export {};
335
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/system/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,WAAW,EACZ,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,EACV,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACvG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;GAEG;AACH,KAAK,iBAAiB,GAClB,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,GAChC,WAAW,CAAC,aAAa,EAAE,MAAM,CAAC,GAClC,SAAS,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;AAE3C;;GAEG;AACH,KAAK,sBAAsB,GAAG,eAAe,CAAC,OAAO,aAAa,EAAE,IAAI,GA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;IAC1B;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAC,OAAO,UAAU,EAAE,uBAAuB,CAAC,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC,CAAC;IAC9G;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,KAAK,CAAC,OAAO,EAAE,YAAY,CAAC,OAAO,UAAU,EAAE,mBAAmB,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IACzF;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,UAAU,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC,CAAC;IACrH;;;OAGG;IACH,OAAO,CACL,OAAO,EAAE,cAAc,CAAC,OAAO,UAAU,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,GACtF,UAAU,CAAC,UAAU,EAAE,CAAC,CAAC;IAC5B;;;OAGG;IACH,OAAO,CACL,OAAO,EAAE,cAAc,CAAC,OAAO,UAAU,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,GACtF,UAAU,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IACtC;;;OAGG;IACH,aAAa,CACX,OAAO,EAAE,oBAAoB,CAAC,OAAO,UAAU,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,GAC5F,UAAU,CAAC,UAAU,CAAC,CAAC;IAC1B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;CAC9C"}
package/package.json CHANGED
@@ -1,19 +1,33 @@
1
1
  {
2
2
  "name": "@aiao/rxdb",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
- "main": "./index.js",
6
- "dependencies": {
7
- "uuid": "^11.1.0",
8
- "type-fest": "^4.41.0",
9
- "@aiao/utils": "0.0.2",
10
- "rxjs": "~7.8.0"
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ "./package.json": "./package.json",
10
+ ".": {
11
+ "@aiao/source": "./src/index.ts",
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "default": "./dist/index.js"
15
+ }
11
16
  },
12
- ".": {
13
- "import": "./index.js",
14
- "types": "./index.d.ts"
17
+ "files": [
18
+ "dist",
19
+ "!**/*.tsbuildinfo"
20
+ ],
21
+ "nx": {
22
+ "name": "rxdb",
23
+ "tags": [
24
+ "js-lib"
25
+ ]
15
26
  },
16
- "publishConfig": {
17
- "access": "public"
27
+ "dependencies": {
28
+ "rxjs": "^7.8.2",
29
+ "type-fest": "^4.41.0",
30
+ "uuid": "^13.0.0",
31
+ "@aiao/utils": "0.0.4"
18
32
  }
19
33
  }
@@ -1,7 +0,0 @@
1
- import { EntityBase } from './EntityBase';
2
- /**
3
- * 树形实体装饰器配置
4
- * 定义了树形结构所需的父子关系
5
- */
6
- export declare abstract class TreeAdjacencyListEntityBase extends EntityBase {
7
- }
package/index.d.ts DELETED
@@ -1,26 +0,0 @@
1
- export * from './entity/@Entity';
2
- export * from './entity/@TreeEntity';
3
- export * from './entity/entity-metadata-options.interface';
4
- export * from './entity/entity-metadata.interface';
5
- export * from './entity/entity.interface';
6
- export * from './entity/entity.utils';
7
- export { isEntityInternalName } from './entity/entity.utils';
8
- export * from './entity/EntityBase';
9
- export { transitionMetadata } from './entity/transition-metadata';
10
- export * from './entity/TreeEntityBase';
11
- export * from './repository/query-options.interface';
12
- export * from './repository/query.interface';
13
- export * from './repository/query.utils';
14
- export * from './repository/repository.interface';
15
- export * from './repository/RepositoryBase';
16
- export * from './repository/tree-query-options.interface';
17
- export * from './repository/tree-repository.interface';
18
- export * from './RxDB';
19
- export * from './rxdb-adapter';
20
- export * from './rxdb-events';
21
- export * from './rxdb-plugin';
22
- export * from './rxdb-utils';
23
- export * from './rxdb.interface';
24
- export * from './RxDBError';
25
- export * from './system/change';
26
- export * from './system/migration';