n8n-nodes-nocodb-self-host
Version:
Custom n8n node for Nocodb Self Host.
91 lines • 2.63 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRowFields = exports.extractNumberOperations = void 0;
exports.extractNumberOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['actions'],
},
},
options: [
{
name: 'Get All Rows',
value: 'get-all-rows',
description: 'Get all rows from NocoDB table',
action: 'Get all rows from noco db table',
},
],
default: 'get-all-rows',
},
];
exports.getRowFields = [
{
displayName: 'NocoDB Token',
name: 'nocodb_token',
type: 'string',
typeOptions: {
password: true,
},
displayOptions: {
show: {
resource: ['actions'],
operation: ['get-all-rows'],
},
},
default: '',
placeholder: 'xc-token or Auth token',
description: 'Your NocoDB API token (xc-token) or Auth token (xc-auth)',
required: true,
},
{
displayName: 'NocoDB Base URL',
name: 'base_url',
type: 'string',
displayOptions: {
show: {
resource: ['actions'],
operation: ['get-all-rows'],
},
},
default: '',
placeholder: 'https://your-nocodb-instance.com',
description: 'Your NocoDB self-hosted instance URL',
required: true,
},
{
displayName: 'Base ID',
name: 'base_id',
type: 'string',
displayOptions: {
show: {
resource: ['actions'],
operation: ['get-all-rows'],
},
},
default: '',
placeholder: 'Enter your base ID (e.g., pnnh9o17by6p172)',
description: 'The ID of your NocoDB base/project',
required: true,
},
{
displayName: 'Table ID',
name: 'table_id',
type: 'string',
displayOptions: {
show: {
resource: ['actions'],
operation: ['get-all-rows'],
},
},
default: '',
placeholder: 'Enter your table ID (e.g., mbjxj9y2vmg5vc3)',
description: 'The ID of your NocoDB table',
required: true,
},
];
//# sourceMappingURL=ModuleDetails.js.map