@inlang/sdk 2.0.0-prerelease.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1018) hide show
  1. package/LICENSE +21 -201
  2. package/dist/index.d.ts +0 -2
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +2 -4
  5. package/dist/index.js.map +1 -1
  6. package/dist/lix/index.d.ts +2 -0
  7. package/dist/lix/index.d.ts.map +1 -0
  8. package/dist/lix/index.js +5 -0
  9. package/dist/lix/index.js.map +1 -0
  10. package/dist/project/api.d.ts +0 -4
  11. package/dist/project/api.d.ts.map +1 -1
  12. package/dist/project/api.js +2 -2
  13. package/dist/project/api.js.map +1 -1
  14. package/dist/project/initHandleSaveToLixOnChange.d.ts.map +1 -1
  15. package/dist/project/initHandleSaveToLixOnChange.js +16 -10
  16. package/dist/project/initHandleSaveToLixOnChange.js.map +1 -1
  17. package/dist/project/loadProject.d.ts +11 -1
  18. package/dist/project/loadProject.d.ts.map +1 -1
  19. package/dist/project/loadProject.js +79 -16
  20. package/dist/project/loadProject.js.map +1 -1
  21. package/dist/project/loadProject.test.js +45 -22
  22. package/dist/project/loadProject.test.js.map +1 -1
  23. package/dist/project/loadProjectFromDirectory.d.ts +0 -10
  24. package/dist/project/loadProjectFromDirectory.d.ts.map +1 -1
  25. package/dist/project/loadProjectFromDirectory.js +30 -39
  26. package/dist/project/loadProjectFromDirectory.js.map +1 -1
  27. package/dist/project/loadProjectFromDirectory.test.js +32 -11
  28. package/dist/project/loadProjectFromDirectory.test.js.map +1 -1
  29. package/dist/project/loadProjectInMemory.d.ts.map +1 -1
  30. package/dist/project/loadProjectInMemory.js +3 -2
  31. package/dist/project/loadProjectInMemory.js.map +1 -1
  32. package/dist/project/maybeCaptureTelemetry.d.ts +8 -2
  33. package/dist/project/maybeCaptureTelemetry.d.ts.map +1 -1
  34. package/dist/project/maybeCaptureTelemetry.js +49 -37
  35. package/dist/project/maybeCaptureTelemetry.js.map +1 -1
  36. package/dist/project/maybeCaptureTelemetry.test.js +14 -3
  37. package/dist/project/maybeCaptureTelemetry.test.js.map +1 -1
  38. package/dist/project/newProject.d.ts.map +1 -1
  39. package/dist/project/newProject.js +6 -5
  40. package/dist/project/newProject.js.map +1 -1
  41. package/dist/project/saveProjectToDirectory.test.js +3 -3
  42. package/dist/project/saveProjectToDirectory.test.js.map +1 -1
  43. package/dist/query-utilities/index.d.ts +0 -1
  44. package/dist/query-utilities/index.d.ts.map +1 -1
  45. package/dist/query-utilities/index.js +2 -3
  46. package/dist/query-utilities/index.js.map +1 -1
  47. package/dist/services/env-variables/index.js +3 -3
  48. package/dist/services/env-variables/index.js.map +1 -1
  49. package/dist/services/telemetry/capture.d.ts +1 -0
  50. package/dist/services/telemetry/capture.d.ts.map +1 -1
  51. package/dist/services/telemetry/capture.js +5 -6
  52. package/dist/services/telemetry/capture.js.map +1 -1
  53. package/dist/services/telemetry/capture.test.js +4 -2
  54. package/dist/services/telemetry/capture.test.js.map +1 -1
  55. package/package.json +6 -11
  56. package/src/index.ts +0 -2
  57. package/src/lix/index.ts +1 -0
  58. package/src/project/api.ts +0 -4
  59. package/src/project/initHandleSaveToLixOnChange.ts +13 -8
  60. package/src/project/loadProject.test.ts +51 -23
  61. package/src/project/loadProject.ts +108 -15
  62. package/src/project/loadProjectFromDirectory.test.ts +44 -9
  63. package/src/project/loadProjectFromDirectory.ts +32 -47
  64. package/src/project/loadProjectInMemory.ts +1 -0
  65. package/src/project/maybeCaptureTelemetry.test.ts +16 -2
  66. package/src/project/maybeCaptureTelemetry.ts +55 -37
  67. package/src/project/newProject.ts +4 -3
  68. package/src/project/saveProjectToDirectory.test.ts +1 -1
  69. package/src/query-utilities/index.ts +0 -1
  70. package/src/services/telemetry/capture.test.ts +2 -0
  71. package/src/services/telemetry/capture.ts +5 -4
  72. package/dist/project/state/id$.d.ts +0 -6
  73. package/dist/project/state/id$.d.ts.map +0 -1
  74. package/dist/project/state/id$.js +0 -19
  75. package/dist/project/state/id$.js.map +0 -1
  76. package/dist/project/state/id$.test.d.ts +0 -2
  77. package/dist/project/state/id$.test.d.ts.map +0 -1
  78. package/dist/project/state/id$.test.js +0 -36
  79. package/dist/project/state/id$.test.js.map +0 -1
  80. package/dist/project/state/setSettings.d.ts +0 -7
  81. package/dist/project/state/setSettings.d.ts.map +0 -1
  82. package/dist/project/state/setSettings.js +0 -16
  83. package/dist/project/state/setSettings.js.map +0 -1
  84. package/dist/project/state/setSettings.test.d.ts +0 -2
  85. package/dist/project/state/setSettings.test.d.ts.map +0 -1
  86. package/dist/project/state/setSettings.test.js +0 -58
  87. package/dist/project/state/setSettings.test.js.map +0 -1
  88. package/dist/project/state/settings$.d.ts +0 -7
  89. package/dist/project/state/settings$.d.ts.map +0 -1
  90. package/dist/project/state/settings$.js +0 -21
  91. package/dist/project/state/settings$.js.map +0 -1
  92. package/dist/project/state/settings$.test.d.ts +0 -2
  93. package/dist/project/state/settings$.test.d.ts.map +0 -1
  94. package/dist/project/state/settings$.test.js +0 -51
  95. package/dist/project/state/settings$.test.js.map +0 -1
  96. package/dist/project/state/state.d.ts +0 -58
  97. package/dist/project/state/state.d.ts.map +0 -1
  98. package/dist/project/state/state.js +0 -67
  99. package/dist/project/state/state.js.map +0 -1
  100. package/dist/project/state/state.test.d.ts +0 -2
  101. package/dist/project/state/state.test.d.ts.map +0 -1
  102. package/dist/project/state/state.test.js +0 -103
  103. package/dist/project/state/state.test.js.map +0 -1
  104. package/dist/query-utilities/pollQuery.d.ts +0 -14
  105. package/dist/query-utilities/pollQuery.d.ts.map +0 -1
  106. package/dist/query-utilities/pollQuery.js +0 -22
  107. package/dist/query-utilities/pollQuery.js.map +0 -1
  108. package/dist/query-utilities/pollQuery.test.d.ts +0 -2
  109. package/dist/query-utilities/pollQuery.test.d.ts.map +0 -1
  110. package/dist/query-utilities/pollQuery.test.js +0 -67
  111. package/dist/query-utilities/pollQuery.test.js.map +0 -1
  112. package/node_modules/@lix-js/sdk/LICENSE +0 -21
  113. package/node_modules/@lix-js/sdk/README.md +0 -68
  114. package/node_modules/@lix-js/sdk/dist/account/create-account.d.ts +0 -7
  115. package/node_modules/@lix-js/sdk/dist/account/create-account.d.ts.map +0 -1
  116. package/node_modules/@lix-js/sdk/dist/account/create-account.js +0 -20
  117. package/node_modules/@lix-js/sdk/dist/account/create-account.js.map +0 -1
  118. package/node_modules/@lix-js/sdk/dist/account/create-account.test.d.ts +0 -2
  119. package/node_modules/@lix-js/sdk/dist/account/create-account.test.d.ts.map +0 -1
  120. package/node_modules/@lix-js/sdk/dist/account/create-account.test.js +0 -22
  121. package/node_modules/@lix-js/sdk/dist/account/create-account.test.js.map +0 -1
  122. package/node_modules/@lix-js/sdk/dist/account/database-schema.d.ts +0 -18
  123. package/node_modules/@lix-js/sdk/dist/account/database-schema.d.ts.map +0 -1
  124. package/node_modules/@lix-js/sdk/dist/account/database-schema.js +0 -36
  125. package/node_modules/@lix-js/sdk/dist/account/database-schema.js.map +0 -1
  126. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.d.ts +0 -2
  127. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.d.ts.map +0 -1
  128. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.js +0 -139
  129. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.js.map +0 -1
  130. package/node_modules/@lix-js/sdk/dist/account/index.d.ts +0 -4
  131. package/node_modules/@lix-js/sdk/dist/account/index.d.ts.map +0 -1
  132. package/node_modules/@lix-js/sdk/dist/account/index.js +0 -4
  133. package/node_modules/@lix-js/sdk/dist/account/index.js.map +0 -1
  134. package/node_modules/@lix-js/sdk/dist/account/switch-account.d.ts +0 -26
  135. package/node_modules/@lix-js/sdk/dist/account/switch-account.d.ts.map +0 -1
  136. package/node_modules/@lix-js/sdk/dist/account/switch-account.js +0 -34
  137. package/node_modules/@lix-js/sdk/dist/account/switch-account.js.map +0 -1
  138. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.d.ts +0 -2
  139. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.d.ts.map +0 -1
  140. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.js +0 -48
  141. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.js.map +0 -1
  142. package/node_modules/@lix-js/sdk/dist/change/apply-changes.d.ts +0 -25
  143. package/node_modules/@lix-js/sdk/dist/change/apply-changes.d.ts.map +0 -1
  144. package/node_modules/@lix-js/sdk/dist/change/apply-changes.js +0 -98
  145. package/node_modules/@lix-js/sdk/dist/change/apply-changes.js.map +0 -1
  146. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.d.ts +0 -2
  147. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.d.ts.map +0 -1
  148. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.js +0 -222
  149. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.js.map +0 -1
  150. package/node_modules/@lix-js/sdk/dist/change/create-change.d.ts +0 -27
  151. package/node_modules/@lix-js/sdk/dist/change/create-change.d.ts.map +0 -1
  152. package/node_modules/@lix-js/sdk/dist/change/create-change.js +0 -97
  153. package/node_modules/@lix-js/sdk/dist/change/create-change.js.map +0 -1
  154. package/node_modules/@lix-js/sdk/dist/change/create-change.test.d.ts +0 -2
  155. package/node_modules/@lix-js/sdk/dist/change/create-change.test.d.ts.map +0 -1
  156. package/node_modules/@lix-js/sdk/dist/change/create-change.test.js +0 -235
  157. package/node_modules/@lix-js/sdk/dist/change/create-change.test.js.map +0 -1
  158. package/node_modules/@lix-js/sdk/dist/change/index.d.ts +0 -3
  159. package/node_modules/@lix-js/sdk/dist/change/index.d.ts.map +0 -1
  160. package/node_modules/@lix-js/sdk/dist/change/index.js +0 -3
  161. package/node_modules/@lix-js/sdk/dist/change/index.js.map +0 -1
  162. package/node_modules/@lix-js/sdk/dist/change/mock-change.d.ts +0 -10
  163. package/node_modules/@lix-js/sdk/dist/change/mock-change.d.ts.map +0 -1
  164. package/node_modules/@lix-js/sdk/dist/change/mock-change.js +0 -20
  165. package/node_modules/@lix-js/sdk/dist/change/mock-change.js.map +0 -1
  166. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.d.ts +0 -15
  167. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.d.ts.map +0 -1
  168. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.js +0 -67
  169. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.js.map +0 -1
  170. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.d.ts +0 -2
  171. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.d.ts.map +0 -1
  172. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.js +0 -145
  173. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.js.map +0 -1
  174. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.d.ts +0 -23
  175. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.d.ts.map +0 -1
  176. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.js +0 -50
  177. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.js.map +0 -1
  178. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.d.ts +0 -2
  179. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.d.ts.map +0 -1
  180. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.js +0 -182
  181. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.js.map +0 -1
  182. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.d.ts +0 -32
  183. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.d.ts.map +0 -1
  184. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.js +0 -66
  185. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.js.map +0 -1
  186. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.d.ts +0 -2
  187. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.d.ts.map +0 -1
  188. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.js +0 -201
  189. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.js.map +0 -1
  190. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.d.ts +0 -14
  191. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.d.ts.map +0 -1
  192. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.js +0 -67
  193. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.js.map +0 -1
  194. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.d.ts +0 -2
  195. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.d.ts.map +0 -1
  196. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.js +0 -182
  197. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.js.map +0 -1
  198. package/node_modules/@lix-js/sdk/dist/change-conflict/index.d.ts +0 -4
  199. package/node_modules/@lix-js/sdk/dist/change-conflict/index.d.ts.map +0 -1
  200. package/node_modules/@lix-js/sdk/dist/change-conflict/index.js +0 -4
  201. package/node_modules/@lix-js/sdk/dist/change-conflict/index.js.map +0 -1
  202. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.d.ts +0 -12
  203. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.d.ts.map +0 -1
  204. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.js +0 -48
  205. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.js.map +0 -1
  206. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.d.ts +0 -2
  207. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.d.ts.map +0 -1
  208. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.js +0 -95
  209. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.js.map +0 -1
  210. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.d.ts +0 -2
  211. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.d.ts.map +0 -1
  212. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.js +0 -72
  213. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.js.map +0 -1
  214. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.d.ts +0 -13
  215. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.d.ts.map +0 -1
  216. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.js +0 -25
  217. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.js.map +0 -1
  218. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.d.ts +0 -2
  219. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.d.ts.map +0 -1
  220. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.js +0 -47
  221. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.js.map +0 -1
  222. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.d.ts +0 -24
  223. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.d.ts.map +0 -1
  224. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.js +0 -209
  225. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.js.map +0 -1
  226. package/node_modules/@lix-js/sdk/dist/change-queue/index.d.ts +0 -2
  227. package/node_modules/@lix-js/sdk/dist/change-queue/index.d.ts.map +0 -1
  228. package/node_modules/@lix-js/sdk/dist/change-queue/index.js +0 -2
  229. package/node_modules/@lix-js/sdk/dist/change-queue/index.js.map +0 -1
  230. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.d.ts +0 -7
  231. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.d.ts.map +0 -1
  232. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.js +0 -80
  233. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.js.map +0 -1
  234. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.d.ts +0 -2
  235. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.d.ts.map +0 -1
  236. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.js +0 -373
  237. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.js.map +0 -1
  238. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.d.ts +0 -3
  239. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.d.ts.map +0 -1
  240. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.js +0 -26
  241. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.js.map +0 -1
  242. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.d.ts +0 -2
  243. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.d.ts.map +0 -1
  244. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.js +0 -138
  245. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.js.map +0 -1
  246. package/node_modules/@lix-js/sdk/dist/change-schema/index.d.ts +0 -2
  247. package/node_modules/@lix-js/sdk/dist/change-schema/index.d.ts.map +0 -1
  248. package/node_modules/@lix-js/sdk/dist/change-schema/index.js +0 -2
  249. package/node_modules/@lix-js/sdk/dist/change-schema/index.js.map +0 -1
  250. package/node_modules/@lix-js/sdk/dist/change-schema/types.d.ts +0 -40
  251. package/node_modules/@lix-js/sdk/dist/change-schema/types.d.ts.map +0 -1
  252. package/node_modules/@lix-js/sdk/dist/change-schema/types.js +0 -2
  253. package/node_modules/@lix-js/sdk/dist/change-schema/types.js.map +0 -1
  254. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.d.ts +0 -2
  255. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.d.ts.map +0 -1
  256. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.js +0 -34
  257. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.js.map +0 -1
  258. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.d.ts +0 -19
  259. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.d.ts.map +0 -1
  260. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.js +0 -36
  261. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.js.map +0 -1
  262. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.d.ts +0 -2
  263. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.d.ts.map +0 -1
  264. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.js +0 -106
  265. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.js.map +0 -1
  266. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.d.ts +0 -16
  267. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.d.ts.map +0 -1
  268. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.js +0 -33
  269. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.js.map +0 -1
  270. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.d.ts +0 -2
  271. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.d.ts.map +0 -1
  272. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.js +0 -37
  273. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.js.map +0 -1
  274. package/node_modules/@lix-js/sdk/dist/change-set/index.d.ts +0 -3
  275. package/node_modules/@lix-js/sdk/dist/change-set/index.d.ts.map +0 -1
  276. package/node_modules/@lix-js/sdk/dist/change-set/index.js +0 -3
  277. package/node_modules/@lix-js/sdk/dist/change-set/index.js.map +0 -1
  278. package/node_modules/@lix-js/sdk/dist/database/apply-schema.d.ts +0 -8
  279. package/node_modules/@lix-js/sdk/dist/database/apply-schema.d.ts.map +0 -1
  280. package/node_modules/@lix-js/sdk/dist/database/apply-schema.js +0 -266
  281. package/node_modules/@lix-js/sdk/dist/database/apply-schema.js.map +0 -1
  282. package/node_modules/@lix-js/sdk/dist/database/execute-sync.d.ts +0 -18
  283. package/node_modules/@lix-js/sdk/dist/database/execute-sync.d.ts.map +0 -1
  284. package/node_modules/@lix-js/sdk/dist/database/execute-sync.js +0 -36
  285. package/node_modules/@lix-js/sdk/dist/database/execute-sync.js.map +0 -1
  286. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.d.ts +0 -2
  287. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.d.ts.map +0 -1
  288. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.js +0 -118
  289. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.js.map +0 -1
  290. package/node_modules/@lix-js/sdk/dist/database/index.d.ts +0 -5
  291. package/node_modules/@lix-js/sdk/dist/database/index.d.ts.map +0 -1
  292. package/node_modules/@lix-js/sdk/dist/database/index.js +0 -5
  293. package/node_modules/@lix-js/sdk/dist/database/index.js.map +0 -1
  294. package/node_modules/@lix-js/sdk/dist/database/init-db.d.ts +0 -7
  295. package/node_modules/@lix-js/sdk/dist/database/init-db.d.ts.map +0 -1
  296. package/node_modules/@lix-js/sdk/dist/database/init-db.js +0 -95
  297. package/node_modules/@lix-js/sdk/dist/database/init-db.js.map +0 -1
  298. package/node_modules/@lix-js/sdk/dist/database/init-db.test.d.ts +0 -2
  299. package/node_modules/@lix-js/sdk/dist/database/init-db.test.d.ts.map +0 -1
  300. package/node_modules/@lix-js/sdk/dist/database/init-db.test.js +0 -497
  301. package/node_modules/@lix-js/sdk/dist/database/init-db.test.js.map +0 -1
  302. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.d.ts +0 -3
  303. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.d.ts.map +0 -1
  304. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.js +0 -44
  305. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.js.map +0 -1
  306. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.d.ts +0 -2
  307. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.d.ts.map +0 -1
  308. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.js +0 -162
  309. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.js.map +0 -1
  310. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.d.ts +0 -12
  311. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.d.ts.map +0 -1
  312. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.js +0 -149
  313. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.js.map +0 -1
  314. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.d.ts +0 -2
  315. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.d.ts.map +0 -1
  316. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.js +0 -162
  317. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.js.map +0 -1
  318. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.d.ts +0 -3
  319. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.d.ts.map +0 -1
  320. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.js +0 -100
  321. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.js.map +0 -1
  322. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.d.ts +0 -2
  323. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.d.ts.map +0 -1
  324. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.js +0 -107
  325. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.js.map +0 -1
  326. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.d.ts +0 -16
  327. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.d.ts.map +0 -1
  328. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.js +0 -101
  329. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.js.map +0 -1
  330. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.d.ts +0 -8
  331. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.d.ts.map +0 -1
  332. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.js +0 -18
  333. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.js.map +0 -1
  334. package/node_modules/@lix-js/sdk/dist/database/nano-id.d.ts +0 -21
  335. package/node_modules/@lix-js/sdk/dist/database/nano-id.d.ts.map +0 -1
  336. package/node_modules/@lix-js/sdk/dist/database/nano-id.js +0 -58
  337. package/node_modules/@lix-js/sdk/dist/database/nano-id.js.map +0 -1
  338. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.d.ts +0 -2
  339. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.d.ts.map +0 -1
  340. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.js +0 -13
  341. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.js.map +0 -1
  342. package/node_modules/@lix-js/sdk/dist/database/schema.d.ts +0 -212
  343. package/node_modules/@lix-js/sdk/dist/database/schema.d.ts.map +0 -1
  344. package/node_modules/@lix-js/sdk/dist/database/schema.js +0 -2
  345. package/node_modules/@lix-js/sdk/dist/database/schema.js.map +0 -1
  346. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.d.ts +0 -8
  347. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.d.ts.map +0 -1
  348. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.js +0 -12
  349. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.js.map +0 -1
  350. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.d.ts +0 -21
  351. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.d.ts.map +0 -1
  352. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.js +0 -40
  353. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.js.map +0 -1
  354. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.d.ts +0 -2
  355. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.d.ts.map +0 -1
  356. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.js +0 -38
  357. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.js.map +0 -1
  358. package/node_modules/@lix-js/sdk/dist/discussion/index.d.ts +0 -3
  359. package/node_modules/@lix-js/sdk/dist/discussion/index.d.ts.map +0 -1
  360. package/node_modules/@lix-js/sdk/dist/discussion/index.js +0 -3
  361. package/node_modules/@lix-js/sdk/dist/discussion/index.js.map +0 -1
  362. package/node_modules/@lix-js/sdk/dist/file/index.d.ts +0 -2
  363. package/node_modules/@lix-js/sdk/dist/file/index.d.ts.map +0 -1
  364. package/node_modules/@lix-js/sdk/dist/file/index.js +0 -2
  365. package/node_modules/@lix-js/sdk/dist/file/index.js.map +0 -1
  366. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.d.ts +0 -16
  367. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.d.ts.map +0 -1
  368. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.js +0 -44
  369. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.js.map +0 -1
  370. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.d.ts +0 -2
  371. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.d.ts.map +0 -1
  372. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.js +0 -36
  373. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.js.map +0 -1
  374. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.d.ts +0 -24
  375. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.d.ts.map +0 -1
  376. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.js +0 -209
  377. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.js.map +0 -1
  378. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.d.ts +0 -5
  379. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.d.ts.map +0 -1
  380. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.js +0 -85
  381. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.js.map +0 -1
  382. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.d.ts +0 -2
  383. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.d.ts.map +0 -1
  384. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.js +0 -373
  385. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.js.map +0 -1
  386. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.d.ts +0 -13
  387. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.d.ts.map +0 -1
  388. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.js +0 -25
  389. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.js.map +0 -1
  390. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.d.ts +0 -2
  391. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.d.ts.map +0 -1
  392. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.js +0 -47
  393. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.js.map +0 -1
  394. package/node_modules/@lix-js/sdk/dist/file-queue/index.d.ts +0 -2
  395. package/node_modules/@lix-js/sdk/dist/file-queue/index.d.ts.map +0 -1
  396. package/node_modules/@lix-js/sdk/dist/file-queue/index.js +0 -2
  397. package/node_modules/@lix-js/sdk/dist/file-queue/index.js.map +0 -1
  398. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.d.ts +0 -3
  399. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.d.ts.map +0 -1
  400. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.js +0 -26
  401. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.js.map +0 -1
  402. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.d.ts +0 -2
  403. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.d.ts.map +0 -1
  404. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.js +0 -138
  405. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.js.map +0 -1
  406. package/node_modules/@lix-js/sdk/dist/index.d.ts +0 -17
  407. package/node_modules/@lix-js/sdk/dist/index.d.ts.map +0 -1
  408. package/node_modules/@lix-js/sdk/dist/index.js +0 -17
  409. package/node_modules/@lix-js/sdk/dist/index.js.map +0 -1
  410. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.d.ts +0 -42
  411. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.d.ts.map +0 -1
  412. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.js +0 -21
  413. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.js.map +0 -1
  414. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.d.ts +0 -2
  415. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.d.ts.map +0 -1
  416. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.js +0 -114
  417. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.js.map +0 -1
  418. package/node_modules/@lix-js/sdk/dist/lix/close-lix.d.ts +0 -8
  419. package/node_modules/@lix-js/sdk/dist/lix/close-lix.d.ts.map +0 -1
  420. package/node_modules/@lix-js/sdk/dist/lix/close-lix.js +0 -7
  421. package/node_modules/@lix-js/sdk/dist/lix/close-lix.js.map +0 -1
  422. package/node_modules/@lix-js/sdk/dist/lix/index.d.ts +0 -5
  423. package/node_modules/@lix-js/sdk/dist/lix/index.d.ts.map +0 -1
  424. package/node_modules/@lix-js/sdk/dist/lix/index.js +0 -8
  425. package/node_modules/@lix-js/sdk/dist/lix/index.js.map +0 -1
  426. package/node_modules/@lix-js/sdk/dist/lix/merge.d.ts +0 -9
  427. package/node_modules/@lix-js/sdk/dist/lix/merge.d.ts.map +0 -1
  428. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.d.ts +0 -15
  429. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.d.ts.map +0 -1
  430. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.js +0 -34
  431. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.js.map +0 -1
  432. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.d.ts +0 -2
  433. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.d.ts.map +0 -1
  434. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.js +0 -121
  435. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.js.map +0 -1
  436. package/node_modules/@lix-js/sdk/dist/lix/merge.js +0 -195
  437. package/node_modules/@lix-js/sdk/dist/lix/merge.js.map +0 -1
  438. package/node_modules/@lix-js/sdk/dist/lix/merge.test.d.ts +0 -2
  439. package/node_modules/@lix-js/sdk/dist/lix/merge.test.d.ts.map +0 -1
  440. package/node_modules/@lix-js/sdk/dist/lix/merge.test.js +0 -689
  441. package/node_modules/@lix-js/sdk/dist/lix/merge.test.js.map +0 -1
  442. package/node_modules/@lix-js/sdk/dist/lix/new-lix.d.ts +0 -8
  443. package/node_modules/@lix-js/sdk/dist/lix/new-lix.d.ts.map +0 -1
  444. package/node_modules/@lix-js/sdk/dist/lix/new-lix.js +0 -26
  445. package/node_modules/@lix-js/sdk/dist/lix/new-lix.js.map +0 -1
  446. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.d.ts +0 -2
  447. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.d.ts.map +0 -1
  448. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.js +0 -21
  449. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.js.map +0 -1
  450. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.d.ts +0 -12
  451. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.d.ts.map +0 -1
  452. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.js +0 -19
  453. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.js.map +0 -1
  454. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.d.ts +0 -2
  455. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.d.ts.map +0 -1
  456. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.js +0 -30
  457. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.js.map +0 -1
  458. package/node_modules/@lix-js/sdk/dist/lix/open-lix.d.ts +0 -50
  459. package/node_modules/@lix-js/sdk/dist/lix/open-lix.d.ts.map +0 -1
  460. package/node_modules/@lix-js/sdk/dist/lix/open-lix.js +0 -33
  461. package/node_modules/@lix-js/sdk/dist/lix/open-lix.js.map +0 -1
  462. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.d.ts +0 -2
  463. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.d.ts.map +0 -1
  464. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.js +0 -38
  465. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.js.map +0 -1
  466. package/node_modules/@lix-js/sdk/dist/lix/to-blob.d.ts +0 -11
  467. package/node_modules/@lix-js/sdk/dist/lix/to-blob.d.ts.map +0 -1
  468. package/node_modules/@lix-js/sdk/dist/lix/to-blob.js +0 -11
  469. package/node_modules/@lix-js/sdk/dist/lix/to-blob.js.map +0 -1
  470. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.d.ts +0 -10
  471. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.d.ts.map +0 -1
  472. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.js +0 -69
  473. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.js.map +0 -1
  474. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.d.ts +0 -2
  475. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.d.ts.map +0 -1
  476. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.js +0 -297
  477. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.js.map +0 -1
  478. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.d.ts +0 -60
  479. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.d.ts.map +0 -1
  480. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.js +0 -70
  481. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.js.map +0 -1
  482. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.d.ts +0 -2
  483. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.d.ts.map +0 -1
  484. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.js +0 -48
  485. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.js.map +0 -1
  486. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.d.ts +0 -5
  487. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.d.ts.map +0 -1
  488. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.js +0 -135
  489. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.js.map +0 -1
  490. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.d.ts +0 -2
  491. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.d.ts.map +0 -1
  492. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.js +0 -214
  493. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.js.map +0 -1
  494. package/node_modules/@lix-js/sdk/dist/own-change-control/index.d.ts +0 -2
  495. package/node_modules/@lix-js/sdk/dist/own-change-control/index.d.ts.map +0 -1
  496. package/node_modules/@lix-js/sdk/dist/own-change-control/index.js +0 -2
  497. package/node_modules/@lix-js/sdk/dist/own-change-control/index.js.map +0 -1
  498. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.d.ts +0 -3
  499. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.d.ts.map +0 -1
  500. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.js +0 -28
  501. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.js.map +0 -1
  502. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.d.ts +0 -2
  503. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.d.ts.map +0 -1
  504. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.js +0 -49
  505. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.js.map +0 -1
  506. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.d.ts +0 -10
  507. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.d.ts.map +0 -1
  508. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.js +0 -69
  509. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.js.map +0 -1
  510. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.d.ts +0 -2
  511. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.d.ts.map +0 -1
  512. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.js +0 -297
  513. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.js.map +0 -1
  514. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.d.ts +0 -61
  515. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.d.ts.map +0 -1
  516. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.js +0 -71
  517. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.js.map +0 -1
  518. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.d.ts +0 -2
  519. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.d.ts.map +0 -1
  520. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.js +0 -48
  521. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.js.map +0 -1
  522. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.d.ts +0 -5
  523. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.d.ts.map +0 -1
  524. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.js +0 -135
  525. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.js.map +0 -1
  526. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.d.ts +0 -2
  527. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.d.ts.map +0 -1
  528. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.js +0 -214
  529. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.js.map +0 -1
  530. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.d.ts +0 -2
  531. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.d.ts.map +0 -1
  532. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.js +0 -2
  533. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.js.map +0 -1
  534. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.d.ts +0 -3
  535. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.d.ts.map +0 -1
  536. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.js +0 -24
  537. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.js.map +0 -1
  538. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.d.ts +0 -2
  539. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.d.ts.map +0 -1
  540. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.js +0 -49
  541. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.js.map +0 -1
  542. package/node_modules/@lix-js/sdk/dist/plugin/index.d.ts +0 -2
  543. package/node_modules/@lix-js/sdk/dist/plugin/index.d.ts.map +0 -1
  544. package/node_modules/@lix-js/sdk/dist/plugin/index.js +0 -2
  545. package/node_modules/@lix-js/sdk/dist/plugin/index.js.map +0 -1
  546. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.d.ts +0 -114
  547. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.d.ts.map +0 -1
  548. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.js +0 -2
  549. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.js.map +0 -1
  550. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.d.ts +0 -2
  551. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.d.ts.map +0 -1
  552. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.js +0 -40
  553. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.js.map +0 -1
  554. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.d.ts +0 -5
  555. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.d.ts.map +0 -1
  556. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.js +0 -20
  557. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.js.map +0 -1
  558. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.d.ts +0 -11
  559. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.d.ts.map +0 -1
  560. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.js +0 -15
  561. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.js.map +0 -1
  562. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.d.ts +0 -15
  563. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.d.ts.map +0 -1
  564. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.js +0 -18
  565. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.js.map +0 -1
  566. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.d.ts +0 -2
  567. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.d.ts.map +0 -1
  568. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.js +0 -55
  569. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.js.map +0 -1
  570. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.d.ts +0 -25
  571. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.d.ts.map +0 -1
  572. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.js +0 -30
  573. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.js.map +0 -1
  574. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.d.ts +0 -2
  575. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.d.ts.map +0 -1
  576. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.js +0 -46
  577. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.js.map +0 -1
  578. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.d.ts +0 -16
  579. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.d.ts.map +0 -1
  580. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.js +0 -29
  581. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.js.map +0 -1
  582. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.d.ts +0 -2
  583. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.d.ts.map +0 -1
  584. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.js +0 -75
  585. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.js.map +0 -1
  586. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.d.ts +0 -16
  587. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.d.ts.map +0 -1
  588. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.js +0 -35
  589. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.js.map +0 -1
  590. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.d.ts +0 -2
  591. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.d.ts.map +0 -1
  592. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.js +0 -70
  593. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.js.map +0 -1
  594. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.d.ts +0 -2
  595. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.d.ts.map +0 -1
  596. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.js +0 -132
  597. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.js.map +0 -1
  598. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.d.ts +0 -29
  599. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.d.ts.map +0 -1
  600. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.js +0 -44
  601. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.js.map +0 -1
  602. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.d.ts +0 -2
  603. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.d.ts.map +0 -1
  604. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.js +0 -71
  605. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.js.map +0 -1
  606. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.d.ts +0 -18
  607. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.d.ts.map +0 -1
  608. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.js +0 -18
  609. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.js.map +0 -1
  610. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.d.ts +0 -2
  611. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.d.ts.map +0 -1
  612. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.js +0 -122
  613. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.js.map +0 -1
  614. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.d.ts +0 -16
  615. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.d.ts.map +0 -1
  616. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.js +0 -55
  617. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.js.map +0 -1
  618. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.d.ts +0 -2
  619. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.d.ts.map +0 -1
  620. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.js +0 -155
  621. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.js.map +0 -1
  622. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.d.ts +0 -25
  623. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.d.ts.map +0 -1
  624. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.js +0 -29
  625. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.js.map +0 -1
  626. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.d.ts +0 -2
  627. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.d.ts.map +0 -1
  628. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.js +0 -43
  629. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.js.map +0 -1
  630. package/node_modules/@lix-js/sdk/dist/query-filter/index.d.ts +0 -9
  631. package/node_modules/@lix-js/sdk/dist/query-filter/index.d.ts.map +0 -1
  632. package/node_modules/@lix-js/sdk/dist/query-filter/index.js +0 -9
  633. package/node_modules/@lix-js/sdk/dist/query-filter/index.js.map +0 -1
  634. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.d.ts +0 -18
  635. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.d.ts.map +0 -1
  636. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.js +0 -25
  637. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.js.map +0 -1
  638. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.d.ts +0 -2
  639. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.d.ts.map +0 -1
  640. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.js +0 -85
  641. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.js.map +0 -1
  642. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.d.ts +0 -19
  643. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.d.ts.map +0 -1
  644. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.js +0 -36
  645. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.js.map +0 -1
  646. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.d.ts +0 -2
  647. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.d.ts.map +0 -1
  648. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.js +0 -84
  649. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.js.map +0 -1
  650. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.d.ts +0 -48
  651. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.d.ts.map +0 -1
  652. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.js +0 -68
  653. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.js.map +0 -1
  654. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.d.ts +0 -8
  655. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.d.ts.map +0 -1
  656. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.js +0 -97
  657. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.js.map +0 -1
  658. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.d.ts +0 -2
  659. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.d.ts.map +0 -1
  660. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.js +0 -103
  661. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.js.map +0 -1
  662. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.d.ts +0 -53
  663. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.d.ts.map +0 -1
  664. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.js +0 -2
  665. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.js.map +0 -1
  666. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.d.ts +0 -3
  667. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.d.ts.map +0 -1
  668. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.js +0 -3
  669. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.js.map +0 -1
  670. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.d.ts +0 -3
  671. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.d.ts.map +0 -1
  672. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.js +0 -44
  673. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.js.map +0 -1
  674. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.d.ts +0 -2
  675. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.d.ts.map +0 -1
  676. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.js +0 -108
  677. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.js.map +0 -1
  678. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.d.ts +0 -3
  679. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.d.ts.map +0 -1
  680. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.js +0 -38
  681. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.js.map +0 -1
  682. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.d.ts +0 -2
  683. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.d.ts.map +0 -1
  684. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.js +0 -72
  685. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.js.map +0 -1
  686. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.d.ts +0 -3
  687. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.d.ts.map +0 -1
  688. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.js +0 -41
  689. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.js.map +0 -1
  690. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.d.ts +0 -2
  691. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.d.ts.map +0 -1
  692. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.js +0 -146
  693. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.js.map +0 -1
  694. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.d.ts +0 -3
  695. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.d.ts.map +0 -1
  696. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.js +0 -142
  697. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.js.map +0 -1
  698. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.d.ts +0 -2
  699. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.d.ts.map +0 -1
  700. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.js +0 -231
  701. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.js.map +0 -1
  702. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.d.ts +0 -18
  703. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.d.ts.map +0 -1
  704. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.js +0 -33
  705. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.js.map +0 -1
  706. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.d.ts +0 -2
  707. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.d.ts.map +0 -1
  708. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.js +0 -54
  709. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.js.map +0 -1
  710. package/node_modules/@lix-js/sdk/dist/snapshot/index.d.ts +0 -3
  711. package/node_modules/@lix-js/sdk/dist/snapshot/index.d.ts.map +0 -1
  712. package/node_modules/@lix-js/sdk/dist/snapshot/index.js +0 -3
  713. package/node_modules/@lix-js/sdk/dist/snapshot/index.js.map +0 -1
  714. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.d.ts +0 -8
  715. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.d.ts.map +0 -1
  716. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.js +0 -29
  717. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.js.map +0 -1
  718. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.d.ts +0 -2
  719. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.d.ts.map +0 -1
  720. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.js +0 -10
  721. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.js.map +0 -1
  722. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.d.ts +0 -8
  723. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.d.ts.map +0 -1
  724. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.js +0 -13
  725. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.js.map +0 -1
  726. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.d.ts +0 -16
  727. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.d.ts.map +0 -1
  728. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.js +0 -62
  729. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.js.map +0 -1
  730. package/node_modules/@lix-js/sdk/dist/sync/merge-state.d.ts +0 -20
  731. package/node_modules/@lix-js/sdk/dist/sync/merge-state.d.ts.map +0 -1
  732. package/node_modules/@lix-js/sdk/dist/sync/merge-state.js +0 -237
  733. package/node_modules/@lix-js/sdk/dist/sync/merge-state.js.map +0 -1
  734. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.d.ts +0 -8
  735. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.d.ts.map +0 -1
  736. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.js +0 -113
  737. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.js.map +0 -1
  738. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.d.ts +0 -2
  739. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.d.ts.map +0 -1
  740. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.js +0 -340
  741. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.js.map +0 -1
  742. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.d.ts +0 -12
  743. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.d.ts.map +0 -1
  744. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.js +0 -35
  745. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.js.map +0 -1
  746. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.d.ts +0 -2
  747. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.d.ts.map +0 -1
  748. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.js +0 -308
  749. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.js.map +0 -1
  750. package/node_modules/@lix-js/sdk/dist/sync/sync-process.d.ts +0 -5
  751. package/node_modules/@lix-js/sdk/dist/sync/sync-process.d.ts.map +0 -1
  752. package/node_modules/@lix-js/sdk/dist/sync/sync-process.js +0 -74
  753. package/node_modules/@lix-js/sdk/dist/sync/sync-process.js.map +0 -1
  754. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.d.ts +0 -2
  755. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.d.ts.map +0 -1
  756. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.js +0 -243
  757. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.js.map +0 -1
  758. package/node_modules/@lix-js/sdk/dist/version/create-version.d.ts +0 -27
  759. package/node_modules/@lix-js/sdk/dist/version/create-version.d.ts.map +0 -1
  760. package/node_modules/@lix-js/sdk/dist/version/create-version.js +0 -74
  761. package/node_modules/@lix-js/sdk/dist/version/create-version.js.map +0 -1
  762. package/node_modules/@lix-js/sdk/dist/version/create-version.test.d.ts +0 -2
  763. package/node_modules/@lix-js/sdk/dist/version/create-version.test.d.ts.map +0 -1
  764. package/node_modules/@lix-js/sdk/dist/version/create-version.test.js +0 -126
  765. package/node_modules/@lix-js/sdk/dist/version/create-version.test.js.map +0 -1
  766. package/node_modules/@lix-js/sdk/dist/version/index.d.ts +0 -8
  767. package/node_modules/@lix-js/sdk/dist/version/index.d.ts.map +0 -1
  768. package/node_modules/@lix-js/sdk/dist/version/index.js +0 -8
  769. package/node_modules/@lix-js/sdk/dist/version/index.js.map +0 -1
  770. package/node_modules/@lix-js/sdk/dist/version/merge-version.d.ts +0 -8
  771. package/node_modules/@lix-js/sdk/dist/version/merge-version.d.ts.map +0 -1
  772. package/node_modules/@lix-js/sdk/dist/version/merge-version.js +0 -67
  773. package/node_modules/@lix-js/sdk/dist/version/merge-version.js.map +0 -1
  774. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.d.ts +0 -2
  775. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.d.ts.map +0 -1
  776. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.js +0 -434
  777. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.js.map +0 -1
  778. package/node_modules/@lix-js/sdk/dist/version/switch-version.d.ts +0 -27
  779. package/node_modules/@lix-js/sdk/dist/version/switch-version.d.ts.map +0 -1
  780. package/node_modules/@lix-js/sdk/dist/version/switch-version.js +0 -91
  781. package/node_modules/@lix-js/sdk/dist/version/switch-version.js.map +0 -1
  782. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.d.ts +0 -2
  783. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.d.ts.map +0 -1
  784. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.js +0 -227
  785. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.js.map +0 -1
  786. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.d.ts +0 -13
  787. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.d.ts.map +0 -1
  788. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.js +0 -36
  789. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.js.map +0 -1
  790. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.d.ts +0 -2
  791. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.d.ts.map +0 -1
  792. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.js +0 -323
  793. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.js.map +0 -1
  794. package/node_modules/@lix-js/sdk/package.json +0 -52
  795. package/node_modules/@lix-js/sdk/src/account/create-account.test.ts +0 -26
  796. package/node_modules/@lix-js/sdk/src/account/create-account.ts +0 -26
  797. package/node_modules/@lix-js/sdk/src/account/database-schema.test.ts +0 -187
  798. package/node_modules/@lix-js/sdk/src/account/database-schema.ts +0 -58
  799. package/node_modules/@lix-js/sdk/src/account/index.ts +0 -3
  800. package/node_modules/@lix-js/sdk/src/account/switch-account.test.ts +0 -63
  801. package/node_modules/@lix-js/sdk/src/account/switch-account.ts +0 -39
  802. package/node_modules/@lix-js/sdk/src/change/apply-changes.test.ts +0 -268
  803. package/node_modules/@lix-js/sdk/src/change/apply-changes.ts +0 -114
  804. package/node_modules/@lix-js/sdk/src/change/create-change.test.ts +0 -296
  805. package/node_modules/@lix-js/sdk/src/change/create-change.ts +0 -129
  806. package/node_modules/@lix-js/sdk/src/change/index.ts +0 -2
  807. package/node_modules/@lix-js/sdk/src/change/mock-change.ts +0 -21
  808. package/node_modules/@lix-js/sdk/src/change-conflict/create-change-conflict.test.ts +0 -173
  809. package/node_modules/@lix-js/sdk/src/change-conflict/create-change-conflict.ts +0 -105
  810. package/node_modules/@lix-js/sdk/src/change-conflict/detect-change-conflicts.test.ts +0 -215
  811. package/node_modules/@lix-js/sdk/src/change-conflict/detect-change-conflicts.ts +0 -65
  812. package/node_modules/@lix-js/sdk/src/change-conflict/detect-diverging-entity-conflict.test.ts +0 -228
  813. package/node_modules/@lix-js/sdk/src/change-conflict/detect-diverging-entity-conflict.ts +0 -82
  814. package/node_modules/@lix-js/sdk/src/change-conflict/garbage-collect-change-conflicts.test.ts +0 -219
  815. package/node_modules/@lix-js/sdk/src/change-conflict/garbage-collect-change-conflicts.ts +0 -96
  816. package/node_modules/@lix-js/sdk/src/change-conflict/index.ts +0 -3
  817. package/node_modules/@lix-js/sdk/src/change-conflict/resolve-conflict-by-selecting.test.ts +0 -118
  818. package/node_modules/@lix-js/sdk/src/change-conflict/resolve-conflict-by-selecting.ts +0 -66
  819. package/node_modules/@lix-js/sdk/src/change-conflict/update-change-conflicts.ts +0 -79
  820. package/node_modules/@lix-js/sdk/src/change-schema/README.md +0 -3
  821. package/node_modules/@lix-js/sdk/src/change-schema/index.ts +0 -4
  822. package/node_modules/@lix-js/sdk/src/change-schema/types.test-d.ts +0 -52
  823. package/node_modules/@lix-js/sdk/src/change-schema/types.ts +0 -53
  824. package/node_modules/@lix-js/sdk/src/change-set/change-set-element-in-symmetric-difference.test.ts +0 -128
  825. package/node_modules/@lix-js/sdk/src/change-set/change-set-element-in-symmetric-difference.ts +0 -52
  826. package/node_modules/@lix-js/sdk/src/change-set/create-change-set.test.ts +0 -43
  827. package/node_modules/@lix-js/sdk/src/change-set/create-change-set.ts +0 -41
  828. package/node_modules/@lix-js/sdk/src/change-set/index.ts +0 -2
  829. package/node_modules/@lix-js/sdk/src/database/apply-schema.ts +0 -270
  830. package/node_modules/@lix-js/sdk/src/database/execute-sync.test.ts +0 -152
  831. package/node_modules/@lix-js/sdk/src/database/execute-sync.ts +0 -47
  832. package/node_modules/@lix-js/sdk/src/database/index.ts +0 -4
  833. package/node_modules/@lix-js/sdk/src/database/init-db.test.ts +0 -628
  834. package/node_modules/@lix-js/sdk/src/database/init-db.ts +0 -111
  835. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v1.test.ts +0 -204
  836. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v1.ts +0 -55
  837. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.ts +0 -204
  838. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v2.ts +0 -194
  839. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/serialize-jsonb-plugin.test.ts +0 -132
  840. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/serialize-jsonb-plugin.ts +0 -122
  841. package/node_modules/@lix-js/sdk/src/database/mutation-log/database-schema.ts +0 -126
  842. package/node_modules/@lix-js/sdk/src/database/mutation-log/lix-session.ts +0 -19
  843. package/node_modules/@lix-js/sdk/src/database/nano-id.test.ts +0 -15
  844. package/node_modules/@lix-js/sdk/src/database/nano-id.ts +0 -72
  845. package/node_modules/@lix-js/sdk/src/database/schema.ts +0 -273
  846. package/node_modules/@lix-js/sdk/src/discussion/create-comment.ts +0 -18
  847. package/node_modules/@lix-js/sdk/src/discussion/create-discussion.test.ts +0 -45
  848. package/node_modules/@lix-js/sdk/src/discussion/create-discussion.ts +0 -48
  849. package/node_modules/@lix-js/sdk/src/discussion/index.ts +0 -2
  850. package/node_modules/@lix-js/sdk/src/file/index.ts +0 -1
  851. package/node_modules/@lix-js/sdk/src/file/validate-file-path.test.ts +0 -44
  852. package/node_modules/@lix-js/sdk/src/file/validate-file-path.ts +0 -60
  853. package/node_modules/@lix-js/sdk/src/file-queue/file-handlers.ts +0 -273
  854. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-process.test.ts +0 -457
  855. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-process.ts +0 -101
  856. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-settled.test.ts +0 -56
  857. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-settled.ts +0 -31
  858. package/node_modules/@lix-js/sdk/src/file-queue/index.ts +0 -1
  859. package/node_modules/@lix-js/sdk/src/file-queue/with-skip-file-queue.test.ts +0 -158
  860. package/node_modules/@lix-js/sdk/src/file-queue/with-skip-file-queue.ts +0 -33
  861. package/node_modules/@lix-js/sdk/src/index.ts +0 -16
  862. package/node_modules/@lix-js/sdk/src/key-value/database-schema.test.ts +0 -140
  863. package/node_modules/@lix-js/sdk/src/key-value/database-schema.ts +0 -66
  864. package/node_modules/@lix-js/sdk/src/lix/close-lix.ts +0 -8
  865. package/node_modules/@lix-js/sdk/src/lix/index.ts +0 -7
  866. package/node_modules/@lix-js/sdk/src/lix/merge.get-leaf-changes-only-in-source.test.ts +0 -143
  867. package/node_modules/@lix-js/sdk/src/lix/merge.get-leaf-changes-only-in-source.ts +0 -46
  868. package/node_modules/@lix-js/sdk/src/lix/merge.test.ts +0 -858
  869. package/node_modules/@lix-js/sdk/src/lix/merge.ts +0 -244
  870. package/node_modules/@lix-js/sdk/src/lix/new-lix.test.ts +0 -23
  871. package/node_modules/@lix-js/sdk/src/lix/new-lix.ts +0 -29
  872. package/node_modules/@lix-js/sdk/src/lix/open-lix-in-memory.test.ts +0 -34
  873. package/node_modules/@lix-js/sdk/src/lix/open-lix-in-memory.ts +0 -28
  874. package/node_modules/@lix-js/sdk/src/lix/open-lix.test.ts +0 -45
  875. package/node_modules/@lix-js/sdk/src/lix/open-lix.ts +0 -86
  876. package/node_modules/@lix-js/sdk/src/lix/to-blob.ts +0 -14
  877. package/node_modules/@lix-js/sdk/src/own-change-control/apply-own-change.test.ts +0 -361
  878. package/node_modules/@lix-js/sdk/src/own-change-control/apply-own-change.ts +0 -110
  879. package/node_modules/@lix-js/sdk/src/own-change-control/change-controlled-tables.test.ts +0 -69
  880. package/node_modules/@lix-js/sdk/src/own-change-control/change-controlled-tables.ts +0 -102
  881. package/node_modules/@lix-js/sdk/src/own-change-control/database-triggers.test.ts +0 -259
  882. package/node_modules/@lix-js/sdk/src/own-change-control/database-triggers.ts +0 -189
  883. package/node_modules/@lix-js/sdk/src/own-change-control/index.ts +0 -1
  884. package/node_modules/@lix-js/sdk/src/own-change-control/with-skip-own-change-control.test.ts +0 -57
  885. package/node_modules/@lix-js/sdk/src/own-change-control/with-skip-own-change-control.ts +0 -34
  886. package/node_modules/@lix-js/sdk/src/plugin/index.ts +0 -6
  887. package/node_modules/@lix-js/sdk/src/plugin/lix-plugin.test-d.ts +0 -45
  888. package/node_modules/@lix-js/sdk/src/plugin/lix-plugin.ts +0 -128
  889. package/node_modules/@lix-js/sdk/src/plugin/load-plugin.ts +0 -28
  890. package/node_modules/@lix-js/sdk/src/plugin/with-transaction.ts +0 -22
  891. package/node_modules/@lix-js/sdk/src/query-filter/change-conflict-in-version.test.ts +0 -62
  892. package/node_modules/@lix-js/sdk/src/query-filter/change-conflict-in-version.ts +0 -25
  893. package/node_modules/@lix-js/sdk/src/query-filter/change-has-label.test.ts +0 -52
  894. package/node_modules/@lix-js/sdk/src/query-filter/change-has-label.ts +0 -41
  895. package/node_modules/@lix-js/sdk/src/query-filter/change-in-version.test.ts +0 -82
  896. package/node_modules/@lix-js/sdk/src/query-filter/change-in-version.ts +0 -31
  897. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-in-version.test.ts +0 -77
  898. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-in-version.ts +0 -36
  899. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-of.bench.ts +0 -175
  900. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-of.test.ts +0 -84
  901. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-of.ts +0 -46
  902. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf.test.ts +0 -140
  903. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf.ts +0 -25
  904. package/node_modules/@lix-js/sdk/src/query-filter/change-is-lowest-common-ancestor-of.test.ts +0 -173
  905. package/node_modules/@lix-js/sdk/src/query-filter/change-is-lowest-common-ancestor-of.ts +0 -57
  906. package/node_modules/@lix-js/sdk/src/query-filter/change-set-has-label.test.ts +0 -50
  907. package/node_modules/@lix-js/sdk/src/query-filter/change-set-has-label.ts +0 -36
  908. package/node_modules/@lix-js/sdk/src/query-filter/index.ts +0 -8
  909. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-difference.test.ts +0 -105
  910. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-difference.ts +0 -37
  911. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-symmetric-difference.test.ts +0 -104
  912. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-symmetric-difference.ts +0 -52
  913. package/node_modules/@lix-js/sdk/src/server-api-handler/create-server-api-handler.ts +0 -84
  914. package/node_modules/@lix-js/sdk/src/server-api-handler/environment/create-in-memory-environment.test.ts +0 -131
  915. package/node_modules/@lix-js/sdk/src/server-api-handler/environment/create-in-memory-environment.ts +0 -115
  916. package/node_modules/@lix-js/sdk/src/server-api-handler/environment/environment.ts +0 -43
  917. package/node_modules/@lix-js/sdk/src/server-api-handler/index.ts +0 -5
  918. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/get-v1.test.ts +0 -147
  919. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/get-v1.ts +0 -61
  920. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/new-v1.test.ts +0 -103
  921. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/new-v1.ts +0 -46
  922. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/pull-v1.test.ts +0 -201
  923. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/pull-v1.ts +0 -57
  924. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/push-v1.test.ts +0 -302
  925. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/push-v1.ts +0 -180
  926. package/node_modules/@lix-js/sdk/src/snapshot/create-snapshot.test.ts +0 -68
  927. package/node_modules/@lix-js/sdk/src/snapshot/create-snapshot.ts +0 -40
  928. package/node_modules/@lix-js/sdk/src/snapshot/index.ts +0 -2
  929. package/node_modules/@lix-js/sdk/src/snapshot/json-sha-256.test.ts +0 -12
  930. package/node_modules/@lix-js/sdk/src/snapshot/json-sha-256.ts +0 -35
  931. package/node_modules/@lix-js/sdk/src/snapshot/mock-json-snapshot.ts +0 -14
  932. package/node_modules/@lix-js/sdk/src/sync/get-diffing-rows.ts +0 -96
  933. package/node_modules/@lix-js/sdk/src/sync/merge-state.ts +0 -310
  934. package/node_modules/@lix-js/sdk/src/sync/pull-from-server.test.ts +0 -425
  935. package/node_modules/@lix-js/sdk/src/sync/pull-from-server.ts +0 -144
  936. package/node_modules/@lix-js/sdk/src/sync/push-to-server.test.ts +0 -391
  937. package/node_modules/@lix-js/sdk/src/sync/push-to-server.ts +0 -47
  938. package/node_modules/@lix-js/sdk/src/sync/sync-process.test.ts +0 -321
  939. package/node_modules/@lix-js/sdk/src/sync/sync-process.ts +0 -85
  940. package/node_modules/@lix-js/sdk/src/version/create-version.test.ts +0 -149
  941. package/node_modules/@lix-js/sdk/src/version/create-version.ts +0 -88
  942. package/node_modules/@lix-js/sdk/src/version/index.ts +0 -8
  943. package/node_modules/@lix-js/sdk/src/version/merge-version.test.ts +0 -530
  944. package/node_modules/@lix-js/sdk/src/version/merge-version.ts +0 -88
  945. package/node_modules/@lix-js/sdk/src/version/switch-version.test.ts +0 -292
  946. package/node_modules/@lix-js/sdk/src/version/switch-version.ts +0 -110
  947. package/node_modules/@lix-js/sdk/src/version/update-changes-in-version.test.ts +0 -371
  948. package/node_modules/@lix-js/sdk/src/version/update-changes-in-version.ts +0 -47
  949. package/node_modules/sqlite-wasm-kysely/LICENSE +0 -21
  950. package/node_modules/sqlite-wasm-kysely/README.md +0 -11
  951. package/node_modules/sqlite-wasm-kysely/dist/dialect.d.ts +0 -11
  952. package/node_modules/sqlite-wasm-kysely/dist/dialect.js +0 -13
  953. package/node_modules/sqlite-wasm-kysely/dist/dialect.js.map +0 -1
  954. package/node_modules/sqlite-wasm-kysely/dist/index.d.ts +0 -2
  955. package/node_modules/sqlite-wasm-kysely/dist/index.js +0 -3
  956. package/node_modules/sqlite-wasm-kysely/dist/index.js.map +0 -1
  957. package/node_modules/sqlite-wasm-kysely/dist/kysely/ConnectionMutex.d.ts +0 -5
  958. package/node_modules/sqlite-wasm-kysely/dist/kysely/ConnectionMutex.js +0 -34
  959. package/node_modules/sqlite-wasm-kysely/dist/kysely/ConnectionMutex.js.map +0 -1
  960. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmConnection.d.ts +0 -8
  961. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmConnection.js +0 -57
  962. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmConnection.js.map +0 -1
  963. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDialectConfig.d.ts +0 -18
  964. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDialectConfig.js +0 -2
  965. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDialectConfig.js.map +0 -1
  966. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDriver.d.ts +0 -13
  967. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDriver.js +0 -57
  968. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDriver.js.map +0 -1
  969. package/node_modules/sqlite-wasm-kysely/dist/kysely/index.d.ts +0 -4
  970. package/node_modules/sqlite-wasm-kysely/dist/kysely/index.js +0 -4
  971. package/node_modules/sqlite-wasm-kysely/dist/kysely/index.js.map +0 -1
  972. package/node_modules/sqlite-wasm-kysely/dist/kysely/sqliteModule.d.ts +0 -3
  973. package/node_modules/sqlite-wasm-kysely/dist/kysely/sqliteModule.js +0 -5
  974. package/node_modules/sqlite-wasm-kysely/dist/kysely/sqliteModule.js.map +0 -1
  975. package/node_modules/sqlite-wasm-kysely/dist/util/contentFromDatabase.d.ts +0 -9
  976. package/node_modules/sqlite-wasm-kysely/dist/util/contentFromDatabase.js +0 -12
  977. package/node_modules/sqlite-wasm-kysely/dist/util/contentFromDatabase.js.map +0 -1
  978. package/node_modules/sqlite-wasm-kysely/dist/util/createInMemoryDatabase.d.ts +0 -3
  979. package/node_modules/sqlite-wasm-kysely/dist/util/createInMemoryDatabase.js +0 -22
  980. package/node_modules/sqlite-wasm-kysely/dist/util/createInMemoryDatabase.js.map +0 -1
  981. package/node_modules/sqlite-wasm-kysely/dist/util/importDatabase.d.ts +0 -7
  982. package/node_modules/sqlite-wasm-kysely/dist/util/importDatabase.js +0 -15
  983. package/node_modules/sqlite-wasm-kysely/dist/util/importDatabase.js.map +0 -1
  984. package/node_modules/sqlite-wasm-kysely/dist/util/index.d.ts +0 -5
  985. package/node_modules/sqlite-wasm-kysely/dist/util/index.js +0 -5
  986. package/node_modules/sqlite-wasm-kysely/dist/util/index.js.map +0 -1
  987. package/node_modules/sqlite-wasm-kysely/dist/util/loadDatabaseInMemory.d.ts +0 -1
  988. package/node_modules/sqlite-wasm-kysely/dist/util/loadDatabaseInMemory.js +0 -13
  989. package/node_modules/sqlite-wasm-kysely/dist/util/loadDatabaseInMemory.js.map +0 -1
  990. package/node_modules/sqlite-wasm-kysely/dist/util/sqliteWasmBinary.d.ts +0 -7
  991. package/node_modules/sqlite-wasm-kysely/dist/util/sqliteWasmBinary.js +0 -17
  992. package/node_modules/sqlite-wasm-kysely/dist/util/sqliteWasmBinary.js.map +0 -1
  993. package/node_modules/sqlite-wasm-kysely/package.json +0 -34
  994. package/node_modules/sqlite-wasm-kysely/src/dialect.ts +0 -15
  995. package/node_modules/sqlite-wasm-kysely/src/index.ts +0 -2
  996. package/node_modules/sqlite-wasm-kysely/src/kysely/ConnectionMutex.ts +0 -23
  997. package/node_modules/sqlite-wasm-kysely/src/kysely/SqliteWasmConnection.ts +0 -57
  998. package/node_modules/sqlite-wasm-kysely/src/kysely/SqliteWasmDialectConfig.ts +0 -19
  999. package/node_modules/sqlite-wasm-kysely/src/kysely/SqliteWasmDriver.ts +0 -58
  1000. package/node_modules/sqlite-wasm-kysely/src/kysely/index.ts +0 -4
  1001. package/node_modules/sqlite-wasm-kysely/src/kysely/sqliteModule.ts +0 -7
  1002. package/node_modules/sqlite-wasm-kysely/src/util/contentFromDatabase.ts +0 -13
  1003. package/node_modules/sqlite-wasm-kysely/src/util/createInMemoryDatabase.ts +0 -30
  1004. package/node_modules/sqlite-wasm-kysely/src/util/importDatabase.ts +0 -34
  1005. package/node_modules/sqlite-wasm-kysely/src/util/index.ts +0 -5
  1006. package/node_modules/sqlite-wasm-kysely/src/util/loadDatabaseInMemory.ts +0 -13
  1007. package/node_modules/sqlite-wasm-kysely/src/util/sqliteWasmBinary.ts +0 -20
  1008. package/src/project/state/README.md +0 -22
  1009. package/src/project/state/id$.test.ts +0 -40
  1010. package/src/project/state/id$.ts +0 -21
  1011. package/src/project/state/setSettings.test.ts +0 -73
  1012. package/src/project/state/setSettings.ts +0 -19
  1013. package/src/project/state/settings$.test.ts +0 -63
  1014. package/src/project/state/settings$.ts +0 -26
  1015. package/src/project/state/state.test.ts +0 -128
  1016. package/src/project/state/state.ts +0 -94
  1017. package/src/query-utilities/pollQuery.test.ts +0 -88
  1018. package/src/query-utilities/pollQuery.ts +0 -26
