fix: Expand nodes-base formatting validation (no-changelog) (#4689)

*  Simplify `format` command

* 🎨 Format more deeply nested files
This commit is contained in:
Iván Ovejero
2022-11-22 13:43:28 +01:00
committed by GitHub
parent ad6c6f60a1
commit eafef019d7
39 changed files with 8225 additions and 374 deletions

View File

@@ -343,7 +343,8 @@ export const certificateDescription: INodeProperties[] = [
},
},
default: '',
description: 'Name of and, optionally, path to the X509 certificate file that is used to form the certificate-key pair. /nsconfig/ssl/ is the default path.',
description:
'Name of and, optionally, path to the X509 certificate file that is used to form the certificate-key pair. /nsconfig/ssl/ is the default path.',
},
{
displayName: 'Private Key File Name',
@@ -357,7 +358,8 @@ export const certificateDescription: INodeProperties[] = [
operation: ['install'],
},
},
description: 'Name of and, optionally, path to the X509 certificate file that is used to form the certificate-key pair. /nsconfig/ssl/ is the default path.',
description:
'Name of and, optionally, path to the X509 certificate file that is used to form the certificate-key pair. /nsconfig/ssl/ is the default path.',
},
{
displayName: 'Certificate Format',

View File

@@ -26,9 +26,7 @@ export const fileDescription: INodeProperties[] = [
default: 'upload',
displayOptions: {
show: {
resource: [
'file',
],
resource: ['file'],
},
},
},
@@ -90,7 +88,7 @@ export const fileDescription: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: ['delete', 'download' ],
operation: ['delete', 'download'],
resource: ['file'],
},
},
@@ -105,7 +103,7 @@ export const fileDescription: INodeProperties[] = [
description: 'Name of the file. It should not include filepath.',
displayOptions: {
show: {
operation: ['delete', 'download' ],
operation: ['delete', 'download'],
resource: ['file'],
},
},
@@ -116,11 +114,10 @@ export const fileDescription: INodeProperties[] = [
type: 'string',
required: true,
default: 'data',
description:
'The name of the output field to put the binary file data in',
description: 'The name of the output field to put the binary file data in',
displayOptions: {
show: {
operation: ['download' ],
operation: ['download'],
resource: ['file'],
},
},

View File

@@ -19,8 +19,7 @@ export async function citrixADCApiRequest(
uri?: string,
option: IDataObject = {},
// tslint:disable-next-line:no-any
): Promise<any> {
): Promise<any> {
const { url } = (await this.getCredentials('citrixAdcApi')) as { url: string };
let options: OptionsWithUri = {