@mintlify/http-client
Advanced tools
Comparing version 0.0.181 to 0.0.182
import type { ServerStaticProps } from '@mintlify/models'; | ||
import { BaseClient } from '../client/index.js'; | ||
import { LlmsTxtResponseType } from './types.js'; | ||
import { LlmsTxtResponseType, LoginMetadataResponseType } from './types.js'; | ||
export declare class LeavesClient extends BaseClient { | ||
@@ -11,2 +11,3 @@ readonly subdomain: string; | ||
getLlmsTxt(): Promise<LlmsTxtResponseType>; | ||
getLoginMetadata(): Promise<LoginMetadataResponseType>; | ||
} | ||
@@ -13,0 +14,0 @@ export declare const getLeavesClient: (subdomain: string, host?: string, reqInit?: { |
@@ -24,2 +24,6 @@ import { BaseClient } from '../client/index.js'; | ||
} | ||
getLoginMetadata() { | ||
const path = this.getPath('client', 'login-metadata', this.subdomain); | ||
return this.json(path); | ||
} | ||
} | ||
@@ -26,0 +30,0 @@ export const getLeavesClient = (subdomain, host = ENDPOINT, reqInit = { headers: HEADERS }) => new LeavesClient(subdomain, host, reqInit); |
@@ -1,2 +0,2 @@ | ||
import { CustomerPageType, DeploymentType } from '@mintlify/models'; | ||
import { CustomerPageType, DeploymentType, MintConfig } from '@mintlify/models'; | ||
export type PagePropsResponseType = CustomerPageType & DeploymentType & { | ||
@@ -21,2 +21,7 @@ redirect?: { | ||
}; | ||
export type LoginMetadataResponseType = { | ||
mintConfig: MintConfig; | ||
} | { | ||
redirect: string; | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@mintlify/http-client", | ||
"version": "0.0.181", | ||
"version": "0.0.182", | ||
"type": "module", | ||
@@ -62,3 +62,3 @@ "description": "The Mintlify http client package", | ||
}, | ||
"gitHead": "9fc60e589121e3ccc0dd5f6861e236b81ceae5c0" | ||
"gitHead": "108cae93de8a2e2dc86560c52bbe400b2d963a20" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
83562
490