@mintlify/models
Advanced tools
Comparing version 0.0.80 to 0.0.81
import { Analytics } from '../mintconfig/analytics.js'; | ||
import { MintConfig } from '../mintconfig/index.js'; | ||
import { EmbedchainType } from '../types/embedchainType.js'; | ||
import { GitSource } from '../types/gitSource.js'; | ||
import { GithubSource, GitlabSource, GitSource } from '../types/gitSource.js'; | ||
import { InkeepType } from '../types/inkeepType.js'; | ||
@@ -19,3 +19,2 @@ export type DeploymentType = { | ||
isPasswordProtected?: boolean; | ||
vercelProjectId?: string; | ||
inkeep?: InkeepType; | ||
@@ -27,1 +26,7 @@ featureFlags?: { | ||
export type StaticPropsDeploymentType = Pick<DeploymentType, 'subdomain' | 'inkeep' | 'featureFlags' | 'embedchain' | 'mintConfig' | 'basePath'>; | ||
export type GithubDeploymentType = DeploymentType & { | ||
gitSource: GithubSource; | ||
}; | ||
export type GitlabDeploymentType = DeploymentType & { | ||
gitSource: GitlabSource; | ||
}; |
import { CssFileType } from './cssFileType.js'; | ||
import { CustomerPageType } from './customerPageType.js'; | ||
import { DeploymentHistoryType } from './deploymentHistoryType.js'; | ||
import { DeploymentType, StaticPropsDeploymentType } from './deploymentType.js'; | ||
import { DeploymentType, StaticPropsDeploymentType, GithubDeploymentType, GitlabDeploymentType } from './deploymentType.js'; | ||
import { JsFileType } from './jsFileType.js'; | ||
@@ -9,2 +9,2 @@ import { OrgType, StaticPropsOrgType } from './orgType.js'; | ||
import { UserType } from './userType.js'; | ||
export type { CustomerPageType, DeploymentHistoryType, DeploymentType, StaticPropsDeploymentType, OrgType, StaticPropsOrgType, SnippetType, UserType, CssFileType, JsFileType, }; | ||
export type { CustomerPageType, DeploymentHistoryType, DeploymentType, StaticPropsDeploymentType, GithubDeploymentType, GitlabDeploymentType, OrgType, StaticPropsOrgType, SnippetType, UserType, CssFileType, JsFileType, }; |
@@ -1,6 +0,6 @@ | ||
import { GitType } from './gitType.js'; | ||
import type { GitSourceType } from './gitSource.js'; | ||
export type GitAuthType = { | ||
type: GitType; | ||
type: GitSourceType; | ||
accessToken: string; | ||
owner?: string; | ||
}; |
@@ -1,4 +0,4 @@ | ||
import { GitType } from './gitType.js'; | ||
export type GitSource = { | ||
type: GitType; | ||
export type GitSource = GithubSource | GitlabSource; | ||
export type GithubSource = { | ||
type: 'github'; | ||
owner: string; | ||
@@ -10,1 +10,11 @@ repo: string; | ||
}; | ||
export type GitlabSource = { | ||
type: 'gitlab'; | ||
projectId: number; | ||
deployBranch: string; | ||
contentDirectory: string; | ||
isPrivate: boolean; | ||
encryptedProjectPrivateToken: string; | ||
hostUrl?: string; | ||
}; | ||
export type GitSourceType = GitSource['type']; |
@@ -7,4 +7,3 @@ import { ApiPlaygroundResponseType } from './apiPlaygroundResponseType.js'; | ||
import { GitHubInstallationType } from './gitHubInstallationType.js'; | ||
import { GitSource } from './gitSource.js'; | ||
import { GitType } from './gitType.js'; | ||
import { GitSource, GithubSource, GitlabSource, GitSourceType } from './gitSource.js'; | ||
import { GrowthDataType } from './growthDataType.js'; | ||
@@ -17,2 +16,2 @@ import { InkeepType } from './inkeepType.js'; | ||
import { ServerStaticProps } from './serverStaticProps.js'; | ||
export type { ApiPlaygroundResponseType, ApiPlaygroundResultType, OpenApiFile, OpenApiMetadata, EditContext, EmbedchainType, GitAuthType, GitHubInstallationType, GitSource, GitType, GrowthDataType, InkeepType, PathType, PageMetaTags, ServerStaticProps, }; | ||
export type { ApiPlaygroundResponseType, ApiPlaygroundResultType, OpenApiFile, OpenApiMetadata, EditContext, EmbedchainType, GitAuthType, GitHubInstallationType, GitSource, GithubSource, GitlabSource, GitSourceType, GrowthDataType, InkeepType, PathType, PageMetaTags, ServerStaticProps, }; |
{ | ||
"name": "@mintlify/models", | ||
"version": "0.0.80", | ||
"version": "0.0.81", | ||
"description": "Mintlify models", | ||
@@ -61,3 +61,3 @@ "engines": { | ||
}, | ||
"gitHead": "e57660d330554dd9f17ea5c3ef5fa00ed662edba" | ||
"gitHead": "bf8bc60daf016e973093dcff49d4cbb24cc1943f" | ||
} |
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
126909
570
89