package/LICENSE CHANGED
@@ -1,201 +1,21 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright [2024] [Opral US Inc.]
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Opral US Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.d.ts CHANGED
@@ -18,7 +18,5 @@ export type { ImportFile, ExportFile } from "./project/api.js";
18
18
  export type { InlangPlugin, BundleImport, MessageImport, VariantImport, } from "./plugin/schema.js";
19
19
  export type { IdeExtensionConfig } from "./plugin/meta/ideExtension.js";
20
20
  export * from "./database/schema.js";
21
- export * from "@lix-js/sdk";
22
21
  export { createMessageV1 } from "./migrations/v2/createMessageV1.js";
23
- export { v7 as uuidV7 } from "uuid";
24
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EACN,wBAAwB;AACxB;;GAEG;AACH,wBAAwB,IAAI,gCAAgC,GAC5D,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,YAAY,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,GACb,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EACN,wBAAwB;AACxB;;GAEG;AACH,wBAAwB,IAAI,gCAAgC,GAC5D,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,YAAY,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,GACb,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38386619-c225-5777-b3e6-7b50f41eb3d4")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="52176809-8d80-5a47-906d-ab39ab74ae04")}catch(e){}}();
3
3
  export { newProject } from "./project/newProject.js";
4
4
  export { loadProjectInMemory } from "./project/loadProjectInMemory.js";
