@unhead/schema 1.11.3 → 1.11.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/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -578,7 +578,7 @@ interface UseScriptOptions<T extends BaseScriptApi = {}, U = {}> extends HeadEnt
|
|
|
578
578
|
* - `Function` - Register a callback function to load the script, exists only on the client.
|
|
579
579
|
* - `server` - Have the script injected on the server.
|
|
580
580
|
*/
|
|
581
|
-
trigger?: 'client' | 'server' | 'manual' | Promise<void> | ((fn: any) => any) | null;
|
|
581
|
+
trigger?: 'client' | 'server' | 'manual' | Promise<boolean | void> | ((fn: any) => any) | null;
|
|
582
582
|
/**
|
|
583
583
|
* Context to run events with. This is useful in Vue to attach the current instance context before
|
|
584
584
|
* calling the event, allowing the event to be reactive.
|
package/dist/index.d.mts
CHANGED
|
@@ -578,7 +578,7 @@ interface UseScriptOptions<T extends BaseScriptApi = {}, U = {}> extends HeadEnt
|
|
|
578
578
|
* - `Function` - Register a callback function to load the script, exists only on the client.
|
|
579
579
|
* - `server` - Have the script injected on the server.
|
|
580
580
|
*/
|
|
581
|
-
trigger?: 'client' | 'server' | 'manual' | Promise<void> | ((fn: any) => any) | null;
|
|
581
|
+
trigger?: 'client' | 'server' | 'manual' | Promise<boolean | void> | ((fn: any) => any) | null;
|
|
582
582
|
/**
|
|
583
583
|
* Context to run events with. This is useful in Vue to attach the current instance context before
|
|
584
584
|
* calling the event, allowing the event to be reactive.
|
package/dist/index.d.ts
CHANGED
|
@@ -578,7 +578,7 @@ interface UseScriptOptions<T extends BaseScriptApi = {}, U = {}> extends HeadEnt
|
|
|
578
578
|
* - `Function` - Register a callback function to load the script, exists only on the client.
|
|
579
579
|
* - `server` - Have the script injected on the server.
|
|
580
580
|
*/
|
|
581
|
-
trigger?: 'client' | 'server' | 'manual' | Promise<void> | ((fn: any) => any) | null;
|
|
581
|
+
trigger?: 'client' | 'server' | 'manual' | Promise<boolean | void> | ((fn: any) => any) | null;
|
|
582
582
|
/**
|
|
583
583
|
* Context to run events with. This is useful in Vue to attach the current instance context before
|
|
584
584
|
* calling the event, allowing the event to be reactive.
|