@aws-amplify/datastore-storage-adapter 2.0.72 → 2.0.73

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 (72) hide show
  1. package/.rollup.cache/Volumes/workplace/amplify-js/packages/datastore-storage-adapter/dist/meta/cjs.tsbuildinfo +1 -0
  2. package/CHANGELOG.md +6 -0
  3. package/coverage-ts/assets/source-file.css +21 -0
  4. package/coverage-ts/assets/source-file.js +40 -0
  5. package/coverage-ts/files/lib/ExpoSQLiteAdapter/ExpoSQLiteAdapter.d.ts.html +21 -0
  6. package/coverage-ts/files/lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts.html +35 -0
  7. package/coverage-ts/files/lib/SQLiteAdapter/SQLiteAdapter.d.ts.html +21 -0
  8. package/coverage-ts/files/lib/SQLiteAdapter/SQLiteDatabase.d.ts.html +35 -0
  9. package/coverage-ts/files/lib/common/CommonSQLiteAdapter.d.ts.html +41 -0
  10. package/coverage-ts/files/lib/common/SQLiteUtils.d.ts.html +39 -0
  11. package/coverage-ts/files/lib/common/constants.d.ts.html +19 -0
  12. package/coverage-ts/files/lib/common/types.d.ts.html +34 -0
  13. package/coverage-ts/files/lib/index.d.ts.html +20 -0
  14. package/coverage-ts/files/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.d.ts.html +21 -0
  15. package/coverage-ts/files/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts.html +35 -0
  16. package/coverage-ts/files/lib-esm/SQLiteAdapter/SQLiteAdapter.d.ts.html +21 -0
  17. package/coverage-ts/files/lib-esm/SQLiteAdapter/SQLiteDatabase.d.ts.html +35 -0
  18. package/coverage-ts/files/lib-esm/common/CommonSQLiteAdapter.d.ts.html +41 -0
  19. package/coverage-ts/files/lib-esm/common/SQLiteUtils.d.ts.html +39 -0
  20. package/coverage-ts/files/lib-esm/common/constants.d.ts.html +19 -0
  21. package/coverage-ts/files/lib-esm/common/types.d.ts.html +34 -0
  22. package/coverage-ts/files/lib-esm/index.d.ts.html +20 -0
  23. package/coverage-ts/files/src/ExpoSQLiteAdapter/ExpoSQLiteAdapter.ts.html +28 -0
  24. package/coverage-ts/files/src/ExpoSQLiteAdapter/ExpoSQLiteDatabase.ts.html +302 -0
  25. package/coverage-ts/files/src/SQLiteAdapter/SQLiteAdapter.ts.html +28 -0
  26. package/coverage-ts/files/src/SQLiteAdapter/SQLiteDatabase.ts.html +183 -0
  27. package/coverage-ts/files/src/common/CommonSQLiteAdapter.ts.html +460 -0
  28. package/coverage-ts/files/src/common/SQLiteUtils.ts.html +520 -0
  29. package/coverage-ts/files/src/common/constants.ts.html +21 -0
  30. package/coverage-ts/files/src/common/types.ts.html +54 -0
  31. package/coverage-ts/files/src/index.ts.html +22 -0
  32. package/coverage-ts/index.html +15 -0
  33. package/coverage-ts/typescript-coverage.json +772 -0
  34. package/dist/aws-amplify-datastore-storage-adapter.js +5 -0
  35. package/dist/aws-amplify-datastore-storage-adapter.js.map +1 -1
  36. package/dist/aws-amplify-datastore-storage-adapter.min.js.map +1 -1
  37. package/lib/SQLiteAdapter/SQLiteAdapter.d.ts +5 -0
  38. package/lib/SQLiteAdapter/SQLiteAdapter.js +5 -0
  39. package/lib/SQLiteAdapter/SQLiteAdapter.js.map +1 -1
  40. package/lib-esm/SQLiteAdapter/SQLiteAdapter.d.ts +5 -0
  41. package/lib-esm/SQLiteAdapter/SQLiteAdapter.js +5 -0
  42. package/lib-esm/SQLiteAdapter/SQLiteAdapter.js.map +1 -1
  43. package/package.json +4 -4
  44. package/src/SQLiteAdapter/SQLiteAdapter.ts +5 -0
  45. package/.rollup.cache/home/runner/work/amplify-js/amplify-js/amplify-js/packages/datastore-storage-adapter/dist/meta/cjs.tsbuildinfo +0 -1
  46. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/ExpoSQLiteAdapter/ExpoSQLiteAdapter.js +0 -0
  47. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/ExpoSQLiteAdapter/ExpoSQLiteDatabase.js +0 -0
  48. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/SQLiteAdapter/SQLiteAdapter.js +0 -0
  49. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/SQLiteAdapter/SQLiteDatabase.js +0 -0
  50. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/common/CommonSQLiteAdapter.js +0 -0
  51. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/common/SQLiteUtils.js +0 -0
  52. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/common/constants.js +0 -0
  53. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/common/types.js +0 -0
  54. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/cjs/index.js +0 -0
  55. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.d.ts +0 -0
  56. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.js +0 -0
  57. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts +0 -0
  58. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.js +0 -0
  59. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/SQLiteAdapter/SQLiteAdapter.d.ts +0 -0
  60. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/SQLiteAdapter/SQLiteAdapter.js +0 -0
  61. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/SQLiteAdapter/SQLiteDatabase.d.ts +0 -0
  62. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/SQLiteAdapter/SQLiteDatabase.js +0 -0
  63. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/CommonSQLiteAdapter.d.ts +0 -0
  64. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/CommonSQLiteAdapter.js +0 -0
  65. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/SQLiteUtils.d.ts +0 -0
  66. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/SQLiteUtils.js +0 -0
  67. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/constants.d.ts +0 -0
  68. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/constants.js +0 -0
  69. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/types.d.ts +0 -0
  70. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/common/types.js +0 -0
  71. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/index.d.ts +0 -0
  72. /package/.rollup.cache/{home/runner/work/amplify-js/amplify-js → Volumes/workplace}/amplify-js/packages/datastore-storage-adapter/dist/esm/index.js +0 -0
