@coze-arch/cli 0.0.1-alpha.e8683e → 0.0.1-alpha.e9ff73
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/lib/__templates__/expo/.cozeproj/scripts/dev_run.sh +25 -16
- package/lib/__templates__/expo/.cozeproj/scripts/server_dev_run.sh +9 -8
- package/lib/__templates__/expo/README.md +2 -2
- package/lib/__templates__/expo/client/app/+not-found.tsx +30 -0
- package/lib/__templates__/expo/client/app.config.ts +2 -2
- package/lib/__templates__/expo/client/eslint.config.mjs +17 -1
- package/lib/__templates__/expo/client/hooks/useSafeRouter.ts +152 -0
- package/lib/__templates__/expo/client/metro.config.js +3 -0
- package/lib/__templates__/expo/client/package.json +36 -34
- package/lib/__templates__/expo/client/screens/demo/index.tsx +3 -3
- package/lib/__templates__/expo/eslint-plugins/react-native/index.js +9 -0
- package/lib/__templates__/expo/eslint-plugins/react-native/rule.js +64 -0
- package/lib/__templates__/expo/package.json +3 -0
- package/lib/__templates__/expo/patches/expo@54.0.33.patch +45 -0
- package/lib/__templates__/expo/pnpm-lock.yaml +1318 -2636
- package/lib/__templates__/expo/server/package.json +9 -7
- package/lib/__templates__/expo/server/src/index.ts +1 -0
- package/lib/__templates__/expo/template.config.js +56 -0
- package/lib/__templates__/native-static/.coze +11 -0
- package/lib/__templates__/native-static/index.html +33 -0
- package/lib/__templates__/native-static/styles/main.css +136 -0
- package/lib/__templates__/native-static/template.config.js +22 -0
- package/lib/__templates__/nextjs/_gitignore +3 -0
- package/lib/__templates__/nextjs/next.config.ts +1 -1
- package/lib/__templates__/nextjs/package.json +4 -1
- package/lib/__templates__/nextjs/pnpm-lock.yaml +1066 -926
- package/lib/__templates__/nextjs/scripts/build.sh +4 -1
- package/lib/__templates__/nextjs/scripts/dev.sh +1 -1
- package/lib/__templates__/nextjs/scripts/start.sh +1 -1
- package/lib/__templates__/nextjs/server.ts +35 -0
- package/lib/__templates__/nextjs/src/app/page.tsx +18 -60
- package/lib/__templates__/nextjs/template.config.js +49 -14
- package/lib/__templates__/nuxt-app/.coze +12 -0
- package/lib/__templates__/nuxt-app/.nuxt/app.config.mjs +21 -0
- package/lib/__templates__/nuxt-app/.nuxt/components.d.ts +64 -0
- package/lib/__templates__/nuxt-app/.nuxt/imports.d.ts +31 -0
- package/lib/__templates__/nuxt-app/.nuxt/manifest/meta/f97812ec-f25e-427b-b45d-eab58fba39f9.json +1 -0
- package/lib/__templates__/nuxt-app/.nuxt/nuxt.d.ts +19 -0
- package/lib/__templates__/nuxt-app/.nuxt/nuxt.node.d.ts +14 -0
- package/lib/__templates__/nuxt-app/.nuxt/nuxt.shared.d.ts +6 -0
- package/lib/__templates__/nuxt-app/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/lib/__templates__/nuxt-app/.nuxt/schema/nuxt.schema.json +3 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.app.json +201 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.json +203 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.node.json +110 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.server.json +140 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.shared.json +152 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/app.config.d.ts +35 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/build.d.ts +24 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/builder-env.d.ts +1 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/components.d.ts +69 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/imports.d.ts +360 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/middleware.d.ts +11 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/modules.d.ts +79 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-config.d.ts +14 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-imports.d.ts +151 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-nuxt.d.ts +64 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-routes.d.ts +17 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro.d.ts +3 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/plugins.d.ts +30 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/runtime-config.d.ts +32 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/shared-imports.d.ts +10 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/vue-shim.d.ts +0 -0
- package/lib/__templates__/nuxt-app/README.md +83 -0
- package/lib/__templates__/nuxt-app/_gitignore +24 -0
- package/lib/__templates__/nuxt-app/_npmrc +23 -0
- package/lib/__templates__/nuxt-app/app/app.vue +193 -0
- package/lib/__templates__/nuxt-app/nuxt.config.ts +56 -0
- package/lib/__templates__/nuxt-app/package.json +28 -0
- package/lib/__templates__/nuxt-app/pnpm-lock.yaml +7202 -0
- package/lib/__templates__/nuxt-app/public/favicon.ico +0 -0
- package/lib/__templates__/nuxt-app/public/robots.txt +2 -0
- package/lib/__templates__/nuxt-app/scripts/build.sh +14 -0
- package/lib/__templates__/nuxt-app/scripts/dev.sh +33 -0
- package/lib/__templates__/nuxt-app/scripts/prepare.sh +14 -0
- package/lib/__templates__/nuxt-app/scripts/start.sh +15 -0
- package/lib/__templates__/nuxt-app/template.config.js +78 -0
- package/lib/__templates__/nuxt-app/tsconfig.json +18 -0
- package/lib/__templates__/taro/.coze +14 -0
- package/lib/__templates__/taro/.cozeproj/scripts/deploy_build.sh +19 -0
- package/lib/__templates__/taro/.cozeproj/scripts/deploy_run.sh +14 -0
- package/lib/__templates__/taro/.cozeproj/scripts/dev_build.sh +2 -0
- package/lib/__templates__/taro/.cozeproj/scripts/dev_run.sh +151 -0
- package/lib/__templates__/taro/.cozeproj/scripts/init_env.sh +5 -0
- package/lib/__templates__/taro/.cozeproj/scripts/pack.sh +24 -0
- package/lib/__templates__/taro/README.md +751 -0
- package/lib/__templates__/taro/_gitignore +40 -0
- package/lib/__templates__/taro/_npmrc +18 -0
- package/lib/__templates__/taro/babel.config.js +12 -0
- package/lib/__templates__/taro/config/dev.ts +9 -0
- package/lib/__templates__/taro/config/index.ts +223 -0
- package/lib/__templates__/taro/config/prod.ts +34 -0
- package/lib/__templates__/taro/eslint.config.mjs +80 -0
- package/lib/__templates__/taro/key/private.appid.key +0 -0
- package/lib/__templates__/taro/package.json +107 -0
- package/lib/__templates__/taro/patches/@tarojs__plugin-mini-ci@4.1.9.patch +30 -0
- package/lib/__templates__/taro/pnpm-lock.yaml +23100 -0
- package/lib/__templates__/taro/pnpm-workspace.yaml +2 -0
- package/lib/__templates__/taro/project.config.json +15 -0
- package/lib/__templates__/taro/server/nest-cli.json +10 -0
- package/lib/__templates__/taro/server/package.json +40 -0
- package/lib/__templates__/taro/server/src/app.controller.ts +23 -0
- package/lib/__templates__/taro/server/src/app.module.ts +10 -0
- package/lib/__templates__/taro/server/src/app.service.ts +8 -0
- package/lib/__templates__/taro/server/src/interceptors/http-status.interceptor.ts +23 -0
- package/lib/__templates__/taro/server/src/main.ts +49 -0
- package/lib/__templates__/taro/server/tsconfig.json +24 -0
- package/lib/__templates__/taro/src/app.config.ts +11 -0
- package/lib/__templates__/taro/src/app.css +52 -0
- package/lib/__templates__/taro/src/app.tsx +9 -0
- package/lib/__templates__/taro/src/index.html +39 -0
- package/lib/__templates__/taro/src/network.ts +39 -0
- package/lib/__templates__/taro/src/pages/index/index.config.ts +3 -0
- package/lib/__templates__/taro/src/pages/index/index.css +1 -0
- package/lib/__templates__/taro/src/pages/index/index.tsx +33 -0
- package/lib/__templates__/taro/src/presets/dev-debug.ts +23 -0
- package/lib/__templates__/taro/src/presets/h5-container.tsx +15 -0
- package/lib/__templates__/taro/src/presets/h5-navbar.tsx +201 -0
- package/lib/__templates__/taro/src/presets/h5-styles.ts +142 -0
- package/lib/__templates__/taro/src/presets/index.tsx +18 -0
- package/lib/__templates__/taro/stylelint.config.mjs +4 -0
- package/lib/__templates__/taro/template.config.js +68 -0
- package/lib/__templates__/taro/tsconfig.json +29 -0
- package/lib/__templates__/taro/types/global.d.ts +32 -0
- package/lib/__templates__/templates.json +68 -0
- package/lib/__templates__/vite/package.json +5 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +146 -1659
- package/lib/__templates__/vite/src/main.ts +17 -47
- package/lib/__templates__/vite/template.config.js +49 -14
- package/lib/__templates__/vite/vite.config.ts +1 -0
- package/lib/cli.js +617 -128
- package/package.json +2 -1
|
@@ -8,7 +8,10 @@ cd "${COZE_WORKSPACE_PATH}"
|
|
|
8
8
|
echo "Installing dependencies..."
|
|
9
9
|
pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
|
|
10
10
|
|
|
11
|
-
echo "Building the project..."
|
|
11
|
+
echo "Building the Next.js project..."
|
|
12
12
|
npx next build
|
|
13
13
|
|
|
14
|
+
echo "Compiling server.ts..."
|
|
15
|
+
npx tsc server.ts --module commonjs --target es2020 --esModuleInterop --skipLibCheck --outDir .
|
|
16
|
+
|
|
14
17
|
echo "Build completed successfully!"
|
|
@@ -8,7 +8,7 @@ DEPLOY_RUN_PORT="${DEPLOY_RUN_PORT:-$PORT}"
|
|
|
8
8
|
start_service() {
|
|
9
9
|
cd "${COZE_WORKSPACE_PATH}"
|
|
10
10
|
echo "Starting HTTP service on port ${DEPLOY_RUN_PORT} for deploy..."
|
|
11
|
-
|
|
11
|
+
PORT=${DEPLOY_RUN_PORT} NODE_ENV=production node server.js
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
echo "Starting HTTP service on port ${DEPLOY_RUN_PORT} for deploy..."
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createServer } from 'http';
|
|
2
|
+
import { parse } from 'url';
|
|
3
|
+
import next from 'next';
|
|
4
|
+
|
|
5
|
+
const dev = process.env.NODE_ENV !== 'production';
|
|
6
|
+
const hostname = process.env.HOSTNAME || 'localhost';
|
|
7
|
+
const port = parseInt(process.env.PORT || '<%= port %>', 10);
|
|
8
|
+
|
|
9
|
+
// Create Next.js app
|
|
10
|
+
const app = next({ dev, hostname, port });
|
|
11
|
+
const handle = app.getRequestHandler();
|
|
12
|
+
|
|
13
|
+
app.prepare().then(() => {
|
|
14
|
+
createServer(async (req, res) => {
|
|
15
|
+
try {
|
|
16
|
+
const parsedUrl = parse(req.url!, true);
|
|
17
|
+
await handle(req, res, parsedUrl);
|
|
18
|
+
} catch (err) {
|
|
19
|
+
console.error('Error occurred handling', req.url, err);
|
|
20
|
+
res.statusCode = 500;
|
|
21
|
+
res.end('Internal server error');
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
.once('error', err => {
|
|
25
|
+
console.error(err);
|
|
26
|
+
process.exit(1);
|
|
27
|
+
})
|
|
28
|
+
.listen(port, () => {
|
|
29
|
+
console.log(
|
|
30
|
+
`> Server listening at http://${hostname}:${port} as ${
|
|
31
|
+
dev ? 'development' : process.env.NODE_ENV
|
|
32
|
+
}`,
|
|
33
|
+
);
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Metadata } from 'next';
|
|
2
2
|
import Image from 'next/image';
|
|
3
|
-
import { Button } from '@/components/ui/button';
|
|
4
3
|
|
|
5
4
|
export const metadata: Metadata = {
|
|
6
5
|
title: '扣子编程 - AI 开发伙伴',
|
|
@@ -9,68 +8,27 @@ export const metadata: Metadata = {
|
|
|
9
8
|
|
|
10
9
|
export default function Home() {
|
|
11
10
|
return (
|
|
12
|
-
<div className="flex
|
|
11
|
+
<div className="flex h-full items-center justify-center bg-background text-foreground transition-colors duration-300 dark:bg-background dark:text-foreground overflow-hidden min-h-screen">
|
|
13
12
|
{/* 主容器 */}
|
|
14
|
-
<main className="flex
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
src="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/
|
|
13
|
+
<main className="flex w-full h-full max-w-3xl flex-col items-center justify-center px-16 py-32 sm:items-center">
|
|
14
|
+
<div className="flex flex-col items-center justify-between gap-4">
|
|
15
|
+
<Image
|
|
16
|
+
className="dark:invert"
|
|
17
|
+
src="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/icon/coze-coding.gif"
|
|
19
18
|
alt="扣子编程 Logo"
|
|
20
|
-
width={
|
|
21
|
-
height={
|
|
22
|
-
unoptimized
|
|
19
|
+
width={156}
|
|
20
|
+
height={130}
|
|
23
21
|
/>
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</
|
|
34
|
-
<p className="max-w-2xl text-lg leading-8 text-muted-foreground dark:text-muted-foreground">
|
|
35
|
-
当前是空白入口文件,项目正在开发中,请稍候...
|
|
36
|
-
<br />
|
|
37
|
-
开发完成后界面将自动更新。如未自动更新成功,可以手动点击右上角刷新或重启按钮查看效果。
|
|
38
|
-
</p>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
{/* 底部按钮区 */}
|
|
42
|
-
<div className="flex w-full flex-col gap-4 text-base font-medium sm:w-auto sm:flex-row">
|
|
43
|
-
{/* 按钮 1:前往首页 */}
|
|
44
|
-
<Button
|
|
45
|
-
asChild
|
|
46
|
-
variant="default"
|
|
47
|
-
size="lg"
|
|
48
|
-
className="h-12 min-w-[160px] rounded-full px-8"
|
|
49
|
-
>
|
|
50
|
-
<a
|
|
51
|
-
href="https://code.coze.cn/"
|
|
52
|
-
target="_blank"
|
|
53
|
-
rel="noopener noreferrer"
|
|
54
|
-
>
|
|
55
|
-
前往首页
|
|
56
|
-
</a>
|
|
57
|
-
</Button>
|
|
58
|
-
|
|
59
|
-
{/* 按钮 2:查看文档 */}
|
|
60
|
-
<Button
|
|
61
|
-
asChild
|
|
62
|
-
variant="outline"
|
|
63
|
-
size="lg"
|
|
64
|
-
className="h-12 min-w-[160px] rounded-full px-8"
|
|
65
|
-
>
|
|
66
|
-
<a
|
|
67
|
-
href="https://docs.coze.cn/"
|
|
68
|
-
target="_blank"
|
|
69
|
-
rel="noopener noreferrer"
|
|
70
|
-
>
|
|
71
|
-
查看文档
|
|
72
|
-
</a>
|
|
73
|
-
</Button>
|
|
22
|
+
<div>
|
|
23
|
+
<div className="flex flex-col items-center gap-2 text-center sm:items-center sm:text-center">
|
|
24
|
+
<h1 className="max-w-xl text-base font-semibold leading-tight tracking-tight text-foreground dark:text-foreground">
|
|
25
|
+
应用开发中
|
|
26
|
+
</h1>
|
|
27
|
+
<p className="max-w-2xl text-sm-14 leading-8 text-muted-foreground dark:text-muted-foreground">
|
|
28
|
+
请稍后,页面即将呈现
|
|
29
|
+
</p>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
74
32
|
</div>
|
|
75
33
|
</main>
|
|
76
34
|
</div>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import { resolve } from 'path';
|
|
3
|
+
import { spawn } from 'child_process';
|
|
4
|
+
import { resolve, join, basename } from 'path';
|
|
5
|
+
import { appendFileSync, openSync, closeSync, mkdirSync } from 'fs';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
@@ -52,32 +53,66 @@ const config = {
|
|
|
52
53
|
return context;
|
|
53
54
|
},
|
|
54
55
|
|
|
55
|
-
onAfterRender: async (
|
|
56
|
+
onAfterRender: async (_context, outputPath) => {
|
|
56
57
|
console.log(`\nProject created at: ${outputPath}`);
|
|
57
58
|
console.log('\nConfiguration:');
|
|
58
59
|
console.log(' - Framework: Next.js');
|
|
59
60
|
console.log(' - TypeScript: enabled');
|
|
60
61
|
console.log(' - App Router: enabled');
|
|
61
|
-
console.log(` - Port: ${
|
|
62
|
+
console.log(` - Port: ${_context.port}`);
|
|
63
|
+
},
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
onComplete: async (_context, outputPath) => {
|
|
66
|
+
// Skip pnpm update in test environment to avoid monorepo workspace issues
|
|
64
67
|
if (process.env.NODE_ENV === 'test') {
|
|
65
68
|
console.log('⊘ Skipping dependency update in test environment');
|
|
66
69
|
return;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
|
-
const cmd =
|
|
70
|
-
|
|
72
|
+
const cmd = 'pnpm';
|
|
73
|
+
const args = ['update', 'coze-coding-dev-sdk@^0.7.0'];
|
|
74
|
+
console.log(
|
|
75
|
+
`\nTriggering: ${cmd} ${args.join(' ')} (running in background)`,
|
|
76
|
+
);
|
|
77
|
+
|
|
71
78
|
try {
|
|
72
79
|
const projectRoot = resolve(outputPath);
|
|
73
|
-
|
|
74
|
-
//
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
80
|
+
|
|
81
|
+
// Determine log directory
|
|
82
|
+
const logDir = process.env.COZE_LOG_DIR || resolve(__dirname, '../.log');
|
|
83
|
+
mkdirSync(logDir, { recursive: true });
|
|
84
|
+
|
|
85
|
+
// Use project name in log file to avoid conflicts
|
|
86
|
+
const projectName = basename(projectRoot);
|
|
87
|
+
const logFile = join(logDir, `${projectName}-init.log`);
|
|
88
|
+
|
|
89
|
+
// Write log header
|
|
90
|
+
const timestamp = new Date().toISOString();
|
|
91
|
+
appendFileSync(
|
|
92
|
+
logFile,
|
|
93
|
+
`\n=== [${timestamp}] ${cmd} ${args.join(' ')} ===\n`,
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
// Open log file for appending
|
|
97
|
+
const logFd = openSync(logFile, 'a');
|
|
98
|
+
|
|
99
|
+
// Spawn in detached mode
|
|
100
|
+
const child = spawn(cmd, args, {
|
|
101
|
+
cwd: projectRoot,
|
|
102
|
+
detached: true,
|
|
103
|
+
stdio: ['ignore', logFd, logFd],
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
child.unref();
|
|
107
|
+
closeSync(logFd);
|
|
108
|
+
|
|
109
|
+
console.log(
|
|
110
|
+
'✓ coze-coding-dev-sdk update triggered (running in background)',
|
|
111
|
+
);
|
|
112
|
+
console.log(` Log file: ${logFile}`);
|
|
78
113
|
} catch (error) {
|
|
79
|
-
console.error('✗ Failed to
|
|
80
|
-
|
|
114
|
+
console.error('✗ Failed to trigger coze-coding-dev-sdk update:', error);
|
|
115
|
+
console.log(' You can manually run: pnpm update coze-coding-dev-sdk');
|
|
81
116
|
}
|
|
82
117
|
},
|
|
83
118
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
requires = ["nodejs-24"]
|
|
3
|
+
|
|
4
|
+
[dev]
|
|
5
|
+
build = ["bash", "./scripts/prepare.sh"]
|
|
6
|
+
run = ["bash", "./scripts/dev.sh"]
|
|
7
|
+
deps = ["git"] # -> apt install git
|
|
8
|
+
|
|
9
|
+
[deploy]
|
|
10
|
+
build = ["bash","./scripts/build.sh"]
|
|
11
|
+
run = ["bash","./scripts/start.sh"]
|
|
12
|
+
deps = ["git"] # -> apt install git
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
import { defuFn } from 'defu'
|
|
3
|
+
|
|
4
|
+
const inlineConfig = {
|
|
5
|
+
"nuxt": {}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/** client **/
|
|
9
|
+
import { _replaceAppConfig } from '#app/config'
|
|
10
|
+
|
|
11
|
+
// Vite - webpack is handled directly in #app/config
|
|
12
|
+
if (import.meta.dev && !import.meta.nitro && import.meta.hot) {
|
|
13
|
+
import.meta.hot.accept((newModule) => {
|
|
14
|
+
_replaceAppConfig(newModule.default)
|
|
15
|
+
})
|
|
16
|
+
}
|
|
17
|
+
/** client-end **/
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export default /*@__PURE__*/ defuFn(inlineConfig)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
|
|
2
|
+
import type { DefineComponent, SlotsType } from 'vue'
|
|
3
|
+
type IslandComponent<T> = DefineComponent<{}, {refresh: () => Promise<void>}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, SlotsType<{ fallback: { error: unknown } }>> & T
|
|
4
|
+
|
|
5
|
+
type HydrationStrategies = {
|
|
6
|
+
hydrateOnVisible?: IntersectionObserverInit | true
|
|
7
|
+
hydrateOnIdle?: number | true
|
|
8
|
+
hydrateOnInteraction?: keyof HTMLElementEventMap | Array<keyof HTMLElementEventMap> | true
|
|
9
|
+
hydrateOnMediaQuery?: string
|
|
10
|
+
hydrateAfter?: number
|
|
11
|
+
hydrateWhen?: boolean
|
|
12
|
+
hydrateNever?: true
|
|
13
|
+
}
|
|
14
|
+
type LazyComponent<T> = DefineComponent<HydrationStrategies, {}, {}, {}, {}, {}, {}, { hydrated: () => void }> & T
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export const NuxtWelcome: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/welcome.vue")['default']
|
|
18
|
+
export const NuxtLayout: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-layout")['default']
|
|
19
|
+
export const NuxtErrorBoundary: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-error-boundary.vue")['default']
|
|
20
|
+
export const ClientOnly: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/client-only")['default']
|
|
21
|
+
export const DevOnly: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/dev-only")['default']
|
|
22
|
+
export const ServerPlaceholder: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/server-placeholder")['default']
|
|
23
|
+
export const NuxtLink: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-link")['default']
|
|
24
|
+
export const NuxtLoadingIndicator: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-loading-indicator")['default']
|
|
25
|
+
export const NuxtTime: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-time.vue")['default']
|
|
26
|
+
export const NuxtRouteAnnouncer: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-route-announcer")['default']
|
|
27
|
+
export const NuxtImg: typeof import("../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/components/NuxtImg.vue")['default']
|
|
28
|
+
export const NuxtPicture: typeof import("../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/components/NuxtPicture.vue")['default']
|
|
29
|
+
export const NuxtPage: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/pages/runtime/page-placeholder")['default']
|
|
30
|
+
export const NoScript: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['NoScript']
|
|
31
|
+
export const Link: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Link']
|
|
32
|
+
export const Base: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Base']
|
|
33
|
+
export const Title: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Title']
|
|
34
|
+
export const Meta: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Meta']
|
|
35
|
+
export const Style: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Style']
|
|
36
|
+
export const Head: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Head']
|
|
37
|
+
export const Html: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Html']
|
|
38
|
+
export const Body: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Body']
|
|
39
|
+
export const NuxtIsland: typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-island")['default']
|
|
40
|
+
export const LazyNuxtWelcome: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/welcome.vue")['default']>
|
|
41
|
+
export const LazyNuxtLayout: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-layout")['default']>
|
|
42
|
+
export const LazyNuxtErrorBoundary: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-error-boundary.vue")['default']>
|
|
43
|
+
export const LazyClientOnly: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/client-only")['default']>
|
|
44
|
+
export const LazyDevOnly: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/dev-only")['default']>
|
|
45
|
+
export const LazyServerPlaceholder: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/server-placeholder")['default']>
|
|
46
|
+
export const LazyNuxtLink: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-link")['default']>
|
|
47
|
+
export const LazyNuxtLoadingIndicator: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-loading-indicator")['default']>
|
|
48
|
+
export const LazyNuxtTime: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-time.vue")['default']>
|
|
49
|
+
export const LazyNuxtRouteAnnouncer: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-route-announcer")['default']>
|
|
50
|
+
export const LazyNuxtImg: LazyComponent<typeof import("../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/components/NuxtImg.vue")['default']>
|
|
51
|
+
export const LazyNuxtPicture: LazyComponent<typeof import("../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/components/NuxtPicture.vue")['default']>
|
|
52
|
+
export const LazyNuxtPage: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/pages/runtime/page-placeholder")['default']>
|
|
53
|
+
export const LazyNoScript: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['NoScript']>
|
|
54
|
+
export const LazyLink: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Link']>
|
|
55
|
+
export const LazyBase: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Base']>
|
|
56
|
+
export const LazyTitle: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Title']>
|
|
57
|
+
export const LazyMeta: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Meta']>
|
|
58
|
+
export const LazyStyle: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Style']>
|
|
59
|
+
export const LazyHead: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Head']>
|
|
60
|
+
export const LazyHtml: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Html']>
|
|
61
|
+
export const LazyBody: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/components")['Body']>
|
|
62
|
+
export const LazyNuxtIsland: LazyComponent<typeof import("../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/components/nuxt-island")['default']>
|
|
63
|
+
|
|
64
|
+
export const componentNames: string[]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { useScriptTriggerConsent, useScriptEventPage, useScriptTriggerElement, useScript, useScriptGoogleAnalytics, useScriptPlausibleAnalytics, useScriptCrisp, useScriptClarity, useScriptCloudflareWebAnalytics, useScriptFathomAnalytics, useScriptMatomoAnalytics, useScriptGoogleTagManager, useScriptGoogleAdsense, useScriptSegment, useScriptMetaPixel, useScriptXPixel, useScriptIntercom, useScriptHotjar, useScriptStripe, useScriptLemonSqueezy, useScriptVimeoPlayer, useScriptYouTubePlayer, useScriptGoogleMaps, useScriptNpm, useScriptUmamiAnalytics, useScriptSnapchatPixel, useScriptRybbitAnalytics, useScriptDatabuddyAnalytics, useScriptRedditPixel, useScriptPayPal } from '#app/composables/script-stubs';
|
|
2
|
+
export { isVue2, isVue3 } from 'vue-demi';
|
|
3
|
+
export { defineNuxtLink } from '#app/components/nuxt-link';
|
|
4
|
+
export { useNuxtApp, tryUseNuxtApp, defineNuxtPlugin, definePayloadPlugin, useRuntimeConfig, defineAppConfig } from '#app/nuxt';
|
|
5
|
+
export { useAppConfig, updateAppConfig } from '#app/config';
|
|
6
|
+
export { defineNuxtComponent } from '#app/composables/component';
|
|
7
|
+
export { useAsyncData, useLazyAsyncData, useNuxtData, refreshNuxtData, clearNuxtData } from '#app/composables/asyncData';
|
|
8
|
+
export { useHydration } from '#app/composables/hydrate';
|
|
9
|
+
export { callOnce } from '#app/composables/once';
|
|
10
|
+
export { useState, clearNuxtState } from '#app/composables/state';
|
|
11
|
+
export { clearError, createError, isNuxtError, showError, useError } from '#app/composables/error';
|
|
12
|
+
export { useFetch, useLazyFetch } from '#app/composables/fetch';
|
|
13
|
+
export { useCookie, refreshCookie } from '#app/composables/cookie';
|
|
14
|
+
export { onPrehydrate, prerenderRoutes, useRequestHeader, useRequestHeaders, useResponseHeader, useRequestEvent, useRequestFetch, setResponseStatus } from '#app/composables/ssr';
|
|
15
|
+
export { onNuxtReady } from '#app/composables/ready';
|
|
16
|
+
export { preloadComponents, prefetchComponents, preloadRouteComponents } from '#app/composables/preload';
|
|
17
|
+
export { abortNavigation, addRouteMiddleware, defineNuxtRouteMiddleware, setPageLayout, navigateTo, useRoute, useRouter, onBeforeRouteLeave, onBeforeRouteUpdate } from '#app/composables/router';
|
|
18
|
+
export { isPrerendered, loadPayload, preloadPayload, definePayloadReducer, definePayloadReviver } from '#app/composables/payload';
|
|
19
|
+
export { useLoadingIndicator } from '#app/composables/loading-indicator';
|
|
20
|
+
export { getAppManifest, getRouteRules } from '#app/composables/manifest';
|
|
21
|
+
export { reloadNuxtApp } from '#app/composables/chunk';
|
|
22
|
+
export { useRequestURL } from '#app/composables/url';
|
|
23
|
+
export { usePreviewMode } from '#app/composables/preview';
|
|
24
|
+
export { useRouteAnnouncer } from '#app/composables/route-announcer';
|
|
25
|
+
export { useRuntimeHook } from '#app/composables/runtime-hook';
|
|
26
|
+
export { useHead, useHeadSafe, useServerHeadSafe, useServerHead, useSeoMeta, useServerSeoMeta, injectHead } from '#app/composables/head';
|
|
27
|
+
export { withCtx, withDirectives, withKeys, withMemo, withModifiers, withScopeId, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, computed, customRef, isProxy, isReactive, isReadonly, isRef, markRaw, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, watch, watchEffect, watchPostEffect, watchSyncEffect, onWatcherCleanup, isShallow, effect, effectScope, getCurrentScope, onScopeDispose, defineComponent, defineAsyncComponent, resolveComponent, getCurrentInstance, h, inject, hasInjectionContext, nextTick, provide, toValue, useModel, useAttrs, useCssModule, useCssVars, useSlots, useTransitionState, useId, useTemplateRef, useShadowRoot, Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue';
|
|
28
|
+
export { requestIdleCallback, cancelIdleCallback } from '#app/compat/idle-callback';
|
|
29
|
+
export { setInterval } from '#app/compat/interval';
|
|
30
|
+
export { defineLazyHydrationComponent } from '#app/composables/lazy-hydration';
|
|
31
|
+
export { useImage } from '../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/composables';
|
package/lib/__templates__/nuxt-app/.nuxt/manifest/meta/f97812ec-f25e-427b-b45d-eab58fba39f9.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="@nuxt/devtools" />
|
|
2
|
+
/// <reference types="@nuxt/telemetry" />
|
|
3
|
+
/// <reference types="@nuxt/image" />
|
|
4
|
+
/// <reference path="types/nitro-layouts.d.ts" />
|
|
5
|
+
/// <reference path="types/builder-env.d.ts" />
|
|
6
|
+
/// <reference path="types/plugins.d.ts" />
|
|
7
|
+
/// <reference path="types/build.d.ts" />
|
|
8
|
+
/// <reference path="types/app.config.d.ts" />
|
|
9
|
+
/// <reference path="types/runtime-config.d.ts" />
|
|
10
|
+
/// <reference types="nuxt/app" />
|
|
11
|
+
/// <reference path="../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/index.d.mts" />
|
|
12
|
+
/// <reference path="types/middleware.d.ts" />
|
|
13
|
+
/// <reference path="types/components.d.ts" />
|
|
14
|
+
/// <reference path="imports.d.ts" />
|
|
15
|
+
/// <reference path="types/imports.d.ts" />
|
|
16
|
+
/// <reference path="schema/nuxt.schema.d.ts" />
|
|
17
|
+
/// <reference path="types/nitro.d.ts" />
|
|
18
|
+
|
|
19
|
+
export {}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="@nuxt/devtools" />
|
|
2
|
+
/// <reference types="@nuxt/telemetry" />
|
|
3
|
+
/// <reference types="@nuxt/image" />
|
|
4
|
+
/// <reference path="types/nitro-layouts.d.ts" />
|
|
5
|
+
/// <reference path="types/modules.d.ts" />
|
|
6
|
+
/// <reference path="types/runtime-config.d.ts" />
|
|
7
|
+
/// <reference path="types/app.config.d.ts" />
|
|
8
|
+
/// <reference types="nuxt" />
|
|
9
|
+
/// <reference path="../node_modules/.pnpm/@nuxt+vite-builder@4.3.1_@types+node@20.19.37_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2.5.6_frsgyui3c2aijbxifwdihqba3y/node_modules/@nuxt/vite-builder/dist/index.d.mts" />
|
|
10
|
+
/// <reference path="../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/index.d.mts" />
|
|
11
|
+
/// <reference path="types/middleware.d.ts" />
|
|
12
|
+
/// <reference path="schema/nuxt.schema.d.ts" />
|
|
13
|
+
|
|
14
|
+
export {}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface NuxtCustomSchema {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
export type CustomAppConfig = Exclude<NuxtCustomSchema['appConfig'], undefined>
|
|
5
|
+
type _CustomAppConfig = CustomAppConfig
|
|
6
|
+
|
|
7
|
+
declare module '@nuxt/schema' {
|
|
8
|
+
interface NuxtConfig extends Omit<NuxtCustomSchema, 'appConfig'> {}
|
|
9
|
+
interface NuxtOptions extends Omit<NuxtCustomSchema, 'appConfig'> {}
|
|
10
|
+
interface CustomAppConfig extends _CustomAppConfig {}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare module 'nuxt/schema' {
|
|
14
|
+
interface NuxtConfig extends Omit<NuxtCustomSchema, 'appConfig'> {}
|
|
15
|
+
interface NuxtOptions extends Omit<NuxtCustomSchema, 'appConfig'> {}
|
|
16
|
+
interface CustomAppConfig extends _CustomAppConfig {}
|
|
17
|
+
}
|