@mintlify/models
Advanced tools
Comparing version 0.0.145 to 0.0.146
@@ -6,3 +6,3 @@ import { UserInfo } from '../types/userInfo.js'; | ||
export type UserAuthType = UserAuth['type']; | ||
export type Auth = SharedSessionAuth | JwtAuth | OAuth | PasswordAuth | MintlifyAuth; | ||
export type Auth = SharedSessionAuth | JwtAuth | OAuthWithClientSecret | PasswordAuth | MintlifyAuth; | ||
export type AuthType = Auth['type']; | ||
@@ -24,4 +24,3 @@ export type SharedSessionAuth = { | ||
}; | ||
export type OAuth = { | ||
type: 'oauth'; | ||
type OAuthBase = { | ||
authorizationUrl: string; | ||
@@ -33,2 +32,9 @@ clientId: string; | ||
}; | ||
export type OAuth = OAuthBase & { | ||
type: 'oauth'; | ||
}; | ||
export type OAuthWithClientSecret = OAuthBase & { | ||
type: 'oauth-with-client-secret'; | ||
encryptedClientSecret: string; | ||
}; | ||
export type PasswordAuthMetadata = { | ||
@@ -54,1 +60,2 @@ id: string; | ||
}; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { SharedSessionAuth, Auth, AuthType, PasswordAuth, PasswordAuthMetadata, ClientMiddlewareJwt, UserAuth, UserAuthType, JwtAuth, JwtAuthSigningKey, OAuth, MintlifyAuth } from '../entities/auth.js'; | ||
import { SharedSessionAuth, Auth, AuthType, PasswordAuth, PasswordAuthMetadata, ClientMiddlewareJwt, UserAuth, UserAuthType, JwtAuth, JwtAuthSigningKey, OAuth, OAuthWithClientSecret, MintlifyAuth } 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, 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, MintlifyAuth, ClientMiddlewareJwt, UserMetadata, UserWithMetadata, PrimaryChart, PopularPages, Referrals, Feedback, DashboardAnalytics, TotalMetric, ApiPlaygroundInputs, UserInfo, UserInfoInputs, }; | ||
export { deploymentAddOnTypes, deploymentEntitlements }; |
{ | ||
"name": "@mintlify/models", | ||
"version": "0.0.145", | ||
"version": "0.0.146", | ||
"description": "Mintlify models", | ||
@@ -57,3 +57,3 @@ "engines": { | ||
}, | ||
"gitHead": "aa1afea73588c4ebeded8a2cf658a57be198b946" | ||
"gitHead": "e8725b5e25908dc7d301bb50df5848017aac6bbd" | ||
} |
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
146208
908