@postmcp/types 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +14 -1
- package/dist/index.d.ts +14 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -153,6 +153,19 @@ interface AuthConfig {
|
|
|
153
153
|
allowedExternalHosts?: string[];
|
|
154
154
|
allowCrossOriginAuth?: boolean;
|
|
155
155
|
}
|
|
156
|
+
interface SandboxAuthConfig {
|
|
157
|
+
bearerToken?: string;
|
|
158
|
+
headers?: Record<string, string>;
|
|
159
|
+
apiKey?: {
|
|
160
|
+
name: string;
|
|
161
|
+
value: string;
|
|
162
|
+
in?: 'header' | 'query' | 'cookie';
|
|
163
|
+
};
|
|
164
|
+
customFields?: Array<{
|
|
165
|
+
key: string;
|
|
166
|
+
value: string;
|
|
167
|
+
}>;
|
|
168
|
+
}
|
|
156
169
|
interface AsyncPollResult {
|
|
157
170
|
response: AxiosResponse;
|
|
158
171
|
timedOut: boolean;
|
|
@@ -332,4 +345,4 @@ interface StudioCommandOptions {
|
|
|
332
345
|
noOpen?: boolean;
|
|
333
346
|
}
|
|
334
347
|
|
|
335
|
-
export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SecurityScheme, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|
|
348
|
+
export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SandboxAuthConfig, SecurityScheme, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,19 @@ interface AuthConfig {
|
|
|
153
153
|
allowedExternalHosts?: string[];
|
|
154
154
|
allowCrossOriginAuth?: boolean;
|
|
155
155
|
}
|
|
156
|
+
interface SandboxAuthConfig {
|
|
157
|
+
bearerToken?: string;
|
|
158
|
+
headers?: Record<string, string>;
|
|
159
|
+
apiKey?: {
|
|
160
|
+
name: string;
|
|
161
|
+
value: string;
|
|
162
|
+
in?: 'header' | 'query' | 'cookie';
|
|
163
|
+
};
|
|
164
|
+
customFields?: Array<{
|
|
165
|
+
key: string;
|
|
166
|
+
value: string;
|
|
167
|
+
}>;
|
|
168
|
+
}
|
|
156
169
|
interface AsyncPollResult {
|
|
157
170
|
response: AxiosResponse;
|
|
158
171
|
timedOut: boolean;
|
|
@@ -332,4 +345,4 @@ interface StudioCommandOptions {
|
|
|
332
345
|
noOpen?: boolean;
|
|
333
346
|
}
|
|
334
347
|
|
|
335
|
-
export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SecurityScheme, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|
|
348
|
+
export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SandboxAuthConfig, SecurityScheme, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|