1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-30 23:30:02 +00:00
bramw_baserow/enterprise/web-frontend/modules/baserow_enterprise/paidFeatures.js
2025-04-29 14:25:11 +02:00

209 lines
3.5 KiB
JavaScript

import { PaidFeature } from '@baserow_premium/paidFeatures'
export class SSOPaidFeature extends PaidFeature {
static getType() {
return 'sso'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-log-in'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.sso')
}
getImage() {
return '/img/features/sso.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.ssoContent')
}
}
export class AuditLogPaidFeature extends PaidFeature {
static getType() {
return 'audit_log'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'baserow-icon-history'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.auditLogs')
}
getImage() {
return '/img/features/audit_logs.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.auditLogsContent')
}
}
export class RBACPaidFeature extends PaidFeature {
static getType() {
return 'rbac'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-community'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.rbac')
}
getImage() {
return '/img/features/role_based_access_control.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.rbacContent')
}
}
export class DataSyncPaidFeature extends PaidFeature {
static getType() {
return 'data_sync'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-data-transfer-down'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.dataSync')
}
getImage() {
return '/img/features/data_sync.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.dataSyncContent')
}
}
export class CoBrandingPaidFeature extends PaidFeature {
static getType() {
return 'co_branding'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-media-image-list'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.coBranding')
}
getImage() {
return '/img/features/co_branding.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.coBrandingContent')
}
}
export class AdvancedWebhooksPaidFeature extends PaidFeature {
static getType() {
return 'advanced_webhooks'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-web-window'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.advancedWebhooks')
}
getImage() {
return '/img/features/advanced_webhooks.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.advancedWebhooksContent')
}
}
export class FieldLevelPermissionsPaidFeature extends PaidFeature {
static getType() {
return 'field_level_permissions'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-lock'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.fieldLevelPermissions')
}
getImage() {
return '/img/features/field_level_permissions.png'
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.fieldLevelPermissionsContent')
}
}
export class SupportWebhooksPaidFeature extends PaidFeature {
static getType() {
return 'support'
}
getPlan() {
return 'Enterprise'
}
getIconClass() {
return 'iconoir-chat-bubble-question'
}
getName() {
return this.app.i18n.t('enterpriseFeatures.support')
}
getImage() {
return null
}
getContent() {
return this.app.i18n.t('enterpriseFeatures.supportContent')
}
}