5
5
  export { loadProjectFromDirectory,
@@ -15,8 +15,6 @@ export * from "./query-utilities/index.js";
15
15
  export * from "./plugin/errors.js";
16
16
  export { humanId } from "./human-id/human-id.js";
17
17
  export * from "./database/schema.js";
18
- export * from "@lix-js/sdk";
19
18
  export { createMessageV1 } from "./migrations/v2/createMessageV1.js";
20
- export { v7 as uuidV7 } from "uuid";
21
19
  //# sourceMappingURL=index.js.map
22
- //# debugId=38386619-c225-5777-b3e6-7b50f41eb3d4
20
+ //# debugId=52176809-8d80-5a47-906d-ab39ab74ae04
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["index.ts"],"sourceRoot":"/","sourcesContent":["export { newProject } from \"./project/newProject.js\";\nexport { loadProjectInMemory } from \"./project/loadProjectInMemory.js\";\n\nexport {\n\tloadProjectFromDirectory,\n\t/**\n\t * @deprecated use `loadProjectFromDirectory()` instead (it's a rename)\n\t */\n\tloadProjectFromDirectory as loadProjectFromDirectoryInMemory,\n} from \"./project/loadProjectFromDirectory.js\";\n\nexport { saveProjectToDirectory } from \"./project/saveProjectToDirectory.js\";\nexport type { InlangProject } from \"./project/api.js\";\nexport * from \"./json-schema/settings.js\";\nexport * from \"./json-schema/pattern.js\";\nexport * from \"./helper.js\";\nexport * from \"./query-utilities/index.js\";\nexport * from \"./plugin/errors.js\";\nexport { humanId } from \"./human-id/human-id.js\";\nexport type { InlangDatabaseSchema } from \"./database/schema.js\";\nexport type { ImportFile, ExportFile } from \"./project/api.js\";\nexport type {\n\tInlangPlugin,\n\tBundleImport,\n\tMessageImport,\n\tVariantImport,\n} from \"./plugin/schema.js\";\nexport type { IdeExtensionConfig } from \"./plugin/meta/ideExtension.js\";\nexport * from \"./database/schema.js\";\nexport * from \"@lix-js/sdk\";\nexport { createMessageV1 } from \"./migrations/v2/createMessageV1.js\";\nexport { v7 as uuidV7 } from \"uuid\";\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EACN,wBAAwB;AACxB;;GAEG;AACH,wBAAwB,IAAI,gCAAgC,GAC5D,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAUjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC","debug_id":"38386619-c225-5777-b3e6-7b50f41eb3d4"}
1
+ {"version":3,"file":"index.js","sources":["index.ts"],"sourceRoot":"/","sourcesContent":["export { newProject } from \"./project/newProject.js\";\nexport { loadProjectInMemory } from \"./project/loadProjectInMemory.js\";\n\nexport {\n\tloadProjectFromDirectory,\n\t/**\n\t * @deprecated use `loadProjectFromDirectory()` instead (it's a rename)\n\t */\n\tloadProjectFromDirectory as loadProjectFromDirectoryInMemory,\n} from \"./project/loadProjectFromDirectory.js\";\n\nexport { saveProjectToDirectory } from \"./project/saveProjectToDirectory.js\";\nexport type { InlangProject } from \"./project/api.js\";\nexport * from \"./json-schema/settings.js\";\nexport * from \"./json-schema/pattern.js\";\nexport * from \"./helper.js\";\nexport * from \"./query-utilities/index.js\";\nexport * from \"./plugin/errors.js\";\nexport { humanId } from \"./human-id/human-id.js\";\nexport type { InlangDatabaseSchema } from \"./database/schema.js\";\nexport type { ImportFile, ExportFile } from \"./project/api.js\";\nexport type {\n\tInlangPlugin,\n\tBundleImport,\n\tMessageImport,\n\tVariantImport,\n} from \"./plugin/schema.js\";\nexport type { IdeExtensionConfig } from \"./plugin/meta/ideExtension.js\";\nexport * from \"./database/schema.js\";\nexport { createMessageV1 } from \"./migrations/v2/createMessageV1.js\";\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EACN,wBAAwB;AACxB;;GAEG;AACH,wBAAwB,IAAI,gCAAgC,GAC5D,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAUjD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC","debug_id":"52176809-8d80-5a47-906d-ab39ab74ae04"}
@@ -0,0 +1,2 @@
1
+ export * from "@lix-js/sdk";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["lix/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="336ae7a2-06c7-52d6-a8f1-83c9d685534e")}catch(e){}}();
3
+ export * from "@lix-js/sdk";
4
+ //# sourceMappingURL=index.js.map
5
+ //# debugId=336ae7a2-06c7-52d6-a8f1-83c9d685534e
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["lix/index.ts"],"sourceRoot":"/","sourcesContent":["export * from \"@lix-js/sdk\";\n"],"names":[],"mappings":";;AAAA,cAAc,aAAa,CAAC","debug_id":"336ae7a2-06c7-52d6-a8f1-83c9d685534e"}
@@ -15,20 +15,16 @@ export type InlangProject = {
15
15
  _sqlite: SqliteDatabase;
16
16
  id: {
17
17
  get: () => Promise<string>;
18
- subscribe: Subscription<string>;
19
18
  };
20
19
  plugins: {
21
20
  get: () => Promise<readonly InlangPlugin[]>;
22
- subscribe: Subscription<readonly InlangPlugin[]>;
23
21
  };
24
22
  errors: {
25
23
  get: () => Promise<readonly Error[]>;
26
- subscribe: Subscription<readonly Error[]>;
27
24
  };
28
25
  settings: {
29
26
  get: () => Promise<ProjectSettings>;
30
27
  set: (settings: ProjectSettings) => Promise<void>;
31
- subscribe: Subscription<ProjectSettings>;
32
28
  };
33
29
  lix: Lix;
34
30
  importFiles: (args: {
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"/","sources":["project/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;OAKG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB,EAAE,EAAE;QACH,GAAG,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;QAC3B,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;KAChC,CAAC;IACF,OAAO,EAAE;QACR,GAAG,EAAE,MAAM,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC,CAAC;QAC5C,SAAS,EAAE,YAAY,CAAC,SAAS,YAAY,EAAE,CAAC,CAAC;KACjD,CAAC;IACF,MAAM,EAAE;QACP,GAAG,EAAE,MAAM,OAAO,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC;QACrC,SAAS,EAAE,YAAY,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC;KAC1C,CAAC;IACF,QAAQ,EAAE;QACT,GAAG,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;QACpC,GAAG,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QAClD,SAAS,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;KACzC,CAAC;IACF,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,EAAE,CAAC,IAAI,EAAE;QACnB,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,KAAK,EAAE,UAAU,EAAE,CAAC;KACpB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,WAAW,EAAE,CAAC,IAAI,EAAE;QACnB,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;KAC/B,KAAK,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;IAC5B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,OAAO,EAAE,UAAU,CAAC;IACpB;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,OAAO,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KAAK;IAC/D,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"/","sources":["project/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;OAKG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB,EAAE,EAAE;QACH,GAAG,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;KAC3B,CAAC;IACF,OAAO,EAAE;QACR,GAAG,EAAE,MAAM,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC,CAAC;KAC5C,CAAC;IACF,MAAM,EAAE;QACP,GAAG,EAAE,MAAM,OAAO,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC;KACrC,CAAC;IACF,QAAQ,EAAE;QACT,GAAG,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;QACpC,GAAG,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KAClD,CAAC;IACF,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,EAAE,CAAC,IAAI,EAAE;QACnB,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,KAAK,EAAE,UAAU,EAAE,CAAC;KACpB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,WAAW,EAAE,CAAC,IAAI,EAAE;QACnB,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;KAC/B,KAAK,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;IAC5B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,OAAO,EAAE,UAAU,CAAC;IACpB;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,OAAO,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KAAK;IAC/D,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC"}
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="af6a2f36-b55c-58e8-9b4c-56650939516b")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="253b34fa-714b-56ee-ada6-d5b2a36b2cb6")}catch(e){}}();
3
3
  export {};
4
4
  //# sourceMappingURL=api.js.map
5
- //# debugId=af6a2f36-b55c-58e8-9b4c-56650939516b
5
+ //# debugId=253b34fa-714b-56ee-ada6-d5b2a36b2cb6
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sources":["project/api.ts"],"sourceRoot":"/","sourcesContent":["import type { Kysely } from \"kysely\";\nimport type { InlangDatabaseSchema } from \"../database/schema.js\";\nimport type { InlangPlugin } from \"../plugin/schema.js\";\nimport type { ProjectSettings } from \"../json-schema/settings.js\";\nimport type { Lix } from \"@lix-js/sdk\";\nimport type { SqliteDatabase } from \"sqlite-wasm-kysely\";\n\nexport type InlangProject = {\n\tdb: Kysely<InlangDatabaseSchema>;\n\t/**\n\t * @deprecated Don't use this. Only an internal hack to unblock\n\t * fink v2.\n\t *\n\t * TODO remove this\n\t */\n\t_sqlite: SqliteDatabase;\n\tid: {\n\t\tget: () => Promise<string>;\n\t\tsubscribe: Subscription<string>;\n\t};\n\tplugins: {\n\t\tget: () => Promise<readonly InlangPlugin[]>;\n\t\tsubscribe: Subscription<readonly InlangPlugin[]>;\n\t};\n\terrors: {\n\t\tget: () => Promise<readonly Error[]>;\n\t\tsubscribe: Subscription<readonly Error[]>;\n\t};\n\tsettings: {\n\t\tget: () => Promise<ProjectSettings>;\n\t\tset: (settings: ProjectSettings) => Promise<void>;\n\t\tsubscribe: Subscription<ProjectSettings>;\n\t};\n\tlix: Lix;\n\timportFiles: (args: {\n\t\tpluginKey: InlangPlugin[\"key\"];\n\t\tfiles: ImportFile[];\n\t}) => Promise<void>;\n\texportFiles: (args: {\n\t\tpluginKey: InlangPlugin[\"key\"];\n\t}) => Promise<ExportFile[]>;\n\tclose: () => Promise<void>;\n\ttoBlob: () => Promise<Blob>;\n};\n\nexport type ImportFile = {\n\t/** The locale of the resource file */\n\tlocale: string;\n\t/** The binary content of the resource */\n\tcontent: Uint8Array;\n\t/**\n\t * The metadata of the file to be imported.\n\t *\n\t * Used to store additional information that is accessible in `importFiles` via `toBeImportedFilesMetadata`.\n\t * https://github.com/opral/inlang-sdk/issues/218\n\t */\n\ttoBeImportedFilesMetadata?: Record<string, any>;\n};\n\nexport type ExportFile = {\n\t/** The locale of the resource file */\n\tlocale: string;\n\t/**\n\t * The name of the file.\n\t *\n\t * @example\n\t * \"en.json\"\n\t * \"common-de.json\"\n\t *\n\t */\n\tname: string;\n\t/** The binary content of the resource */\n\tcontent: Uint8Array;\n};\n\n/**\n * Minimal RxJS compatible (generic) subscription type.\n */\nexport type Subscription<T> = (callback: (value: T) => void) => {\n\tunsubscribe: () => void;\n};\n"],"names":[],"mappings":"","debug_id":"af6a2f36-b55c-58e8-9b4c-56650939516b"}
1
+ {"version":3,"file":"api.js","sources":["project/api.ts"],"sourceRoot":"/","sourcesContent":["import type { Kysely } from \"kysely\";\nimport type { InlangDatabaseSchema } from \"../database/schema.js\";\nimport type { InlangPlugin } from \"../plugin/schema.js\";\nimport type { ProjectSettings } from \"../json-schema/settings.js\";\nimport type { Lix } from \"@lix-js/sdk\";\nimport type { SqliteDatabase } from \"sqlite-wasm-kysely\";\n\nexport type InlangProject = {\n\tdb: Kysely<InlangDatabaseSchema>;\n\t/**\n\t * @deprecated Don't use this. Only an internal hack to unblock\n\t * fink v2.\n\t *\n\t * TODO remove this\n\t */\n\t_sqlite: SqliteDatabase;\n\tid: {\n\t\tget: () => Promise<string>;\n\t};\n\tplugins: {\n\t\tget: () => Promise<readonly InlangPlugin[]>;\n\t};\n\terrors: {\n\t\tget: () => Promise<readonly Error[]>;\n\t};\n\tsettings: {\n\t\tget: () => Promise<ProjectSettings>;\n\t\tset: (settings: ProjectSettings) => Promise<void>;\n\t};\n\tlix: Lix;\n\timportFiles: (args: {\n\t\tpluginKey: InlangPlugin[\"key\"];\n\t\tfiles: ImportFile[];\n\t}) => Promise<void>;\n\texportFiles: (args: {\n\t\tpluginKey: InlangPlugin[\"key\"];\n\t}) => Promise<ExportFile[]>;\n\tclose: () => Promise<void>;\n\ttoBlob: () => Promise<Blob>;\n};\n\nexport type ImportFile = {\n\t/** The locale of the resource file */\n\tlocale: string;\n\t/** The binary content of the resource */\n\tcontent: Uint8Array;\n\t/**\n\t * The metadata of the file to be imported.\n\t *\n\t * Used to store additional information that is accessible in `importFiles` via `toBeImportedFilesMetadata`.\n\t * https://github.com/opral/inlang-sdk/issues/218\n\t */\n\ttoBeImportedFilesMetadata?: Record<string, any>;\n};\n\nexport type ExportFile = {\n\t/** The locale of the resource file */\n\tlocale: string;\n\t/**\n\t * The name of the file.\n\t *\n\t * @example\n\t * \"en.json\"\n\t * \"common-de.json\"\n\t *\n\t */\n\tname: string;\n\t/** The binary content of the resource */\n\tcontent: Uint8Array;\n};\n\n/**\n * Minimal RxJS compatible (generic) subscription type.\n */\nexport type Subscription<T> = (callback: (value: T) => void) => {\n\tunsubscribe: () => void;\n};\n"],"names":[],"mappings":"","debug_id":"253b34fa-714b-56ee-ada6-d5b2a36b2cb6"}
@@ -1 +1 @@
1
- {"version":3,"file":"initHandleSaveToLixOnChange.d.ts","sourceRoot":"/","sources":["project/initHandleSaveToLixOnChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE;;GAEG;AACH,wBAAsB,2BAA2B,CAAC,IAAI,EAAE;IACvD,MAAM,EAAE,cAAc,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACjC,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;CACpC,iBA0EA"}
1
+ {"version":3,"file":"initHandleSaveToLixOnChange.d.ts","sourceRoot":"/","sources":["project/initHandleSaveToLixOnChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE;;GAEG;AACH,wBAAsB,2BAA2B,CAAC,IAAI,EAAE;IACvD,MAAM,EAAE,cAAc,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACjC,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;CACpC,iBA+EA"}
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bbd3c345-ffcd-568f-9c98-dfffcf06409a")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1a4c93a4-17e3-5a38-bc7d-2850d39d1528")}catch(e){}}();
3
3
  import { Kysely, sql } from "kysely";
