@postmcp/types 0.1.26 → 0.1.27
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 +4 -3
- package/dist/index.d.ts +4 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -359,9 +359,10 @@ interface GenerateCommandOptions {
|
|
|
359
359
|
target?: string;
|
|
360
360
|
out?: string;
|
|
361
361
|
}
|
|
362
|
+
type SupportedExportClient = 'cursor' | 'claude' | 'windsurf' | 'opencode' | 'claude-code' | 'codex';
|
|
362
363
|
interface ExportCommandOptions {
|
|
363
|
-
target?:
|
|
364
|
-
client?:
|
|
364
|
+
target?: SupportedExportClient | 'all' | string;
|
|
365
|
+
client?: SupportedExportClient | 'all' | string;
|
|
365
366
|
write?: boolean;
|
|
366
367
|
env?: string[];
|
|
367
368
|
bearer?: string;
|
|
@@ -372,4 +373,4 @@ interface StudioCommandOptions {
|
|
|
372
373
|
noOpen?: boolean;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
|
-
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, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|
|
376
|
+
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, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, SupportedExportClient, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -359,9 +359,10 @@ interface GenerateCommandOptions {
|
|
|
359
359
|
target?: string;
|
|
360
360
|
out?: string;
|
|
361
361
|
}
|
|
362
|
+
type SupportedExportClient = 'cursor' | 'claude' | 'windsurf' | 'opencode' | 'claude-code' | 'codex';
|
|
362
363
|
interface ExportCommandOptions {
|
|
363
|
-
target?:
|
|
364
|
-
client?:
|
|
364
|
+
target?: SupportedExportClient | 'all' | string;
|
|
365
|
+
client?: SupportedExportClient | 'all' | string;
|
|
365
366
|
write?: boolean;
|
|
366
367
|
env?: string[];
|
|
367
368
|
bearer?: string;
|
|
@@ -372,4 +373,4 @@ interface StudioCommandOptions {
|
|
|
372
373
|
noOpen?: boolean;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
|
-
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, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|
|
376
|
+
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, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, SupportedExportClient, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
|