import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key const functions = new Functions(client); const response = await functions.createDeployment( '', // functionId InputFile.fromPath('/path/to/file.png', 'file.png'), // code false, // activate '', // entrypoint (optional) '' // commands (optional) );