4
4
  import { contentFromDatabase } from "sqlite-wasm-kysely";
5
5
  /**
@@ -15,14 +15,20 @@ export async function initHandleSaveToLixOnChange(args) {
15
15
  // in the queue needs to be pushed to the file table
16
16
  // because all previous entries are overwritten anyways
17
17
  args.pendingPromises.push((async () => {
18
- // We have to await the database operations to be finished and the database to eb in a consistent state, otherwise contentFromDatabase will crash! 100 ms is too short for current test cases, but we need a proper solution for this
19
- await new Promise((resolve) => setTimeout(resolve, 400));
20
- const data = contentFromDatabase(args.sqlite);
21
- await args.lix.db
22
- .updateTable("file")
23
- .set("data", data)
24
- .where("path", "=", "/db.sqlite")
25
- .execute();
18
+ try {
19
+ // We have to await the database operations to be finished and the database to eb in a consistent state, otherwise contentFromDatabase will crash! 100 ms is too short for current test cases, but we need a proper solution for this
20
+ await new Promise((resolve) => setTimeout(resolve, 400));
21
+ const data = contentFromDatabase(args.sqlite);
22
+ await args.lix.db
23
+ .updateTable("file")
24
+ .set("data", data)
25
+ .where("path", "=", "/db.sqlite")
26
+ .execute();
27
+ }
28
+ catch {
29
+ // database has likely been closed.
30
+ // TODO needs better handling
31
+ }
26
32
  })());
27
33
  return;
28
34
  },
@@ -78,4 +84,4 @@ export async function initHandleSaveToLixOnChange(args) {
78
84
  `.execute(args.db);
79
85
  }
80
86
  //# sourceMappingURL=initHandleSaveToLixOnChange.js.map
81
- //# debugId=bbd3c345-ffcd-568f-9c98-dfffcf06409a
87
+ //# debugId=1a4c93a4-17e3-5a38-bc7d-2850d39d1528
@@ -1 +1 @@
1
- {"version":3,"file":"initHandleSaveToLixOnChange.js","sources":["project/initHandleSaveToLixOnChange.ts"],"sourceRoot":"/","sourcesContent":["import { Kysely, sql } from \"kysely\";\nimport { contentFromDatabase, type SqliteDatabase } from \"sqlite-wasm-kysely\";\nimport type { Lix } from \"@lix-js/sdk\";\nimport type { InlangDatabaseSchema } from \"../database/schema.js\";\n\n/**\n * Saves updates of the database (file) to lix.\n */\nexport async function initHandleSaveToLixOnChange(args: {\n\tsqlite: SqliteDatabase;\n\tdb: Kysely<InlangDatabaseSchema>;\n\tlix: Lix;\n\tpendingPromises: Promise<unknown>[];\n}) {\n\targs.sqlite.createFunction({\n\t\tname: \"save_db_file_to_lix\",\n\t\tarity: 0,\n\t\t// @ts-expect-error - dynamic function\n\t\txFunc: () => {\n\t\t\t// TODO handle in cancellable queue. only the last entry\n\t\t\t// in the queue needs to be pushed to the file table\n\t\t\t// because all previous entries are overwritten anyways\n\t\t\targs.pendingPromises.push(\n\t\t\t\t(async () => {\n\t\t\t\t\t// We have to await the database operations to be finished and the database to eb in a consistent state, otherwise contentFromDatabase will crash! 100 ms is too short for current test cases, but we need a proper solution for this\n\t\t\t\t\tawait new Promise((resolve) => setTimeout(resolve, 400));\n\t\t\t\t\tconst data = contentFromDatabase(args.sqlite);\n\t\t\t\t\tawait args.lix.db\n\t\t\t\t\t\t.updateTable(\"file\")\n\t\t\t\t\t\t.set(\"data\", data)\n\t\t\t\t\t\t.where(\"path\", \"=\", \"/db.sqlite\")\n\t\t\t\t\t\t.execute();\n\t\t\t\t})()\n\t\t\t);\n\t\t\treturn;\n\t\t},\n\t});\n\n\t// better way to write to lix on updates?\n\tawait sql`\n\tCREATE TEMP TRIGGER bundle_insert AFTER INSERT ON bundle\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER bundle_update AFTER UPDATE ON bundle\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER bundle_delete AFTER DELETE ON bundle\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\t\tCREATE TEMP TRIGGER message_insert AFTER INSERT ON message\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER message_update AFTER UPDATE ON message\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER message_delete AFTER DELETE ON message\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER variant_insert AFTER INSERT ON variant\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER variant_update AFTER UPDATE ON variant\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER variant_delete AFTER DELETE ON variant\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\n\t`.execute(args.db);\n}\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAuB,MAAM,oBAAoB,CAAC;AAI9E;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAAC,IAKjD;IACA,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;QAC1B,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,CAAC;QACR,sCAAsC;QACtC,KAAK,EAAE,GAAG,EAAE;YACX,wDAAwD;YACxD,oDAAoD;YACpD,uDAAuD;YACvD,IAAI,CAAC,eAAe,CAAC,IAAI,CACxB,CAAC,KAAK,IAAI,EAAE;gBACX,qOAAqO;gBACrO,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;gBACzD,MAAM,IAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBAC9C,MAAM,IAAI,CAAC,GAAG,CAAC,EAAE;qBACf,WAAW,CAAC,MAAM,CAAC;qBACnB,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC;qBACjB,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,YAAY,CAAC;qBAChC,OAAO,EAAE,CAAC;YACb,CAAC,CAAC,EAAE,CACJ,CAAC;YACF,OAAO;QACR,CAAC;KACD,CAAC,CAAC;IAEH,yCAAyC;IACzC,MAAM,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CR,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACpB,CAAC","debug_id":"bbd3c345-ffcd-568f-9c98-dfffcf06409a"}
1
+ {"version":3,"file":"initHandleSaveToLixOnChange.js","sources":["project/initHandleSaveToLixOnChange.ts"],"sourceRoot":"/","sourcesContent":["import { Kysely, sql } from \"kysely\";\nimport { contentFromDatabase, type SqliteDatabase } from \"sqlite-wasm-kysely\";\nimport type { Lix } from \"@lix-js/sdk\";\nimport type { InlangDatabaseSchema } from \"../database/schema.js\";\n\n/**\n * Saves updates of the database (file) to lix.\n */\nexport async function initHandleSaveToLixOnChange(args: {\n\tsqlite: SqliteDatabase;\n\tdb: Kysely<InlangDatabaseSchema>;\n\tlix: Lix;\n\tpendingPromises: Promise<unknown>[];\n}) {\n\targs.sqlite.createFunction({\n\t\tname: \"save_db_file_to_lix\",\n\t\tarity: 0,\n\t\t// @ts-expect-error - dynamic function\n\t\txFunc: () => {\n\t\t\t// TODO handle in cancellable queue. only the last entry\n\t\t\t// in the queue needs to be pushed to the file table\n\t\t\t// because all previous entries are overwritten anyways\n\t\t\targs.pendingPromises.push(\n\t\t\t\t(async () => {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// We have to await the database operations to be finished and the database to eb in a consistent state, otherwise contentFromDatabase will crash! 100 ms is too short for current test cases, but we need a proper solution for this\n\t\t\t\t\t\tawait new Promise((resolve) => setTimeout(resolve, 400));\n\t\t\t\t\t\tconst data = contentFromDatabase(args.sqlite);\n\t\t\t\t\t\tawait args.lix.db\n\t\t\t\t\t\t\t.updateTable(\"file\")\n\t\t\t\t\t\t\t.set(\"data\", data)\n\t\t\t\t\t\t\t.where(\"path\", \"=\", \"/db.sqlite\")\n\t\t\t\t\t\t\t.execute();\n\t\t\t\t\t} catch {\n\t\t\t\t\t\t// database has likely been closed.\n\t\t\t\t\t\t// TODO needs better handling\n\t\t\t\t\t}\n\t\t\t\t})()\n\t\t\t);\n\t\t\treturn;\n\t\t},\n\t});\n\n\t// better way to write to lix on updates?\n\tawait sql`\n\tCREATE TEMP TRIGGER bundle_insert AFTER INSERT ON bundle\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER bundle_update AFTER UPDATE ON bundle\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER bundle_delete AFTER DELETE ON bundle\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\t\tCREATE TEMP TRIGGER message_insert AFTER INSERT ON message\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER message_update AFTER UPDATE ON message\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER message_delete AFTER DELETE ON message\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER variant_insert AFTER INSERT ON variant\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER variant_update AFTER UPDATE ON variant\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\tCREATE TEMP TRIGGER variant_delete AFTER DELETE ON variant\n\tBEGIN\n\t SELECT save_db_file_to_lix();\n\tEND;\n\n\n\t`.execute(args.db);\n}\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAuB,MAAM,oBAAoB,CAAC;AAI9E;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAAC,IAKjD;IACA,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;QAC1B,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,CAAC;QACR,sCAAsC;QACtC,KAAK,EAAE,GAAG,EAAE;YACX,wDAAwD;YACxD,oDAAoD;YACpD,uDAAuD;YACvD,IAAI,CAAC,eAAe,CAAC,IAAI,CACxB,CAAC,KAAK,IAAI,EAAE;gBACX,IAAI,CAAC;oBACJ,qOAAqO;oBACrO,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;oBACzD,MAAM,IAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;oBAC9C,MAAM,IAAI,CAAC,GAAG,CAAC,EAAE;yBACf,WAAW,CAAC,MAAM,CAAC;yBACnB,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC;yBACjB,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,YAAY,CAAC;yBAChC,OAAO,EAAE,CAAC;gBACb,CAAC;gBAAC,MAAM,CAAC;oBACR,mCAAmC;oBACnC,6BAA6B;gBAC9B,CAAC;YACF,CAAC,CAAC,EAAE,CACJ,CAAC;YACF,OAAO;QACR,CAAC;KACD,CAAC,CAAC;IAEH,yCAAyC;IACzC,MAAM,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CR,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACpB,CAAC","debug_id":"1a4c93a4-17e3-5a38-bc7d-2850d39d1528"}
@@ -1,4 +1,4 @@
1
- import { type Lix } from "@lix-js/sdk";
1
+ import { type Account, type Lix } from "@lix-js/sdk";
2
2
  import type { InlangPlugin } from "../plugin/schema.js";
3
3
  import { type SqliteDatabase } from "sqlite-wasm-kysely";
4
4
  import { type PreprocessPluginBeforeImportFunction } from "../plugin/importPlugins.js";
@@ -9,6 +9,16 @@ import type { InlangProject } from "./api.js";
9
9
  export declare function loadProject(args: {
10
10
  sqlite: SqliteDatabase;
11
11
  lix: Lix;
12
+ /**
13
+ * The account that loaded the project.
14
+ *
15
+ * Defaults to an anonymous/new account if undefined.
16
+ *
17
+ * @example
18
+ * const account = localStorage.getItem("account")
19
+ * const project = await loadProject({ account })
20
+ */
21
+ account?: Account;
12
22
  /**
13
23
  * Provide plugins to the project.
14
24
  *
@@ -1 +1 @@
1
- {"version":3,"file":"loadProject.d.ts","sourceRoot":"/","sources":["project/loadProject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAS9C;;GAEG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE;IACvC,MAAM,EAAE,cAAc,CAAC;IACvB,GAAG,EAAE,GAAG,CAAC;IACT;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC;;;;;;;;;;;OAWG;IACH,4BAA4B,CAAC,EAAE,oCAAoC,CAAC;IACpE;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,OAAO,CAAC,aAAa,CAAC,CA6EzB"}
1
+ {"version":3,"file":"loadProject.d.ts","sourceRoot":"/","sources":["project/loadProject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,EAEN,KAAK,oCAAoC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAQ9C;;GAEG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE;IACvC,MAAM,EAAE,cAAc,CAAC;IACvB,GAAG,EAAE,GAAG,CAAC;IACT;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC;;;;;;;;;;;OAWG;IACH,4BAA4B,CAAC,EAAE,oCAAoC,CAAC;IACpE;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,OAAO,CAAC,aAAa,CAAC,CA8JzB"}
@@ -1,11 +1,10 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ef7bf1ff-db80-5316-95ab-aa0f6f1a24f9")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ed6fb309-3e32-52c8-87d0-1d450e0d29b9")}catch(e){}}();
3
3
  import { toBlob } from "@lix-js/sdk";
4
4
  import {} from "sqlite-wasm-kysely";
5
5
  import { initDb } from "../database/initDb.js";
6
6
  import { initHandleSaveToLixOnChange } from "./initHandleSaveToLixOnChange.js";
7
- import {} from "../plugin/importPlugins.js";
8
- import { createProjectState } from "./state/state.js";
7
+ import { importPlugins, } from "../plugin/importPlugins.js";
9
8
  import { withLanguageTagToLocaleMigration } from "../migrations/v2/withLanguageTagToLocaleMigration.js";
10
9
  import { v4 } from "uuid";
11
10
  import { initErrorReporting } from "../services/error-reporting/index.js";
@@ -24,10 +23,22 @@ export async function loadProject(args) {
24
23
  .where("path", "=", "/settings.json")
25
24
  .executeTakeFirstOrThrow();
26
25
  const settings = withLanguageTagToLocaleMigration(JSON.parse(new TextDecoder().decode(settingsFile.data)));
27
- const state = createProjectState({
28
- ...args,
26
+ const importedPlugins = await importPlugins({
29
27
  settings,
28
+ lix: args.lix,
29
+ preprocessPluginBeforeImport: args.preprocessPluginBeforeImport,
30
30
  });
31
+ const plugins = [...(args.providePlugins ?? []), ...importedPlugins.plugins];
32
+ const idFile = await args.lix.db
33
+ .selectFrom("file")
34
+ .where("path", "=", "/project_id")
35
+ .select("data")
36
+ .executeTakeFirstOrThrow();
37
+ const id = new TextDecoder().decode(idFile.data);
38
+ // const state = createProjectState({
39
+ // ...args,
40
+ // settings,
41
+ // });
31
42
  // TODO implement garbage collection/a proper queue.
32
43
  // for the protoype and tests, it seems good enough
33
44
  // without garbage collection of old promises.
@@ -41,31 +52,83 @@ export async function loadProject(args) {
41
52
  // not awaiting to not block the load time of a project
42
53
  maybeCaptureLoadedProject({
43
54
  db,
44
- state,
55
+ id,
56
+ settings,
57
+ plugins,
58
+ lix: args.lix,
45
59
  appId: args.appId,
46
60
  });
47
- initErrorReporting({ projectId: await state.id.get() });
61
+ initErrorReporting({ projectId: id });
48
62
  return {
49
63
  db,
50
- id: state.id,
51
- settings: state.settings,
52
- plugins: state.plugins,
53
- errors: state.errors,
64
+ id: {
65
+ get: async () => {
66
+ const file = await args.lix.db
67
+ .selectFrom("file")
68
+ .where("path", "=", "/project_id")
69
+ .select("file.data")
70
+ .executeTakeFirstOrThrow();
71
+ return new TextDecoder().decode(file.data);
72
+ },
73
+ },
74
+ settings: {
75
+ get: async () => {
76
+ const file = await args.lix.db
77
+ .selectFrom("file")
78
+ .where("path", "=", "/settings.json")
79
+ .select("file.data")
80
+ .executeTakeFirstOrThrow();
81
+ return withLanguageTagToLocaleMigration(JSON.parse(new TextDecoder().decode(file.data)));
82
+ },
83
+ set: async (newSettings) => {
84
+ const cloned = JSON.parse(JSON.stringify(newSettings));
85
+ cloned.languageTags = cloned.locales;
86
+ cloned.sourceLanguageTag = cloned.baseLocale;
87
+ await args.lix.db
88
+ .updateTable("file")
89
+ .where("path", "=", "/settings.json")
90
+ .set({
91
+ data: new TextEncoder().encode(JSON.stringify(cloned, undefined, 2)),
92
+ })
93
+ .execute();
94
+ },
95
+ },
96
+ plugins: {
97
+ get: async () => plugins,
98
+ },
99
+ errors: {
100
+ get: async () => [...importedPlugins.errors],
101
+ },
102
+ // errors: state.errors,
54
103
  importFiles: async ({ files, pluginKey }) => {
104
+ const settingsFile = await args.lix.db
105
+ .selectFrom("file")
106
+ .where("path", "=", "/settings.json")
107
+ .select("file.data")
108
+ .executeTakeFirstOrThrow();
109
+ const settings = JSON.parse(new TextDecoder().decode(settingsFile.data));
55
110
  return await importFiles({
56
111
  files,
57
112
  pluginKey,
58
- settings: await state.settings.get(),
59
- plugins: await state.plugins.get(),
113
+ settings,
114
+ // TODO don't use global state, might be stale
115
+ plugins,
60
116
  db,
61
117
  });
62
118
  },
63
119
  exportFiles: async ({ pluginKey }) => {
120
+ const settingsFile = await args.lix.db
121
+ .selectFrom("file")
122
+ .where("path", "=", "/settings.json")
123
+ .select("file.data")
124
+ .executeTakeFirstOrThrow();
125
+ const settings = JSON.parse(new TextDecoder().decode(settingsFile.data));
64
126
  return (await exportFiles({
65
127
  pluginKey,
66
128
  db,
67
- settings: await state.settings.get(),
68
- plugins: await state.plugins.get(),
129
+ settings,
130
+ // TODO don't use global state, might be stale
131
+ plugins,
69
132
  })).map((output) => ({ ...output, pluginKey }));
70
133
  },
71
134
  close: async () => {
@@ -102,4 +165,4 @@ async function maybeMigrateFirstProjectId(args) {
102
165
  }
103
166
  }
104
167
  //# sourceMappingURL=loadProject.js.map
105
- //# debugId=ef7bf1ff-db80-5316-95ab-aa0f6f1a24f9
168
+ //# debugId=ed6fb309-3e32-52c8-87d0-1d450e0d29b9