/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/core/review-workflows/admin/custom.d.ts
37 строк
870 B
Arthur Moreau
feat(cli): Introduce the Growth Trial prompt (#23498)
03 июн 2025, 20:58
Не верифицирован
03 июн 2025, 20:58
4ac7f54
Код
Авторство
О чём код?
/// <reference types="vite/client" /> import { type StrapiTheme } from '@strapi/design-system'; import type { Modules } from '@strapi/types'; declare module 'styled-components' { // eslint-disable-next-line @typescript-eslint/no-empty-interface 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; }; isTrial: boolean; flags: { promoteEE?: boolean; nps?: boolean; }; projectType: 'Community' | 'Enterprise'; telemetryDisabled: boolean; } declare global { interface Window { strapi: BrowserStrapi; } }