astro-integration-pocketbase 1.0.0 → 1.1.0
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/package.json
CHANGED
|
@@ -76,8 +76,10 @@ export function refreshCollectionsRealtime(
|
|
|
76
76
|
logger.info(`Received update for ${collection}. Refreshing content...`);
|
|
77
77
|
await refreshContent({
|
|
78
78
|
loaders: ["pocketbase-loader"],
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
context: {
|
|
80
|
+
source: "astro-integration-pocketbase",
|
|
81
|
+
collection
|
|
82
|
+
}
|
|
81
83
|
});
|
|
82
84
|
});
|
|
83
85
|
}
|
|
@@ -26,8 +26,9 @@ export function handleRefreshCollections({
|
|
|
26
26
|
logger.info("Refreshing content loaded by PocketBase loader");
|
|
27
27
|
await refreshContent({
|
|
28
28
|
loaders: ["pocketbase-loader"],
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
context: {
|
|
30
|
+
source: "astro-integration-pocketbase"
|
|
31
|
+
}
|
|
31
32
|
});
|
|
32
33
|
|
|
33
34
|
// Reset the loading state in the toolbar
|