@templatical/core 0.27.0 → 0.27.2
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/dist/cloud/index.d.ts +5 -5
- package/dist/cloud/index.js +5 -5
- package/dist/cloud/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cloud/index.d.ts
CHANGED
|
@@ -420,8 +420,9 @@ declare function useWebSocket(options: UseWebSocketOptions): UseWebSocketReturn;
|
|
|
420
420
|
* editor UI never see them. Plan gating is applied by the caller before this
|
|
421
421
|
* provider is constructed.
|
|
422
422
|
*
|
|
423
|
-
* Wraps the
|
|
424
|
-
*
|
|
423
|
+
* Wraps the `ApiClient` saved-module endpoints. The REST contract keeps the
|
|
424
|
+
* `savedModules.*` route names even though the type is `SavedBlock`, so the
|
|
425
|
+
* names deliberately differ from the contract's.
|
|
425
426
|
*
|
|
426
427
|
* Rows pass straight through, unmapped: the Cloud endpoints speak the same
|
|
427
428
|
* `SavedBlock` shape the contract defines, so this adapter only supplies auth
|
|
@@ -450,9 +451,8 @@ declare function createCloudSavedBlocksProvider(authManager: AuthManager): Saved
|
|
|
450
451
|
* records a version, which keeps throttling and retention with the side that
|
|
451
452
|
* pays for the storage. Cloud throttles to one automatic version per
|
|
452
453
|
* {@link AUTO_VERSION_INTERVAL_MS}, so an autosave firing every few seconds does
|
|
453
|
-
* not turn history into a keystroke log.
|
|
454
|
-
*
|
|
455
|
-
* editor.
|
|
454
|
+
* not turn history into a keystroke log. Keep this on the provider side: an
|
|
455
|
+
* editor-side timer would put Cloud's retention policy in the editor.
|
|
456
456
|
*
|
|
457
457
|
* Note `initCloud()` **rejects** a consumer-supplied templates provider, unlike
|
|
458
458
|
* `savedBlocks` and `testEmail`. Those are inert — nothing keys off them. The
|
package/dist/cloud/index.js
CHANGED
|
@@ -1592,8 +1592,9 @@ function useWebSocket(options) {
|
|
|
1592
1592
|
* editor UI never see them. Plan gating is applied by the caller before this
|
|
1593
1593
|
* provider is constructed.
|
|
1594
1594
|
*
|
|
1595
|
-
* Wraps the
|
|
1596
|
-
*
|
|
1595
|
+
* Wraps the `ApiClient` saved-module endpoints. The REST contract keeps the
|
|
1596
|
+
* `savedModules.*` route names even though the type is `SavedBlock`, so the
|
|
1597
|
+
* names deliberately differ from the contract's.
|
|
1597
1598
|
*
|
|
1598
1599
|
* Rows pass straight through, unmapped: the Cloud endpoints speak the same
|
|
1599
1600
|
* `SavedBlock` shape the contract defines, so this adapter only supplies auth
|
|
@@ -1643,9 +1644,8 @@ const AUTO_VERSION_INTERVAL_MS = 6e4;
|
|
|
1643
1644
|
* records a version, which keeps throttling and retention with the side that
|
|
1644
1645
|
* pays for the storage. Cloud throttles to one automatic version per
|
|
1645
1646
|
* {@link AUTO_VERSION_INTERVAL_MS}, so an autosave firing every few seconds does
|
|
1646
|
-
* not turn history into a keystroke log.
|
|
1647
|
-
*
|
|
1648
|
-
* editor.
|
|
1647
|
+
* not turn history into a keystroke log. Keep this on the provider side: an
|
|
1648
|
+
* editor-side timer would put Cloud's retention policy in the editor.
|
|
1649
1649
|
*
|
|
1650
1650
|
* Note `initCloud()` **rejects** a consumer-supplied templates provider, unlike
|
|
1651
1651
|
* `savedBlocks` and `testEmail`. Those are inert — nothing keys off them. The
|