Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions packages/components/credentials/CloudflareWorkersAI.credential.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { INodeCredential, INodeParams } from '../src/Interface'

class CloudflareWorkersAICredential implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]

constructor() {
this.label = 'Cloudflare Workers AI'
this.name = 'cloudflareWorkersAI'
this.version = 1.0
this.description = 'Input your Cloudflare credentials here.'
this.inputs = [
{
label: 'Cloudflare Account ID',
name: 'cloudflareWorkersAccountID',
type: 'string'
},
{
label: 'Cloudflare AI API Key',
name: 'cloudflareWorkersAIKey',
type: 'password'
}
]
}
}

module.exports = { credClass: CloudflareWorkersAICredential }
Loading