@usegraft/sdk-astro 1.0.0-beta.1 → 1.0.0-beta.3
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/index.d.ts +3 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,9 @@ export { AnyCollection, ChangeSet, ClientOptions, Document, GraftClient, ListOpt
|
|
|
17
17
|
* Caching: Astro has no tag-based data cache, so the Phase 4 tag contract
|
|
18
18
|
* maps onto HTTP — stamp `tagsFor(...)` into a CDN surrogate-key header
|
|
19
19
|
* (`Cache-Tag` / `Surrogate-Key`) on SSR responses, and purge
|
|
20
|
-
* `tagsForChanges(branch, changeSet)` from your
|
|
20
|
+
* `tagsForChanges(branch, changeSet)` from your own route, called with a
|
|
21
|
+
* compile's change list. `graft compile --json` prints `{ branch, gitSha, changes }`: pass its
|
|
22
|
+
* `branch` and `changes`, not the whole object.
|
|
21
23
|
*/
|
|
22
24
|
|
|
23
25
|
interface Graft<TCollections extends Record<string, AnyCollection>> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usegraft/sdk-astro",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"description": "Astro adapter: typed content reads and endpoint mounts over Graft's stateless handlers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@usegraft/db": "1.0.0-beta.
|
|
42
|
-
"@usegraft/sdk-core": "1.0.0-beta.
|
|
41
|
+
"@usegraft/db": "1.0.0-beta.3",
|
|
42
|
+
"@usegraft/sdk-core": "1.0.0-beta.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@usegraft/core": "1.0.0-beta.
|
|
45
|
+
"@usegraft/core": "1.0.0-beta.3"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22.16"
|