@inlang/sdk 2.0.0-prerelease.0 → 2.0.1

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 (1031) 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/json-schema/settings.d.ts +8 -10
  7. package/dist/json-schema/settings.d.ts.map +1 -1
  8. package/dist/json-schema/settings.js +4 -27
  9. package/dist/json-schema/settings.js.map +1 -1
  10. package/dist/json-schema/settings.test.d.ts +2 -0
  11. package/dist/json-schema/settings.test.d.ts.map +1 -0
  12. package/dist/json-schema/settings.test.js +26 -0
  13. package/dist/json-schema/settings.test.js.map +1 -0
  14. package/dist/lix/index.d.ts +2 -0
  15. package/dist/lix/index.d.ts.map +1 -0
  16. package/dist/lix/index.js +5 -0
  17. package/dist/lix/index.js.map +1 -0
  18. package/dist/plugin/importPlugins.test.js +2 -3
  19. package/dist/plugin/importPlugins.test.js.map +1 -1
  20. package/dist/project/api.d.ts +0 -4
  21. package/dist/project/api.d.ts.map +1 -1
  22. package/dist/project/api.js +2 -2
  23. package/dist/project/api.js.map +1 -1
  24. package/dist/project/initHandleSaveToLixOnChange.d.ts.map +1 -1
  25. package/dist/project/initHandleSaveToLixOnChange.js +16 -10
  26. package/dist/project/initHandleSaveToLixOnChange.js.map +1 -1
  27. package/dist/project/loadProject.d.ts +11 -1
  28. package/dist/project/loadProject.d.ts.map +1 -1
  29. package/dist/project/loadProject.js +79 -16
  30. package/dist/project/loadProject.js.map +1 -1
  31. package/dist/project/loadProject.test.js +45 -22
  32. package/dist/project/loadProject.test.js.map +1 -1
  33. package/dist/project/loadProjectFromDirectory.d.ts +2 -11
  34. package/dist/project/loadProjectFromDirectory.d.ts.map +1 -1
  35. package/dist/project/loadProjectFromDirectory.js +68 -89
  36. package/dist/project/loadProjectFromDirectory.js.map +1 -1
  37. package/dist/project/loadProjectFromDirectory.test.js +89 -12
  38. package/dist/project/loadProjectFromDirectory.test.js.map +1 -1
  39. package/dist/project/loadProjectInMemory.d.ts.map +1 -1
  40. package/dist/project/loadProjectInMemory.js +3 -2
  41. package/dist/project/loadProjectInMemory.js.map +1 -1
  42. package/dist/project/maybeCaptureTelemetry.d.ts +8 -2
  43. package/dist/project/maybeCaptureTelemetry.d.ts.map +1 -1
  44. package/dist/project/maybeCaptureTelemetry.js +49 -37
  45. package/dist/project/maybeCaptureTelemetry.js.map +1 -1
  46. package/dist/project/maybeCaptureTelemetry.test.js +14 -3
  47. package/dist/project/maybeCaptureTelemetry.test.js.map +1 -1
  48. package/dist/project/newProject.d.ts.map +1 -1
  49. package/dist/project/newProject.js +6 -5
  50. package/dist/project/newProject.js.map +1 -1
  51. package/dist/project/saveProjectToDirectory.test.js +3 -3
  52. package/dist/project/saveProjectToDirectory.test.js.map +1 -1
  53. package/dist/query-utilities/index.d.ts +0 -1
  54. package/dist/query-utilities/index.d.ts.map +1 -1
  55. package/dist/query-utilities/index.js +2 -3
  56. package/dist/query-utilities/index.js.map +1 -1
  57. package/dist/services/env-variables/index.js +3 -3
  58. package/dist/services/env-variables/index.js.map +1 -1
  59. package/dist/services/telemetry/capture.d.ts +1 -0
  60. package/dist/services/telemetry/capture.d.ts.map +1 -1
  61. package/dist/services/telemetry/capture.js +5 -6
  62. package/dist/services/telemetry/capture.js.map +1 -1
  63. package/dist/services/telemetry/capture.test.js +4 -2
  64. package/dist/services/telemetry/capture.test.js.map +1 -1
  65. package/package.json +4 -10
  66. package/src/index.ts +0 -2
  67. package/src/json-schema/settings.test.ts +26 -0
  68. package/src/json-schema/settings.ts +3 -36
  69. package/src/lix/index.ts +1 -0
  70. package/src/plugin/importPlugins.test.ts +0 -1
  71. package/src/project/api.ts +0 -4
  72. package/src/project/initHandleSaveToLixOnChange.ts +13 -8
  73. package/src/project/loadProject.test.ts +51 -23
  74. package/src/project/loadProject.ts +108 -15
  75. package/src/project/loadProjectFromDirectory.test.ts +113 -10
  76. package/src/project/loadProjectFromDirectory.ts +79 -143
  77. package/src/project/loadProjectInMemory.ts +1 -0
  78. package/src/project/maybeCaptureTelemetry.test.ts +16 -2
  79. package/src/project/maybeCaptureTelemetry.ts +55 -37
  80. package/src/project/newProject.ts +4 -3
  81. package/src/project/saveProjectToDirectory.test.ts +1 -1
  82. package/src/query-utilities/index.ts +0 -1
  83. package/src/services/telemetry/capture.test.ts +2 -0
  84. package/src/services/telemetry/capture.ts +5 -4
  85. package/dist/project/state/id$.d.ts +0 -6
  86. package/dist/project/state/id$.d.ts.map +0 -1
  87. package/dist/project/state/id$.js +0 -19
  88. package/dist/project/state/id$.js.map +0 -1
  89. package/dist/project/state/id$.test.d.ts +0 -2
  90. package/dist/project/state/id$.test.d.ts.map +0 -1
  91. package/dist/project/state/id$.test.js +0 -36
  92. package/dist/project/state/id$.test.js.map +0 -1
  93. package/dist/project/state/setSettings.d.ts +0 -7
  94. package/dist/project/state/setSettings.d.ts.map +0 -1
  95. package/dist/project/state/setSettings.js +0 -16
  96. package/dist/project/state/setSettings.js.map +0 -1
  97. package/dist/project/state/setSettings.test.d.ts +0 -2
  98. package/dist/project/state/setSettings.test.d.ts.map +0 -1
  99. package/dist/project/state/setSettings.test.js +0 -58
  100. package/dist/project/state/setSettings.test.js.map +0 -1
  101. package/dist/project/state/settings$.d.ts +0 -7
  102. package/dist/project/state/settings$.d.ts.map +0 -1
  103. package/dist/project/state/settings$.js +0 -21
  104. package/dist/project/state/settings$.js.map +0 -1
  105. package/dist/project/state/settings$.test.d.ts +0 -2
  106. package/dist/project/state/settings$.test.d.ts.map +0 -1
  107. package/dist/project/state/settings$.test.js +0 -51
  108. package/dist/project/state/settings$.test.js.map +0 -1
  109. package/dist/project/state/state.d.ts +0 -58
  110. package/dist/project/state/state.d.ts.map +0 -1
  111. package/dist/project/state/state.js +0 -67
  112. package/dist/project/state/state.js.map +0 -1
  113. package/dist/project/state/state.test.d.ts +0 -2
  114. package/dist/project/state/state.test.d.ts.map +0 -1
  115. package/dist/project/state/state.test.js +0 -103
  116. package/dist/project/state/state.test.js.map +0 -1
  117. package/dist/query-utilities/pollQuery.d.ts +0 -14
  118. package/dist/query-utilities/pollQuery.d.ts.map +0 -1
  119. package/dist/query-utilities/pollQuery.js +0 -22
  120. package/dist/query-utilities/pollQuery.js.map +0 -1
  121. package/dist/query-utilities/pollQuery.test.d.ts +0 -2
  122. package/dist/query-utilities/pollQuery.test.d.ts.map +0 -1
  123. package/dist/query-utilities/pollQuery.test.js +0 -67
  124. package/dist/query-utilities/pollQuery.test.js.map +0 -1
  125. package/node_modules/@lix-js/sdk/LICENSE +0 -21
  126. package/node_modules/@lix-js/sdk/README.md +0 -68
  127. package/node_modules/@lix-js/sdk/dist/account/create-account.d.ts +0 -7
  128. package/node_modules/@lix-js/sdk/dist/account/create-account.d.ts.map +0 -1
  129. package/node_modules/@lix-js/sdk/dist/account/create-account.js +0 -20
  130. package/node_modules/@lix-js/sdk/dist/account/create-account.js.map +0 -1
  131. package/node_modules/@lix-js/sdk/dist/account/create-account.test.d.ts +0 -2
  132. package/node_modules/@lix-js/sdk/dist/account/create-account.test.d.ts.map +0 -1
  133. package/node_modules/@lix-js/sdk/dist/account/create-account.test.js +0 -22
  134. package/node_modules/@lix-js/sdk/dist/account/create-account.test.js.map +0 -1
  135. package/node_modules/@lix-js/sdk/dist/account/database-schema.d.ts +0 -18
  136. package/node_modules/@lix-js/sdk/dist/account/database-schema.d.ts.map +0 -1
  137. package/node_modules/@lix-js/sdk/dist/account/database-schema.js +0 -36
  138. package/node_modules/@lix-js/sdk/dist/account/database-schema.js.map +0 -1
  139. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.d.ts +0 -2
  140. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.d.ts.map +0 -1
  141. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.js +0 -139
  142. package/node_modules/@lix-js/sdk/dist/account/database-schema.test.js.map +0 -1
  143. package/node_modules/@lix-js/sdk/dist/account/index.d.ts +0 -4
  144. package/node_modules/@lix-js/sdk/dist/account/index.d.ts.map +0 -1
  145. package/node_modules/@lix-js/sdk/dist/account/index.js +0 -4
  146. package/node_modules/@lix-js/sdk/dist/account/index.js.map +0 -1
  147. package/node_modules/@lix-js/sdk/dist/account/switch-account.d.ts +0 -26
  148. package/node_modules/@lix-js/sdk/dist/account/switch-account.d.ts.map +0 -1
  149. package/node_modules/@lix-js/sdk/dist/account/switch-account.js +0 -34
  150. package/node_modules/@lix-js/sdk/dist/account/switch-account.js.map +0 -1
  151. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.d.ts +0 -2
  152. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.d.ts.map +0 -1
  153. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.js +0 -48
  154. package/node_modules/@lix-js/sdk/dist/account/switch-account.test.js.map +0 -1
  155. package/node_modules/@lix-js/sdk/dist/change/apply-changes.d.ts +0 -25
  156. package/node_modules/@lix-js/sdk/dist/change/apply-changes.d.ts.map +0 -1
  157. package/node_modules/@lix-js/sdk/dist/change/apply-changes.js +0 -98
  158. package/node_modules/@lix-js/sdk/dist/change/apply-changes.js.map +0 -1
  159. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.d.ts +0 -2
  160. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.d.ts.map +0 -1
  161. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.js +0 -222
  162. package/node_modules/@lix-js/sdk/dist/change/apply-changes.test.js.map +0 -1
  163. package/node_modules/@lix-js/sdk/dist/change/create-change.d.ts +0 -27
  164. package/node_modules/@lix-js/sdk/dist/change/create-change.d.ts.map +0 -1
  165. package/node_modules/@lix-js/sdk/dist/change/create-change.js +0 -97
  166. package/node_modules/@lix-js/sdk/dist/change/create-change.js.map +0 -1
  167. package/node_modules/@lix-js/sdk/dist/change/create-change.test.d.ts +0 -2
  168. package/node_modules/@lix-js/sdk/dist/change/create-change.test.d.ts.map +0 -1
  169. package/node_modules/@lix-js/sdk/dist/change/create-change.test.js +0 -235
  170. package/node_modules/@lix-js/sdk/dist/change/create-change.test.js.map +0 -1
  171. package/node_modules/@lix-js/sdk/dist/change/index.d.ts +0 -3
  172. package/node_modules/@lix-js/sdk/dist/change/index.d.ts.map +0 -1
  173. package/node_modules/@lix-js/sdk/dist/change/index.js +0 -3
  174. package/node_modules/@lix-js/sdk/dist/change/index.js.map +0 -1
  175. package/node_modules/@lix-js/sdk/dist/change/mock-change.d.ts +0 -10
  176. package/node_modules/@lix-js/sdk/dist/change/mock-change.d.ts.map +0 -1
  177. package/node_modules/@lix-js/sdk/dist/change/mock-change.js +0 -20
  178. package/node_modules/@lix-js/sdk/dist/change/mock-change.js.map +0 -1
  179. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.d.ts +0 -15
  180. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.d.ts.map +0 -1
  181. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.js +0 -67
  182. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.js.map +0 -1
  183. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.d.ts +0 -2
  184. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.d.ts.map +0 -1
  185. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.js +0 -145
  186. package/node_modules/@lix-js/sdk/dist/change-conflict/create-change-conflict.test.js.map +0 -1
  187. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.d.ts +0 -23
  188. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.d.ts.map +0 -1
  189. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.js +0 -50
  190. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.js.map +0 -1
  191. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.d.ts +0 -2
  192. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.d.ts.map +0 -1
  193. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.js +0 -182
  194. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-change-conflicts.test.js.map +0 -1
  195. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.d.ts +0 -32
  196. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.d.ts.map +0 -1
  197. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.js +0 -66
  198. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.js.map +0 -1
  199. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.d.ts +0 -2
  200. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.d.ts.map +0 -1
  201. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.js +0 -201
  202. package/node_modules/@lix-js/sdk/dist/change-conflict/detect-diverging-entity-conflict.test.js.map +0 -1
  203. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.d.ts +0 -14
  204. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.d.ts.map +0 -1
  205. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.js +0 -67
  206. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.js.map +0 -1
  207. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.d.ts +0 -2
  208. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.d.ts.map +0 -1
  209. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.js +0 -182
  210. package/node_modules/@lix-js/sdk/dist/change-conflict/garbage-collect-change-conflicts.test.js.map +0 -1
  211. package/node_modules/@lix-js/sdk/dist/change-conflict/index.d.ts +0 -4
  212. package/node_modules/@lix-js/sdk/dist/change-conflict/index.d.ts.map +0 -1
  213. package/node_modules/@lix-js/sdk/dist/change-conflict/index.js +0 -4
  214. package/node_modules/@lix-js/sdk/dist/change-conflict/index.js.map +0 -1
  215. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.d.ts +0 -12
  216. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.d.ts.map +0 -1
  217. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.js +0 -48
  218. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.js.map +0 -1
  219. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.d.ts +0 -2
  220. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.d.ts.map +0 -1
  221. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.js +0 -95
  222. package/node_modules/@lix-js/sdk/dist/change-conflict/resolve-conflict-by-selecting.test.js.map +0 -1
  223. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.d.ts +0 -2
  224. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.d.ts.map +0 -1
  225. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.js +0 -72
  226. package/node_modules/@lix-js/sdk/dist/change-conflict/update-change-conflicts.js.map +0 -1
  227. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.d.ts +0 -13
  228. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.d.ts.map +0 -1
  229. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.js +0 -25
  230. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.js.map +0 -1
  231. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.d.ts +0 -2
  232. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.d.ts.map +0 -1
  233. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.js +0 -47
  234. package/node_modules/@lix-js/sdk/dist/change-queue/change-queue-settled.test.js.map +0 -1
  235. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.d.ts +0 -24
  236. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.d.ts.map +0 -1
  237. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.js +0 -209
  238. package/node_modules/@lix-js/sdk/dist/change-queue/file-handlers.js.map +0 -1
  239. package/node_modules/@lix-js/sdk/dist/change-queue/index.d.ts +0 -2
  240. package/node_modules/@lix-js/sdk/dist/change-queue/index.d.ts.map +0 -1
  241. package/node_modules/@lix-js/sdk/dist/change-queue/index.js +0 -2
  242. package/node_modules/@lix-js/sdk/dist/change-queue/index.js.map +0 -1
  243. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.d.ts +0 -7
  244. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.d.ts.map +0 -1
  245. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.js +0 -80
  246. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.js.map +0 -1
  247. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.d.ts +0 -2
  248. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.d.ts.map +0 -1
  249. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.js +0 -373
  250. package/node_modules/@lix-js/sdk/dist/change-queue/init-change-queue.test.js.map +0 -1
  251. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.d.ts +0 -3
  252. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.d.ts.map +0 -1
  253. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.js +0 -26
  254. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.js.map +0 -1
  255. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.d.ts +0 -2
  256. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.d.ts.map +0 -1
  257. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.js +0 -138
  258. package/node_modules/@lix-js/sdk/dist/change-queue/with-skip-change-queue.test.js.map +0 -1
  259. package/node_modules/@lix-js/sdk/dist/change-schema/index.d.ts +0 -2
  260. package/node_modules/@lix-js/sdk/dist/change-schema/index.d.ts.map +0 -1
  261. package/node_modules/@lix-js/sdk/dist/change-schema/index.js +0 -2
  262. package/node_modules/@lix-js/sdk/dist/change-schema/index.js.map +0 -1
  263. package/node_modules/@lix-js/sdk/dist/change-schema/types.d.ts +0 -40
  264. package/node_modules/@lix-js/sdk/dist/change-schema/types.d.ts.map +0 -1
  265. package/node_modules/@lix-js/sdk/dist/change-schema/types.js +0 -2
  266. package/node_modules/@lix-js/sdk/dist/change-schema/types.js.map +0 -1
  267. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.d.ts +0 -2
  268. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.d.ts.map +0 -1
  269. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.js +0 -34
  270. package/node_modules/@lix-js/sdk/dist/change-schema/types.test-d.js.map +0 -1
  271. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.d.ts +0 -19
  272. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.d.ts.map +0 -1
  273. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.js +0 -36
  274. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.js.map +0 -1
  275. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.d.ts +0 -2
  276. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.d.ts.map +0 -1
  277. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.js +0 -106
  278. package/node_modules/@lix-js/sdk/dist/change-set/change-set-element-in-symmetric-difference.test.js.map +0 -1
  279. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.d.ts +0 -16
  280. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.d.ts.map +0 -1
  281. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.js +0 -33
  282. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.js.map +0 -1
  283. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.d.ts +0 -2
  284. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.d.ts.map +0 -1
  285. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.js +0 -37
  286. package/node_modules/@lix-js/sdk/dist/change-set/create-change-set.test.js.map +0 -1
  287. package/node_modules/@lix-js/sdk/dist/change-set/index.d.ts +0 -3
  288. package/node_modules/@lix-js/sdk/dist/change-set/index.d.ts.map +0 -1
  289. package/node_modules/@lix-js/sdk/dist/change-set/index.js +0 -3
  290. package/node_modules/@lix-js/sdk/dist/change-set/index.js.map +0 -1
  291. package/node_modules/@lix-js/sdk/dist/database/apply-schema.d.ts +0 -8
  292. package/node_modules/@lix-js/sdk/dist/database/apply-schema.d.ts.map +0 -1
  293. package/node_modules/@lix-js/sdk/dist/database/apply-schema.js +0 -266
  294. package/node_modules/@lix-js/sdk/dist/database/apply-schema.js.map +0 -1
  295. package/node_modules/@lix-js/sdk/dist/database/execute-sync.d.ts +0 -18
  296. package/node_modules/@lix-js/sdk/dist/database/execute-sync.d.ts.map +0 -1
  297. package/node_modules/@lix-js/sdk/dist/database/execute-sync.js +0 -36
  298. package/node_modules/@lix-js/sdk/dist/database/execute-sync.js.map +0 -1
  299. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.d.ts +0 -2
  300. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.d.ts.map +0 -1
  301. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.js +0 -118
  302. package/node_modules/@lix-js/sdk/dist/database/execute-sync.test.js.map +0 -1
  303. package/node_modules/@lix-js/sdk/dist/database/index.d.ts +0 -5
  304. package/node_modules/@lix-js/sdk/dist/database/index.d.ts.map +0 -1
  305. package/node_modules/@lix-js/sdk/dist/database/index.js +0 -5
  306. package/node_modules/@lix-js/sdk/dist/database/index.js.map +0 -1
  307. package/node_modules/@lix-js/sdk/dist/database/init-db.d.ts +0 -7
  308. package/node_modules/@lix-js/sdk/dist/database/init-db.d.ts.map +0 -1
  309. package/node_modules/@lix-js/sdk/dist/database/init-db.js +0 -95
  310. package/node_modules/@lix-js/sdk/dist/database/init-db.js.map +0 -1
  311. package/node_modules/@lix-js/sdk/dist/database/init-db.test.d.ts +0 -2
  312. package/node_modules/@lix-js/sdk/dist/database/init-db.test.d.ts.map +0 -1
  313. package/node_modules/@lix-js/sdk/dist/database/init-db.test.js +0 -497
  314. package/node_modules/@lix-js/sdk/dist/database/init-db.test.js.map +0 -1
  315. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.d.ts +0 -3
  316. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.d.ts.map +0 -1
  317. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.js +0 -44
  318. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.js.map +0 -1
  319. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.d.ts +0 -2
  320. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.d.ts.map +0 -1
  321. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.js +0 -162
  322. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v1.test.js.map +0 -1
  323. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.d.ts +0 -12
  324. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.d.ts.map +0 -1
  325. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.js +0 -149
  326. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.js.map +0 -1
  327. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.d.ts +0 -2
  328. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.d.ts.map +0 -1
  329. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.js +0 -162
  330. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.js.map +0 -1
  331. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.d.ts +0 -3
  332. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.d.ts.map +0 -1
  333. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.js +0 -100
  334. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.js.map +0 -1
  335. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.d.ts +0 -2
  336. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.d.ts.map +0 -1
  337. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.js +0 -107
  338. package/node_modules/@lix-js/sdk/dist/database/kysely-plugin/serialize-jsonb-plugin.test.js.map +0 -1
  339. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.d.ts +0 -16
  340. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.d.ts.map +0 -1
  341. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.js +0 -101
  342. package/node_modules/@lix-js/sdk/dist/database/mutation-log/database-schema.js.map +0 -1
  343. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.d.ts +0 -8
  344. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.d.ts.map +0 -1
  345. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.js +0 -18
  346. package/node_modules/@lix-js/sdk/dist/database/mutation-log/lix-session.js.map +0 -1
  347. package/node_modules/@lix-js/sdk/dist/database/nano-id.d.ts +0 -21
  348. package/node_modules/@lix-js/sdk/dist/database/nano-id.d.ts.map +0 -1
  349. package/node_modules/@lix-js/sdk/dist/database/nano-id.js +0 -58
  350. package/node_modules/@lix-js/sdk/dist/database/nano-id.js.map +0 -1
  351. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.d.ts +0 -2
  352. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.d.ts.map +0 -1
  353. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.js +0 -13
  354. package/node_modules/@lix-js/sdk/dist/database/nano-id.test.js.map +0 -1
  355. package/node_modules/@lix-js/sdk/dist/database/schema.d.ts +0 -212
  356. package/node_modules/@lix-js/sdk/dist/database/schema.d.ts.map +0 -1
  357. package/node_modules/@lix-js/sdk/dist/database/schema.js +0 -2
  358. package/node_modules/@lix-js/sdk/dist/database/schema.js.map +0 -1
  359. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.d.ts +0 -8
  360. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.d.ts.map +0 -1
  361. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.js +0 -12
  362. package/node_modules/@lix-js/sdk/dist/discussion/create-comment.js.map +0 -1
  363. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.d.ts +0 -21
  364. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.d.ts.map +0 -1
  365. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.js +0 -40
  366. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.js.map +0 -1
  367. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.d.ts +0 -2
  368. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.d.ts.map +0 -1
  369. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.js +0 -38
  370. package/node_modules/@lix-js/sdk/dist/discussion/create-discussion.test.js.map +0 -1
  371. package/node_modules/@lix-js/sdk/dist/discussion/index.d.ts +0 -3
  372. package/node_modules/@lix-js/sdk/dist/discussion/index.d.ts.map +0 -1
  373. package/node_modules/@lix-js/sdk/dist/discussion/index.js +0 -3
  374. package/node_modules/@lix-js/sdk/dist/discussion/index.js.map +0 -1
  375. package/node_modules/@lix-js/sdk/dist/file/index.d.ts +0 -2
  376. package/node_modules/@lix-js/sdk/dist/file/index.d.ts.map +0 -1
  377. package/node_modules/@lix-js/sdk/dist/file/index.js +0 -2
  378. package/node_modules/@lix-js/sdk/dist/file/index.js.map +0 -1
  379. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.d.ts +0 -16
  380. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.d.ts.map +0 -1
  381. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.js +0 -44
  382. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.js.map +0 -1
  383. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.d.ts +0 -2
  384. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.d.ts.map +0 -1
  385. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.js +0 -36
  386. package/node_modules/@lix-js/sdk/dist/file/validate-file-path.test.js.map +0 -1
  387. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.d.ts +0 -24
  388. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.d.ts.map +0 -1
  389. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.js +0 -209
  390. package/node_modules/@lix-js/sdk/dist/file-queue/file-handlers.js.map +0 -1
  391. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.d.ts +0 -5
  392. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.d.ts.map +0 -1
  393. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.js +0 -85
  394. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.js.map +0 -1
  395. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.d.ts +0 -2
  396. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.d.ts.map +0 -1
  397. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.js +0 -373
  398. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-process.test.js.map +0 -1
  399. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.d.ts +0 -13
  400. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.d.ts.map +0 -1
  401. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.js +0 -25
  402. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.js.map +0 -1
  403. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.d.ts +0 -2
  404. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.d.ts.map +0 -1
  405. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.js +0 -47
  406. package/node_modules/@lix-js/sdk/dist/file-queue/file-queue-settled.test.js.map +0 -1
  407. package/node_modules/@lix-js/sdk/dist/file-queue/index.d.ts +0 -2
  408. package/node_modules/@lix-js/sdk/dist/file-queue/index.d.ts.map +0 -1
  409. package/node_modules/@lix-js/sdk/dist/file-queue/index.js +0 -2
  410. package/node_modules/@lix-js/sdk/dist/file-queue/index.js.map +0 -1
  411. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.d.ts +0 -3
  412. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.d.ts.map +0 -1
  413. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.js +0 -26
  414. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.js.map +0 -1
  415. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.d.ts +0 -2
  416. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.d.ts.map +0 -1
  417. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.js +0 -138
  418. package/node_modules/@lix-js/sdk/dist/file-queue/with-skip-file-queue.test.js.map +0 -1
  419. package/node_modules/@lix-js/sdk/dist/index.d.ts +0 -17
  420. package/node_modules/@lix-js/sdk/dist/index.d.ts.map +0 -1
  421. package/node_modules/@lix-js/sdk/dist/index.js +0 -17
  422. package/node_modules/@lix-js/sdk/dist/index.js.map +0 -1
  423. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.d.ts +0 -42
  424. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.d.ts.map +0 -1
  425. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.js +0 -21
  426. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.js.map +0 -1
  427. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.d.ts +0 -2
  428. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.d.ts.map +0 -1
  429. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.js +0 -114
  430. package/node_modules/@lix-js/sdk/dist/key-value/database-schema.test.js.map +0 -1
  431. package/node_modules/@lix-js/sdk/dist/lix/close-lix.d.ts +0 -8
  432. package/node_modules/@lix-js/sdk/dist/lix/close-lix.d.ts.map +0 -1
  433. package/node_modules/@lix-js/sdk/dist/lix/close-lix.js +0 -7
  434. package/node_modules/@lix-js/sdk/dist/lix/close-lix.js.map +0 -1
  435. package/node_modules/@lix-js/sdk/dist/lix/index.d.ts +0 -5
  436. package/node_modules/@lix-js/sdk/dist/lix/index.d.ts.map +0 -1
  437. package/node_modules/@lix-js/sdk/dist/lix/index.js +0 -8
  438. package/node_modules/@lix-js/sdk/dist/lix/index.js.map +0 -1
  439. package/node_modules/@lix-js/sdk/dist/lix/merge.d.ts +0 -9
  440. package/node_modules/@lix-js/sdk/dist/lix/merge.d.ts.map +0 -1
  441. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.d.ts +0 -15
  442. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.d.ts.map +0 -1
  443. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.js +0 -34
  444. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.js.map +0 -1
  445. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.d.ts +0 -2
  446. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.d.ts.map +0 -1
  447. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.js +0 -121
  448. package/node_modules/@lix-js/sdk/dist/lix/merge.get-leaf-changes-only-in-source.test.js.map +0 -1
  449. package/node_modules/@lix-js/sdk/dist/lix/merge.js +0 -195
  450. package/node_modules/@lix-js/sdk/dist/lix/merge.js.map +0 -1
  451. package/node_modules/@lix-js/sdk/dist/lix/merge.test.d.ts +0 -2
  452. package/node_modules/@lix-js/sdk/dist/lix/merge.test.d.ts.map +0 -1
  453. package/node_modules/@lix-js/sdk/dist/lix/merge.test.js +0 -689
  454. package/node_modules/@lix-js/sdk/dist/lix/merge.test.js.map +0 -1
  455. package/node_modules/@lix-js/sdk/dist/lix/new-lix.d.ts +0 -8
  456. package/node_modules/@lix-js/sdk/dist/lix/new-lix.d.ts.map +0 -1
  457. package/node_modules/@lix-js/sdk/dist/lix/new-lix.js +0 -26
  458. package/node_modules/@lix-js/sdk/dist/lix/new-lix.js.map +0 -1
  459. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.d.ts +0 -2
  460. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.d.ts.map +0 -1
  461. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.js +0 -21
  462. package/node_modules/@lix-js/sdk/dist/lix/new-lix.test.js.map +0 -1
  463. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.d.ts +0 -12
  464. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.d.ts.map +0 -1
  465. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.js +0 -19
  466. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.js.map +0 -1
  467. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.d.ts +0 -2
  468. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.d.ts.map +0 -1
  469. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.js +0 -30
  470. package/node_modules/@lix-js/sdk/dist/lix/open-lix-in-memory.test.js.map +0 -1
  471. package/node_modules/@lix-js/sdk/dist/lix/open-lix.d.ts +0 -50
  472. package/node_modules/@lix-js/sdk/dist/lix/open-lix.d.ts.map +0 -1
  473. package/node_modules/@lix-js/sdk/dist/lix/open-lix.js +0 -33
  474. package/node_modules/@lix-js/sdk/dist/lix/open-lix.js.map +0 -1
  475. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.d.ts +0 -2
  476. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.d.ts.map +0 -1
  477. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.js +0 -38
  478. package/node_modules/@lix-js/sdk/dist/lix/open-lix.test.js.map +0 -1
  479. package/node_modules/@lix-js/sdk/dist/lix/to-blob.d.ts +0 -11
  480. package/node_modules/@lix-js/sdk/dist/lix/to-blob.d.ts.map +0 -1
  481. package/node_modules/@lix-js/sdk/dist/lix/to-blob.js +0 -11
  482. package/node_modules/@lix-js/sdk/dist/lix/to-blob.js.map +0 -1
  483. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.d.ts +0 -10
  484. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.d.ts.map +0 -1
  485. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.js +0 -69
  486. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.js.map +0 -1
  487. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.d.ts +0 -2
  488. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.d.ts.map +0 -1
  489. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.js +0 -297
  490. package/node_modules/@lix-js/sdk/dist/own-change-control/apply-own-change.test.js.map +0 -1
  491. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.d.ts +0 -60
  492. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.d.ts.map +0 -1
  493. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.js +0 -70
  494. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.js.map +0 -1
  495. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.d.ts +0 -2
  496. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.d.ts.map +0 -1
  497. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.js +0 -48
  498. package/node_modules/@lix-js/sdk/dist/own-change-control/change-controlled-tables.test.js.map +0 -1
  499. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.d.ts +0 -5
  500. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.d.ts.map +0 -1
  501. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.js +0 -135
  502. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.js.map +0 -1
  503. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.d.ts +0 -2
  504. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.d.ts.map +0 -1
  505. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.js +0 -214
  506. package/node_modules/@lix-js/sdk/dist/own-change-control/database-triggers.test.js.map +0 -1
  507. package/node_modules/@lix-js/sdk/dist/own-change-control/index.d.ts +0 -2
  508. package/node_modules/@lix-js/sdk/dist/own-change-control/index.d.ts.map +0 -1
  509. package/node_modules/@lix-js/sdk/dist/own-change-control/index.js +0 -2
  510. package/node_modules/@lix-js/sdk/dist/own-change-control/index.js.map +0 -1
  511. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.d.ts +0 -3
  512. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.d.ts.map +0 -1
  513. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.js +0 -28
  514. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.js.map +0 -1
  515. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.d.ts +0 -2
  516. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.d.ts.map +0 -1
  517. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.js +0 -49
  518. package/node_modules/@lix-js/sdk/dist/own-change-control/with-skip-own-change-control.test.js.map +0 -1
  519. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.d.ts +0 -10
  520. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.d.ts.map +0 -1
  521. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.js +0 -69
  522. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.js.map +0 -1
  523. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.d.ts +0 -2
  524. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.d.ts.map +0 -1
  525. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.js +0 -297
  526. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/apply-own-entity-change.test.js.map +0 -1
  527. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.d.ts +0 -61
  528. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.d.ts.map +0 -1
  529. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.js +0 -71
  530. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.js.map +0 -1
  531. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.d.ts +0 -2
  532. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.d.ts.map +0 -1
  533. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.js +0 -48
  534. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/change-controlled-tables.test.js.map +0 -1
  535. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.d.ts +0 -5
  536. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.d.ts.map +0 -1
  537. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.js +0 -135
  538. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.js.map +0 -1
  539. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.d.ts +0 -2
  540. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.d.ts.map +0 -1
  541. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.js +0 -214
  542. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/database-triggers.test.js.map +0 -1
  543. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.d.ts +0 -2
  544. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.d.ts.map +0 -1
  545. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.js +0 -2
  546. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/index.js.map +0 -1
  547. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.d.ts +0 -3
  548. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.d.ts.map +0 -1
  549. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.js +0 -24
  550. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.js.map +0 -1
  551. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.d.ts +0 -2
  552. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.d.ts.map +0 -1
  553. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.js +0 -49
  554. package/node_modules/@lix-js/sdk/dist/own-entity-change-control/with-skip-own-change-control.test.js.map +0 -1
  555. package/node_modules/@lix-js/sdk/dist/plugin/index.d.ts +0 -2
  556. package/node_modules/@lix-js/sdk/dist/plugin/index.d.ts.map +0 -1
  557. package/node_modules/@lix-js/sdk/dist/plugin/index.js +0 -2
  558. package/node_modules/@lix-js/sdk/dist/plugin/index.js.map +0 -1
  559. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.d.ts +0 -114
  560. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.d.ts.map +0 -1
  561. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.js +0 -2
  562. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.js.map +0 -1
  563. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.d.ts +0 -2
  564. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.d.ts.map +0 -1
  565. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.js +0 -40
  566. package/node_modules/@lix-js/sdk/dist/plugin/lix-plugin.test-d.js.map +0 -1
  567. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.d.ts +0 -5
  568. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.d.ts.map +0 -1
  569. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.js +0 -20
  570. package/node_modules/@lix-js/sdk/dist/plugin/load-plugin.js.map +0 -1
  571. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.d.ts +0 -11
  572. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.d.ts.map +0 -1
  573. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.js +0 -15
  574. package/node_modules/@lix-js/sdk/dist/plugin/with-transaction.js.map +0 -1
  575. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.d.ts +0 -15
  576. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.d.ts.map +0 -1
  577. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.js +0 -18
  578. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.js.map +0 -1
  579. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.d.ts +0 -2
  580. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.d.ts.map +0 -1
  581. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.js +0 -55
  582. package/node_modules/@lix-js/sdk/dist/query-filter/change-conflict-in-version.test.js.map +0 -1
  583. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.d.ts +0 -25
  584. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.d.ts.map +0 -1
  585. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.js +0 -30
  586. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.js.map +0 -1
  587. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.d.ts +0 -2
  588. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.d.ts.map +0 -1
  589. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.js +0 -46
  590. package/node_modules/@lix-js/sdk/dist/query-filter/change-has-label.test.js.map +0 -1
  591. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.d.ts +0 -16
  592. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.d.ts.map +0 -1
  593. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.js +0 -29
  594. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.js.map +0 -1
  595. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.d.ts +0 -2
  596. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.d.ts.map +0 -1
  597. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.js +0 -75
  598. package/node_modules/@lix-js/sdk/dist/query-filter/change-in-version.test.js.map +0 -1
  599. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.d.ts +0 -16
  600. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.d.ts.map +0 -1
  601. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.js +0 -35
  602. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.js.map +0 -1
  603. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.d.ts +0 -2
  604. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.d.ts.map +0 -1
  605. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.js +0 -70
  606. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-in-version.test.js.map +0 -1
  607. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.d.ts +0 -2
  608. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.d.ts.map +0 -1
  609. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.js +0 -132
  610. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.bench.js.map +0 -1
  611. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.d.ts +0 -29
  612. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.d.ts.map +0 -1
  613. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.js +0 -44
  614. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.js.map +0 -1
  615. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.d.ts +0 -2
  616. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.d.ts.map +0 -1
  617. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.js +0 -71
  618. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf-of.test.js.map +0 -1
  619. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.d.ts +0 -18
  620. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.d.ts.map +0 -1
  621. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.js +0 -18
  622. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.js.map +0 -1
  623. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.d.ts +0 -2
  624. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.d.ts.map +0 -1
  625. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.js +0 -122
  626. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-leaf.test.js.map +0 -1
  627. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.d.ts +0 -16
  628. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.d.ts.map +0 -1
  629. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.js +0 -55
  630. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.js.map +0 -1
  631. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.d.ts +0 -2
  632. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.d.ts.map +0 -1
  633. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.js +0 -155
  634. package/node_modules/@lix-js/sdk/dist/query-filter/change-is-lowest-common-ancestor-of.test.js.map +0 -1
  635. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.d.ts +0 -25
  636. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.d.ts.map +0 -1
  637. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.js +0 -29
  638. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.js.map +0 -1
  639. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.d.ts +0 -2
  640. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.d.ts.map +0 -1
  641. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.js +0 -43
  642. package/node_modules/@lix-js/sdk/dist/query-filter/change-set-has-label.test.js.map +0 -1
  643. package/node_modules/@lix-js/sdk/dist/query-filter/index.d.ts +0 -9
  644. package/node_modules/@lix-js/sdk/dist/query-filter/index.d.ts.map +0 -1
  645. package/node_modules/@lix-js/sdk/dist/query-filter/index.js +0 -9
  646. package/node_modules/@lix-js/sdk/dist/query-filter/index.js.map +0 -1
  647. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.d.ts +0 -18
  648. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.d.ts.map +0 -1
  649. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.js +0 -25
  650. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.js.map +0 -1
  651. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.d.ts +0 -2
  652. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.d.ts.map +0 -1
  653. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.js +0 -85
  654. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-difference.test.js.map +0 -1
  655. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.d.ts +0 -19
  656. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.d.ts.map +0 -1
  657. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.js +0 -36
  658. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.js.map +0 -1
  659. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.d.ts +0 -2
  660. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.d.ts.map +0 -1
  661. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.js +0 -84
  662. package/node_modules/@lix-js/sdk/dist/query-filter/version-change-in-symmetric-difference.test.js.map +0 -1
  663. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.d.ts +0 -48
  664. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.d.ts.map +0 -1
  665. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.js +0 -68
  666. package/node_modules/@lix-js/sdk/dist/server-api-handler/create-server-api-handler.js.map +0 -1
  667. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.d.ts +0 -8
  668. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.d.ts.map +0 -1
  669. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.js +0 -97
  670. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.js.map +0 -1
  671. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.d.ts +0 -2
  672. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.d.ts.map +0 -1
  673. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.js +0 -103
  674. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/create-in-memory-environment.test.js.map +0 -1
  675. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.d.ts +0 -53
  676. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.d.ts.map +0 -1
  677. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.js +0 -2
  678. package/node_modules/@lix-js/sdk/dist/server-api-handler/environment/environment.js.map +0 -1
  679. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.d.ts +0 -3
  680. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.d.ts.map +0 -1
  681. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.js +0 -3
  682. package/node_modules/@lix-js/sdk/dist/server-api-handler/index.js.map +0 -1
  683. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.d.ts +0 -3
  684. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.d.ts.map +0 -1
  685. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.js +0 -44
  686. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.js.map +0 -1
  687. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.d.ts +0 -2
  688. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.d.ts.map +0 -1
  689. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.js +0 -108
  690. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/get-v1.test.js.map +0 -1
  691. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.d.ts +0 -3
  692. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.d.ts.map +0 -1
  693. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.js +0 -38
  694. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.js.map +0 -1
  695. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.d.ts +0 -2
  696. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.d.ts.map +0 -1
  697. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.js +0 -72
  698. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/new-v1.test.js.map +0 -1
  699. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.d.ts +0 -3
  700. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.d.ts.map +0 -1
  701. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.js +0 -41
  702. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.js.map +0 -1
  703. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.d.ts +0 -2
  704. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.d.ts.map +0 -1
  705. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.js +0 -146
  706. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/pull-v1.test.js.map +0 -1
  707. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.d.ts +0 -3
  708. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.d.ts.map +0 -1
  709. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.js +0 -142
  710. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.js.map +0 -1
  711. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.d.ts +0 -2
  712. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.d.ts.map +0 -1
  713. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.js +0 -231
  714. package/node_modules/@lix-js/sdk/dist/server-api-handler/routes/push-v1.test.js.map +0 -1
  715. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.d.ts +0 -18
  716. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.d.ts.map +0 -1
  717. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.js +0 -33
  718. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.js.map +0 -1
  719. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.d.ts +0 -2
  720. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.d.ts.map +0 -1
  721. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.js +0 -54
  722. package/node_modules/@lix-js/sdk/dist/snapshot/create-snapshot.test.js.map +0 -1
  723. package/node_modules/@lix-js/sdk/dist/snapshot/index.d.ts +0 -3
  724. package/node_modules/@lix-js/sdk/dist/snapshot/index.d.ts.map +0 -1
  725. package/node_modules/@lix-js/sdk/dist/snapshot/index.js +0 -3
  726. package/node_modules/@lix-js/sdk/dist/snapshot/index.js.map +0 -1
  727. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.d.ts +0 -8
  728. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.d.ts.map +0 -1
  729. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.js +0 -29
  730. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.js.map +0 -1
  731. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.d.ts +0 -2
  732. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.d.ts.map +0 -1
  733. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.js +0 -10
  734. package/node_modules/@lix-js/sdk/dist/snapshot/json-sha-256.test.js.map +0 -1
  735. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.d.ts +0 -8
  736. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.d.ts.map +0 -1
  737. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.js +0 -13
  738. package/node_modules/@lix-js/sdk/dist/snapshot/mock-json-snapshot.js.map +0 -1
  739. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.d.ts +0 -16
  740. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.d.ts.map +0 -1
  741. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.js +0 -62
  742. package/node_modules/@lix-js/sdk/dist/sync/get-diffing-rows.js.map +0 -1
  743. package/node_modules/@lix-js/sdk/dist/sync/merge-state.d.ts +0 -20
  744. package/node_modules/@lix-js/sdk/dist/sync/merge-state.d.ts.map +0 -1
  745. package/node_modules/@lix-js/sdk/dist/sync/merge-state.js +0 -237
  746. package/node_modules/@lix-js/sdk/dist/sync/merge-state.js.map +0 -1
  747. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.d.ts +0 -8
  748. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.d.ts.map +0 -1
  749. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.js +0 -113
  750. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.js.map +0 -1
  751. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.d.ts +0 -2
  752. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.d.ts.map +0 -1
  753. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.js +0 -340
  754. package/node_modules/@lix-js/sdk/dist/sync/pull-from-server.test.js.map +0 -1
  755. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.d.ts +0 -12
  756. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.d.ts.map +0 -1
  757. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.js +0 -35
  758. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.js.map +0 -1
  759. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.d.ts +0 -2
  760. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.d.ts.map +0 -1
  761. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.js +0 -308
  762. package/node_modules/@lix-js/sdk/dist/sync/push-to-server.test.js.map +0 -1
  763. package/node_modules/@lix-js/sdk/dist/sync/sync-process.d.ts +0 -5
  764. package/node_modules/@lix-js/sdk/dist/sync/sync-process.d.ts.map +0 -1
  765. package/node_modules/@lix-js/sdk/dist/sync/sync-process.js +0 -74
  766. package/node_modules/@lix-js/sdk/dist/sync/sync-process.js.map +0 -1
  767. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.d.ts +0 -2
  768. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.d.ts.map +0 -1
  769. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.js +0 -243
  770. package/node_modules/@lix-js/sdk/dist/sync/sync-process.test.js.map +0 -1
  771. package/node_modules/@lix-js/sdk/dist/version/create-version.d.ts +0 -27
  772. package/node_modules/@lix-js/sdk/dist/version/create-version.d.ts.map +0 -1
  773. package/node_modules/@lix-js/sdk/dist/version/create-version.js +0 -74
  774. package/node_modules/@lix-js/sdk/dist/version/create-version.js.map +0 -1
  775. package/node_modules/@lix-js/sdk/dist/version/create-version.test.d.ts +0 -2
  776. package/node_modules/@lix-js/sdk/dist/version/create-version.test.d.ts.map +0 -1
  777. package/node_modules/@lix-js/sdk/dist/version/create-version.test.js +0 -126
  778. package/node_modules/@lix-js/sdk/dist/version/create-version.test.js.map +0 -1
  779. package/node_modules/@lix-js/sdk/dist/version/index.d.ts +0 -8
  780. package/node_modules/@lix-js/sdk/dist/version/index.d.ts.map +0 -1
  781. package/node_modules/@lix-js/sdk/dist/version/index.js +0 -8
  782. package/node_modules/@lix-js/sdk/dist/version/index.js.map +0 -1
  783. package/node_modules/@lix-js/sdk/dist/version/merge-version.d.ts +0 -8
  784. package/node_modules/@lix-js/sdk/dist/version/merge-version.d.ts.map +0 -1
  785. package/node_modules/@lix-js/sdk/dist/version/merge-version.js +0 -67
  786. package/node_modules/@lix-js/sdk/dist/version/merge-version.js.map +0 -1
  787. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.d.ts +0 -2
  788. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.d.ts.map +0 -1
  789. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.js +0 -434
  790. package/node_modules/@lix-js/sdk/dist/version/merge-version.test.js.map +0 -1
  791. package/node_modules/@lix-js/sdk/dist/version/switch-version.d.ts +0 -27
  792. package/node_modules/@lix-js/sdk/dist/version/switch-version.d.ts.map +0 -1
  793. package/node_modules/@lix-js/sdk/dist/version/switch-version.js +0 -91
  794. package/node_modules/@lix-js/sdk/dist/version/switch-version.js.map +0 -1
  795. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.d.ts +0 -2
  796. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.d.ts.map +0 -1
  797. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.js +0 -227
  798. package/node_modules/@lix-js/sdk/dist/version/switch-version.test.js.map +0 -1
  799. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.d.ts +0 -13
  800. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.d.ts.map +0 -1
  801. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.js +0 -36
  802. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.js.map +0 -1
  803. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.d.ts +0 -2
  804. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.d.ts.map +0 -1
  805. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.js +0 -323
  806. package/node_modules/@lix-js/sdk/dist/version/update-changes-in-version.test.js.map +0 -1
  807. package/node_modules/@lix-js/sdk/package.json +0 -52
  808. package/node_modules/@lix-js/sdk/src/account/create-account.test.ts +0 -26
  809. package/node_modules/@lix-js/sdk/src/account/create-account.ts +0 -26
  810. package/node_modules/@lix-js/sdk/src/account/database-schema.test.ts +0 -187
  811. package/node_modules/@lix-js/sdk/src/account/database-schema.ts +0 -58
  812. package/node_modules/@lix-js/sdk/src/account/index.ts +0 -3
  813. package/node_modules/@lix-js/sdk/src/account/switch-account.test.ts +0 -63
  814. package/node_modules/@lix-js/sdk/src/account/switch-account.ts +0 -39
  815. package/node_modules/@lix-js/sdk/src/change/apply-changes.test.ts +0 -268
  816. package/node_modules/@lix-js/sdk/src/change/apply-changes.ts +0 -114
  817. package/node_modules/@lix-js/sdk/src/change/create-change.test.ts +0 -296
  818. package/node_modules/@lix-js/sdk/src/change/create-change.ts +0 -129
  819. package/node_modules/@lix-js/sdk/src/change/index.ts +0 -2
  820. package/node_modules/@lix-js/sdk/src/change/mock-change.ts +0 -21
  821. package/node_modules/@lix-js/sdk/src/change-conflict/create-change-conflict.test.ts +0 -173
  822. package/node_modules/@lix-js/sdk/src/change-conflict/create-change-conflict.ts +0 -105
  823. package/node_modules/@lix-js/sdk/src/change-conflict/detect-change-conflicts.test.ts +0 -215
  824. package/node_modules/@lix-js/sdk/src/change-conflict/detect-change-conflicts.ts +0 -65
  825. package/node_modules/@lix-js/sdk/src/change-conflict/detect-diverging-entity-conflict.test.ts +0 -228
  826. package/node_modules/@lix-js/sdk/src/change-conflict/detect-diverging-entity-conflict.ts +0 -82
  827. package/node_modules/@lix-js/sdk/src/change-conflict/garbage-collect-change-conflicts.test.ts +0 -219
  828. package/node_modules/@lix-js/sdk/src/change-conflict/garbage-collect-change-conflicts.ts +0 -96
  829. package/node_modules/@lix-js/sdk/src/change-conflict/index.ts +0 -3
  830. package/node_modules/@lix-js/sdk/src/change-conflict/resolve-conflict-by-selecting.test.ts +0 -118
  831. package/node_modules/@lix-js/sdk/src/change-conflict/resolve-conflict-by-selecting.ts +0 -66
  832. package/node_modules/@lix-js/sdk/src/change-conflict/update-change-conflicts.ts +0 -79
  833. package/node_modules/@lix-js/sdk/src/change-schema/README.md +0 -3
  834. package/node_modules/@lix-js/sdk/src/change-schema/index.ts +0 -4
  835. package/node_modules/@lix-js/sdk/src/change-schema/types.test-d.ts +0 -52
  836. package/node_modules/@lix-js/sdk/src/change-schema/types.ts +0 -53
  837. package/node_modules/@lix-js/sdk/src/change-set/change-set-element-in-symmetric-difference.test.ts +0 -128
  838. package/node_modules/@lix-js/sdk/src/change-set/change-set-element-in-symmetric-difference.ts +0 -52
  839. package/node_modules/@lix-js/sdk/src/change-set/create-change-set.test.ts +0 -43
  840. package/node_modules/@lix-js/sdk/src/change-set/create-change-set.ts +0 -41
  841. package/node_modules/@lix-js/sdk/src/change-set/index.ts +0 -2
  842. package/node_modules/@lix-js/sdk/src/database/apply-schema.ts +0 -270
  843. package/node_modules/@lix-js/sdk/src/database/execute-sync.test.ts +0 -152
  844. package/node_modules/@lix-js/sdk/src/database/execute-sync.ts +0 -47
  845. package/node_modules/@lix-js/sdk/src/database/index.ts +0 -4
  846. package/node_modules/@lix-js/sdk/src/database/init-db.test.ts +0 -628
  847. package/node_modules/@lix-js/sdk/src/database/init-db.ts +0 -111
  848. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v1.test.ts +0 -204
  849. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v1.ts +0 -55
  850. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v2.no_test.ts +0 -204
  851. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/parse-jsonb-plugin-v2.ts +0 -194
  852. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/serialize-jsonb-plugin.test.ts +0 -132
  853. package/node_modules/@lix-js/sdk/src/database/kysely-plugin/serialize-jsonb-plugin.ts +0 -122
  854. package/node_modules/@lix-js/sdk/src/database/mutation-log/database-schema.ts +0 -126
  855. package/node_modules/@lix-js/sdk/src/database/mutation-log/lix-session.ts +0 -19
  856. package/node_modules/@lix-js/sdk/src/database/nano-id.test.ts +0 -15
  857. package/node_modules/@lix-js/sdk/src/database/nano-id.ts +0 -72
  858. package/node_modules/@lix-js/sdk/src/database/schema.ts +0 -273
  859. package/node_modules/@lix-js/sdk/src/discussion/create-comment.ts +0 -18
  860. package/node_modules/@lix-js/sdk/src/discussion/create-discussion.test.ts +0 -45
  861. package/node_modules/@lix-js/sdk/src/discussion/create-discussion.ts +0 -48
  862. package/node_modules/@lix-js/sdk/src/discussion/index.ts +0 -2
  863. package/node_modules/@lix-js/sdk/src/file/index.ts +0 -1
  864. package/node_modules/@lix-js/sdk/src/file/validate-file-path.test.ts +0 -44
  865. package/node_modules/@lix-js/sdk/src/file/validate-file-path.ts +0 -60
  866. package/node_modules/@lix-js/sdk/src/file-queue/file-handlers.ts +0 -273
  867. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-process.test.ts +0 -457
  868. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-process.ts +0 -101
  869. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-settled.test.ts +0 -56
  870. package/node_modules/@lix-js/sdk/src/file-queue/file-queue-settled.ts +0 -31
  871. package/node_modules/@lix-js/sdk/src/file-queue/index.ts +0 -1
  872. package/node_modules/@lix-js/sdk/src/file-queue/with-skip-file-queue.test.ts +0 -158
  873. package/node_modules/@lix-js/sdk/src/file-queue/with-skip-file-queue.ts +0 -33
  874. package/node_modules/@lix-js/sdk/src/index.ts +0 -16
  875. package/node_modules/@lix-js/sdk/src/key-value/database-schema.test.ts +0 -140
  876. package/node_modules/@lix-js/sdk/src/key-value/database-schema.ts +0 -66
  877. package/node_modules/@lix-js/sdk/src/lix/close-lix.ts +0 -8
  878. package/node_modules/@lix-js/sdk/src/lix/index.ts +0 -7
  879. package/node_modules/@lix-js/sdk/src/lix/merge.get-leaf-changes-only-in-source.test.ts +0 -143
  880. package/node_modules/@lix-js/sdk/src/lix/merge.get-leaf-changes-only-in-source.ts +0 -46
  881. package/node_modules/@lix-js/sdk/src/lix/merge.test.ts +0 -858
  882. package/node_modules/@lix-js/sdk/src/lix/merge.ts +0 -244
  883. package/node_modules/@lix-js/sdk/src/lix/new-lix.test.ts +0 -23
  884. package/node_modules/@lix-js/sdk/src/lix/new-lix.ts +0 -29
  885. package/node_modules/@lix-js/sdk/src/lix/open-lix-in-memory.test.ts +0 -34
  886. package/node_modules/@lix-js/sdk/src/lix/open-lix-in-memory.ts +0 -28
  887. package/node_modules/@lix-js/sdk/src/lix/open-lix.test.ts +0 -45
  888. package/node_modules/@lix-js/sdk/src/lix/open-lix.ts +0 -86
  889. package/node_modules/@lix-js/sdk/src/lix/to-blob.ts +0 -14
  890. package/node_modules/@lix-js/sdk/src/own-change-control/apply-own-change.test.ts +0 -361
  891. package/node_modules/@lix-js/sdk/src/own-change-control/apply-own-change.ts +0 -110
  892. package/node_modules/@lix-js/sdk/src/own-change-control/change-controlled-tables.test.ts +0 -69
  893. package/node_modules/@lix-js/sdk/src/own-change-control/change-controlled-tables.ts +0 -102
  894. package/node_modules/@lix-js/sdk/src/own-change-control/database-triggers.test.ts +0 -259
  895. package/node_modules/@lix-js/sdk/src/own-change-control/database-triggers.ts +0 -189
  896. package/node_modules/@lix-js/sdk/src/own-change-control/index.ts +0 -1
  897. package/node_modules/@lix-js/sdk/src/own-change-control/with-skip-own-change-control.test.ts +0 -57
  898. package/node_modules/@lix-js/sdk/src/own-change-control/with-skip-own-change-control.ts +0 -34
  899. package/node_modules/@lix-js/sdk/src/plugin/index.ts +0 -6
  900. package/node_modules/@lix-js/sdk/src/plugin/lix-plugin.test-d.ts +0 -45
  901. package/node_modules/@lix-js/sdk/src/plugin/lix-plugin.ts +0 -128
  902. package/node_modules/@lix-js/sdk/src/plugin/load-plugin.ts +0 -28
  903. package/node_modules/@lix-js/sdk/src/plugin/with-transaction.ts +0 -22
  904. package/node_modules/@lix-js/sdk/src/query-filter/change-conflict-in-version.test.ts +0 -62
  905. package/node_modules/@lix-js/sdk/src/query-filter/change-conflict-in-version.ts +0 -25
  906. package/node_modules/@lix-js/sdk/src/query-filter/change-has-label.test.ts +0 -52
  907. package/node_modules/@lix-js/sdk/src/query-filter/change-has-label.ts +0 -41
  908. package/node_modules/@lix-js/sdk/src/query-filter/change-in-version.test.ts +0 -82
  909. package/node_modules/@lix-js/sdk/src/query-filter/change-in-version.ts +0 -31
  910. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-in-version.test.ts +0 -77
  911. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-in-version.ts +0 -36
  912. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-of.bench.ts +0 -175
  913. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-of.test.ts +0 -84
  914. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf-of.ts +0 -46
  915. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf.test.ts +0 -140
  916. package/node_modules/@lix-js/sdk/src/query-filter/change-is-leaf.ts +0 -25
  917. package/node_modules/@lix-js/sdk/src/query-filter/change-is-lowest-common-ancestor-of.test.ts +0 -173
  918. package/node_modules/@lix-js/sdk/src/query-filter/change-is-lowest-common-ancestor-of.ts +0 -57
  919. package/node_modules/@lix-js/sdk/src/query-filter/change-set-has-label.test.ts +0 -50
  920. package/node_modules/@lix-js/sdk/src/query-filter/change-set-has-label.ts +0 -36
  921. package/node_modules/@lix-js/sdk/src/query-filter/index.ts +0 -8
  922. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-difference.test.ts +0 -105
  923. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-difference.ts +0 -37
  924. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-symmetric-difference.test.ts +0 -104
  925. package/node_modules/@lix-js/sdk/src/query-filter/version-change-in-symmetric-difference.ts +0 -52
  926. package/node_modules/@lix-js/sdk/src/server-api-handler/create-server-api-handler.ts +0 -84
  927. package/node_modules/@lix-js/sdk/src/server-api-handler/environment/create-in-memory-environment.test.ts +0 -131
  928. package/node_modules/@lix-js/sdk/src/server-api-handler/environment/create-in-memory-environment.ts +0 -115
  929. package/node_modules/@lix-js/sdk/src/server-api-handler/environment/environment.ts +0 -43
  930. package/node_modules/@lix-js/sdk/src/server-api-handler/index.ts +0 -5
  931. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/get-v1.test.ts +0 -147
  932. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/get-v1.ts +0 -61
  933. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/new-v1.test.ts +0 -103
  934. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/new-v1.ts +0 -46
  935. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/pull-v1.test.ts +0 -201
  936. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/pull-v1.ts +0 -57
  937. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/push-v1.test.ts +0 -302
  938. package/node_modules/@lix-js/sdk/src/server-api-handler/routes/push-v1.ts +0 -180
  939. package/node_modules/@lix-js/sdk/src/snapshot/create-snapshot.test.ts +0 -68
  940. package/node_modules/@lix-js/sdk/src/snapshot/create-snapshot.ts +0 -40
  941. package/node_modules/@lix-js/sdk/src/snapshot/index.ts +0 -2
  942. package/node_modules/@lix-js/sdk/src/snapshot/json-sha-256.test.ts +0 -12
  943. package/node_modules/@lix-js/sdk/src/snapshot/json-sha-256.ts +0 -35
  944. package/node_modules/@lix-js/sdk/src/snapshot/mock-json-snapshot.ts +0 -14
  945. package/node_modules/@lix-js/sdk/src/sync/get-diffing-rows.ts +0 -96
  946. package/node_modules/@lix-js/sdk/src/sync/merge-state.ts +0 -310
  947. package/node_modules/@lix-js/sdk/src/sync/pull-from-server.test.ts +0 -425
  948. package/node_modules/@lix-js/sdk/src/sync/pull-from-server.ts +0 -144
  949. package/node_modules/@lix-js/sdk/src/sync/push-to-server.test.ts +0 -391
  950. package/node_modules/@lix-js/sdk/src/sync/push-to-server.ts +0 -47
  951. package/node_modules/@lix-js/sdk/src/sync/sync-process.test.ts +0 -321
  952. package/node_modules/@lix-js/sdk/src/sync/sync-process.ts +0 -85
  953. package/node_modules/@lix-js/sdk/src/version/create-version.test.ts +0 -149
  954. package/node_modules/@lix-js/sdk/src/version/create-version.ts +0 -88
  955. package/node_modules/@lix-js/sdk/src/version/index.ts +0 -8
  956. package/node_modules/@lix-js/sdk/src/version/merge-version.test.ts +0 -530
  957. package/node_modules/@lix-js/sdk/src/version/merge-version.ts +0 -88
  958. package/node_modules/@lix-js/sdk/src/version/switch-version.test.ts +0 -292
  959. package/node_modules/@lix-js/sdk/src/version/switch-version.ts +0 -110
  960. package/node_modules/@lix-js/sdk/src/version/update-changes-in-version.test.ts +0 -371
  961. package/node_modules/@lix-js/sdk/src/version/update-changes-in-version.ts +0 -47
  962. package/node_modules/sqlite-wasm-kysely/LICENSE +0 -21
  963. package/node_modules/sqlite-wasm-kysely/README.md +0 -11
  964. package/node_modules/sqlite-wasm-kysely/dist/dialect.d.ts +0 -11
  965. package/node_modules/sqlite-wasm-kysely/dist/dialect.js +0 -13
  966. package/node_modules/sqlite-wasm-kysely/dist/dialect.js.map +0 -1
  967. package/node_modules/sqlite-wasm-kysely/dist/index.d.ts +0 -2
  968. package/node_modules/sqlite-wasm-kysely/dist/index.js +0 -3
  969. package/node_modules/sqlite-wasm-kysely/dist/index.js.map +0 -1
  970. package/node_modules/sqlite-wasm-kysely/dist/kysely/ConnectionMutex.d.ts +0 -5
  971. package/node_modules/sqlite-wasm-kysely/dist/kysely/ConnectionMutex.js +0 -34
  972. package/node_modules/sqlite-wasm-kysely/dist/kysely/ConnectionMutex.js.map +0 -1
  973. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmConnection.d.ts +0 -8
  974. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmConnection.js +0 -57
  975. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmConnection.js.map +0 -1
  976. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDialectConfig.d.ts +0 -18
  977. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDialectConfig.js +0 -2
  978. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDialectConfig.js.map +0 -1
  979. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDriver.d.ts +0 -13
  980. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDriver.js +0 -57
  981. package/node_modules/sqlite-wasm-kysely/dist/kysely/SqliteWasmDriver.js.map +0 -1
  982. package/node_modules/sqlite-wasm-kysely/dist/kysely/index.d.ts +0 -4
  983. package/node_modules/sqlite-wasm-kysely/dist/kysely/index.js +0 -4
  984. package/node_modules/sqlite-wasm-kysely/dist/kysely/index.js.map +0 -1
  985. package/node_modules/sqlite-wasm-kysely/dist/kysely/sqliteModule.d.ts +0 -3
  986. package/node_modules/sqlite-wasm-kysely/dist/kysely/sqliteModule.js +0 -5
  987. package/node_modules/sqlite-wasm-kysely/dist/kysely/sqliteModule.js.map +0 -1
  988. package/node_modules/sqlite-wasm-kysely/dist/util/contentFromDatabase.d.ts +0 -9
  989. package/node_modules/sqlite-wasm-kysely/dist/util/contentFromDatabase.js +0 -12
  990. package/node_modules/sqlite-wasm-kysely/dist/util/contentFromDatabase.js.map +0 -1
  991. package/node_modules/sqlite-wasm-kysely/dist/util/createInMemoryDatabase.d.ts +0 -3
  992. package/node_modules/sqlite-wasm-kysely/dist/util/createInMemoryDatabase.js +0 -22
  993. package/node_modules/sqlite-wasm-kysely/dist/util/createInMemoryDatabase.js.map +0 -1
  994. package/node_modules/sqlite-wasm-kysely/dist/util/importDatabase.d.ts +0 -7
  995. package/node_modules/sqlite-wasm-kysely/dist/util/importDatabase.js +0 -15
  996. package/node_modules/sqlite-wasm-kysely/dist/util/importDatabase.js.map +0 -1
  997. package/node_modules/sqlite-wasm-kysely/dist/util/index.d.ts +0 -5
  998. package/node_modules/sqlite-wasm-kysely/dist/util/index.js +0 -5
  999. package/node_modules/sqlite-wasm-kysely/dist/util/index.js.map +0 -1
  1000. package/node_modules/sqlite-wasm-kysely/dist/util/loadDatabaseInMemory.d.ts +0 -1
  1001. package/node_modules/sqlite-wasm-kysely/dist/util/loadDatabaseInMemory.js +0 -13
  1002. package/node_modules/sqlite-wasm-kysely/dist/util/loadDatabaseInMemory.js.map +0 -1
  1003. package/node_modules/sqlite-wasm-kysely/dist/util/sqliteWasmBinary.d.ts +0 -7
  1004. package/node_modules/sqlite-wasm-kysely/dist/util/sqliteWasmBinary.js +0 -17
  1005. package/node_modules/sqlite-wasm-kysely/dist/util/sqliteWasmBinary.js.map +0 -1
  1006. package/node_modules/sqlite-wasm-kysely/package.json +0 -34
  1007. package/node_modules/sqlite-wasm-kysely/src/dialect.ts +0 -15
  1008. package/node_modules/sqlite-wasm-kysely/src/index.ts +0 -2
  1009. package/node_modules/sqlite-wasm-kysely/src/kysely/ConnectionMutex.ts +0 -23
  1010. package/node_modules/sqlite-wasm-kysely/src/kysely/SqliteWasmConnection.ts +0 -57
  1011. package/node_modules/sqlite-wasm-kysely/src/kysely/SqliteWasmDialectConfig.ts +0 -19
  1012. package/node_modules/sqlite-wasm-kysely/src/kysely/SqliteWasmDriver.ts +0 -58
  1013. package/node_modules/sqlite-wasm-kysely/src/kysely/index.ts +0 -4
  1014. package/node_modules/sqlite-wasm-kysely/src/kysely/sqliteModule.ts +0 -7
  1015. package/node_modules/sqlite-wasm-kysely/src/util/contentFromDatabase.ts +0 -13
  1016. package/node_modules/sqlite-wasm-kysely/src/util/createInMemoryDatabase.ts +0 -30
  1017. package/node_modules/sqlite-wasm-kysely/src/util/importDatabase.ts +0 -34
  1018. package/node_modules/sqlite-wasm-kysely/src/util/index.ts +0 -5
  1019. package/node_modules/sqlite-wasm-kysely/src/util/loadDatabaseInMemory.ts +0 -13
  1020. package/node_modules/sqlite-wasm-kysely/src/util/sqliteWasmBinary.ts +0 -20
  1021. package/src/project/state/README.md +0 -22
  1022. package/src/project/state/id$.test.ts +0 -40
  1023. package/src/project/state/id$.ts +0 -21
  1024. package/src/project/state/setSettings.test.ts +0 -73
  1025. package/src/project/state/setSettings.ts +0 -19
  1026. package/src/project/state/settings$.test.ts +0 -63
  1027. package/src/project/state/settings$.ts +0 -26
  1028. package/src/project/state/state.test.ts +0 -128
  1029. package/src/project/state/state.ts +0 -94
  1030. package/src/query-utilities/pollQuery.test.ts +0 -88
  1031. 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;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,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"}
