Files
Automata/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/description.ts
Iván Ovejero b03e358a12 refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c.

* 👕 Fix severity
2023-01-27 12:22:44 +01:00

63 lines
1.0 KiB
TypeScript

import type { RmmProperties } from '../../Interfaces';
export const rmmMuteDescription: RmmProperties = [
{
displayName: 'RMM Alert ID',
name: 'alertId',
type: 'string',
required: true,
displayOptions: {
show: {
resource: ['rmm'],
operation: ['mute'],
},
},
default: '',
description: 'Mute the RMM alert by ID',
},
{
displayName: 'Mute Period',
name: 'muteFor',
type: 'options',
displayOptions: {
show: {
resource: ['rmm'],
operation: ['mute'],
},
},
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
options: [
{
name: '1 Hour',
value: '1-hour',
},
{
name: '1 Day',
value: '1-day',
},
{
name: '2 Days',
value: '2-days',
},
{
name: '1 Week',
value: '1-week',
},
{
name: '2 Weeks',
value: '2-weeks',
},
{
name: '1 Month',
value: '1-month',
},
{
name: 'Forever',
value: 'forever',
},
],
default: '',
description: 'Length of time to mute alert for',
},
];