2023-01-27 03:22:44 -08:00
|
|
|
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-11-25 04:08:59 -08:00
|
|
|
|
|
|
|
export class QuickBaseApi implements ICredentialType {
|
|
|
|
name = 'quickbaseApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-11-25 04:08:59 -08:00
|
|
|
displayName = 'Quick Base API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-11-25 04:08:59 -08:00
|
|
|
documentationUrl = 'quickbase';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-11-25 04:08:59 -08:00
|
|
|
{
|
|
|
|
displayName: 'Hostname',
|
|
|
|
name: 'hostname',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-11-25 04:08:59 -08:00
|
|
|
default: '',
|
2020-11-25 04:09:58 -08:00
|
|
|
required: true,
|
2020-11-25 04:08:59 -08:00
|
|
|
placeholder: 'demo.quickbase.com',
|
2020-11-25 04:09:58 -08:00
|
|
|
},
|
2020-11-25 04:08:59 -08:00
|
|
|
{
|
|
|
|
displayName: 'User Token',
|
|
|
|
name: 'userToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-11-25 04:08:59 -08:00
|
|
|
default: '',
|
2020-11-25 04:09:58 -08:00
|
|
|
required: true,
|
2020-11-25 04:08:59 -08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|