@iebh/tera-fy 2.3.10 → 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.
- package/CHANGELOG.md +32 -0
- package/api.md +8 -11
- package/dist/plugin.vue2.es2019.js +28 -27
- package/dist/terafy.bootstrapper.es2019.js +2 -2
- package/dist/terafy.bootstrapper.js +2 -2
- package/dist/terafy.es2019.js +5 -5
- package/dist/terafy.js +5 -5
- package/eslint.config.js +4 -66
- package/lib/{projectFile.ts → projectFile.js} +52 -76
- package/lib/syncro/{entities.ts → entities.js} +14 -83
- package/lib/syncro/{keyed.ts → keyed.js} +46 -68
- package/lib/syncro/{syncro.ts → syncro.js} +104 -136
- package/lib/{terafy.bootstrapper.ts → terafy.bootstrapper.js} +20 -30
- package/lib/{terafy.client.ts → terafy.client.js} +85 -84
- package/lib/{terafy.proxy.ts → terafy.proxy.js} +12 -26
- package/lib/{terafy.server.ts → terafy.server.js} +204 -229
- package/package.json +20 -39
- package/plugins/{base.ts → base.js} +3 -5
- package/plugins/{firebase.ts → firebase.js} +22 -21
- package/plugins/{vite.ts → vite.js} +3 -3
- package/plugins/{vue2.ts → vue2.js} +8 -10
- package/plugins/{vue3.ts → vue3.js} +7 -10
- package/utils/mixin.js +15 -0
- package/utils/{pathTools.ts → pathTools.js} +8 -9
- package/widgets/tera-file-select.vue +1 -1
- package/dist/lib/projectFile.d.ts +0 -190
- package/dist/lib/projectFile.js +0 -305
- package/dist/lib/projectFile.js.map +0 -1
- package/dist/lib/syncro/entities.d.ts +0 -34
- package/dist/lib/syncro/entities.js +0 -212
- package/dist/lib/syncro/entities.js.map +0 -1
- package/dist/lib/syncro/keyed (Rhino's conflicted copy 2026-05-10).js +0 -287
- package/dist/lib/syncro/keyed.d.ts +0 -95
- package/dist/lib/syncro/keyed.js +0 -288
- package/dist/lib/syncro/keyed.js (Rhino's conflicted copy 2026-05-10).map +0 -1
- package/dist/lib/syncro/keyed.js.map +0 -1
- package/dist/lib/syncro/syncro (Rhino's conflicted copy 2026-05-10).js +0 -765
- package/dist/lib/syncro/syncro.d (Rhino's conflicted copy 2026-05-10).ts +0 -336
- package/dist/lib/syncro/syncro.d.ts +0 -343
- package/dist/lib/syncro/syncro.js +0 -771
- package/dist/lib/syncro/syncro.js (Rhino's conflicted copy 2026-05-10).map +0 -1
- package/dist/lib/syncro/syncro.js.map +0 -1
- package/dist/lib/terafy.bootstrapper.d.ts +0 -42
- package/dist/lib/terafy.bootstrapper.js +0 -129
- package/dist/lib/terafy.bootstrapper.js.map +0 -1
- package/dist/lib/terafy.client.d.ts +0 -555
- package/dist/lib/terafy.client.js +0 -1153
- package/dist/lib/terafy.client.js.map +0 -1
- package/dist/lib/terafy.proxy.d.ts +0 -66
- package/dist/lib/terafy.proxy.js +0 -130
- package/dist/lib/terafy.proxy.js.map +0 -1
- package/dist/lib/terafy.server.d.ts +0 -697
- package/dist/lib/terafy.server.js +0 -2062
- package/dist/lib/terafy.server.js.map +0 -1
- package/dist/plugin.vue2.es2019 (Rhino's conflicted copy 2026-05-10).js +0 -1271
- package/dist/plugins/base.d.ts +0 -20
- package/dist/plugins/base.js +0 -22
- package/dist/plugins/base.js.map +0 -1
- package/dist/plugins/firebase.d.ts +0 -62
- package/dist/plugins/firebase.js +0 -123
- package/dist/plugins/firebase.js.map +0 -1
- package/dist/plugins/vite.d.ts +0 -12
- package/dist/plugins/vite.js +0 -22
- package/dist/plugins/vite.js.map +0 -1
- package/dist/plugins/vue2.d.ts +0 -67
- package/dist/plugins/vue2.js +0 -104
- package/dist/plugins/vue2.js.map +0 -1
- package/dist/plugins/vue3.d.ts +0 -63
- package/dist/plugins/vue3.js +0 -93
- package/dist/plugins/vue3.js.map +0 -1
- package/dist/utils/mixin.d.ts +0 -11
- package/dist/utils/mixin.js +0 -15
- package/dist/utils/mixin.js.map +0 -1
- package/dist/utils/pDefer.d.ts +0 -16
- package/dist/utils/pDefer.js +0 -19
- package/dist/utils/pDefer.js.map +0 -1
- package/dist/utils/pathTools.d.ts +0 -70
- package/dist/utils/pathTools.js +0 -120
- package/dist/utils/pathTools.js.map +0 -1
- package/tsconfig.json +0 -30
- package/utils/mixin.ts +0 -18
- package/utils/pDefer.ts +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
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
|
+
|
|
28
|
+
## [2.3.11](https://github.com/IEBH/TERA-fy/compare/v2.3.10...v2.3.11) (2026-05-14)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### fix
|
|
32
|
+
|
|
33
|
+
* Fix firebase peerDep ([319029e](https://github.com/IEBH/TERA-fy/commit/319029ef64798ece1fdc458270343477cc09ae54))
|
|
34
|
+
|
|
3
35
|
## [2.3.10](https://github.com/IEBH/TERA-fy/compare/v2.3.9...v2.3.10) (2026-05-12)
|
|
4
36
|
|
|
5
37
|
|
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
|
|
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: [
|
|
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]
|
|
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]
|
|
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]
|
|
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`
|
|
635
|
+
* `options`  
|
|
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
|
|