@pinerohit11/testwidget 0.1.9 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/.next/app-build-manifest.json +15 -0
- package/.next/build-manifest.json +20 -0
- package/.next/cache/.rscinfo +1 -0
- package/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development/10.pack.gz +0 -0
- package/.next/cache/webpack/client-development/11.pack.gz +0 -0
- package/.next/cache/webpack/client-development/2.pack.gz +0 -0
- package/.next/cache/webpack/client-development/3.pack.gz +0 -0
- package/.next/cache/webpack/client-development/4.pack.gz +0 -0
- package/.next/cache/webpack/client-development/5.pack.gz +0 -0
- package/.next/cache/webpack/client-development/6.pack.gz +0 -0
- package/.next/cache/webpack/client-development/7.pack.gz +0 -0
- package/.next/cache/webpack/client-development/8.pack.gz +0 -0
- package/.next/cache/webpack/client-development/9.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/server-development/0.pack.gz +0 -0
- package/.next/cache/webpack/server-development/1.pack.gz +0 -0
- package/.next/cache/webpack/server-development/10.pack.gz +0 -0
- package/.next/cache/webpack/server-development/11.pack.gz +0 -0
- package/.next/cache/webpack/server-development/12.pack.gz +0 -0
- package/.next/cache/webpack/server-development/13.pack.gz +0 -0
- package/.next/cache/webpack/server-development/14.pack.gz +0 -0
- package/.next/cache/webpack/server-development/2.pack.gz +0 -0
- package/.next/cache/webpack/server-development/3.pack.gz +0 -0
- package/.next/cache/webpack/server-development/4.pack.gz +0 -0
- package/.next/cache/webpack/server-development/5.pack.gz +0 -0
- package/.next/cache/webpack/server-development/6.pack.gz +0 -0
- package/.next/cache/webpack/server-development/7.pack.gz +0 -0
- package/.next/cache/webpack/server-development/8.pack.gz +0 -0
- package/.next/cache/webpack/server-development/9.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
- package/.next/package.json +1 -0
- package/.next/react-loadable-manifest.json +1 -0
- package/.next/server/app/favicon.ico/route.js +86 -0
- package/.next/server/app/page.js +383 -0
- package/.next/server/app/page_client-reference-manifest.js +1 -0
- package/.next/server/app-paths-manifest.json +4 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +22 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +1 -0
- package/.next/server/pages-manifest.json +1 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +5 -0
- package/.next/server/vendor-chunks/@swc.js +55 -0
- package/.next/server/vendor-chunks/asynckit.js +114 -0
- package/.next/server/vendor-chunks/axios.js +555 -0
- package/.next/server/vendor-chunks/combined-stream.js +24 -0
- package/.next/server/vendor-chunks/debug.js +54 -0
- package/.next/server/vendor-chunks/delayed-stream.js +24 -0
- package/.next/server/vendor-chunks/follow-redirects.js +34 -0
- package/.next/server/vendor-chunks/form-data.js +34 -0
- package/.next/server/vendor-chunks/has-flag.js +25 -0
- package/.next/server/vendor-chunks/mime-db.js +35 -0
- package/.next/server/vendor-chunks/mime-types.js +25 -0
- package/.next/server/vendor-chunks/ms.js +24 -0
- package/.next/server/vendor-chunks/next.js +3185 -0
- package/.next/server/vendor-chunks/proxy-from-env.js +25 -0
- package/.next/server/vendor-chunks/supports-color.js +25 -0
- package/.next/server/webpack-runtime.js +220 -0
- package/.next/static/chunks/app/layout.js +146 -0
- package/.next/static/chunks/app/page.js +610 -0
- package/.next/static/chunks/app-pages-internals.js +193 -0
- package/.next/static/chunks/main-app.js +2398 -0
- package/.next/static/chunks/polyfills.js +1 -0
- package/.next/static/chunks/webpack.js +1411 -0
- package/.next/static/css/app/layout.css +713 -0
- package/.next/static/development/_buildManifest.js +1 -0
- package/.next/static/development/_ssgManifest.js +1 -0
- package/.next/static/media/4473ecc91f70f139-s.p.woff +0 -0
- package/.next/static/media/463dafcda517f24f-s.p.woff +0 -0
- package/.next/static/webpack/5ff03b504f4dc152.webpack.hot-update.json +1 -0
- package/.next/static/webpack/633457081244afec._.hot-update.json +1 -0
- package/.next/static/webpack/app/layout.5ff03b504f4dc152.hot-update.js +31 -0
- package/.next/static/webpack/app/layout.e1d7a6f7992b7b70.hot-update.js +31 -0
- package/.next/static/webpack/e1d7a6f7992b7b70.webpack.hot-update.json +1 -0
- package/.next/static/webpack/webpack.5ff03b504f4dc152.hot-update.js +18 -0
- package/.next/static/webpack/webpack.e1d7a6f7992b7b70.hot-update.js +18 -0
- package/.next/trace +14 -0
- package/.next/types/app/layout.ts +84 -0
- package/.next/types/app/page.ts +84 -0
- package/.next/types/cache-life.d.ts +139 -0
- package/.next/types/package.json +1 -0
- package/dist/index.cjs +456 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +414 -38
- package/global.d.ts +3 -0
- package/package.json +5 -3
- package/dist/index.d.mts +0 -7
- package/dist/index.mjs +0 -9
@@ -0,0 +1,84 @@
|
|
1
|
+
// File: C:\Users\Pinesucceed\Desktop\WorkSpace\testwidget\src\app\layout.tsx
|
2
|
+
import * as entry from '../../../src/app/layout.js'
|
3
|
+
import type { ResolvingMetadata, ResolvingViewport } from 'next/dist/lib/metadata/types/metadata-interface.js'
|
4
|
+
|
5
|
+
type TEntry = typeof import('../../../src/app/layout.js')
|
6
|
+
|
7
|
+
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
8
|
+
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
9
|
+
: T
|
10
|
+
|
11
|
+
// Check that the entry is a valid entry
|
12
|
+
checkFields<Diff<{
|
13
|
+
default: Function
|
14
|
+
config?: {}
|
15
|
+
generateStaticParams?: Function
|
16
|
+
revalidate?: RevalidateRange<TEntry> | false
|
17
|
+
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
|
18
|
+
dynamicParams?: boolean
|
19
|
+
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
|
20
|
+
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
|
21
|
+
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
|
22
|
+
maxDuration?: number
|
23
|
+
|
24
|
+
metadata?: any
|
25
|
+
generateMetadata?: Function
|
26
|
+
viewport?: any
|
27
|
+
generateViewport?: Function
|
28
|
+
experimental_ppr?: boolean
|
29
|
+
|
30
|
+
}, TEntry, ''>>()
|
31
|
+
|
32
|
+
|
33
|
+
// Check the prop type of the entry function
|
34
|
+
checkFields<Diff<LayoutProps, FirstArg<TEntry['default']>, 'default'>>()
|
35
|
+
|
36
|
+
// Check the arguments and return type of the generateMetadata function
|
37
|
+
if ('generateMetadata' in entry) {
|
38
|
+
checkFields<Diff<LayoutProps, FirstArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
|
39
|
+
checkFields<Diff<ResolvingMetadata, SecondArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
|
40
|
+
}
|
41
|
+
|
42
|
+
// Check the arguments and return type of the generateViewport function
|
43
|
+
if ('generateViewport' in entry) {
|
44
|
+
checkFields<Diff<LayoutProps, FirstArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
|
45
|
+
checkFields<Diff<ResolvingViewport, SecondArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
|
46
|
+
}
|
47
|
+
|
48
|
+
// Check the arguments and return type of the generateStaticParams function
|
49
|
+
if ('generateStaticParams' in entry) {
|
50
|
+
checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
|
51
|
+
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
|
52
|
+
}
|
53
|
+
|
54
|
+
export interface PageProps {
|
55
|
+
params?: Promise<SegmentParams>
|
56
|
+
searchParams?: Promise<any>
|
57
|
+
}
|
58
|
+
export interface LayoutProps {
|
59
|
+
children?: React.ReactNode
|
60
|
+
|
61
|
+
params?: Promise<SegmentParams>
|
62
|
+
}
|
63
|
+
|
64
|
+
// =============
|
65
|
+
// Utility types
|
66
|
+
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
|
67
|
+
|
68
|
+
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
|
69
|
+
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
|
70
|
+
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
|
71
|
+
|
72
|
+
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
|
73
|
+
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
|
74
|
+
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
function checkFields<_ extends { [k in keyof any]: never }>() {}
|
79
|
+
|
80
|
+
// https://github.com/sindresorhus/type-fest
|
81
|
+
type Numeric = number | bigint
|
82
|
+
type Zero = 0 | 0n
|
83
|
+
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
|
84
|
+
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
|
@@ -0,0 +1,84 @@
|
|
1
|
+
// File: C:\Users\Pinesucceed\Desktop\WorkSpace\testwidget\src\app\page.tsx
|
2
|
+
import * as entry from '../../../src/app/page.js'
|
3
|
+
import type { ResolvingMetadata, ResolvingViewport } from 'next/dist/lib/metadata/types/metadata-interface.js'
|
4
|
+
|
5
|
+
type TEntry = typeof import('../../../src/app/page.js')
|
6
|
+
|
7
|
+
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
8
|
+
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
9
|
+
: T
|
10
|
+
|
11
|
+
// Check that the entry is a valid entry
|
12
|
+
checkFields<Diff<{
|
13
|
+
default: Function
|
14
|
+
config?: {}
|
15
|
+
generateStaticParams?: Function
|
16
|
+
revalidate?: RevalidateRange<TEntry> | false
|
17
|
+
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
|
18
|
+
dynamicParams?: boolean
|
19
|
+
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
|
20
|
+
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
|
21
|
+
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
|
22
|
+
maxDuration?: number
|
23
|
+
|
24
|
+
metadata?: any
|
25
|
+
generateMetadata?: Function
|
26
|
+
viewport?: any
|
27
|
+
generateViewport?: Function
|
28
|
+
experimental_ppr?: boolean
|
29
|
+
|
30
|
+
}, TEntry, ''>>()
|
31
|
+
|
32
|
+
|
33
|
+
// Check the prop type of the entry function
|
34
|
+
checkFields<Diff<PageProps, FirstArg<TEntry['default']>, 'default'>>()
|
35
|
+
|
36
|
+
// Check the arguments and return type of the generateMetadata function
|
37
|
+
if ('generateMetadata' in entry) {
|
38
|
+
checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
|
39
|
+
checkFields<Diff<ResolvingMetadata, SecondArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
|
40
|
+
}
|
41
|
+
|
42
|
+
// Check the arguments and return type of the generateViewport function
|
43
|
+
if ('generateViewport' in entry) {
|
44
|
+
checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
|
45
|
+
checkFields<Diff<ResolvingViewport, SecondArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
|
46
|
+
}
|
47
|
+
|
48
|
+
// Check the arguments and return type of the generateStaticParams function
|
49
|
+
if ('generateStaticParams' in entry) {
|
50
|
+
checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
|
51
|
+
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
|
52
|
+
}
|
53
|
+
|
54
|
+
export interface PageProps {
|
55
|
+
params?: Promise<SegmentParams>
|
56
|
+
searchParams?: Promise<any>
|
57
|
+
}
|
58
|
+
export interface LayoutProps {
|
59
|
+
children?: React.ReactNode
|
60
|
+
|
61
|
+
params?: Promise<SegmentParams>
|
62
|
+
}
|
63
|
+
|
64
|
+
// =============
|
65
|
+
// Utility types
|
66
|
+
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
|
67
|
+
|
68
|
+
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
|
69
|
+
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
|
70
|
+
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
|
71
|
+
|
72
|
+
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
|
73
|
+
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
|
74
|
+
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
function checkFields<_ extends { [k in keyof any]: never }>() {}
|
79
|
+
|
80
|
+
// https://github.com/sindresorhus/type-fest
|
81
|
+
type Numeric = number | bigint
|
82
|
+
type Zero = 0 | 0n
|
83
|
+
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
|
84
|
+
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
|
@@ -0,0 +1,139 @@
|
|
1
|
+
// Type definitions for Next.js cacheLife configs
|
2
|
+
|
3
|
+
declare module 'next/cache' {
|
4
|
+
export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache'
|
5
|
+
export {
|
6
|
+
revalidateTag,
|
7
|
+
revalidatePath,
|
8
|
+
} from 'next/dist/server/web/spec-extension/revalidate'
|
9
|
+
export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store'
|
10
|
+
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Cache this `"use cache"` for a timespan defined by the `"default"` profile.
|
14
|
+
* ```
|
15
|
+
* stale: 300 seconds (5 minutes)
|
16
|
+
* revalidate: 900 seconds (15 minutes)
|
17
|
+
* expire: never
|
18
|
+
* ```
|
19
|
+
*
|
20
|
+
* This cache may be stale on clients for 5 minutes before checking with the server.
|
21
|
+
* If the server receives a new request after 15 minutes, start revalidating new values in the background.
|
22
|
+
* It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
|
23
|
+
*/
|
24
|
+
export function unstable_cacheLife(profile: "default"): void
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Cache this `"use cache"` for a timespan defined by the `"seconds"` profile.
|
28
|
+
* ```
|
29
|
+
* stale: 0 seconds
|
30
|
+
* revalidate: 1 seconds
|
31
|
+
* expire: 60 seconds (1 minute)
|
32
|
+
* ```
|
33
|
+
*
|
34
|
+
* This cache may be stale on clients for 0 seconds before checking with the server.
|
35
|
+
* If the server receives a new request after 1 seconds, start revalidating new values in the background.
|
36
|
+
* If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
|
37
|
+
*/
|
38
|
+
export function unstable_cacheLife(profile: "seconds"): void
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Cache this `"use cache"` for a timespan defined by the `"minutes"` profile.
|
42
|
+
* ```
|
43
|
+
* stale: 300 seconds (5 minutes)
|
44
|
+
* revalidate: 60 seconds (1 minute)
|
45
|
+
* expire: 3600 seconds (1 hour)
|
46
|
+
* ```
|
47
|
+
*
|
48
|
+
* This cache may be stale on clients for 5 minutes before checking with the server.
|
49
|
+
* If the server receives a new request after 1 minute, start revalidating new values in the background.
|
50
|
+
* If this entry has no traffic for 1 hour it will expire. The next request will recompute it.
|
51
|
+
*/
|
52
|
+
export function unstable_cacheLife(profile: "minutes"): void
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Cache this `"use cache"` for a timespan defined by the `"hours"` profile.
|
56
|
+
* ```
|
57
|
+
* stale: 300 seconds (5 minutes)
|
58
|
+
* revalidate: 3600 seconds (1 hour)
|
59
|
+
* expire: 86400 seconds (1 day)
|
60
|
+
* ```
|
61
|
+
*
|
62
|
+
* This cache may be stale on clients for 5 minutes before checking with the server.
|
63
|
+
* If the server receives a new request after 1 hour, start revalidating new values in the background.
|
64
|
+
* If this entry has no traffic for 1 day it will expire. The next request will recompute it.
|
65
|
+
*/
|
66
|
+
export function unstable_cacheLife(profile: "hours"): void
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Cache this `"use cache"` for a timespan defined by the `"days"` profile.
|
70
|
+
* ```
|
71
|
+
* stale: 300 seconds (5 minutes)
|
72
|
+
* revalidate: 86400 seconds (1 day)
|
73
|
+
* expire: 604800 seconds (1 week)
|
74
|
+
* ```
|
75
|
+
*
|
76
|
+
* This cache may be stale on clients for 5 minutes before checking with the server.
|
77
|
+
* If the server receives a new request after 1 day, start revalidating new values in the background.
|
78
|
+
* If this entry has no traffic for 1 week it will expire. The next request will recompute it.
|
79
|
+
*/
|
80
|
+
export function unstable_cacheLife(profile: "days"): void
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Cache this `"use cache"` for a timespan defined by the `"weeks"` profile.
|
84
|
+
* ```
|
85
|
+
* stale: 300 seconds (5 minutes)
|
86
|
+
* revalidate: 604800 seconds (1 week)
|
87
|
+
* expire: 2592000 seconds (30 days)
|
88
|
+
* ```
|
89
|
+
*
|
90
|
+
* This cache may be stale on clients for 5 minutes before checking with the server.
|
91
|
+
* If the server receives a new request after 1 week, start revalidating new values in the background.
|
92
|
+
* If this entry has no traffic for 30 days it will expire. The next request will recompute it.
|
93
|
+
*/
|
94
|
+
export function unstable_cacheLife(profile: "weeks"): void
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Cache this `"use cache"` for a timespan defined by the `"max"` profile.
|
98
|
+
* ```
|
99
|
+
* stale: 300 seconds (5 minutes)
|
100
|
+
* revalidate: 2592000 seconds (30 days)
|
101
|
+
* expire: never
|
102
|
+
* ```
|
103
|
+
*
|
104
|
+
* This cache may be stale on clients for 5 minutes before checking with the server.
|
105
|
+
* If the server receives a new request after 30 days, start revalidating new values in the background.
|
106
|
+
* It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
|
107
|
+
*/
|
108
|
+
export function unstable_cacheLife(profile: "max"): void
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Cache this `"use cache"` using a custom timespan.
|
112
|
+
* ```
|
113
|
+
* stale: ... // seconds
|
114
|
+
* revalidate: ... // seconds
|
115
|
+
* expire: ... // seconds
|
116
|
+
* ```
|
117
|
+
*
|
118
|
+
* This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate`
|
119
|
+
*
|
120
|
+
* If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
|
121
|
+
*/
|
122
|
+
export function unstable_cacheLife(profile: {
|
123
|
+
/**
|
124
|
+
* This cache may be stale on clients for ... seconds before checking with the server.
|
125
|
+
*/
|
126
|
+
stale?: number,
|
127
|
+
/**
|
128
|
+
* If the server receives a new request after ... seconds, start revalidating new values in the background.
|
129
|
+
*/
|
130
|
+
revalidate?: number,
|
131
|
+
/**
|
132
|
+
* If this entry has no traffic for ... seconds it will expire. The next request will recompute it.
|
133
|
+
*/
|
134
|
+
expire?: number
|
135
|
+
}): void
|
136
|
+
|
137
|
+
|
138
|
+
export { cacheTag as unstable_cacheTag } from 'next/dist/server/use-cache/cache-tag'
|
139
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"type": "module"}
|