mirror of
https://github.com/langgenius/dify.git
synced 2026-07-22 04:25:29 -04:00
a84c2d36a3
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
27 lines
724 B
TypeScript
27 lines
724 B
TypeScript
import type { GetSystemFeaturesResponse } from '@dify/contracts/api/console/system-features/types.gen'
|
|
|
|
export const SSOProtocol = {
|
|
SAML: 'saml',
|
|
OIDC: 'oidc',
|
|
OAuth2: 'oauth2',
|
|
} as const
|
|
|
|
export const LicenseStatus = {
|
|
NONE: 'none',
|
|
INACTIVE: 'inactive',
|
|
ACTIVE: 'active',
|
|
EXPIRING: 'expiring',
|
|
EXPIRED: 'expired',
|
|
LOST: 'lost',
|
|
} as const satisfies Record<string, GetSystemFeaturesResponse['license']['status']>
|
|
|
|
export const InstallationScope = {
|
|
ALL: 'all',
|
|
NONE: 'none',
|
|
OFFICIAL_ONLY: 'official_only',
|
|
OFFICIAL_AND_PARTNER: 'official_and_specific_partners',
|
|
} as const satisfies Record<
|
|
string,
|
|
GetSystemFeaturesResponse['plugin_installation_permission']['plugin_installation_scope']
|
|
>
|