Flowise

Форк
0
/
MomentoCacheApi.credential.ts 
36 строк · 1.0 Кб
1
import { INodeParams, INodeCredential } from '../src/Interface'
2

3
class MomentoCacheApi implements INodeCredential {
4
    label: string
5
    name: string
6
    version: number
7
    description: string
8
    inputs: INodeParams[]
9

10
    constructor() {
11
        this.label = 'Momento Cache API'
12
        this.name = 'momentoCacheApi'
13
        this.version = 1.0
14
        this.description =
15
            'Refer to <a target="_blank" href="https://docs.momentohq.com/cache/develop/authentication/api-keys">official guide</a> on how to get API key on Momento'
16
        this.inputs = [
17
            {
18
                label: 'Cache',
19
                name: 'momentoCache',
20
                type: 'string'
21
            },
22
            {
23
                label: 'API Key',
24
                name: 'momentoApiKey',
25
                type: 'password'
26
            },
27
            {
28
                label: 'Endpoint',
29
                name: 'momentoEndpoint',
30
                type: 'string'
31
            }
32
        ]
33
    }
34
}
35

36
module.exports = { credClass: MomentoCacheApi }
37

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.