n8n-nodes-base
Version:
Base nodes of n8n
37 lines • 1.36 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentfulApi = void 0;
//https://www.contentful.com/developers/docs/references/authentication/
class ContentfulApi {
name = 'contentfulApi';
displayName = 'Contentful API';
documentationUrl = 'contentful';
properties = [
{
displayName: 'Space ID',
name: 'spaceId',
type: 'string',
default: '',
required: true,
description: 'The ID for the Contentful space',
},
{
displayName: 'Content Delivery API Access Token',
name: 'ContentDeliveryaccessToken',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Access token that has access to the space. Can be left empty if only Delivery API should be used.',
},
{
displayName: 'Content Preview API Access Token',
name: 'ContentPreviewaccessToken',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'Access token that has access to the space. Can be left empty if only Preview API should be used.',
},
];
}
exports.ContentfulApi = ContentfulApi;
//# sourceMappingURL=ContentfulApi.credentials.js.map