PluginProbe ʕ •ᴥ•ʔ
Hostinger Reach – AI-Powered Email Marketing for WordPress / trunk
Hostinger Reach – AI-Powered Email Marketing for WordPress vtrunk
1.8.0 1.7.2 1.7.1 1.7.0 1.6.0 1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 trunk 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6
hostinger-reach / frontend / vue / data / pluginData.ts
hostinger-reach / frontend / vue / data Last commit date
repositories 1 day ago faq.ts 5 months ago pluginData.ts 1 day ago tabs.ts 5 months ago
pluginData.ts
27 lines
1 import type { Integration } from '@/types/models';
2
3 export const HOSTINGER_REACH_ID = 'hostinger-reach';
4 export const WOOCOMMERCE_ID = 'woocommerce';
5 export const ELEMENTOR_ID = 'elementor';
6
7 export const PLUGIN_STATUSES = {
8 ACTIVE: 'active',
9 INACTIVE: 'inactive'
10 } as const;
11
12 export type PluginStatus = (typeof PLUGIN_STATUSES)[keyof typeof PLUGIN_STATUSES];
13
14 export interface PluginInfo {
15 id: string;
16 icon: string;
17 isViewFormHidden: boolean;
18 isEditFormHidden: boolean;
19 }
20
21 export const getPluginInfo = (integration: Integration): PluginInfo => ({
22 id: integration.id,
23 icon: integration?.icon || '',
24 isViewFormHidden: integration?.isViewFormHidden || true,
25 isEditFormHidden: integration?.isEditFormHidden || false
26 });
27