@webjsdev/core 0.7.37 → 0.7.38
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 +1 -1
- package/src/metadata.d.ts +4 -3
package/package.json
CHANGED
package/src/metadata.d.ts
CHANGED
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
* export const metadata: Metadata = { title: 'Home', description: '…' };
|
|
12
12
|
* export async function generateMetadata(ctx: MetadataContext): Promise<Metadata> { … }
|
|
13
13
|
*
|
|
14
|
-
* The shape mirrors what ssr.js actually consumes (and
|
|
15
|
-
* documents), NOT Next.js's full superset.
|
|
14
|
+
* The shape mirrors what ssr.js actually consumes (and the skill's
|
|
15
|
+
* references/routing-and-pages.md documents), NOT Next.js's full superset.
|
|
16
|
+
* Every field is optional. Zero
|
|
16
17
|
* runtime cost: nothing in this file ships to the browser.
|
|
17
18
|
*/
|
|
18
19
|
|
|
@@ -177,7 +178,7 @@ export interface PreloadDescriptor {
|
|
|
177
178
|
* optional. Where the framework accepts a string OR an object (`title`,
|
|
178
179
|
* `viewport`, `robots`, `appleWebApp`, `icons`), the type is a union.
|
|
179
180
|
*
|
|
180
|
-
* @see
|
|
181
|
+
* @see the skill's references/routing-and-pages.md for the field-by-field emission reference.
|
|
181
182
|
*/
|
|
182
183
|
export interface Metadata {
|
|
183
184
|
/** -> `<title>`. Plain string or `{ template, default, absolute }`. */
|