@mintlify/models
Advanced tools
Comparing version 0.0.167 to 0.0.168
import { EntitlementConfiguration } from './entitlementConfiguration.js'; | ||
export type DeploymentEntitlements = Partial<Record<DeploymentEntitlement, EntitlementConfiguration>>; | ||
export declare const deploymentEntitlements: readonly ["AI_ASSISTANT", "AI_CHAT", "ANALYTICS", "AUTH", "CUSTOM_CSS_JS", "CUSTOM_SUBPATH", "DISCOVERY_API_ACCESS", "PARTIAL_AUTH", "PREVIEW_DEPLOYMENTS", "PREVIEW_DEPLOYMENT_AUTH", "REMOVE_BRANDING", "UNLIMITED_EDITORS", "USER_AUTH", "WORKFLOW_API_ACCESS"]; | ||
export declare const deploymentEntitlements: readonly ["AI_ASSISTANT", "AI_CHAT", "ANALYTICS", "AUTH", "CUSTOM_CSS_JS", "CUSTOM_SUBPATH", "DISCOVERY_API_ACCESS", "PARTIAL_AUTH", "PREVIEW_DEPLOYMENTS", "PREVIEW_DEPLOYMENT_AUTH", "REMOVE_BRANDING", "UNLIMITED_EDITORS", "USER_AUTH", "WORKFLOW_API_ACCESS", "SOURCE_CHECK_LINK_ROT", "SOURCE_CHECK_VALE_SPELLCHECK"]; | ||
export type DeploymentEntitlement = (typeof deploymentEntitlements)[number]; |
@@ -16,2 +16,4 @@ export const deploymentEntitlements = [ | ||
'WORKFLOW_API_ACCESS', | ||
'SOURCE_CHECK_LINK_ROT', | ||
'SOURCE_CHECK_VALE_SPELLCHECK', | ||
]; |
@@ -0,2 +1,4 @@ | ||
import { DeploymentEntitlement } from './deploymentEntitlements.js'; | ||
export type SourceCheckKey = 'link-rot' | 'vale-spellcheck'; | ||
export declare function GetSourceCheckEntitlement(sourceCheckKey: SourceCheckKey): DeploymentEntitlement; | ||
export type SourceCheckType = { | ||
@@ -3,0 +5,0 @@ type: SourceCheckKey; |
@@ -1,1 +0,3 @@ | ||
export {}; | ||
export function GetSourceCheckEntitlement(sourceCheckKey) { | ||
return `SOURCE_CHECK_${sourceCheckKey.toUpperCase().replace('-', '_')}`; | ||
} |
{ | ||
"name": "@mintlify/models", | ||
"version": "0.0.167", | ||
"version": "0.0.168", | ||
"description": "Mintlify models", | ||
@@ -57,3 +57,3 @@ "engines": { | ||
}, | ||
"gitHead": "b64861e26b20aac2c3b3ed94a08b5b10451cfe7f" | ||
"gitHead": "6140b8738e10c4b5ce740baebe20df6e6e3bd910" | ||
} |
Sorry, the diff of this file is not supported yet
154213
961
168
11
19
1
100