chore(devcontainer): update forwarded ports to 4730 and 4731
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 3m2s
CI/CD Pipeline / build-and-deploy (push) Successful in 3m13s

This commit is contained in:
严浩
2025-11-06 17:43:14 +00:00
parent f883e0bec1
commit fd42a4d6d5
3 changed files with 44 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
{
"name": "Sandbox Dev Container",
"forwardPorts": [23730, 23731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
"forwardPorts": [4730, 4731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
"portsAttributes": {
"23730": { "label": "开发服务器端口", "onAutoForward": "notify" },
"23731": { "label": "预览服务器端口", "onAutoForward": "notify" }
"4730": { "label": "开发服务器端口", "onAutoForward": "notify" },
"4731": { "label": "预览服务器端口", "onAutoForward": "notify" }
},
"build": {
"dockerfile": "Dockerfile",

6
auto-imports.d.ts vendored
View File

@@ -64,6 +64,7 @@ declare global {
const isRef: typeof import('vue')['isRef']
const isShallow: typeof import('vue')['isShallow']
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
const manualResetRef: typeof import('@vueuse/core')['manualResetRef']
const mapActions: typeof import('pinia')['mapActions']
const mapGetters: typeof import('pinia')['mapGetters']
const mapState: typeof import('pinia')['mapState']
@@ -106,11 +107,11 @@ declare global {
const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
const refDebounced: typeof import('@vueuse/core')['refDebounced']
const refDefault: typeof import('@vueuse/core')['refDefault']
const refManualReset: typeof import('@vueuse/core')['refManualReset']
const refThrottled: typeof import('@vueuse/core')['refThrottled']
const refWithControl: typeof import('@vueuse/core')['refWithControl']
const resolveComponent: typeof import('vue')['resolveComponent']
const resolveRef: typeof import('@vueuse/core')['resolveRef']
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
const routeI18nInstance: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nInstance']
const routeI18nT: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT']
const setActivePinia: typeof import('pinia')['setActivePinia']
@@ -410,6 +411,7 @@ declare module 'vue' {
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
readonly manualResetRef: UnwrapRef<typeof import('@vueuse/core')['manualResetRef']>
readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']>
readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']>
readonly mapState: UnwrapRef<typeof import('pinia')['mapState']>
@@ -452,11 +454,11 @@ declare module 'vue' {
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
readonly refManualReset: UnwrapRef<typeof import('@vueuse/core')['refManualReset']>
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
readonly routeI18nInstance: UnwrapRef<typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nInstance']>
readonly routeI18nT: UnwrapRef<typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT']>
readonly setActivePinia: UnwrapRef<typeof import('pinia')['setActivePinia']>

View File

@@ -1,19 +1,19 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: b18d7aec4937222767b077e627f9f927)
// Runtime types generated with workerd@1.20251008.0 2025-09-09
// Generated by Wrangler by running `wrangler types` (hash: 0003c1b3cd56e3cc5549efef6b4c6d3d)
// Runtime types generated with workerd@1.20251011.0 2025-09-09
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./server/index");
}
interface Env {
KV: KVNamespace;
VITE_APP_BUILD_TIME: string;
VITE_APP_BUILD_COMMIT: string;
VITE_BUILD_SOURCE_MAP: string;
VITE_BUILD_MINIFY: string;
VITE_CLOUDFLARE_SERVER_ENABLED: string;
VITE_APP_TITLE: string;
VITE_APP_BASE: string;
VITE_APP_BUILD_COMMIT: string;
VITE_APP_BUILD_TIME: string;
VITE_APP_ENABLE_VUE_DEVTOOLS: string;
VITE_APP_MENU_SHOW_DEMOS: string;
VITE_APP_MENU_SHOW_ORDER: string;
@@ -6055,13 +6055,6 @@ type AiOptions = {
prefix?: string;
extraHeaders?: object;
};
type ConversionResponse = {
name: string;
mimeType: string;
format: "markdown";
tokens: number;
data: string;
};
type AiModelsSearchParams = {
author?: string;
hide_experimental?: boolean;
@@ -6104,6 +6097,7 @@ declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
stream: true;
} ? ReadableStream : AiModelList[Name]["postProcessedOutputs"]>;
models(params?: AiModelsSearchParams): Promise<AiModelsSearchObject[]>;
toMarkdown(): ToMarkdownService;
toMarkdown(files: {
name: string;
blob: Blob;
@@ -7841,6 +7835,38 @@ declare module "cloudflare:sockets" {
function _connect(address: string | SocketAddress, options?: SocketOptions): Socket;
export { _connect as connect };
}
type ConversionResponse = {
name: string;
mimeType: string;
} & ({
format: "markdown";
tokens: number;
data: string;
} | {
format: "error";
error: string;
});
type SupportedFileFormat = {
mimeType: string;
extension: string;
};
declare abstract class ToMarkdownService {
transform(files: {
name: string;
blob: Blob;
}[], options?: {
gateway?: GatewayOptions;
extraHeaders?: object;
}): Promise<ConversionResponse[]>;
transform(files: {
name: string;
blob: Blob;
}, options?: {
gateway?: GatewayOptions;
extraHeaders?: object;
}): Promise<ConversionResponse>;
supported(): Promise<SupportedFileFormat[]>;
}
declare namespace TailStream {
interface Header {
readonly name: string;