@@ -1,4 +1,4 @@
1
- import { type Static, type TLiteral } from "@sinclair/typebox";
1
+ import { type Static } from "@sinclair/typebox";
2
2
  export type ProjectSettings = Omit<Static<typeof ProjectSettings>, "languageTags" | "sourceLanguageTag"> & {
3
3
  /** @deprecated Use `baseLocale` */
4
4
  sourceLanguageTag?: string;
@@ -6,9 +6,9 @@ export type ProjectSettings = Omit<Static<typeof ProjectSettings>, "languageTags
6
6
  languageTags?: string[];
7
7
  /** @deprecated This will soon be replaced by `Lix Validation Rules` */
8
8
  messageLintRuleLevels?: Record<string, "error" | "warning">;
9
- };
10
- export declare const ProjectSettings: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
11
- $schema: import("@sinclair/typebox").TOptional<TLiteral<"https://inlang.com/schema/project-settings">>;
9
+ } & Record<string, any>;
10
+ export declare const ProjectSettings: import("@sinclair/typebox").TObject<{
11
+ $schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"https://inlang.com/schema/project-settings">>;
12
12
  baseLocale: import("@sinclair/typebox").TString;
13
13
  locales: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
14
14
  sourceLanguageTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -22,10 +22,8 @@ export declare const ProjectSettings: import("@sinclair/typebox").TIntersect<[im
22
22
  * "https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js",
23
23
  * ]
24
24
  */
25
- modules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>>>;
26
- telemetry: import("@sinclair/typebox").TOptional<TLiteral<"off">>;
27
- experimental: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, TLiteral<true>>>;
28
- }>, import("@sinclair/typebox").TObject<{
29
- [x: `plugin.${string}`]: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
30
- }>]>;
25
+ modules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>>>;
26
+ telemetry: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"off">>;
27
+ experimental: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TLiteral<true>>>;
28
+ }>;
31
29
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"/","sources":["json-schema/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAGX,KAAK,QAAQ,EACb,MAAM,mBAAmB,CAAC;AAyH3B,MAAM,MAAM,eAAe,GAAG,IAAI,CACjC,MAAM,CAAC,OAAO,eAAe,CAAC,EAC9B,cAAc,GAAG,mBAAmB,CACpC,GAAG;IACH,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,uEAAuE;IACvE,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC,CAAC;CAC5D,CAAC;AACF,eAAO,MAAM,eAAe;;;;;;IAjG3B;;;;;;;;OAQG;;;;;;IAyF0E,CAAC"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"/","sources":["json-schema/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AA6FtD,MAAM,MAAM,eAAe,GAAG,IAAI,CACjC,MAAM,CAAC,OAAO,eAAe,CAAC,EAC9B,cAAc,GAAG,mBAAmB,CACpC,GAAG;IACH,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,uEAAuE;IACvE,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC,CAAC;CAC5D,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACxB,eAAO,MAAM,eAAe;;;;;;IArE3B;;;;;;;;OAQG;;;;EA6DsC,CAAC"}
@@ -1,6 +1,6 @@
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]="50e23702-3eef-5ae9-8af9-b048fa48d2c6")}catch(e){}}();
3
- import { Type, } from "@sinclair/typebox";
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]="0ab441fa-e6ed-5327-b6ba-da781e2b1e94")}catch(e){}}();
3
+ import { Type } from "@sinclair/typebox";
4
4
  const SDKSettings = Type.Object({
5
5
  // TODO SDK-v2 SETTINGS do we need to generate a settings v2 schema?
6
6
  $schema: Type.Optional(Type.Literal("https://inlang.com/schema/project-settings")),
@@ -44,10 +44,6 @@ const SDKSettings = Type.Object({
44
44
  description: "The module must end with `.js`.",
45
45
  pattern: ".*\\.js$",
46
46
  }),
47
- Type.String({
48
- description: "The module can only contain a major version number.",
49
- pattern: "^(?!.*@\\d\\.)[^]*$",
50
- }),
51
47
  ]), {
52
48
  uniqueItems: true,
53
49
  description: "The modules to load. Must be a valid URI but can be relative.",
@@ -72,25 +68,6 @@ const SDKSettings = Type.Object({
72
68
  * The plugin settings are validated when importing plugins
73
69
  */
74
70
  });
75
- /**
76
- * Settings defined via apps, plugins, lint rules, etc.
77
- *
78
- * Using external settings to only allow `plugin.*` keys
79
- * and don't block the SDK from adding new settings.
80
- */
81
- const ExternalSettings = Type.Record(Type.String({
82
- pattern: `^((plugin)\\.([a-z][a-zA-Z0-9]*(?:[A-Z][a-z0-9]*)*)|\\$schema|${
83
- // pattern must include the settings properties
84
- Object.keys(SDKSettings.properties)
85
- .map((key) => key.replaceAll(".", "\\."))
86
- .join("|")})$`,
87
- description: "The key must be conform to `plugin.*`.",
88
- examples: ["plugin.csv-importer", "plugin.i18next"],
89
- }),
90
- // Using JSON (array and object) as a workaround to make the
91
- // intersection between `InternalSettings`, which contains an array,
92
- // and `ExternalSettings` which are objects possible
93
- Type.Record(Type.String(), Type.Any()), { description: "Settings defined by apps, plugins, etc." });
94
- export const ProjectSettings = Type.Intersect([SDKSettings, ExternalSettings]);
71
+ export const ProjectSettings = SDKSettings;
95
72
  //# sourceMappingURL=settings.js.map
96
- //# debugId=50e23702-3eef-5ae9-8af9-b048fa48d2c6
73
+ //# debugId=0ab441fa-e6ed-5327-b6ba-da781e2b1e94
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sources":["json-schema/settings.ts"],"sourceRoot":"/","sourcesContent":["import {\n\ttype Static,\n\tType,\n\ttype TTemplateLiteral,\n\ttype TLiteral,\n} from \"@sinclair/typebox\";\n\nconst SDKSettings = Type.Object({\n\t// TODO SDK-v2 SETTINGS do we need to generate a settings v2 schema?\n\t$schema: Type.Optional(\n\t\tType.Literal(\"https://inlang.com/schema/project-settings\")\n\t),\n\tbaseLocale: Type.String({\n\t\ttitle: \"Base locale\",\n\t\tdescription:\n\t\t\t\"The base locale of the project. We recommend BCP-47 language tags.\",\n\t}),\n\tlocales: Type.Array(Type.String(), {\n\t\tuniqueItems: true,\n\t\ttitle: \"Project Locales\",\n\t\tdescription:\n\t\t\t\"Set the locales that are available in your project. All locales needs to be a valid BCP-47 language tag. Needs to include the base locale tag.\",\n\t}),\n\t// exits for backwards compatibility\n\t// remove in SDK-v3\n\tsourceLanguageTag: Type.Optional(\n\t\tType.String({\n\t\t\tdescription: \"Use baseLocale instead.\",\n\t\t\tdeprecated: true,\n\t\t})\n\t),\n\t// exits for backwards compatibility\n\t// remove in SDK-v3\n\tlanguageTags: Type.Optional(\n\t\tType.Array(Type.String(), {\n\t\t\tuniqueItems: true,\n\t\t\tdeprecated: true,\n\t\t\tdescription: \"Use locales instead.\",\n\t\t})\n\t),\n\t/**\n\t * The modules to load.\n\t *\n\t * @example\n\t * modules: [\n\t * \t \"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js\",\n\t * \t \"https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js\",\n\t * ]\n\t */\n\tmodules: Type.Optional(\n\t\tType.Array(\n\t\t\tType.Intersect([\n\t\t\t\tType.String({\n\t\t\t\t\tdescription: \"The module must be a valid URI according to RFC 3986.\",\n\t\t\t\t\tpattern:\n\t\t\t\t\t\t\"(?:[A-Za-z][A-Za-z0-9+.-]*:/{2})?(?:(?:[A-Za-z0-9-._~]|%[A-Fa-f0-9]{2})+(?::([A-Za-z0-9-._~]?|[%][A-Fa-f0-9]{2})+)?@)?(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\\\\.){1,126}[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?::[0-9]+)?(?:/(?:[A-Za-z0-9-._~]|%[A-Fa-f0-9]{2})*)*(?:\\\\?(?:[A-Za-z0-9-._~]+(?:=(?:[A-Za-z0-9-._~+]|%[A-Fa-f0-9]{2})+)?)(?:&|;[A-Za-z0-9-._~]+(?:=(?:[A-Za-z0-9-._~+]|%[A-Fa-f0-9]{2})+)?)*)?\",\n\t\t\t\t}),\n\t\t\t\tType.String({\n\t\t\t\t\tdescription: \"The module must end with `.js`.\",\n\t\t\t\t\tpattern: \".*\\\\.js$\",\n\t\t\t\t}),\n\t\t\t\tType.String({\n\t\t\t\t\tdescription: \"The module can only contain a major version number.\",\n\t\t\t\t\tpattern: \"^(?!.*@\\\\d\\\\.)[^]*$\",\n\t\t\t\t}),\n\t\t\t]),\n\t\t\t{\n\t\t\t\tuniqueItems: true,\n\t\t\t\tdescription:\n\t\t\t\t\t\"The modules to load. Must be a valid URI but can be relative.\",\n\t\t\t\texamples: [\n\t\t\t\t\t\"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js\",\n\t\t\t\t\t\"https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js\",\n\t\t\t\t\t\"./local-testing-plugin.js\",\n\t\t\t\t],\n\t\t\t}\n\t\t)\n\t),\n\ttelemetry: Type.Optional(\n\t\tType.Union(\n\t\t\t[\n\t\t\t\tType.Literal(\"off\", {\n\t\t\t\t\tdescription: \"No telemetry events \",\n\t\t\t\t}),\n\t\t\t],\n\t\t\t{ description: \"If not set, defaults to all\" }\n\t\t)\n\t),\n\texperimental: Type.Optional(\n\t\tType.Record(Type.String(), Type.Literal(true), {\n\t\t\ttitle: \"Experimental settings\",\n\t\t\tdescription:\n\t\t\t\t\"Experimental settings that are used for product development.\",\n\t\t})\n\t),\n\t/**\n\t * plugin.*: JSONObject\n\t *\n\t * The plugin settings are validated when importing plugins\n\t */\n});\n\n/**\n * Settings defined via apps, plugins, lint rules, etc.\n *\n * Using external settings to only allow `plugin.*` keys\n * and don't block the SDK from adding new settings.\n */\nconst ExternalSettings = Type.Record(\n\tType.String({\n\t\tpattern: `^((plugin)\\\\.([a-z][a-zA-Z0-9]*(?:[A-Z][a-z0-9]*)*)|\\\\$schema|${\n\t\t\t// pattern must include the settings properties\n\t\t\tObject.keys(SDKSettings.properties)\n\t\t\t\t.map((key) => key.replaceAll(\".\", \"\\\\.\"))\n\t\t\t\t.join(\"|\")\n\t\t})$`,\n\t\tdescription: \"The key must be conform to `plugin.*`.\",\n\t\texamples: [\"plugin.csv-importer\", \"plugin.i18next\"],\n\t}) as unknown as TTemplateLiteral<[TLiteral<`${\"plugin\"}.${string}`>]>,\n\t// Using JSON (array and object) as a workaround to make the\n\t// intersection between `InternalSettings`, which contains an array,\n\t// and `ExternalSettings` which are objects possible\n\tType.Record(Type.String(), Type.Any()),\n\t{ description: \"Settings defined by apps, plugins, etc.\" }\n);\n\nexport type ProjectSettings = Omit<\n\tStatic<typeof ProjectSettings>,\n\t\"languageTags\" | \"sourceLanguageTag\"\n> & {\n\t/** @deprecated Use `baseLocale` */\n\tsourceLanguageTag?: string;\n\t/** @deprecated Use `locales` */\n\tlanguageTags?: string[];\n\t/** @deprecated This will soon be replaced by `Lix Validation Rules` */\n\tmessageLintRuleLevels?: Record<string, \"error\" | \"warning\">;\n};\nexport const ProjectSettings = Type.Intersect([SDKSettings, ExternalSettings]);\n"],"names":[],"mappings":";;AAAA,OAAO,EAEN,IAAI,GAGJ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;IAC/B,oEAAoE;IACpE,OAAO,EAAE,IAAI,CAAC,QAAQ,CACrB,IAAI,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAC1D;IACD,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;QACvB,KAAK,EAAE,aAAa;QACpB,WAAW,EACV,oEAAoE;KACrE,CAAC;IACF,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE;QAClC,WAAW,EAAE,IAAI;QACjB,KAAK,EAAE,iBAAiB;QACxB,WAAW,EACV,gJAAgJ;KACjJ,CAAC;IACF,oCAAoC;IACpC,mBAAmB;IACnB,iBAAiB,EAAE,IAAI,CAAC,QAAQ,CAC/B,IAAI,CAAC,MAAM,CAAC;QACX,WAAW,EAAE,yBAAyB;QACtC,UAAU,EAAE,IAAI;KAChB,CAAC,CACF;IACD,oCAAoC;IACpC,mBAAmB;IACnB,YAAY,EAAE,IAAI,CAAC,QAAQ,CAC1B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE;QACzB,WAAW,E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,CAAC;SACjC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SACxC,IAAI,CAAC,GAAG,CACX,IAAI;IACJ,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;CACnD,CAAqE;AACtE,4DAA4D;AAC5D,oEAAoE;AACpE,oDAAoD;AACpD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,EACtC,EAAE,WAAW,EAAE,yCAAyC,EAAE,CAC1D,CAAC;AAaF,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC,CAAC","debug_id":"50e23702-3eef-5ae9-8af9-b048fa48d2c6"}
1
+ {"version":3,"file":"settings.js","sources":["json-schema/settings.ts"],"sourceRoot":"/","sourcesContent":["import { type Static, Type } from \"@sinclair/typebox\";\n\nconst SDKSettings = Type.Object({\n\t// TODO SDK-v2 SETTINGS do we need to generate a settings v2 schema?\n\t$schema: Type.Optional(\n\t\tType.Literal(\"https://inlang.com/schema/project-settings\")\n\t),\n\tbaseLocale: Type.String({\n\t\ttitle: \"Base locale\",\n\t\tdescription:\n\t\t\t\"The base locale of the project. We recommend BCP-47 language tags.\",\n\t}),\n\tlocales: Type.Array(Type.String(), {\n\t\tuniqueItems: true,\n\t\ttitle: \"Project Locales\",\n\t\tdescription:\n\t\t\t\"Set the locales that are available in your project. All locales needs to be a valid BCP-47 language tag. Needs to include the base locale tag.\",\n\t}),\n\t// exits for backwards compatibility\n\t// remove in SDK-v3\n\tsourceLanguageTag: Type.Optional(\n\t\tType.String({\n\t\t\tdescription: \"Use baseLocale instead.\",\n\t\t\tdeprecated: true,\n\t\t})\n\t),\n\t// exits for backwards compatibility\n\t// remove in SDK-v3\n\tlanguageTags: Type.Optional(\n\t\tType.Array(Type.String(), {\n\t\t\tuniqueItems: true,\n\t\t\tdeprecated: true,\n\t\t\tdescription: \"Use locales instead.\",\n\t\t})\n\t),\n\t/**\n\t * The modules to load.\n\t *\n\t * @example\n\t * modules: [\n\t * \t \"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js\",\n\t * \t \"https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js\",\n\t * ]\n\t */\n\tmodules: Type.Optional(\n\t\tType.Array(\n\t\t\tType.Intersect([\n\t\t\t\tType.String({\n\t\t\t\t\tdescription: \"The module must be a valid URI according to RFC 3986.\",\n\t\t\t\t\tpattern:\n\t\t\t\t\t\t\"(?:[A-Za-z][A-Za-z0-9+.-]*:/{2})?(?:(?:[A-Za-z0-9-._~]|%[A-Fa-f0-9]{2})+(?::([A-Za-z0-9-._~]?|[%][A-Fa-f0-9]{2})+)?@)?(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\\\\.){1,126}[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?::[0-9]+)?(?:/(?:[A-Za-z0-9-._~]|%[A-Fa-f0-9]{2})*)*(?:\\\\?(?:[A-Za-z0-9-._~]+(?:=(?:[A-Za-z0-9-._~+]|%[A-Fa-f0-9]{2})+)?)(?:&|;[A-Za-z0-9-._~]+(?:=(?:[A-Za-z0-9-._~+]|%[A-Fa-f0-9]{2})+)?)*)?\",\n\t\t\t\t}),\n\t\t\t\tType.String({\n\t\t\t\t\tdescription: \"The module must end with `.js`.\",\n\t\t\t\t\tpattern: \".*\\\\.js$\",\n\t\t\t\t}),\n\t\t\t]),\n\t\t\t{\n\t\t\t\tuniqueItems: true,\n\t\t\t\tdescription:\n\t\t\t\t\t\"The modules to load. Must be a valid URI but can be relative.\",\n\t\t\t\texamples: [\n\t\t\t\t\t\"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js\",\n\t\t\t\t\t\"https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js\",\n\t\t\t\t\t\"./local-testing-plugin.js\",\n\t\t\t\t],\n\t\t\t}\n\t\t)\n\t),\n\ttelemetry: Type.Optional(\n\t\tType.Union(\n\t\t\t[\n\t\t\t\tType.Literal(\"off\", {\n\t\t\t\t\tdescription: \"No telemetry events \",\n\t\t\t\t}),\n\t\t\t],\n\t\t\t{ description: \"If not set, defaults to all\" }\n\t\t)\n\t),\n\texperimental: Type.Optional(\n\t\tType.Record(Type.String(), Type.Literal(true), {\n\t\t\ttitle: \"Experimental settings\",\n\t\t\tdescription:\n\t\t\t\t\"Experimental settings that are used for product development.\",\n\t\t})\n\t),\n\t/**\n\t * plugin.*: JSONObject\n\t *\n\t * The plugin settings are validated when importing plugins\n\t */\n});\n\nexport type ProjectSettings = Omit<\n\tStatic<typeof ProjectSettings>,\n\t\"languageTags\" | \"sourceLanguageTag\"\n> & {\n\t/** @deprecated Use `baseLocale` */\n\tsourceLanguageTag?: string;\n\t/** @deprecated Use `locales` */\n\tlanguageTags?: string[];\n\t/** @deprecated This will soon be replaced by `Lix Validation Rules` */\n\tmessageLintRuleLevels?: Record<string, \"error\" | \"warning\">;\n} & Record<string, any>;\nexport const ProjectSettings = SDKSettings;\n"],"names":[],"mappings":";;AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;IAC/B,oEAAoE;IACpE,OAAO,EAAE,IAAI,CAAC,QAAQ,CACrB,IAAI,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAC1D;IACD,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;QACvB,KAAK,EAAE,aAAa;QACpB,WAAW,EACV,oEAAoE;KACrE,CAAC;IACF,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE;QAClC,WAAW,EAAE,IAAI;QACjB,KAAK,EAAE,iBAAiB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C9B,WAAW,EACV,8DAA8D;KAC/D,CAAC,CACF;IACD;;;;OAIG;CACH,CAAC,CAAC;AAaH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC","debug_id":"0ab441fa-e6ed-5327-b6ba-da781e2b1e94"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=settings.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.test.d.ts","sourceRoot":"/","sources":["json-schema/settings.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
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]="9b1af2ee-57bc-53aa-87a7-58e094655f60")}catch(e){}}();
3
+ import { TypeCompiler } from "@sinclair/typebox/compiler";
4
+ import { ProjectSettings } from "./settings.js";
5
+ import { test, expect } from "vitest";
6
+ const C = TypeCompiler.Compile(ProjectSettings);
7
+ test("valid settings file", () => {
8
+ const settings = {
9
+ baseLocale: "en",
10
+ locales: ["en", "de"],
11
+ modules: [
12
+ "https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js",
13
+ "https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js",
14
+ ],
15
+ "plugin.something": {
16
+ key: "value",
17
+ nested: {
18
+ moreNested: {},
19
+ },
20
+ },
21
+ };
22
+ const errors = [...C.Errors(settings)];
23
+ expect(errors).toEqual([]);
24
+ });
25
+ //# sourceMappingURL=settings.test.js.map
26
+ //# debugId=9b1af2ee-57bc-53aa-87a7-58e094655f60
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.test.js","sources":["json-schema/settings.test.ts"],"sourceRoot":"/","sourcesContent":["import { TypeCompiler } from \"@sinclair/typebox/compiler\";\nimport { ProjectSettings } from \"./settings.js\";\nimport { test, expect } from \"vitest\";\n\nconst C = TypeCompiler.Compile(ProjectSettings);\n\ntest(\"valid settings file\", () => {\n\tconst settings: ProjectSettings = {\n\t\tbaseLocale: \"en\",\n\t\tlocales: [\"en\", \"de\"],\n\t\tmodules: [\n\t\t\t\"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js\",\n\t\t\t\"https://cdn.jsdelivr.net/npm/@inlang/plugin-csv@1/dist/index.js\",\n\t\t],\n\t\t\"plugin.something\": {\n\t\t\tkey: \"value\",\n\t\t\tnested: {\n\t\t\t\tmoreNested: {},\n\t\t\t},\n\t\t},\n\t};\n\n\tconst errors = [...C.Errors(settings)];\n\n\texpect(errors).toEqual([]);\n});\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;AAEhD,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE;IAChC,MAAM,QAAQ,GAAoB;QACjC,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,OAAO,EAAE;YACR,qEAAqE;YACrE,iEAAiE;SACjE;QACD,kBAAkB,EAAE;YACnB,GAAG,EAAE,OAAO;YACZ,MAAM,EAAE;gBACP,UAAU,EAAE,EAAE;aACd;SACD;KACD,CAAC;IAEF,MAAM,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEvC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC5B,CAAC,CAAC,CAAC","debug_id":"9b1af2ee-57bc-53aa-87a7-58e094655f60"}
@@ -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"}
@@ -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]="df00fa76-3eb4-5842-9f9d-4f593257ee7e")}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]="d56eea49-1483-5227-ae80-1f01de298ace")}catch(e){}}();
3
3
  import { test, expect, vi } from "vitest";
