MCPcopy Create free account

hub / github.com/cloudflare/templates / functions

Functions10,210 in github.com/cloudflare/templates

Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
d1-template/worker-configuration.d.ts:13070
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
d1-template/worker-configuration.d.ts:13137
Methodconnect
(socket: Socket)
d1-starter-sessions-api-template/worker-configuration.d.ts:506
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
d1-starter-sessions-api-template/worker-configuration.d.ts:13070
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
d1-starter-sessions-api-template/worker-configuration.d.ts:13137
Methodconnect
(socket: Socket)
containers-template/worker-configuration.d.ts:507
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
containers-template/worker-configuration.d.ts:13071
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
containers-template/worker-configuration.d.ts:13138
Methodconnect
(socket: Socket)
mysql-hyperdrive-template/worker-configuration.d.ts:507
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
mysql-hyperdrive-template/worker-configuration.d.ts:13071
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
mysql-hyperdrive-template/worker-configuration.d.ts:13138
Methodconnect
(socket: Socket)
react-starter-template/worker-configuration.d.ts:505
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
react-starter-template/worker-configuration.d.ts:13069
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
react-starter-template/worker-configuration.d.ts:13136
Methodconnect
(socket: Socket)
workflows-starter-template/worker-configuration.d.ts:508
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
workflows-starter-template/worker-configuration.d.ts:13072
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
workflows-starter-template/worker-configuration.d.ts:13139
Methodconnect
(socket: Socket)
postgres-hyperdrive-template/worker-configuration.d.ts:507
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
postgres-hyperdrive-template/worker-configuration.d.ts:13071
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
postgres-hyperdrive-template/worker-configuration.d.ts:13138
Methodconnect
(socket: Socket)
react-router-hono-fullstack-template/worker-configuration.d.ts:506
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
react-router-hono-fullstack-template/worker-configuration.d.ts:13070
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
react-router-hono-fullstack-template/worker-configuration.d.ts:13137
Methodconnect
(socket: Socket)
llm-chat-app-template/worker-configuration.d.ts:507
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
llm-chat-app-template/worker-configuration.d.ts:13071
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
llm-chat-app-template/worker-configuration.d.ts:13138
Methodconnect
(socket: Socket)
x402-proxy-template/worker-configuration.d.ts:509
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
x402-proxy-template/worker-configuration.d.ts:13073
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
x402-proxy-template/worker-configuration.d.ts:13140
Methodconnect
(socket: Socket)
workers-builds-notifications-template/worker-configuration.d.ts:505
Methodconnect
* Open a TCP socket to the target database through this Hyperdrive. *
workers-builds-notifications-template/worker-configuration.d.ts:13136
Methodconstructor
( private mount: string, private assetPrefixes: string[], )
microfrontend-template/index.ts:420
Methodconstructor
(preloadMounts: string[])
microfrontend-template/index.ts:582
Methodconstructor
(mountActual: string)
microfrontend-template/index.ts:611
Methodconstructor
()
playwright-tests/utils/template-server.ts:81
Methodconstructor
(options = {})
nlweb-template/public/fp-chat-interface.js:12
Methodconstructor
* Creates a new JsonRenderer instance * * @param {Object} options - Configuration options
nlweb-template/public/json-renderer.js:10
Methodconstructor
* Creates a new RecipeRenderer * * @param {JsonRenderer} jsonRenderer - The parent JSON renderer
nlweb-template/public/recipe-renderer.js:10
Methodconstructor
(config = {})
nlweb-template/public/nlweb-dropdown-chat.js:15
Methodconstructor
()
nlweb-template/public/conversation-manager.js:2
Methodconstructor
(options = {})
nlweb-template/public/fp-chat-interface-snippet.js:13
Methodconstructor
* Creates a new TypeRenderer * * @param {JsonRenderer} jsonRenderer - The parent JSON renderer
nlweb-template/public/type-renderers.js:14
Methodconstructor
(writable: WritableStream<Uint8Array>)
nlweb-template/src/ask/stream-wrapper.ts:7
Methodconstructor
(message: string, markdown = message)
cli/src/MarkdownError.ts:3
Methodconstructor
(repoRoot: string)
cli/src/npm.ts:101
Methodconstructor
()
workers-for-platforms-template/scripts/setup.js:41
Methodconstructor
* Creates a new TodoManager instance * @param kv - The Cloudflare KV namespace instance to use for storage * @param todosKey - The key under which
to-do-list-kv-template/app/to-do-manager.ts:22
Methodconstructor
(private readonly provider: TTSProvider)
voice-agent-template/src/voice/retryingTts.ts:18
Methodconstructor
* The constructor is invoked once upon creation of the Durable Object, i.e. the first call to * `DurableObjectStub::get` for a given identifier (no
hello-world-do-template/src/index.ts:25
Methodconstructor
(DB)
saas-admin-template/src/lib/services/customer_subscription.ts:63
Methodconstructor
(DB: D1Database)
saas-admin-template/src/lib/services/customer.ts:57
Methodconstructor
(DB)
saas-admin-template/src/lib/services/subscription.ts:48
Methodconstructor
(ctx, env)
react-router-postgres-ssr-template/api/books-service.js:6
Methodconstructor
(ctx: DurableObjectState, env: Env)
containers-template/src/index.ts:12
Methodconstructor
(ctx: DurableObjectState, env: Env)
workflows-starter-template/worker/durable-object.ts:17
MethodcontentType
* The content type of the returned image
commerce-llms-txt-template/worker-configuration.d.ts:13496
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
commerce-llms-txt-template/worker-configuration.d.ts:13568
MethodcontentType
* The content type of the returned image
durable-chat-template/src/server/worker-configuration.d.ts:13482
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
durable-chat-template/src/server/worker-configuration.d.ts:13554
MethodcontentType
* The content type of the returned image
multiplayer-globe-template/src/server/worker-configuration.d.ts:13481
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
multiplayer-globe-template/src/server/worker-configuration.d.ts:13553
MethodcontentType
* The content type of the returned image
chanfana-openapi-template/worker-configuration.d.ts:13480
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
chanfana-openapi-template/worker-configuration.d.ts:13552
MethodcontentType
* The content type of the returned image
agent-commerce-analytics-template/worker-configuration.d.ts:13489
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
agent-commerce-analytics-template/worker-configuration.d.ts:13561
MethodcontentType
* The content type of the returned image
openauth-template/worker-configuration.d.ts:13481
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
openauth-template/worker-configuration.d.ts:13553
MethodcontentType
* The content type of the returned image
astro-blog-starter-template/worker-configuration.d.ts:13480
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
astro-blog-starter-template/worker-configuration.d.ts:13552
MethodcontentType
* The content type of the returned image
next-starter-template/env.d.ts:13477
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
next-starter-template/env.d.ts:13549
MethodcontentType
* The content type of the returned image
nlweb-template/worker-configuration.d.ts:13491
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
nlweb-template/worker-configuration.d.ts:13563
MethodcontentType
* The content type of the returned image
react-router-starter-template/worker-configuration.d.ts:13486
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
react-router-starter-template/worker-configuration.d.ts:13558
MethodcontentType
* The content type of the returned image
r2-explorer-template/worker-configuration.d.ts:13481
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
r2-explorer-template/worker-configuration.d.ts:13553
MethodcontentType
* The content type of the returned image
remix-starter-template/worker-configuration.d.ts:13479
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
remix-starter-template/worker-configuration.d.ts:13551
MethodcontentType
* The content type of the returned image
agent-visibility-template/worker-configuration.d.ts:13487
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
agent-visibility-template/worker-configuration.d.ts:13559
MethodcontentType
* The content type of the returned image
vite-react-template/worker-configuration.d.ts:13479
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
vite-react-template/worker-configuration.d.ts:13551
MethodcontentType
* The content type of the returned image
grpc-container-template/worker-configuration.d.ts:13527
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
grpc-container-template/worker-configuration.d.ts:13599
MethodcontentType
* The content type of the returned image
to-do-list-kv-template/worker-configuration.d.ts:13480
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
to-do-list-kv-template/worker-configuration.d.ts:13552
MethodcontentType
* The content type of the returned image
hello-world-do-template/worker-configuration.d.ts:13481
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
hello-world-do-template/worker-configuration.d.ts:13553
MethodcontentType
* The content type of the returned image
nodejs-http-server-template/worker-configuration.d.ts:13479
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
nodejs-http-server-template/worker-configuration.d.ts:13551
MethodcontentType
* The content type of the returned image
saas-admin-template/worker-configuration.d.ts:13485
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
saas-admin-template/worker-configuration.d.ts:13557
MethodcontentType
* The content type of the returned image
react-router-postgres-ssr-template/worker-configuration.d.ts:13480
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
react-router-postgres-ssr-template/worker-configuration.d.ts:13552
MethodcontentType
* The content type of the returned image
react-postgres-fullstack-template/worker-configuration.d.ts:13480
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
react-postgres-fullstack-template/worker-configuration.d.ts:13552
MethodcontentType
* The content type of the returned image
text-to-image-template/worker-configuration.d.ts:13480
MethodcontentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
text-to-image-template/worker-configuration.d.ts:13552
MethodcontentType
* The content type of the returned image
d1-template/worker-configuration.d.ts:13480
← previousnext →2,501–2,600 of 10,210, ranked by callers