mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Minor improvements to Strapi-Node
This commit is contained in:
@@ -17,6 +17,9 @@ export class StrapiApi implements ICredentialType {
|
|||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'string' as NodePropertyTypes,
|
||||||
|
typeOptions: {
|
||||||
|
password: true,
|
||||||
|
},
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -24,6 +27,7 @@ export class StrapiApi implements ICredentialType {
|
|||||||
name: 'url',
|
name: 'url',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'string' as NodePropertyTypes,
|
||||||
default: '',
|
default: '',
|
||||||
|
placeholder: 'https://api.example.com',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export const entryFields = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'Name of the content type',
|
description: 'Name of the content type.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Columns',
|
displayName: 'Columns',
|
||||||
@@ -86,6 +86,7 @@ export const entryFields = [
|
|||||||
placeholder: 'id,name,description',
|
placeholder: 'id,name,description',
|
||||||
description: 'Comma separated list of the properties which should used as columns for the new rows.',
|
description: 'Comma separated list of the properties which should used as columns for the new rows.',
|
||||||
},
|
},
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* entry:delete */
|
/* entry:delete */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
@@ -105,7 +106,7 @@ export const entryFields = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'Name of the content type',
|
description: 'Name of the content type.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Entry ID',
|
displayName: 'Entry ID',
|
||||||
@@ -123,8 +124,9 @@ export const entryFields = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'The ID of the entry to get.',
|
description: 'The ID of the entry to delete.',
|
||||||
},
|
},
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* entry:get */
|
/* entry:get */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
@@ -144,7 +146,7 @@ export const entryFields = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'Name of the content type',
|
description: 'Name of the content type.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Entry ID',
|
displayName: 'Entry ID',
|
||||||
@@ -164,6 +166,7 @@ export const entryFields = [
|
|||||||
},
|
},
|
||||||
description: 'The ID of the entry to get.',
|
description: 'The ID of the entry to get.',
|
||||||
},
|
},
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* entry:getAll */
|
/* entry:getAll */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
@@ -286,6 +289,7 @@ export const entryFields = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* entry:update */
|
/* entry:update */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
@@ -305,7 +309,7 @@ export const entryFields = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'Name of the content type',
|
description: 'Name of the content type.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Update Key',
|
displayName: 'Update Key',
|
||||||
|
|||||||
Reference in New Issue
Block a user