n8n-nodes-google-search-console
Version:
n8n node for Google Search Console API integration
25 lines (24 loc) • 918 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GoogleSearchConsoleOAuth2Api = void 0;
const scopes = [
'https://www.googleapis.com/auth/webmasters',
'https://www.googleapis.com/auth/webmasters.readonly',
];
class GoogleSearchConsoleOAuth2Api {
constructor() {
this.name = 'GoogleSearchConsoleOAuth2Api';
this.extends = ['googleOAuth2Api']; // ارثبری از credential داخلی گوگل
this.displayName = 'Google Search Console OAuth2 API';
this.documentationUrl = 'google/oauth-single-service'; // لینک داکیومنت داخل n8n
this.properties = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default: scopes.join(' '),
},
];
}
}
exports.GoogleSearchConsoleOAuth2Api = GoogleSearchConsoleOAuth2Api;