@@ -0,0 +1,35 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>ExpoSQLiteDatabase.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts</td><td class="">94.74%</td><td class="">94.16%</td><td class="">57</td><td class="">54</td><td class="">3</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { PersistentModel } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { CommonSQLiteDatabase, ParameterizedStatement } from &#x27;../common/types&#x27;;
16
+ declare class ExpoSQLiteDatabase implements CommonSQLiteDatabase {
17
+ private db;
18
+ init(): Promise&lt;void&gt;;
19
+ createSchema(statements: string[]): Promise&lt;void&gt;;
20
+ clear(): Promise&lt;void&gt;;
21
+ get&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T&gt;;
22
+ getAll&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T[]&gt;;
23
+ save(statement: string, params: (string | number)[]): Promise&lt;void&gt;;
24
+ batchQuery&lt;T = any&gt;(queryParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;T[]&gt;;
25
+ batchSave(saveParameterizedStatements?: Set&lt;ParameterizedStatement&gt;, deleteParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;void&gt;;
26
+ selectAndDelete&lt;T = any&gt;(queryParameterizedStatement: ParameterizedStatement, deleteParameterizedStatement: ParameterizedStatement): Promise&lt;T[]&gt;;
27
+ private executeStatements;
28
+ private closeDB;
29
+ }
30
+ export default ExpoSQLiteDatabase;
31
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts&quot;,&quot;line&quot;:3,&quot;character&quot;:12,&quot;text&quot;:&quot;db&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts&quot;,&quot;line&quot;:13,&quot;character&quot;:12,&quot;text&quot;:&quot;executeStatements&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts&quot;,&quot;line&quot;:14,&quot;character&quot;:12,&quot;text&quot;:&quot;closeDB&quot;,&quot;kind&quot;:1}]</pre></div>
32
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
33
+ </body>
34
+ </html>
35
+
@@ -0,0 +1,21 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>SQLiteAdapter.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/SQLiteAdapter/SQLiteAdapter.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">4</td><td class="">4</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { CommonSQLiteAdapter } from &#x27;../common/CommonSQLiteAdapter&#x27;;
15
+ declare const SQLiteAdapter: CommonSQLiteAdapter;
16
+ export default SQLiteAdapter;
17
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
18
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
19
+ </body>
20
+ </html>
21
+
@@ -0,0 +1,35 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>SQLiteDatabase.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/SQLiteAdapter/SQLiteDatabase.d.ts</td><td class="">94.74%</td><td class="">94.16%</td><td class="">57</td><td class="">54</td><td class="">3</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { PersistentModel } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { CommonSQLiteDatabase, ParameterizedStatement } from &#x27;../common/types&#x27;;
16
+ declare class SQLiteDatabase implements CommonSQLiteDatabase {
17
+ private db;
18
+ init(): Promise&lt;void&gt;;
19
+ createSchema(statements: string[]): Promise&lt;void&gt;;
20
+ clear(): Promise&lt;void&gt;;
21
+ get&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T&gt;;
22
+ getAll&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T[]&gt;;
23
+ save(statement: string, params: (string | number)[]): Promise&lt;void&gt;;
24
+ batchQuery&lt;T = any&gt;(queryParameterizedStatements: Set&lt;ParameterizedStatement&gt;): Promise&lt;T[]&gt;;
25
+ batchSave(saveParameterizedStatements: Set&lt;ParameterizedStatement&gt;, deleteParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;void&gt;;
26
+ selectAndDelete&lt;T = any&gt;(queryParameterizedStatement: ParameterizedStatement, deleteParameterizedStatement: ParameterizedStatement): Promise&lt;T[]&gt;;
27
+ private executeStatements;
28
+ private closeDB;
29
+ }
30
+ export default SQLiteDatabase;
31
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib/SQLiteAdapter/SQLiteDatabase.d.ts&quot;,&quot;line&quot;:3,&quot;character&quot;:12,&quot;text&quot;:&quot;db&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/SQLiteAdapter/SQLiteDatabase.d.ts&quot;,&quot;line&quot;:13,&quot;character&quot;:12,&quot;text&quot;:&quot;executeStatements&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/SQLiteAdapter/SQLiteDatabase.d.ts&quot;,&quot;line&quot;:14,&quot;character&quot;:12,&quot;text&quot;:&quot;closeDB&quot;,&quot;kind&quot;:1}]</pre></div>
32
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
33
+ </body>
34
+ </html>
35
+
@@ -0,0 +1,41 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>CommonSQLiteAdapter.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="negative"><td class="">lib/common/CommonSQLiteAdapter.d.ts</td><td class="">89.42%</td><td class="">94.16%</td><td class="">104</td><td class="">93</td><td class="">11</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { StorageAdapter, ModelInstanceCreator, InternalSchema, ModelPredicate, NamespaceResolver, NAMESPACES, OpType, PaginationInput, PersistentModel, PersistentModelConstructor, QueryOne } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { CommonSQLiteDatabase, ModelInstanceMetadataWithId } from &#x27;./types&#x27;;
16
+ export declare class CommonSQLiteAdapter implements StorageAdapter {
17
+ private schema;
18
+ private namespaceResolver;
19
+ private modelInstanceCreator;
20
+ private getModelConstructorByModelName;
21
+ private db;
22
+ private initPromise;
23
+ private resolve;
24
+ private reject;
25
+ constructor(db: CommonSQLiteDatabase);
26
+ setUp(theSchema: InternalSchema, namespaceResolver: NamespaceResolver, modelInstanceCreator: ModelInstanceCreator, getModelConstructorByModelName: (namsespaceName: NAMESPACES, modelName: string) =&gt; PersistentModelConstructor&lt;any&gt;): Promise&lt;void&gt;;
27
+ clear(): Promise&lt;void&gt;;
28
+ save&lt;T extends PersistentModel&gt;(model: T, condition?: ModelPredicate&lt;T&gt;): Promise&lt;[T, OpType.INSERT | OpType.UPDATE][]&gt;;
29
+ private load;
30
+ query&lt;T extends PersistentModel&gt;(modelConstructor: PersistentModelConstructor&lt;T&gt;, predicate?: ModelPredicate&lt;T&gt;, pagination?: PaginationInput&lt;T&gt;): Promise&lt;T[]&gt;;
31
+ private getById;
32
+ private idFromPredicate;
33
+ queryOne&lt;T extends PersistentModel&gt;(modelConstructor: PersistentModelConstructor&lt;T&gt;, firstOrLast?: QueryOne): Promise&lt;T | undefined&gt;;
34
+ delete&lt;T extends PersistentModel&gt;(modelOrModelConstructor: T | PersistentModelConstructor&lt;T&gt;, condition?: ModelPredicate&lt;T&gt;): Promise&lt;[T[], T[]]&gt;;
35
+ batchSave&lt;T extends PersistentModel&gt;(modelConstructor: PersistentModelConstructor&lt;any&gt;, items: ModelInstanceMetadataWithId[]): Promise&lt;[T, OpType][]&gt;;
36
+ }
37
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:3,&quot;character&quot;:12,&quot;text&quot;:&quot;schema&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:4,&quot;character&quot;:12,&quot;text&quot;:&quot;namespaceResolver&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:5,&quot;character&quot;:12,&quot;text&quot;:&quot;modelInstanceCreator&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:6,&quot;character&quot;:12,&quot;text&quot;:&quot;getModelConstructorByModelName&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:7,&quot;character&quot;:12,&quot;text&quot;:&quot;db&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:8,&quot;character&quot;:12,&quot;text&quot;:&quot;initPromise&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:9,&quot;character&quot;:12,&quot;text&quot;:&quot;resolve&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:10,&quot;character&quot;:12,&quot;text&quot;:&quot;reject&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:15,&quot;character&quot;:12,&quot;text&quot;:&quot;load&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:17,&quot;character&quot;:12,&quot;text&quot;:&quot;getById&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:18,&quot;character&quot;:12,&quot;text&quot;:&quot;idFromPredicate&quot;,&quot;kind&quot;:1}]</pre></div>
38
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
39
+ </body>
40
+ </html>
41
+
@@ -0,0 +1,39 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>SQLiteUtils.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/common/SQLiteUtils.d.ts</td><td class="">96.63%</td><td class="">94.16%</td><td class="">89</td><td class="">86</td><td class="">3</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { InternalSchema, SchemaModel, PersistentModel, PredicatesGroup, SortPredicatesGroup, GraphQLScalarType } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { ParameterizedStatement } from &#x27;./types&#x27;;
16
+ export declare function getSQLiteType(scalar: keyof Omit&lt;typeof GraphQLScalarType, &#x27;getJSType&#x27; | &#x27;getValidationFunction&#x27; | &#x27;getSQLiteType&#x27;&gt;): &#x27;TEXT&#x27; | &#x27;INTEGER&#x27; | &#x27;REAL&#x27; | &#x27;BLOB&#x27;;
17
+ export declare function generateSchemaStatements(schema: InternalSchema): string[];
18
+ export declare const implicitAuthFieldsForModel: (model: SchemaModel) =&gt; string[];
19
+ export declare function modelCreateTableStatement(model: SchemaModel, userModel?: boolean): string;
20
+ export declare function modelInsertStatement(model: PersistentModel, tableName: string): ParameterizedStatement;
21
+ export declare function modelUpdateStatement(model: PersistentModel, tableName: string): ParameterizedStatement;
22
+ export declare function queryByIdStatement(id: string, tableName: string): ParameterizedStatement;
23
+ export declare const whereConditionFromPredicateObject: ({ field, operator, operand, }: {
24
+ field: string;
25
+ operator: &quot;eq&quot; | &quot;ne&quot; | &quot;beginsWith&quot; | &quot;contains&quot; | &quot;notContains&quot; | &quot;between&quot; | &quot;le&quot; | &quot;lt&quot; | &quot;ge&quot; | &quot;gt&quot;;
26
+ operand: any;
27
+ }) =&gt; ParameterizedStatement;
28
+ export declare function whereClauseFromPredicate&lt;T extends PersistentModel&gt;(predicate: PredicatesGroup&lt;T&gt;): ParameterizedStatement;
29
+ export declare function orderByClauseFromSort&lt;T extends PersistentModel&gt;(sortPredicate?: SortPredicatesGroup&lt;T&gt;): string;
30
+ export declare function limitClauseFromPagination(limit: number, page?: number): ParameterizedStatement;
31
+ export declare function queryAllStatement&lt;T extends PersistentModel&gt;(tableName: string, predicate?: PredicatesGroup&lt;T&gt;, sort?: SortPredicatesGroup&lt;T&gt;, limit?: number, page?: number): ParameterizedStatement;
32
+ export declare function queryOneStatement(firstOrLast: any, tableName: string): ParameterizedStatement;
33
+ export declare function deleteByIdStatement(id: string, tableName: string): ParameterizedStatement;
34
+ export declare function deleteByPredicateStatement&lt;T extends PersistentModel&gt;(tableName: string, predicate?: PredicatesGroup&lt;T&gt;): ParameterizedStatement;
35
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib/common/SQLiteUtils.d.ts&quot;,&quot;line&quot;:9,&quot;character&quot;:76,&quot;text&quot;:&quot;operand&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/SQLiteUtils.d.ts&quot;,&quot;line&quot;:12,&quot;character&quot;:4,&quot;text&quot;:&quot;operand&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib/common/SQLiteUtils.d.ts&quot;,&quot;line&quot;:18,&quot;character&quot;:42,&quot;text&quot;:&quot;firstOrLast&quot;,&quot;kind&quot;:1}]</pre></div>
36
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
37
+ </body>
38
+ </html>
39
+
@@ -0,0 +1,19 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>constants.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/common/constants.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">1</td><td class="">1</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">export declare const DB_NAME = &quot;AmplifyDatastore&quot;;
15
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
16
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
17
+ </body>
18
+ </html>
19
+
@@ -0,0 +1,34 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>types.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/common/types.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">55</td><td class="">55</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { PersistentModel, ModelInstanceMetadata } from &#x27;@aws-amplify/datastore&#x27;;
15
+ export interface CommonSQLiteDatabase {
16
+ init(): Promise&lt;void&gt;;
17
+ createSchema(statements: string[]): Promise&lt;void&gt;;
18
+ clear(): Promise&lt;void&gt;;
19
+ get&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T&gt;;
20
+ getAll&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T[]&gt;;
21
+ save(statement: string, params: (string | number)[]): Promise&lt;void&gt;;
22
+ batchQuery&lt;T = any&gt;(queryParameterizedStatement: Set&lt;ParameterizedStatement&gt;): Promise&lt;T[]&gt;;
23
+ batchSave(saveParameterizedStatements: Set&lt;ParameterizedStatement&gt;, deleteParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;void&gt;;
24
+ selectAndDelete&lt;T = any&gt;(queryParameterizedStatement: ParameterizedStatement, deleteParameterizedStatement: ParameterizedStatement): Promise&lt;T[]&gt;;
25
+ }
26
+ export declare type ParameterizedStatement = [string, any[]];
27
+ export declare type ModelInstanceMetadataWithId = ModelInstanceMetadata &amp; {
28
+ id: string;
29
+ };
30
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
31
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
32
+ </body>
33
+ </html>
34
+
@@ -0,0 +1,20 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>index.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib/index.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">2</td><td class="">2</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import SQLiteAdapter from &#x27;./SQLiteAdapter/SQLiteAdapter&#x27;;
15
+ export { SQLiteAdapter };
16
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
17
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
18
+ </body>
19
+ </html>
20
+
@@ -0,0 +1,21 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>ExpoSQLiteAdapter.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">4</td><td class="">4</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { CommonSQLiteAdapter } from &#x27;../common/CommonSQLiteAdapter&#x27;;
15
+ declare const ExpoSQLiteAdapter: CommonSQLiteAdapter;
16
+ export default ExpoSQLiteAdapter;
17
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
18
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
19
+ </body>
20
+ </html>
21
+
@@ -0,0 +1,35 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>ExpoSQLiteDatabase.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts</td><td class="">94.74%</td><td class="">94.16%</td><td class="">57</td><td class="">54</td><td class="">3</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { PersistentModel } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { CommonSQLiteDatabase, ParameterizedStatement } from &#x27;../common/types&#x27;;
16
+ declare class ExpoSQLiteDatabase implements CommonSQLiteDatabase {
17
+ private db;
18
+ init(): Promise&lt;void&gt;;
19
+ createSchema(statements: string[]): Promise&lt;void&gt;;
20
+ clear(): Promise&lt;void&gt;;
21
+ get&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T&gt;;
22
+ getAll&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T[]&gt;;
23
+ save(statement: string, params: (string | number)[]): Promise&lt;void&gt;;
24
+ batchQuery&lt;T = any&gt;(queryParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;T[]&gt;;
25
+ batchSave(saveParameterizedStatements?: Set&lt;ParameterizedStatement&gt;, deleteParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;void&gt;;
26
+ selectAndDelete&lt;T = any&gt;(queryParameterizedStatement: ParameterizedStatement, deleteParameterizedStatement: ParameterizedStatement): Promise&lt;T[]&gt;;
27
+ private executeStatements;
28
+ private closeDB;
29
+ }
30
+ export default ExpoSQLiteDatabase;
31
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts&quot;,&quot;line&quot;:3,&quot;character&quot;:12,&quot;text&quot;:&quot;db&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts&quot;,&quot;line&quot;:13,&quot;character&quot;:12,&quot;text&quot;:&quot;executeStatements&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts&quot;,&quot;line&quot;:14,&quot;character&quot;:12,&quot;text&quot;:&quot;closeDB&quot;,&quot;kind&quot;:1}]</pre></div>
32
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
33
+ </body>
34
+ </html>
35
+
@@ -0,0 +1,21 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>SQLiteAdapter.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/SQLiteAdapter/SQLiteAdapter.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">4</td><td class="">4</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { CommonSQLiteAdapter } from &#x27;../common/CommonSQLiteAdapter&#x27;;
15
+ declare const SQLiteAdapter: CommonSQLiteAdapter;
16
+ export default SQLiteAdapter;
17
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
18
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
19
+ </body>
20
+ </html>
21
+
@@ -0,0 +1,35 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>SQLiteDatabase.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/SQLiteAdapter/SQLiteDatabase.d.ts</td><td class="">94.74%</td><td class="">94.16%</td><td class="">57</td><td class="">54</td><td class="">3</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { PersistentModel } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { CommonSQLiteDatabase, ParameterizedStatement } from &#x27;../common/types&#x27;;
16
+ declare class SQLiteDatabase implements CommonSQLiteDatabase {
17
+ private db;
18
+ init(): Promise&lt;void&gt;;
19
+ createSchema(statements: string[]): Promise&lt;void&gt;;
20
+ clear(): Promise&lt;void&gt;;
21
+ get&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T&gt;;
22
+ getAll&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T[]&gt;;
23
+ save(statement: string, params: (string | number)[]): Promise&lt;void&gt;;
24
+ batchQuery&lt;T = any&gt;(queryParameterizedStatements: Set&lt;ParameterizedStatement&gt;): Promise&lt;T[]&gt;;
25
+ batchSave(saveParameterizedStatements: Set&lt;ParameterizedStatement&gt;, deleteParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;void&gt;;
26
+ selectAndDelete&lt;T = any&gt;(queryParameterizedStatement: ParameterizedStatement, deleteParameterizedStatement: ParameterizedStatement): Promise&lt;T[]&gt;;
27
+ private executeStatements;
28
+ private closeDB;
29
+ }
30
+ export default SQLiteDatabase;
31
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib-esm/SQLiteAdapter/SQLiteDatabase.d.ts&quot;,&quot;line&quot;:3,&quot;character&quot;:12,&quot;text&quot;:&quot;db&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/SQLiteAdapter/SQLiteDatabase.d.ts&quot;,&quot;line&quot;:13,&quot;character&quot;:12,&quot;text&quot;:&quot;executeStatements&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/SQLiteAdapter/SQLiteDatabase.d.ts&quot;,&quot;line&quot;:14,&quot;character&quot;:12,&quot;text&quot;:&quot;closeDB&quot;,&quot;kind&quot;:1}]</pre></div>
32
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
33
+ </body>
34
+ </html>
35
+
@@ -0,0 +1,41 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>CommonSQLiteAdapter.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="negative"><td class="">lib-esm/common/CommonSQLiteAdapter.d.ts</td><td class="">89.42%</td><td class="">94.16%</td><td class="">104</td><td class="">93</td><td class="">11</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { StorageAdapter, ModelInstanceCreator, InternalSchema, ModelPredicate, NamespaceResolver, NAMESPACES, OpType, PaginationInput, PersistentModel, PersistentModelConstructor, QueryOne } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { CommonSQLiteDatabase, ModelInstanceMetadataWithId } from &#x27;./types&#x27;;
16
+ export declare class CommonSQLiteAdapter implements StorageAdapter {
17
+ private schema;
18
+ private namespaceResolver;
19
+ private modelInstanceCreator;
20
+ private getModelConstructorByModelName;
21
+ private db;
22
+ private initPromise;
23
+ private resolve;
24
+ private reject;
25
+ constructor(db: CommonSQLiteDatabase);
26
+ setUp(theSchema: InternalSchema, namespaceResolver: NamespaceResolver, modelInstanceCreator: ModelInstanceCreator, getModelConstructorByModelName: (namsespaceName: NAMESPACES, modelName: string) =&gt; PersistentModelConstructor&lt;any&gt;): Promise&lt;void&gt;;
27
+ clear(): Promise&lt;void&gt;;
28
+ save&lt;T extends PersistentModel&gt;(model: T, condition?: ModelPredicate&lt;T&gt;): Promise&lt;[T, OpType.INSERT | OpType.UPDATE][]&gt;;
29
+ private load;
30
+ query&lt;T extends PersistentModel&gt;(modelConstructor: PersistentModelConstructor&lt;T&gt;, predicate?: ModelPredicate&lt;T&gt;, pagination?: PaginationInput&lt;T&gt;): Promise&lt;T[]&gt;;
31
+ private getById;
32
+ private idFromPredicate;
33
+ queryOne&lt;T extends PersistentModel&gt;(modelConstructor: PersistentModelConstructor&lt;T&gt;, firstOrLast?: QueryOne): Promise&lt;T | undefined&gt;;
34
+ delete&lt;T extends PersistentModel&gt;(modelOrModelConstructor: T | PersistentModelConstructor&lt;T&gt;, condition?: ModelPredicate&lt;T&gt;): Promise&lt;[T[], T[]]&gt;;
35
+ batchSave&lt;T extends PersistentModel&gt;(modelConstructor: PersistentModelConstructor&lt;any&gt;, items: ModelInstanceMetadataWithId[]): Promise&lt;[T, OpType][]&gt;;
36
+ }
37
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:3,&quot;character&quot;:12,&quot;text&quot;:&quot;schema&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:4,&quot;character&quot;:12,&quot;text&quot;:&quot;namespaceResolver&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:5,&quot;character&quot;:12,&quot;text&quot;:&quot;modelInstanceCreator&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:6,&quot;character&quot;:12,&quot;text&quot;:&quot;getModelConstructorByModelName&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:7,&quot;character&quot;:12,&quot;text&quot;:&quot;db&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:8,&quot;character&quot;:12,&quot;text&quot;:&quot;initPromise&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:9,&quot;character&quot;:12,&quot;text&quot;:&quot;resolve&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:10,&quot;character&quot;:12,&quot;text&quot;:&quot;reject&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:15,&quot;character&quot;:12,&quot;text&quot;:&quot;load&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:17,&quot;character&quot;:12,&quot;text&quot;:&quot;getById&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/CommonSQLiteAdapter.d.ts&quot;,&quot;line&quot;:18,&quot;character&quot;:12,&quot;text&quot;:&quot;idFromPredicate&quot;,&quot;kind&quot;:1}]</pre></div>
38
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
39
+ </body>
40
+ </html>
41
+
@@ -0,0 +1,39 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>SQLiteUtils.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/common/SQLiteUtils.d.ts</td><td class="">96.63%</td><td class="">94.16%</td><td class="">89</td><td class="">86</td><td class="">3</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { InternalSchema, SchemaModel, PersistentModel, PredicatesGroup, SortPredicatesGroup, GraphQLScalarType } from &#x27;@aws-amplify/datastore&#x27;;
15
+ import { ParameterizedStatement } from &#x27;./types&#x27;;
16
+ export declare function getSQLiteType(scalar: keyof Omit&lt;typeof GraphQLScalarType, &#x27;getJSType&#x27; | &#x27;getValidationFunction&#x27; | &#x27;getSQLiteType&#x27;&gt;): &#x27;TEXT&#x27; | &#x27;INTEGER&#x27; | &#x27;REAL&#x27; | &#x27;BLOB&#x27;;
17
+ export declare function generateSchemaStatements(schema: InternalSchema): string[];
18
+ export declare const implicitAuthFieldsForModel: (model: SchemaModel) =&gt; string[];
19
+ export declare function modelCreateTableStatement(model: SchemaModel, userModel?: boolean): string;
20
+ export declare function modelInsertStatement(model: PersistentModel, tableName: string): ParameterizedStatement;
21
+ export declare function modelUpdateStatement(model: PersistentModel, tableName: string): ParameterizedStatement;
22
+ export declare function queryByIdStatement(id: string, tableName: string): ParameterizedStatement;
23
+ export declare const whereConditionFromPredicateObject: ({ field, operator, operand, }: {
24
+ field: string;
25
+ operator: &quot;eq&quot; | &quot;ne&quot; | &quot;beginsWith&quot; | &quot;contains&quot; | &quot;notContains&quot; | &quot;between&quot; | &quot;le&quot; | &quot;lt&quot; | &quot;ge&quot; | &quot;gt&quot;;
26
+ operand: any;
27
+ }) =&gt; ParameterizedStatement;
28
+ export declare function whereClauseFromPredicate&lt;T extends PersistentModel&gt;(predicate: PredicatesGroup&lt;T&gt;): ParameterizedStatement;
29
+ export declare function orderByClauseFromSort&lt;T extends PersistentModel&gt;(sortPredicate?: SortPredicatesGroup&lt;T&gt;): string;
30
+ export declare function limitClauseFromPagination(limit: number, page?: number): ParameterizedStatement;
31
+ export declare function queryAllStatement&lt;T extends PersistentModel&gt;(tableName: string, predicate?: PredicatesGroup&lt;T&gt;, sort?: SortPredicatesGroup&lt;T&gt;, limit?: number, page?: number): ParameterizedStatement;
32
+ export declare function queryOneStatement(firstOrLast: any, tableName: string): ParameterizedStatement;
33
+ export declare function deleteByIdStatement(id: string, tableName: string): ParameterizedStatement;
34
+ export declare function deleteByPredicateStatement&lt;T extends PersistentModel&gt;(tableName: string, predicate?: PredicatesGroup&lt;T&gt;): ParameterizedStatement;
35
+ </textarea><pre id="annotations" style="display:none">[{&quot;file&quot;:&quot;lib-esm/common/SQLiteUtils.d.ts&quot;,&quot;line&quot;:9,&quot;character&quot;:76,&quot;text&quot;:&quot;operand&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/SQLiteUtils.d.ts&quot;,&quot;line&quot;:12,&quot;character&quot;:4,&quot;text&quot;:&quot;operand&quot;,&quot;kind&quot;:1},{&quot;file&quot;:&quot;lib-esm/common/SQLiteUtils.d.ts&quot;,&quot;line&quot;:18,&quot;character&quot;:42,&quot;text&quot;:&quot;firstOrLast&quot;,&quot;kind&quot;:1}]</pre></div>
36
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
37
+ </body>
38
+ </html>
39
+
@@ -0,0 +1,19 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>constants.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/common/constants.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">1</td><td class="">1</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">export declare const DB_NAME = &quot;AmplifyDatastore&quot;;
15
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
16
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
17
+ </body>
18
+ </html>
19
+
@@ -0,0 +1,34 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>types.d.ts</title>
6
+ <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" type="text/css" rel="stylesheet">
7
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.js" type="text/javascript" charset="utf-8"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/mode/javascript/javascript.min.js" type="text/javascript" charset="utf-8"></script>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.2/codemirror.min.css" type="text/css" rel="stylesheet">
10
+ <script src="../../../assets/source-file.js" type="text/javascript" charset="utf-8"></script>
11
+ <link href="../../../assets/source-file.css" type="text/css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <div style="margin-top:3em" class="ui container"><h1 class="ui header"><a href="../../../index.html">TypeScript coverage report</a></h1><table style="margin-top:2em" class="ui celled table"><thead class=""><tr class=""><th class="">Filename</th><th class="">Percent</th><th class="">Threshold</th><th class="">Total</th><th class="">Covered</th><th class="">Uncovered</th></tr></thead><tbody class=""><tr class="positive"><td class="">lib-esm/common/types.d.ts</td><td class="">100.00%</td><td class="">94.16%</td><td class="">55</td><td class="">55</td><td class="">0</td></tr></tbody></table><textarea id="editor" readonly="" style="margin-top:3em">import { PersistentModel, ModelInstanceMetadata } from &#x27;@aws-amplify/datastore&#x27;;
15
+ export interface CommonSQLiteDatabase {
16
+ init(): Promise&lt;void&gt;;
17
+ createSchema(statements: string[]): Promise&lt;void&gt;;
18
+ clear(): Promise&lt;void&gt;;
19
+ get&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T&gt;;
20
+ getAll&lt;T extends PersistentModel&gt;(statement: string, params: (string | number)[]): Promise&lt;T[]&gt;;
21
+ save(statement: string, params: (string | number)[]): Promise&lt;void&gt;;
22
+ batchQuery&lt;T = any&gt;(queryParameterizedStatement: Set&lt;ParameterizedStatement&gt;): Promise&lt;T[]&gt;;
23
+ batchSave(saveParameterizedStatements: Set&lt;ParameterizedStatement&gt;, deleteParameterizedStatements?: Set&lt;ParameterizedStatement&gt;): Promise&lt;void&gt;;
24
+ selectAndDelete&lt;T = any&gt;(queryParameterizedStatement: ParameterizedStatement, deleteParameterizedStatement: ParameterizedStatement): Promise&lt;T[]&gt;;
25
+ }
26
+ export declare type ParameterizedStatement = [string, any[]];
27
+ export declare type ModelInstanceMetadataWithId = ModelInstanceMetadata &amp; {
28
+ id: string;
29
+ };
30
+ </textarea><pre id="annotations" style="display:none">[]</pre></div>
31
+ <p class="footer-text">TypeScript Coverage Report generated by <a href="https://github.com/plantain-00/type-coverage">type-coverage</a> and <a href="https://github.com/alexcanessa/typescript-coverage-report">typescript-coverage-report</a> at Mon, 20 Apr 2026 10:42:30 GMT</p>
32
+ </body>
33
+ </html>
34
+