@mintlify/models
Advanced tools
Comparing version 0.0.104 to 0.0.105
@@ -18,4 +18,7 @@ export type ApiConfig = { | ||
example?: { | ||
showOptionalParams: boolean; | ||
showOptionalParams?: boolean; | ||
languages?: RequestExampleLanguages; | ||
}; | ||
}; | ||
export declare const requestExampleLanguages: readonly ["bash", "python", "javascript", "php", "go", "java"]; | ||
export type RequestExampleLanguages = ((typeof requestExampleLanguages)[number] | string)[]; |
@@ -1,1 +0,8 @@ | ||
export {}; | ||
export const requestExampleLanguages = [ | ||
'bash', | ||
'python', | ||
'javascript', | ||
'php', | ||
'go', | ||
'java', | ||
]; |
@@ -0,1 +1,2 @@ | ||
import { requestExampleLanguages } from './apiConfig.js'; | ||
import { ConfigType } from './config.js'; | ||
@@ -17,3 +18,3 @@ import { IconType, iconTypes } from './iconTypes.js'; | ||
export type { Anchor, TopAnchor, AnchorOrTab } from './anchor.js'; | ||
export type { ApiConfig } from './apiConfig.js'; | ||
export type { ApiConfig, RequestExampleLanguages } from './apiConfig.js'; | ||
export type { AnchorColor, Colors, Gradient } from './colors.js'; | ||
@@ -28,3 +29,3 @@ export type { FeedbackType, MetadataType, ModeToggleType, RedirectType, SearchType, VersionType, } from './config.js'; | ||
export type { PrimaryTab, Tab } from './tab.js'; | ||
export { iconTypes, themes }; | ||
export { iconTypes, themes, requestExampleLanguages }; | ||
export type { ConfigType, IconType, ThemeType }; |
@@ -0,3 +1,4 @@ | ||
import { requestExampleLanguages } from './apiConfig.js'; | ||
import { iconTypes } from './iconTypes.js'; | ||
import { themes } from './theme.js'; | ||
export { iconTypes, themes }; | ||
export { iconTypes, themes, requestExampleLanguages }; |
{ | ||
"name": "@mintlify/models", | ||
"version": "0.0.104", | ||
"version": "0.0.105", | ||
"description": "Mintlify models", | ||
@@ -61,3 +61,3 @@ "engines": { | ||
}, | ||
"gitHead": "8441ea3a7b5f0d7638d39edfdb2ac60e3053f327" | ||
"gitHead": "a84cbaa05f13a02a129d1350e79a9234544f04e6" | ||
} |
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
138327
654