@iebh/tera-fy 2.3.11 → 2.3.12

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 (82) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/api.md +8 -11
  3. package/dist/plugin.vue2.es2019.js +7 -7
  4. package/dist/terafy.bootstrapper.es2019.js +2 -2
  5. package/dist/terafy.bootstrapper.js +2 -2
  6. package/dist/terafy.es2019.js +5 -5
  7. package/dist/terafy.js +5 -5
  8. package/eslint.config.js +4 -66
  9. package/lib/{projectFile.ts → projectFile.js} +52 -76
  10. package/lib/syncro/{entities.ts → entities.js} +14 -83
  11. package/lib/syncro/{keyed.ts → keyed.js} +46 -68
  12. package/lib/syncro/{syncro.ts → syncro.js} +104 -136
  13. package/lib/{terafy.bootstrapper.ts → terafy.bootstrapper.js} +20 -30
  14. package/lib/{terafy.client.ts → terafy.client.js} +85 -84
  15. package/lib/{terafy.proxy.ts → terafy.proxy.js} +12 -26
  16. package/lib/{terafy.server.ts → terafy.server.js} +204 -229
  17. package/package.json +20 -39
  18. package/plugins/{base.ts → base.js} +3 -5
  19. package/plugins/{firebase.ts → firebase.js} +22 -21
  20. package/plugins/{vite.ts → vite.js} +3 -3
  21. package/plugins/{vue2.ts → vue2.js} +8 -10
  22. package/plugins/{vue3.ts → vue3.js} +7 -10
  23. package/utils/mixin.js +15 -0
  24. package/utils/{pathTools.ts → pathTools.js} +8 -9
  25. package/widgets/tera-file-select.vue +1 -1
  26. package/dist/lib/projectFile.d.ts +0 -190
  27. package/dist/lib/projectFile.js +0 -305
  28. package/dist/lib/projectFile.js.map +0 -1
  29. package/dist/lib/syncro/entities.d.ts +0 -34
  30. package/dist/lib/syncro/entities.js +0 -212
  31. package/dist/lib/syncro/entities.js.map +0 -1
  32. package/dist/lib/syncro/keyed (Rhino's conflicted copy 2026-05-10).js +0 -287
  33. package/dist/lib/syncro/keyed.d.ts +0 -95
  34. package/dist/lib/syncro/keyed.js +0 -288
  35. package/dist/lib/syncro/keyed.js (Rhino's conflicted copy 2026-05-10).map +0 -1
  36. package/dist/lib/syncro/keyed.js.map +0 -1
  37. package/dist/lib/syncro/syncro (Rhino's conflicted copy 2026-05-10).js +0 -765
  38. package/dist/lib/syncro/syncro.d (Rhino's conflicted copy 2026-05-10).ts +0 -336
  39. package/dist/lib/syncro/syncro.d.ts +0 -343
  40. package/dist/lib/syncro/syncro.js +0 -771
  41. package/dist/lib/syncro/syncro.js (Rhino's conflicted copy 2026-05-10).map +0 -1
  42. package/dist/lib/syncro/syncro.js.map +0 -1
  43. package/dist/lib/terafy.bootstrapper.d.ts +0 -42
  44. package/dist/lib/terafy.bootstrapper.js +0 -129
  45. package/dist/lib/terafy.bootstrapper.js.map +0 -1
  46. package/dist/lib/terafy.client.d.ts +0 -555
  47. package/dist/lib/terafy.client.js +0 -1153
  48. package/dist/lib/terafy.client.js.map +0 -1
  49. package/dist/lib/terafy.proxy.d.ts +0 -66
  50. package/dist/lib/terafy.proxy.js +0 -130
  51. package/dist/lib/terafy.proxy.js.map +0 -1
  52. package/dist/lib/terafy.server.d.ts +0 -697
  53. package/dist/lib/terafy.server.js +0 -2062
  54. package/dist/lib/terafy.server.js.map +0 -1
  55. package/dist/plugin.vue2.es2019 (Rhino's conflicted copy 2026-05-10).js +0 -1271
  56. package/dist/plugins/base.d.ts +0 -20
  57. package/dist/plugins/base.js +0 -22
  58. package/dist/plugins/base.js.map +0 -1
  59. package/dist/plugins/firebase.d.ts +0 -62
  60. package/dist/plugins/firebase.js +0 -123
  61. package/dist/plugins/firebase.js.map +0 -1
  62. package/dist/plugins/vite.d.ts +0 -12
  63. package/dist/plugins/vite.js +0 -22
  64. package/dist/plugins/vite.js.map +0 -1
  65. package/dist/plugins/vue2.d.ts +0 -67
  66. package/dist/plugins/vue2.js +0 -104
  67. package/dist/plugins/vue2.js.map +0 -1
  68. package/dist/plugins/vue3.d.ts +0 -63
  69. package/dist/plugins/vue3.js +0 -93
  70. package/dist/plugins/vue3.js.map +0 -1
  71. package/dist/utils/mixin.d.ts +0 -11
  72. package/dist/utils/mixin.js +0 -15
  73. package/dist/utils/mixin.js.map +0 -1
  74. package/dist/utils/pDefer.d.ts +0 -16
  75. package/dist/utils/pDefer.js +0 -19
  76. package/dist/utils/pDefer.js.map +0 -1
  77. package/dist/utils/pathTools.d.ts +0 -70
  78. package/dist/utils/pathTools.js +0 -120
  79. package/dist/utils/pathTools.js.map +0 -1
  80. package/tsconfig.json +0 -30
  81. package/utils/mixin.ts +0 -18
  82. package/utils/pDefer.ts +0 -27
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.3.12](https://github.com/IEBH/TERA-fy/compare/v2.3.11...v2.3.12) (2026-06-24)
4
+
5
+
6
+ ### feat
7
+
8
+ * Added ioUrl option to start moving everything over to it instead of using $supabase ([63d2e96](https://github.com/IEBH/TERA-fy/commit/63d2e96e16f177c5d0332e33660098a2163b2afe))
9
+
10
+ ### fix
11
+
12
+ * Clean out dist/ before building - avoids .ts artefacts ([36553ca](https://github.com/IEBH/TERA-fy/commit/36553cabf0847134e7ae66015ab94eb23c63d053))
13
+ * Missing global to keep eslint happy ([977afb2](https://github.com/IEBH/TERA-fy/commit/977afb2ae9798459f24aa615369f668b85b0f251))
14
+ * Tweak Syncro heartbeat interval 2m -> 5m to reduce server load ([6d22117](https://github.com/IEBH/TERA-fy/commit/6d221177cfcc63845448b9e50c5ad910c9ac8553))
15
+
16
+ ### refactor
17
+
18
+ * Eslint cleaning ([0a5166e](https://github.com/IEBH/TERA-fy/commit/0a5166e64e96ab5579778167f7eff55b9ab08b72))
19
+ * Eslint cleanup ([a0d4f45](https://github.com/IEBH/TERA-fy/commit/a0d4f45be2b483a0d44ce8c25c3dca0fcaaf97cc))
20
+
21
+ ### task
22
+
23
+ * Bump NPM:eslint rules to latest ([b9f8c75](https://github.com/IEBH/TERA-fy/commit/b9f8c75087d426c04b3fd0a2c2bb9e800ce6f13e))
24
+ * Misc NPM bumps ([fa5dea8](https://github.com/IEBH/TERA-fy/commit/fa5dea8e44f7877c32a03186bea53953a4baba5d))
25
+ * Misc NPM bumps #2 ([7fa9229](https://github.com/IEBH/TERA-fy/commit/7fa92296f1e504f47e36ac7b088452fda2cd106f)), closes [#2](https://github.com/IEBH/TERA-fy/issues/2)
26
+ * Removed TypeScript ([b8ca9a2](https://github.com/IEBH/TERA-fy/commit/b8ca9a2a27d5b4ff133c4edf6b0be3ed87fa4c4e))
27
+
3
28
  ## [2.3.11](https://github.com/IEBH/TERA-fy/compare/v2.3.10...v2.3.11) (2026-05-14)
4
29
 
5
30
 
package/api.md CHANGED
@@ -247,7 +247,7 @@ Type: [String][168]
247
247
 
248
248
  ### modified
249
249
 
250
- A date representing when the file was created
250
+ A date representing when the file was modifed
251
251
 
252
252
  Type: [Date][170]
253
253
 
@@ -297,7 +297,7 @@ Type: [Object][169]
297
297
 
298
298
  Whether this is a folder or not
299
299
 
300
- Type: [boolean][172]
300
+ Type: [Boolean][172]
301
301
 
302
302
  ### files
303
303
 
@@ -335,7 +335,7 @@ Returns **[Promise][174]\<void>** A promise which resolves when the operation ha
335
335
 
336
336
  Fetch the file contents as an array of Reflib refs
337
337
 
338
- Returns **[Promise][174]<[Array][173]\<RefLibRef>>** An eventual array of RefLib references
338
+ Returns **[Promise][174]<[Array][173]>** An eventual array of RefLib references
339
339
 
340
340
  ### setRefs
341
341
 
@@ -345,7 +345,7 @@ Overwrite the contents of a file with a new collection of Reflib refs
345
345
 
346
346
  #### Parameters
347
347
 
348
- * `refs` **[Array][173]\<RefLibRef>** Collection of references for the selected library
348
+ * `refs` **[Array][173]** Collection of references for the selected library
349
349
 
350
350
  Returns **[Promise][174]\<void>** A promise which resolves when the operation has completed
351
351
 
@@ -434,7 +434,7 @@ Active namespaces we are subscribed to
434
434
  Each key is the namespace name with the value as the local reactive \ observer \ object equivalent
435
435
  The key string is always of the form `${ENTITY}::${ID}` e.g. `projects:1234`
436
436
 
437
- Type: [Object][169]<[Object][169]>
437
+ Type: [Object][169]
438
438
 
439
439
  ### send
440
440
 
@@ -632,7 +632,7 @@ This is an pre-requisite step for requireProject()
632
632
 
633
633
  #### Parameters
634
634
 
635
- * `options` **any?**&#x20;
635
+ * `options` &#x20;
636
636
 
637
637
  Returns **[Promise][174]** A promise which will resolve if the there is a user and they are logged in
638
638
 
@@ -969,12 +969,9 @@ The file's unique ID (UUID) remains the same, but its 'name' (relative path) and
969
969
  * `options` **[Object][169]?** Additional options to mutate behaviour.
970
970
 
971
971
  * `options.autoRequire` **[Boolean][172]** Run `requireProject()` automatically before continuing. (optional, default `true`)
972
- * `options.overwrite` **[Boolean][172]** If true (default), moving a file to a `newName` that already exists will overwrite the existing file.
973
- This aligns with the default behavior of the underlying Supabase storage `move` operation.
974
- If set to false, the function would ideally check and prevent overwrite, but current implementation relies on underlying storage behavior. (optional, default `true`)
972
+ * `options.overwrite` **[Boolean][172]** If true (default), moving a file to a `newName` that already exists will overwrite the existing file. This aligns with the default behavior of the underlying Supabase storage `move` operation. If set to false, the function would ideally check and prevent overwrite, but current implementation relies on underlying storage behavior. (optional, default `true`)
975
973
 
976
- Returns **[Promise][174]<([ProjectFile][1] | null)>** A promise which resolves to the updated ProjectFile object for the moved file if found after the operation,
977
- or null if the file could not be located post-move (e.g., if its ID changed unexpectedly or it was deleted).
974
+ Returns **[Promise][174]<([ProjectFile][1] | null)>** A promise which resolves to the updated ProjectFile object for the moved file if found after the operation, or null if the file could not be located post-move (e.g., if its ID changed unexpectedly or it was deleted).
978
975
 
979
976
  ## deleteProjectFile
980
977