rsnext/packages/next/types
Jiachi Liu facea99f0e
Expose metadata types (#47630)
### What?

- Besides existing `Metadata` type, expose `ResolvingMetadata` and `ResolvedMetadata` to `'next'`.
- Group `Robots` / `Sitemap` / `Manifest` these dynamic data routes types as `MetadataRoute` type and expose to `'next'`

### Why?

Allow users to type the more API easily, and grouping them to avoid type conflicts (e.g. we have `Robots` in metadata interface field, `MetadataRoute.Robots` can avoid conflicts)

### How?

Closes NEXT-908
2023-03-29 11:16:47 +00:00
..
compiled.d.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
global.d.ts Update cache handling for app (#43659) 2022-12-02 23:32:49 -08:00
index.d.ts Expose metadata types (#47630) 2023-03-29 11:16:47 +00:00
misc.d.ts Add Zod and router state validation (#46962) 2023-03-10 13:37:45 +00:00
webpack.d.ts Move core files to src folder and move JS files to TypeScript (#44405) 2023-01-03 10:05:50 +01:00