@capgo/capacitor-data-storage-sqlite 6.0.0

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 (59) hide show
  1. package/CapacitorDataStorageSqlite.podspec +18 -0
  2. package/LICENSE +21 -0
  3. package/android/build.gradle +63 -0
  4. package/android/src/main/AndroidManifest.xml +3 -0
  5. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/CapacitorDataStorageSqlite.java +387 -0
  6. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/CapacitorDataStorageSqlitePlugin.java +447 -0
  7. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/RetHandler.java +117 -0
  8. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/Data.java +8 -0
  9. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/Global.java +7 -0
  10. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/ImportExportJson/JsonStore.java +131 -0
  11. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/ImportExportJson/JsonTable.java +110 -0
  12. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/ImportExportJson/JsonValue.java +89 -0
  13. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/StorageDatabaseHelper.java +691 -0
  14. package/android/src/main/java/com/jeep/plugin/capacitor/capacitordatastoragesqlite/cdssUtils/UtilsSQLCipher.java +162 -0
  15. package/android/src/main/res/.gitkeep +0 -0
  16. package/dist/docs.json +995 -0
  17. package/dist/esm/definitions.d.ts +296 -0
  18. package/dist/esm/definitions.js +2 -0
  19. package/dist/esm/definitions.js.map +1 -0
  20. package/dist/esm/index.d.ts +4 -0
  21. package/dist/esm/index.js +9 -0
  22. package/dist/esm/index.js.map +1 -0
  23. package/dist/esm/web-utils/Data.d.ts +5 -0
  24. package/dist/esm/web-utils/Data.js +3 -0
  25. package/dist/esm/web-utils/Data.js.map +1 -0
  26. package/dist/esm/web-utils/StorageDatabaseHelper.d.ts +23 -0
  27. package/dist/esm/web-utils/StorageDatabaseHelper.js +247 -0
  28. package/dist/esm/web-utils/StorageDatabaseHelper.js.map +1 -0
  29. package/dist/esm/web-utils/json-utils.d.ts +15 -0
  30. package/dist/esm/web-utils/json-utils.js +76 -0
  31. package/dist/esm/web-utils/json-utils.js.map +1 -0
  32. package/dist/esm/web.d.ts +27 -0
  33. package/dist/esm/web.js +295 -0
  34. package/dist/esm/web.js.map +1 -0
  35. package/dist/plugin.cjs.js +633 -0
  36. package/dist/plugin.cjs.js.map +1 -0
  37. package/dist/plugin.js +635 -0
  38. package/dist/plugin.js.map +1 -0
  39. package/electron/dist/plugin.js +1044 -0
  40. package/electron/dist/plugin.js.map +1 -0
  41. package/electron/rollup.config.mjs +17 -0
  42. package/electron/tsconfig.json +19 -0
  43. package/ios/Plugin/CapacitorDataStorageSqlite.swift +550 -0
  44. package/ios/Plugin/CapacitorDataStorageSqlitePlugin.h +10 -0
  45. package/ios/Plugin/CapacitorDataStorageSqlitePlugin.m +29 -0
  46. package/ios/Plugin/CapacitorDataStorageSqlitePlugin.swift +550 -0
  47. package/ios/Plugin/Data.swift +16 -0
  48. package/ios/Plugin/Global.swift +13 -0
  49. package/ios/Plugin/ImportExportJson/JsonStore.swift +47 -0
  50. package/ios/Plugin/Info.plist +24 -0
  51. package/ios/Plugin/ReturnHandler.swift +85 -0
  52. package/ios/Plugin/StorageDatabaseHelper.swift +603 -0
  53. package/ios/Plugin/Utils/Blob.swift +41 -0
  54. package/ios/Plugin/Utils/UtilsBinding.swift +73 -0
  55. package/ios/Plugin/Utils/UtilsEncryption.swift +79 -0
  56. package/ios/Plugin/Utils/UtilsFile.swift +244 -0
  57. package/ios/Plugin/Utils/UtilsSQLCipher.swift +605 -0
  58. package/package.json +96 -0
  59. package/readme.md +203 -0
