jazz-rn 2.0.0-alpha.6
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/JazzRn.podspec +44 -0
- package/README.md +47 -0
- package/android/CMakeLists.txt +76 -0
- package/android/build.gradle +144 -0
- package/android/cpp-adapter.cpp +43 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/com/jazzrn/JazzRnModule.kt +43 -0
- package/android/src/main/java/com/jazzrn/JazzRnPackage.kt +34 -0
- package/cpp/jazz-rn.cpp +16 -0
- package/cpp/jazz-rn.h +15 -0
- package/ios/JazzRn.h +16 -0
- package/ios/JazzRn.mm +66 -0
- package/lib/module/NativeJazzRn.js +7 -0
- package/lib/module/NativeJazzRn.js.map +1 -0
- package/lib/module/generated/jazz_rn-ffi.js +43 -0
- package/lib/module/generated/jazz_rn-ffi.js.map +1 -0
- package/lib/module/generated/jazz_rn.js +714 -0
- package/lib/module/generated/jazz_rn.js.map +1 -0
- package/lib/module/index.js +43 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/NativeJazzRn.d.ts +8 -0
- package/lib/typescript/src/NativeJazzRn.d.ts.map +1 -0
- package/lib/typescript/src/generated/jazz_rn-ffi.d.ts +147 -0
- package/lib/typescript/src/generated/jazz_rn-ffi.d.ts.map +1 -0
- package/lib/typescript/src/generated/jazz_rn.d.ts +644 -0
- package/lib/typescript/src/generated/jazz_rn.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +8 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +170 -0
- package/react-native.config.js +11 -0
- package/src/NativeJazzRn.ts +10 -0
- package/src/generated/jazz_rn-ffi.ts +360 -0
- package/src/generated/jazz_rn.ts +1391 -0
- package/src/index.tsx +41 -0
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
import { type UniffiByteArray, type UniffiRustArcPtr, type UnsafeMutableRawPointer, FfiConverterObject, RustBuffer, UniffiAbstractObject, destructorGuardSymbol, pointerLiteralSymbol, uniffiTypeNameSymbol } from 'uniffi-bindgen-react-native';
|
|
2
|
+
export declare function currentTimestampMs(): bigint;
|
|
3
|
+
export declare function generateId(): string;
|
|
4
|
+
export interface BatchedTickCallback {
|
|
5
|
+
/**
|
|
6
|
+
* Called by Rust when it wants JS to call `runtime.batched_tick()`.
|
|
7
|
+
*/
|
|
8
|
+
requestBatchedTick(): void;
|
|
9
|
+
}
|
|
10
|
+
export interface SubscriptionCallback {
|
|
11
|
+
/**
|
|
12
|
+
* Called when a subscription produces an update.
|
|
13
|
+
*/
|
|
14
|
+
onUpdate(deltaJson: string): void;
|
|
15
|
+
}
|
|
16
|
+
export interface SyncMessageCallback {
|
|
17
|
+
/**
|
|
18
|
+
* Called by Rust when it has an outbox message to send.
|
|
19
|
+
*/
|
|
20
|
+
onSyncMessage(messageJson: string): void;
|
|
21
|
+
}
|
|
22
|
+
export declare enum JazzRnError_Tags {
|
|
23
|
+
InvalidJson = "InvalidJson",
|
|
24
|
+
InvalidUuid = "InvalidUuid",
|
|
25
|
+
InvalidTier = "InvalidTier",
|
|
26
|
+
Schema = "Schema",
|
|
27
|
+
Runtime = "Runtime",
|
|
28
|
+
Internal = "Internal"
|
|
29
|
+
}
|
|
30
|
+
export declare const JazzRnError: Readonly<{
|
|
31
|
+
instanceOf: (obj: any) => obj is JazzRnError;
|
|
32
|
+
InvalidJson: {
|
|
33
|
+
new (inner: {
|
|
34
|
+
message: string;
|
|
35
|
+
}): {
|
|
36
|
+
readonly tag: JazzRnError_Tags.InvalidJson;
|
|
37
|
+
readonly inner: Readonly<{
|
|
38
|
+
message: string;
|
|
39
|
+
}>;
|
|
40
|
+
/**
|
|
41
|
+
* @private
|
|
42
|
+
* This field is private and should not be used, use `tag` instead.
|
|
43
|
+
*/
|
|
44
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
45
|
+
name: string;
|
|
46
|
+
message: string;
|
|
47
|
+
stack?: string;
|
|
48
|
+
cause?: unknown;
|
|
49
|
+
};
|
|
50
|
+
"new"(inner: {
|
|
51
|
+
message: string;
|
|
52
|
+
}): {
|
|
53
|
+
readonly tag: JazzRnError_Tags.InvalidJson;
|
|
54
|
+
readonly inner: Readonly<{
|
|
55
|
+
message: string;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* @private
|
|
59
|
+
* This field is private and should not be used, use `tag` instead.
|
|
60
|
+
*/
|
|
61
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
62
|
+
name: string;
|
|
63
|
+
message: string;
|
|
64
|
+
stack?: string;
|
|
65
|
+
cause?: unknown;
|
|
66
|
+
};
|
|
67
|
+
instanceOf(obj: any): obj is {
|
|
68
|
+
readonly tag: JazzRnError_Tags.InvalidJson;
|
|
69
|
+
readonly inner: Readonly<{
|
|
70
|
+
message: string;
|
|
71
|
+
}>;
|
|
72
|
+
/**
|
|
73
|
+
* @private
|
|
74
|
+
* This field is private and should not be used, use `tag` instead.
|
|
75
|
+
*/
|
|
76
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
77
|
+
name: string;
|
|
78
|
+
message: string;
|
|
79
|
+
stack?: string;
|
|
80
|
+
cause?: unknown;
|
|
81
|
+
};
|
|
82
|
+
hasInner(obj: any): obj is {
|
|
83
|
+
readonly tag: JazzRnError_Tags.InvalidJson;
|
|
84
|
+
readonly inner: Readonly<{
|
|
85
|
+
message: string;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* @private
|
|
89
|
+
* This field is private and should not be used, use `tag` instead.
|
|
90
|
+
*/
|
|
91
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
92
|
+
name: string;
|
|
93
|
+
message: string;
|
|
94
|
+
stack?: string;
|
|
95
|
+
cause?: unknown;
|
|
96
|
+
};
|
|
97
|
+
getInner(obj: {
|
|
98
|
+
readonly tag: JazzRnError_Tags.InvalidJson;
|
|
99
|
+
readonly inner: Readonly<{
|
|
100
|
+
message: string;
|
|
101
|
+
}>;
|
|
102
|
+
/**
|
|
103
|
+
* @private
|
|
104
|
+
* This field is private and should not be used, use `tag` instead.
|
|
105
|
+
*/
|
|
106
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
107
|
+
name: string;
|
|
108
|
+
message: string;
|
|
109
|
+
stack?: string;
|
|
110
|
+
cause?: unknown;
|
|
111
|
+
}): Readonly<{
|
|
112
|
+
message: string;
|
|
113
|
+
}>;
|
|
114
|
+
isError(error: unknown): error is Error;
|
|
115
|
+
};
|
|
116
|
+
InvalidUuid: {
|
|
117
|
+
new (inner: {
|
|
118
|
+
message: string;
|
|
119
|
+
}): {
|
|
120
|
+
readonly tag: JazzRnError_Tags.InvalidUuid;
|
|
121
|
+
readonly inner: Readonly<{
|
|
122
|
+
message: string;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* @private
|
|
126
|
+
* This field is private and should not be used, use `tag` instead.
|
|
127
|
+
*/
|
|
128
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
129
|
+
name: string;
|
|
130
|
+
message: string;
|
|
131
|
+
stack?: string;
|
|
132
|
+
cause?: unknown;
|
|
133
|
+
};
|
|
134
|
+
"new"(inner: {
|
|
135
|
+
message: string;
|
|
136
|
+
}): {
|
|
137
|
+
readonly tag: JazzRnError_Tags.InvalidUuid;
|
|
138
|
+
readonly inner: Readonly<{
|
|
139
|
+
message: string;
|
|
140
|
+
}>;
|
|
141
|
+
/**
|
|
142
|
+
* @private
|
|
143
|
+
* This field is private and should not be used, use `tag` instead.
|
|
144
|
+
*/
|
|
145
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
146
|
+
name: string;
|
|
147
|
+
message: string;
|
|
148
|
+
stack?: string;
|
|
149
|
+
cause?: unknown;
|
|
150
|
+
};
|
|
151
|
+
instanceOf(obj: any): obj is {
|
|
152
|
+
readonly tag: JazzRnError_Tags.InvalidUuid;
|
|
153
|
+
readonly inner: Readonly<{
|
|
154
|
+
message: string;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* @private
|
|
158
|
+
* This field is private and should not be used, use `tag` instead.
|
|
159
|
+
*/
|
|
160
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
161
|
+
name: string;
|
|
162
|
+
message: string;
|
|
163
|
+
stack?: string;
|
|
164
|
+
cause?: unknown;
|
|
165
|
+
};
|
|
166
|
+
hasInner(obj: any): obj is {
|
|
167
|
+
readonly tag: JazzRnError_Tags.InvalidUuid;
|
|
168
|
+
readonly inner: Readonly<{
|
|
169
|
+
message: string;
|
|
170
|
+
}>;
|
|
171
|
+
/**
|
|
172
|
+
* @private
|
|
173
|
+
* This field is private and should not be used, use `tag` instead.
|
|
174
|
+
*/
|
|
175
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
176
|
+
name: string;
|
|
177
|
+
message: string;
|
|
178
|
+
stack?: string;
|
|
179
|
+
cause?: unknown;
|
|
180
|
+
};
|
|
181
|
+
getInner(obj: {
|
|
182
|
+
readonly tag: JazzRnError_Tags.InvalidUuid;
|
|
183
|
+
readonly inner: Readonly<{
|
|
184
|
+
message: string;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* @private
|
|
188
|
+
* This field is private and should not be used, use `tag` instead.
|
|
189
|
+
*/
|
|
190
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
191
|
+
name: string;
|
|
192
|
+
message: string;
|
|
193
|
+
stack?: string;
|
|
194
|
+
cause?: unknown;
|
|
195
|
+
}): Readonly<{
|
|
196
|
+
message: string;
|
|
197
|
+
}>;
|
|
198
|
+
isError(error: unknown): error is Error;
|
|
199
|
+
};
|
|
200
|
+
InvalidTier: {
|
|
201
|
+
new (inner: {
|
|
202
|
+
message: string;
|
|
203
|
+
}): {
|
|
204
|
+
readonly tag: JazzRnError_Tags.InvalidTier;
|
|
205
|
+
readonly inner: Readonly<{
|
|
206
|
+
message: string;
|
|
207
|
+
}>;
|
|
208
|
+
/**
|
|
209
|
+
* @private
|
|
210
|
+
* This field is private and should not be used, use `tag` instead.
|
|
211
|
+
*/
|
|
212
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
213
|
+
name: string;
|
|
214
|
+
message: string;
|
|
215
|
+
stack?: string;
|
|
216
|
+
cause?: unknown;
|
|
217
|
+
};
|
|
218
|
+
"new"(inner: {
|
|
219
|
+
message: string;
|
|
220
|
+
}): {
|
|
221
|
+
readonly tag: JazzRnError_Tags.InvalidTier;
|
|
222
|
+
readonly inner: Readonly<{
|
|
223
|
+
message: string;
|
|
224
|
+
}>;
|
|
225
|
+
/**
|
|
226
|
+
* @private
|
|
227
|
+
* This field is private and should not be used, use `tag` instead.
|
|
228
|
+
*/
|
|
229
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
230
|
+
name: string;
|
|
231
|
+
message: string;
|
|
232
|
+
stack?: string;
|
|
233
|
+
cause?: unknown;
|
|
234
|
+
};
|
|
235
|
+
instanceOf(obj: any): obj is {
|
|
236
|
+
readonly tag: JazzRnError_Tags.InvalidTier;
|
|
237
|
+
readonly inner: Readonly<{
|
|
238
|
+
message: string;
|
|
239
|
+
}>;
|
|
240
|
+
/**
|
|
241
|
+
* @private
|
|
242
|
+
* This field is private and should not be used, use `tag` instead.
|
|
243
|
+
*/
|
|
244
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
245
|
+
name: string;
|
|
246
|
+
message: string;
|
|
247
|
+
stack?: string;
|
|
248
|
+
cause?: unknown;
|
|
249
|
+
};
|
|
250
|
+
hasInner(obj: any): obj is {
|
|
251
|
+
readonly tag: JazzRnError_Tags.InvalidTier;
|
|
252
|
+
readonly inner: Readonly<{
|
|
253
|
+
message: string;
|
|
254
|
+
}>;
|
|
255
|
+
/**
|
|
256
|
+
* @private
|
|
257
|
+
* This field is private and should not be used, use `tag` instead.
|
|
258
|
+
*/
|
|
259
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
260
|
+
name: string;
|
|
261
|
+
message: string;
|
|
262
|
+
stack?: string;
|
|
263
|
+
cause?: unknown;
|
|
264
|
+
};
|
|
265
|
+
getInner(obj: {
|
|
266
|
+
readonly tag: JazzRnError_Tags.InvalidTier;
|
|
267
|
+
readonly inner: Readonly<{
|
|
268
|
+
message: string;
|
|
269
|
+
}>;
|
|
270
|
+
/**
|
|
271
|
+
* @private
|
|
272
|
+
* This field is private and should not be used, use `tag` instead.
|
|
273
|
+
*/
|
|
274
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
275
|
+
name: string;
|
|
276
|
+
message: string;
|
|
277
|
+
stack?: string;
|
|
278
|
+
cause?: unknown;
|
|
279
|
+
}): Readonly<{
|
|
280
|
+
message: string;
|
|
281
|
+
}>;
|
|
282
|
+
isError(error: unknown): error is Error;
|
|
283
|
+
};
|
|
284
|
+
Schema: {
|
|
285
|
+
new (inner: {
|
|
286
|
+
message: string;
|
|
287
|
+
}): {
|
|
288
|
+
readonly tag: JazzRnError_Tags.Schema;
|
|
289
|
+
readonly inner: Readonly<{
|
|
290
|
+
message: string;
|
|
291
|
+
}>;
|
|
292
|
+
/**
|
|
293
|
+
* @private
|
|
294
|
+
* This field is private and should not be used, use `tag` instead.
|
|
295
|
+
*/
|
|
296
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
297
|
+
name: string;
|
|
298
|
+
message: string;
|
|
299
|
+
stack?: string;
|
|
300
|
+
cause?: unknown;
|
|
301
|
+
};
|
|
302
|
+
"new"(inner: {
|
|
303
|
+
message: string;
|
|
304
|
+
}): {
|
|
305
|
+
readonly tag: JazzRnError_Tags.Schema;
|
|
306
|
+
readonly inner: Readonly<{
|
|
307
|
+
message: string;
|
|
308
|
+
}>;
|
|
309
|
+
/**
|
|
310
|
+
* @private
|
|
311
|
+
* This field is private and should not be used, use `tag` instead.
|
|
312
|
+
*/
|
|
313
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
314
|
+
name: string;
|
|
315
|
+
message: string;
|
|
316
|
+
stack?: string;
|
|
317
|
+
cause?: unknown;
|
|
318
|
+
};
|
|
319
|
+
instanceOf(obj: any): obj is {
|
|
320
|
+
readonly tag: JazzRnError_Tags.Schema;
|
|
321
|
+
readonly inner: Readonly<{
|
|
322
|
+
message: string;
|
|
323
|
+
}>;
|
|
324
|
+
/**
|
|
325
|
+
* @private
|
|
326
|
+
* This field is private and should not be used, use `tag` instead.
|
|
327
|
+
*/
|
|
328
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
329
|
+
name: string;
|
|
330
|
+
message: string;
|
|
331
|
+
stack?: string;
|
|
332
|
+
cause?: unknown;
|
|
333
|
+
};
|
|
334
|
+
hasInner(obj: any): obj is {
|
|
335
|
+
readonly tag: JazzRnError_Tags.Schema;
|
|
336
|
+
readonly inner: Readonly<{
|
|
337
|
+
message: string;
|
|
338
|
+
}>;
|
|
339
|
+
/**
|
|
340
|
+
* @private
|
|
341
|
+
* This field is private and should not be used, use `tag` instead.
|
|
342
|
+
*/
|
|
343
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
344
|
+
name: string;
|
|
345
|
+
message: string;
|
|
346
|
+
stack?: string;
|
|
347
|
+
cause?: unknown;
|
|
348
|
+
};
|
|
349
|
+
getInner(obj: {
|
|
350
|
+
readonly tag: JazzRnError_Tags.Schema;
|
|
351
|
+
readonly inner: Readonly<{
|
|
352
|
+
message: string;
|
|
353
|
+
}>;
|
|
354
|
+
/**
|
|
355
|
+
* @private
|
|
356
|
+
* This field is private and should not be used, use `tag` instead.
|
|
357
|
+
*/
|
|
358
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
359
|
+
name: string;
|
|
360
|
+
message: string;
|
|
361
|
+
stack?: string;
|
|
362
|
+
cause?: unknown;
|
|
363
|
+
}): Readonly<{
|
|
364
|
+
message: string;
|
|
365
|
+
}>;
|
|
366
|
+
isError(error: unknown): error is Error;
|
|
367
|
+
};
|
|
368
|
+
Runtime: {
|
|
369
|
+
new (inner: {
|
|
370
|
+
message: string;
|
|
371
|
+
}): {
|
|
372
|
+
readonly tag: JazzRnError_Tags.Runtime;
|
|
373
|
+
readonly inner: Readonly<{
|
|
374
|
+
message: string;
|
|
375
|
+
}>;
|
|
376
|
+
/**
|
|
377
|
+
* @private
|
|
378
|
+
* This field is private and should not be used, use `tag` instead.
|
|
379
|
+
*/
|
|
380
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
381
|
+
name: string;
|
|
382
|
+
message: string;
|
|
383
|
+
stack?: string;
|
|
384
|
+
cause?: unknown;
|
|
385
|
+
};
|
|
386
|
+
"new"(inner: {
|
|
387
|
+
message: string;
|
|
388
|
+
}): {
|
|
389
|
+
readonly tag: JazzRnError_Tags.Runtime;
|
|
390
|
+
readonly inner: Readonly<{
|
|
391
|
+
message: string;
|
|
392
|
+
}>;
|
|
393
|
+
/**
|
|
394
|
+
* @private
|
|
395
|
+
* This field is private and should not be used, use `tag` instead.
|
|
396
|
+
*/
|
|
397
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
398
|
+
name: string;
|
|
399
|
+
message: string;
|
|
400
|
+
stack?: string;
|
|
401
|
+
cause?: unknown;
|
|
402
|
+
};
|
|
403
|
+
instanceOf(obj: any): obj is {
|
|
404
|
+
readonly tag: JazzRnError_Tags.Runtime;
|
|
405
|
+
readonly inner: Readonly<{
|
|
406
|
+
message: string;
|
|
407
|
+
}>;
|
|
408
|
+
/**
|
|
409
|
+
* @private
|
|
410
|
+
* This field is private and should not be used, use `tag` instead.
|
|
411
|
+
*/
|
|
412
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
413
|
+
name: string;
|
|
414
|
+
message: string;
|
|
415
|
+
stack?: string;
|
|
416
|
+
cause?: unknown;
|
|
417
|
+
};
|
|
418
|
+
hasInner(obj: any): obj is {
|
|
419
|
+
readonly tag: JazzRnError_Tags.Runtime;
|
|
420
|
+
readonly inner: Readonly<{
|
|
421
|
+
message: string;
|
|
422
|
+
}>;
|
|
423
|
+
/**
|
|
424
|
+
* @private
|
|
425
|
+
* This field is private and should not be used, use `tag` instead.
|
|
426
|
+
*/
|
|
427
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
428
|
+
name: string;
|
|
429
|
+
message: string;
|
|
430
|
+
stack?: string;
|
|
431
|
+
cause?: unknown;
|
|
432
|
+
};
|
|
433
|
+
getInner(obj: {
|
|
434
|
+
readonly tag: JazzRnError_Tags.Runtime;
|
|
435
|
+
readonly inner: Readonly<{
|
|
436
|
+
message: string;
|
|
437
|
+
}>;
|
|
438
|
+
/**
|
|
439
|
+
* @private
|
|
440
|
+
* This field is private and should not be used, use `tag` instead.
|
|
441
|
+
*/
|
|
442
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
443
|
+
name: string;
|
|
444
|
+
message: string;
|
|
445
|
+
stack?: string;
|
|
446
|
+
cause?: unknown;
|
|
447
|
+
}): Readonly<{
|
|
448
|
+
message: string;
|
|
449
|
+
}>;
|
|
450
|
+
isError(error: unknown): error is Error;
|
|
451
|
+
};
|
|
452
|
+
Internal: {
|
|
453
|
+
new (inner: {
|
|
454
|
+
message: string;
|
|
455
|
+
}): {
|
|
456
|
+
readonly tag: JazzRnError_Tags.Internal;
|
|
457
|
+
readonly inner: Readonly<{
|
|
458
|
+
message: string;
|
|
459
|
+
}>;
|
|
460
|
+
/**
|
|
461
|
+
* @private
|
|
462
|
+
* This field is private and should not be used, use `tag` instead.
|
|
463
|
+
*/
|
|
464
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
465
|
+
name: string;
|
|
466
|
+
message: string;
|
|
467
|
+
stack?: string;
|
|
468
|
+
cause?: unknown;
|
|
469
|
+
};
|
|
470
|
+
"new"(inner: {
|
|
471
|
+
message: string;
|
|
472
|
+
}): {
|
|
473
|
+
readonly tag: JazzRnError_Tags.Internal;
|
|
474
|
+
readonly inner: Readonly<{
|
|
475
|
+
message: string;
|
|
476
|
+
}>;
|
|
477
|
+
/**
|
|
478
|
+
* @private
|
|
479
|
+
* This field is private and should not be used, use `tag` instead.
|
|
480
|
+
*/
|
|
481
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
482
|
+
name: string;
|
|
483
|
+
message: string;
|
|
484
|
+
stack?: string;
|
|
485
|
+
cause?: unknown;
|
|
486
|
+
};
|
|
487
|
+
instanceOf(obj: any): obj is {
|
|
488
|
+
readonly tag: JazzRnError_Tags.Internal;
|
|
489
|
+
readonly inner: Readonly<{
|
|
490
|
+
message: string;
|
|
491
|
+
}>;
|
|
492
|
+
/**
|
|
493
|
+
* @private
|
|
494
|
+
* This field is private and should not be used, use `tag` instead.
|
|
495
|
+
*/
|
|
496
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
497
|
+
name: string;
|
|
498
|
+
message: string;
|
|
499
|
+
stack?: string;
|
|
500
|
+
cause?: unknown;
|
|
501
|
+
};
|
|
502
|
+
hasInner(obj: any): obj is {
|
|
503
|
+
readonly tag: JazzRnError_Tags.Internal;
|
|
504
|
+
readonly inner: Readonly<{
|
|
505
|
+
message: string;
|
|
506
|
+
}>;
|
|
507
|
+
/**
|
|
508
|
+
* @private
|
|
509
|
+
* This field is private and should not be used, use `tag` instead.
|
|
510
|
+
*/
|
|
511
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
512
|
+
name: string;
|
|
513
|
+
message: string;
|
|
514
|
+
stack?: string;
|
|
515
|
+
cause?: unknown;
|
|
516
|
+
};
|
|
517
|
+
getInner(obj: {
|
|
518
|
+
readonly tag: JazzRnError_Tags.Internal;
|
|
519
|
+
readonly inner: Readonly<{
|
|
520
|
+
message: string;
|
|
521
|
+
}>;
|
|
522
|
+
/**
|
|
523
|
+
* @private
|
|
524
|
+
* This field is private and should not be used, use `tag` instead.
|
|
525
|
+
*/
|
|
526
|
+
readonly [uniffiTypeNameSymbol]: "JazzRnError";
|
|
527
|
+
name: string;
|
|
528
|
+
message: string;
|
|
529
|
+
stack?: string;
|
|
530
|
+
cause?: unknown;
|
|
531
|
+
}): Readonly<{
|
|
532
|
+
message: string;
|
|
533
|
+
}>;
|
|
534
|
+
isError(error: unknown): error is Error;
|
|
535
|
+
};
|
|
536
|
+
}>;
|
|
537
|
+
export type JazzRnError = InstanceType<(typeof JazzRnError)[keyof Omit<typeof JazzRnError, 'instanceOf'>]>;
|
|
538
|
+
export interface RnRuntimeInterface {
|
|
539
|
+
addClient(): string;
|
|
540
|
+
addServer(): void;
|
|
541
|
+
/**
|
|
542
|
+
* Run a batched tick. JS should call this when asked via `on_batched_tick_needed`.
|
|
543
|
+
*/
|
|
544
|
+
batchedTick(): void;
|
|
545
|
+
/**
|
|
546
|
+
* Flush and close the underlying storage, releasing filesystem locks.
|
|
547
|
+
*/
|
|
548
|
+
close(): void;
|
|
549
|
+
delete_(objectId: string): void;
|
|
550
|
+
flush(): void;
|
|
551
|
+
getSchemaHash(): string;
|
|
552
|
+
insert(table: string, valuesJson: string): string;
|
|
553
|
+
/**
|
|
554
|
+
* Register a JS callback that schedules `batched_tick()` calls.
|
|
555
|
+
*/
|
|
556
|
+
onBatchedTickNeeded(callback: BatchedTickCallback | undefined): void;
|
|
557
|
+
onSyncMessageReceived(messageJson: string): void;
|
|
558
|
+
onSyncMessageReceivedFromClient(clientId: string, messageJson: string): void;
|
|
559
|
+
/**
|
|
560
|
+
* Register a JS callback for outbound sync messages.
|
|
561
|
+
*/
|
|
562
|
+
onSyncMessageToSend(callback: SyncMessageCallback | undefined): void;
|
|
563
|
+
/**
|
|
564
|
+
* One-shot query returning a JSON string:
|
|
565
|
+
* `[{ "id": "<uuid>", "values": [ {type, value}, ... ] }, ...]`.
|
|
566
|
+
*/
|
|
567
|
+
query(queryJson: string, sessionJson: string | undefined, settledTier: string | undefined): string;
|
|
568
|
+
removeServer(): void;
|
|
569
|
+
setClientRole(clientId: string, role: string): void;
|
|
570
|
+
subscribe(queryJson: string, callback: SubscriptionCallback, sessionJson: string | undefined, settledTier: string | undefined): bigint;
|
|
571
|
+
unsubscribe(handle: bigint): void;
|
|
572
|
+
update(objectId: string, valuesJson: string): void;
|
|
573
|
+
}
|
|
574
|
+
export declare class RnRuntime extends UniffiAbstractObject implements RnRuntimeInterface {
|
|
575
|
+
readonly [uniffiTypeNameSymbol] = "RnRuntime";
|
|
576
|
+
readonly [destructorGuardSymbol]: UniffiRustArcPtr;
|
|
577
|
+
readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
|
|
578
|
+
constructor(schemaJson: string, appId: string, jazzEnv: string, userBranch: string, tier: string | undefined, dataPath: string | undefined);
|
|
579
|
+
addClient(): string;
|
|
580
|
+
addServer(): void;
|
|
581
|
+
/**
|
|
582
|
+
* Run a batched tick. JS should call this when asked via `on_batched_tick_needed`.
|
|
583
|
+
*/
|
|
584
|
+
batchedTick(): void;
|
|
585
|
+
/**
|
|
586
|
+
* Flush and close the underlying storage, releasing filesystem locks.
|
|
587
|
+
*/
|
|
588
|
+
close(): void;
|
|
589
|
+
delete_(objectId: string): void;
|
|
590
|
+
flush(): void;
|
|
591
|
+
getSchemaHash(): string;
|
|
592
|
+
insert(table: string, valuesJson: string): string;
|
|
593
|
+
/**
|
|
594
|
+
* Register a JS callback that schedules `batched_tick()` calls.
|
|
595
|
+
*/
|
|
596
|
+
onBatchedTickNeeded(callback: BatchedTickCallback | undefined): void;
|
|
597
|
+
onSyncMessageReceived(messageJson: string): void;
|
|
598
|
+
onSyncMessageReceivedFromClient(clientId: string, messageJson: string): void;
|
|
599
|
+
/**
|
|
600
|
+
* Register a JS callback for outbound sync messages.
|
|
601
|
+
*/
|
|
602
|
+
onSyncMessageToSend(callback: SyncMessageCallback | undefined): void;
|
|
603
|
+
/**
|
|
604
|
+
* One-shot query returning a JSON string:
|
|
605
|
+
* `[{ "id": "<uuid>", "values": [ {type, value}, ... ] }, ...]`.
|
|
606
|
+
*/
|
|
607
|
+
query(queryJson: string, sessionJson: string | undefined, settledTier: string | undefined): string;
|
|
608
|
+
removeServer(): void;
|
|
609
|
+
setClientRole(clientId: string, role: string): void;
|
|
610
|
+
subscribe(queryJson: string, callback: SubscriptionCallback, sessionJson: string | undefined, settledTier: string | undefined): bigint;
|
|
611
|
+
unsubscribe(handle: bigint): void;
|
|
612
|
+
update(objectId: string, valuesJson: string): void;
|
|
613
|
+
/**
|
|
614
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
615
|
+
*/
|
|
616
|
+
uniffiDestroy(): void;
|
|
617
|
+
static instanceOf(obj: any): obj is RnRuntime;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* This should be called before anything else.
|
|
621
|
+
*
|
|
622
|
+
* It is likely that this is being done for you by the library's `index.ts`.
|
|
623
|
+
*
|
|
624
|
+
* It checks versions of uniffi between when the Rust scaffolding was generated
|
|
625
|
+
* and when the bindings were generated.
|
|
626
|
+
*
|
|
627
|
+
* It also initializes the machinery to enable Rust to talk back to Javascript.
|
|
628
|
+
*/
|
|
629
|
+
declare function uniffiEnsureInitialized(): void;
|
|
630
|
+
declare const _default: Readonly<{
|
|
631
|
+
initialize: typeof uniffiEnsureInitialized;
|
|
632
|
+
converters: {
|
|
633
|
+
FfiConverterTypeJazzRnError: {
|
|
634
|
+
read(from: RustBuffer): JazzRnError;
|
|
635
|
+
write(value: JazzRnError, into: RustBuffer): void;
|
|
636
|
+
allocationSize(value: JazzRnError): number;
|
|
637
|
+
lift(value: UniffiByteArray): JazzRnError;
|
|
638
|
+
lower(value: JazzRnError): UniffiByteArray;
|
|
639
|
+
};
|
|
640
|
+
FfiConverterTypeRnRuntime: FfiConverterObject<RnRuntimeInterface>;
|
|
641
|
+
};
|
|
642
|
+
}>;
|
|
643
|
+
export default _default;
|
|
644
|
+
//# sourceMappingURL=jazz_rn.d.ts.map
|
|
@@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MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAiBnD,SAAS,CACd,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,WAAW,EAAE,MAAM,GAAG,SAAS,GACtB,MAAM;IAqBV,WAAW,CAAC,MAAM,EAAU,MAAM,GAAG,IAAI;IAgBzC,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAiBzD;;OAEG;IACH,aAAa,IAAI,IAAI;IAUrB,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;CAG9C;AAoFD;;;;;;;;;GASG;AACH,iBAAS,uBAAuB,SA+M/B;;;;;uBA31Bc,UAAU;4CA8BQ,UAAU,GAAG,IAAI;gDA2Cb,MAAM;;;;;;;AAoxB3C,wBAMG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './generated/jazz_rn';
|
|
2
|
+
import * as jazz_rn from './generated/jazz_rn';
|
|
3
|
+
export declare function uniffiInitAsync(): Promise<void>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
jazz_rn: typeof jazz_rn;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAaA,cAAc,qBAAqB,CAAC;AAKpC,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAc/C,wBAAsB,eAAe,kBAEpC;;;;AAGD,wBAEE"}
|