@mintlify/models
Advanced tools
Comparing version 0.0.151 to 0.0.152
@@ -8,2 +8,3 @@ import { UserInfo } from '../types/userInfo.js'; | ||
export type AuthType = Auth['type']; | ||
export type PreviewDeploymentAuth = MintlifyAuth; | ||
export type SharedSessionAuth = { | ||
@@ -10,0 +11,0 @@ type: 'shared-session'; |
@@ -9,3 +9,3 @@ import { Analytics } from '../mintconfig/analytics.js'; | ||
import { FeatureFlags } from './FeatureFlags.js'; | ||
import { Auth, UserAuth } from './auth.js'; | ||
import { Auth, PreviewDeploymentAuth, UserAuth } from './auth.js'; | ||
export type DeploymentType = { | ||
@@ -27,2 +27,3 @@ name: string; | ||
auth?: Auth; | ||
previewDeploymentAuth?: PreviewDeploymentAuth; | ||
userAuth?: UserAuth; | ||
@@ -29,0 +30,0 @@ stripe?: StripeDeploymentDataType; |
import { EntitlementConfiguration } from './entitlementConfiguration.js'; | ||
export type DeploymentEntitlements = Partial<Record<DeploymentEntitlement, EntitlementConfiguration>>; | ||
export declare const deploymentEntitlements: readonly ["AI_CHAT", "ANALYTICS", "AUTH", "CUSTOM_CSS_JS", "CUSTOM_SUBPATH", "DISCOVERY_API_ACCESS", "PREVIEW_DEPLOYMENTS", "REMOVE_BRANDING", "UNLIMITED_EDITORS", "USER_AUTH", "WORKFLOW_API_ACCESS", "AI_ASSISTANT"]; | ||
export declare const deploymentEntitlements: readonly ["AI_ASSISTANT", "AI_CHAT", "ANALYTICS", "AUTH", "CUSTOM_CSS_JS", "CUSTOM_SUBPATH", "DISCOVERY_API_ACCESS", "PREVIEW_DEPLOYMENTS", "PREVIEW_DEPLOYMENT_AUTH", "REMOVE_BRANDING", "UNLIMITED_EDITORS", "USER_AUTH", "WORKFLOW_API_ACCESS"]; | ||
export type DeploymentEntitlement = (typeof deploymentEntitlements)[number]; |
export const deploymentEntitlements = [ | ||
'AI_ASSISTANT', | ||
'AI_CHAT', | ||
@@ -9,2 +10,3 @@ 'ANALYTICS', | ||
'PREVIEW_DEPLOYMENTS', | ||
'PREVIEW_DEPLOYMENT_AUTH', | ||
'REMOVE_BRANDING', | ||
@@ -14,3 +16,2 @@ 'UNLIMITED_EDITORS', | ||
'WORKFLOW_API_ACCESS', | ||
'AI_ASSISTANT', | ||
]; |
@@ -1,2 +0,2 @@ | ||
import { SharedSessionAuth, Auth, AuthType, PasswordAuth, PasswordAuthMetadata, ClientMiddlewareJwt, UserAuth, UserAuthType, JwtAuth, JwtAuthSigningKey, OAuth, OAuthWithClientSecret, MintlifyAuth } from '../entities/auth.js'; | ||
import { SharedSessionAuth, Auth, AuthType, PasswordAuth, PasswordAuthMetadata, ClientMiddlewareJwt, UserAuth, UserAuthType, JwtAuth, JwtAuthSigningKey, OAuth, OAuthWithClientSecret, MintlifyAuth, PreviewDeploymentAuth } from '../entities/auth.js'; | ||
import { ApiPlaygroundInputs } from './apiPlaygroundInputs.js'; | ||
@@ -22,3 +22,3 @@ import { ApiPlaygroundResponseType } from './apiPlaygroundResponseType.js'; | ||
import { UserMetadata, UserWithMetadata } from './userMetadata.js'; | ||
export type { ApiPlaygroundResponseType, ApiPlaygroundResultType, DeploymentAddOnType, DeploymentEntitlement, DeploymentEntitlements, EditContext, EntitlementConfiguration, GithubInstallationType, GithubSource, GitlabInstallationType, GitlabSource, GitSource, GitSourceType, GrowthDataType, InkeepType, JwtAuth, JwtAuthSigningKey, OAuth, OAuthWithClientSecret, OpenApiFile, OpenApiMetadata, PageMetaTags, SharedSessionAuth, ServerStaticProps, StripeDeploymentDataType, StripeOrgDataType, TrieveType, Auth, AuthType, UserAuth, UserAuthType, PasswordAuth, PasswordAuthMetadata, MintlifyAuth, ClientMiddlewareJwt, UserMetadata, UserWithMetadata, PrimaryChart, PopularPages, Referrals, Feedback, DashboardAnalytics, TotalMetric, ApiPlaygroundInputs, UserInfo, UserInfoInputs, }; | ||
export type { ApiPlaygroundResponseType, ApiPlaygroundResultType, DeploymentAddOnType, DeploymentEntitlement, DeploymentEntitlements, EditContext, EntitlementConfiguration, GithubInstallationType, GithubSource, GitlabInstallationType, GitlabSource, GitSource, GitSourceType, GrowthDataType, InkeepType, JwtAuth, JwtAuthSigningKey, OAuth, OAuthWithClientSecret, OpenApiFile, OpenApiMetadata, PageMetaTags, SharedSessionAuth, ServerStaticProps, StripeDeploymentDataType, StripeOrgDataType, TrieveType, Auth, AuthType, UserAuth, UserAuthType, PasswordAuth, PasswordAuthMetadata, PreviewDeploymentAuth, MintlifyAuth, ClientMiddlewareJwt, UserMetadata, UserWithMetadata, PrimaryChart, PopularPages, Referrals, Feedback, DashboardAnalytics, TotalMetric, ApiPlaygroundInputs, UserInfo, UserInfoInputs, }; | ||
export { deploymentAddOnTypes, deploymentEntitlements }; |
{ | ||
"name": "@mintlify/models", | ||
"version": "0.0.151", | ||
"version": "0.0.152", | ||
"description": "Mintlify models", | ||
@@ -57,3 +57,3 @@ "engines": { | ||
}, | ||
"gitHead": "de1454f02de928e32cc342c4b0e77a23011cd85b" | ||
"gitHead": "bfcb32c90db7521bbfa54a7c31d8fe77594425e7" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147299
914