package/dist/docs.json ADDED
@@ -0,0 +1,995 @@
1
+ {
2
+ "api": {
3
+ "name": "CapacitorDataStorageSqlitePlugin",
4
+ "slug": "capacitordatastoragesqliteplugin",
5
+ "docs": "",
6
+ "tags": [],
7
+ "methods": [
8
+ {
9
+ "name": "echo",
10
+ "signature": "(options: capEchoOptions) => Promise<capEchoResult>",
11
+ "parameters": [
12
+ {
13
+ "name": "options",
14
+ "docs": ": capEchoOptions",
15
+ "type": "capEchoOptions"
16
+ }
17
+ ],
18
+ "returns": "Promise<capEchoResult>",
19
+ "tags": [
20
+ {
21
+ "name": "param",
22
+ "text": "options : capEchoOptions"
23
+ },
24
+ {
25
+ "name": "return",
26
+ "text": "Promise<capEchoResult>"
27
+ },
28
+ {
29
+ "name": "since",
30
+ "text": "0.0.1"
31
+ }
32
+ ],
33
+ "docs": "",
34
+ "complexTypes": [
35
+ "capEchoResult",
36
+ "capEchoOptions"
37
+ ],
38
+ "slug": "echo"
39
+ },
40
+ {
41
+ "name": "openStore",
42
+ "signature": "(options: capOpenStorageOptions) => Promise<void>",
43
+ "parameters": [
44
+ {
45
+ "name": "options",
46
+ "docs": ": capOpenStorageOptions",
47
+ "type": "capOpenStorageOptions"
48
+ }
49
+ ],
50
+ "returns": "Promise<void>",
51
+ "tags": [
52
+ {
53
+ "name": "param",
54
+ "text": "options : capOpenStorageOptions"
55
+ },
56
+ {
57
+ "name": "returns",
58
+ "text": "Promise<void>"
59
+ },
60
+ {
61
+ "name": "since",
62
+ "text": "0.0.1"
63
+ }
64
+ ],
65
+ "docs": "Open a store",
66
+ "complexTypes": [
67
+ "capOpenStorageOptions"
68
+ ],
69
+ "slug": "openstore"
70
+ },
71
+ {
72
+ "name": "closeStore",
73
+ "signature": "(options: capStorageOptions) => Promise<void>",
74
+ "parameters": [
75
+ {
76
+ "name": "options",
77
+ "docs": ": capStorageOptions",
78
+ "type": "capStorageOptions"
79
+ }
80
+ ],
81
+ "returns": "Promise<void>",
82
+ "tags": [
83
+ {
84
+ "name": "param",
85
+ "text": "options : capStorageOptions"
86
+ },
87
+ {
88
+ "name": "returns",
89
+ "text": "Promise<void>"
90
+ },
91
+ {
92
+ "name": "since",
93
+ "text": "3.0.0"
94
+ }
95
+ ],
96
+ "docs": "Close the Store",
97
+ "complexTypes": [
98
+ "capStorageOptions"
99
+ ],
100
+ "slug": "closestore"
101
+ },
102
+ {
103
+ "name": "isStoreOpen",
104
+ "signature": "(options: capStorageOptions) => Promise<capDataStorageResult>",
105
+ "parameters": [
106
+ {
107
+ "name": "options",
108
+ "docs": ": capStorageOptions",
109
+ "type": "capStorageOptions"
110
+ }
111
+ ],
112
+ "returns": "Promise<capDataStorageResult>",
113
+ "tags": [
114
+ {
115
+ "name": "param",
116
+ "text": "options : capStorageOptions"
117
+ },
118
+ {
119
+ "name": "returns",
120
+ "text": "Promise<capDataStorageResult>"
121
+ },
122
+ {
123
+ "name": "since",
124
+ "text": "3.0.0"
125
+ }
126
+ ],
127
+ "docs": "Check if the Store is opened",
128
+ "complexTypes": [
129
+ "capDataStorageResult",
130
+ "capStorageOptions"
131
+ ],
132
+ "slug": "isstoreopen"
133
+ },
134
+ {
135
+ "name": "isStoreExists",
136
+ "signature": "(options: capStorageOptions) => Promise<capDataStorageResult>",
137
+ "parameters": [
138
+ {
139
+ "name": "options",
140
+ "docs": ": capStorageOptions",
141
+ "type": "capStorageOptions"
142
+ }
143
+ ],
144
+ "returns": "Promise<capDataStorageResult>",
145
+ "tags": [
146
+ {
147
+ "name": "param",
148
+ "text": "options : capStorageOptions"
149
+ },
150
+ {
151
+ "name": "returns",
152
+ "text": "Promise<capDataStorageResult>"
153
+ },
154
+ {
155
+ "name": "since",
156
+ "text": "3.0.0"
157
+ }
158
+ ],
159
+ "docs": "Check if the Store exists",
160
+ "complexTypes": [
161
+ "capDataStorageResult",
162
+ "capStorageOptions"
163
+ ],
164
+ "slug": "isstoreexists"
165
+ },
166
+ {
167
+ "name": "deleteStore",
168
+ "signature": "(options: capOpenStorageOptions) => Promise<void>",
169
+ "parameters": [
170
+ {
171
+ "name": "options",
172
+ "docs": ": capOpenStorageOptions",
173
+ "type": "capOpenStorageOptions"
174
+ }
175
+ ],
176
+ "returns": "Promise<void>",
177
+ "tags": [
178
+ {
179
+ "name": "param",
180
+ "text": "options : capOpenStorageOptions"
181
+ },
182
+ {
183
+ "name": "returns",
184
+ "text": "Promise<void>"
185
+ },
186
+ {
187
+ "name": "since",
188
+ "text": "0.0.1"
189
+ }
190
+ ],
191
+ "docs": "Delete a store",
192
+ "complexTypes": [
193
+ "capOpenStorageOptions"
194
+ ],
195
+ "slug": "deletestore"
196
+ },
197
+ {
198
+ "name": "setTable",
199
+ "signature": "(options: capTableStorageOptions) => Promise<void>",
200
+ "parameters": [
201
+ {
202
+ "name": "options",
203
+ "docs": ": capTableStorageOptions",
204
+ "type": "capTableStorageOptions"
205
+ }
206
+ ],
207
+ "returns": "Promise<void>",
208
+ "tags": [
209
+ {
210
+ "name": "param",
211
+ "text": "options : capTableStorageOptions"
212
+ },
213
+ {
214
+ "name": "returns",
215
+ "text": "Promise<void>"
216
+ },
217
+ {
218
+ "name": "since",
219
+ "text": "0.0.1"
220
+ }
221
+ ],
222
+ "docs": "Set or Add a table to an existing store",
223
+ "complexTypes": [
224
+ "capTableStorageOptions"
225
+ ],
226
+ "slug": "settable"
227
+ },
228
+ {
229
+ "name": "set",
230
+ "signature": "(options: capDataStorageOptions) => Promise<void>",
231
+ "parameters": [
232
+ {
233
+ "name": "options",
234
+ "docs": ": capDataStorageOptions",
235
+ "type": "capDataStorageOptions"
236
+ }
237
+ ],
238
+ "returns": "Promise<void>",
239
+ "tags": [
240
+ {
241
+ "name": "param",
242
+ "text": "options : capDataStorageOptions"
243
+ },
244
+ {
245
+ "name": "returns",
246
+ "text": "Promise<void>"
247
+ },
248
+ {
249
+ "name": "since",
250
+ "text": "0.0.1"
251
+ }
252
+ ],
253
+ "docs": "Store a data with given key and value",
254
+ "complexTypes": [
255
+ "capDataStorageOptions"
256
+ ],
257
+ "slug": "set"
258
+ },
259
+ {
260
+ "name": "get",
261
+ "signature": "(options: capDataStorageOptions) => Promise<capValueResult>",
262
+ "parameters": [
263
+ {
264
+ "name": "options",
265
+ "docs": ": capDataStorageOptions",
266
+ "type": "capDataStorageOptions"
267
+ }
268
+ ],
269
+ "returns": "Promise<capValueResult>",
270
+ "tags": [
271
+ {
272
+ "name": "param",
273
+ "text": "options : capDataStorageOptions"
274
+ },
275
+ {
276
+ "name": "returns",
277
+ "text": "Promise<capValueResult>"
278
+ },
279
+ {
280
+ "name": "since",
281
+ "text": "0.0.1"
282
+ }
283
+ ],
284
+ "docs": "Retrieve a data value for a given data key",
285
+ "complexTypes": [
286
+ "capValueResult",
287
+ "capDataStorageOptions"
288
+ ],
289
+ "slug": "get"
290
+ },
291
+ {
292
+ "name": "remove",
293
+ "signature": "(options: capDataStorageOptions) => Promise<void>",
294
+ "parameters": [
295
+ {
296
+ "name": "options",
297
+ "docs": ": capDataStorageOptions",
298
+ "type": "capDataStorageOptions"
299
+ }
300
+ ],
301
+ "returns": "Promise<void>",
302
+ "tags": [
303
+ {
304
+ "name": "param",
305
+ "text": "options : capDataStorageOptions"
306
+ },
307
+ {
308
+ "name": "returns",
309
+ "text": "Promise<void>"
310
+ },
311
+ {
312
+ "name": "since",
313
+ "text": "0.0.1"
314
+ }
315
+ ],
316
+ "docs": "Remove a data with given key",
317
+ "complexTypes": [
318
+ "capDataStorageOptions"
319
+ ],
320
+ "slug": "remove"
321
+ },
322
+ {
323
+ "name": "clear",
324
+ "signature": "() => Promise<void>",
325
+ "parameters": [],
326
+ "returns": "Promise<void>",
327
+ "tags": [
328
+ {
329
+ "name": "returns",
330
+ "text": "Promise<void>"
331
+ },
332
+ {
333
+ "name": "since",
334
+ "text": "0.0.1"
335
+ }
336
+ ],
337
+ "docs": "Clear the Data Store (delete all keys)",
338
+ "complexTypes": [],
339
+ "slug": "clear"
340
+ },
341
+ {
342
+ "name": "iskey",
343
+ "signature": "(options: capDataStorageOptions) => Promise<capDataStorageResult>",
344
+ "parameters": [
345
+ {
346
+ "name": "options",
347
+ "docs": ": capDataStorageOptions",
348
+ "type": "capDataStorageOptions"
349
+ }
350
+ ],
351
+ "returns": "Promise<capDataStorageResult>",
352
+ "tags": [
353
+ {
354
+ "name": "param",
355
+ "text": "options : capDataStorageOptions"
356
+ },
357
+ {
358
+ "name": "returns",
359
+ "text": "Promise<capDataStorageResult>"
360
+ },
361
+ {
362
+ "name": "since",
363
+ "text": "0.0.1"
364
+ }
365
+ ],
366
+ "docs": "Check if a data key exists",
367
+ "complexTypes": [
368
+ "capDataStorageResult",
369
+ "capDataStorageOptions"
370
+ ],
371
+ "slug": "iskey"
372
+ },
373
+ {
374
+ "name": "keys",
375
+ "signature": "() => Promise<capKeysResult>",
376
+ "parameters": [],
377
+ "returns": "Promise<capKeysResult>",
378
+ "tags": [
379
+ {
380
+ "name": "returns",
381
+ "text": "Promise<capKeysResult>"
382
+ },
383
+ {
384
+ "name": "since",
385
+ "text": "0.0.1"
386
+ }
387
+ ],
388
+ "docs": "Get the data key list",
389
+ "complexTypes": [
390
+ "capKeysResult"
391
+ ],
392
+ "slug": "keys"
393
+ },
394
+ {
395
+ "name": "values",
396
+ "signature": "() => Promise<capValuesResult>",
397
+ "parameters": [],
398
+ "returns": "Promise<capValuesResult>",
399
+ "tags": [
400
+ {
401
+ "name": "returns",
402
+ "text": "Promise<capValuesResult>"
403
+ },
404
+ {
405
+ "name": "since",
406
+ "text": "0.0.1"
407
+ }
408
+ ],
409
+ "docs": "Get the data value list",
410
+ "complexTypes": [
411
+ "capValuesResult"
412
+ ],
413
+ "slug": "values"
414
+ },
415
+ {
416
+ "name": "filtervalues",
417
+ "signature": "(options: capFilterStorageOptions) => Promise<capValuesResult>",
418
+ "parameters": [
419
+ {
420
+ "name": "options",
421
+ "docs": ": capFilterStorageOptions",
422
+ "type": "capFilterStorageOptions"
423
+ }
424
+ ],
425
+ "returns": "Promise<capValuesResult>",
426
+ "tags": [
427
+ {
428
+ "name": "param",
429
+ "text": "options : capFilterStorageOptions"
430
+ },
431
+ {
432
+ "name": "returns",
433
+ "text": "Promise<capValuesResult>"
434
+ },
435
+ {
436
+ "name": "since",
437
+ "text": "2.4.2"
438
+ }
439
+ ],
440
+ "docs": "Get the data value list for filter keys",
441
+ "complexTypes": [
442
+ "capValuesResult",
443
+ "capFilterStorageOptions"
444
+ ],
445
+ "slug": "filtervalues"
446
+ },
447
+ {
448
+ "name": "keysvalues",
449
+ "signature": "() => Promise<capKeysValuesResult>",
450
+ "parameters": [],
451
+ "returns": "Promise<capKeysValuesResult>",
452
+ "tags": [
453
+ {
454
+ "name": "returns",
455
+ "text": "Promise<capKeysValuesResult>"
456
+ },
457
+ {
458
+ "name": "since",
459
+ "text": "0.0.1"
460
+ }
461
+ ],
462
+ "docs": "Get the data key/value pair list",
463
+ "complexTypes": [
464
+ "capKeysValuesResult"
465
+ ],
466
+ "slug": "keysvalues"
467
+ },
468
+ {
469
+ "name": "isTable",
470
+ "signature": "(options: capTableStorageOptions) => Promise<capDataStorageResult>",
471
+ "parameters": [
472
+ {
473
+ "name": "options",
474
+ "docs": ": capTableStorageOptions",
475
+ "type": "capTableStorageOptions"
476
+ }
477
+ ],
478
+ "returns": "Promise<capDataStorageResult>",
479
+ "tags": [
480
+ {
481
+ "name": "param",
482
+ "text": "options : capTableStorageOptions"
483
+ },
484
+ {
485
+ "name": "returns",
486
+ "text": "Promise<capDataStorageResult>"
487
+ },
488
+ {
489
+ "name": "since",
490
+ "text": "3.0.0"
491
+ }
492
+ ],
493
+ "docs": "Check if a table exists",
494
+ "complexTypes": [
495
+ "capDataStorageResult",
496
+ "capTableStorageOptions"
497
+ ],
498
+ "slug": "istable"
499
+ },
500
+ {
501
+ "name": "tables",
502
+ "signature": "() => Promise<capTablesResult>",
503
+ "parameters": [],
504
+ "returns": "Promise<capTablesResult>",
505
+ "tags": [
506
+ {
507
+ "name": "returns",
508
+ "text": "Promise<capTablesResult>"
509
+ },
510
+ {
511
+ "name": "since",
512
+ "text": "3.0.0"
513
+ }
514
+ ],
515
+ "docs": "Get the table list for the current store",
516
+ "complexTypes": [
517
+ "capTablesResult"
518
+ ],
519
+ "slug": "tables"
520
+ },
521
+ {
522
+ "name": "deleteTable",
523
+ "signature": "(options: capTableStorageOptions) => Promise<void>",
524
+ "parameters": [
525
+ {
526
+ "name": "options",
527
+ "docs": ": capTableStorageOptions",
528
+ "type": "capTableStorageOptions"
529
+ }
530
+ ],
531
+ "returns": "Promise<void>",
532
+ "tags": [
533
+ {
534
+ "name": "param",
535
+ "text": "options : capTableStorageOptions"
536
+ },
537
+ {
538
+ "name": "returns",
539
+ "text": "Promise<void>"
540
+ },
541
+ {
542
+ "name": "since",
543
+ "text": "3.0.0"
544
+ }
545
+ ],
546
+ "docs": "Delete a table",
547
+ "complexTypes": [
548
+ "capTableStorageOptions"
549
+ ],
550
+ "slug": "deletetable"
551
+ },
552
+ {
553
+ "name": "importFromJson",
554
+ "signature": "(options: capStoreImportOptions) => Promise<capDataStorageChanges>",
555
+ "parameters": [
556
+ {
557
+ "name": "options",
558
+ "docs": "",
559
+ "type": "capStoreImportOptions"
560
+ }
561
+ ],
562
+ "returns": "Promise<capDataStorageChanges>",
563
+ "tags": [
564
+ {
565
+ "name": "param",
566
+ "text": "jsonstring string"
567
+ },
568
+ {
569
+ "name": "returns",
570
+ "text": "Promise<capDataStorageChanges>"
571
+ },
572
+ {
573
+ "name": "since",
574
+ "text": "3.2.0"
575
+ }
576
+ ],
577
+ "docs": "Import a database From a JSON",
578
+ "complexTypes": [
579
+ "capDataStorageChanges",
580
+ "capStoreImportOptions"
581
+ ],
582
+ "slug": "importfromjson"
583
+ },
584
+ {
585
+ "name": "isJsonValid",
586
+ "signature": "(options: capStoreImportOptions) => Promise<capDataStorageResult>",
587
+ "parameters": [
588
+ {
589
+ "name": "options",
590
+ "docs": "",
591
+ "type": "capStoreImportOptions"
592
+ }
593
+ ],
594
+ "returns": "Promise<capDataStorageResult>",
595
+ "tags": [
596
+ {
597
+ "name": "param",
598
+ "text": "jsonstring string"
599
+ },
600
+ {
601
+ "name": "returns",
602
+ "text": "Promise<capDataStorageResult>"
603
+ },
604
+ {
605
+ "name": "since",
606
+ "text": "3.2.0"
607
+ }
608
+ ],
609
+ "docs": "Check the validity of a JSON Object",
610
+ "complexTypes": [
611
+ "capDataStorageResult",
612
+ "capStoreImportOptions"
613
+ ],
614
+ "slug": "isjsonvalid"
615
+ },
616
+ {
617
+ "name": "exportToJson",
618
+ "signature": "() => Promise<capStoreJson>",
619
+ "parameters": [],
620
+ "returns": "Promise<capStoreJson>",
621
+ "tags": [
622
+ {
623
+ "name": "returns",
624
+ "text": "Promise<capStoreJson>"
625
+ },
626
+ {
627
+ "name": "since",
628
+ "text": "3.2.0"
629
+ }
630
+ ],
631
+ "docs": "Export the given database to a JSON Object",
632
+ "complexTypes": [
633
+ "capStoreJson"
634
+ ],
635
+ "slug": "exporttojson"
636
+ }
637
+ ],
638
+ "properties": []
639
+ },
640
+ "interfaces": [
641
+ {
642
+ "name": "capEchoResult",
643
+ "slug": "capechoresult",
644
+ "docs": "",
645
+ "tags": [],
646
+ "methods": [],
647
+ "properties": [
648
+ {
649
+ "name": "value",
650
+ "tags": [],
651
+ "docs": "String returned",
652
+ "complexTypes": [],
653
+ "type": "string"
654
+ }
655
+ ]
656
+ },
657
+ {
658
+ "name": "capEchoOptions",
659
+ "slug": "capechooptions",
660
+ "docs": "",
661
+ "tags": [],
662
+ "methods": [],
663
+ "properties": [
664
+ {
665
+ "name": "value",
666
+ "tags": [],
667
+ "docs": "String to be echoed",
668
+ "complexTypes": [],
669
+ "type": "string | undefined"
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "name": "capOpenStorageOptions",
675
+ "slug": "capopenstorageoptions",
676
+ "docs": "",
677
+ "tags": [],
678
+ "methods": [],
679
+ "properties": [
680
+ {
681
+ "name": "database",
682
+ "tags": [],
683
+ "docs": "The storage database name",
684
+ "complexTypes": [],
685
+ "type": "string | undefined"
686
+ },
687
+ {
688
+ "name": "table",
689
+ "tags": [],
690
+ "docs": "The storage table name",
691
+ "complexTypes": [],
692
+ "type": "string | undefined"
693
+ },
694
+ {
695
+ "name": "encrypted",
696
+ "tags": [],
697
+ "docs": "Set to true for database encryption",
698
+ "complexTypes": [],
699
+ "type": "boolean | undefined"
700
+ },
701
+ {
702
+ "name": "mode",
703
+ "tags": [],
704
+ "docs": "*\nSet the mode for database encryption\n[\"encryption\", \"secret\",\"newsecret\"]",
705
+ "complexTypes": [],
706
+ "type": "string | undefined"
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "name": "capStorageOptions",
712
+ "slug": "capstorageoptions",
713
+ "docs": "",
714
+ "tags": [],
715
+ "methods": [],
716
+ "properties": [
717
+ {
718
+ "name": "database",
719
+ "tags": [],
720
+ "docs": "The storage name",
721
+ "complexTypes": [],
722
+ "type": "string"
723
+ }
724
+ ]
725
+ },
726
+ {
727
+ "name": "capDataStorageResult",
728
+ "slug": "capdatastorageresult",
729
+ "docs": "",
730
+ "tags": [],
731
+ "methods": [],
732
+ "properties": [
733
+ {
734
+ "name": "result",
735
+ "tags": [],
736
+ "docs": "result set to true when successful else false",
737
+ "complexTypes": [],
738
+ "type": "boolean | undefined"
739
+ },
740
+ {
741
+ "name": "message",
742
+ "tags": [],
743
+ "docs": "a returned message",
744
+ "complexTypes": [],
745
+ "type": "string | undefined"
746
+ }
747
+ ]
748
+ },
749
+ {
750
+ "name": "capTableStorageOptions",
751
+ "slug": "captablestorageoptions",
752
+ "docs": "",
753
+ "tags": [],
754
+ "methods": [],
755
+ "properties": [
756
+ {
757
+ "name": "table",
758
+ "tags": [],
759
+ "docs": "The storage table name",
760
+ "complexTypes": [],
761
+ "type": "string"
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "name": "capDataStorageOptions",
767
+ "slug": "capdatastorageoptions",
768
+ "docs": "",
769
+ "tags": [],
770
+ "methods": [],
771
+ "properties": [
772
+ {
773
+ "name": "key",
774
+ "tags": [],
775
+ "docs": "The data name",
776
+ "complexTypes": [],
777
+ "type": "string"
778
+ },
779
+ {
780
+ "name": "value",
781
+ "tags": [],
782
+ "docs": "The data value when required",
783
+ "complexTypes": [],
784
+ "type": "string | undefined"
785
+ }
786
+ ]
787
+ },
788
+ {
789
+ "name": "capValueResult",
790
+ "slug": "capvalueresult",
791
+ "docs": "",
792
+ "tags": [],
793
+ "methods": [],
794
+ "properties": [
795
+ {
796
+ "name": "value",
797
+ "tags": [],
798
+ "docs": "the data value for a given data key",
799
+ "complexTypes": [],
800
+ "type": "string"
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "name": "capKeysResult",
806
+ "slug": "capkeysresult",
807
+ "docs": "",
808
+ "tags": [],
809
+ "methods": [],
810
+ "properties": [
811
+ {
812
+ "name": "keys",
813
+ "tags": [],
814
+ "docs": "the data key list as an Array",
815
+ "complexTypes": [],
816
+ "type": "string[]"
817
+ }
818
+ ]
819
+ },
820
+ {
821
+ "name": "capValuesResult",
822
+ "slug": "capvaluesresult",
823
+ "docs": "",
824
+ "tags": [],
825
+ "methods": [],
826
+ "properties": [
827
+ {
828
+ "name": "values",
829
+ "tags": [],
830
+ "docs": "the data values list as an Array",
831
+ "complexTypes": [],
832
+ "type": "string[]"
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ "name": "capFilterStorageOptions",
838
+ "slug": "capfilterstorageoptions",
839
+ "docs": "",
840
+ "tags": [],
841
+ "methods": [],
842
+ "properties": [
843
+ {
844
+ "name": "filter",
845
+ "tags": [],
846
+ "docs": "The filter data for filtering keys\n\n['%filter', 'filter', 'filter%'] for\n[starts with filter, contains filter, ends with filter]",
847
+ "complexTypes": [],
848
+ "type": "string"
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "name": "capKeysValuesResult",
854
+ "slug": "capkeysvaluesresult",
855
+ "docs": "",
856
+ "tags": [],
857
+ "methods": [],
858
+ "properties": [
859
+ {
860
+ "name": "keysvalues",
861
+ "tags": [],
862
+ "docs": "the data keys/values list as an Array of {key:string,value:string}",
863
+ "complexTypes": [],
864
+ "type": "any[]"
865
+ }
866
+ ]
867
+ },
868
+ {
869
+ "name": "capTablesResult",
870
+ "slug": "captablesresult",
871
+ "docs": "",
872
+ "tags": [],
873
+ "methods": [],
874
+ "properties": [
875
+ {
876
+ "name": "tables",
877
+ "tags": [],
878
+ "docs": "the tables list as an Array",
879
+ "complexTypes": [],
880
+ "type": "string[]"
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "name": "capDataStorageChanges",
886
+ "slug": "capdatastoragechanges",
887
+ "docs": "",
888
+ "tags": [],
889
+ "methods": [],
890
+ "properties": [
891
+ {
892
+ "name": "changes",
893
+ "tags": [],
894
+ "docs": "the number of changes from an importFromJson command",
895
+ "complexTypes": [],
896
+ "type": "number | undefined"
897
+ }
898
+ ]
899
+ },
900
+ {
901
+ "name": "capStoreImportOptions",
902
+ "slug": "capstoreimportoptions",
903
+ "docs": "",
904
+ "tags": [],
905
+ "methods": [],
906
+ "properties": [
907
+ {
908
+ "name": "jsonstring",
909
+ "tags": [],
910
+ "docs": "Set the JSON object to import",
911
+ "complexTypes": [],
912
+ "type": "string | undefined"
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "name": "capStoreJson",
918
+ "slug": "capstorejson",
919
+ "docs": "",
920
+ "tags": [],
921
+ "methods": [],
922
+ "properties": [
923
+ {
924
+ "name": "export",
925
+ "tags": [],
926
+ "docs": "an export JSON object",
927
+ "complexTypes": [
928
+ "JsonStore"
929
+ ],
930
+ "type": "JsonStore"
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ "name": "JsonStore",
936
+ "slug": "jsonstore",
937
+ "docs": "",
938
+ "tags": [],
939
+ "methods": [],
940
+ "properties": [
941
+ {
942
+ "name": "database",
943
+ "tags": [],
944
+ "docs": "The database name",
945
+ "complexTypes": [],
946
+ "type": "string"
947
+ },
948
+ {
949
+ "name": "encrypted",
950
+ "tags": [],
951
+ "docs": "Set to true (database encryption) / false\niOS & Android only",
952
+ "complexTypes": [],
953
+ "type": "boolean"
954
+ },
955
+ {
956
+ "name": "tables",
957
+ "tags": [],
958
+ "docs": "*\nArray of Table (JsonTable)",
959
+ "complexTypes": [
960
+ "JsonTable"
961
+ ],
962
+ "type": "JsonTable[]"
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "name": "JsonTable",
968
+ "slug": "jsontable",
969
+ "docs": "",
970
+ "tags": [],
971
+ "methods": [],
972
+ "properties": [
973
+ {
974
+ "name": "name",
975
+ "tags": [],
976
+ "docs": "The database name",
977
+ "complexTypes": [],
978
+ "type": "string"
979
+ },
980
+ {
981
+ "name": "values",
982
+ "tags": [],
983
+ "docs": "*\nArray of Values (capDataStorageOptions)",
984
+ "complexTypes": [
985
+ "capDataStorageOptions"
986
+ ],
987
+ "type": "capDataStorageOptions[] | undefined"
988
+ }
989
+ ]
990
+ }
991
+ ],
992
+ "enums": [],
993
+ "typeAliases": [],
994
+ "pluginConfigs": []
995
+ }