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
33 changes: 33 additions & 0 deletions packages/components/credentials/AzureFoundryApi.credential.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { INodeParams, INodeCredential } from '../src/Interface'

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

constructor() {
this.label = 'Azure Foundry API'
this.name = 'azureFoundryApi'
this.version = 1.0
this.description = 'Refer to <a target="_blank" href="https://docs.microsoft.com/en-us/azure/ai-foundry/">Azure AI Foundry documentation</a> for setup instructions'

Check failure on line 14 in packages/components/credentials/AzureFoundryApi.credential.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.15.0)

Insert `⏎···········`
this.inputs = [
{
label: 'Azure Foundry API Key',
name: 'azureFoundryApiKey',
type: 'password',
description: 'Your Azure AI Foundry API key'
},
{
label: 'Azure Foundry Endpoint',
name: 'azureFoundryEndpoint',
type: 'string',
placeholder: 'https://your-foundry-instance.azure.com',
description: 'Your Azure AI Foundry endpoint URL'
}
]
}
}

module.exports = { credClass: AzureFoundryApi }
Loading
Loading