mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
refactor: Update Notion nodes to remove beta from name (#4838)
This commit is contained in:
parent
b69f480d4c
commit
454375077f
|
@ -141,19 +141,6 @@ export const databaseFields: INodeProperties[] = [
|
|||
/* -------------------------------------------------------------------------- */
|
||||
/* database:getAll */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
{
|
||||
displayName:
|
||||
'In Notion, make sure you <a href="https://www.notion.so/help/add-and-manage-connections-with-the-api#add-connections-to-pages" target="_blank">share your database with your integration</a> . Otherwise it won\'t be accessible, or listed here.',
|
||||
name: 'notionNotice',
|
||||
type: 'notice',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['database'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
name: 'returnAll',
|
||||
|
|
|
@ -6,12 +6,12 @@ import { NotionV2 } from './v2/NotionV2.node';
|
|||
export class Notion extends VersionedNodeType {
|
||||
constructor() {
|
||||
const baseDescription: INodeTypeBaseDescription = {
|
||||
displayName: 'Notion (Beta)',
|
||||
displayName: 'Notion',
|
||||
name: 'notion',
|
||||
icon: 'file:notion.svg',
|
||||
group: ['output'],
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Consume Notion API (Beta)',
|
||||
description: 'Consume Notion API',
|
||||
defaultVersion: 2,
|
||||
};
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import { getDatabases } from './SearchFunctions';
|
|||
export class NotionTrigger implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-display-name-unsuffixed-trigger-node
|
||||
displayName: 'Notion Trigger (Beta)',
|
||||
displayName: 'Notion Trigger',
|
||||
name: 'notionTrigger',
|
||||
icon: 'file:notion.svg',
|
||||
group: ['trigger'],
|
||||
|
@ -49,7 +49,7 @@ export class NotionTrigger implements INodeType {
|
|||
},
|
||||
{
|
||||
displayName:
|
||||
'In Notion, make sure you <a href="https://www.notion.so/help/add-and-manage-connections-with-the-api#add-connections-to-pages" target="_blank">share your database with your integration</a> . Otherwise it won\'t be accessible, or listed here.',
|
||||
'In Notion, make sure to <a href="https://www.notion.so/help/add-and-manage-connections-with-the-api" target="_blank">add your connection</a> to the pages you want to access.',
|
||||
name: 'notionNotice',
|
||||
type: 'notice',
|
||||
default: '',
|
||||
|
|
|
@ -12,13 +12,13 @@ import { databasePageFields, databasePageOperations } from '../DatabasePageDescr
|
|||
import { INodeTypeDescription } from 'n8n-workflow';
|
||||
|
||||
export const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'Notion (Beta)',
|
||||
displayName: 'Notion',
|
||||
name: 'notion',
|
||||
icon: 'file:notion.svg',
|
||||
group: ['output'],
|
||||
version: 1,
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Consume Notion API (Beta)',
|
||||
description: 'Consume Notion API',
|
||||
defaults: {
|
||||
name: 'Notion (Beta)',
|
||||
},
|
||||
|
@ -67,7 +67,8 @@ export const versionDescription: INodeTypeDescription = {
|
|||
// description: 'The resource to operate on.',
|
||||
// },
|
||||
{
|
||||
displayName: "To access content, make sure it's shared with your integration in Notion",
|
||||
displayName:
|
||||
'In Notion, make sure to <a href="https://www.notion.so/help/add-and-manage-connections-with-the-api" target="_blank">add your connection</a> to the pages you want to access.',
|
||||
name: 'notionNotice',
|
||||
type: 'notice',
|
||||
default: '',
|
||||
|
|
|
@ -12,13 +12,13 @@ import { databasePageFields, databasePageOperations } from '../DatabasePageDescr
|
|||
import { INodeTypeDescription } from 'n8n-workflow';
|
||||
|
||||
export const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'Notion (Beta)',
|
||||
displayName: 'Notion',
|
||||
name: 'notion',
|
||||
icon: 'file:notion.svg',
|
||||
group: ['output'],
|
||||
version: 2,
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Consume Notion API (Beta)',
|
||||
description: 'Consume Notion API',
|
||||
defaults: {
|
||||
name: 'Notion (Beta)',
|
||||
},
|
||||
|
@ -67,7 +67,8 @@ export const versionDescription: INodeTypeDescription = {
|
|||
// description: 'The resource to operate on.',
|
||||
// },
|
||||
{
|
||||
displayName: "To access content, make sure it's shared with your integration in Notion",
|
||||
displayName:
|
||||
'In Notion, make sure to <a href="https://www.notion.so/help/add-and-manage-connections-with-the-api" target="_blank">add your connection</a> to the pages you want to access.',
|
||||
name: 'notionNotice',
|
||||
type: 'notice',
|
||||
default: '',
|
||||
|
|
Loading…
Reference in a new issue