chore(devcontainer): update forwarded ports to 4730 and 4731
This commit is contained in:
48
worker-configuration.d.ts
vendored
48
worker-configuration.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user