mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -8,9 +8,7 @@ export const streamOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
resource: ['stream'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -60,12 +58,8 @@ export const streamFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -79,15 +73,9 @@ export const streamFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
jsonParameters: [
|
||||
true,
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['create'],
|
||||
jsonParameters: [true],
|
||||
},
|
||||
},
|
||||
description: 'JSON format parameters for stream creation',
|
||||
@@ -99,19 +87,14 @@ export const streamFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
jsonParameters: [
|
||||
false,
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['create'],
|
||||
jsonParameters: [false],
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'A list of dictionaries containing the the key name and value specifying the name of the stream to subscribe. If the stream does not exist a new stream is created.',
|
||||
description:
|
||||
'A list of dictionaries containing the the key name and value specifying the name of the stream to subscribe. If the stream does not exist a new stream is created.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
@@ -148,15 +131,9 @@ export const streamFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
jsonParameters: [
|
||||
false,
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['create'],
|
||||
jsonParameters: [false],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -166,21 +143,24 @@ export const streamFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
|
||||
description: 'If announce is True and one of the streams specified in subscriptions has to be created (i.e. doesnt exist to begin with), an announcement will be made notifying that a new stream was created.',
|
||||
description:
|
||||
'If announce is True and one of the streams specified in subscriptions has to be created (i.e. doesnt exist to begin with), an announcement will be made notifying that a new stream was created.',
|
||||
},
|
||||
{
|
||||
displayName: 'Authorization Errors Fatal',
|
||||
name: 'authorizationErrorsFatal',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether authorization errors (such as when the requesting user is not authorized to access a private stream) should be considered fatal or not. When True, an authorization error is reported as such. When set to False, the returned JSON payload indicates that there was an authorization error, but the response is still considered a successful one.',
|
||||
description:
|
||||
'Whether authorization errors (such as when the requesting user is not authorized to access a private stream) should be considered fatal or not. When True, an authorization error is reported as such. When set to False, the returned JSON payload indicates that there was an authorization error, but the response is still considered a successful one.',
|
||||
},
|
||||
{
|
||||
displayName: 'History Public to Subscribers',
|
||||
name: 'historyPublicToSubscribers',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream',
|
||||
description:
|
||||
'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream',
|
||||
},
|
||||
{
|
||||
displayName: 'Invite Only',
|
||||
@@ -194,7 +174,8 @@ export const streamFields: INodeProperties[] = [
|
||||
name: 'principals',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'A list of email addresses of the users that will be subscribed/unsubscribed to the streams specified in the subscriptions argument. If not provided, then the requesting user/bot is subscribed.',
|
||||
description:
|
||||
'A list of email addresses of the users that will be subscribed/unsubscribed to the streams specified in the subscriptions argument. If not provided, then the requesting user/bot is subscribed.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
@@ -254,12 +235,8 @@ export const streamFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -268,7 +245,8 @@ export const streamFields: INodeProperties[] = [
|
||||
name: 'includeAllActive',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Whether to include all active streams. The user must have administrative privileges to use this parameter.',
|
||||
description:
|
||||
'Whether to include all active streams. The user must have administrative privileges to use this parameter.',
|
||||
},
|
||||
{
|
||||
displayName: 'Include Default',
|
||||
@@ -282,7 +260,8 @@ export const streamFields: INodeProperties[] = [
|
||||
name: 'includeOwnersubscribed',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Whether the user is a bot, include all streams that the bots owner is subscribed to',
|
||||
description:
|
||||
'Whether the user is a bot, include all streams that the bots owner is subscribed to',
|
||||
},
|
||||
{
|
||||
displayName: 'Include Public',
|
||||
@@ -312,12 +291,8 @@ export const streamFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'getSubscribed',
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['getSubscribed'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -326,7 +301,8 @@ export const streamFields: INodeProperties[] = [
|
||||
name: 'includeSubscribers',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Whether each returned stream object should include a subscribers field containing a list of the user IDs of its subscribers',
|
||||
description:
|
||||
'Whether each returned stream object should include a subscribers field containing a list of the user IDs of its subscribers',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -342,12 +318,8 @@ export const streamFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
description: 'ID of stream to update',
|
||||
@@ -359,12 +331,8 @@ export const streamFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -378,15 +346,9 @@ export const streamFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
jsonParameters: [
|
||||
true,
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['update'],
|
||||
jsonParameters: [true],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -401,15 +363,9 @@ export const streamFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
jsonParameters: [
|
||||
false,
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['update'],
|
||||
jsonParameters: [false],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -440,7 +396,8 @@ export const streamFields: INodeProperties[] = [
|
||||
name: 'historyPublicToSubscribers',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream',
|
||||
description:
|
||||
'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream',
|
||||
},
|
||||
{
|
||||
displayName: 'New Name',
|
||||
@@ -487,15 +444,10 @@ export const streamFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'stream',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: ['stream'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
description: 'ID of stream to delete',
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user