@builder.io/sdk-qwik 0.5.4 → 0.5.5
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
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
2
|
+
export declare function getPreviewContent(_searchParams: URLSearchParams): BuilderContent | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getIdFromSearchParams: (searchParams: URLSearchParams) => string | null;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is an LRU cache to hold preview content on the server-side.
|
|
3
|
-
*
|
|
4
|
-
* Note: This logic is only used by the NextJS SDK.
|
|
5
|
-
*/
|
|
6
|
-
import type { LRUCache } from 'lru-cache';
|
|
7
|
-
import type { BuilderContent } from '../../types/builder-content';
|
|
8
|
-
type BuilderLRUCache = LRUCache<string, BuilderContent>;
|
|
9
|
-
export type GlobalWCache = typeof globalThis & {
|
|
10
|
-
_BUILDER_PREVIEW_LRU_CACHE: BuilderLRUCache;
|
|
11
|
-
};
|
|
12
|
-
export {};
|