@nymphjs/driver-sqlite3 1.0.0-beta.7 → 1.0.0-beta.70

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,295 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.70](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.69...v1.0.0-beta.70) (2024-09-20)
7
+
8
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
9
+
10
+ # [1.0.0-beta.69](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.68...v1.0.0-beta.69) (2024-09-19)
11
+
12
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
13
+
14
+ # [1.0.0-beta.68](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.67...v1.0.0-beta.68) (2024-09-19)
15
+
16
+ ### Features
17
+
18
+ - add more indexes for postgres and sqlite ([704993e](https://github.com/sciactive/nymphjs/commit/704993ef10f049a886c36de15827736ef5d54c78))
19
+
20
+ # [1.0.0-beta.67](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.66...v1.0.0-beta.67) (2024-09-03)
21
+
22
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
23
+
24
+ # [1.0.0-beta.66](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.65...v1.0.0-beta.66) (2024-08-06)
25
+
26
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
27
+
28
+ # [1.0.0-beta.65](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.64...v1.0.0-beta.65) (2024-08-05)
29
+
30
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
31
+
32
+ # [1.0.0-beta.64](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.63...v1.0.0-beta.64) (2024-08-04)
33
+
34
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
35
+
36
+ # [1.0.0-beta.63](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.62...v1.0.0-beta.63) (2024-06-18)
37
+
38
+ ### Bug Fixes
39
+
40
+ - undo ts compilation to module change ([84be6d4](https://github.com/sciactive/nymphjs/commit/84be6d434be29f8afd53907d15be2eb77d1736ce))
41
+
42
+ ### Features
43
+
44
+ - allow importing from text and iterables ([9d766bd](https://github.com/sciactive/nymphjs/commit/9d766bdad4b0f17bc2dd68b0336a0064857eb4e9))
45
+ - export data iterator ([b86aa19](https://github.com/sciactive/nymphjs/commit/b86aa19fc77d744b5a683046dfb697fc4746df5c))
46
+
47
+ # [1.0.0-beta.62](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.61...v1.0.0-beta.62) (2024-06-15)
48
+
49
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
50
+
51
+ # [1.0.0-beta.61](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.60...v1.0.0-beta.61) (2024-06-14)
52
+
53
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
54
+
55
+ # [1.0.0-beta.60](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.59...v1.0.0-beta.60) (2024-06-14)
56
+
57
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
58
+
59
+ # [1.0.0-beta.59](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.58...v1.0.0-beta.59) (2024-06-14)
60
+
61
+ ### Features
62
+
63
+ - add uniqueness constraint feature, refactor some types ([8133d32](https://github.com/sciactive/nymphjs/commit/8133d32b2c04907182dca2e9171b8217ed1b57e4))
64
+
65
+ # [1.0.0-beta.58](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.57...v1.0.0-beta.58) (2024-06-12)
66
+
67
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
68
+
69
+ # [1.0.0-beta.57](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.56...v1.0.0-beta.57) (2024-06-12)
70
+
71
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
72
+
73
+ # [1.0.0-beta.56](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.55...v1.0.0-beta.56) (2024-06-11)
74
+
75
+ ### Bug Fixes
76
+
77
+ - import entities without transaction ([db56609](https://github.com/sciactive/nymphjs/commit/db56609efaadc16d5d1bbc8e9b50084aa8a076b9))
78
+
79
+ ### Features
80
+
81
+ - make transaction optional during import and off by default ([08d79f8](https://github.com/sciactive/nymphjs/commit/08d79f8f803c846ac79c0c489fc754437dae082b))
82
+
83
+ # [1.0.0-beta.55](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.54...v1.0.0-beta.55) (2024-05-26)
84
+
85
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
86
+
87
+ # [1.0.0-beta.54](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.53...v1.0.0-beta.54) (2024-05-26)
88
+
89
+ ### Features
90
+
91
+ - add index to comparison string column in sqlite3 ([330a3e1](https://github.com/sciactive/nymphjs/commit/330a3e16997b8f6a69dc85fe124ac3a826a3abd9))
92
+
93
+ # [1.0.0-beta.53](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.52...v1.0.0-beta.53) (2024-05-26)
94
+
95
+ ### Features
96
+
97
+ - add pragma statements config to sqlite3 driver ([b0f27e2](https://github.com/sciactive/nymphjs/commit/b0f27e24df85663ea777565e5d352775efcad858))
98
+
99
+ # [1.0.0-beta.52](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.51...v1.0.0-beta.52) (2024-05-25)
100
+
101
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
102
+
103
+ # [1.0.0-beta.51](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.50...v1.0.0-beta.51) (2024-04-12)
104
+
105
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
106
+
107
+ # [1.0.0-beta.50](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.49...v1.0.0-beta.50) (2024-04-08)
108
+
109
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
110
+
111
+ # [1.0.0-beta.49](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.48...v1.0.0-beta.49) (2024-03-04)
112
+
113
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
114
+
115
+ # [1.0.0-beta.48](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.47...v1.0.0-beta.48) (2023-11-10)
116
+
117
+ ### Bug Fixes
118
+
119
+ - avoid trying to roll back a transaction twice ([e26ef31](https://github.com/sciactive/nymphjs/commit/e26ef312b617edcc715c81e7f92875dfaa7a904a))
120
+
121
+ # [1.0.0-beta.47](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.46...v1.0.0-beta.47) (2023-11-10)
122
+
123
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
124
+
125
+ # [1.0.0-beta.46](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.45...v1.0.0-beta.46) (2023-08-29)
126
+
127
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
128
+
129
+ # [1.0.0-beta.45](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.44...v1.0.0-beta.45) (2023-07-17)
130
+
131
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
132
+
133
+ # [1.0.0-beta.44](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.43...v1.0.0-beta.44) (2023-07-13)
134
+
135
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
136
+
137
+ # [1.0.0-beta.43](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2023-07-12)
138
+
139
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
140
+
141
+ # [1.0.0-beta.42](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2023-07-12)
142
+
143
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
144
+
145
+ # [1.0.0-beta.41](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2023-07-12)
146
+
147
+ ### Features
148
+
149
+ - remove synchronous database queries ([b579fb2](https://github.com/sciactive/nymphjs/commit/b579fb2eacd96cdd1b386a62c5c00cdbb2438f6e))
150
+
151
+ # [1.0.0-beta.40](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2023-07-10)
152
+
153
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
154
+
155
+ # [1.0.0-beta.39](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2023-07-09)
156
+
157
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
158
+
159
+ # [1.0.0-beta.38](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2023-07-09)
160
+
161
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
162
+
163
+ # [1.0.0-beta.37](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2023-07-09)
164
+
165
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
166
+
167
+ # [1.0.0-beta.36](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2023-07-09)
168
+
169
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
170
+
171
+ # [1.0.0-beta.35](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2023-06-14)
172
+
173
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
174
+
175
+ # [1.0.0-beta.34](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2023-05-13)
176
+
177
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
178
+
179
+ # [1.0.0-beta.33](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2023-05-13)
180
+
181
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
182
+
183
+ # [1.0.0-beta.32](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2023-05-13)
184
+
185
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
186
+
187
+ # [1.0.0-beta.31](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2023-05-12)
188
+
189
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
190
+
191
+ # [1.0.0-beta.30](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2023-05-12)
192
+
193
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
194
+
195
+ # [1.0.0-beta.29](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2023-05-08)
196
+
197
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
198
+
199
+ # [1.0.0-beta.28](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2023-05-05)
200
+
201
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
202
+
203
+ # [1.0.0-beta.27](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2023-05-04)
204
+
205
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
206
+
207
+ # [1.0.0-beta.26](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2023-05-04)
208
+
209
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
210
+
211
+ # [1.0.0-beta.25](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2023-05-04)
212
+
213
+ ### Bug Fixes
214
+
215
+ - don't create empty entities ([1d4d2e9](https://github.com/sciactive/nymphjs/commit/1d4d2e99af2e9cdc647bcf58ac34572836f41176))
216
+
217
+ # [1.0.0-beta.24](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2023-05-02)
218
+
219
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
220
+
221
+ # [1.0.0-beta.23](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2023-05-02)
222
+
223
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
224
+
225
+ # [1.0.0-beta.22](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2023-05-01)
226
+
227
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
228
+
229
+ # [1.0.0-beta.21](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2023-05-01)
230
+
231
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
232
+
233
+ # [1.0.0-beta.20](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2023-04-30)
234
+
235
+ ### Features
236
+
237
+ - let the user revoke all current auth tokens ([63af3b9](https://github.com/sciactive/nymphjs/commit/63af3b9a31c6c221ab40c2c8a69231675f4634a2))
238
+
239
+ # [1.0.0-beta.19](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2023-04-29)
240
+
241
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
242
+
243
+ # [1.0.0-beta.18](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2023-04-27)
244
+
245
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
246
+
247
+ # [1.0.0-beta.17](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2023-04-24)
248
+
249
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
250
+
251
+ # [1.0.0-beta.16](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2023-03-31)
252
+
253
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
254
+
255
+ # [1.0.0-beta.15](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2023-03-23)
256
+
257
+ ### Features
258
+
259
+ - add option to sort results by a property ([16384e7](https://github.com/sciactive/nymphjs/commit/16384e7bdab88abb55ccccabb06ac09f92fa8a03))
260
+
261
+ # [1.0.0-beta.14](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2023-03-17)
262
+
263
+ ### Bug Fixes
264
+
265
+ - run pragma and function on write link on new sqlite3 db ([6c28ba1](https://github.com/sciactive/nymphjs/commit/6c28ba1a396f7cec098d4e550c7b82c93979eaec))
266
+
267
+ # [1.0.0-beta.13](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2023-03-16)
268
+
269
+ ### Features
270
+
271
+ - open sqlite in readonly unless actively writing to db ([0443b91](https://github.com/sciactive/nymphjs/commit/0443b9188df3ebd557b96baf873abc4e4ddd9137))
272
+
273
+ # [1.0.0-beta.12](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2023-03-04)
274
+
275
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
276
+
277
+ # [1.0.0-beta.11](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2023-02-27)
278
+
279
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
280
+
281
+ # [1.0.0-beta.10](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2023-01-19)
282
+
283
+ ### Features
284
+
285
+ - add wal mode setting to sqlite driver ([0071d66](https://github.com/sciactive/nymphjs/commit/0071d6628534b8b35d49c0238a99fe143fd03207))
286
+
287
+ # [1.0.0-beta.9](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2023-01-09)
288
+
289
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
290
+
291
+ # [1.0.0-beta.8](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2023-01-09)
292
+
293
+ **Note:** Version bump only for package @nymphjs/driver-sqlite3
294
+
6
295
  # [1.0.0-beta.7](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2023-01-05)
7
296
 
8
297
  ### Bug Fixes
@@ -1,24 +1,53 @@
1
1
  import SQLite3 from 'better-sqlite3';
2
- import { NymphDriver, EntityConstructor, EntityInterface, FormattedSelector, Options, Selector } from '@nymphjs/nymph';
2
+ import { NymphDriver, type EntityConstructor, type EntityInterface, type EntityInstanceType, type SerializedEntityData, type FormattedSelector, type Options, type Selector } from '@nymphjs/nymph';
3
3
  import { SQLite3DriverConfig } from './conf';
4
4
  declare class InternalStore {
5
5
  link: SQLite3.Database;
6
+ linkWrite?: SQLite3.Database;
6
7
  connected: boolean;
7
8
  transactionsStarted: number;
8
9
  constructor(link: SQLite3.Database);
9
10
  }
11
+ /**
12
+ * The SQLite3 Nymph database driver.
13
+ */
10
14
  export default class SQLite3Driver extends NymphDriver {
11
15
  config: SQLite3DriverConfig;
12
16
  protected prefix: string;
13
17
  protected store: InternalStore;
14
18
  static escape(input: string): string;
15
19
  constructor(config: Partial<SQLite3DriverConfig>, store?: InternalStore);
20
+ /**
21
+ * This is used internally by Nymph. Don't call it yourself.
22
+ *
23
+ * @returns A clone of this instance.
24
+ */
16
25
  clone(): SQLite3Driver;
26
+ /**
27
+ * Connect to the SQLite3 database.
28
+ *
29
+ * @returns Whether this instance is connected to a SQLite3 database.
30
+ */
17
31
  connect(): Promise<boolean>;
32
+ private _connect;
33
+ /**
34
+ * Disconnect from the SQLite3 database.
35
+ *
36
+ * @returns Whether this instance is connected to a SQLite3 database.
37
+ */
18
38
  disconnect(): Promise<false>;
19
39
  inTransaction(): Promise<boolean>;
40
+ /**
41
+ * Check connection status.
42
+ *
43
+ * @returns Whether this instance is connected to a SQLite3 database.
44
+ */
20
45
  isConnected(): boolean;
21
- private checkReadOnlyMode;
46
+ /**
47
+ * Create entity tables in the database.
48
+ *
49
+ * @param etype The entity type to create a table for. If this is blank, the default tables are created.
50
+ */
22
51
  private createTables;
23
52
  private query;
24
53
  private queryIter;
@@ -27,7 +56,20 @@ export default class SQLite3Driver extends NymphDriver {
27
56
  commit(name: string): Promise<boolean>;
28
57
  deleteEntityByID(guid: string, className?: EntityConstructor | string | null): Promise<boolean>;
29
58
  deleteUID(name: string): Promise<boolean>;
30
- protected exportEntities(writeLine: (line: string) => void): Promise<void>;
59
+ exportDataIterator(): AsyncGenerator<{
60
+ type: 'comment' | 'uid' | 'entity';
61
+ content: string;
62
+ }, void, false | undefined>;
63
+ /**
64
+ * Generate the SQLite3 query.
65
+ * @param options The options array.
66
+ * @param formattedSelectors The formatted selector array.
67
+ * @param etype
68
+ * @param count Used to track internal params.
69
+ * @param params Used to store internal params.
70
+ * @param subquery Whether only a subquery should be returned.
71
+ * @returns The SQL query.
72
+ */
31
73
  private makeEntityQuery;
32
74
  protected performQuery(options: Options, formattedSelectors: FormattedSelector[], etype: string): {
33
75
  result: any;
@@ -38,21 +80,26 @@ export default class SQLite3Driver extends NymphDriver {
38
80
  getEntities<T extends EntityConstructor = EntityConstructor>(options: Options<T> & {
39
81
  return: 'guid';
40
82
  }, ...selectors: Selector[]): Promise<string[]>;
41
- getEntities<T extends EntityConstructor = EntityConstructor>(options?: Options<T>, ...selectors: Selector[]): Promise<ReturnType<T['factorySync']>[]>;
42
- protected getEntitiesSync<T extends EntityConstructor = EntityConstructor>(options: Options<T> & {
43
- return: 'count';
44
- }, ...selectors: Selector[]): number;
45
- protected getEntitiesSync<T extends EntityConstructor = EntityConstructor>(options: Options<T> & {
46
- return: 'guid';
47
- }, ...selectors: Selector[]): string[];
48
- protected getEntitiesSync<T extends EntityConstructor = EntityConstructor>(options?: Options<T>, ...selectors: Selector[]): ReturnType<T['factorySync']>[];
83
+ getEntities<T extends EntityConstructor = EntityConstructor>(options?: Options<T>, ...selectors: Selector[]): Promise<EntityInstanceType<T>[]>;
49
84
  getUID(name: string): Promise<number | null>;
50
- import(filename: string): Promise<boolean>;
85
+ importEntity({ guid, cdate, mdate, tags, sdata, etype, }: {
86
+ guid: string;
87
+ cdate: number;
88
+ mdate: number;
89
+ tags: string[];
90
+ sdata: SerializedEntityData;
91
+ etype: string;
92
+ }): Promise<void>;
93
+ importUID({ name, value }: {
94
+ name: string;
95
+ value: number;
96
+ }): Promise<void>;
51
97
  newUID(name: string): Promise<number>;
52
98
  renameUID(oldName: string, newName: string): Promise<boolean>;
53
99
  rollback(name: string): Promise<boolean>;
54
100
  saveEntity(entity: EntityInterface): Promise<boolean>;
55
101
  setUID(name: string, curUid: number): Promise<boolean>;
102
+ internalTransaction(name: string): Promise<void>;
56
103
  startTransaction(name: string): Promise<import("@nymphjs/nymph").Nymph>;
57
104
  }
58
105
  export {};