import {
	ICredentialType,
	NodePropertyTypes,
} from 'n8n-workflow';

export class FacebookGraphAppApi implements ICredentialType {
	name = 'facebookGraphAppApi';
	displayName = 'Facebook Graph API (App)';
	documentationUrl = 'facebookGraphApp';
	extends = [
		'facebookGraphApi',
	];
	properties = [
		{
			displayName: 'App Secret',
			name: 'appSecret',
			type: 'string' as NodePropertyTypes,
			default: '',
			description: '(Optional) When the app secret is set the node will verify this signature to validate the integrity and origin of the payload.',
		},
	];
}