4
4
  import { importPlugins } from "./importPlugins.js";
5
5
  import { PluginImportError } from "./errors.js";
@@ -21,7 +21,6 @@ test("it should preprocess a plugin", async () => {
21
21
  return moduleText.replace("mock", "preprocessed");
22
22
  },
23
23
  });
24
- expect(global.fetch).toHaveBeenCalledTimes(1);
25
24
  expect(result.plugins.length).toBe(1);
26
25
  expect(result.errors.length).toBe(0);
27
26
  expect(result.plugins[0]?.key).toBe("preprocessed");
@@ -92,4 +91,4 @@ test("cache should work", async () => {
92
91
  expect(result.plugins[0]?.key).toBe("mock");
93
92
  });
94
93
  //# sourceMappingURL=importPlugins.test.js.map
95
- //# debugId=df00fa76-3eb4-5842-9f9d-4f593257ee7e
94
+ //# debugId=d56eea49-1483-5227-ae80-1f01de298ace
@@ -1 +1 @@
1
- {"version":3,"file":"importPlugins.test.js","sources":["plugin/importPlugins.test.ts"],"sourceRoot":"/","sourcesContent":["import { test, expect, vi } from \"vitest\";\nimport { importPlugins } from \"./importPlugins.js\";\nimport { PluginImportError } from \"./errors.js\";\nimport { newLixFile, openLixInMemory } from \"@lix-js/sdk\";\n\ntest(\"it should preprocess a plugin\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: true,\n\t\ttext: vi.fn().mockResolvedValue(\"export default { key: 'mock' }\"),\n\t});\n\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [\"https://mock.com/module.js\"],\n\t\t},\n\t\tpreprocessPluginBeforeImport: async (moduleText) => {\n\t\t\treturn moduleText.replace(\"mock\", \"preprocessed\");\n\t\t},\n\t});\n\n\texpect(global.fetch).toHaveBeenCalledTimes(1);\n\texpect(result.plugins.length).toBe(1);\n\texpect(result.errors.length).toBe(0);\n\texpect(result.plugins[0]?.key).toBe(\"preprocessed\");\n});\n\ntest(\"if a fetch fails, a plugin import error is expected\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: false,\n\t\tstatusText: \"HTTP 404\",\n\t});\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [\"https://mock.com/module.js\"],\n\t\t},\n\t});\n\n\texpect(global.fetch).toHaveBeenCalledTimes(1);\n\texpect(result.plugins.length).toBe(0);\n\texpect(result.errors.length).toBe(1);\n\texpect(result.errors[0]).toBeInstanceOf(PluginImportError);\n});\n\ntest(\"it should filter message lint rules for legacy reasons\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: true,\n\t\ttext: vi\n\t\t\t.fn()\n\t\t\t.mockResolvedValue(\"export default { id: 'messageLintRule.something' }\"),\n\t});\n\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [\"https://mock.com/module.js\"],\n\t\t},\n\t});\n\n\texpect(result.plugins.length).toBe(0);\n\texpect(result.errors.length).toBe(0);\n});\n\n// more tests are found in cache.test.ts\ntest(\"cache should work\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: false,\n\t});\n\n\tconst mockModulePath = \"https://mock.com/module.js\";\n\tconst mockModuleCachePath = \"/cache/plugins/31i1etp0l413h\";\n\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\n\tawait lix.db\n\t\t.insertInto(\"file\")\n\t\t.values({\n\t\t\tpath: mockModuleCachePath,\n\t\t\tdata: new TextEncoder().encode(\"export default { key: 'mock' }\"),\n\t\t})\n\t\t.execute();\n\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [mockModulePath],\n\t\t},\n\t});\n\n\texpect(result.errors).lengthOf(0);\n\texpect(result.plugins).lengthOf(1);\n\texpect(result.plugins[0]?.key).toBe(\"mock\");\n});\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,aAAa,E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CAAC;IACnC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC","debug_id":"df00fa76-3eb4-5842-9f9d-4f593257ee7e"}
1
+ {"version":3,"file":"importPlugins.test.js","sources":["plugin/importPlugins.test.ts"],"sourceRoot":"/","sourcesContent":["import { test, expect, vi } from \"vitest\";\nimport { importPlugins } from \"./importPlugins.js\";\nimport { PluginImportError } from \"./errors.js\";\nimport { newLixFile, openLixInMemory } from \"@lix-js/sdk\";\n\ntest(\"it should preprocess a plugin\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: true,\n\t\ttext: vi.fn().mockResolvedValue(\"export default { key: 'mock' }\"),\n\t});\n\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [\"https://mock.com/module.js\"],\n\t\t},\n\t\tpreprocessPluginBeforeImport: async (moduleText) => {\n\t\t\treturn moduleText.replace(\"mock\", \"preprocessed\");\n\t\t},\n\t});\n\n\texpect(result.plugins.length).toBe(1);\n\texpect(result.errors.length).toBe(0);\n\texpect(result.plugins[0]?.key).toBe(\"preprocessed\");\n});\n\ntest(\"if a fetch fails, a plugin import error is expected\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: false,\n\t\tstatusText: \"HTTP 404\",\n\t});\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [\"https://mock.com/module.js\"],\n\t\t},\n\t});\n\n\texpect(global.fetch).toHaveBeenCalledTimes(1);\n\texpect(result.plugins.length).toBe(0);\n\texpect(result.errors.length).toBe(1);\n\texpect(result.errors[0]).toBeInstanceOf(PluginImportError);\n});\n\ntest(\"it should filter message lint rules for legacy reasons\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: true,\n\t\ttext: vi\n\t\t\t.fn()\n\t\t\t.mockResolvedValue(\"export default { id: 'messageLintRule.something' }\"),\n\t});\n\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [\"https://mock.com/module.js\"],\n\t\t},\n\t});\n\n\texpect(result.plugins.length).toBe(0);\n\texpect(result.errors.length).toBe(0);\n});\n\n// more tests are found in cache.test.ts\ntest(\"cache should work\", async () => {\n\tglobal.fetch = vi.fn().mockResolvedValue({\n\t\tok: false,\n\t});\n\n\tconst mockModulePath = \"https://mock.com/module.js\";\n\tconst mockModuleCachePath = \"/cache/plugins/31i1etp0l413h\";\n\n\tconst lix = await openLixInMemory({ blob: await newLixFile() });\n\n\tawait lix.db\n\t\t.insertInto(\"file\")\n\t\t.values({\n\t\t\tpath: mockModuleCachePath,\n\t\t\tdata: new TextEncoder().encode(\"export default { key: 'mock' }\"),\n\t\t})\n\t\t.execute();\n\n\tconst result = await importPlugins({\n\t\tlix,\n\t\tsettings: {\n\t\t\tbaseLocale: \"en\",\n\t\t\tlocales: [\"en\"],\n\t\t\tmodules: [mockModulePath],\n\t\t},\n\t});\n\n\texpect(result.errors).lengthOf(0);\n\texpect(result.plugins).lengthOf(1);\n\texpect(result.plugins[0]?.key).toBe(\"mock\");\n});\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,UAAU,EAA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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,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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"}