chore(devcontainer): update forwarded ports to 4730 and 4731
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "Sandbox Dev Container",
|
"name": "Sandbox Dev Container",
|
||||||
"forwardPorts": [23730, 23731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
|
"forwardPorts": [4730, 4731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
|
||||||
"portsAttributes": {
|
"portsAttributes": {
|
||||||
"23730": { "label": "开发服务器端口", "onAutoForward": "notify" },
|
"4730": { "label": "开发服务器端口", "onAutoForward": "notify" },
|
||||||
"23731": { "label": "预览服务器端口", "onAutoForward": "notify" }
|
"4731": { "label": "预览服务器端口", "onAutoForward": "notify" }
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "Dockerfile",
|
"dockerfile": "Dockerfile",
|
||||||
|
|||||||
6
auto-imports.d.ts
vendored
6
auto-imports.d.ts
vendored
@@ -64,6 +64,7 @@ declare global {
|
|||||||
const isRef: typeof import('vue')['isRef']
|
const isRef: typeof import('vue')['isRef']
|
||||||
const isShallow: typeof import('vue')['isShallow']
|
const isShallow: typeof import('vue')['isShallow']
|
||||||
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
|
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
|
||||||
|
const manualResetRef: typeof import('@vueuse/core')['manualResetRef']
|
||||||
const mapActions: typeof import('pinia')['mapActions']
|
const mapActions: typeof import('pinia')['mapActions']
|
||||||
const mapGetters: typeof import('pinia')['mapGetters']
|
const mapGetters: typeof import('pinia')['mapGetters']
|
||||||
const mapState: typeof import('pinia')['mapState']
|
const mapState: typeof import('pinia')['mapState']
|
||||||
@@ -106,11 +107,11 @@ declare global {
|
|||||||
const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
|
const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
|
||||||
const refDebounced: typeof import('@vueuse/core')['refDebounced']
|
const refDebounced: typeof import('@vueuse/core')['refDebounced']
|
||||||
const refDefault: typeof import('@vueuse/core')['refDefault']
|
const refDefault: typeof import('@vueuse/core')['refDefault']
|
||||||
|
const refManualReset: typeof import('@vueuse/core')['refManualReset']
|
||||||
const refThrottled: typeof import('@vueuse/core')['refThrottled']
|
const refThrottled: typeof import('@vueuse/core')['refThrottled']
|
||||||
const refWithControl: typeof import('@vueuse/core')['refWithControl']
|
const refWithControl: typeof import('@vueuse/core')['refWithControl']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
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 routeI18nInstance: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nInstance']
|
||||||
const routeI18nT: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT']
|
const routeI18nT: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT']
|
||||||
const setActivePinia: typeof import('pinia')['setActivePinia']
|
const setActivePinia: typeof import('pinia')['setActivePinia']
|
||||||
@@ -410,6 +411,7 @@ declare module 'vue' {
|
|||||||
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
||||||
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
|
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
|
||||||
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
||||||
|
readonly manualResetRef: UnwrapRef<typeof import('@vueuse/core')['manualResetRef']>
|
||||||
readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']>
|
readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']>
|
||||||
readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']>
|
readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']>
|
||||||
readonly mapState: UnwrapRef<typeof import('pinia')['mapState']>
|
readonly mapState: UnwrapRef<typeof import('pinia')['mapState']>
|
||||||
@@ -452,11 +454,11 @@ declare module 'vue' {
|
|||||||
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
|
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
|
||||||
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
|
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
|
||||||
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
|
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 refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
|
||||||
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
|
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
|
||||||
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
||||||
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
|
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 routeI18nInstance: UnwrapRef<typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nInstance']>
|
||||||
readonly routeI18nT: UnwrapRef<typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT']>
|
readonly routeI18nT: UnwrapRef<typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT']>
|
||||||
readonly setActivePinia: UnwrapRef<typeof import('pinia')['setActivePinia']>
|
readonly setActivePinia: UnwrapRef<typeof import('pinia')['setActivePinia']>
|
||||||
|
|||||||
48
worker-configuration.d.ts
vendored
48
worker-configuration.d.ts
vendored
@@ -1,19 +1,19 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// Generated by Wrangler by running `wrangler types` (hash: b18d7aec4937222767b077e627f9f927)
|
// Generated by Wrangler by running `wrangler types` (hash: 0003c1b3cd56e3cc5549efef6b4c6d3d)
|
||||||
// Runtime types generated with workerd@1.20251008.0 2025-09-09
|
// Runtime types generated with workerd@1.20251011.0 2025-09-09
|
||||||
declare namespace Cloudflare {
|
declare namespace Cloudflare {
|
||||||
interface GlobalProps {
|
interface GlobalProps {
|
||||||
mainModule: typeof import("./server/index");
|
mainModule: typeof import("./server/index");
|
||||||
}
|
}
|
||||||
interface Env {
|
interface Env {
|
||||||
KV: KVNamespace;
|
KV: KVNamespace;
|
||||||
|
VITE_APP_BUILD_TIME: string;
|
||||||
|
VITE_APP_BUILD_COMMIT: string;
|
||||||
VITE_BUILD_SOURCE_MAP: string;
|
VITE_BUILD_SOURCE_MAP: string;
|
||||||
VITE_BUILD_MINIFY: string;
|
VITE_BUILD_MINIFY: string;
|
||||||
VITE_CLOUDFLARE_SERVER_ENABLED: string;
|
VITE_CLOUDFLARE_SERVER_ENABLED: string;
|
||||||
VITE_APP_TITLE: string;
|
VITE_APP_TITLE: string;
|
||||||
VITE_APP_BASE: string;
|
VITE_APP_BASE: string;
|
||||||
VITE_APP_BUILD_COMMIT: string;
|
|
||||||
VITE_APP_BUILD_TIME: string;
|
|
||||||
VITE_APP_ENABLE_VUE_DEVTOOLS: string;
|
VITE_APP_ENABLE_VUE_DEVTOOLS: string;
|
||||||
VITE_APP_MENU_SHOW_DEMOS: string;
|
VITE_APP_MENU_SHOW_DEMOS: string;
|
||||||
VITE_APP_MENU_SHOW_ORDER: string;
|
VITE_APP_MENU_SHOW_ORDER: string;
|
||||||
@@ -6055,13 +6055,6 @@ type AiOptions = {
|
|||||||
prefix?: string;
|
prefix?: string;
|
||||||
extraHeaders?: object;
|
extraHeaders?: object;
|
||||||
};
|
};
|
||||||
type ConversionResponse = {
|
|
||||||
name: string;
|
|
||||||
mimeType: string;
|
|
||||||
format: "markdown";
|
|
||||||
tokens: number;
|
|
||||||
data: string;
|
|
||||||
};
|
|
||||||
type AiModelsSearchParams = {
|
type AiModelsSearchParams = {
|
||||||
author?: string;
|
author?: string;
|
||||||
hide_experimental?: boolean;
|
hide_experimental?: boolean;
|
||||||
@@ -6104,6 +6097,7 @@ declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
|
|||||||
stream: true;
|
stream: true;
|
||||||
} ? ReadableStream : AiModelList[Name]["postProcessedOutputs"]>;
|
} ? ReadableStream : AiModelList[Name]["postProcessedOutputs"]>;
|
||||||
models(params?: AiModelsSearchParams): Promise<AiModelsSearchObject[]>;
|
models(params?: AiModelsSearchParams): Promise<AiModelsSearchObject[]>;
|
||||||
|
toMarkdown(): ToMarkdownService;
|
||||||
toMarkdown(files: {
|
toMarkdown(files: {
|
||||||
name: string;
|
name: string;
|
||||||
blob: Blob;
|
blob: Blob;
|
||||||
@@ -7841,6 +7835,38 @@ declare module "cloudflare:sockets" {
|
|||||||
function _connect(address: string | SocketAddress, options?: SocketOptions): Socket;
|
function _connect(address: string | SocketAddress, options?: SocketOptions): Socket;
|
||||||
export { _connect as connect };
|
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 {
|
declare namespace TailStream {
|
||||||
interface Header {
|
interface Header {
|
||||||
readonly name: string;
|
readonly name: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user