@connecttomahdi/rxdb 17.0.0-beta.17

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 (1969) hide show
  1. package/AGENTS.md +54 -0
  2. package/CHANGELOG.md +2469 -0
  3. package/CLAUDE.md +63 -0
  4. package/LICENSE.txt +201 -0
  5. package/README.md +263 -0
  6. package/babel.config.js +58 -0
  7. package/dist/cjs/change-event-buffer.js +146 -0
  8. package/dist/cjs/change-event-buffer.js.map +1 -0
  9. package/dist/cjs/custom-index.js +284 -0
  10. package/dist/cjs/custom-index.js.map +1 -0
  11. package/dist/cjs/doc-cache.js +231 -0
  12. package/dist/cjs/doc-cache.js.map +1 -0
  13. package/dist/cjs/event-reduce.js +102 -0
  14. package/dist/cjs/event-reduce.js.map +1 -0
  15. package/dist/cjs/hooks.js +131 -0
  16. package/dist/cjs/hooks.js.map +1 -0
  17. package/dist/cjs/incremental-write.js +169 -0
  18. package/dist/cjs/incremental-write.js.map +1 -0
  19. package/dist/cjs/index.js +270 -0
  20. package/dist/cjs/index.js.map +1 -0
  21. package/dist/cjs/overwritable.js +39 -0
  22. package/dist/cjs/overwritable.js.map +1 -0
  23. package/dist/cjs/plugin-helpers.js +223 -0
  24. package/dist/cjs/plugin-helpers.js.map +1 -0
  25. package/dist/cjs/plugin.js +94 -0
  26. package/dist/cjs/plugin.js.map +1 -0
  27. package/dist/cjs/plugins/attachments/attachments-utils.js +49 -0
  28. package/dist/cjs/plugins/attachments/attachments-utils.js.map +1 -0
  29. package/dist/cjs/plugins/attachments/index.js +237 -0
  30. package/dist/cjs/plugins/attachments/index.js.map +1 -0
  31. package/dist/cjs/plugins/attachments-compression/index.js +143 -0
  32. package/dist/cjs/plugins/attachments-compression/index.js.map +1 -0
  33. package/dist/cjs/plugins/backup/file-util.js +102 -0
  34. package/dist/cjs/plugins/backup/file-util.js.map +1 -0
  35. package/dist/cjs/plugins/backup/index.js +206 -0
  36. package/dist/cjs/plugins/backup/index.js.map +1 -0
  37. package/dist/cjs/plugins/cleanup/cleanup-helper.js +17 -0
  38. package/dist/cjs/plugins/cleanup/cleanup-helper.js.map +1 -0
  39. package/dist/cjs/plugins/cleanup/cleanup-state.js +83 -0
  40. package/dist/cjs/plugins/cleanup/cleanup-state.js.map +1 -0
  41. package/dist/cjs/plugins/cleanup/cleanup.js +116 -0
  42. package/dist/cjs/plugins/cleanup/cleanup.js.map +1 -0
  43. package/dist/cjs/plugins/cleanup/index.js +64 -0
  44. package/dist/cjs/plugins/cleanup/index.js.map +1 -0
  45. package/dist/cjs/plugins/crdt/index.js +392 -0
  46. package/dist/cjs/plugins/crdt/index.js.map +1 -0
  47. package/dist/cjs/plugins/dev-mode/check-document.js +158 -0
  48. package/dist/cjs/plugins/dev-mode/check-document.js.map +1 -0
  49. package/dist/cjs/plugins/dev-mode/check-migration-strategies.js +43 -0
  50. package/dist/cjs/plugins/dev-mode/check-migration-strategies.js.map +1 -0
  51. package/dist/cjs/plugins/dev-mode/check-orm.js +53 -0
  52. package/dist/cjs/plugins/dev-mode/check-orm.js.map +1 -0
  53. package/dist/cjs/plugins/dev-mode/check-query.js +183 -0
  54. package/dist/cjs/plugins/dev-mode/check-query.js.map +1 -0
  55. package/dist/cjs/plugins/dev-mode/check-schema.js +487 -0
  56. package/dist/cjs/plugins/dev-mode/check-schema.js.map +1 -0
  57. package/dist/cjs/plugins/dev-mode/dev-mode-tracking.js +93 -0
  58. package/dist/cjs/plugins/dev-mode/dev-mode-tracking.js.map +1 -0
  59. package/dist/cjs/plugins/dev-mode/entity-properties.js +56 -0
  60. package/dist/cjs/plugins/dev-mode/entity-properties.js.map +1 -0
  61. package/dist/cjs/plugins/dev-mode/error-messages.js +1295 -0
  62. package/dist/cjs/plugins/dev-mode/error-messages.js.map +1 -0
  63. package/dist/cjs/plugins/dev-mode/index.js +195 -0
  64. package/dist/cjs/plugins/dev-mode/index.js.map +1 -0
  65. package/dist/cjs/plugins/dev-mode/unallowed-properties.js +88 -0
  66. package/dist/cjs/plugins/dev-mode/unallowed-properties.js.map +1 -0
  67. package/dist/cjs/plugins/electron/electron-helper.js +9 -0
  68. package/dist/cjs/plugins/electron/electron-helper.js.map +1 -0
  69. package/dist/cjs/plugins/electron/index.js +39 -0
  70. package/dist/cjs/plugins/electron/index.js.map +1 -0
  71. package/dist/cjs/plugins/electron/rx-storage-ipc-main.js +45 -0
  72. package/dist/cjs/plugins/electron/rx-storage-ipc-main.js.map +1 -0
  73. package/dist/cjs/plugins/electron/rx-storage-ipc-renderer.js +37 -0
  74. package/dist/cjs/plugins/electron/rx-storage-ipc-renderer.js.map +1 -0
  75. package/dist/cjs/plugins/encryption-crypto-js/index.js +165 -0
  76. package/dist/cjs/plugins/encryption-crypto-js/index.js.map +1 -0
  77. package/dist/cjs/plugins/flutter/index.js +62 -0
  78. package/dist/cjs/plugins/flutter/index.js.map +1 -0
  79. package/dist/cjs/plugins/json-dump/index.js +94 -0
  80. package/dist/cjs/plugins/json-dump/index.js.map +1 -0
  81. package/dist/cjs/plugins/key-compression/index.js +136 -0
  82. package/dist/cjs/plugins/key-compression/index.js.map +1 -0
  83. package/dist/cjs/plugins/leader-election/index.js +107 -0
  84. package/dist/cjs/plugins/leader-election/index.js.map +1 -0
  85. package/dist/cjs/plugins/local-documents/index.js +109 -0
  86. package/dist/cjs/plugins/local-documents/index.js.map +1 -0
  87. package/dist/cjs/plugins/local-documents/local-documents-helper.js +78 -0
  88. package/dist/cjs/plugins/local-documents/local-documents-helper.js.map +1 -0
  89. package/dist/cjs/plugins/local-documents/local-documents.js +107 -0
  90. package/dist/cjs/plugins/local-documents/local-documents.js.map +1 -0
  91. package/dist/cjs/plugins/local-documents/rx-local-document.js +257 -0
  92. package/dist/cjs/plugins/local-documents/rx-local-document.js.map +1 -0
  93. package/dist/cjs/plugins/migration-schema/index.js +84 -0
  94. package/dist/cjs/plugins/migration-schema/index.js.map +1 -0
  95. package/dist/cjs/plugins/migration-schema/migration-helpers.js +116 -0
  96. package/dist/cjs/plugins/migration-schema/migration-helpers.js.map +1 -0
  97. package/dist/cjs/plugins/migration-schema/migration-types.js +2 -0
  98. package/dist/cjs/plugins/migration-schema/migration-types.js.map +1 -0
  99. package/dist/cjs/plugins/migration-schema/rx-migration-state.js +410 -0
  100. package/dist/cjs/plugins/migration-schema/rx-migration-state.js.map +1 -0
  101. package/dist/cjs/plugins/migration-storage/index.js +173 -0
  102. package/dist/cjs/plugins/migration-storage/index.js.map +1 -0
  103. package/dist/cjs/plugins/pipeline/flagged-functions.js +129 -0
  104. package/dist/cjs/plugins/pipeline/flagged-functions.js.map +1 -0
  105. package/dist/cjs/plugins/pipeline/index.js +43 -0
  106. package/dist/cjs/plugins/pipeline/index.js.map +1 -0
  107. package/dist/cjs/plugins/pipeline/rx-pipeline.js +219 -0
  108. package/dist/cjs/plugins/pipeline/rx-pipeline.js.map +1 -0
  109. package/dist/cjs/plugins/pipeline/types.js +2 -0
  110. package/dist/cjs/plugins/pipeline/types.js.map +1 -0
  111. package/dist/cjs/plugins/query-builder/index.js +70 -0
  112. package/dist/cjs/plugins/query-builder/index.js.map +1 -0
  113. package/dist/cjs/plugins/query-builder/mquery/mquery-utils.js +40 -0
  114. package/dist/cjs/plugins/query-builder/mquery/mquery-utils.js.map +1 -0
  115. package/dist/cjs/plugins/query-builder/mquery/nosql-query-builder.js +488 -0
  116. package/dist/cjs/plugins/query-builder/mquery/nosql-query-builder.js.map +1 -0
  117. package/dist/cjs/plugins/react/database-context.js +15 -0
  118. package/dist/cjs/plugins/react/database-context.js.map +1 -0
  119. package/dist/cjs/plugins/react/database-provider.js +41 -0
  120. package/dist/cjs/plugins/react/database-provider.js.map +1 -0
  121. package/dist/cjs/plugins/react/hooks/index.js +50 -0
  122. package/dist/cjs/plugins/react/hooks/index.js.map +1 -0
  123. package/dist/cjs/plugins/react/hooks/use-live-rx-query.js +27 -0
  124. package/dist/cjs/plugins/react/hooks/use-live-rx-query.js.map +1 -0
  125. package/dist/cjs/plugins/react/hooks/use-rx-collection.js +39 -0
  126. package/dist/cjs/plugins/react/hooks/use-rx-collection.js.map +1 -0
  127. package/dist/cjs/plugins/react/hooks/use-rx-database.js +24 -0
  128. package/dist/cjs/plugins/react/hooks/use-rx-database.js.map +1 -0
  129. package/dist/cjs/plugins/react/hooks/use-rx-query.js +99 -0
  130. package/dist/cjs/plugins/react/hooks/use-rx-query.js.map +1 -0
  131. package/dist/cjs/plugins/react/index.js +28 -0
  132. package/dist/cjs/plugins/react/index.js.map +1 -0
  133. package/dist/cjs/plugins/reactivity-angular/index.js +30 -0
  134. package/dist/cjs/plugins/reactivity-angular/index.js.map +1 -0
  135. package/dist/cjs/plugins/reactivity-preact-signals/index.js +67 -0
  136. package/dist/cjs/plugins/reactivity-preact-signals/index.js.map +1 -0
  137. package/dist/cjs/plugins/reactivity-vue/index.js +32 -0
  138. package/dist/cjs/plugins/reactivity-vue/index.js.map +1 -0
  139. package/dist/cjs/plugins/replication/index.js +487 -0
  140. package/dist/cjs/plugins/replication/index.js.map +1 -0
  141. package/dist/cjs/plugins/replication/replication-helper.js +97 -0
  142. package/dist/cjs/plugins/replication/replication-helper.js.map +1 -0
  143. package/dist/cjs/plugins/replication-appwrite/appwrite-helpers.js +33 -0
  144. package/dist/cjs/plugins/replication-appwrite/appwrite-helpers.js.map +1 -0
  145. package/dist/cjs/plugins/replication-appwrite/appwrite-types.js +2 -0
  146. package/dist/cjs/plugins/replication-appwrite/appwrite-types.js.map +1 -0
  147. package/dist/cjs/plugins/replication-appwrite/index.js +176 -0
  148. package/dist/cjs/plugins/replication-appwrite/index.js.map +1 -0
  149. package/dist/cjs/plugins/replication-couchdb/couchdb-helper.js +77 -0
  150. package/dist/cjs/plugins/replication-couchdb/couchdb-helper.js.map +1 -0
  151. package/dist/cjs/plugins/replication-couchdb/couchdb-types.js +2 -0
  152. package/dist/cjs/plugins/replication-couchdb/couchdb-types.js.map +1 -0
  153. package/dist/cjs/plugins/replication-couchdb/index.js +287 -0
  154. package/dist/cjs/plugins/replication-couchdb/index.js.map +1 -0
  155. package/dist/cjs/plugins/replication-firestore/firestore-helper.js +61 -0
  156. package/dist/cjs/plugins/replication-firestore/firestore-helper.js.map +1 -0
  157. package/dist/cjs/plugins/replication-firestore/firestore-types.js +2 -0
  158. package/dist/cjs/plugins/replication-firestore/firestore-types.js.map +1 -0
  159. package/dist/cjs/plugins/replication-firestore/index.js +266 -0
  160. package/dist/cjs/plugins/replication-firestore/index.js.map +1 -0
  161. package/dist/cjs/plugins/replication-google-drive/document-handling.js +150 -0
  162. package/dist/cjs/plugins/replication-google-drive/document-handling.js.map +1 -0
  163. package/dist/cjs/plugins/replication-google-drive/downstream.js +73 -0
  164. package/dist/cjs/plugins/replication-google-drive/downstream.js.map +1 -0
  165. package/dist/cjs/plugins/replication-google-drive/google-drive-helper.js +349 -0
  166. package/dist/cjs/plugins/replication-google-drive/google-drive-helper.js.map +1 -0
  167. package/dist/cjs/plugins/replication-google-drive/google-drive-types.js +2 -0
  168. package/dist/cjs/plugins/replication-google-drive/google-drive-types.js.map +1 -0
  169. package/dist/cjs/plugins/replication-google-drive/index.js +233 -0
  170. package/dist/cjs/plugins/replication-google-drive/index.js.map +1 -0
  171. package/dist/cjs/plugins/replication-google-drive/init.js +76 -0
  172. package/dist/cjs/plugins/replication-google-drive/init.js.map +1 -0
  173. package/dist/cjs/plugins/replication-google-drive/multipart.js +74 -0
  174. package/dist/cjs/plugins/replication-google-drive/multipart.js.map +1 -0
  175. package/dist/cjs/plugins/replication-google-drive/signaling.js +262 -0
  176. package/dist/cjs/plugins/replication-google-drive/signaling.js.map +1 -0
  177. package/dist/cjs/plugins/replication-google-drive/transaction.js +134 -0
  178. package/dist/cjs/plugins/replication-google-drive/transaction.js.map +1 -0
  179. package/dist/cjs/plugins/replication-google-drive/upstream.js +182 -0
  180. package/dist/cjs/plugins/replication-google-drive/upstream.js.map +1 -0
  181. package/dist/cjs/plugins/replication-graphql/graphql-schema-from-rx-schema.js +235 -0
  182. package/dist/cjs/plugins/replication-graphql/graphql-schema-from-rx-schema.js.map +1 -0
  183. package/dist/cjs/plugins/replication-graphql/graphql-websocket.js +43 -0
  184. package/dist/cjs/plugins/replication-graphql/graphql-websocket.js.map +1 -0
  185. package/dist/cjs/plugins/replication-graphql/helper.js +29 -0
  186. package/dist/cjs/plugins/replication-graphql/helper.js.map +1 -0
  187. package/dist/cjs/plugins/replication-graphql/index.js +215 -0
  188. package/dist/cjs/plugins/replication-graphql/index.js.map +1 -0
  189. package/dist/cjs/plugins/replication-graphql/query-builder-from-rx-schema.js +141 -0
  190. package/dist/cjs/plugins/replication-graphql/query-builder-from-rx-schema.js.map +1 -0
  191. package/dist/cjs/plugins/replication-microsoft-onedrive/document-handling.js +187 -0
  192. package/dist/cjs/plugins/replication-microsoft-onedrive/document-handling.js.map +1 -0
  193. package/dist/cjs/plugins/replication-microsoft-onedrive/downstream.js +78 -0
  194. package/dist/cjs/plugins/replication-microsoft-onedrive/downstream.js.map +1 -0
  195. package/dist/cjs/plugins/replication-microsoft-onedrive/index.js +222 -0
  196. package/dist/cjs/plugins/replication-microsoft-onedrive/index.js.map +1 -0
  197. package/dist/cjs/plugins/replication-microsoft-onedrive/init.js +76 -0
  198. package/dist/cjs/plugins/replication-microsoft-onedrive/init.js.map +1 -0
  199. package/dist/cjs/plugins/replication-microsoft-onedrive/microsoft-onedrive-helper.js +273 -0
  200. package/dist/cjs/plugins/replication-microsoft-onedrive/microsoft-onedrive-helper.js.map +1 -0
  201. package/dist/cjs/plugins/replication-microsoft-onedrive/microsoft-onedrive-types.js +2 -0
  202. package/dist/cjs/plugins/replication-microsoft-onedrive/microsoft-onedrive-types.js.map +1 -0
  203. package/dist/cjs/plugins/replication-microsoft-onedrive/signaling.js +235 -0
  204. package/dist/cjs/plugins/replication-microsoft-onedrive/signaling.js.map +1 -0
  205. package/dist/cjs/plugins/replication-microsoft-onedrive/transaction.js +138 -0
  206. package/dist/cjs/plugins/replication-microsoft-onedrive/transaction.js.map +1 -0
  207. package/dist/cjs/plugins/replication-microsoft-onedrive/upstream.js +190 -0
  208. package/dist/cjs/plugins/replication-microsoft-onedrive/upstream.js.map +1 -0
  209. package/dist/cjs/plugins/replication-mongodb/index.js +229 -0
  210. package/dist/cjs/plugins/replication-mongodb/index.js.map +1 -0
  211. package/dist/cjs/plugins/replication-mongodb/mongodb-checkpoint.js +140 -0
  212. package/dist/cjs/plugins/replication-mongodb/mongodb-checkpoint.js.map +1 -0
  213. package/dist/cjs/plugins/replication-mongodb/mongodb-helper.js +53 -0
  214. package/dist/cjs/plugins/replication-mongodb/mongodb-helper.js.map +1 -0
  215. package/dist/cjs/plugins/replication-mongodb/mongodb-types.js +2 -0
  216. package/dist/cjs/plugins/replication-mongodb/mongodb-types.js.map +1 -0
  217. package/dist/cjs/plugins/replication-nats/index.js +232 -0
  218. package/dist/cjs/plugins/replication-nats/index.js.map +1 -0
  219. package/dist/cjs/plugins/replication-nats/nats-helper.js +13 -0
  220. package/dist/cjs/plugins/replication-nats/nats-helper.js.map +1 -0
  221. package/dist/cjs/plugins/replication-nats/nats-types.js +2 -0
  222. package/dist/cjs/plugins/replication-nats/nats-types.js.map +1 -0
  223. package/dist/cjs/plugins/replication-supabase/helper.js +42 -0
  224. package/dist/cjs/plugins/replication-supabase/helper.js.map +1 -0
  225. package/dist/cjs/plugins/replication-supabase/index.js +239 -0
  226. package/dist/cjs/plugins/replication-supabase/index.js.map +1 -0
  227. package/dist/cjs/plugins/replication-supabase/types.js +2 -0
  228. package/dist/cjs/plugins/replication-supabase/types.js.map +1 -0
  229. package/dist/cjs/plugins/replication-webrtc/connection-handler-p2pcf.js +79 -0
  230. package/dist/cjs/plugins/replication-webrtc/connection-handler-p2pcf.js.map +1 -0
  231. package/dist/cjs/plugins/replication-webrtc/connection-handler-simple-peer.js +199 -0
  232. package/dist/cjs/plugins/replication-webrtc/connection-handler-simple-peer.js.map +1 -0
  233. package/dist/cjs/plugins/replication-webrtc/connection-handler-webtorrent.js +137 -0
  234. package/dist/cjs/plugins/replication-webrtc/connection-handler-webtorrent.js.map +1 -0
  235. package/dist/cjs/plugins/replication-webrtc/index.js +260 -0
  236. package/dist/cjs/plugins/replication-webrtc/index.js.map +1 -0
  237. package/dist/cjs/plugins/replication-webrtc/signaling-server.js +151 -0
  238. package/dist/cjs/plugins/replication-webrtc/signaling-server.js.map +1 -0
  239. package/dist/cjs/plugins/replication-webrtc/webrtc-helper.js +32 -0
  240. package/dist/cjs/plugins/replication-webrtc/webrtc-helper.js.map +1 -0
  241. package/dist/cjs/plugins/replication-webrtc/webrtc-types.js +2 -0
  242. package/dist/cjs/plugins/replication-webrtc/webrtc-types.js.map +1 -0
  243. package/dist/cjs/plugins/replication-websocket/index.js +39 -0
  244. package/dist/cjs/plugins/replication-websocket/index.js.map +1 -0
  245. package/dist/cjs/plugins/replication-websocket/websocket-client.js +133 -0
  246. package/dist/cjs/plugins/replication-websocket/websocket-client.js.map +1 -0
  247. package/dist/cjs/plugins/replication-websocket/websocket-server.js +108 -0
  248. package/dist/cjs/plugins/replication-websocket/websocket-server.js.map +1 -0
  249. package/dist/cjs/plugins/replication-websocket/websocket-types.js +2 -0
  250. package/dist/cjs/plugins/replication-websocket/websocket-types.js.map +1 -0
  251. package/dist/cjs/plugins/state/helpers.js +81 -0
  252. package/dist/cjs/plugins/state/helpers.js.map +1 -0
  253. package/dist/cjs/plugins/state/index.js +42 -0
  254. package/dist/cjs/plugins/state/index.js.map +1 -0
  255. package/dist/cjs/plugins/state/rx-state.js +293 -0
  256. package/dist/cjs/plugins/state/rx-state.js.map +1 -0
  257. package/dist/cjs/plugins/state/types.js +2 -0
  258. package/dist/cjs/plugins/state/types.js.map +1 -0
  259. package/dist/cjs/plugins/storage-denokv/denokv-helper.js +49 -0
  260. package/dist/cjs/plugins/storage-denokv/denokv-helper.js.map +1 -0
  261. package/dist/cjs/plugins/storage-denokv/denokv-query.js +99 -0
  262. package/dist/cjs/plugins/storage-denokv/denokv-query.js.map +1 -0
  263. package/dist/cjs/plugins/storage-denokv/denokv-types.js +2 -0
  264. package/dist/cjs/plugins/storage-denokv/denokv-types.js.map +1 -0
  265. package/dist/cjs/plugins/storage-denokv/index.js +31 -0
  266. package/dist/cjs/plugins/storage-denokv/index.js.map +1 -0
  267. package/dist/cjs/plugins/storage-denokv/rx-storage-instance-denokv.js +332 -0
  268. package/dist/cjs/plugins/storage-denokv/rx-storage-instance-denokv.js.map +1 -0
  269. package/dist/cjs/plugins/storage-dexie/dexie-helper.js +259 -0
  270. package/dist/cjs/plugins/storage-dexie/dexie-helper.js.map +1 -0
  271. package/dist/cjs/plugins/storage-dexie/dexie-query.js +178 -0
  272. package/dist/cjs/plugins/storage-dexie/dexie-query.js.map +1 -0
  273. package/dist/cjs/plugins/storage-dexie/index.js +50 -0
  274. package/dist/cjs/plugins/storage-dexie/index.js.map +1 -0
  275. package/dist/cjs/plugins/storage-dexie/rx-storage-dexie.js +46 -0
  276. package/dist/cjs/plugins/storage-dexie/rx-storage-dexie.js.map +1 -0
  277. package/dist/cjs/plugins/storage-dexie/rx-storage-instance-dexie.js +229 -0
  278. package/dist/cjs/plugins/storage-dexie/rx-storage-instance-dexie.js.map +1 -0
  279. package/dist/cjs/plugins/storage-foundationdb/foundationdb-helpers.js +13 -0
  280. package/dist/cjs/plugins/storage-foundationdb/foundationdb-helpers.js.map +1 -0
  281. package/dist/cjs/plugins/storage-foundationdb/foundationdb-query.js +96 -0
  282. package/dist/cjs/plugins/storage-foundationdb/foundationdb-query.js.map +1 -0
  283. package/dist/cjs/plugins/storage-foundationdb/foundationdb-types.js +2 -0
  284. package/dist/cjs/plugins/storage-foundationdb/foundationdb-types.js.map +1 -0
  285. package/dist/cjs/plugins/storage-foundationdb/index.js +62 -0
  286. package/dist/cjs/plugins/storage-foundationdb/index.js.map +1 -0
  287. package/dist/cjs/plugins/storage-foundationdb/rx-storage-instance-foundationdb.js +309 -0
  288. package/dist/cjs/plugins/storage-foundationdb/rx-storage-instance-foundationdb.js.map +1 -0
  289. package/dist/cjs/plugins/storage-localstorage/index.js +45 -0
  290. package/dist/cjs/plugins/storage-localstorage/index.js.map +1 -0
  291. package/dist/cjs/plugins/storage-localstorage/localstorage-mock.js +38 -0
  292. package/dist/cjs/plugins/storage-localstorage/localstorage-mock.js.map +1 -0
  293. package/dist/cjs/plugins/storage-localstorage/rx-storage-instance-localstorage.js +443 -0
  294. package/dist/cjs/plugins/storage-localstorage/rx-storage-instance-localstorage.js.map +1 -0
  295. package/dist/cjs/plugins/storage-memory/binary-search-bounds.js +113 -0
  296. package/dist/cjs/plugins/storage-memory/binary-search-bounds.js.map +1 -0
  297. package/dist/cjs/plugins/storage-memory/index.js +91 -0
  298. package/dist/cjs/plugins/storage-memory/index.js.map +1 -0
  299. package/dist/cjs/plugins/storage-memory/memory-helper.js +177 -0
  300. package/dist/cjs/plugins/storage-memory/memory-helper.js.map +1 -0
  301. package/dist/cjs/plugins/storage-memory/memory-indexes.js +28 -0
  302. package/dist/cjs/plugins/storage-memory/memory-indexes.js.map +1 -0
  303. package/dist/cjs/plugins/storage-memory/memory-types.js +2 -0
  304. package/dist/cjs/plugins/storage-memory/memory-types.js.map +1 -0
  305. package/dist/cjs/plugins/storage-memory/rx-storage-instance-memory.js +371 -0
  306. package/dist/cjs/plugins/storage-memory/rx-storage-instance-memory.js.map +1 -0
  307. package/dist/cjs/plugins/storage-mongodb/index.js +50 -0
  308. package/dist/cjs/plugins/storage-mongodb/index.js.map +1 -0
  309. package/dist/cjs/plugins/storage-mongodb/mongodb-helper.js +97 -0
  310. package/dist/cjs/plugins/storage-mongodb/mongodb-helper.js.map +1 -0
  311. package/dist/cjs/plugins/storage-mongodb/mongodb-types.js +2 -0
  312. package/dist/cjs/plugins/storage-mongodb/mongodb-types.js.map +1 -0
  313. package/dist/cjs/plugins/storage-mongodb/rx-storage-instance-mongodb.js +324 -0
  314. package/dist/cjs/plugins/storage-mongodb/rx-storage-instance-mongodb.js.map +1 -0
  315. package/dist/cjs/plugins/storage-mongodb/rx-storage-mongodb.js +29 -0
  316. package/dist/cjs/plugins/storage-mongodb/rx-storage-mongodb.js.map +1 -0
  317. package/dist/cjs/plugins/storage-remote/index.js +61 -0
  318. package/dist/cjs/plugins/storage-remote/index.js.map +1 -0
  319. package/dist/cjs/plugins/storage-remote/message-channel-cache.js +52 -0
  320. package/dist/cjs/plugins/storage-remote/message-channel-cache.js.map +1 -0
  321. package/dist/cjs/plugins/storage-remote/remote.js +217 -0
  322. package/dist/cjs/plugins/storage-remote/remote.js.map +1 -0
  323. package/dist/cjs/plugins/storage-remote/rx-storage-remote.js +199 -0
  324. package/dist/cjs/plugins/storage-remote/rx-storage-remote.js.map +1 -0
  325. package/dist/cjs/plugins/storage-remote/storage-remote-helpers.js +25 -0
  326. package/dist/cjs/plugins/storage-remote/storage-remote-helpers.js.map +1 -0
  327. package/dist/cjs/plugins/storage-remote/storage-remote-types.js +2 -0
  328. package/dist/cjs/plugins/storage-remote/storage-remote-types.js.map +1 -0
  329. package/dist/cjs/plugins/storage-remote-websocket/index.js +183 -0
  330. package/dist/cjs/plugins/storage-remote-websocket/index.js.map +1 -0
  331. package/dist/cjs/plugins/storage-remote-websocket/types.js +2 -0
  332. package/dist/cjs/plugins/storage-remote-websocket/types.js.map +1 -0
  333. package/dist/cjs/plugins/storage-sqlite/index.js +84 -0
  334. package/dist/cjs/plugins/storage-sqlite/index.js.map +1 -0
  335. package/dist/cjs/plugins/storage-sqlite/sqlite-basics-helpers.js +530 -0
  336. package/dist/cjs/plugins/storage-sqlite/sqlite-basics-helpers.js.map +1 -0
  337. package/dist/cjs/plugins/storage-sqlite/sqlite-helpers.js +203 -0
  338. package/dist/cjs/plugins/storage-sqlite/sqlite-helpers.js.map +1 -0
  339. package/dist/cjs/plugins/storage-sqlite/sqlite-storage-instance.js +291 -0
  340. package/dist/cjs/plugins/storage-sqlite/sqlite-storage-instance.js.map +1 -0
  341. package/dist/cjs/plugins/storage-sqlite/sqlite-types.js +2 -0
  342. package/dist/cjs/plugins/storage-sqlite/sqlite-types.js.map +1 -0
  343. package/dist/cjs/plugins/test-utils/config.js +120 -0
  344. package/dist/cjs/plugins/test-utils/config.js.map +1 -0
  345. package/dist/cjs/plugins/test-utils/humans-collection.js +420 -0
  346. package/dist/cjs/plugins/test-utils/humans-collection.js.map +1 -0
  347. package/dist/cjs/plugins/test-utils/index.js +130 -0
  348. package/dist/cjs/plugins/test-utils/index.js.map +1 -0
  349. package/dist/cjs/plugins/test-utils/performance.js +275 -0
  350. package/dist/cjs/plugins/test-utils/performance.js.map +1 -0
  351. package/dist/cjs/plugins/test-utils/replication-base-test-suite.js +179 -0
  352. package/dist/cjs/plugins/test-utils/replication-base-test-suite.js.map +1 -0
  353. package/dist/cjs/plugins/test-utils/replication.js +54 -0
  354. package/dist/cjs/plugins/test-utils/replication.js.map +1 -0
  355. package/dist/cjs/plugins/test-utils/revisions.js +11 -0
  356. package/dist/cjs/plugins/test-utils/revisions.js.map +1 -0
  357. package/dist/cjs/plugins/test-utils/schema-objects.js +315 -0
  358. package/dist/cjs/plugins/test-utils/schema-objects.js.map +1 -0
  359. package/dist/cjs/plugins/test-utils/schemas.js +1254 -0
  360. package/dist/cjs/plugins/test-utils/schemas.js.map +1 -0
  361. package/dist/cjs/plugins/test-utils/test-util.js +72 -0
  362. package/dist/cjs/plugins/test-utils/test-util.js.map +1 -0
  363. package/dist/cjs/plugins/update/index.js +45 -0
  364. package/dist/cjs/plugins/update/index.js.map +1 -0
  365. package/dist/cjs/plugins/update/mingo-updater.js +20 -0
  366. package/dist/cjs/plugins/update/mingo-updater.js.map +1 -0
  367. package/dist/cjs/plugins/utils/index.js +226 -0
  368. package/dist/cjs/plugins/utils/index.js.map +1 -0
  369. package/dist/cjs/plugins/utils/utils-array.js +150 -0
  370. package/dist/cjs/plugins/utils/utils-array.js.map +1 -0
  371. package/dist/cjs/plugins/utils/utils-base64.js +57 -0
  372. package/dist/cjs/plugins/utils/utils-base64.js.map +1 -0
  373. package/dist/cjs/plugins/utils/utils-blob.js +62 -0
  374. package/dist/cjs/plugins/utils/utils-blob.js.map +1 -0
  375. package/dist/cjs/plugins/utils/utils-document.js +100 -0
  376. package/dist/cjs/plugins/utils/utils-document.js.map +1 -0
  377. package/dist/cjs/plugins/utils/utils-error.js +42 -0
  378. package/dist/cjs/plugins/utils/utils-error.js.map +1 -0
  379. package/dist/cjs/plugins/utils/utils-global.js +12 -0
  380. package/dist/cjs/plugins/utils/utils-global.js.map +1 -0
  381. package/dist/cjs/plugins/utils/utils-hash.js +59 -0
  382. package/dist/cjs/plugins/utils/utils-hash.js.map +1 -0
  383. package/dist/cjs/plugins/utils/utils-map.js +25 -0
  384. package/dist/cjs/plugins/utils/utils-map.js.map +1 -0
  385. package/dist/cjs/plugins/utils/utils-number.js +16 -0
  386. package/dist/cjs/plugins/utils/utils-number.js.map +1 -0
  387. package/dist/cjs/plugins/utils/utils-object-deep-equal.js +42 -0
  388. package/dist/cjs/plugins/utils/utils-object-deep-equal.js.map +1 -0
  389. package/dist/cjs/plugins/utils/utils-object-dot-prop.js +306 -0
  390. package/dist/cjs/plugins/utils/utils-object-dot-prop.js.map +1 -0
  391. package/dist/cjs/plugins/utils/utils-object.js +245 -0
  392. package/dist/cjs/plugins/utils/utils-object.js.map +1 -0
  393. package/dist/cjs/plugins/utils/utils-other.js +69 -0
  394. package/dist/cjs/plugins/utils/utils-other.js.map +1 -0
  395. package/dist/cjs/plugins/utils/utils-premium.js +37 -0
  396. package/dist/cjs/plugins/utils/utils-premium.js.map +1 -0
  397. package/dist/cjs/plugins/utils/utils-promise.js +149 -0
  398. package/dist/cjs/plugins/utils/utils-promise.js.map +1 -0
  399. package/dist/cjs/plugins/utils/utils-regex.js +9 -0
  400. package/dist/cjs/plugins/utils/utils-regex.js.map +1 -0
  401. package/dist/cjs/plugins/utils/utils-revision.js +60 -0
  402. package/dist/cjs/plugins/utils/utils-revision.js.map +1 -0
  403. package/dist/cjs/plugins/utils/utils-rxdb-version.js +11 -0
  404. package/dist/cjs/plugins/utils/utils-rxdb-version.js.map +1 -0
  405. package/dist/cjs/plugins/utils/utils-rxdb-version.template.js +11 -0
  406. package/dist/cjs/plugins/utils/utils-rxdb-version.template.js.map +1 -0
  407. package/dist/cjs/plugins/utils/utils-string.js +97 -0
  408. package/dist/cjs/plugins/utils/utils-string.js.map +1 -0
  409. package/dist/cjs/plugins/utils/utils-time.js +42 -0
  410. package/dist/cjs/plugins/utils/utils-time.js.map +1 -0
  411. package/dist/cjs/plugins/validate-ajv/index.js +53 -0
  412. package/dist/cjs/plugins/validate-ajv/index.js.map +1 -0
  413. package/dist/cjs/plugins/validate-is-my-json-valid/index.js +29 -0
  414. package/dist/cjs/plugins/validate-is-my-json-valid/index.js.map +1 -0
  415. package/dist/cjs/plugins/validate-z-schema/index.js +58 -0
  416. package/dist/cjs/plugins/validate-z-schema/index.js.map +1 -0
  417. package/dist/cjs/plugins/vector/helper.js +2 -0
  418. package/dist/cjs/plugins/vector/helper.js.map +1 -0
  419. package/dist/cjs/plugins/vector/index.js +17 -0
  420. package/dist/cjs/plugins/vector/index.js.map +1 -0
  421. package/dist/cjs/plugins/vector/types.js +2 -0
  422. package/dist/cjs/plugins/vector/types.js.map +1 -0
  423. package/dist/cjs/plugins/vector/vector-distance.js +38 -0
  424. package/dist/cjs/plugins/vector/vector-distance.js.map +1 -0
  425. package/dist/cjs/plugins/webmcp/index.js +28 -0
  426. package/dist/cjs/plugins/webmcp/index.js.map +1 -0
  427. package/dist/cjs/plugins/webmcp/nosql-query-schema.js +360 -0
  428. package/dist/cjs/plugins/webmcp/nosql-query-schema.js.map +1 -0
  429. package/dist/cjs/plugins/webmcp/webmcp.js +315 -0
  430. package/dist/cjs/plugins/webmcp/webmcp.js.map +1 -0
  431. package/dist/cjs/query-cache.js +110 -0
  432. package/dist/cjs/query-cache.js.map +1 -0
  433. package/dist/cjs/query-planner.js +307 -0
  434. package/dist/cjs/query-planner.js.map +1 -0
  435. package/dist/cjs/replication-protocol/checkpoint.js +103 -0
  436. package/dist/cjs/replication-protocol/checkpoint.js.map +1 -0
  437. package/dist/cjs/replication-protocol/conflicts.js +36 -0
  438. package/dist/cjs/replication-protocol/conflicts.js.map +1 -0
  439. package/dist/cjs/replication-protocol/default-conflict-handler.js +39 -0
  440. package/dist/cjs/replication-protocol/default-conflict-handler.js.map +1 -0
  441. package/dist/cjs/replication-protocol/downstream.js +339 -0
  442. package/dist/cjs/replication-protocol/downstream.js.map +1 -0
  443. package/dist/cjs/replication-protocol/helper.js +58 -0
  444. package/dist/cjs/replication-protocol/helper.js.map +1 -0
  445. package/dist/cjs/replication-protocol/index.js +314 -0
  446. package/dist/cjs/replication-protocol/index.js.map +1 -0
  447. package/dist/cjs/replication-protocol/meta-instance.js +130 -0
  448. package/dist/cjs/replication-protocol/meta-instance.js.map +1 -0
  449. package/dist/cjs/replication-protocol/upstream.js +384 -0
  450. package/dist/cjs/replication-protocol/upstream.js.map +1 -0
  451. package/dist/cjs/rx-change-event.js +112 -0
  452. package/dist/cjs/rx-change-event.js.map +1 -0
  453. package/dist/cjs/rx-collection-helper.js +205 -0
  454. package/dist/cjs/rx-collection-helper.js.map +1 -0
  455. package/dist/cjs/rx-collection.js +931 -0
  456. package/dist/cjs/rx-collection.js.map +1 -0
  457. package/dist/cjs/rx-database-internal-store.js +283 -0
  458. package/dist/cjs/rx-database-internal-store.js.map +1 -0
  459. package/dist/cjs/rx-database.js +682 -0
  460. package/dist/cjs/rx-database.js.map +1 -0
  461. package/dist/cjs/rx-document-prototype-merge.js +87 -0
  462. package/dist/cjs/rx-document-prototype-merge.js.map +1 -0
  463. package/dist/cjs/rx-document.js +404 -0
  464. package/dist/cjs/rx-document.js.map +1 -0
  465. package/dist/cjs/rx-error.js +167 -0
  466. package/dist/cjs/rx-error.js.map +1 -0
  467. package/dist/cjs/rx-query-helper.js +277 -0
  468. package/dist/cjs/rx-query-helper.js.map +1 -0
  469. package/dist/cjs/rx-query-mingo.js +60 -0
  470. package/dist/cjs/rx-query-mingo.js.map +1 -0
  471. package/dist/cjs/rx-query-single-result.js +105 -0
  472. package/dist/cjs/rx-query-single-result.js.map +1 -0
  473. package/dist/cjs/rx-query.js +703 -0
  474. package/dist/cjs/rx-query.js.map +1 -0
  475. package/dist/cjs/rx-schema-helper.js +333 -0
  476. package/dist/cjs/rx-schema-helper.js.map +1 -0
  477. package/dist/cjs/rx-schema.js +189 -0
  478. package/dist/cjs/rx-schema.js.map +1 -0
  479. package/dist/cjs/rx-storage-helper.js +808 -0
  480. package/dist/cjs/rx-storage-helper.js.map +1 -0
  481. package/dist/cjs/rx-storage-multiinstance.js +121 -0
  482. package/dist/cjs/rx-storage-multiinstance.js.map +1 -0
  483. package/dist/cjs/types/conflict-handling.d.js +2 -0
  484. package/dist/cjs/types/conflict-handling.d.js.map +1 -0
  485. package/dist/cjs/types/couchdb.d.js +2 -0
  486. package/dist/cjs/types/couchdb.d.js.map +1 -0
  487. package/dist/cjs/types/index.d.js +2 -0
  488. package/dist/cjs/types/index.d.js.map +1 -0
  489. package/dist/cjs/types/modules/index.d.js +2 -0
  490. package/dist/cjs/types/modules/index.d.js.map +1 -0
  491. package/dist/cjs/types/modules/mocha.parallel.d.js +2 -0
  492. package/dist/cjs/types/modules/mocha.parallel.d.js.map +1 -0
  493. package/dist/cjs/types/plugins/backup.d.js +2 -0
  494. package/dist/cjs/types/plugins/backup.d.js.map +1 -0
  495. package/dist/cjs/types/plugins/cleanup.d.js +2 -0
  496. package/dist/cjs/types/plugins/cleanup.d.js.map +1 -0
  497. package/dist/cjs/types/plugins/crdt.d.js +2 -0
  498. package/dist/cjs/types/plugins/crdt.d.js.map +1 -0
  499. package/dist/cjs/types/plugins/dexie.d.js +2 -0
  500. package/dist/cjs/types/plugins/dexie.d.js.map +1 -0
  501. package/dist/cjs/types/plugins/local-documents.d.js +2 -0
  502. package/dist/cjs/types/plugins/local-documents.d.js.map +1 -0
  503. package/dist/cjs/types/plugins/migration.d.js +2 -0
  504. package/dist/cjs/types/plugins/migration.d.js.map +1 -0
  505. package/dist/cjs/types/plugins/reactivity.d.js +2 -0
  506. package/dist/cjs/types/plugins/reactivity.d.js.map +1 -0
  507. package/dist/cjs/types/plugins/replication-graphql.d.js +2 -0
  508. package/dist/cjs/types/plugins/replication-graphql.d.js.map +1 -0
  509. package/dist/cjs/types/plugins/replication.d.js +2 -0
  510. package/dist/cjs/types/plugins/replication.d.js.map +1 -0
  511. package/dist/cjs/types/plugins/state.d.js +2 -0
  512. package/dist/cjs/types/plugins/state.d.js.map +1 -0
  513. package/dist/cjs/types/plugins/update.d.js +2 -0
  514. package/dist/cjs/types/plugins/update.d.js.map +1 -0
  515. package/dist/cjs/types/plugins/webmcp.d.js +2 -0
  516. package/dist/cjs/types/plugins/webmcp.d.js.map +1 -0
  517. package/dist/cjs/types/query-planner.d.js +2 -0
  518. package/dist/cjs/types/query-planner.d.js.map +1 -0
  519. package/dist/cjs/types/replication-protocol.d.js +2 -0
  520. package/dist/cjs/types/replication-protocol.d.js.map +1 -0
  521. package/dist/cjs/types/rx-attachment.d.js +2 -0
  522. package/dist/cjs/types/rx-attachment.d.js.map +1 -0
  523. package/dist/cjs/types/rx-change-event.d.js +2 -0
  524. package/dist/cjs/types/rx-change-event.d.js.map +1 -0
  525. package/dist/cjs/types/rx-collection.d.js +2 -0
  526. package/dist/cjs/types/rx-collection.d.js.map +1 -0
  527. package/dist/cjs/types/rx-database-internal-store.d.js +2 -0
  528. package/dist/cjs/types/rx-database-internal-store.d.js.map +1 -0
  529. package/dist/cjs/types/rx-database.d.js +2 -0
  530. package/dist/cjs/types/rx-database.d.js.map +1 -0
  531. package/dist/cjs/types/rx-document.d.js +2 -0
  532. package/dist/cjs/types/rx-document.d.js.map +1 -0
  533. package/dist/cjs/types/rx-error.d.js +2 -0
  534. package/dist/cjs/types/rx-error.d.js.map +1 -0
  535. package/dist/cjs/types/rx-plugin.d.js +2 -0
  536. package/dist/cjs/types/rx-plugin.d.js.map +1 -0
  537. package/dist/cjs/types/rx-query.d.js +2 -0
  538. package/dist/cjs/types/rx-query.d.js.map +1 -0
  539. package/dist/cjs/types/rx-schema.d.js +2 -0
  540. package/dist/cjs/types/rx-schema.d.js.map +1 -0
  541. package/dist/cjs/types/rx-storage.d.js +2 -0
  542. package/dist/cjs/types/rx-storage.d.js.map +1 -0
  543. package/dist/cjs/types/rx-storage.interface.d.js +2 -0
  544. package/dist/cjs/types/rx-storage.interface.d.js.map +1 -0
  545. package/dist/cjs/types/util.d.js +2 -0
  546. package/dist/cjs/types/util.d.js.map +1 -0
  547. package/dist/esm/change-event-buffer.js +141 -0
  548. package/dist/esm/change-event-buffer.js.map +1 -0
  549. package/dist/esm/custom-index.js +271 -0
  550. package/dist/esm/custom-index.js.map +1 -0
  551. package/dist/esm/doc-cache.js +227 -0
  552. package/dist/esm/doc-cache.js.map +1 -0
  553. package/dist/esm/event-reduce.js +93 -0
  554. package/dist/esm/event-reduce.js.map +1 -0
  555. package/dist/esm/hooks.js +122 -0
  556. package/dist/esm/hooks.js.map +1 -0
  557. package/dist/esm/incremental-write.js +161 -0
  558. package/dist/esm/incremental-write.js.map +1 -0
  559. package/dist/esm/index.js +30 -0
  560. package/dist/esm/index.js.map +1 -0
  561. package/dist/esm/overwritable.js +33 -0
  562. package/dist/esm/overwritable.js.map +1 -0
  563. package/dist/esm/package.json +1 -0
  564. package/dist/esm/plugin-helpers.js +217 -0
  565. package/dist/esm/plugin-helpers.js.map +1 -0
  566. package/dist/esm/plugin.js +88 -0
  567. package/dist/esm/plugin.js.map +1 -0
  568. package/dist/esm/plugins/attachments/attachments-utils.js +41 -0
  569. package/dist/esm/plugins/attachments/attachments-utils.js.map +1 -0
  570. package/dist/esm/plugins/attachments/index.js +202 -0
  571. package/dist/esm/plugins/attachments/index.js.map +1 -0
  572. package/dist/esm/plugins/attachments-compression/index.js +134 -0
  573. package/dist/esm/plugins/attachments-compression/index.js.map +1 -0
  574. package/dist/esm/plugins/backup/file-util.js +87 -0
  575. package/dist/esm/plugins/backup/file-util.js.map +1 -0
  576. package/dist/esm/plugins/backup/index.js +183 -0
  577. package/dist/esm/plugins/backup/index.js.map +1 -0
  578. package/dist/esm/plugins/cleanup/cleanup-helper.js +11 -0
  579. package/dist/esm/plugins/cleanup/cleanup-helper.js.map +1 -0
  580. package/dist/esm/plugins/cleanup/cleanup-state.js +75 -0
  581. package/dist/esm/plugins/cleanup/cleanup-state.js.map +1 -0
  582. package/dist/esm/plugins/cleanup/cleanup.js +108 -0
  583. package/dist/esm/plugins/cleanup/cleanup.js.map +1 -0
  584. package/dist/esm/plugins/cleanup/index.js +35 -0
  585. package/dist/esm/plugins/cleanup/index.js.map +1 -0
  586. package/dist/esm/plugins/crdt/index.js +378 -0
  587. package/dist/esm/plugins/crdt/index.js.map +1 -0
  588. package/dist/esm/plugins/dev-mode/check-document.js +150 -0
  589. package/dist/esm/plugins/dev-mode/check-document.js.map +1 -0
  590. package/dist/esm/plugins/dev-mode/check-migration-strategies.js +38 -0
  591. package/dist/esm/plugins/dev-mode/check-migration-strategies.js.map +1 -0
  592. package/dist/esm/plugins/dev-mode/check-orm.js +47 -0
  593. package/dist/esm/plugins/dev-mode/check-orm.js.map +1 -0
  594. package/dist/esm/plugins/dev-mode/check-query.js +174 -0
  595. package/dist/esm/plugins/dev-mode/check-query.js.map +1 -0
  596. package/dist/esm/plugins/dev-mode/check-schema.js +478 -0
  597. package/dist/esm/plugins/dev-mode/check-schema.js.map +1 -0
  598. package/dist/esm/plugins/dev-mode/dev-mode-tracking.js +87 -0
  599. package/dist/esm/plugins/dev-mode/dev-mode-tracking.js.map +1 -0
  600. package/dist/esm/plugins/dev-mode/entity-properties.js +49 -0
  601. package/dist/esm/plugins/dev-mode/entity-properties.js.map +1 -0
  602. package/dist/esm/plugins/dev-mode/error-messages.js +1289 -0
  603. package/dist/esm/plugins/dev-mode/error-messages.js.map +1 -0
  604. package/dist/esm/plugins/dev-mode/index.js +151 -0
  605. package/dist/esm/plugins/dev-mode/index.js.map +1 -0
  606. package/dist/esm/plugins/dev-mode/unallowed-properties.js +81 -0
  607. package/dist/esm/plugins/dev-mode/unallowed-properties.js.map +1 -0
  608. package/dist/esm/plugins/electron/electron-helper.js +3 -0
  609. package/dist/esm/plugins/electron/electron-helper.js.map +1 -0
  610. package/dist/esm/plugins/electron/index.js +4 -0
  611. package/dist/esm/plugins/electron/index.js.map +1 -0
  612. package/dist/esm/plugins/electron/rx-storage-ipc-main.js +39 -0
  613. package/dist/esm/plugins/electron/rx-storage-ipc-main.js.map +1 -0
  614. package/dist/esm/plugins/electron/rx-storage-ipc-renderer.js +31 -0
  615. package/dist/esm/plugins/electron/rx-storage-ipc-renderer.js.map +1 -0
  616. package/dist/esm/plugins/encryption-crypto-js/index.js +154 -0
  617. package/dist/esm/plugins/encryption-crypto-js/index.js.map +1 -0
  618. package/dist/esm/plugins/flutter/index.js +55 -0
  619. package/dist/esm/plugins/flutter/index.js.map +1 -0
  620. package/dist/esm/plugins/json-dump/index.js +87 -0
  621. package/dist/esm/plugins/json-dump/index.js.map +1 -0
  622. package/dist/esm/plugins/key-compression/index.js +127 -0
  623. package/dist/esm/plugins/key-compression/index.js.map +1 -0
  624. package/dist/esm/plugins/leader-election/index.js +95 -0
  625. package/dist/esm/plugins/leader-election/index.js.map +1 -0
  626. package/dist/esm/plugins/local-documents/index.js +70 -0
  627. package/dist/esm/plugins/local-documents/index.js.map +1 -0
  628. package/dist/esm/plugins/local-documents/local-documents-helper.js +67 -0
  629. package/dist/esm/plugins/local-documents/local-documents-helper.js.map +1 -0
  630. package/dist/esm/plugins/local-documents/local-documents.js +99 -0
  631. package/dist/esm/plugins/local-documents/local-documents.js.map +1 -0
  632. package/dist/esm/plugins/local-documents/rx-local-document.js +248 -0
  633. package/dist/esm/plugins/local-documents/rx-local-document.js.map +1 -0
  634. package/dist/esm/plugins/migration-schema/index.js +42 -0
  635. package/dist/esm/plugins/migration-schema/index.js.map +1 -0
  636. package/dist/esm/plugins/migration-schema/migration-helpers.js +103 -0
  637. package/dist/esm/plugins/migration-schema/migration-helpers.js.map +1 -0
  638. package/dist/esm/plugins/migration-schema/migration-types.js +3 -0
  639. package/dist/esm/plugins/migration-schema/migration-types.js.map +1 -0
  640. package/dist/esm/plugins/migration-schema/rx-migration-state.js +404 -0
  641. package/dist/esm/plugins/migration-schema/rx-migration-state.js.map +1 -0
  642. package/dist/esm/plugins/migration-storage/index.js +166 -0
  643. package/dist/esm/plugins/migration-storage/index.js.map +1 -0
  644. package/dist/esm/plugins/pipeline/flagged-functions.js +122 -0
  645. package/dist/esm/plugins/pipeline/flagged-functions.js.map +1 -0
  646. package/dist/esm/plugins/pipeline/index.js +13 -0
  647. package/dist/esm/plugins/pipeline/index.js.map +1 -0
  648. package/dist/esm/plugins/pipeline/rx-pipeline.js +210 -0
  649. package/dist/esm/plugins/pipeline/rx-pipeline.js.map +1 -0
  650. package/dist/esm/plugins/pipeline/types.js +3 -0
  651. package/dist/esm/plugins/pipeline/types.js.map +1 -0
  652. package/dist/esm/plugins/query-builder/index.js +48 -0
  653. package/dist/esm/plugins/query-builder/index.js.map +1 -0
  654. package/dist/esm/plugins/query-builder/mquery/mquery-utils.js +33 -0
  655. package/dist/esm/plugins/query-builder/mquery/mquery-utils.js.map +1 -0
  656. package/dist/esm/plugins/query-builder/mquery/nosql-query-builder.js +478 -0
  657. package/dist/esm/plugins/query-builder/mquery/nosql-query-builder.js.map +1 -0
  658. package/dist/esm/plugins/react/database-context.js +8 -0
  659. package/dist/esm/plugins/react/database-context.js.map +1 -0
  660. package/dist/esm/plugins/react/database-provider.js +34 -0
  661. package/dist/esm/plugins/react/database-provider.js.map +1 -0
  662. package/dist/esm/plugins/react/hooks/index.js +5 -0
  663. package/dist/esm/plugins/react/hooks/index.js.map +1 -0
  664. package/dist/esm/plugins/react/hooks/use-live-rx-query.js +22 -0
  665. package/dist/esm/plugins/react/hooks/use-live-rx-query.js.map +1 -0
  666. package/dist/esm/plugins/react/hooks/use-rx-collection.js +34 -0
  667. package/dist/esm/plugins/react/hooks/use-rx-collection.js.map +1 -0
  668. package/dist/esm/plugins/react/hooks/use-rx-database.js +19 -0
  669. package/dist/esm/plugins/react/hooks/use-rx-database.js.map +1 -0
  670. package/dist/esm/plugins/react/hooks/use-rx-query.js +92 -0
  671. package/dist/esm/plugins/react/hooks/use-rx-query.js.map +1 -0
  672. package/dist/esm/plugins/react/index.js +3 -0
  673. package/dist/esm/plugins/react/index.js.map +1 -0
  674. package/dist/esm/plugins/reactivity-angular/index.js +25 -0
  675. package/dist/esm/plugins/reactivity-angular/index.js.map +1 -0
  676. package/dist/esm/plugins/reactivity-preact-signals/index.js +62 -0
  677. package/dist/esm/plugins/reactivity-preact-signals/index.js.map +1 -0
  678. package/dist/esm/plugins/reactivity-vue/index.js +27 -0
  679. package/dist/esm/plugins/reactivity-vue/index.js.map +1 -0
  680. package/dist/esm/plugins/replication/index.js +479 -0
  681. package/dist/esm/plugins/replication/index.js.map +1 -0
  682. package/dist/esm/plugins/replication/replication-helper.js +86 -0
  683. package/dist/esm/plugins/replication/replication-helper.js.map +1 -0
  684. package/dist/esm/plugins/replication-appwrite/appwrite-helpers.js +26 -0
  685. package/dist/esm/plugins/replication-appwrite/appwrite-helpers.js.map +1 -0
  686. package/dist/esm/plugins/replication-appwrite/appwrite-types.js +3 -0
  687. package/dist/esm/plugins/replication-appwrite/appwrite-types.js.map +1 -0
  688. package/dist/esm/plugins/replication-appwrite/index.js +168 -0
  689. package/dist/esm/plugins/replication-appwrite/index.js.map +1 -0
  690. package/dist/esm/plugins/replication-couchdb/couchdb-helper.js +65 -0
  691. package/dist/esm/plugins/replication-couchdb/couchdb-helper.js.map +1 -0
  692. package/dist/esm/plugins/replication-couchdb/couchdb-types.js +3 -0
  693. package/dist/esm/plugins/replication-couchdb/couchdb-types.js.map +1 -0
  694. package/dist/esm/plugins/replication-couchdb/index.js +254 -0
  695. package/dist/esm/plugins/replication-couchdb/index.js.map +1 -0
  696. package/dist/esm/plugins/replication-firestore/firestore-helper.js +49 -0
  697. package/dist/esm/plugins/replication-firestore/firestore-helper.js.map +1 -0
  698. package/dist/esm/plugins/replication-firestore/firestore-types.js +3 -0
  699. package/dist/esm/plugins/replication-firestore/firestore-types.js.map +1 -0
  700. package/dist/esm/plugins/replication-firestore/index.js +233 -0
  701. package/dist/esm/plugins/replication-firestore/index.js.map +1 -0
  702. package/dist/esm/plugins/replication-google-drive/document-handling.js +140 -0
  703. package/dist/esm/plugins/replication-google-drive/document-handling.js.map +1 -0
  704. package/dist/esm/plugins/replication-google-drive/downstream.js +66 -0
  705. package/dist/esm/plugins/replication-google-drive/downstream.js.map +1 -0
  706. package/dist/esm/plugins/replication-google-drive/google-drive-helper.js +331 -0
  707. package/dist/esm/plugins/replication-google-drive/google-drive-helper.js.map +1 -0
  708. package/dist/esm/plugins/replication-google-drive/google-drive-types.js +3 -0
  709. package/dist/esm/plugins/replication-google-drive/google-drive-types.js.map +1 -0
  710. package/dist/esm/plugins/replication-google-drive/index.js +126 -0
  711. package/dist/esm/plugins/replication-google-drive/index.js.map +1 -0
  712. package/dist/esm/plugins/replication-google-drive/init.js +70 -0
  713. package/dist/esm/plugins/replication-google-drive/init.js.map +1 -0
  714. package/dist/esm/plugins/replication-google-drive/multipart.js +67 -0
  715. package/dist/esm/plugins/replication-google-drive/multipart.js.map +1 -0
  716. package/dist/esm/plugins/replication-google-drive/signaling.js +253 -0
  717. package/dist/esm/plugins/replication-google-drive/signaling.js.map +1 -0
  718. package/dist/esm/plugins/replication-google-drive/transaction.js +123 -0
  719. package/dist/esm/plugins/replication-google-drive/transaction.js.map +1 -0
  720. package/dist/esm/plugins/replication-google-drive/upstream.js +171 -0
  721. package/dist/esm/plugins/replication-google-drive/upstream.js.map +1 -0
  722. package/dist/esm/plugins/replication-graphql/graphql-schema-from-rx-schema.js +228 -0
  723. package/dist/esm/plugins/replication-graphql/graphql-schema-from-rx-schema.js.map +1 -0
  724. package/dist/esm/plugins/replication-graphql/graphql-websocket.js +35 -0
  725. package/dist/esm/plugins/replication-graphql/graphql-websocket.js.map +1 -0
  726. package/dist/esm/plugins/replication-graphql/helper.js +21 -0
  727. package/dist/esm/plugins/replication-graphql/helper.js.map +1 -0
  728. package/dist/esm/plugins/replication-graphql/index.js +161 -0
  729. package/dist/esm/plugins/replication-graphql/index.js.map +1 -0
  730. package/dist/esm/plugins/replication-graphql/query-builder-from-rx-schema.js +133 -0
  731. package/dist/esm/plugins/replication-graphql/query-builder-from-rx-schema.js.map +1 -0
  732. package/dist/esm/plugins/replication-microsoft-onedrive/document-handling.js +178 -0
  733. package/dist/esm/plugins/replication-microsoft-onedrive/document-handling.js.map +1 -0
  734. package/dist/esm/plugins/replication-microsoft-onedrive/downstream.js +71 -0
  735. package/dist/esm/plugins/replication-microsoft-onedrive/downstream.js.map +1 -0
  736. package/dist/esm/plugins/replication-microsoft-onedrive/index.js +126 -0
  737. package/dist/esm/plugins/replication-microsoft-onedrive/index.js.map +1 -0
  738. package/dist/esm/plugins/replication-microsoft-onedrive/init.js +70 -0
  739. package/dist/esm/plugins/replication-microsoft-onedrive/init.js.map +1 -0
  740. package/dist/esm/plugins/replication-microsoft-onedrive/microsoft-onedrive-helper.js +258 -0
  741. package/dist/esm/plugins/replication-microsoft-onedrive/microsoft-onedrive-helper.js.map +1 -0
  742. package/dist/esm/plugins/replication-microsoft-onedrive/microsoft-onedrive-types.js +3 -0
  743. package/dist/esm/plugins/replication-microsoft-onedrive/microsoft-onedrive-types.js.map +1 -0
  744. package/dist/esm/plugins/replication-microsoft-onedrive/signaling.js +226 -0
  745. package/dist/esm/plugins/replication-microsoft-onedrive/signaling.js.map +1 -0
  746. package/dist/esm/plugins/replication-microsoft-onedrive/transaction.js +127 -0
  747. package/dist/esm/plugins/replication-microsoft-onedrive/transaction.js.map +1 -0
  748. package/dist/esm/plugins/replication-microsoft-onedrive/upstream.js +179 -0
  749. package/dist/esm/plugins/replication-microsoft-onedrive/upstream.js.map +1 -0
  750. package/dist/esm/plugins/replication-mongodb/index.js +197 -0
  751. package/dist/esm/plugins/replication-mongodb/index.js.map +1 -0
  752. package/dist/esm/plugins/replication-mongodb/mongodb-checkpoint.js +131 -0
  753. package/dist/esm/plugins/replication-mongodb/mongodb-checkpoint.js.map +1 -0
  754. package/dist/esm/plugins/replication-mongodb/mongodb-helper.js +45 -0
  755. package/dist/esm/plugins/replication-mongodb/mongodb-helper.js.map +1 -0
  756. package/dist/esm/plugins/replication-mongodb/mongodb-types.js +3 -0
  757. package/dist/esm/plugins/replication-mongodb/mongodb-types.js.map +1 -0
  758. package/dist/esm/plugins/replication-nats/index.js +199 -0
  759. package/dist/esm/plugins/replication-nats/index.js.map +1 -0
  760. package/dist/esm/plugins/replication-nats/nats-helper.js +7 -0
  761. package/dist/esm/plugins/replication-nats/nats-helper.js.map +1 -0
  762. package/dist/esm/plugins/replication-nats/nats-types.js +3 -0
  763. package/dist/esm/plugins/replication-nats/nats-types.js.map +1 -0
  764. package/dist/esm/plugins/replication-supabase/helper.js +35 -0
  765. package/dist/esm/plugins/replication-supabase/helper.js.map +1 -0
  766. package/dist/esm/plugins/replication-supabase/index.js +231 -0
  767. package/dist/esm/plugins/replication-supabase/index.js.map +1 -0
  768. package/dist/esm/plugins/replication-supabase/types.js +3 -0
  769. package/dist/esm/plugins/replication-supabase/types.js.map +1 -0
  770. package/dist/esm/plugins/replication-webrtc/connection-handler-p2pcf.js +78 -0
  771. package/dist/esm/plugins/replication-webrtc/connection-handler-p2pcf.js.map +1 -0
  772. package/dist/esm/plugins/replication-webrtc/connection-handler-simple-peer.js +192 -0
  773. package/dist/esm/plugins/replication-webrtc/connection-handler-simple-peer.js.map +1 -0
  774. package/dist/esm/plugins/replication-webrtc/connection-handler-webtorrent.js +136 -0
  775. package/dist/esm/plugins/replication-webrtc/connection-handler-webtorrent.js.map +1 -0
  776. package/dist/esm/plugins/replication-webrtc/index.js +207 -0
  777. package/dist/esm/plugins/replication-webrtc/index.js.map +1 -0
  778. package/dist/esm/plugins/replication-webrtc/signaling-server.js +144 -0
  779. package/dist/esm/plugins/replication-webrtc/signaling-server.js.map +1 -0
  780. package/dist/esm/plugins/replication-webrtc/webrtc-helper.js +26 -0
  781. package/dist/esm/plugins/replication-webrtc/webrtc-helper.js.map +1 -0
  782. package/dist/esm/plugins/replication-webrtc/webrtc-types.js +3 -0
  783. package/dist/esm/plugins/replication-webrtc/webrtc-types.js.map +1 -0
  784. package/dist/esm/plugins/replication-websocket/index.js +4 -0
  785. package/dist/esm/plugins/replication-websocket/index.js.map +1 -0
  786. package/dist/esm/plugins/replication-websocket/websocket-client.js +125 -0
  787. package/dist/esm/plugins/replication-websocket/websocket-client.js.map +1 -0
  788. package/dist/esm/plugins/replication-websocket/websocket-server.js +100 -0
  789. package/dist/esm/plugins/replication-websocket/websocket-server.js.map +1 -0
  790. package/dist/esm/plugins/replication-websocket/websocket-types.js +3 -0
  791. package/dist/esm/plugins/replication-websocket/websocket-types.js.map +1 -0
  792. package/dist/esm/plugins/state/helpers.js +73 -0
  793. package/dist/esm/plugins/state/helpers.js.map +1 -0
  794. package/dist/esm/plugins/state/index.js +20 -0
  795. package/dist/esm/plugins/state/index.js.map +1 -0
  796. package/dist/esm/plugins/state/rx-state.js +285 -0
  797. package/dist/esm/plugins/state/rx-state.js.map +1 -0
  798. package/dist/esm/plugins/state/types.js +3 -0
  799. package/dist/esm/plugins/state/types.js.map +1 -0
  800. package/dist/esm/plugins/storage-denokv/denokv-helper.js +40 -0
  801. package/dist/esm/plugins/storage-denokv/denokv-helper.js.map +1 -0
  802. package/dist/esm/plugins/storage-denokv/denokv-query.js +93 -0
  803. package/dist/esm/plugins/storage-denokv/denokv-query.js.map +1 -0
  804. package/dist/esm/plugins/storage-denokv/denokv-types.js +3 -0
  805. package/dist/esm/plugins/storage-denokv/denokv-types.js.map +1 -0
  806. package/dist/esm/plugins/storage-denokv/index.js +24 -0
  807. package/dist/esm/plugins/storage-denokv/index.js.map +1 -0
  808. package/dist/esm/plugins/storage-denokv/rx-storage-instance-denokv.js +325 -0
  809. package/dist/esm/plugins/storage-denokv/rx-storage-instance-denokv.js.map +1 -0
  810. package/dist/esm/plugins/storage-dexie/dexie-helper.js +241 -0
  811. package/dist/esm/plugins/storage-dexie/dexie-helper.js.map +1 -0
  812. package/dist/esm/plugins/storage-dexie/dexie-query.js +169 -0
  813. package/dist/esm/plugins/storage-dexie/dexie-query.js.map +1 -0
  814. package/dist/esm/plugins/storage-dexie/index.js +5 -0
  815. package/dist/esm/plugins/storage-dexie/index.js.map +1 -0
  816. package/dist/esm/plugins/storage-dexie/rx-storage-dexie.js +39 -0
  817. package/dist/esm/plugins/storage-dexie/rx-storage-dexie.js.map +1 -0
  818. package/dist/esm/plugins/storage-dexie/rx-storage-instance-dexie.js +222 -0
  819. package/dist/esm/plugins/storage-dexie/rx-storage-instance-dexie.js.map +1 -0
  820. package/dist/esm/plugins/storage-foundationdb/foundationdb-helpers.js +6 -0
  821. package/dist/esm/plugins/storage-foundationdb/foundationdb-helpers.js.map +1 -0
  822. package/dist/esm/plugins/storage-foundationdb/foundationdb-query.js +90 -0
  823. package/dist/esm/plugins/storage-foundationdb/foundationdb-query.js.map +1 -0
  824. package/dist/esm/plugins/storage-foundationdb/foundationdb-types.js +3 -0
  825. package/dist/esm/plugins/storage-foundationdb/foundationdb-types.js.map +1 -0
  826. package/dist/esm/plugins/storage-foundationdb/index.js +31 -0
  827. package/dist/esm/plugins/storage-foundationdb/index.js.map +1 -0
  828. package/dist/esm/plugins/storage-foundationdb/rx-storage-instance-foundationdb.js +302 -0
  829. package/dist/esm/plugins/storage-foundationdb/rx-storage-instance-foundationdb.js.map +1 -0
  830. package/dist/esm/plugins/storage-localstorage/index.js +23 -0
  831. package/dist/esm/plugins/storage-localstorage/index.js.map +1 -0
  832. package/dist/esm/plugins/storage-localstorage/localstorage-mock.js +33 -0
  833. package/dist/esm/plugins/storage-localstorage/localstorage-mock.js.map +1 -0
  834. package/dist/esm/plugins/storage-localstorage/rx-storage-instance-localstorage.js +432 -0
  835. package/dist/esm/plugins/storage-localstorage/rx-storage-instance-localstorage.js.map +1 -0
  836. package/dist/esm/plugins/storage-memory/binary-search-bounds.js +103 -0
  837. package/dist/esm/plugins/storage-memory/binary-search-bounds.js.map +1 -0
  838. package/dist/esm/plugins/storage-memory/index.js +29 -0
  839. package/dist/esm/plugins/storage-memory/index.js.map +1 -0
  840. package/dist/esm/plugins/storage-memory/memory-helper.js +165 -0
  841. package/dist/esm/plugins/storage-memory/memory-helper.js.map +1 -0
  842. package/dist/esm/plugins/storage-memory/memory-indexes.js +21 -0
  843. package/dist/esm/plugins/storage-memory/memory-indexes.js.map +1 -0
  844. package/dist/esm/plugins/storage-memory/memory-types.js +3 -0
  845. package/dist/esm/plugins/storage-memory/memory-types.js.map +1 -0
  846. package/dist/esm/plugins/storage-memory/rx-storage-instance-memory.js +364 -0
  847. package/dist/esm/plugins/storage-memory/rx-storage-instance-memory.js.map +1 -0
  848. package/dist/esm/plugins/storage-mongodb/index.js +5 -0
  849. package/dist/esm/plugins/storage-mongodb/index.js.map +1 -0
  850. package/dist/esm/plugins/storage-mongodb/mongodb-helper.js +85 -0
  851. package/dist/esm/plugins/storage-mongodb/mongodb-helper.js.map +1 -0
  852. package/dist/esm/plugins/storage-mongodb/mongodb-types.js +3 -0
  853. package/dist/esm/plugins/storage-mongodb/mongodb-types.js.map +1 -0
  854. package/dist/esm/plugins/storage-mongodb/rx-storage-instance-mongodb.js +316 -0
  855. package/dist/esm/plugins/storage-mongodb/rx-storage-instance-mongodb.js.map +1 -0
  856. package/dist/esm/plugins/storage-mongodb/rx-storage-mongodb.js +22 -0
  857. package/dist/esm/plugins/storage-mongodb/rx-storage-mongodb.js.map +1 -0
  858. package/dist/esm/plugins/storage-remote/index.js +6 -0
  859. package/dist/esm/plugins/storage-remote/index.js.map +1 -0
  860. package/dist/esm/plugins/storage-remote/message-channel-cache.js +44 -0
  861. package/dist/esm/plugins/storage-remote/message-channel-cache.js.map +1 -0
  862. package/dist/esm/plugins/storage-remote/remote.js +212 -0
  863. package/dist/esm/plugins/storage-remote/remote.js.map +1 -0
  864. package/dist/esm/plugins/storage-remote/rx-storage-remote.js +193 -0
  865. package/dist/esm/plugins/storage-remote/rx-storage-remote.js.map +1 -0
  866. package/dist/esm/plugins/storage-remote/storage-remote-helpers.js +18 -0
  867. package/dist/esm/plugins/storage-remote/storage-remote-helpers.js.map +1 -0
  868. package/dist/esm/plugins/storage-remote/storage-remote-types.js +3 -0
  869. package/dist/esm/plugins/storage-remote/storage-remote-types.js.map +1 -0
  870. package/dist/esm/plugins/storage-remote-websocket/index.js +161 -0
  871. package/dist/esm/plugins/storage-remote-websocket/index.js.map +1 -0
  872. package/dist/esm/plugins/storage-remote-websocket/types.js +3 -0
  873. package/dist/esm/plugins/storage-remote-websocket/types.js.map +1 -0
  874. package/dist/esm/plugins/storage-sqlite/index.js +31 -0
  875. package/dist/esm/plugins/storage-sqlite/index.js.map +1 -0
  876. package/dist/esm/plugins/storage-sqlite/sqlite-basics-helpers.js +510 -0
  877. package/dist/esm/plugins/storage-sqlite/sqlite-basics-helpers.js.map +1 -0
  878. package/dist/esm/plugins/storage-sqlite/sqlite-helpers.js +187 -0
  879. package/dist/esm/plugins/storage-sqlite/sqlite-helpers.js.map +1 -0
  880. package/dist/esm/plugins/storage-sqlite/sqlite-storage-instance.js +283 -0
  881. package/dist/esm/plugins/storage-sqlite/sqlite-storage-instance.js.map +1 -0
  882. package/dist/esm/plugins/storage-sqlite/sqlite-types.js +3 -0
  883. package/dist/esm/plugins/storage-sqlite/sqlite-types.js.map +1 -0
  884. package/dist/esm/plugins/test-utils/config.js +104 -0
  885. package/dist/esm/plugins/test-utils/config.js.map +1 -0
  886. package/dist/esm/plugins/test-utils/humans-collection.js +397 -0
  887. package/dist/esm/plugins/test-utils/humans-collection.js.map +1 -0
  888. package/dist/esm/plugins/test-utils/index.js +22 -0
  889. package/dist/esm/plugins/test-utils/index.js.map +1 -0
  890. package/dist/esm/plugins/test-utils/performance.js +267 -0
  891. package/dist/esm/plugins/test-utils/performance.js.map +1 -0
  892. package/dist/esm/plugins/test-utils/replication-base-test-suite.js +170 -0
  893. package/dist/esm/plugins/test-utils/replication-base-test-suite.js.map +1 -0
  894. package/dist/esm/plugins/test-utils/replication.js +46 -0
  895. package/dist/esm/plugins/test-utils/replication.js.map +1 -0
  896. package/dist/esm/plugins/test-utils/revisions.js +5 -0
  897. package/dist/esm/plugins/test-utils/revisions.js.map +1 -0
  898. package/dist/esm/plugins/test-utils/schema-objects.js +283 -0
  899. package/dist/esm/plugins/test-utils/schema-objects.js.map +1 -0
  900. package/dist/esm/plugins/test-utils/schemas.js +1244 -0
  901. package/dist/esm/plugins/test-utils/schemas.js.map +1 -0
  902. package/dist/esm/plugins/test-utils/test-util.js +62 -0
  903. package/dist/esm/plugins/test-utils/test-util.js.map +1 -0
  904. package/dist/esm/plugins/update/index.js +35 -0
  905. package/dist/esm/plugins/update/index.js.map +1 -0
  906. package/dist/esm/plugins/update/mingo-updater.js +13 -0
  907. package/dist/esm/plugins/update/mingo-updater.js.map +1 -0
  908. package/dist/esm/plugins/utils/index.js +21 -0
  909. package/dist/esm/plugins/utils/index.js.map +1 -0
  910. package/dist/esm/plugins/utils/utils-array.js +130 -0
  911. package/dist/esm/plugins/utils/utils-array.js.map +1 -0
  912. package/dist/esm/plugins/utils/utils-base64.js +48 -0
  913. package/dist/esm/plugins/utils/utils-base64.js.map +1 -0
  914. package/dist/esm/plugins/utils/utils-blob.js +54 -0
  915. package/dist/esm/plugins/utils/utils-blob.js.map +1 -0
  916. package/dist/esm/plugins/utils/utils-document.js +87 -0
  917. package/dist/esm/plugins/utils/utils-document.js.map +1 -0
  918. package/dist/esm/plugins/utils/utils-error.js +36 -0
  919. package/dist/esm/plugins/utils/utils-error.js.map +1 -0
  920. package/dist/esm/plugins/utils/utils-global.js +6 -0
  921. package/dist/esm/plugins/utils/utils-global.js.map +1 -0
  922. package/dist/esm/plugins/utils/utils-hash.js +51 -0
  923. package/dist/esm/plugins/utils/utils-hash.js.map +1 -0
  924. package/dist/esm/plugins/utils/utils-map.js +18 -0
  925. package/dist/esm/plugins/utils/utils-map.js.map +1 -0
  926. package/dist/esm/plugins/utils/utils-number.js +10 -0
  927. package/dist/esm/plugins/utils/utils-number.js.map +1 -0
  928. package/dist/esm/plugins/utils/utils-object-deep-equal.js +36 -0
  929. package/dist/esm/plugins/utils/utils-object-deep-equal.js.map +1 -0
  930. package/dist/esm/plugins/utils/utils-object-dot-prop.js +296 -0
  931. package/dist/esm/plugins/utils/utils-object-dot-prop.js.map +1 -0
  932. package/dist/esm/plugins/utils/utils-object.js +228 -0
  933. package/dist/esm/plugins/utils/utils-object.js.map +1 -0
  934. package/dist/esm/plugins/utils/utils-other.js +58 -0
  935. package/dist/esm/plugins/utils/utils-other.js.map +1 -0
  936. package/dist/esm/plugins/utils/utils-premium.js +30 -0
  937. package/dist/esm/plugins/utils/utils-premium.js.map +1 -0
  938. package/dist/esm/plugins/utils/utils-promise.js +134 -0
  939. package/dist/esm/plugins/utils/utils-promise.js.map +1 -0
  940. package/dist/esm/plugins/utils/utils-regex.js +3 -0
  941. package/dist/esm/plugins/utils/utils-regex.js.map +1 -0
  942. package/dist/esm/plugins/utils/utils-revision.js +53 -0
  943. package/dist/esm/plugins/utils/utils-revision.js.map +1 -0
  944. package/dist/esm/plugins/utils/utils-rxdb-version.js +5 -0
  945. package/dist/esm/plugins/utils/utils-rxdb-version.js.map +1 -0
  946. package/dist/esm/plugins/utils/utils-rxdb-version.template.js +5 -0
  947. package/dist/esm/plugins/utils/utils-rxdb-version.template.js.map +1 -0
  948. package/dist/esm/plugins/utils/utils-string.js +83 -0
  949. package/dist/esm/plugins/utils/utils-string.js.map +1 -0
  950. package/dist/esm/plugins/utils/utils-time.js +36 -0
  951. package/dist/esm/plugins/utils/utils-time.js.map +1 -0
  952. package/dist/esm/plugins/validate-ajv/index.js +43 -0
  953. package/dist/esm/plugins/validate-ajv/index.js.map +1 -0
  954. package/dist/esm/plugins/validate-is-my-json-valid/index.js +20 -0
  955. package/dist/esm/plugins/validate-is-my-json-valid/index.js.map +1 -0
  956. package/dist/esm/plugins/validate-z-schema/index.js +47 -0
  957. package/dist/esm/plugins/validate-z-schema/index.js.map +1 -0
  958. package/dist/esm/plugins/vector/helper.js +2 -0
  959. package/dist/esm/plugins/vector/helper.js.map +1 -0
  960. package/dist/esm/plugins/vector/index.js +2 -0
  961. package/dist/esm/plugins/vector/index.js.map +1 -0
  962. package/dist/esm/plugins/vector/types.js +3 -0
  963. package/dist/esm/plugins/vector/types.js.map +1 -0
  964. package/dist/esm/plugins/vector/vector-distance.js +29 -0
  965. package/dist/esm/plugins/vector/vector-distance.js.map +1 -0
  966. package/dist/esm/plugins/webmcp/index.js +3 -0
  967. package/dist/esm/plugins/webmcp/index.js.map +1 -0
  968. package/dist/esm/plugins/webmcp/nosql-query-schema.js +354 -0
  969. package/dist/esm/plugins/webmcp/nosql-query-schema.js.map +1 -0
  970. package/dist/esm/plugins/webmcp/webmcp.js +307 -0
  971. package/dist/esm/plugins/webmcp/webmcp.js.map +1 -0
  972. package/dist/esm/query-cache.js +99 -0
  973. package/dist/esm/query-cache.js.map +1 -0
  974. package/dist/esm/query-planner.js +297 -0
  975. package/dist/esm/query-planner.js.map +1 -0
  976. package/dist/esm/replication-protocol/checkpoint.js +95 -0
  977. package/dist/esm/replication-protocol/checkpoint.js.map +1 -0
  978. package/dist/esm/replication-protocol/conflicts.js +31 -0
  979. package/dist/esm/replication-protocol/conflicts.js.map +1 -0
  980. package/dist/esm/replication-protocol/default-conflict-handler.js +33 -0
  981. package/dist/esm/replication-protocol/default-conflict-handler.js.map +1 -0
  982. package/dist/esm/replication-protocol/downstream.js +334 -0
  983. package/dist/esm/replication-protocol/downstream.js.map +1 -0
  984. package/dist/esm/replication-protocol/helper.js +49 -0
  985. package/dist/esm/replication-protocol/helper.js.map +1 -0
  986. package/dist/esm/replication-protocol/index.js +221 -0
  987. package/dist/esm/replication-protocol/index.js.map +1 -0
  988. package/dist/esm/replication-protocol/meta-instance.js +121 -0
  989. package/dist/esm/replication-protocol/meta-instance.js.map +1 -0
  990. package/dist/esm/replication-protocol/upstream.js +379 -0
  991. package/dist/esm/replication-protocol/upstream.js.map +1 -0
  992. package/dist/esm/rx-change-event.js +103 -0
  993. package/dist/esm/rx-change-event.js.map +1 -0
  994. package/dist/esm/rx-collection-helper.js +196 -0
  995. package/dist/esm/rx-collection-helper.js.map +1 -0
  996. package/dist/esm/rx-collection.js +923 -0
  997. package/dist/esm/rx-collection.js.map +1 -0
  998. package/dist/esm/rx-database-internal-store.js +270 -0
  999. package/dist/esm/rx-database-internal-store.js.map +1 -0
  1000. package/dist/esm/rx-database.js +670 -0
  1001. package/dist/esm/rx-database.js.map +1 -0
  1002. package/dist/esm/rx-document-prototype-merge.js +78 -0
  1003. package/dist/esm/rx-document-prototype-merge.js.map +1 -0
  1004. package/dist/esm/rx-document.js +394 -0
  1005. package/dist/esm/rx-document.js.map +1 -0
  1006. package/dist/esm/rx-error.js +153 -0
  1007. package/dist/esm/rx-error.js.map +1 -0
  1008. package/dist/esm/rx-query-helper.js +268 -0
  1009. package/dist/esm/rx-query-helper.js.map +1 -0
  1010. package/dist/esm/rx-query-mingo.js +54 -0
  1011. package/dist/esm/rx-query-mingo.js.map +1 -0
  1012. package/dist/esm/rx-query-single-result.js +98 -0
  1013. package/dist/esm/rx-query-single-result.js.map +1 -0
  1014. package/dist/esm/rx-query.js +690 -0
  1015. package/dist/esm/rx-query.js.map +1 -0
  1016. package/dist/esm/rx-schema-helper.js +316 -0
  1017. package/dist/esm/rx-schema-helper.js.map +1 -0
  1018. package/dist/esm/rx-schema.js +177 -0
  1019. package/dist/esm/rx-schema.js.map +1 -0
  1020. package/dist/esm/rx-storage-helper.js +785 -0
  1021. package/dist/esm/rx-storage-helper.js.map +1 -0
  1022. package/dist/esm/rx-storage-multiinstance.js +113 -0
  1023. package/dist/esm/rx-storage-multiinstance.js.map +1 -0
  1024. package/dist/esm/types/conflict-handling.d.js +3 -0
  1025. package/dist/esm/types/conflict-handling.d.js.map +1 -0
  1026. package/dist/esm/types/couchdb.d.js +3 -0
  1027. package/dist/esm/types/couchdb.d.js.map +1 -0
  1028. package/dist/esm/types/index.d.js +2 -0
  1029. package/dist/esm/types/index.d.js.map +1 -0
  1030. package/dist/esm/types/modules/index.d.js +2 -0
  1031. package/dist/esm/types/modules/index.d.js.map +1 -0
  1032. package/dist/esm/types/modules/mocha.parallel.d.js +2 -0
  1033. package/dist/esm/types/modules/mocha.parallel.d.js.map +1 -0
  1034. package/dist/esm/types/plugins/backup.d.js +3 -0
  1035. package/dist/esm/types/plugins/backup.d.js.map +1 -0
  1036. package/dist/esm/types/plugins/cleanup.d.js +3 -0
  1037. package/dist/esm/types/plugins/cleanup.d.js.map +1 -0
  1038. package/dist/esm/types/plugins/crdt.d.js +3 -0
  1039. package/dist/esm/types/plugins/crdt.d.js.map +1 -0
  1040. package/dist/esm/types/plugins/dexie.d.js +3 -0
  1041. package/dist/esm/types/plugins/dexie.d.js.map +1 -0
  1042. package/dist/esm/types/plugins/local-documents.d.js +3 -0
  1043. package/dist/esm/types/plugins/local-documents.d.js.map +1 -0
  1044. package/dist/esm/types/plugins/migration.d.js +3 -0
  1045. package/dist/esm/types/plugins/migration.d.js.map +1 -0
  1046. package/dist/esm/types/plugins/reactivity.d.js +3 -0
  1047. package/dist/esm/types/plugins/reactivity.d.js.map +1 -0
  1048. package/dist/esm/types/plugins/replication-graphql.d.js +3 -0
  1049. package/dist/esm/types/plugins/replication-graphql.d.js.map +1 -0
  1050. package/dist/esm/types/plugins/replication.d.js +3 -0
  1051. package/dist/esm/types/plugins/replication.d.js.map +1 -0
  1052. package/dist/esm/types/plugins/state.d.js +3 -0
  1053. package/dist/esm/types/plugins/state.d.js.map +1 -0
  1054. package/dist/esm/types/plugins/update.d.js +3 -0
  1055. package/dist/esm/types/plugins/update.d.js.map +1 -0
  1056. package/dist/esm/types/plugins/webmcp.d.js +3 -0
  1057. package/dist/esm/types/plugins/webmcp.d.js.map +1 -0
  1058. package/dist/esm/types/query-planner.d.js +3 -0
  1059. package/dist/esm/types/query-planner.d.js.map +1 -0
  1060. package/dist/esm/types/replication-protocol.d.js +3 -0
  1061. package/dist/esm/types/replication-protocol.d.js.map +1 -0
  1062. package/dist/esm/types/rx-attachment.d.js +3 -0
  1063. package/dist/esm/types/rx-attachment.d.js.map +1 -0
  1064. package/dist/esm/types/rx-change-event.d.js +3 -0
  1065. package/dist/esm/types/rx-change-event.d.js.map +1 -0
  1066. package/dist/esm/types/rx-collection.d.js +3 -0
  1067. package/dist/esm/types/rx-collection.d.js.map +1 -0
  1068. package/dist/esm/types/rx-database-internal-store.d.js +3 -0
  1069. package/dist/esm/types/rx-database-internal-store.d.js.map +1 -0
  1070. package/dist/esm/types/rx-database.d.js +3 -0
  1071. package/dist/esm/types/rx-database.d.js.map +1 -0
  1072. package/dist/esm/types/rx-document.d.js +3 -0
  1073. package/dist/esm/types/rx-document.d.js.map +1 -0
  1074. package/dist/esm/types/rx-error.d.js +3 -0
  1075. package/dist/esm/types/rx-error.d.js.map +1 -0
  1076. package/dist/esm/types/rx-plugin.d.js +3 -0
  1077. package/dist/esm/types/rx-plugin.d.js.map +1 -0
  1078. package/dist/esm/types/rx-query.d.js +3 -0
  1079. package/dist/esm/types/rx-query.d.js.map +1 -0
  1080. package/dist/esm/types/rx-schema.d.js +3 -0
  1081. package/dist/esm/types/rx-schema.d.js.map +1 -0
  1082. package/dist/esm/types/rx-storage.d.js +3 -0
  1083. package/dist/esm/types/rx-storage.d.js.map +1 -0
  1084. package/dist/esm/types/rx-storage.interface.d.js +3 -0
  1085. package/dist/esm/types/rx-storage.interface.d.js.map +1 -0
  1086. package/dist/esm/types/util.d.js +3 -0
  1087. package/dist/esm/types/util.d.js.map +1 -0
  1088. package/dist/types/change-event-buffer.d.ts +50 -0
  1089. package/dist/types/custom-index.d.ts +58 -0
  1090. package/dist/types/doc-cache.d.ts +96 -0
  1091. package/dist/types/event-reduce.d.ts +15 -0
  1092. package/dist/types/hooks.d.ts +109 -0
  1093. package/dist/types/incremental-write.d.ts +29 -0
  1094. package/dist/types/index.d.ts +30 -0
  1095. package/dist/types/overwritable.d.ts +26 -0
  1096. package/dist/types/plugin-helpers.d.ts +30 -0
  1097. package/dist/types/plugin.d.ts +6 -0
  1098. package/dist/types/plugins/attachments/attachments-utils.d.ts +10 -0
  1099. package/dist/types/plugins/attachments/index.d.ts +42 -0
  1100. package/dist/types/plugins/attachments-compression/index.d.ts +38 -0
  1101. package/dist/types/plugins/backup/file-util.d.ts +17 -0
  1102. package/dist/types/plugins/backup/index.d.ts +37 -0
  1103. package/dist/types/plugins/cleanup/cleanup-helper.d.ts +2 -0
  1104. package/dist/types/plugins/cleanup/cleanup-state.d.ts +7 -0
  1105. package/dist/types/plugins/cleanup/cleanup.d.ts +8 -0
  1106. package/dist/types/plugins/cleanup/index.d.ts +4 -0
  1107. package/dist/types/plugins/crdt/index.d.ts +12 -0
  1108. package/dist/types/plugins/dev-mode/check-document.d.ts +9 -0
  1109. package/dist/types/plugins/dev-mode/check-migration-strategies.d.ts +6 -0
  1110. package/dist/types/plugins/dev-mode/check-orm.d.ts +7 -0
  1111. package/dist/types/plugins/dev-mode/check-query.d.ts +21 -0
  1112. package/dist/types/plugins/dev-mode/check-schema.d.ts +18 -0
  1113. package/dist/types/plugins/dev-mode/dev-mode-tracking.d.ts +4 -0
  1114. package/dist/types/plugins/dev-mode/entity-properties.d.ts +3 -0
  1115. package/dist/types/plugins/dev-mode/error-messages.d.ts +1230 -0
  1116. package/dist/types/plugins/dev-mode/index.d.ts +19 -0
  1117. package/dist/types/plugins/dev-mode/unallowed-properties.d.ts +20 -0
  1118. package/dist/types/plugins/electron/electron-helper.d.ts +2 -0
  1119. package/dist/types/plugins/electron/index.d.ts +3 -0
  1120. package/dist/types/plugins/electron/rx-storage-ipc-main.d.ts +10 -0
  1121. package/dist/types/plugins/electron/rx-storage-ipc-renderer.d.ts +13 -0
  1122. package/dist/types/plugins/encryption-crypto-js/index.d.ts +10 -0
  1123. package/dist/types/plugins/flutter/index.d.ts +11 -0
  1124. package/dist/types/plugins/json-dump/index.d.ts +2 -0
  1125. package/dist/types/plugins/key-compression/index.d.ts +18 -0
  1126. package/dist/types/plugins/leader-election/index.d.ts +25 -0
  1127. package/dist/types/plugins/local-documents/index.d.ts +6 -0
  1128. package/dist/types/plugins/local-documents/local-documents-helper.d.ts +9 -0
  1129. package/dist/types/plugins/local-documents/local-documents.d.ts +14 -0
  1130. package/dist/types/plugins/local-documents/rx-local-document.d.ts +11 -0
  1131. package/dist/types/plugins/migration-schema/index.d.ts +8 -0
  1132. package/dist/types/plugins/migration-schema/migration-helpers.d.ts +29 -0
  1133. package/dist/types/plugins/migration-schema/migration-types.d.ts +33 -0
  1134. package/dist/types/plugins/migration-schema/rx-migration-state.d.ts +50 -0
  1135. package/dist/types/plugins/migration-storage/index.d.ts +32 -0
  1136. package/dist/types/plugins/pipeline/flagged-functions.d.ts +69 -0
  1137. package/dist/types/plugins/pipeline/index.d.ts +5 -0
  1138. package/dist/types/plugins/pipeline/rx-pipeline.d.ts +37 -0
  1139. package/dist/types/plugins/pipeline/types.d.ts +17 -0
  1140. package/dist/types/plugins/query-builder/index.d.ts +5 -0
  1141. package/dist/types/plugins/query-builder/mquery/mquery-utils.d.ts +12 -0
  1142. package/dist/types/plugins/query-builder/mquery/nosql-query-builder.d.ts +165 -0
  1143. package/dist/types/plugins/react/database-context.d.ts +4 -0
  1144. package/dist/types/plugins/react/database-provider.d.ts +24 -0
  1145. package/dist/types/plugins/react/hooks/index.d.ts +4 -0
  1146. package/dist/types/plugins/react/hooks/use-live-rx-query.d.ts +11 -0
  1147. package/dist/types/plugins/react/hooks/use-rx-collection.d.ts +10 -0
  1148. package/dist/types/plugins/react/hooks/use-rx-database.d.ts +9 -0
  1149. package/dist/types/plugins/react/hooks/use-rx-query.d.ts +24 -0
  1150. package/dist/types/plugins/react/index.d.ts +2 -0
  1151. package/dist/types/plugins/reactivity-angular/index.d.ts +16 -0
  1152. package/dist/types/plugins/reactivity-preact-signals/index.d.ts +27 -0
  1153. package/dist/types/plugins/reactivity-vue/index.d.ts +17 -0
  1154. package/dist/types/plugins/replication/index.d.ts +84 -0
  1155. package/dist/types/plugins/replication/replication-helper.d.ts +23 -0
  1156. package/dist/types/plugins/replication-appwrite/appwrite-helpers.d.ts +3 -0
  1157. package/dist/types/plugins/replication-appwrite/appwrite-types.d.ts +16 -0
  1158. package/dist/types/plugins/replication-appwrite/index.d.ts +14 -0
  1159. package/dist/types/plugins/replication-couchdb/couchdb-helper.d.ts +19 -0
  1160. package/dist/types/plugins/replication-couchdb/couchdb-types.d.ts +22 -0
  1161. package/dist/types/plugins/replication-couchdb/index.d.ts +18 -0
  1162. package/dist/types/plugins/replication-firestore/firestore-helper.d.ts +10 -0
  1163. package/dist/types/plugins/replication-firestore/firestore-types.d.ts +46 -0
  1164. package/dist/types/plugins/replication-firestore/index.d.ts +17 -0
  1165. package/dist/types/plugins/replication-google-drive/document-handling.d.ts +13 -0
  1166. package/dist/types/plugins/replication-google-drive/downstream.d.ts +10 -0
  1167. package/dist/types/plugins/replication-google-drive/google-drive-helper.d.ts +35 -0
  1168. package/dist/types/plugins/replication-google-drive/google-drive-types.d.ts +67 -0
  1169. package/dist/types/plugins/replication-google-drive/index.d.ts +39 -0
  1170. package/dist/types/plugins/replication-google-drive/init.d.ts +29 -0
  1171. package/dist/types/plugins/replication-google-drive/multipart.d.ts +10 -0
  1172. package/dist/types/plugins/replication-google-drive/signaling.d.ts +41 -0
  1173. package/dist/types/plugins/replication-google-drive/transaction.d.ts +22 -0
  1174. package/dist/types/plugins/replication-google-drive/upstream.d.ts +24 -0
  1175. package/dist/types/plugins/replication-graphql/graphql-schema-from-rx-schema.d.ts +51 -0
  1176. package/dist/types/plugins/replication-graphql/graphql-websocket.d.ts +12 -0
  1177. package/dist/types/plugins/replication-graphql/helper.d.ts +15 -0
  1178. package/dist/types/plugins/replication-graphql/index.d.ts +26 -0
  1179. package/dist/types/plugins/replication-graphql/query-builder-from-rx-schema.d.ts +5 -0
  1180. package/dist/types/plugins/replication-microsoft-onedrive/document-handling.d.ts +14 -0
  1181. package/dist/types/plugins/replication-microsoft-onedrive/downstream.d.ts +10 -0
  1182. package/dist/types/plugins/replication-microsoft-onedrive/index.d.ts +38 -0
  1183. package/dist/types/plugins/replication-microsoft-onedrive/init.d.ts +29 -0
  1184. package/dist/types/plugins/replication-microsoft-onedrive/microsoft-onedrive-helper.d.ts +30 -0
  1185. package/dist/types/plugins/replication-microsoft-onedrive/microsoft-onedrive-types.d.ts +71 -0
  1186. package/dist/types/plugins/replication-microsoft-onedrive/signaling.d.ts +41 -0
  1187. package/dist/types/plugins/replication-microsoft-onedrive/transaction.d.ts +22 -0
  1188. package/dist/types/plugins/replication-microsoft-onedrive/upstream.d.ts +25 -0
  1189. package/dist/types/plugins/replication-mongodb/index.d.ts +22 -0
  1190. package/dist/types/plugins/replication-mongodb/mongodb-checkpoint.d.ts +15 -0
  1191. package/dist/types/plugins/replication-mongodb/mongodb-helper.d.ts +13 -0
  1192. package/dist/types/plugins/replication-mongodb/mongodb-types.d.ts +33 -0
  1193. package/dist/types/plugins/replication-nats/index.d.ts +16 -0
  1194. package/dist/types/plugins/replication-nats/nats-helper.d.ts +2 -0
  1195. package/dist/types/plugins/replication-nats/nats-types.d.ts +21 -0
  1196. package/dist/types/plugins/replication-supabase/helper.d.ts +5 -0
  1197. package/dist/types/plugins/replication-supabase/index.d.ts +14 -0
  1198. package/dist/types/plugins/replication-supabase/types.d.ts +28 -0
  1199. package/dist/types/plugins/replication-webrtc/connection-handler-p2pcf.d.ts +0 -0
  1200. package/dist/types/plugins/replication-webrtc/connection-handler-simple-peer.d.ts +57 -0
  1201. package/dist/types/plugins/replication-webrtc/connection-handler-webtorrent.d.ts +0 -0
  1202. package/dist/types/plugins/replication-webrtc/index.d.ts +27 -0
  1203. package/dist/types/plugins/replication-webrtc/signaling-server.d.ts +17 -0
  1204. package/dist/types/plugins/replication-webrtc/webrtc-helper.d.ts +16 -0
  1205. package/dist/types/plugins/replication-webrtc/webrtc-types.d.ts +51 -0
  1206. package/dist/types/plugins/replication-websocket/index.d.ts +3 -0
  1207. package/dist/types/plugins/replication-websocket/websocket-client.d.ts +13 -0
  1208. package/dist/types/plugins/replication-websocket/websocket-server.d.ts +6 -0
  1209. package/dist/types/plugins/replication-websocket/websocket-types.d.ts +32 -0
  1210. package/dist/types/plugins/state/helpers.d.ts +10 -0
  1211. package/dist/types/plugins/state/index.d.ts +4 -0
  1212. package/dist/types/plugins/state/rx-state.d.ts +46 -0
  1213. package/dist/types/plugins/state/types.d.ts +28 -0
  1214. package/dist/types/plugins/storage-denokv/denokv-helper.d.ts +16 -0
  1215. package/dist/types/plugins/storage-denokv/denokv-query.d.ts +3 -0
  1216. package/dist/types/plugins/storage-denokv/denokv-types.d.ts +17 -0
  1217. package/dist/types/plugins/storage-denokv/index.d.ts +11 -0
  1218. package/dist/types/plugins/storage-denokv/rx-storage-instance-denokv.d.ts +41 -0
  1219. package/dist/types/plugins/storage-dexie/dexie-helper.d.ts +40 -0
  1220. package/dist/types/plugins/storage-dexie/dexie-query.d.ts +9 -0
  1221. package/dist/types/plugins/storage-dexie/index.d.ts +4 -0
  1222. package/dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts +11 -0
  1223. package/dist/types/plugins/storage-dexie/rx-storage-instance-dexie.d.ts +29 -0
  1224. package/dist/types/plugins/storage-foundationdb/foundationdb-helpers.d.ts +3 -0
  1225. package/dist/types/plugins/storage-foundationdb/foundationdb-query.d.ts +3 -0
  1226. package/dist/types/plugins/storage-foundationdb/foundationdb-types.d.ts +46 -0
  1227. package/dist/types/plugins/storage-foundationdb/index.d.ts +4 -0
  1228. package/dist/types/plugins/storage-foundationdb/rx-storage-instance-foundationdb.d.ts +26 -0
  1229. package/dist/types/plugins/storage-localstorage/index.d.ts +11 -0
  1230. package/dist/types/plugins/storage-localstorage/localstorage-mock.d.ts +1 -0
  1231. package/dist/types/plugins/storage-localstorage/rx-storage-instance-localstorage.d.ts +84 -0
  1232. package/dist/types/plugins/storage-memory/binary-search-bounds.d.ts +14 -0
  1233. package/dist/types/plugins/storage-memory/index.d.ts +7 -0
  1234. package/dist/types/plugins/storage-memory/memory-helper.d.ts +22 -0
  1235. package/dist/types/plugins/storage-memory/memory-indexes.d.ts +4 -0
  1236. package/dist/types/plugins/storage-memory/memory-types.d.ts +72 -0
  1237. package/dist/types/plugins/storage-memory/rx-storage-instance-memory.d.ts +47 -0
  1238. package/dist/types/plugins/storage-mongodb/index.d.ts +4 -0
  1239. package/dist/types/plugins/storage-mongodb/mongodb-helper.d.ts +22 -0
  1240. package/dist/types/plugins/storage-mongodb/mongodb-types.d.ts +21 -0
  1241. package/dist/types/plugins/storage-mongodb/rx-storage-instance-mongodb.d.ts +52 -0
  1242. package/dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts +11 -0
  1243. package/dist/types/plugins/storage-remote/index.d.ts +5 -0
  1244. package/dist/types/plugins/storage-remote/message-channel-cache.d.ts +13 -0
  1245. package/dist/types/plugins/storage-remote/remote.d.ts +6 -0
  1246. package/dist/types/plugins/storage-remote/rx-storage-remote.d.ts +43 -0
  1247. package/dist/types/plugins/storage-remote/storage-remote-helpers.d.ts +4 -0
  1248. package/dist/types/plugins/storage-remote/storage-remote-types.d.ts +88 -0
  1249. package/dist/types/plugins/storage-remote-websocket/index.d.ts +4 -0
  1250. package/dist/types/plugins/storage-remote-websocket/types.d.ts +24 -0
  1251. package/dist/types/plugins/storage-sqlite/index.d.ts +15 -0
  1252. package/dist/types/plugins/storage-sqlite/sqlite-basics-helpers.d.ts +53 -0
  1253. package/dist/types/plugins/storage-sqlite/sqlite-helpers.d.ts +48 -0
  1254. package/dist/types/plugins/storage-sqlite/sqlite-storage-instance.d.ts +38 -0
  1255. package/dist/types/plugins/storage-sqlite/sqlite-types.d.ts +116 -0
  1256. package/dist/types/plugins/test-utils/config.d.ts +16 -0
  1257. package/dist/types/plugins/test-utils/humans-collection.d.ts +26 -0
  1258. package/dist/types/plugins/test-utils/index.d.ts +20 -0
  1259. package/dist/types/plugins/test-utils/performance.d.ts +68 -0
  1260. package/dist/types/plugins/test-utils/replication-base-test-suite.d.ts +66 -0
  1261. package/dist/types/plugins/test-utils/replication.d.ts +10 -0
  1262. package/dist/types/plugins/test-utils/revisions.d.ts +4 -0
  1263. package/dist/types/plugins/test-utils/schema-objects.d.ts +219 -0
  1264. package/dist/types/plugins/test-utils/schemas.d.ts +356 -0
  1265. package/dist/types/plugins/test-utils/test-util.d.ts +10 -0
  1266. package/dist/types/plugins/update/index.d.ts +5 -0
  1267. package/dist/types/plugins/update/mingo-updater.d.ts +2 -0
  1268. package/dist/types/plugins/utils/index.d.ts +20 -0
  1269. package/dist/types/plugins/utils/utils-array.d.ts +40 -0
  1270. package/dist/types/plugins/utils/utils-base64.d.ts +15 -0
  1271. package/dist/types/plugins/utils/utils-blob.d.ts +12 -0
  1272. package/dist/types/plugins/utils/utils-document.d.ts +26 -0
  1273. package/dist/types/plugins/utils/utils-error.d.ts +8 -0
  1274. package/dist/types/plugins/utils/utils-global.d.ts +5 -0
  1275. package/dist/types/plugins/utils/utils-hash.d.ts +4 -0
  1276. package/dist/types/plugins/utils/utils-map.d.ts +2 -0
  1277. package/dist/types/plugins/utils/utils-number.d.ts +7 -0
  1278. package/dist/types/plugins/utils/utils-object-deep-equal.d.ts +7 -0
  1279. package/dist/types/plugins/utils/utils-object-dot-prop.d.ts +14 -0
  1280. package/dist/types/plugins/utils/utils-object.d.ts +61 -0
  1281. package/dist/types/plugins/utils/utils-other.d.ts +20 -0
  1282. package/dist/types/plugins/utils/utils-premium.d.ts +10 -0
  1283. package/dist/types/plugins/utils/utils-promise.d.ts +43 -0
  1284. package/dist/types/plugins/utils/utils-regex.d.ts +2 -0
  1285. package/dist/types/plugins/utils/utils-revision.d.ts +22 -0
  1286. package/dist/types/plugins/utils/utils-rxdb-version.d.ts +4 -0
  1287. package/dist/types/plugins/utils/utils-rxdb-version.template.d.ts +4 -0
  1288. package/dist/types/plugins/utils/utils-string.d.ts +35 -0
  1289. package/dist/types/plugins/utils/utils-time.d.ts +5 -0
  1290. package/dist/types/plugins/validate-ajv/index.d.ts +13 -0
  1291. package/dist/types/plugins/validate-is-my-json-valid/index.d.ts +5 -0
  1292. package/dist/types/plugins/validate-z-schema/index.d.ts +13 -0
  1293. package/dist/types/plugins/vector/helper.d.ts +0 -0
  1294. package/dist/types/plugins/vector/index.d.ts +2 -0
  1295. package/dist/types/plugins/vector/types.d.ts +1 -0
  1296. package/dist/types/plugins/vector/vector-distance.d.ts +13 -0
  1297. package/dist/types/plugins/webmcp/index.d.ts +2 -0
  1298. package/dist/types/plugins/webmcp/nosql-query-schema.d.ts +549 -0
  1299. package/dist/types/plugins/webmcp/webmcp.d.ts +12 -0
  1300. package/dist/types/query-cache.d.ts +35 -0
  1301. package/dist/types/query-planner.d.ts +30 -0
  1302. package/dist/types/replication-protocol/checkpoint.d.ts +8 -0
  1303. package/dist/types/replication-protocol/conflicts.d.ts +10 -0
  1304. package/dist/types/replication-protocol/default-conflict-handler.d.ts +2 -0
  1305. package/dist/types/replication-protocol/downstream.d.ts +10 -0
  1306. package/dist/types/replication-protocol/helper.d.ts +5 -0
  1307. package/dist/types/replication-protocol/index.d.ts +30 -0
  1308. package/dist/types/replication-protocol/meta-instance.d.ts +12 -0
  1309. package/dist/types/replication-protocol/upstream.d.ts +10 -0
  1310. package/dist/types/rx-change-event.d.ts +20 -0
  1311. package/dist/types/rx-collection-helper.d.ts +41 -0
  1312. package/dist/types/rx-collection.d.ts +185 -0
  1313. package/dist/types/rx-database-internal-store.d.ts +37 -0
  1314. package/dist/types/rx-database.d.ts +213 -0
  1315. package/dist/types/rx-document-prototype-merge.d.ts +24 -0
  1316. package/dist/types/rx-document.d.ts +274 -0
  1317. package/dist/types/rx-error.d.ts +37 -0
  1318. package/dist/types/rx-query-helper.d.ts +31 -0
  1319. package/dist/types/rx-query-mingo.d.ts +10 -0
  1320. package/dist/types/rx-query-single-result.d.ts +31 -0
  1321. package/dist/types/rx-query.d.ts +153 -0
  1322. package/dist/types/rx-schema-helper.d.ts +57 -0
  1323. package/dist/types/rx-schema.d.ts +43 -0
  1324. package/dist/types/rx-storage-helper.d.ts +111 -0
  1325. package/dist/types/rx-storage-multiinstance.d.ts +51 -0
  1326. package/dist/types/types/conflict-handling.d.ts +48 -0
  1327. package/dist/types/types/couchdb.d.ts +293 -0
  1328. package/dist/types/types/index.d.ts +32 -0
  1329. package/dist/types/types/modules/index.d.ts +0 -0
  1330. package/dist/types/types/modules/mocha.parallel.d.ts +1 -0
  1331. package/dist/types/types/plugins/backup.d.ts +35 -0
  1332. package/dist/types/types/plugins/cleanup.d.ts +38 -0
  1333. package/dist/types/types/plugins/crdt.d.ts +76 -0
  1334. package/dist/types/types/plugins/dexie.d.ts +30 -0
  1335. package/dist/types/types/plugins/local-documents.d.ts +49 -0
  1336. package/dist/types/types/plugins/migration.d.ts +14 -0
  1337. package/dist/types/types/plugins/reactivity.d.ts +40 -0
  1338. package/dist/types/types/plugins/replication-graphql.d.ts +98 -0
  1339. package/dist/types/types/plugins/replication.d.ts +175 -0
  1340. package/dist/types/types/plugins/state.d.ts +4 -0
  1341. package/dist/types/types/plugins/update.d.ts +23 -0
  1342. package/dist/types/types/plugins/webmcp.d.ts +40 -0
  1343. package/dist/types/types/query-planner.d.ts +47 -0
  1344. package/dist/types/types/replication-protocol.d.ts +296 -0
  1345. package/dist/types/types/rx-attachment.d.ts +46 -0
  1346. package/dist/types/types/rx-change-event.d.ts +85 -0
  1347. package/dist/types/types/rx-collection.d.ts +117 -0
  1348. package/dist/types/types/rx-database-internal-store.d.ts +54 -0
  1349. package/dist/types/types/rx-database.d.ts +124 -0
  1350. package/dist/types/types/rx-document.d.ts +160 -0
  1351. package/dist/types/types/rx-error.d.ts +222 -0
  1352. package/dist/types/types/rx-plugin.d.ts +167 -0
  1353. package/dist/types/types/rx-query.d.ts +144 -0
  1354. package/dist/types/types/rx-schema.d.ts +209 -0
  1355. package/dist/types/types/rx-storage.d.ts +347 -0
  1356. package/dist/types/types/rx-storage.interface.d.ts +312 -0
  1357. package/dist/types/types/util.d.ts +180 -0
  1358. package/eslint.config.mjs +514 -0
  1359. package/package.json +729 -0
  1360. package/plugins/attachments/index.cjs +2 -0
  1361. package/plugins/attachments/index.d.cts +1 -0
  1362. package/plugins/attachments/index.d.mts +1 -0
  1363. package/plugins/attachments/index.mjs +1 -0
  1364. package/plugins/attachments/index.ts +1 -0
  1365. package/plugins/attachments/package.json +18 -0
  1366. package/plugins/attachments-compression/index.cjs +2 -0
  1367. package/plugins/attachments-compression/index.d.cts +1 -0
  1368. package/plugins/attachments-compression/index.d.mts +1 -0
  1369. package/plugins/attachments-compression/index.mjs +1 -0
  1370. package/plugins/attachments-compression/index.ts +1 -0
  1371. package/plugins/attachments-compression/package.json +18 -0
  1372. package/plugins/backup/index.cjs +2 -0
  1373. package/plugins/backup/index.d.cts +1 -0
  1374. package/plugins/backup/index.d.mts +1 -0
  1375. package/plugins/backup/index.mjs +1 -0
  1376. package/plugins/backup/index.ts +1 -0
  1377. package/plugins/backup/package.json +18 -0
  1378. package/plugins/cleanup/index.cjs +2 -0
  1379. package/plugins/cleanup/index.d.cts +1 -0
  1380. package/plugins/cleanup/index.d.mts +1 -0
  1381. package/plugins/cleanup/index.mjs +1 -0
  1382. package/plugins/cleanup/index.ts +1 -0
  1383. package/plugins/cleanup/package.json +18 -0
  1384. package/plugins/core/index.cjs +2 -0
  1385. package/plugins/core/index.d.cts +1 -0
  1386. package/plugins/core/index.d.mts +1 -0
  1387. package/plugins/core/index.mjs +1 -0
  1388. package/plugins/core/index.ts +1 -0
  1389. package/plugins/core/package.json +18 -0
  1390. package/plugins/crdt/index.cjs +2 -0
  1391. package/plugins/crdt/index.d.cts +1 -0
  1392. package/plugins/crdt/index.d.mts +1 -0
  1393. package/plugins/crdt/index.mjs +1 -0
  1394. package/plugins/crdt/index.ts +1 -0
  1395. package/plugins/crdt/package.json +18 -0
  1396. package/plugins/dev-mode/index.cjs +2 -0
  1397. package/plugins/dev-mode/index.d.cts +1 -0
  1398. package/plugins/dev-mode/index.d.mts +1 -0
  1399. package/plugins/dev-mode/index.mjs +1 -0
  1400. package/plugins/dev-mode/index.ts +1 -0
  1401. package/plugins/dev-mode/package.json +18 -0
  1402. package/plugins/electron/index.cjs +2 -0
  1403. package/plugins/electron/index.d.cts +1 -0
  1404. package/plugins/electron/index.d.mts +1 -0
  1405. package/plugins/electron/index.mjs +1 -0
  1406. package/plugins/electron/index.ts +1 -0
  1407. package/plugins/electron/package.json +18 -0
  1408. package/plugins/encryption-crypto-js/index.cjs +2 -0
  1409. package/plugins/encryption-crypto-js/index.d.cts +1 -0
  1410. package/plugins/encryption-crypto-js/index.d.mts +1 -0
  1411. package/plugins/encryption-crypto-js/index.mjs +1 -0
  1412. package/plugins/encryption-crypto-js/index.ts +1 -0
  1413. package/plugins/encryption-crypto-js/package.json +18 -0
  1414. package/plugins/flutter/index.cjs +2 -0
  1415. package/plugins/flutter/index.d.cts +1 -0
  1416. package/plugins/flutter/index.d.mts +1 -0
  1417. package/plugins/flutter/index.mjs +1 -0
  1418. package/plugins/flutter/index.ts +1 -0
  1419. package/plugins/flutter/package.json +18 -0
  1420. package/plugins/json-dump/index.cjs +2 -0
  1421. package/plugins/json-dump/index.d.cts +1 -0
  1422. package/plugins/json-dump/index.d.mts +1 -0
  1423. package/plugins/json-dump/index.mjs +1 -0
  1424. package/plugins/json-dump/index.ts +1 -0
  1425. package/plugins/json-dump/package.json +18 -0
  1426. package/plugins/key-compression/index.cjs +2 -0
  1427. package/plugins/key-compression/index.d.cts +1 -0
  1428. package/plugins/key-compression/index.d.mts +1 -0
  1429. package/plugins/key-compression/index.mjs +1 -0
  1430. package/plugins/key-compression/index.ts +1 -0
  1431. package/plugins/key-compression/package.json +18 -0
  1432. package/plugins/leader-election/index.cjs +2 -0
  1433. package/plugins/leader-election/index.d.cts +1 -0
  1434. package/plugins/leader-election/index.d.mts +1 -0
  1435. package/plugins/leader-election/index.mjs +1 -0
  1436. package/plugins/leader-election/index.ts +1 -0
  1437. package/plugins/leader-election/package.json +18 -0
  1438. package/plugins/local-documents/index.cjs +2 -0
  1439. package/plugins/local-documents/index.d.cts +1 -0
  1440. package/plugins/local-documents/index.d.mts +1 -0
  1441. package/plugins/local-documents/index.mjs +1 -0
  1442. package/plugins/local-documents/index.ts +1 -0
  1443. package/plugins/local-documents/package.json +18 -0
  1444. package/plugins/migration-schema/index.cjs +2 -0
  1445. package/plugins/migration-schema/index.d.cts +1 -0
  1446. package/plugins/migration-schema/index.d.mts +1 -0
  1447. package/plugins/migration-schema/index.mjs +1 -0
  1448. package/plugins/migration-schema/index.ts +1 -0
  1449. package/plugins/migration-schema/package.json +18 -0
  1450. package/plugins/migration-storage/index.cjs +2 -0
  1451. package/plugins/migration-storage/index.d.cts +1 -0
  1452. package/plugins/migration-storage/index.d.mts +1 -0
  1453. package/plugins/migration-storage/index.mjs +1 -0
  1454. package/plugins/migration-storage/index.ts +1 -0
  1455. package/plugins/migration-storage/package.json +18 -0
  1456. package/plugins/pipeline/index.cjs +2 -0
  1457. package/plugins/pipeline/index.d.cts +1 -0
  1458. package/plugins/pipeline/index.d.mts +1 -0
  1459. package/plugins/pipeline/index.mjs +1 -0
  1460. package/plugins/pipeline/index.ts +1 -0
  1461. package/plugins/pipeline/package.json +18 -0
  1462. package/plugins/query-builder/index.cjs +2 -0
  1463. package/plugins/query-builder/index.d.cts +1 -0
  1464. package/plugins/query-builder/index.d.mts +1 -0
  1465. package/plugins/query-builder/index.mjs +1 -0
  1466. package/plugins/query-builder/index.ts +1 -0
  1467. package/plugins/query-builder/package.json +18 -0
  1468. package/plugins/react/index.cjs +2 -0
  1469. package/plugins/react/index.d.cts +1 -0
  1470. package/plugins/react/index.d.mts +1 -0
  1471. package/plugins/react/index.mjs +1 -0
  1472. package/plugins/react/index.ts +1 -0
  1473. package/plugins/react/package.json +18 -0
  1474. package/plugins/reactivity-angular/index.cjs +2 -0
  1475. package/plugins/reactivity-angular/index.d.cts +1 -0
  1476. package/plugins/reactivity-angular/index.d.mts +1 -0
  1477. package/plugins/reactivity-angular/index.mjs +1 -0
  1478. package/plugins/reactivity-angular/index.ts +1 -0
  1479. package/plugins/reactivity-angular/package.json +18 -0
  1480. package/plugins/reactivity-preact-signals/index.cjs +2 -0
  1481. package/plugins/reactivity-preact-signals/index.d.cts +1 -0
  1482. package/plugins/reactivity-preact-signals/index.d.mts +1 -0
  1483. package/plugins/reactivity-preact-signals/index.mjs +1 -0
  1484. package/plugins/reactivity-preact-signals/index.ts +1 -0
  1485. package/plugins/reactivity-preact-signals/package.json +18 -0
  1486. package/plugins/reactivity-vue/index.cjs +2 -0
  1487. package/plugins/reactivity-vue/index.d.cts +1 -0
  1488. package/plugins/reactivity-vue/index.d.mts +1 -0
  1489. package/plugins/reactivity-vue/index.mjs +1 -0
  1490. package/plugins/reactivity-vue/index.ts +1 -0
  1491. package/plugins/reactivity-vue/package.json +18 -0
  1492. package/plugins/replication/index.cjs +2 -0
  1493. package/plugins/replication/index.d.cts +1 -0
  1494. package/plugins/replication/index.d.mts +1 -0
  1495. package/plugins/replication/index.mjs +1 -0
  1496. package/plugins/replication/index.ts +1 -0
  1497. package/plugins/replication/package.json +18 -0
  1498. package/plugins/replication-appwrite/index.cjs +2 -0
  1499. package/plugins/replication-appwrite/index.d.cts +1 -0
  1500. package/plugins/replication-appwrite/index.d.mts +1 -0
  1501. package/plugins/replication-appwrite/index.mjs +1 -0
  1502. package/plugins/replication-appwrite/index.ts +1 -0
  1503. package/plugins/replication-appwrite/package.json +18 -0
  1504. package/plugins/replication-couchdb/index.cjs +2 -0
  1505. package/plugins/replication-couchdb/index.d.cts +1 -0
  1506. package/plugins/replication-couchdb/index.d.mts +1 -0
  1507. package/plugins/replication-couchdb/index.mjs +1 -0
  1508. package/plugins/replication-couchdb/index.ts +1 -0
  1509. package/plugins/replication-couchdb/package.json +18 -0
  1510. package/plugins/replication-firestore/index.cjs +2 -0
  1511. package/plugins/replication-firestore/index.d.cts +1 -0
  1512. package/plugins/replication-firestore/index.d.mts +1 -0
  1513. package/plugins/replication-firestore/index.mjs +1 -0
  1514. package/plugins/replication-firestore/index.ts +1 -0
  1515. package/plugins/replication-firestore/package.json +18 -0
  1516. package/plugins/replication-google-drive/index.cjs +2 -0
  1517. package/plugins/replication-google-drive/index.d.cts +1 -0
  1518. package/plugins/replication-google-drive/index.d.mts +1 -0
  1519. package/plugins/replication-google-drive/index.mjs +1 -0
  1520. package/plugins/replication-google-drive/index.ts +1 -0
  1521. package/plugins/replication-google-drive/package.json +18 -0
  1522. package/plugins/replication-graphql/index.cjs +2 -0
  1523. package/plugins/replication-graphql/index.d.cts +1 -0
  1524. package/plugins/replication-graphql/index.d.mts +1 -0
  1525. package/plugins/replication-graphql/index.mjs +1 -0
  1526. package/plugins/replication-graphql/index.ts +1 -0
  1527. package/plugins/replication-graphql/package.json +18 -0
  1528. package/plugins/replication-microsoft-onedrive/index.cjs +2 -0
  1529. package/plugins/replication-microsoft-onedrive/index.d.cts +1 -0
  1530. package/plugins/replication-microsoft-onedrive/index.d.mts +1 -0
  1531. package/plugins/replication-microsoft-onedrive/index.mjs +1 -0
  1532. package/plugins/replication-microsoft-onedrive/index.ts +1 -0
  1533. package/plugins/replication-microsoft-onedrive/package.json +18 -0
  1534. package/plugins/replication-mongodb/index.cjs +2 -0
  1535. package/plugins/replication-mongodb/index.d.cts +1 -0
  1536. package/plugins/replication-mongodb/index.d.mts +1 -0
  1537. package/plugins/replication-mongodb/index.mjs +1 -0
  1538. package/plugins/replication-mongodb/index.ts +1 -0
  1539. package/plugins/replication-mongodb/package.json +18 -0
  1540. package/plugins/replication-nats/index.cjs +2 -0
  1541. package/plugins/replication-nats/index.d.cts +1 -0
  1542. package/plugins/replication-nats/index.d.mts +1 -0
  1543. package/plugins/replication-nats/index.mjs +1 -0
  1544. package/plugins/replication-nats/index.ts +1 -0
  1545. package/plugins/replication-nats/package.json +18 -0
  1546. package/plugins/replication-supabase/index.cjs +2 -0
  1547. package/plugins/replication-supabase/index.d.cts +1 -0
  1548. package/plugins/replication-supabase/index.d.mts +1 -0
  1549. package/plugins/replication-supabase/index.mjs +1 -0
  1550. package/plugins/replication-supabase/index.ts +1 -0
  1551. package/plugins/replication-supabase/package.json +18 -0
  1552. package/plugins/replication-webrtc/index.cjs +2 -0
  1553. package/plugins/replication-webrtc/index.d.cts +1 -0
  1554. package/plugins/replication-webrtc/index.d.mts +1 -0
  1555. package/plugins/replication-webrtc/index.mjs +1 -0
  1556. package/plugins/replication-webrtc/index.ts +1 -0
  1557. package/plugins/replication-webrtc/package.json +18 -0
  1558. package/plugins/replication-websocket/index.cjs +2 -0
  1559. package/plugins/replication-websocket/index.d.cts +1 -0
  1560. package/plugins/replication-websocket/index.d.mts +1 -0
  1561. package/plugins/replication-websocket/index.mjs +1 -0
  1562. package/plugins/replication-websocket/index.ts +1 -0
  1563. package/plugins/replication-websocket/package.json +18 -0
  1564. package/plugins/state/index.cjs +2 -0
  1565. package/plugins/state/index.d.cts +1 -0
  1566. package/plugins/state/index.d.mts +1 -0
  1567. package/plugins/state/index.mjs +1 -0
  1568. package/plugins/state/index.ts +1 -0
  1569. package/plugins/state/package.json +18 -0
  1570. package/plugins/storage-denokv/index.cjs +2 -0
  1571. package/plugins/storage-denokv/index.d.cts +1 -0
  1572. package/plugins/storage-denokv/index.d.mts +1 -0
  1573. package/plugins/storage-denokv/index.mjs +1 -0
  1574. package/plugins/storage-denokv/index.ts +1 -0
  1575. package/plugins/storage-denokv/package.json +18 -0
  1576. package/plugins/storage-dexie/index.cjs +2 -0
  1577. package/plugins/storage-dexie/index.d.cts +1 -0
  1578. package/plugins/storage-dexie/index.d.mts +1 -0
  1579. package/plugins/storage-dexie/index.mjs +1 -0
  1580. package/plugins/storage-dexie/index.ts +1 -0
  1581. package/plugins/storage-dexie/package.json +18 -0
  1582. package/plugins/storage-foundationdb/index.cjs +2 -0
  1583. package/plugins/storage-foundationdb/index.d.cts +1 -0
  1584. package/plugins/storage-foundationdb/index.d.mts +1 -0
  1585. package/plugins/storage-foundationdb/index.mjs +1 -0
  1586. package/plugins/storage-foundationdb/index.ts +1 -0
  1587. package/plugins/storage-foundationdb/package.json +18 -0
  1588. package/plugins/storage-localstorage/index.cjs +2 -0
  1589. package/plugins/storage-localstorage/index.d.cts +1 -0
  1590. package/plugins/storage-localstorage/index.d.mts +1 -0
  1591. package/plugins/storage-localstorage/index.mjs +1 -0
  1592. package/plugins/storage-localstorage/index.ts +1 -0
  1593. package/plugins/storage-localstorage/package.json +18 -0
  1594. package/plugins/storage-memory/index.cjs +2 -0
  1595. package/plugins/storage-memory/index.d.cts +1 -0
  1596. package/plugins/storage-memory/index.d.mts +1 -0
  1597. package/plugins/storage-memory/index.mjs +1 -0
  1598. package/plugins/storage-memory/index.ts +1 -0
  1599. package/plugins/storage-memory/package.json +18 -0
  1600. package/plugins/storage-mongodb/index.cjs +2 -0
  1601. package/plugins/storage-mongodb/index.d.cts +1 -0
  1602. package/plugins/storage-mongodb/index.d.mts +1 -0
  1603. package/plugins/storage-mongodb/index.mjs +1 -0
  1604. package/plugins/storage-mongodb/index.ts +1 -0
  1605. package/plugins/storage-mongodb/package.json +18 -0
  1606. package/plugins/storage-remote/index.cjs +2 -0
  1607. package/plugins/storage-remote/index.d.cts +1 -0
  1608. package/plugins/storage-remote/index.d.mts +1 -0
  1609. package/plugins/storage-remote/index.mjs +1 -0
  1610. package/plugins/storage-remote/index.ts +1 -0
  1611. package/plugins/storage-remote/package.json +18 -0
  1612. package/plugins/storage-remote-websocket/index.cjs +2 -0
  1613. package/plugins/storage-remote-websocket/index.d.cts +1 -0
  1614. package/plugins/storage-remote-websocket/index.d.mts +1 -0
  1615. package/plugins/storage-remote-websocket/index.mjs +1 -0
  1616. package/plugins/storage-remote-websocket/index.ts +1 -0
  1617. package/plugins/storage-remote-websocket/package.json +18 -0
  1618. package/plugins/storage-sqlite/index.cjs +2 -0
  1619. package/plugins/storage-sqlite/index.d.cts +1 -0
  1620. package/plugins/storage-sqlite/index.d.mts +1 -0
  1621. package/plugins/storage-sqlite/index.mjs +1 -0
  1622. package/plugins/storage-sqlite/index.ts +1 -0
  1623. package/plugins/storage-sqlite/package.json +18 -0
  1624. package/plugins/test-utils/index.cjs +2 -0
  1625. package/plugins/test-utils/index.d.cts +1 -0
  1626. package/plugins/test-utils/index.d.mts +1 -0
  1627. package/plugins/test-utils/index.mjs +1 -0
  1628. package/plugins/test-utils/index.ts +1 -0
  1629. package/plugins/test-utils/package.json +18 -0
  1630. package/plugins/update/index.cjs +2 -0
  1631. package/plugins/update/index.d.cts +1 -0
  1632. package/plugins/update/index.d.mts +1 -0
  1633. package/plugins/update/index.mjs +1 -0
  1634. package/plugins/update/index.ts +1 -0
  1635. package/plugins/update/package.json +18 -0
  1636. package/plugins/utils/index.cjs +2 -0
  1637. package/plugins/utils/index.d.cts +1 -0
  1638. package/plugins/utils/index.d.mts +1 -0
  1639. package/plugins/utils/index.mjs +1 -0
  1640. package/plugins/utils/index.ts +1 -0
  1641. package/plugins/utils/package.json +18 -0
  1642. package/plugins/validate-ajv/index.cjs +2 -0
  1643. package/plugins/validate-ajv/index.d.cts +1 -0
  1644. package/plugins/validate-ajv/index.d.mts +1 -0
  1645. package/plugins/validate-ajv/index.mjs +1 -0
  1646. package/plugins/validate-ajv/index.ts +1 -0
  1647. package/plugins/validate-ajv/package.json +18 -0
  1648. package/plugins/validate-is-my-json-valid/index.cjs +2 -0
  1649. package/plugins/validate-is-my-json-valid/index.d.cts +1 -0
  1650. package/plugins/validate-is-my-json-valid/index.d.mts +1 -0
  1651. package/plugins/validate-is-my-json-valid/index.mjs +1 -0
  1652. package/plugins/validate-is-my-json-valid/index.ts +1 -0
  1653. package/plugins/validate-is-my-json-valid/package.json +18 -0
  1654. package/plugins/validate-z-schema/index.cjs +2 -0
  1655. package/plugins/validate-z-schema/index.d.cts +1 -0
  1656. package/plugins/validate-z-schema/index.d.mts +1 -0
  1657. package/plugins/validate-z-schema/index.mjs +1 -0
  1658. package/plugins/validate-z-schema/index.ts +1 -0
  1659. package/plugins/validate-z-schema/package.json +18 -0
  1660. package/plugins/vector/index.cjs +2 -0
  1661. package/plugins/vector/index.d.cts +1 -0
  1662. package/plugins/vector/index.d.mts +1 -0
  1663. package/plugins/vector/index.mjs +1 -0
  1664. package/plugins/vector/index.ts +1 -0
  1665. package/plugins/vector/package.json +18 -0
  1666. package/plugins/webmcp/index.cjs +2 -0
  1667. package/plugins/webmcp/index.d.cts +1 -0
  1668. package/plugins/webmcp/index.d.mts +1 -0
  1669. package/plugins/webmcp/index.mjs +1 -0
  1670. package/plugins/webmcp/index.ts +1 -0
  1671. package/plugins/webmcp/package.json +18 -0
  1672. package/scripts/acme-challenge/.gittouch +0 -0
  1673. package/scripts/ai-context-generator.mjs +63 -0
  1674. package/scripts/cloud-signaling-script.sh +6 -0
  1675. package/scripts/docs-remove-time.mjs +55 -0
  1676. package/scripts/fix-types.mjs +23 -0
  1677. package/scripts/generate-all-headers.ts +102 -0
  1678. package/scripts/generate-error-messages.mjs +41 -0
  1679. package/scripts/generate-header.ts +226 -0
  1680. package/scripts/generate-plugins-package-json.mjs +133 -0
  1681. package/scripts/install-foundationdb.sh +14 -0
  1682. package/scripts/module_package.json +1 -0
  1683. package/scripts/module_package_no_side.json +1 -0
  1684. package/scripts/postinstall.js +33 -0
  1685. package/scripts/profile.mjs +31 -0
  1686. package/scripts/set-version.mjs +162 -0
  1687. package/scripts/start-cloud-signaling-server.mjs +120 -0
  1688. package/scripts/transpile.mjs +229 -0
  1689. package/scripts/update-version-variable.mjs +49 -0
  1690. package/src/change-event-buffer.ts +171 -0
  1691. package/src/custom-index.ts +376 -0
  1692. package/src/doc-cache.ts +294 -0
  1693. package/src/event-reduce.ts +159 -0
  1694. package/src/hooks.ts +128 -0
  1695. package/src/incremental-write.ts +227 -0
  1696. package/src/index.ts +30 -0
  1697. package/src/overwritable.ts +41 -0
  1698. package/src/plugin-helpers.ts +319 -0
  1699. package/src/plugin.ts +113 -0
  1700. package/src/plugins/attachments/attachments-utils.ts +84 -0
  1701. package/src/plugins/attachments/index.ts +316 -0
  1702. package/src/plugins/attachments-compression/index.ts +221 -0
  1703. package/src/plugins/backup/file-util.ts +132 -0
  1704. package/src/plugins/backup/index.ts +281 -0
  1705. package/src/plugins/cleanup/cleanup-helper.ts +11 -0
  1706. package/src/plugins/cleanup/cleanup-state.ts +92 -0
  1707. package/src/plugins/cleanup/cleanup.ts +140 -0
  1708. package/src/plugins/cleanup/index.ts +45 -0
  1709. package/src/plugins/crdt/index.ts +505 -0
  1710. package/src/plugins/dev-mode/check-document.ts +176 -0
  1711. package/src/plugins/dev-mode/check-migration-strategies.ts +53 -0
  1712. package/src/plugins/dev-mode/check-orm.ts +65 -0
  1713. package/src/plugins/dev-mode/check-query.ts +231 -0
  1714. package/src/plugins/dev-mode/check-schema.ts +564 -0
  1715. package/src/plugins/dev-mode/dev-mode-tracking.ts +125 -0
  1716. package/src/plugins/dev-mode/entity-properties.ts +56 -0
  1717. package/src/plugins/dev-mode/error-messages.ts +1331 -0
  1718. package/src/plugins/dev-mode/index.ts +203 -0
  1719. package/src/plugins/dev-mode/unallowed-properties.ts +96 -0
  1720. package/src/plugins/electron/electron-helper.ts +2 -0
  1721. package/src/plugins/electron/index.ts +3 -0
  1722. package/src/plugins/electron/rx-storage-ipc-main.ts +58 -0
  1723. package/src/plugins/electron/rx-storage-ipc-renderer.ts +62 -0
  1724. package/src/plugins/encryption-crypto-js/index.ts +220 -0
  1725. package/src/plugins/flutter/dart/analysis_options.yaml +30 -0
  1726. package/src/plugins/flutter/dart/example/rxdb_example.dart +6 -0
  1727. package/src/plugins/flutter/dart/lib/rxdb.dart +7 -0
  1728. package/src/plugins/flutter/dart/lib/src/rxdb_base.dart +332 -0
  1729. package/src/plugins/flutter/dart/pubspec.yaml +15 -0
  1730. package/src/plugins/flutter/index.ts +65 -0
  1731. package/src/plugins/json-dump/index.ts +146 -0
  1732. package/src/plugins/key-compression/index.ts +238 -0
  1733. package/src/plugins/leader-election/index.ts +129 -0
  1734. package/src/plugins/local-documents/index.ts +95 -0
  1735. package/src/plugins/local-documents/local-documents-helper.ts +103 -0
  1736. package/src/plugins/local-documents/local-documents.ts +146 -0
  1737. package/src/plugins/local-documents/rx-local-document.ts +388 -0
  1738. package/src/plugins/migration-schema/index.ts +75 -0
  1739. package/src/plugins/migration-schema/migration-helpers.ts +162 -0
  1740. package/src/plugins/migration-schema/migration-types.ts +42 -0
  1741. package/src/plugins/migration-schema/rx-migration-state.ts +632 -0
  1742. package/src/plugins/migration-storage/index.ts +255 -0
  1743. package/src/plugins/pipeline/flagged-functions.ts +131 -0
  1744. package/src/plugins/pipeline/index.ts +18 -0
  1745. package/src/plugins/pipeline/rx-pipeline.ts +303 -0
  1746. package/src/plugins/pipeline/types.ts +28 -0
  1747. package/src/plugins/query-builder/index.ts +81 -0
  1748. package/src/plugins/query-builder/mquery/README.md +5 -0
  1749. package/src/plugins/query-builder/mquery/mquery-utils.ts +37 -0
  1750. package/src/plugins/query-builder/mquery/nosql-query-builder.ts +578 -0
  1751. package/src/plugins/react/database-context.ts +10 -0
  1752. package/src/plugins/react/database-provider.tsx +38 -0
  1753. package/src/plugins/react/hooks/index.ts +4 -0
  1754. package/src/plugins/react/hooks/use-live-rx-query.ts +34 -0
  1755. package/src/plugins/react/hooks/use-rx-collection.ts +73 -0
  1756. package/src/plugins/react/hooks/use-rx-database.ts +35 -0
  1757. package/src/plugins/react/hooks/use-rx-query.ts +168 -0
  1758. package/src/plugins/react/index.ts +2 -0
  1759. package/src/plugins/reactivity-angular/index.ts +32 -0
  1760. package/src/plugins/reactivity-preact-signals/index.ts +85 -0
  1761. package/src/plugins/reactivity-vue/index.ts +43 -0
  1762. package/src/plugins/replication/index.ts +668 -0
  1763. package/src/plugins/replication/replication-helper.ts +122 -0
  1764. package/src/plugins/replication-appwrite/appwrite-helpers.ts +38 -0
  1765. package/src/plugins/replication-appwrite/appwrite-types.ts +31 -0
  1766. package/src/plugins/replication-appwrite/index.ts +269 -0
  1767. package/src/plugins/replication-couchdb/couchdb-helper.ts +100 -0
  1768. package/src/plugins/replication-couchdb/couchdb-types.ts +34 -0
  1769. package/src/plugins/replication-couchdb/index.ts +341 -0
  1770. package/src/plugins/replication-firestore/firestore-helper.ts +79 -0
  1771. package/src/plugins/replication-firestore/firestore-types.ts +72 -0
  1772. package/src/plugins/replication-firestore/index.ts +387 -0
  1773. package/src/plugins/replication-google-drive/AGENTS.md +5 -0
  1774. package/src/plugins/replication-google-drive/document-handling.ts +203 -0
  1775. package/src/plugins/replication-google-drive/download-specs.sh +49 -0
  1776. package/src/plugins/replication-google-drive/downstream.ts +118 -0
  1777. package/src/plugins/replication-google-drive/google-drive-helper.ts +467 -0
  1778. package/src/plugins/replication-google-drive/google-drive-types.ts +84 -0
  1779. package/src/plugins/replication-google-drive/index.ts +221 -0
  1780. package/src/plugins/replication-google-drive/init.ts +108 -0
  1781. package/src/plugins/replication-google-drive/multipart.ts +86 -0
  1782. package/src/plugins/replication-google-drive/signaling.ts +399 -0
  1783. package/src/plugins/replication-google-drive/transaction.ts +222 -0
  1784. package/src/plugins/replication-google-drive/upstream.ts +279 -0
  1785. package/src/plugins/replication-graphql/graphql-schema-from-rx-schema.ts +337 -0
  1786. package/src/plugins/replication-graphql/graphql-websocket.ts +56 -0
  1787. package/src/plugins/replication-graphql/helper.ts +52 -0
  1788. package/src/plugins/replication-graphql/index.ts +255 -0
  1789. package/src/plugins/replication-graphql/query-builder-from-rx-schema.ts +195 -0
  1790. package/src/plugins/replication-microsoft-onedrive/document-handling.ts +216 -0
  1791. package/src/plugins/replication-microsoft-onedrive/downstream.ts +121 -0
  1792. package/src/plugins/replication-microsoft-onedrive/index.ts +220 -0
  1793. package/src/plugins/replication-microsoft-onedrive/init.ts +107 -0
  1794. package/src/plugins/replication-microsoft-onedrive/microsoft-onedrive-helper.ts +355 -0
  1795. package/src/plugins/replication-microsoft-onedrive/microsoft-onedrive-types.ts +88 -0
  1796. package/src/plugins/replication-microsoft-onedrive/signaling.ts +333 -0
  1797. package/src/plugins/replication-microsoft-onedrive/transaction.ts +220 -0
  1798. package/src/plugins/replication-microsoft-onedrive/upstream.ts +282 -0
  1799. package/src/plugins/replication-mongodb/index.ts +275 -0
  1800. package/src/plugins/replication-mongodb/mongodb-checkpoint.ts +184 -0
  1801. package/src/plugins/replication-mongodb/mongodb-helper.ts +69 -0
  1802. package/src/plugins/replication-mongodb/mongodb-types.ts +50 -0
  1803. package/src/plugins/replication-nats/index.ts +289 -0
  1804. package/src/plugins/replication-nats/nats-helper.ts +15 -0
  1805. package/src/plugins/replication-nats/nats-types.ts +43 -0
  1806. package/src/plugins/replication-supabase/helper.ts +63 -0
  1807. package/src/plugins/replication-supabase/index.ts +308 -0
  1808. package/src/plugins/replication-supabase/types.ts +47 -0
  1809. package/src/plugins/replication-webrtc/connection-handler-p2pcf.ts +77 -0
  1810. package/src/plugins/replication-webrtc/connection-handler-simple-peer.ts +302 -0
  1811. package/src/plugins/replication-webrtc/connection-handler-webtorrent.ts +137 -0
  1812. package/src/plugins/replication-webrtc/index.ts +307 -0
  1813. package/src/plugins/replication-webrtc/signaling-server.ts +193 -0
  1814. package/src/plugins/replication-webrtc/webrtc-helper.ts +55 -0
  1815. package/src/plugins/replication-webrtc/webrtc-types.ts +91 -0
  1816. package/src/plugins/replication-websocket/index.ts +3 -0
  1817. package/src/plugins/replication-websocket/websocket-client.ts +187 -0
  1818. package/src/plugins/replication-websocket/websocket-server.ts +135 -0
  1819. package/src/plugins/replication-websocket/websocket-types.ts +47 -0
  1820. package/src/plugins/state/helpers.ts +86 -0
  1821. package/src/plugins/state/index.ts +40 -0
  1822. package/src/plugins/state/rx-state.ts +386 -0
  1823. package/src/plugins/state/types.ts +32 -0
  1824. package/src/plugins/storage-denokv/denokv-helper.ts +46 -0
  1825. package/src/plugins/storage-denokv/denokv-query.ts +135 -0
  1826. package/src/plugins/storage-denokv/denokv-types.ts +19 -0
  1827. package/src/plugins/storage-denokv/index.ts +37 -0
  1828. package/src/plugins/storage-denokv/rx-storage-instance-denokv.ts +426 -0
  1829. package/src/plugins/storage-dexie/dexie-helper.ts +302 -0
  1830. package/src/plugins/storage-dexie/dexie-query.ts +252 -0
  1831. package/src/plugins/storage-dexie/index.ts +4 -0
  1832. package/src/plugins/storage-dexie/rx-storage-dexie.ts +62 -0
  1833. package/src/plugins/storage-dexie/rx-storage-instance-dexie.ts +378 -0
  1834. package/src/plugins/storage-foundationdb/foundationdb-helpers.ts +6 -0
  1835. package/src/plugins/storage-foundationdb/foundationdb-query.ts +140 -0
  1836. package/src/plugins/storage-foundationdb/foundationdb-types.ts +64 -0
  1837. package/src/plugins/storage-foundationdb/index.ts +57 -0
  1838. package/src/plugins/storage-foundationdb/rx-storage-instance-foundationdb.ts +449 -0
  1839. package/src/plugins/storage-localstorage/index.ts +44 -0
  1840. package/src/plugins/storage-localstorage/localstorage-mock.ts +32 -0
  1841. package/src/plugins/storage-localstorage/rx-storage-instance-localstorage.ts +686 -0
  1842. package/src/plugins/storage-memory/binary-search-bounds.ts +106 -0
  1843. package/src/plugins/storage-memory/index.ts +52 -0
  1844. package/src/plugins/storage-memory/memory-helper.ts +259 -0
  1845. package/src/plugins/storage-memory/memory-indexes.ts +34 -0
  1846. package/src/plugins/storage-memory/memory-types.ts +90 -0
  1847. package/src/plugins/storage-memory/rx-storage-instance-memory.ts +609 -0
  1848. package/src/plugins/storage-mongodb/index.ts +4 -0
  1849. package/src/plugins/storage-mongodb/mongodb-helper.ts +119 -0
  1850. package/src/plugins/storage-mongodb/mongodb-types.ts +32 -0
  1851. package/src/plugins/storage-mongodb/rx-storage-instance-mongodb.ts +464 -0
  1852. package/src/plugins/storage-mongodb/rx-storage-mongodb.ts +33 -0
  1853. package/src/plugins/storage-remote/index.ts +5 -0
  1854. package/src/plugins/storage-remote/message-channel-cache.ts +88 -0
  1855. package/src/plugins/storage-remote/remote.ts +285 -0
  1856. package/src/plugins/storage-remote/rx-storage-remote.ts +286 -0
  1857. package/src/plugins/storage-remote/storage-remote-helpers.ts +33 -0
  1858. package/src/plugins/storage-remote/storage-remote-types.ts +118 -0
  1859. package/src/plugins/storage-remote-websocket/index.ts +218 -0
  1860. package/src/plugins/storage-remote-websocket/types.ts +34 -0
  1861. package/src/plugins/storage-sqlite/index.ts +64 -0
  1862. package/src/plugins/storage-sqlite/sqlite-basics-helpers.ts +656 -0
  1863. package/src/plugins/storage-sqlite/sqlite-helpers.ts +287 -0
  1864. package/src/plugins/storage-sqlite/sqlite-storage-instance.ts +507 -0
  1865. package/src/plugins/storage-sqlite/sqlite-types.ts +151 -0
  1866. package/src/plugins/test-utils/config.ts +135 -0
  1867. package/src/plugins/test-utils/humans-collection.ts +557 -0
  1868. package/src/plugins/test-utils/index.ts +24 -0
  1869. package/src/plugins/test-utils/performance.ts +344 -0
  1870. package/src/plugins/test-utils/replication-base-test-suite.ts +236 -0
  1871. package/src/plugins/test-utils/replication.ts +95 -0
  1872. package/src/plugins/test-utils/revisions.ts +4 -0
  1873. package/src/plugins/test-utils/schema-objects.ts +527 -0
  1874. package/src/plugins/test-utils/schemas.ts +1391 -0
  1875. package/src/plugins/test-utils/test-util.ts +85 -0
  1876. package/src/plugins/update/index.ts +57 -0
  1877. package/src/plugins/update/mingo-updater.ts +26 -0
  1878. package/src/plugins/utils/index.ts +20 -0
  1879. package/src/plugins/utils/utils-array.ts +152 -0
  1880. package/src/plugins/utils/utils-base64.ts +49 -0
  1881. package/src/plugins/utils/utils-blob.ts +65 -0
  1882. package/src/plugins/utils/utils-document.ts +117 -0
  1883. package/src/plugins/utils/utils-error.ts +53 -0
  1884. package/src/plugins/utils/utils-global.ts +5 -0
  1885. package/src/plugins/utils/utils-hash.ts +62 -0
  1886. package/src/plugins/utils/utils-map.ts +23 -0
  1887. package/src/plugins/utils/utils-number.ts +9 -0
  1888. package/src/plugins/utils/utils-object-deep-equal.ts +46 -0
  1889. package/src/plugins/utils/utils-object-dot-prop.ts +365 -0
  1890. package/src/plugins/utils/utils-object.ts +272 -0
  1891. package/src/plugins/utils/utils-other.ts +58 -0
  1892. package/src/plugins/utils/utils-premium.ts +37 -0
  1893. package/src/plugins/utils/utils-promise.ts +171 -0
  1894. package/src/plugins/utils/utils-regex.ts +2 -0
  1895. package/src/plugins/utils/utils-revision.ts +55 -0
  1896. package/src/plugins/utils/utils-rxdb-version.template.ts +4 -0
  1897. package/src/plugins/utils/utils-rxdb-version.ts +4 -0
  1898. package/src/plugins/utils/utils-string.ts +91 -0
  1899. package/src/plugins/utils/utils-time.ts +37 -0
  1900. package/src/plugins/validate-ajv/index.ts +61 -0
  1901. package/src/plugins/validate-is-my-json-valid/index.ts +30 -0
  1902. package/src/plugins/validate-z-schema/index.ts +58 -0
  1903. package/src/plugins/vector/helper.ts +0 -0
  1904. package/src/plugins/vector/index.ts +2 -0
  1905. package/src/plugins/vector/types.ts +1 -0
  1906. package/src/plugins/vector/vector-distance.ts +34 -0
  1907. package/src/plugins/webmcp/index.ts +2 -0
  1908. package/src/plugins/webmcp/nosql-query-schema.ts +299 -0
  1909. package/src/plugins/webmcp/webmcp.ts +319 -0
  1910. package/src/query-cache.ts +139 -0
  1911. package/src/query-planner.ts +386 -0
  1912. package/src/replication-protocol/checkpoint.ts +154 -0
  1913. package/src/replication-protocol/conflicts.ts +53 -0
  1914. package/src/replication-protocol/default-conflict-handler.ts +43 -0
  1915. package/src/replication-protocol/downstream.ts +550 -0
  1916. package/src/replication-protocol/helper.ts +96 -0
  1917. package/src/replication-protocol/index.ts +348 -0
  1918. package/src/replication-protocol/meta-instance.ts +195 -0
  1919. package/src/replication-protocol/upstream.ts +560 -0
  1920. package/src/rx-change-event.ts +137 -0
  1921. package/src/rx-collection-helper.ts +262 -0
  1922. package/src/rx-collection.ts +1306 -0
  1923. package/src/rx-database-internal-store.ts +402 -0
  1924. package/src/rx-database.ts +919 -0
  1925. package/src/rx-document-prototype-merge.ts +124 -0
  1926. package/src/rx-document.ts +557 -0
  1927. package/src/rx-error.ts +190 -0
  1928. package/src/rx-query-helper.ts +317 -0
  1929. package/src/rx-query-mingo.ts +87 -0
  1930. package/src/rx-query-single-result.ts +110 -0
  1931. package/src/rx-query.ts +887 -0
  1932. package/src/rx-schema-helper.ts +391 -0
  1933. package/src/rx-schema.ts +247 -0
  1934. package/src/rx-storage-helper.ts +1050 -0
  1935. package/src/rx-storage-multiinstance.ts +188 -0
  1936. package/src/types/conflict-handling.d.ts +48 -0
  1937. package/src/types/couchdb.d.ts +293 -0
  1938. package/src/types/index.d.ts +32 -0
  1939. package/src/types/modules/index.d.ts +0 -0
  1940. package/src/types/modules/mocha.parallel.d.ts +1 -0
  1941. package/src/types/plugins/backup.d.ts +35 -0
  1942. package/src/types/plugins/cleanup.d.ts +38 -0
  1943. package/src/types/plugins/crdt.d.ts +76 -0
  1944. package/src/types/plugins/dexie.d.ts +30 -0
  1945. package/src/types/plugins/local-documents.d.ts +49 -0
  1946. package/src/types/plugins/migration.d.ts +14 -0
  1947. package/src/types/plugins/reactivity.d.ts +40 -0
  1948. package/src/types/plugins/replication-graphql.d.ts +98 -0
  1949. package/src/types/plugins/replication.d.ts +175 -0
  1950. package/src/types/plugins/state.d.ts +4 -0
  1951. package/src/types/plugins/update.d.ts +23 -0
  1952. package/src/types/plugins/webmcp.d.ts +40 -0
  1953. package/src/types/query-planner.d.ts +47 -0
  1954. package/src/types/replication-protocol.d.ts +296 -0
  1955. package/src/types/rx-attachment.d.ts +46 -0
  1956. package/src/types/rx-change-event.d.ts +85 -0
  1957. package/src/types/rx-collection.d.ts +117 -0
  1958. package/src/types/rx-database-internal-store.d.ts +54 -0
  1959. package/src/types/rx-database.d.ts +124 -0
  1960. package/src/types/rx-document.d.ts +160 -0
  1961. package/src/types/rx-error.d.ts +222 -0
  1962. package/src/types/rx-plugin.d.ts +167 -0
  1963. package/src/types/rx-query.d.ts +144 -0
  1964. package/src/types/rx-schema.d.ts +209 -0
  1965. package/src/types/rx-storage.d.ts +347 -0
  1966. package/src/types/rx-storage.interface.d.ts +312 -0
  1967. package/src/types/util.d.ts +180 -0
  1968. package/tsconfig.json +54 -0
  1969. package/tsconfig.lint.json +18 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-messages.js","names":["NON_PREMIUM_COLLECTION_LIMIT","ERROR_MESSAGES","UT1","message","cause","fix","docs","UT2","UT3","UT4","UT5","UT6","UT7","UT8","PL1","PL3","P2","QU1","QU4","QU5","QU6","QU9","QU10","QU11","QU12","QU13","QU14","QU15","QU16","QU17","QU18","QU19","MQ1","MQ2","MQ3","MQ4","MQ5","MQ6","MQ7","MQ8","DB1","DB2","DB3","DB4","DB5","DB6","DB8","DB9","DB11","DB12","DB13","DB14","COL1","COL2","COL3","COL4","COL5","COL6","COL7","COL8","COL9","COL10","COL11","COL12","COL13","COL14","COL15","COL16","COL17","COL18","COL20","COL21","WMCP1","CONFLICT","COL22","COL23","COL24","DOC1","DOC2","DOC3","DOC4","DOC5","DOC6","DOC7","DOC8","DOC9","DOC10","DOC11","DOC13","DOC14","DOC15","DOC16","DOC17","DOC18","DOC19","DOC20","DOC21","DOC22","DOC23","DOC24","DM1","DM2","DM3","DM4","DM5","AT1","AT2","AT3","AT4","EN1","EN2","EN3","EN4","JD1","JD2","JD3","LD1","LD2","LD3","LD4","LD5","LD6","LD7","LD8","RC1","RC2","RC4","RC5","RC6","RC7","RC_PULL","RC_STREAM","RC_PUSH","RC_PUSH_NO_AR","RC_WEBRTC_PEER","RC_COUCHDB_1","RC_COUCHDB_2","RC_OUTDATED","RC_UNAUTHORIZED","RC_FORBIDDEN","SC1","SC2","SC3","SC4","SC6","SC7","SC8","SC10","SC11","SC13","SC14","SC15","SC16","SC17","SC18","SC19","SC20","SC21","SC22","SC23","SC24","SC25","SC26","SC28","SC29","SC30","SC32","SC33","SC34","SC35","SC36","SC37","SC38","SC39","SC40","SC41","SC42","DVM1","VD1","VD2","S1","GQL1","GQL3","CRDT1","CRDT2","CRDT3","DXE1","SQL1","SQL2","SQL3","RM1","MG1","R1","R2","R3","GDR1","GDR3","GDR9","GDR11","GDR18","GDR19","ODR1","ODR3","ODR9","ODR11","ODR18","ODR19","FETCH","SNH"],"sources":["../../../../src/plugins/dev-mode/error-messages.ts"],"sourcesContent":["/**\r\n * this plugin adds the error-messages\r\n * without it, only error-codes will be shown\r\n * This is mainly because error-string are hard to compress and we need a smaller build\r\n */\r\n\r\nimport { NON_PREMIUM_COLLECTION_LIMIT } from '../utils/utils-premium.ts';\r\n\r\n\r\nexport const ERROR_MESSAGES = {\r\n // util.js / config\r\n UT1: {\r\n message: 'given name is no string or empty',\r\n cause: 'The database name must be a non-empty string.',\r\n fix: 'Check the name used when creating the database.',\r\n docs: ''\r\n },\r\n UT2: {\r\n message: `collection- and database-names must match the regex to be compatible with couchdb databases.\r\n See https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/\r\n info: if your database-name specifies a folder, the name must contain the slash-char '/' or '\\\\'`,\r\n cause: 'The database name does not match the regex required for CouchDB compatibility.',\r\n fix: 'Change the database name to match the regex: ^[a-z][_$a-zA-Z0-9\\\\-]*$',\r\n docs: ''\r\n },\r\n UT3: {\r\n message: 'replication-direction must either be push or pull or both. But not none',\r\n cause: 'Replication must have at least one direction (push or pull) enabled.',\r\n fix: 'Set push or pull to true or provide options for them.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=UT3'\r\n },\r\n UT4: {\r\n message: 'given leveldown is no valid adapter',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n UT5: {\r\n message: 'keyCompression is set to true in the schema but no key-compression handler is used in the storage',\r\n cause: 'Key compression is not supported by this RxStorage adapter or you forgot to add the key-compression plugin.',\r\n fix: 'Disable key compression in the schema or add the proper plugin.',\r\n docs: ''\r\n },\r\n UT6: {\r\n message: 'schema contains encrypted fields but no encryption handler is used in the storage',\r\n cause: 'Encryption is not supported by this RxStorage adapter or you forgot to add the encryption plugin.',\r\n fix: 'Disable encryption in the schema or add the proper plugin.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=UT6'\r\n },\r\n UT7: {\r\n message: 'attachments.compression is enabled but no attachment-compression plugin is used',\r\n cause: 'Attachment compression is not supported by this RxStorage adapter or you forgot to add the attachment-compression plugin.',\r\n fix: 'Disable attachment compression in the schema or add the proper plugin.',\r\n docs: ''\r\n },\r\n UT8: {\r\n message: 'crypto.subtle.digest is not available in your runtime. For expo/react-native you need to polyfill those, see https://github.com/pubkey/rxdb/blob/master/examples/react-native/initializeDb.js#L24 ',\r\n cause: 'The Web Crypto API is not available in this environment.',\r\n fix: 'Use a polyfill or an environment that supports the Web Crypto API, or provide a custom hash function.',\r\n docs: 'https://rxdb.info/rx-database.html?console=errors&code=UT8#ignoreduplicate'\r\n },\r\n\r\n // plugins\r\n PL1: {\r\n message: 'Given plugin is not RxDB plugin.',\r\n cause: 'The added plugin is not a valid RxDB plugin object.',\r\n fix: 'Ensure you are adding a valid RxDB plugin object.',\r\n docs: 'https://rxdb.info/plugins.html?console=errors&code=PL1'\r\n },\r\n // removed in 14.0.0 - PouchDB RxStorage was removed - PL2: 'You tried importing a RxDB plugin to pouchdb. Use addRxPlugin() instead.',\r\n PL3: {\r\n message: 'A plugin with the same name was already added but it was not the exact same JavaScript object',\r\n cause: 'A plugin with the same name has already been added.',\r\n fix: 'Check if you are adding the same plugin twice or if you have multiple versions of the same plugin.',\r\n docs: 'https://rxdb.info/plugins.html?console=errors&code=PL3'\r\n },\r\n\r\n // pouch-db.js\r\n // removed in 12.0.0 - P1: 'PouchDB.getBatch: limit must be > 2',\r\n P2: {\r\n message: 'bulkWrite() cannot be called with an empty array',\r\n cause: 'bulkWrite was called with an empty array of documents.',\r\n fix: 'Ensure the array passed to bulkWrite is not empty.',\r\n docs: ''\r\n },\r\n // removed in 12.0.0 - P3: 'bulkAddRevisions cannot be called with an empty array',\r\n\r\n // rx-query\r\n QU1: {\r\n message: 'RxQuery._execOverDatabase(): op not known',\r\n cause: 'Unknown RxQuery operation.',\r\n fix: 'This is likely an internal error. Contact the maintainer.',\r\n docs: ''\r\n },\r\n // removed in 9.0.0 - QU2: 'limit() must get a number',\r\n // removed in 9.0.0 - QU3: 'skip() must get a number',\r\n QU4: {\r\n message: 'RxQuery.regex(): You cannot use .regex() on the primary field',\r\n cause: 'This is not supported by the query engine.',\r\n fix: 'Use a different field or a primary key lookup.',\r\n docs: 'https://rxdb.info/rx-query.html?console=errors&code=QU4'\r\n },\r\n QU5: {\r\n message: 'RxQuery.sort(): does not work because key is not defined in the schema',\r\n cause: 'The field used for sorting is not defined in the schema.',\r\n fix: 'Add the field to the schema or sort by a different field.',\r\n docs: 'https://rxdb.info/rx-query.html?console=errors&code=QU5#sort'\r\n },\r\n QU6: {\r\n message: 'RxQuery.limit(): cannot be called on .findOne()',\r\n cause: 'findOne queries cannot have a limit.',\r\n fix: 'Remove the limit from the query or use find() instead.',\r\n docs: 'https://rxdb.info/rx-query.html?console=errors&code=QU6'\r\n },\r\n // removed in 12.0.0 (should by ensured by the typings) - QU7: 'query must be an object',\r\n // removed in 12.0.0 (should by ensured by the typings) - QU8: 'query cannot be an array',\r\n QU9: {\r\n message: 'throwIfMissing can only be used in findOne queries',\r\n cause: 'throwIfMissing was used on a find query.',\r\n fix: 'Use findOne if you want to use throwIfMissing or remove the flag.',\r\n docs: ''\r\n },\r\n QU10: {\r\n message: 'result empty and throwIfMissing: true',\r\n cause: 'exec(true) was called but the document was not found.',\r\n fix: 'Ensure the document exists or do not use the throwIfMissing flag.',\r\n docs: ''\r\n },\r\n QU11: {\r\n message: 'RxQuery: no valid query params given',\r\n cause: 'The query object is not a valid Mango query or contains invalid keys.',\r\n fix: 'Ensure the query object is a valid Mango query.',\r\n docs: 'https://rxdb.info/rx-query.html?console=errors&code=QU11'\r\n },\r\n QU12: {\r\n message: 'Given index is not in schema',\r\n cause: 'The index used in the query is not defined in the schema.',\r\n fix: 'Add the index to the schema or use a different index.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=QU12#indexes'\r\n },\r\n QU13: {\r\n message: 'A top level field of the query is not included in the schema',\r\n cause: 'A field used in the query is not defined in the schema.',\r\n fix: 'Ensure all fields in the query are defined in the schema.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=QU13'\r\n },\r\n QU14: {\r\n message: 'Running a count() query in slow mode is now allowed. Either run a count() query with a selector that fully matches an index ' +\r\n 'or set allowSlowCount=true when calling the createRxDatabase',\r\n cause: 'A count query is running without an index, which is slow.',\r\n fix: 'Add an index for the query or allow slow count queries.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=QU14#count'\r\n },\r\n QU15: {\r\n message: 'For count queries it is not allowed to use skip or limit',\r\n cause: 'Count queries cannot have a limit or skip.',\r\n fix: 'Remove limit and skip from the count query.',\r\n docs: ''\r\n },\r\n QU16: {\r\n message: '$regex queries must be defined by a string, not an RegExp instance. ' +\r\n 'This is because RegExp objects cannot be JSON stringified and also they are mutable which would be dangerous',\r\n cause: 'RegExp objects are not allowed in queries.',\r\n fix: 'Use string based regex operators instead.',\r\n docs: 'https://rxdb.info/rx-query.html?console=errors&code=QU16#regex'\r\n },\r\n QU17: {\r\n message: 'Chained queries cannot be used on findByIds() RxQuery instances',\r\n cause: 'Query builder methods cannot be used with findByIds.',\r\n fix: 'Use find() if you want to use the query builder.',\r\n docs: ''\r\n },\r\n QU18: {\r\n message: 'Malformed query result data. This likely happens because you create a OPFS-storage RxDatabase inside of a worker but did not set the usesRxDatabaseInWorker setting. https://rxdb.info/rx-storage-opfs.html?console=opfs#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker ',\r\n cause: 'The result data for the query is undefined or malformed.',\r\n fix: 'Check if you are using OPFS in a worker correctly.',\r\n docs: 'https://rxdb.info/rx-storage-opfs.html?console=errors&code=QU18#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker'\r\n },\r\n QU19: {\r\n message: 'Queries must not contain fields or properties with the value `undefined`: https://github.com/pubkey/rxdb/issues/6792#issuecomment-2624555824 ',\r\n cause: 'A field in the query is undefined.',\r\n fix: 'Ensure all fields in the query have valid values.',\r\n docs: 'https://github.com/pubkey/rxdb/issues/6792?console=errors&code=QU19#issuecomment-2624555824'\r\n },\r\n\r\n // mquery.js\r\n MQ1: {\r\n message: 'path must be a string or object',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ2: {\r\n message: 'Invalid argument',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ3: {\r\n message: 'Invalid sort() argument. Must be a string, object, or array',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ4: {\r\n message: 'Invalid argument. Expected instanceof mquery or plain object',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ5: {\r\n message: 'method must be used after where() when called with these arguments',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ6: {\r\n message: 'Can\\'t mix sort syntaxes. Use either array or object | .sort([[\\'field\\', 1], [\\'test\\', -1]]) | .sort({ field: 1, test: -1 })',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ7: {\r\n message: 'Invalid sort value',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n MQ8: {\r\n message: 'Can\\'t mix sort syntaxes. Use either array or object',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n\r\n // rx-database\r\n DB1: {\r\n message: 'RxDocument.prepare(): another instance on this adapter has a different password',\r\n cause: 'You tried to create a secondary instance on an adapter that is already used by another instance with a different password.',\r\n fix: 'Ensure that all instances use the same password.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=DB1'\r\n },\r\n DB2: {\r\n message: 'RxDatabase.addCollections(): collection-names cannot start with underscore _',\r\n cause: 'You tried to create a collection where the name starts with an underscore.',\r\n fix: 'Change the collection name so it does not start with an underscore.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=DB2'\r\n },\r\n DB3: {\r\n message: 'RxDatabase.addCollections(): collection already exists. use myDatabase[collectionName] to get it',\r\n cause: 'You tried to add a collection that already exists on this database instance.',\r\n fix: 'Use the existing collection or use a different name.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=DB3'\r\n },\r\n DB4: {\r\n message: 'RxDatabase.addCollections(): schema is missing',\r\n cause: 'You called addCollections() but did not provide a schema for the collection.',\r\n fix: 'Provide a valid schema for the collection.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DB4'\r\n },\r\n DB5: {\r\n message: 'RxDatabase.addCollections(): collection-name not allowed',\r\n cause: 'You used a collection name that contains invalid characters.',\r\n fix: 'Use only allowed characters (a-z, A-Z, 0-9, -, _).',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=DB5'\r\n },\r\n DB6: {\r\n message: 'RxDatabase.addCollections(): another instance created this collection with a different schema. Read thishttps://rxdb.info/rx-schema.html?console=qa#faq ',\r\n cause: 'The schema hash does not match the schema stored in the internal database.',\r\n fix: 'If you changed the schema, you must increment the version number. If not, check why the hash is different.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DB6#faq'\r\n },\r\n // removed in 13.0.0 (now part of the encryption plugin) DB7: 'RxDatabase.addCollections(): schema encrypted but no password given',\r\n DB8: {\r\n message: 'createRxDatabase(): A RxDatabase with the same name and adapter already exists.\\n' +\r\n 'Make sure to use this combination of storage+databaseName only once\\n' +\r\n 'If you have the duplicate database on purpose to simulate multi-tab behavior in unit tests, set \"ignoreDuplicate: true\".\\n' +\r\n 'As alternative you can set \"closeDuplicates: true\" like if this happens in your react projects with hot reload that reloads the code without reloading the process.',\r\n cause: 'You created multiple RxDatabase instances with the same name and adapter.',\r\n fix: 'Ensure that you only create one instance of the database.',\r\n docs: 'https://rxdb.info/rx-database.html?console=errors&code=DB8'\r\n },\r\n DB9: {\r\n message: 'ignoreDuplicate is only allowed in dev-mode and must never be used in production',\r\n cause: 'You used the ignoreDuplicate option in a production environment.',\r\n fix: 'Remove ignoreDuplicate: true or switch to dev-mode.',\r\n docs: 'https://rxdb.info/rx-database.html?console=errors&code=DB9'\r\n },\r\n // removed in 14.0.0 - PouchDB RxStorage is removed - DB9: 'createRxDatabase(): Adapter not added. Use addPouchPlugin(require(\\'pouchdb-adapter-[adaptername]\\'));',\r\n // removed in 14.0.0 - PouchDB RxStorage is removed DB10: 'createRxDatabase(): To use leveldown-adapters, you have to add the leveldb-plugin. Use addPouchPlugin(require(\\'pouchdb-adapter-leveldb\\'));',\r\n DB11: {\r\n message: 'createRxDatabase(): Invalid db-name, folder-paths must not have an ending slash',\r\n cause: 'The database name or path has a trailing slash.',\r\n fix: 'Remove the trailing slash from the name/path.',\r\n docs: 'https://rxdb.info/rx-database.html?console=errors&code=DB11'\r\n },\r\n DB12: {\r\n message: 'RxDatabase.addCollections(): could not write to internal store',\r\n cause: 'Writing to the internal storage failed.',\r\n fix: 'Check your storage configuration and permissions.',\r\n docs: 'https://rxdb.info/rx-storage.html?console=errors&code=DB12'\r\n },\r\n DB13: {\r\n message: 'createRxDatabase(): Invalid db-name or collection name, name contains the dollar sign',\r\n cause: 'The name contains a dollar sign which is not allowed.',\r\n fix: 'Remove the dollar sign from the name.',\r\n docs: 'https://rxdb.info/rx-database.html?console=errors&code=DB13'\r\n },\r\n DB14: {\r\n message: 'no custom reactivity factory added on database creation',\r\n cause: 'You tried to use reactivity but no factory was provided.',\r\n fix: 'Add a reactivity factory (e.g. for React, Vue, Angular) or use a plugin that adds one.',\r\n docs: 'https://rxdb.info/reactivity.html?console=errors&code=DB14'\r\n },\r\n\r\n // rx-collection\r\n COL1: {\r\n message: 'RxDocument.insert() You cannot insert an existing document',\r\n cause: 'You tried to insert a document with a primary key that already exists.',\r\n fix: 'Use upsert() if you want to overwrite.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=COL1#insert'\r\n },\r\n COL2: {\r\n message: 'RxCollection.insert() fieldName ._id can only be used as primaryKey',\r\n cause: 'You have a field named \"_id\" but it is not defined as the primary key.',\r\n fix: 'Rename the field or use it as the primary key.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=COL2'\r\n },\r\n COL3: {\r\n message: 'RxCollection.upsert() does not work without primary',\r\n cause: 'You called upsert() but the document data does not contain the primary key.',\r\n fix: 'Ensure the primary key is present in the document data.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=COL3#upsert'\r\n },\r\n COL4: {\r\n message: 'RxCollection.incrementalUpsert() does not work without primary',\r\n cause: 'You called incrementalUpsert() but the document data does not contain the primary key.',\r\n fix: 'Ensure the primary key is present in the document data.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=COL4#incrementalupsert'\r\n },\r\n COL5: {\r\n message: 'RxCollection.find() if you want to search by _id, use .findOne(_id)',\r\n cause: 'You called find() with a string argument, which was supported in older versions.',\r\n fix: 'Use findOne(id) to find a single document by ID.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=COL5#find'\r\n },\r\n COL6: {\r\n message: 'RxCollection.findOne() needs a queryObject or string. Notice that in RxDB, primary keys must be strings and cannot be numbers.',\r\n cause: 'You called findOne() with an invalid argument (likely a number or array).',\r\n fix: 'Use a string ID or a mongo-style query object.',\r\n docs: 'https://rxdb.info/rx-collection.html?console=errors&code=COL6#findone'\r\n },\r\n COL7: {\r\n message: 'hook must be a function',\r\n cause: 'You provided a hook that is not a function.',\r\n fix: 'Ensure the hook is a function.',\r\n docs: 'https://rxdb.info/middleware.html?console=errors&code=COL7'\r\n },\r\n COL8: {\r\n message: 'hooks-when not known',\r\n cause: 'You provided a hook with an invalid \"when\" parameter (must be \"pre\" or \"post\").',\r\n fix: 'Use \"pre\" or \"post\" as the \"when\" parameter.',\r\n docs: 'https://rxdb.info/middleware.html?console=errors&code=COL8'\r\n },\r\n COL9: {\r\n message: 'RxCollection.addHook() hook-name not known',\r\n cause: 'You provided a hook name that is not known (e.g. insert, save, remove).',\r\n fix: 'Use a valid hook name.',\r\n docs: 'https://rxdb.info/middleware.html?console=errors&code=COL9'\r\n },\r\n COL10: {\r\n message: 'RxCollection .postCreate-hooks cannot be async',\r\n cause: 'You defined a postCreate hook as async, which is not allowed.',\r\n fix: 'Make the postCreate hook synchronous.',\r\n docs: 'https://rxdb.info/middleware.html?console=errors&code=COL10'\r\n },\r\n COL11: {\r\n message: 'migrationStrategies must be an object',\r\n cause: 'You provided migration strategies that are not an object.',\r\n fix: 'Provide an object mapping versions to migration functions.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=COL11'\r\n },\r\n COL12: {\r\n message: 'A migrationStrategy is missing or too much',\r\n cause: 'The number of migration strategies does not match the schema version difference.',\r\n fix: 'Ensure you have a migration strategy for every version step.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=COL12'\r\n },\r\n COL13: {\r\n message: 'migrationStrategy must be a function',\r\n cause: 'One of your migration strategies is not a function.',\r\n fix: 'Ensure all migration strategies are functions.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=COL13'\r\n },\r\n COL14: {\r\n message: 'given static method-name is not a string',\r\n cause: 'The name of a static method is not a string.',\r\n fix: 'Provide a string as the method name.',\r\n docs: 'https://rxdb.info/orm.html?console=errors&code=COL14'\r\n },\r\n COL15: {\r\n message: 'static method-names cannot start with underscore _',\r\n cause: 'You tried to define a static method starting with an underscore.',\r\n fix: 'Rename the method.',\r\n docs: 'https://rxdb.info/orm.html?console=errors&code=COL15'\r\n },\r\n COL16: {\r\n message: 'given static method is not a function',\r\n cause: 'You provided a static method that is not a function.',\r\n fix: 'Ensure the static method is a function.',\r\n docs: 'https://rxdb.info/orm.html?console=errors&code=COL16'\r\n },\r\n COL17: {\r\n message: 'RxCollection.ORM: statics-name not allowed',\r\n cause: 'You used a reserved name for a static method.',\r\n fix: 'Choose a different name for the static method.',\r\n docs: 'https://rxdb.info/orm.html?console=errors&code=COL17'\r\n },\r\n COL18: {\r\n message: 'collection-method not allowed because fieldname is in the schema',\r\n cause: 'You tried to define a collection method that conflicts with a schema field.',\r\n fix: 'Rename the collection method or the schema field.',\r\n docs: 'https://rxdb.info/orm.html?console=errors&code=COL18'\r\n },\r\n // removed in 14.0.0, use CONFLICT instead - COL19: 'Document update conflict. When changing a document you must work on the previous revision',\r\n COL20: {\r\n message: 'Storage write error',\r\n cause: 'The storage engine returned an error when writing data.',\r\n fix: 'Check the error details.',\r\n docs: 'https://rxdb.info/rx-storage.html?console=errors&code=COL20'\r\n },\r\n COL21: {\r\n message: 'The RxCollection is closed or removed already, either from this JavaScript realm or from another, like a browser tab',\r\n cause: 'You tried to access a collection that has been closed or removed.',\r\n fix: 'Ensure the collection is open before accessing it.',\r\n docs: ''\r\n },\r\n\r\n // plugins/webmcp\r\n WMCP1: {\r\n message: 'WebMCP Agent attempted to delete a document that does not exist',\r\n cause: 'The explicitly requested ID for deletion could not be found in the database.',\r\n fix: 'Ensure the agent queries for the document correctly before trying to delete it.',\r\n docs: ''\r\n },\r\n CONFLICT: {\r\n message: 'Document update conflict. When changing a document you must work on the previous revision',\r\n cause: 'You tried to update a document but the revision you provided is not the latest one.',\r\n fix: 'Fetch the latest document revision and apply your changes again.',\r\n docs: 'https://rxdb.info/transactions-conflicts-revisions.html?console=errors&code=CONFLICT'\r\n },\r\n COL22: {\r\n message: '.bulkInsert() and .bulkUpsert() cannot be run with multiple documents that have the same primary key',\r\n cause: 'You provided multiple documents with the same primary key in a bulk write.',\r\n fix: 'Ensure all documents in a bulk write have unique primary keys.',\r\n docs: ''\r\n },\r\n COL23: {\r\n message: 'In the open-source version of RxDB, the amount of collections that can exist in parallel is limited to ' + NON_PREMIUM_COLLECTION_LIMIT + '. If you already purchased the premium access, you can remove this limit: https://rxdb.info/rx-collection.html?console=limit#faq',\r\n cause: 'You have reached the limit of open collections for the free version.',\r\n fix: 'Reduce the number of open collections or upgrade to premium.',\r\n docs: 'https://rxdb.info/premium.html?console=errors&code=COL23'\r\n },\r\n COL24: {\r\n message: 'inline _attachments must be an array of { id, type, data } objects; the map format is reserved for internal use only',\r\n cause: 'An object was passed as _attachments that is neither an array of attachment creators nor a fully-normalized internal map.',\r\n fix: 'Pass attachments as an array: [{ id, type, data }]. This is the same format used by putAttachment().',\r\n docs: 'https://rxdb.info/rx-attachment.html?console=errors&code=COL24'\r\n },\r\n\r\n // rx-document.js\r\n DOC1: {\r\n message: 'RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed',\r\n cause: 'You tried to observe an array item, which is not supported.',\r\n fix: 'Observe the array field itself.',\r\n docs: ''\r\n },\r\n DOC2: {\r\n message: 'cannot observe primary path',\r\n cause: 'You tried to observe the primary key, which is immutable.',\r\n fix: 'Observe the document itself or use findOne().',\r\n docs: ''\r\n },\r\n DOC3: {\r\n message: 'final fields cannot be observed',\r\n cause: 'You tried to observe a final field, which is immutable.',\r\n fix: 'Observe the document itself.',\r\n docs: ''\r\n },\r\n DOC4: {\r\n message: 'RxDocument.get$ cannot observe a non-existed field',\r\n cause: 'The field you tried to observe is not defined in the schema.',\r\n fix: 'Check the field name and schema definition.',\r\n docs: ''\r\n },\r\n DOC5: {\r\n message: 'RxDocument.populate() cannot populate a non-existed field',\r\n cause: 'The field you tried to populate is not defined in the schema.',\r\n fix: 'Check the field name and schema definition.',\r\n docs: 'https://rxdb.info/population.html?console=errors&code=DOC5'\r\n },\r\n DOC6: {\r\n message: 'RxDocument.populate() cannot populate because path has no ref',\r\n cause: 'The field you tried to populate does not have a \"ref\" property in the schema.',\r\n fix: 'Add the \"ref\" property to the field schema.',\r\n docs: 'https://rxdb.info/population.html?console=errors&code=DOC6'\r\n },\r\n DOC7: {\r\n message: 'RxDocument.populate() ref-collection not in database',\r\n cause: 'The collection referenced in the schema does not exist.',\r\n fix: 'Create the referenced collection.',\r\n docs: 'https://rxdb.info/population.html?console=errors&code=DOC7'\r\n },\r\n DOC8: {\r\n message: 'RxDocument.set(): primary-key cannot be modified',\r\n cause: 'You tried to modify the primary key of a document.',\r\n fix: 'Primary keys are immutable. Create a new document with the new ID instead.',\r\n docs: ''\r\n },\r\n DOC9: {\r\n message: 'final fields cannot be modified',\r\n cause: 'You tried to modify a field marked as final in the schema.',\r\n fix: 'Final fields are immutable.',\r\n docs: ''\r\n },\r\n DOC10: {\r\n message: 'RxDocument.set(): cannot set childpath when rootPath not selected',\r\n cause: 'You tried to set a nested field without having the root path in the document data.',\r\n fix: 'Ensure the root path exists before setting nested fields.',\r\n docs: ''\r\n },\r\n DOC11: {\r\n message: 'RxDocument.save(): can\\'t save deleted document',\r\n cause: 'You tried to save a document that has already been deleted.',\r\n fix: 'Do not save deleted documents. Insert them again if you want to recreate them.',\r\n docs: ''\r\n },\r\n // removed in 10.0.0 DOC12: 'RxDocument.save(): error',\r\n DOC13: {\r\n message: 'RxDocument.remove(): Document is already deleted',\r\n cause: 'You tried to remove a document that is already deleted.',\r\n fix: 'Check if the document is deleted before removing it.',\r\n docs: ''\r\n },\r\n DOC14: {\r\n message: 'RxDocument.close() does not exist',\r\n cause: 'You called close() on a RxDocument, which is not supported.',\r\n fix: 'Documents do not need to be closed.',\r\n docs: ''\r\n },\r\n DOC15: {\r\n message: 'query cannot be an array',\r\n cause: 'You provided an array as a query, which is not valid.',\r\n fix: 'Provide a valid query object.',\r\n docs: ''\r\n },\r\n DOC16: {\r\n message: 'Since version 8.0.0 RxDocument.set() can only be called on temporary RxDocuments',\r\n cause: 'You called set() on a non-temporary document.',\r\n fix: 'Use update(), patch() or modify() to change document data.',\r\n docs: 'https://rxdb.info/rx-document.html?console=errors&code=DOC16#update'\r\n },\r\n DOC17: {\r\n message: 'Since version 8.0.0 RxDocument.save() can only be called on non-temporary documents',\r\n cause: 'You called save() on a temporary document.',\r\n fix: 'Use another method to save the document or ensure it is not temporary.',\r\n docs: 'https://rxdb.info/rx-document.html?console=errors&code=DOC17#save'\r\n },\r\n DOC18: {\r\n message: 'Document property for composed primary key is missing',\r\n cause: 'A field required for the composite primary key is missing in the document data.',\r\n fix: 'Ensure all fields of the composite primary key are set.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC18#composite-primary-key'\r\n },\r\n DOC19: {\r\n message: 'Value of primary key(s) cannot be changed',\r\n cause: 'You tried to modify the primary key of a document.',\r\n fix: 'Primary keys are immutable. Create a new document with the new ID instead.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC19#primary-key'\r\n },\r\n DOC20: {\r\n message: 'PrimaryKey missing',\r\n cause: 'The document data is missing a primary key.',\r\n fix: 'Ensure the document has a primary key.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC20#primary-key'\r\n },\r\n DOC21: {\r\n message: 'PrimaryKey must be equal to PrimaryKey.trim(). It cannot start or end with a whitespace',\r\n cause: 'The primary key contains leading or trailing whitespace.',\r\n fix: 'Trim the primary key.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC21#primary-key'\r\n },\r\n DOC22: {\r\n message: 'PrimaryKey must not contain a linebreak',\r\n cause: 'The primary key contains newline characters.',\r\n fix: 'Remove newline characters from the primary key.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC22#primary-key'\r\n },\r\n DOC23: {\r\n message: 'PrimaryKey must not contain a double-quote [\"]',\r\n cause: 'The primary key contains double quotes.',\r\n fix: 'Remove double quotes from the primary key.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC23#primary-key'\r\n },\r\n DOC24: {\r\n message: 'Given document data could not be structured cloned. This happens if you pass non-plain-json data into it, like a Date() object or a Function. ' +\r\n 'In vue.js this happens if you use ref() on the document data which transforms it into a Proxy object.',\r\n cause: 'The document data contains objects that cannot be structured-cloned (e.g. Date, RegExp).',\r\n fix: 'Use only JSON-serializable data. Store dates as strings.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=DOC24'\r\n },\r\n\r\n // data-migrator.js\r\n DM1: {\r\n message: 'migrate() Migration has already run',\r\n cause: 'You tried to run the migration manually but it has already been finished.',\r\n fix: 'Check if the migration is already done.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=DM1'\r\n },\r\n DM2: {\r\n message: 'migration of document failed final document does not match final schema',\r\n cause: 'The migration strategy produced a document that does not match the new schema.',\r\n fix: 'Check your migration strategy and the new schema.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=DM2'\r\n },\r\n DM3: {\r\n message: 'migration already running',\r\n cause: 'You started the migration while another migration is already running.',\r\n fix: 'Await the running migration.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=DM3'\r\n },\r\n DM4: {\r\n message: 'Migration errored',\r\n cause: 'An error occurred during migration.',\r\n fix: 'Check the error details.',\r\n docs: 'https://rxdb.info/migration-schema.html?console=errors&code=DM4'\r\n },\r\n DM5: {\r\n message: 'Cannot open database state with newer RxDB version. You have to migrate your database state first. See https://rxdb.info/migration-storage.html?console=storage ',\r\n cause: 'The database was created with an older RxDB version and needs migration.',\r\n fix: 'Run the storage migration.',\r\n docs: 'https://rxdb.info/migration-storage.html?console=errors&code=DM5'\r\n },\r\n\r\n // plugins/attachments.js\r\n AT1: {\r\n message: 'to use attachments, please define this in your schema',\r\n cause: 'You tried to use attachments but they are not enabled in the schema.',\r\n fix: 'Enable attachments in the schema.',\r\n docs: 'https://rxdb.info/rx-attachment.html?console=errors&code=AT1'\r\n },\r\n AT2: {\r\n message: 'inline attachment must have id and type (strings) and data (Blob)',\r\n cause: 'An inline attachment object is missing a required field or data is not a Blob instance.',\r\n fix: 'Ensure each inline attachment has { id: string, type: string, data: Blob }.',\r\n docs: 'https://rxdb.info/rx-attachment.html?console=errors&code=AT2'\r\n },\r\n AT3: {\r\n message: 'duplicate attachment id',\r\n cause: 'The same attachment id appears multiple times in the inline attachments array.',\r\n fix: 'Ensure each attachment id is unique in the array.',\r\n docs: 'https://rxdb.info/rx-attachment.html?console=errors&code=AT3'\r\n },\r\n AT4: {\r\n message: '_attachments missing on document',\r\n cause: 'A document is missing the _attachments property during an attachments write operation.',\r\n fix: 'Ensure documents have the _attachments property set.',\r\n docs: 'https://rxdb.info/rx-attachment.html?console=errors&code=AT4'\r\n },\r\n\r\n // plugins/encryption-crypto-js.js\r\n EN1: {\r\n message: 'password is not valid',\r\n cause: 'The password provided is invalid (must be a string).',\r\n fix: 'Provide a valid string password.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=EN1'\r\n },\r\n EN2: {\r\n message: 'validatePassword: min-length of password not complied',\r\n cause: 'The password is too short.',\r\n fix: 'Use a longer password (min 12 chars).',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=EN2'\r\n },\r\n EN3: {\r\n message: 'Schema contains encrypted properties but no password is given',\r\n cause: 'Encryption enabled in schema but no password provided.',\r\n fix: 'Provide a password.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=EN3'\r\n },\r\n EN4: {\r\n message: 'Password not valid',\r\n cause: 'The password provided is invalid.',\r\n fix: 'Check the password.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=EN4'\r\n },\r\n\r\n // plugins/json-dump.js\r\n JD1: {\r\n message: 'You must create the collections before you can import their data',\r\n cause: 'Importing data into a non-existent collection.',\r\n fix: 'Create the collection before importing.',\r\n docs: 'https://rxdb.info/backup.html?console=errors&code=JD1'\r\n },\r\n JD2: {\r\n message: 'RxCollection.importJSON(): the imported json relies on a different schema',\r\n cause: 'The imported data schema does not match the collection schema.',\r\n fix: 'Ensure schemas match.',\r\n docs: 'https://rxdb.info/backup.html?console=errors&code=JD2'\r\n },\r\n JD3: {\r\n message: 'RxCollection.importJSON(): json.passwordHash does not match the own',\r\n cause: 'Password mismatch in import.',\r\n fix: 'Use the same password.',\r\n docs: 'https://rxdb.info/backup.html?console=errors&code=JD3'\r\n },\r\n\r\n // plugins/leader-election.js\r\n\r\n // plugins/local-documents.js\r\n LD1: {\r\n message: 'RxDocument.allAttachments$ can\\'t use attachments on local documents',\r\n cause: 'You tried to use attachments on a local document, which is not supported.',\r\n fix: 'Do not use attachments with local documents.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD1'\r\n },\r\n LD2: {\r\n message: 'RxDocument.get(): objPath must be a string',\r\n cause: 'The object path provided to get() is not a string.',\r\n fix: 'Provide a valid string path.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD2'\r\n },\r\n LD3: {\r\n message: 'RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed',\r\n cause: 'You tried to observe an array item in a local document.',\r\n fix: 'Observe the whole array instead.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD3'\r\n },\r\n LD4: {\r\n message: 'cannot observe primary path',\r\n cause: 'You tried to observe the primary path of a local document.',\r\n fix: 'Observe the document data instead.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD4'\r\n },\r\n LD5: {\r\n message: 'RxDocument.set() id cannot be modified',\r\n cause: 'You tried to modify the ID of a local document.',\r\n fix: 'IDs are immutable. Create a new document if needed.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD5'\r\n },\r\n LD6: {\r\n message: 'LocalDocument: Function is not usable on local documents',\r\n cause: 'You called a function that is not supported on local documents.',\r\n fix: 'Check the documentation for supported methods.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD6'\r\n },\r\n LD7: {\r\n message: 'Local document already exists',\r\n cause: 'You tried to create a local document that already exists.',\r\n fix: 'Use upsert() or update the existing document.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD7'\r\n },\r\n LD8: {\r\n message: 'localDocuments not activated. Set localDocuments=true on creation, when you want to store local documents on the RxDatabase or RxCollection.',\r\n cause: 'You tried to use local documents but they are not enabled.',\r\n fix: 'Enable local documents when creating the database or collection.',\r\n docs: 'https://rxdb.info/rx-local-document.html?console=errors&code=LD8'\r\n },\r\n\r\n // plugins/replication.js\r\n RC1: {\r\n message: 'Replication: already added',\r\n cause: 'You started a replication that is already running.',\r\n fix: 'Check if the replication is already running before starting it.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC1'\r\n },\r\n RC2: {\r\n message: 'replicateCouchDB() query must be from the same RxCollection',\r\n cause: 'You used a query from a different collection for replication.',\r\n fix: 'Use a query from the same collection.',\r\n docs: 'https://rxdb.info/replication-couchdb.html?console=errors&code=RC2'\r\n },\r\n // removed in 14.0.0 - PouchDB RxStorage is removed RC3: 'RxCollection.syncCouchDB() Do not use a collection\\'s pouchdb as remote, use the collection instead',\r\n RC4: {\r\n message: 'RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication when live: true',\r\n cause: 'You tried to await initial replication on a live replication.',\r\n fix: 'Set live: false if you want to await initial replication.',\r\n docs: 'https://rxdb.info/replication-couchdb.html?console=errors&code=RC4'\r\n },\r\n RC5: {\r\n message: 'RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication if multiInstance because the replication might run on another instance',\r\n cause: 'You tried to await initial replication in a multi-instance environment.',\r\n fix: 'Await initial replication only in single-instance mode.',\r\n docs: 'https://rxdb.info/replication-couchdb.html?console=errors&code=RC5'\r\n },\r\n RC6: {\r\n message: 'syncFirestore() serverTimestampField MUST NOT be part of the collections schema and MUST NOT be nested.',\r\n cause: 'The serverTimestampField is defined in the schema or is nested.',\r\n fix: 'Remove the serverTimestampField from the schema and ensure it is at the top level.',\r\n docs: 'https://rxdb.info/replication-firestore.html?console=errors&code=RC6'\r\n },\r\n RC7: {\r\n message: 'SimplePeer requires to have process.nextTick() polyfilled, see https://rxdb.info/replication-webrtc.html?console=webrtc ',\r\n cause: 'process.nextTick is missing in the runtime environment.',\r\n fix: 'Polyfill process.nextTick.',\r\n docs: 'https://rxdb.info/replication-webrtc.html?console=errors&code=RC7'\r\n },\r\n RC_PULL: {\r\n message: 'RxReplication pull handler threw an error - see .errors for more details',\r\n cause: 'The pull handler of the replication threw an error.',\r\n fix: 'Check the error details in the .errors observable.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_PULL'\r\n },\r\n RC_STREAM: {\r\n message: 'RxReplication pull stream$ threw an error - see .errors for more details',\r\n cause: 'The pull stream of the replication threw an error.',\r\n fix: 'Check the error details in the .errors observable.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_STREAM'\r\n },\r\n RC_PUSH: {\r\n message: 'RxReplication push handler threw an error - see .errors for more details',\r\n cause: 'The push handler of the replication threw an error.',\r\n fix: 'Check the error details in the .errors observable.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_PUSH'\r\n },\r\n RC_PUSH_NO_AR: {\r\n message: 'RxReplication push handler did not return an array with the conflicts',\r\n cause: 'The push handler returned a non-array value.',\r\n fix: 'Ensure the push handler returns an array of conflicting documents.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_PUSH_NO_AR'\r\n },\r\n RC_WEBRTC_PEER: {\r\n message: 'RxReplication WebRTC Peer has error',\r\n cause: 'A WebRTC peer connection error occurred.',\r\n fix: 'Check the network connection and WebRTC configuration.',\r\n docs: 'https://rxdb.info/replication-webrtc.html?console=errors&code=RC_WEBRTC_PEER'\r\n },\r\n RC_COUCHDB_1: {\r\n message: 'replicateCouchDB() url must end with a slash like \\'https://example.com/mydatabase/\\'',\r\n cause: 'The CouchDB URL is missing a trailing slash.',\r\n fix: 'Add a trailing slash to the URL.',\r\n docs: 'https://rxdb.info/replication-couchdb.html?console=errors&code=RC_COUCHDB_1'\r\n },\r\n RC_COUCHDB_2: {\r\n message: 'replicateCouchDB() did not get valid result with rows.',\r\n cause: 'The CouchDB endpoint returned an invalid response.',\r\n fix: 'Check the CouchDB server and the URL.',\r\n docs: 'https://rxdb.info/replication-couchdb.html?console=errors&code=RC_COUCHDB_2'\r\n },\r\n RC_OUTDATED: {\r\n message: 'Outdated client, update required. Replication was canceled',\r\n cause: 'The client version is too old for the server.',\r\n fix: 'Update the client application.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_OUTDATED'\r\n },\r\n RC_UNAUTHORIZED: {\r\n message: 'Unauthorized client, update the replicationState.headers to set correct auth data',\r\n cause: 'The client is not authorized to replicate.',\r\n fix: 'Update authentication headers.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_UNAUTHORIZED'\r\n },\r\n RC_FORBIDDEN: {\r\n message: 'Client behaves wrong so the replication was canceled. Mostly happens if the client tries to write data that it is not allowed to',\r\n cause: 'The server rejected the replication request.',\r\n fix: 'Check server permissions and logs.',\r\n docs: 'https://rxdb.info/replication.html?console=errors&code=RC_FORBIDDEN'\r\n },\r\n\r\n // plugins/dev-mode/check-schema.js\r\n SC1: {\r\n message: 'fieldnames do not match the regex',\r\n cause: 'A field name in the schema contains invalid characters.',\r\n fix: 'Use only allowed characters (a-z, A-Z, 0-9, _, -).',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC1'\r\n },\r\n SC2: {\r\n message: 'SchemaCheck: name \\'item\\' reserved for array-fields',\r\n cause: 'You used \"item\" as a field name, but it is reserved.',\r\n fix: 'Rename the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC2'\r\n },\r\n SC3: {\r\n message: 'SchemaCheck: fieldname has a ref-array but items-type is not string',\r\n cause: 'You defined a reference array but the items are not of type string.',\r\n fix: 'Set the items type to string.',\r\n docs: 'https://rxdb.info/population.html?console=errors&code=SC3'\r\n },\r\n SC4: {\r\n message: 'SchemaCheck: fieldname has a ref but is not type string, [string,null] or array<string>',\r\n cause: 'You defined a reference field but the type is not string or array of strings.',\r\n fix: 'Set the type to string or array of strings.',\r\n docs: 'https://rxdb.info/population.html?console=errors&code=SC4'\r\n },\r\n SC6: {\r\n message: 'SchemaCheck: primary can only be defined at top-level',\r\n cause: 'You defined the primary key in a nested object.',\r\n fix: 'Move the primary key definition to the top level.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC6#primary-key'\r\n },\r\n SC7: {\r\n message: 'SchemaCheck: default-values can only be defined at top-level',\r\n cause: 'You defined a default value in a nested object.',\r\n fix: 'Move default values to the top level.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC7'\r\n },\r\n SC8: {\r\n message: 'SchemaCheck: first level-fields cannot start with underscore _',\r\n cause: 'A top-level field name starts with an underscore.',\r\n fix: 'Rename the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC8'\r\n },\r\n SC10: {\r\n message: 'SchemaCheck: schema defines ._rev, this will be done automatically',\r\n cause: 'You defined _rev in your schema.',\r\n fix: 'Remove _rev from the schema.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC10'\r\n },\r\n SC11: {\r\n message: 'SchemaCheck: schema needs a number >=0 as version',\r\n cause: 'The version field is missing or invalid.',\r\n fix: 'Set a valid version number (>=0).',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC11#version'\r\n },\r\n // removed in 10.0.0 - SC12: 'SchemaCheck: primary can only be defined once',\r\n SC13: {\r\n message: 'SchemaCheck: primary is always index, do not declare it as index',\r\n cause: 'You declared the primary key as an index, which is redundant.',\r\n fix: 'Remove index: true from the primary key field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC13'\r\n },\r\n SC14: {\r\n message: 'SchemaCheck: primary is always unique, do not declare it as index',\r\n cause: 'You declared the primary key as unique, which is redundant.',\r\n fix: 'Remove unique: true from the primary key field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC14'\r\n },\r\n SC15: {\r\n message: 'SchemaCheck: primary cannot be encrypted',\r\n cause: 'You tried to encrypt the primary key.',\r\n fix: 'Primary keys cannot be encrypted.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=SC15'\r\n },\r\n SC16: {\r\n message: 'SchemaCheck: primary must have type: string',\r\n cause: 'The primary key field has a type other than string.',\r\n fix: 'Set the primary key type to string.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC16#primary-key'\r\n },\r\n SC17: {\r\n message: 'SchemaCheck: top-level fieldname is not allowed. See https://rxdb.info/rx-schema.html?console=toplevel#non-allowed-properties ',\r\n cause: 'You used a reserved name for a top-level field.',\r\n fix: 'Rename the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC17'\r\n },\r\n SC18: {\r\n message: 'SchemaCheck: indexes must be an array',\r\n cause: 'The indexes property is not an array.',\r\n fix: 'Set indexes to an array of strings or arrays.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC18#indexes'\r\n },\r\n SC19: {\r\n message: 'SchemaCheck: indexes must contain strings or arrays of strings',\r\n cause: 'An index definition is invalid.',\r\n fix: 'Ensure indexes are strings or arrays of strings.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC19#indexes'\r\n },\r\n SC20: {\r\n message: 'SchemaCheck: indexes.array must contain strings',\r\n cause: 'A compound index contains non-string values.',\r\n fix: 'Ensure compound indexes contain only strings.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC20#indexes'\r\n },\r\n SC21: {\r\n message: 'SchemaCheck: given index is not defined in schema',\r\n cause: 'You defined an index for a field that does not exist.',\r\n fix: 'Check the field name in the index.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC21#indexes'\r\n },\r\n SC22: {\r\n message: 'SchemaCheck: given indexKey is not type:string',\r\n cause: 'You defined an index on a non-string field.',\r\n fix: 'Indexes are only supported on string fields (mostly).',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC22#indexes'\r\n },\r\n SC23: {\r\n message: 'SchemaCheck: fieldname is not allowed',\r\n cause: 'You used a field name that is not allowed (e.g. starts with $ or _).',\r\n fix: 'Rename the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC23'\r\n },\r\n SC24: {\r\n message: 'SchemaCheck: required fields must be set via array. See https://spacetelescope.github.io/understanding-json-schema/reference/object.html#required',\r\n cause: 'The required fields are not defined as an array of strings.',\r\n fix: 'Set required to an array of strings.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC24'\r\n },\r\n SC25: {\r\n message: 'SchemaCheck: compoundIndexes needs to be specified in the indexes field',\r\n cause: 'Compound indexes are not defined correctly.',\r\n fix: 'Define compound indexes in the indexes array.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC25#indexes'\r\n },\r\n SC26: {\r\n message: 'SchemaCheck: indexes needs to be specified at collection schema level',\r\n cause: 'Indexes are defined at the wrong level (e.g. inside properties).',\r\n fix: 'Move indexes to the top level of the schema.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC26#indexes'\r\n },\r\n // removed in 16.0.0 - SC27: 'SchemaCheck: encrypted fields need to be specified at collection schema level',\r\n SC28: {\r\n message: 'SchemaCheck: encrypted fields is not defined in the schema',\r\n cause: 'You tried to use encryption but encrypted fields are not defined.',\r\n fix: 'Define encrypted fields in the schema.',\r\n docs: 'https://rxdb.info/encryption.html?console=errors&code=SC28'\r\n },\r\n SC29: {\r\n message: 'SchemaCheck: missing object key \\'properties\\'',\r\n cause: 'The schema is missing the \"properties\" field.',\r\n fix: 'Add the \"properties\" field to the schema.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC29'\r\n },\r\n SC30: {\r\n message: 'SchemaCheck: primaryKey is required',\r\n cause: 'The schema is missing a primary key.',\r\n fix: 'Define a primary key in the schema.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC30#primary-key'\r\n },\r\n SC32: {\r\n message: 'SchemaCheck: primary field must have the type string/number/integer',\r\n cause: 'The primary key field has an invalid type.',\r\n fix: 'Set the primary key type to string, number, or integer.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC32#primary-key'\r\n },\r\n SC33: {\r\n message: 'SchemaCheck: used primary key is not a property in the schema',\r\n cause: 'The primary key field is not defined in the properties.',\r\n fix: 'Add the primary key field to the properties.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC33#primary-key'\r\n },\r\n SC34: {\r\n message: 'Fields of type string that are used in an index, must have set the maxLength attribute in the schema',\r\n cause: 'A string field used in an index is missing the maxLength attribute.',\r\n fix: 'Set maxLength for the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC34#indexes'\r\n },\r\n SC35: {\r\n message: 'Fields of type number/integer that are used in an index, must have set the multipleOf attribute in the schema',\r\n cause: 'A number field used in an index is missing the multipleOf attribute.',\r\n fix: 'Set multipleOf for the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC35#indexes'\r\n },\r\n SC36: {\r\n message: 'A field of this type cannot be used as index',\r\n cause: 'You tried to index a field type that cannot be indexed (e.g. object, array).',\r\n fix: 'Remove the index or change the field type.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC36#indexes'\r\n },\r\n SC37: {\r\n message: 'Fields of type number that are used in an index, must have set the minimum and maximum attribute in the schema',\r\n cause: 'A number field used in an index is missing minimum/maximum attributes.',\r\n fix: 'Set minimum and maximum for the field.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC37#indexes'\r\n },\r\n SC38: {\r\n message: 'Fields of type boolean that are used in an index, must be required in the schema',\r\n cause: 'A boolean field used in an index is not marked as required.',\r\n fix: 'Mark the field as required.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC38#indexes'\r\n },\r\n SC39: {\r\n message: 'The primary key must have the maxLength attribute set. Ensure you use the dev-mode plugin when developing with RxDB.',\r\n cause: 'The primary key field is missing the maxLength attribute.',\r\n fix: 'Set maxLength for the primary key.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC39#primary-key'\r\n },\r\n SC40: {\r\n message: '$ref fields in the schema are not allowed. RxDB cannot resolve related schemas because it would have a negative performance impact.' +\r\n 'It would have to run http requests on runtime. $ref fields should be resolved during build time.',\r\n cause: 'You used $ref in the schema, which is not supported at runtime.',\r\n fix: 'Resolve $ref fields during build time.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC40'\r\n },\r\n SC41: {\r\n message: 'minimum, maximum and maxLength values for indexes must be real numbers, not Infinity or -Infinity',\r\n cause: 'You used Infinity for min/max/maxLength.',\r\n fix: 'Use real numbers.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC41#indexes'\r\n },\r\n SC42: {\r\n message: 'Primary key and also indexed fields which are strings, must have a maxLength that is <= 2048. Notice that having a big maxLength can negatively affect the performance. Only set it as big as it has to be.',\r\n cause: 'The maxLength is too large (> 2048).',\r\n fix: 'Reduce the maxLength.',\r\n docs: 'https://rxdb.info/rx-schema.html?console=errors&code=SC42#indexes'\r\n },\r\n\r\n\r\n // plugins/dev-mode\r\n // removed in 13.9.0, use PL3 instead - DEV1: 'dev-mode added multiple times',\r\n DVM1: {\r\n message: 'When dev-mode is enabled, your storage must use one of the schema validators at the top level. This is because most problems people have with RxDB is because they store data that is not valid to the schema which causes strange bugs and problems.',\r\n cause: 'The storage Adapter you use does not support schema validation.',\r\n fix: ' Wrap your storage with a validator like wrappedValidateAjvStorage()',\r\n docs: 'https://rxdb.info/rx-storage.html?console=errors&code=DVM1'\r\n },\r\n\r\n // plugins/validate.js\r\n VD1: {\r\n message: 'Sub-schema not found, does the schemaPath exists in your schema?',\r\n cause: 'You tried to validate a sub-path that does not exist in the schema.',\r\n fix: 'Check the schema path.',\r\n docs: 'https://rxdb.info/schema-validation.html?console=errors&code=VD1'\r\n },\r\n VD2: {\r\n message: 'object does not match schema',\r\n cause: 'RxCollection.insert()',\r\n fix: 'Do not store data that does not match the collections schema',\r\n docs: 'https://rxdb.info/schema-validation.html?console=errors&code=VD2'\r\n },\r\n\r\n // plugins/in-memory.js\r\n // removed in 14.0.0 - PouchDB RxStorage is removed IM1: 'InMemory: Memory-Adapter must be added. Use addPouchPlugin(require(\\'pouchdb-adapter-memory\\'));',\r\n // removed in 14.0.0 - PouchDB RxStorage is removed IM2: 'inMemoryCollection.sync(): Do not replicate with the in-memory instance. Replicate with the parent instead',\r\n\r\n // plugins/server.js\r\n S1: {\r\n message: 'You cannot create collections after calling RxDatabase.server()',\r\n cause: 'You tried to add a collection after starting the server.',\r\n fix: 'Add all collections before starting the server.',\r\n docs: 'https://rxdb.info/server.html?console=errors&code=S1'\r\n },\r\n\r\n // plugins/replication-graphql.js\r\n GQL1: {\r\n message: 'GraphQL replication: cannot find sub schema by key',\r\n cause: 'The GraphQL schema is missing a definition for a key.',\r\n fix: 'Check the GraphQL schema.',\r\n docs: 'https://rxdb.info/replication-graphql.html?console=errors&code=GQL1'\r\n },\r\n // removed in 13.0.0, use RC_PULL instead - GQL2: 'GraphQL replication: unknown errors occurred in replication pull - see innerErrors for more details',\r\n GQL3: {\r\n message: 'GraphQL replication: pull returns more documents then batchSize',\r\n cause: 'The GraphQL endpoint returned more documents than requested.',\r\n fix: 'Check the GraphQL resolver.',\r\n docs: 'https://rxdb.info/replication-graphql.html?console=errors&code=GQL3'\r\n },\r\n // removed in 13.0.0, use RC_PUSH instead - GQL4: 'GraphQL replication: unknown errors occurred in replication push - see innerErrors for more details',\r\n\r\n // plugins/crdt/\r\n CRDT1: {\r\n message: 'CRDT operations cannot be used because the crdt options are not set in the schema.',\r\n cause: 'You tried to use CRDT features without enabling them in the schema.',\r\n fix: 'Add crdt: { field: ... } to the schema.',\r\n docs: 'https://rxdb.info/crdt.html?console=errors&code=CRDT1'\r\n },\r\n CRDT2: {\r\n message: 'RxDocument.incrementalModify() cannot be used when CRDTs are activated.',\r\n cause: 'CRDTs replace the need for incrementalModify.',\r\n fix: 'Use CRDT operations instead.',\r\n docs: 'https://rxdb.info/crdt.html?console=errors&code=CRDT2'\r\n },\r\n CRDT3: {\r\n message: 'To use CRDTs you MUST NOT set a conflictHandler because the default CRDT conflict handler must be used',\r\n cause: 'You defined a custom conflict handler with CRDTs.',\r\n fix: 'Remove the custom conflict handler.',\r\n docs: 'https://rxdb.info/crdt.html?console=errors&code=CRDT3'\r\n },\r\n\r\n // plugins/storage-dexie/\r\n DXE1: {\r\n message: 'non-required index fields are not possible with the dexie.js RxStorage: https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082',\r\n cause: 'Dexie only supports indexes on required fields.',\r\n fix: 'Make the indexed field required.',\r\n docs: 'https://rxdb.info/rx-storage-dexie.html?console=errors&code=DXE1'\r\n },\r\n // removed in 15.0.0, added boolean index support to dexie storage - DXE1: 'The dexie.js RxStorage does not support boolean indexes, see https://rxdb.info/rx-storage-dexie.html#boolean-index',\r\n\r\n // plugins/storage-sqlite-trial/\r\n SQL1: {\r\n message: 'The trial version of the SQLite storage does not support attachments.',\r\n cause: 'You tried to use attachments with the trial SQLite storage.',\r\n fix: 'Upgrade to the full version.',\r\n docs: 'https://rxdb.info/rx-storage-sqlite.html?console=errors&code=SQL1'\r\n },\r\n SQL2: {\r\n message: 'The trial version of the SQLite storage is limited to contain 300 documents',\r\n cause: 'You reached the document limit of the trial version.',\r\n fix: 'Upgrade to the full version.',\r\n docs: 'https://rxdb.info/rx-storage-sqlite.html?console=errors&code=SQL2'\r\n },\r\n SQL3: {\r\n message: 'The trial version of the SQLite storage is limited to running 500 operations',\r\n cause: 'You reached the operation limit of the trial version.',\r\n fix: 'Upgrade to the full version.',\r\n docs: 'https://rxdb.info/rx-storage-sqlite.html?console=errors&code=SQL3'\r\n },\r\n\r\n\r\n // plugins/storage-remote\r\n RM1: {\r\n message: 'Cannot communicate with a remote that was build on a different RxDB version. Did you forget to rebuild your workers when updating RxDB?',\r\n cause: 'The RxDB version of the remote does not match the local version.',\r\n fix: 'Ensure both sides use the same RxDB version.',\r\n docs: 'https://rxdb.info/rx-storage-remote.html?console=errors&code=RM1'\r\n },\r\n\r\n // plugins/replication-mongodb\r\n MG1: {\r\n message: 'If _id is used as primaryKey, all documents in the MongoDB instance must have a string-value as _id, not an ObjectId or number',\r\n cause: 'Found a document in MongoDB where _id is not a string.',\r\n fix: 'Ensure all documents in MongoDB have string IDs.',\r\n docs: 'https://rxdb.info/replication-mongodb.html?console=errors&code=MG1'\r\n },\r\n\r\n // plugins/react\r\n R1: {\r\n message: 'You must provide a valid RxDatabase to the RxDatabaseProvider',\r\n cause: 'The database provided to the provider is invalid.',\r\n fix: 'Ensure you pass a valid RxDatabase instance.',\r\n docs: 'https://rxdb.info/react.html?console=errors&code=R1'\r\n },\r\n R2: {\r\n message: 'Could not find database in context, please ensure the component is wrapped in a <RxDatabaseProvider>',\r\n cause: 'You tried to use the database hook outside of a provider.',\r\n fix: 'Wrap your component in <RxDatabaseProvider>.',\r\n docs: 'https://rxdb.info/react.html?console=errors&code=R2'\r\n },\r\n R3: {\r\n message: 'The provided value for the collection parameter is not a valid RxCollection',\r\n cause: 'The collection passed to the hook is invalid.',\r\n fix: 'Ensure you pass a valid RxCollection instance.',\r\n docs: 'https://rxdb.info/react.html?console=errors&code=R3'\r\n },\r\n\r\n // plugins/replication-google-drive\r\n GDR1: {\r\n message: 'Google Drive: folderPath must not be the root folder or undefined',\r\n cause: 'You provided \"/\" or \"root\" or \"\" as folderPath.',\r\n fix: 'Use a specific subfolder to ensure RxDB data does not mess up the users drive files.',\r\n docs: 'https://rxdb.info/replication-google-drive.html?console=errors&code=GDR1'\r\n },\r\n GDR3: {\r\n message: 'Google Drive: Folder already exists but is not a folder',\r\n cause: 'A file with the same name already exists, but is not a folder',\r\n fix: 'Rename the file or the folder you are trying to create.',\r\n docs: 'https://rxdb.info/replication-google-drive.html?console=errors&code=GDR3'\r\n },\r\n GDR9: {\r\n message: 'Google Drive: folder has content but is not a rxdb sync target',\r\n cause: 'You selected a folder that is not empty but is not a rxdb sync target.',\r\n fix: 'Provide empty folder or use a different folder that is not used for anything else.',\r\n docs: 'https://rxdb.info/replication-google-drive.html?console=errors&code=GDR9'\r\n },\r\n GDR11: {\r\n message: 'Google Drive: could not close transaction',\r\n cause: '',\r\n fix: '',\r\n docs: 'https://rxdb.info/replication-google-drive.html?console=errors&code=GDR11'\r\n },\r\n GDR18: {\r\n message: 'Max batch size exxeeded for google drive sync',\r\n cause: '',\r\n fix: 'Reduce the batchSize to be lower',\r\n docs: 'https://rxdb.info/replication-google-drive.html?console=errors&code=GDR18'\r\n },\r\n GDR19: {\r\n message: 'WAL file write conflict',\r\n cause: 'Someone else has written to the wal file in between our transaction. This should not happen.',\r\n fix: 'Try to reproduce the error in a unit test and make a PR with a test case.',\r\n docs: 'https://rxdb.info/replication-google-drive.html?console=errors&code=GDR19'\r\n },\r\n\r\n\r\n\r\n // plugins/replication-microsoft-onedrive\r\n ODR1: {\r\n message: 'Microsoft OneDrive: folderPath must not be the root folder or undefined',\r\n cause: 'You provided \"/\" or \"root\" or \"\" as folderPath.',\r\n fix: 'Use a specific subfolder to ensure RxDB data does not mess up the users drive files.',\r\n docs: 'https://rxdb.info/replication-microsoft-onedrive.html?console=errors&code=ODR1'\r\n },\r\n ODR3: {\r\n message: 'Microsoft OneDrive: Folder already exists but is not a folder',\r\n cause: 'A file with the same name already exists, but is not a folder',\r\n fix: 'Rename the file or the folder you are trying to create.',\r\n docs: 'https://rxdb.info/replication-microsoft-onedrive.html?console=errors&code=ODR3'\r\n },\r\n ODR9: {\r\n message: 'Microsoft OneDrive: folder has content but is not a rxdb sync target',\r\n cause: 'You selected a folder that is not empty but is not a rxdb sync target.',\r\n fix: 'Provide empty folder or use a different folder that is not used for anything else.',\r\n docs: 'https://rxdb.info/replication-microsoft-onedrive.html?console=errors&code=ODR9'\r\n },\r\n ODR11: {\r\n message: 'Microsoft OneDrive: could not close transaction',\r\n cause: '',\r\n fix: '',\r\n docs: 'https://rxdb.info/replication-microsoft-onedrive.html?console=errors&code=ODR11'\r\n },\r\n ODR18: {\r\n message: 'Max batch size exceeded for Microsoft OneDrive sync',\r\n cause: '',\r\n fix: 'Reduce the batchSize to be lower',\r\n docs: 'https://rxdb.info/replication-microsoft-onedrive.html?console=errors&code=ODR18'\r\n },\r\n ODR19: {\r\n message: 'WAL file write conflict',\r\n cause: 'Someone else has written to the wal file in between our transaction. This should not happen.',\r\n fix: 'Try to reproduce the error in a unit test and make a PR with a test case.',\r\n docs: 'https://rxdb.info/replication-microsoft-onedrive.html?console=errors&code=ODR19'\r\n },\r\n\r\n\r\n FETCH: {\r\n message: 'A fetch-request failed',\r\n cause: 'A call with the javascript fetch() function failed',\r\n fix: 'Check the network connection and the server logs.',\r\n docs: ''\r\n },\r\n\r\n /**\r\n * Should never be thrown, use this for\r\n * null checks etc. so you do not have to increase the\r\n * build size with error message strings.\r\n */\r\n SNH: {\r\n message: 'This should never happen',\r\n cause: '',\r\n fix: '',\r\n docs: ''\r\n },\r\n};\r\n\r\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,4BAA4B,QAAQ,2BAA2B;AAGxE,OAAO,IAAMC,cAAc,GAAG;EAC1B;EACAC,GAAG,EAAE;IACDC,OAAO,EAAE,kCAAkC;IAC3CC,KAAK,EAAE,+CAA+C;IACtDC,GAAG,EAAE,iDAAiD;IACtDC,IAAI,EAAE;EACV,CAAC;EACDC,GAAG,EAAE;IACDJ,OAAO,kTAEsF;IAC7FC,KAAK,EAAE,gFAAgF;IACvFC,GAAG,EAAE,uEAAuE;IAC5EC,IAAI,EAAE;EACV,CAAC;EACDE,GAAG,EAAE;IACDL,OAAO,EAAE,yEAAyE;IAClFC,KAAK,EAAE,sEAAsE;IAC7EC,GAAG,EAAE,uDAAuD;IAC5DC,IAAI,EAAE;EACV,CAAC;EACDG,GAAG,EAAE;IACDN,OAAO,EAAE,qCAAqC;IAC9CC,KAAK,EAAE,EAAE;IACTC,GAAG,EAAE,EAAE;IACPC,IAAI,EAAE;EACV,CAAC;EACDI,GAAG,EAAE;IACDP,OAAO,EAAE,mGAAmG;IAC5GC,KAAK,EAAE,6GAA6G;IACpHC,GAAG,EAAE,iEAAiE;IACtEC,IAAI,EAAE;EACV,CAAC;EACDK,GAAG,EAAE;IACDR,OAAO,EAAE,mFAAmF;IAC5FC,KAAK,EAAE,mGAAmG;IAC1GC,GAAG,EAAE,4DAA4D;IACjEC,IAAI,EAAE;EACV,CAAC;EACDM,GAAG,EAAE;IACDT,OAAO,EAAE,iFAAiF;IAC1FC,KAAK,EAAE,2HAA2H;IAClIC,GAAG,EAAE,wEAAwE;IAC7EC,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sM,KAAK,EAAE;IACHzM,OAAO,EAAE,iDAAiD;IAC1DC,KAAK,EAAE,EAAE;IACTC,GAAG,EAAE,EAAE;IACPC,IAAI,EAAE;EACV,CAAC;EACDuM,KAAK,EAAE;IACH1M,OAAO,EAAE,qDAAqD;IAC9DC,KAAK,EAAE,EAAE;IACTC,GAAG,EAAE,kCAAkC;IACvCC,IAAI,EAAE;EACV,CAAC;EACDwM,KAAK,EAAE;IACH3M,OAAO,EAAE,yBAAyB;IAClCC,KAAK,EAAE,8FAA8F;IACrGC,GAAG,EAAE,2EAA2E;IAChFC,IAAI,EAAE;EACV,CAAC;EAGDyM,KAAK,EAAE;IACH5M,OAAO,EAAE,wBAAwB;IACjCC,KAAK,EAAE,oDAAoD;IAC3DC,GAAG,EAAE,mDAAmD;IACxDC,IAAI,EAAE;EACV,CAAC;EAED;AACJ;AACA;AACA;AACA;EACI0M,GAAG,EAAE;IACD7M,OAAO,EAAE,0BAA0B;IACnCC,KAAK,EAAE,EAAE;IACTC,GAAG,EAAE,EAAE;IACPC,IAAI,EAAE;EACV;AACJ,CAAC","ignoreList":[]}
@@ -0,0 +1,151 @@
1
+ import { ERROR_MESSAGES } from "./error-messages.js";
2
+ import { checkSchema } from "./check-schema.js";
3
+ import { checkOrmDocumentMethods, checkOrmMethods } from "./check-orm.js";
4
+ import { checkMigrationStrategies } from "./check-migration-strategies.js";
5
+ import { ensureCollectionNameValid, ensureDatabaseNameIsValid } from "./unallowed-properties.js";
6
+ import { checkMangoQuery, checkQuery, isQueryAllowed } from "./check-query.js";
7
+ import { newRxError } from "../../rx-error.js";
8
+ import { deepFreeze } from "../../plugins/utils/index.js";
9
+ import { checkWriteRows, ensurePrimaryKeyValid } from "./check-document.js";
10
+ import { addDevModeTrackingIframe } from "./dev-mode-tracking.js";
11
+ export * from "./check-schema.js";
12
+ export * from "./unallowed-properties.js";
13
+ export * from "./check-query.js";
14
+ var showDevModeWarning = true;
15
+
16
+ /**
17
+ * Suppresses the warning message shown in the console, typically invoked once the developer (hello!)
18
+ * has acknowledged it.
19
+ */
20
+ export function disableWarnings() {
21
+ showDevModeWarning = false;
22
+ }
23
+
24
+ /**
25
+ * Deep freezes and object when in dev-mode.
26
+ * Deep-Freezing has the same performance as deep-cloning, so we only do that in dev-mode.
27
+ * Also we can ensure the readonly state via typescript
28
+ * @link https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze
29
+ */
30
+ export function deepFreezeWhenDevMode(obj) {
31
+ // direct return if not suitable for deepFreeze()
32
+ if (!obj || typeof obj === 'string' || typeof obj === 'number') {
33
+ return obj;
34
+ }
35
+ return deepFreeze(obj);
36
+ }
37
+ export var DEV_MODE_PLUGIN_NAME = 'dev-mode';
38
+ export var RxDBDevModePlugin = {
39
+ name: DEV_MODE_PLUGIN_NAME,
40
+ rxdb: true,
41
+ init: () => {
42
+ addDevModeTrackingIframe();
43
+ if (showDevModeWarning) {
44
+ console.warn(['-------------- RxDB dev-mode warning -------------------------------', 'you are seeing this because you use the RxDB dev-mode plugin https://rxdb.info/dev-mode.html?console=dev-mode ', 'This is great in development mode, because it will run many checks to ensure', 'that you use RxDB correct. If you see this in production mode,', 'you did something wrong because the dev-mode plugin will decrease the performance.', '', '🤗 Hint: To get the most out of RxDB, check out the Premium Plugins', 'to get access to faster storages and more professional features: https://rxdb.info/premium/?console=dev-mode ', '', 'You can disable this warning by calling disableWarnings() from the dev-mode plugin.',
45
+ // '',
46
+ // 'Also take part in the RxDB User Survey: https://rxdb.info/survey.html',
47
+ '---------------------------------------------------------------------'].join('\n'));
48
+ }
49
+ },
50
+ overwritable: {
51
+ isDevMode() {
52
+ return true;
53
+ },
54
+ deepFreezeWhenDevMode,
55
+ tunnelErrorMessage(code) {
56
+ var err = ERROR_MESSAGES[code];
57
+ if (!err) {
58
+ console.error('RxDB: Error-Code not known: ' + code);
59
+ throw new Error('Error-Code ' + code + ' not known, contact the maintainer');
60
+ }
61
+ var errorMessage = "\nError message: " + err.message + "\nError code: " + code;
62
+ if (err.cause) {
63
+ errorMessage += "\nCause: " + err.cause;
64
+ }
65
+ if (err.fix) {
66
+ errorMessage += "\nFix: " + err.fix;
67
+ }
68
+ if (err.docs) {
69
+ errorMessage += "\nDocs: " + err.docs;
70
+ }
71
+ return errorMessage;
72
+ }
73
+ },
74
+ hooks: {
75
+ preCreateRxSchema: {
76
+ after: checkSchema
77
+ },
78
+ preCreateRxDatabase: {
79
+ before: function (args) {
80
+ if (!args.storage.name.startsWith('validate-')) {
81
+ throw newRxError('DVM1', {
82
+ database: args.name,
83
+ storage: args.storage.name
84
+ });
85
+ }
86
+ },
87
+ after: function (args) {
88
+ ensureDatabaseNameIsValid(args);
89
+ }
90
+ },
91
+ createRxDatabase: {
92
+ after: async function (args) {}
93
+ },
94
+ preCreateRxCollection: {
95
+ after: function (args) {
96
+ ensureCollectionNameValid(args);
97
+ checkOrmDocumentMethods(args.schema, args.methods);
98
+ if (args.name.charAt(0) === '_') {
99
+ throw newRxError('DB2', {
100
+ name: args.name
101
+ });
102
+ }
103
+ if (!args.schema) {
104
+ throw newRxError('DB4', {
105
+ name: args.name,
106
+ args
107
+ });
108
+ }
109
+ }
110
+ },
111
+ createRxDocument: {
112
+ before: function (doc) {
113
+ ensurePrimaryKeyValid(doc.primary, doc.toJSON(true));
114
+ }
115
+ },
116
+ prePrepareRxQuery: {
117
+ after: function (args) {
118
+ isQueryAllowed(args);
119
+ }
120
+ },
121
+ preCreateRxQuery: {
122
+ after: function (args) {
123
+ checkQuery(args);
124
+ }
125
+ },
126
+ prePrepareQuery: {
127
+ after: args => {
128
+ checkMangoQuery(args);
129
+ }
130
+ },
131
+ preStorageWrite: {
132
+ before: args => {
133
+ checkWriteRows(args.storageInstance, args.rows);
134
+ }
135
+ },
136
+ createRxCollection: {
137
+ after: args => {
138
+ // check ORM-methods
139
+ checkOrmMethods(args.creator.statics);
140
+ checkOrmMethods(args.creator.methods);
141
+ checkOrmMethods(args.creator.attachments);
142
+
143
+ // check migration strategies
144
+ if (args.creator.schema && args.creator.migrationStrategies) {
145
+ checkMigrationStrategies(args.creator.schema, args.creator.migrationStrategies);
146
+ }
147
+ }
148
+ }
149
+ }
150
+ };
151
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["ERROR_MESSAGES","checkSchema","checkOrmDocumentMethods","checkOrmMethods","checkMigrationStrategies","ensureCollectionNameValid","ensureDatabaseNameIsValid","checkMangoQuery","checkQuery","isQueryAllowed","newRxError","deepFreeze","checkWriteRows","ensurePrimaryKeyValid","addDevModeTrackingIframe","showDevModeWarning","disableWarnings","deepFreezeWhenDevMode","obj","DEV_MODE_PLUGIN_NAME","RxDBDevModePlugin","name","rxdb","init","console","warn","join","overwritable","isDevMode","tunnelErrorMessage","code","err","error","Error","errorMessage","message","cause","fix","docs","hooks","preCreateRxSchema","after","preCreateRxDatabase","before","args","storage","startsWith","database","createRxDatabase","preCreateRxCollection","schema","methods","charAt","createRxDocument","doc","primary","toJSON","prePrepareRxQuery","preCreateRxQuery","prePrepareQuery","preStorageWrite","storageInstance","rows","createRxCollection","creator","statics","attachments","migrationStrategies"],"sources":["../../../../src/plugins/dev-mode/index.ts"],"sourcesContent":["import type {\r\n RxPlugin,\r\n RxCollectionCreator,\r\n RxDatabaseCreator,\r\n RxErrorKey,\r\n RxDocument,\r\n RxDatabase\r\n} from '../../types/index.d.ts';\r\n\r\nimport {\r\n ERROR_MESSAGES\r\n} from './error-messages.ts';\r\nimport {\r\n checkSchema\r\n} from './check-schema.ts';\r\nimport {\r\n checkOrmDocumentMethods,\r\n checkOrmMethods\r\n} from './check-orm.ts';\r\nimport { checkMigrationStrategies } from './check-migration-strategies.ts';\r\nimport {\r\n ensureCollectionNameValid,\r\n ensureDatabaseNameIsValid\r\n} from './unallowed-properties.ts';\r\nimport { checkMangoQuery, checkQuery, isQueryAllowed } from './check-query.ts';\r\nimport { newRxError } from '../../rx-error.ts';\r\nimport { DeepReadonly } from '../../types/util.ts';\r\nimport { deepFreeze } from '../../plugins/utils/index.ts';\r\nimport { checkWriteRows, ensurePrimaryKeyValid } from './check-document.ts';\r\nimport { addDevModeTrackingIframe } from './dev-mode-tracking.ts';\r\n\r\nexport * from './check-schema.ts';\r\nexport * from './unallowed-properties.ts';\r\nexport * from './check-query.ts';\r\n\r\nlet showDevModeWarning = true;\r\n\r\n/**\r\n * Suppresses the warning message shown in the console, typically invoked once the developer (hello!) \r\n * has acknowledged it.\r\n */\r\nexport function disableWarnings() {\r\n showDevModeWarning = false;\r\n}\r\n\r\n/**\r\n * Deep freezes and object when in dev-mode.\r\n * Deep-Freezing has the same performance as deep-cloning, so we only do that in dev-mode.\r\n * Also we can ensure the readonly state via typescript\r\n * @link https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\r\n */\r\nexport function deepFreezeWhenDevMode<T>(obj: T): DeepReadonly<T> {\r\n // direct return if not suitable for deepFreeze()\r\n if (\r\n !obj ||\r\n typeof obj === 'string' ||\r\n typeof obj === 'number'\r\n ) {\r\n return obj as any;\r\n }\r\n\r\n return deepFreeze(obj) as any;\r\n}\r\n\r\n\r\nexport const DEV_MODE_PLUGIN_NAME = 'dev-mode';\r\nexport const RxDBDevModePlugin: RxPlugin = {\r\n name: DEV_MODE_PLUGIN_NAME,\r\n rxdb: true,\r\n init: () => {\r\n addDevModeTrackingIframe();\r\n if (showDevModeWarning) {\r\n console.warn(\r\n [\r\n '-------------- RxDB dev-mode warning -------------------------------',\r\n 'you are seeing this because you use the RxDB dev-mode plugin https://rxdb.info/dev-mode.html?console=dev-mode ',\r\n 'This is great in development mode, because it will run many checks to ensure',\r\n 'that you use RxDB correct. If you see this in production mode,',\r\n 'you did something wrong because the dev-mode plugin will decrease the performance.',\r\n '',\r\n '🤗 Hint: To get the most out of RxDB, check out the Premium Plugins',\r\n 'to get access to faster storages and more professional features: https://rxdb.info/premium/?console=dev-mode ',\r\n '',\r\n 'You can disable this warning by calling disableWarnings() from the dev-mode plugin.',\r\n // '',\r\n // 'Also take part in the RxDB User Survey: https://rxdb.info/survey.html',\r\n '---------------------------------------------------------------------'\r\n ].join('\\n')\r\n );\r\n }\r\n },\r\n overwritable: {\r\n isDevMode() {\r\n return true;\r\n },\r\n deepFreezeWhenDevMode,\r\n tunnelErrorMessage(code: RxErrorKey) {\r\n const err = ERROR_MESSAGES[code];\r\n if (!err) {\r\n console.error('RxDB: Error-Code not known: ' + code);\r\n throw new Error('Error-Code ' + code + ' not known, contact the maintainer');\r\n }\r\n let errorMessage = `\r\nError message: ${err.message}\r\nError code: ${code}`;\r\n\r\n if (err.cause) {\r\n errorMessage += `\r\nCause: ${err.cause}`;\r\n }\r\n if (err.fix) {\r\n errorMessage += `\r\nFix: ${err.fix}`;\r\n }\r\n if (err.docs) {\r\n errorMessage += `\r\nDocs: ${err.docs}`;\r\n }\r\n\r\n return errorMessage;\r\n }\r\n },\r\n hooks: {\r\n preCreateRxSchema: {\r\n after: checkSchema\r\n },\r\n preCreateRxDatabase: {\r\n before: function (args: RxDatabaseCreator<any, any>) {\r\n if (!args.storage.name.startsWith('validate-')) {\r\n throw newRxError('DVM1', {\r\n database: args.name,\r\n storage: args.storage.name\r\n });\r\n }\r\n },\r\n after: function (args: RxDatabaseCreator<any, any>) {\r\n ensureDatabaseNameIsValid(args);\r\n }\r\n },\r\n createRxDatabase: {\r\n after: async function (args) {\r\n }\r\n },\r\n preCreateRxCollection: {\r\n after: function (args: RxCollectionCreator<any> & { name: string; }) {\r\n ensureCollectionNameValid(args);\r\n checkOrmDocumentMethods(args.schema as any, args.methods);\r\n if (args.name.charAt(0) === '_') {\r\n throw newRxError('DB2', {\r\n name: args.name\r\n });\r\n }\r\n if (!args.schema) {\r\n throw newRxError('DB4', {\r\n name: args.name,\r\n args\r\n });\r\n }\r\n }\r\n },\r\n createRxDocument: {\r\n before: function (doc: RxDocument) {\r\n ensurePrimaryKeyValid(doc.primary, doc.toJSON(true));\r\n }\r\n },\r\n prePrepareRxQuery: {\r\n after: function (args) {\r\n isQueryAllowed(args);\r\n }\r\n },\r\n preCreateRxQuery: {\r\n after: function (args) {\r\n checkQuery(args);\r\n }\r\n },\r\n prePrepareQuery: {\r\n after: (args) => {\r\n checkMangoQuery(args);\r\n }\r\n },\r\n preStorageWrite: {\r\n before: (args) => {\r\n checkWriteRows(args.storageInstance, args.rows);\r\n }\r\n },\r\n createRxCollection: {\r\n after: (args) => {\r\n // check ORM-methods\r\n checkOrmMethods(args.creator.statics);\r\n checkOrmMethods(args.creator.methods);\r\n checkOrmMethods(args.creator.attachments);\r\n\r\n // check migration strategies\r\n if (args.creator.schema && args.creator.migrationStrategies) {\r\n checkMigrationStrategies(\r\n args.creator.schema,\r\n args.creator.migrationStrategies\r\n );\r\n }\r\n }\r\n }\r\n }\r\n};\r\n"],"mappings":"AASA,SACIA,cAAc,QACX,qBAAqB;AAC5B,SACIC,WAAW,QACR,mBAAmB;AAC1B,SACIC,uBAAuB,EACvBC,eAAe,QACZ,gBAAgB;AACvB,SAASC,wBAAwB,QAAQ,iCAAiC;AAC1E,SACIC,yBAAyB,EACzBC,yBAAyB,QACtB,2BAA2B;AAClC,SAASC,eAAe,EAAEC,UAAU,EAAEC,cAAc,QAAQ,kBAAkB;AAC9E,SAASC,UAAU,QAAQ,mBAAmB;AAE9C,SAASC,UAAU,QAAQ,8BAA8B;AACzD,SAASC,cAAc,EAAEC,qBAAqB,QAAQ,qBAAqB;AAC3E,SAASC,wBAAwB,QAAQ,wBAAwB;AAEjE,cAAc,mBAAmB;AACjC,cAAc,2BAA2B;AACzC,cAAc,kBAAkB;AAEhC,IAAIC,kBAAkB,GAAG,IAAI;;AAE7B;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAAA,EAAG;EAC9BD,kBAAkB,GAAG,KAAK;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,qBAAqBA,CAAIC,GAAM,EAAmB;EAC9D;EACA,IACI,CAACA,GAAG,IACJ,OAAOA,GAAG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,OAAO,EAAED,GAAG,CAACE,MAAM,CAAC,IAAI,CAAC,CAAC;MACxD;IACJ,CAAC;IACDC,iBAAiB,EAAE;MACfhB,KAAK,EAAE,SAAAA,CAAUG,IAAI,EAAE;QACnBnC,cAAc,CAACmC,IAAI,CAAC;MACxB;IACJ,CAAC;IACDc,gBAAgB,EAAE;MACdjB,KAAK,EAAE,SAAAA,CAAUG,IAAI,EAAE;QACnBpC,UAAU,CAACoC,IAAI,CAAC;MACpB;IACJ,CAAC;IACDe,eAAe,EAAE;MACblB,KAAK,EAAGG,IAAI,IAAK;QACbrC,eAAe,CAACqC,IAAI,CAAC;MACzB;IACJ,CAAC;IACDgB,eAAe,EAAE;MACbjB,MAAM,EAAGC,IAAI,IAAK;QACdhC,cAAc,CAACgC,IAAI,CAACiB,eAAe,EAAEjB,IAAI,CAACkB,IAAI,CAAC;MACnD;IACJ,CAAC;IACDC,kBAAkB,EAAE;MAChBtB,KAAK,EAAGG,IAAI,IAAK;QACb;QACAzC,eAAe,CAACyC,IAAI,CAACoB,OAAO,CAACC,OAAO,CAAC;QACrC9D,eAAe,CAACyC,IAAI,CAACoB,OAAO,CAACb,OAAO,CAAC;QACrChD,eAAe,CAACyC,IAAI,CAACoB,OAAO,CAACE,WAAW,CAAC;;QAEzC;QACA,IAAItB,IAAI,CAACoB,OAAO,CAACd,MAAM,IAAIN,IAAI,CAACoB,OAAO,CAACG,mBAAmB,EAAE;UACzD/D,wBAAwB,CACpBwC,IAAI,CAACoB,OAAO,CAACd,MAAM,EACnBN,IAAI,CAACoB,OAAO,CAACG,mBACjB,CAAC;QACL;MACJ;IACJ;EACJ;AACJ,CAAC","ignoreList":[]}
@@ -0,0 +1,81 @@
1
+ import { newRxError, newRxTypeError } from "../../rx-error.js";
2
+ import { rxDatabaseProperties } from "./entity-properties.js";
3
+ import { isFolderPath } from "../../plugins/utils/index.js";
4
+
5
+ /**
6
+ * if the name of a collection
7
+ * clashes with a property of RxDatabase,
8
+ * we get problems so this function prohibits this
9
+ */
10
+ export function ensureCollectionNameValid(args) {
11
+ if (rxDatabaseProperties().includes(args.name)) {
12
+ throw newRxError('DB5', {
13
+ name: args.name
14
+ });
15
+ }
16
+ validateDatabaseName(args.name);
17
+ }
18
+ export function ensureDatabaseNameIsValid(args) {
19
+ validateDatabaseName(args.name);
20
+ if (args.name.includes('$')) {
21
+ throw newRxError('DB13', {
22
+ name: args.name
23
+ });
24
+ }
25
+
26
+ /**
27
+ * The server-plugin has problems when a path with and ending slash is given
28
+ * So we do not allow this.
29
+ * @link https://github.com/pubkey/rxdb/issues/2251
30
+ */
31
+ if (isFolderPath(args.name)) {
32
+ if (args.name.endsWith('/') || args.name.endsWith('\\')) {
33
+ throw newRxError('DB11', {
34
+ name: args.name
35
+ });
36
+ }
37
+ }
38
+ }
39
+
40
+ /**
41
+ * In contrast to CouchDB, we still allow inner uppercase letters
42
+ * like the name fooBar. This makes it way less confusing when naming
43
+ * collections with a JavaScript variable name convention.
44
+ */
45
+ var validCouchDBStringRegexStr = '^[a-z][_$a-zA-Z0-9\\-]*$';
46
+ var validCouchDBStringRegex = new RegExp(validCouchDBStringRegexStr);
47
+
48
+ /**
49
+ * Validates that a given string is ok to be used with couchdb-collection-names.
50
+ * We only allow these strings as database- or collection names because it ensures
51
+ * that you later do not get in trouble when you want to use the database together witch couchdb.
52
+ *
53
+ * @link https://docs.couchdb.org/en/stable/api/database/common.html
54
+ * @link https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/
55
+ * @throws {RxError}
56
+ */
57
+ export function validateDatabaseName(name) {
58
+ if (typeof name !== 'string' || name.length === 0) {
59
+ throw newRxTypeError('UT1', {
60
+ name
61
+ });
62
+ }
63
+
64
+ // do not check, if foldername is given
65
+ if (isFolderPath(name)) {
66
+ return true;
67
+ }
68
+ if (!name.match(validCouchDBStringRegex) &&
69
+ /**
70
+ * The string ':memory:' is used in the SQLite RxStorage
71
+ * to persist data into a memory state. Often used in tests.
72
+ */
73
+ name !== ':memory:') {
74
+ throw newRxError('UT2', {
75
+ regex: validCouchDBStringRegexStr,
76
+ givenName: name
77
+ });
78
+ }
79
+ return true;
80
+ }
81
+ //# sourceMappingURL=unallowed-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unallowed-properties.js","names":["newRxError","newRxTypeError","rxDatabaseProperties","isFolderPath","ensureCollectionNameValid","args","includes","name","validateDatabaseName","ensureDatabaseNameIsValid","endsWith","validCouchDBStringRegexStr","validCouchDBStringRegex","RegExp","length","match","regex","givenName"],"sources":["../../../../src/plugins/dev-mode/unallowed-properties.ts"],"sourcesContent":["import type { RxCollectionCreator, RxDatabaseCreator } from '../../types/index.d.ts';\r\nimport { newRxError, newRxTypeError } from '../../rx-error.ts';\r\nimport { rxDatabaseProperties } from './entity-properties.ts';\r\nimport { isFolderPath } from '../../plugins/utils/index.ts';\r\n\r\n/**\r\n * if the name of a collection\r\n * clashes with a property of RxDatabase,\r\n * we get problems so this function prohibits this\r\n */\r\nexport function ensureCollectionNameValid(\r\n args: RxCollectionCreator & { name: string; }\r\n) {\r\n if (rxDatabaseProperties().includes(args.name)) {\r\n throw newRxError('DB5', {\r\n name: args.name\r\n });\r\n }\r\n validateDatabaseName(args.name);\r\n}\r\n\r\nexport function ensureDatabaseNameIsValid(args: RxDatabaseCreator<any, any>) {\r\n\r\n validateDatabaseName(args.name);\r\n\r\n if(args.name.includes('$')){\r\n throw newRxError('DB13', {\r\n name: args.name,\r\n });\r\n }\r\n\r\n /**\r\n * The server-plugin has problems when a path with and ending slash is given\r\n * So we do not allow this.\r\n * @link https://github.com/pubkey/rxdb/issues/2251\r\n */\r\n if (isFolderPath(args.name)) {\r\n if (args.name.endsWith('/') || args.name.endsWith('\\\\')) {\r\n throw newRxError('DB11', {\r\n name: args.name,\r\n });\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n/**\r\n * In contrast to CouchDB, we still allow inner uppercase letters\r\n * like the name fooBar. This makes it way less confusing when naming\r\n * collections with a JavaScript variable name convention.\r\n */\r\nconst validCouchDBStringRegexStr = '^[a-z][_$a-zA-Z0-9\\\\-]*$';\r\nconst validCouchDBStringRegex = new RegExp(validCouchDBStringRegexStr);\r\n\r\n/**\r\n * Validates that a given string is ok to be used with couchdb-collection-names.\r\n * We only allow these strings as database- or collection names because it ensures\r\n * that you later do not get in trouble when you want to use the database together witch couchdb.\r\n *\r\n * @link https://docs.couchdb.org/en/stable/api/database/common.html\r\n * @link https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/\r\n * @throws {RxError}\r\n */\r\nexport function validateDatabaseName(name: string): true {\r\n if (\r\n typeof name !== 'string' ||\r\n name.length === 0\r\n ) {\r\n throw newRxTypeError('UT1', {\r\n name\r\n });\r\n }\r\n\r\n\r\n // do not check, if foldername is given\r\n if (isFolderPath(name)) {\r\n return true;\r\n }\r\n\r\n if (\r\n !name.match(validCouchDBStringRegex) &&\r\n /**\r\n * The string ':memory:' is used in the SQLite RxStorage\r\n * to persist data into a memory state. Often used in tests.\r\n */\r\n name !== ':memory:'\r\n ) {\r\n throw newRxError('UT2', {\r\n regex: validCouchDBStringRegexStr,\r\n givenName: name,\r\n });\r\n }\r\n\r\n return true;\r\n}\r\n"],"mappings":"AACA,SAASA,UAAU,EAAEC,cAAc,QAAQ,mBAAmB;AAC9D,SAASC,oBAAoB,QAAQ,wBAAwB;AAC7D,SAASC,YAAY,QAAQ,8BAA8B;;AAE3D;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CACrCC,IAA6C,EAC/C;EACE,IAAIH,oBAAoB,CAAC,CAAC,CAACI,QAAQ,CAACD,IAAI,CAACE,IAAI,CAAC,EAAE;IAC5C,MAAMP,UAAU,CAAC,KAAK,EAAE;MACpBO,IAAI,EAAEF,IAAI,CAACE;IACf,CAAC,CAAC;EACN;EACAC,oBAAoB,CAACH,IAAI,CAACE,IAAI,CAAC;AACnC;AAEA,OAAO,SAASE,yBAAyBA,CAACJ,IAAiC,EA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+ export var IPC_RENDERER_KEY_PREFIX = 'rxdb-ipc-renderer-storage';
2
+ export var IPC_RENDERER_TO_MAIN = 'rxdb-renderer-to-main';
3
+ //# sourceMappingURL=electron-helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"electron-helper.js","names":["IPC_RENDERER_KEY_PREFIX","IPC_RENDERER_TO_MAIN"],"sources":["../../../../src/plugins/electron/electron-helper.ts"],"sourcesContent":["export const IPC_RENDERER_KEY_PREFIX = 'rxdb-ipc-renderer-storage';\r\nexport const IPC_RENDERER_TO_MAIN = 'rxdb-renderer-to-main';\r\n"],"mappings":"AAAA,OAAO,IAAMA,uBAAuB,GAAG,2BAA2B;AAClE,OAAO,IAAMC,oBAAoB,GAAG,uBAAuB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ export * from "./rx-storage-ipc-renderer.js";
2
+ export * from "./rx-storage-ipc-main.js";
3
+ export * from "./electron-helper.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/plugins/electron/index.ts"],"sourcesContent":["export * from './rx-storage-ipc-renderer.ts';\r\nexport * from './rx-storage-ipc-main.ts';\r\nexport * from './electron-helper.ts';\r\n"],"mappings":"AAAA,cAAc,8BAA8B;AAC5C,cAAc,0BAA0B;AACxC,cAAc,sBAAsB","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * This file contains everything
3
+ * that is supposed to run inside of the electron main process
4
+ */
5
+
6
+ import { Subject } from 'rxjs';
7
+ import { IPC_RENDERER_KEY_PREFIX } from "./electron-helper.js";
8
+ import { exposeRxStorageRemote } from "../storage-remote/index.js";
9
+ export function exposeIpcMainRxStorage(args) {
10
+ var channelId = [IPC_RENDERER_KEY_PREFIX, args.key].join('|');
11
+ var messages$ = new Subject();
12
+ var openRenderers = new Set();
13
+ args.ipcMain.on(channelId, (event, message) => {
14
+ addOpenRenderer(event.sender);
15
+ if (message) {
16
+ messages$.next(message);
17
+ }
18
+ });
19
+ var addOpenRenderer = renderer => {
20
+ if (openRenderers.has(renderer)) return;
21
+ openRenderers.add(renderer);
22
+ renderer.on('destroyed', () => openRenderers.delete(renderer));
23
+ };
24
+ var send = msg => {
25
+ /**
26
+ * TODO we could improve performance
27
+ * by only sending the message to the 'correct' sender.
28
+ */
29
+ openRenderers.forEach(sender => {
30
+ sender.send(channelId, msg);
31
+ });
32
+ };
33
+ exposeRxStorageRemote({
34
+ storage: args.storage,
35
+ messages$,
36
+ send
37
+ });
38
+ }
39
+ //# sourceMappingURL=rx-storage-ipc-main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rx-storage-ipc-main.js","names":["Subject","IPC_RENDERER_KEY_PREFIX","exposeRxStorageRemote","exposeIpcMainRxStorage","args","channelId","key","join","messages$","openRenderers","Set","ipcMain","on","event","message","addOpenRenderer","sender","next","renderer","has","add","delete","send","msg","forEach","storage"],"sources":["../../../../src/plugins/electron/rx-storage-ipc-main.ts"],"sourcesContent":["/**\r\n * This file contains everything\r\n * that is supposed to run inside of the electron main process\r\n */\r\nimport type {\r\n RxStorage\r\n} from '../../types/index.d.ts';\r\nimport { Subject } from 'rxjs';\r\nimport {\r\n IPC_RENDERER_KEY_PREFIX\r\n} from './electron-helper.ts';\r\nimport {\r\n exposeRxStorageRemote,\r\n RxStorageRemoteExposeSettings,\r\n MessageToRemote\r\n} from '../storage-remote/index.ts';\r\nexport function exposeIpcMainRxStorage<T, D>(\r\n args: {\r\n key: string;\r\n storage: RxStorage<T, D>;\r\n ipcMain: any;\r\n }\r\n) {\r\n const channelId = [\r\n IPC_RENDERER_KEY_PREFIX,\r\n args.key,\r\n ].join('|');\r\n const messages$ = new Subject<MessageToRemote>();\r\n const openRenderers: Set<any> = new Set();\r\n args.ipcMain.on(\r\n channelId,\r\n (event: any, message: any) => {\r\n addOpenRenderer(event.sender);\r\n if (message) {\r\n messages$.next(message);\r\n }\r\n }\r\n );\r\n const addOpenRenderer = (renderer: any) => {\r\n if (openRenderers.has(renderer)) return;\r\n openRenderers.add(renderer);\r\n renderer.on('destroyed', () => openRenderers.delete(renderer));\r\n };\r\n const send: RxStorageRemoteExposeSettings['send'] = (msg) => {\r\n /**\r\n * TODO we could improve performance\r\n * by only sending the message to the 'correct' sender.\r\n */\r\n openRenderers.forEach(sender => {\r\n sender.send(channelId, msg);\r\n });\r\n };\r\n exposeRxStorageRemote({\r\n storage: args.storage,\r\n messages$,\r\n send\r\n });\r\n}\r\n"],"mappings":"AAAA;AACA;AACA;AACA;;AAIA,SAASA,OAAO,QAAQ,MAAM;AAC9B,SACIC,uBAAuB,QACpB,sBAAsB;AAC7B,SACIC,qBAAqB,QAGlB,4BAA4B;AACnC,OAAO,SAASC,sBAAsBA,CAClCC,IAIC,EACH;EACE,IAAMC,SAAS,GAAG,CACdJ,uBAAuB,EACvBG,IAAI,CAACE,GAAG,CACX,CAACC,IAAI,CAAC,GAAG,CAAC;EACX,IAAMC,SAAS,GAAG,IAAIR,OAAO,CAAkB,CAAC;EAChD,IAAMS,aAAuB,GAAG,IAAIC,GAAG,CAAC,CAAC;EACzCN,IAAI,CAACO,OAAO,CAACC,EAAE,CACXP,SAAS,EACT,CAACQ,KAAU,EAAEC,OAAY,KAAK;IAC1BC,eAAe,CAACF,KAAK,CAACG,MAAM,CAAC;IAC7B,IAAIF,OAAO,EAAE;MACTN,SAAS,CAACS,IAAI,CAACH,OAAO,CAAC;IAC3B;EACJ,CACJ,CAAC;EACD,IAAMC,eAAe,GAAIG,QAAa,IAAK;IACvC,IAAIT,aAAa,CAACU,GAAG,CAACD,QAAQ,CAAC,EAAE;IACjCT,aAAa,CAACW,GAAG,CAACF,QAAQ,CAAC;IAC3BA,QAAQ,CAACN,EAAE,CAAC,WAAW,EAAE,MAAMH,aAAa,CAACY,MAAM,CAACH,QAAQ,CAAC,CAAC;EAClE,CAAC;EACD,IAAMI,IAA2C,GAAIC,GAAG,IAAK;IACzD;AACR;AACA;AACA;IACQd,aAAa,CAACe,OAAO,CAACR,MAAM,IAAI;MAC5BA,MAAM,CAACM,IAAI,CAACjB,SAAS,EAAEkB,GAAG,CAAC;IAC/B,CAAC,CAAC;EACN,CAAC;EACDrB,qBAAqB,CAAC;IAClBuB,OAAO,EAAErB,IAAI,CAACqB,OAAO;IACrBjB,SAAS;IACTc;EACJ,CAAC,CAAC;AACN","ignoreList":[]}