/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/plugins/i18n/admin/custom.d.ts
39 строк
844 B
Marco A.
chore: remove all occurances of aiLicenseKey (#24908)
16 янв 2026, 14:14
Не верифицирован
16 янв 2026, 14:14
e343fe1
Код
Авторство
О чём код?
/// <reference types="vite/client" /> import { type StrapiTheme } from '@strapi/design-system'; import type { Modules } from '@strapi/types'; declare module 'styled-components' { export interface DefaultTheme extends StrapiTheme {} } interface BrowserStrapi { backendURL: string; isEE: boolean; future: { isEnabled: (name: keyof NonNullable<Modules.Features.FeaturesConfig['future']>) => boolean; }; features: { SSO: 'sso'; AUDIT_LOGS: 'audit-logs'; REVIEW_WORKFLOWS: 'review-workflows'; isEnabled: (featureName?: string) => boolean; }; isTrialLicense: boolean; flags: { promoteEE?: boolean; nps?: boolean; }; projectType: 'Community' | 'Enterprise'; telemetryDisabled: boolean; ai: { enabled: boolean; }; } declare global { interface Window { strapi: BrowserStrapi; } }