feat(core): Add notice to alert users a new version is available

This commit is contained in:
Michael Kret
2023-05-02 11:45:04 +03:00
committed by GitHub
parent 839a56a682
commit cb497fbbec
9 changed files with 33 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ import { googleApiRequest, googleApiRequestAllItems, merge, simplify } from './G
import moment from 'moment-timezone';
import type { IData } from './Interfaces';
import { oldVersionNotice } from '../../../../utils/descriptions';
const versionDescription: INodeTypeDescription = {
displayName: 'Google Analytics',
name: 'googleAnalytics',
@@ -36,6 +38,7 @@ const versionDescription: INodeTypeDescription = {
},
],
properties: [
oldVersionNotice,
{
displayName: 'Resource',
name: 'resource',

View File

@@ -20,6 +20,8 @@ import { recordFields, recordOperations } from './RecordDescription';
import { v4 as uuid } from 'uuid';
import { oldVersionNotice } from '../../../../utils/descriptions';
const versionDescription: INodeTypeDescription = {
displayName: 'Google BigQuery',
name: 'googleBigQuery',
@@ -54,6 +56,7 @@ const versionDescription: INodeTypeDescription = {
},
],
properties: [
oldVersionNotice,
{
displayName: 'Authentication',
name: 'authentication',

View File

@@ -30,6 +30,8 @@ import { draftFields, draftOperations } from './DraftDescription';
import isEmpty from 'lodash.isempty';
import { oldVersionNotice } from '../../../../utils/descriptions';
const versionDescription: INodeTypeDescription = {
displayName: 'Gmail',
name: 'gmail',
@@ -64,6 +66,7 @@ const versionDescription: INodeTypeDescription = {
},
],
properties: [
oldVersionNotice,
{
displayName: 'Authentication',
name: 'authentication',

View File

@@ -1,6 +1,8 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
import type { INodeTypeDescription } from 'n8n-workflow';
import { oldVersionNotice } from '../../../../utils/descriptions';
export const versionDescription: INodeTypeDescription = {
displayName: 'Google Sheets ',
name: 'googleSheets',
@@ -36,6 +38,7 @@ export const versionDescription: INodeTypeDescription = {
},
],
properties: [
oldVersionNotice,
{
displayName: 'Authentication',
name: 'authentication',