@lobehub/market-types 1.11.3 → 1.11.4

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +28 -1
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -29,6 +29,33 @@ interface TopPluginsQuery {
29
29
  /** Sort criteria: 'installs' or 'calls' */
30
30
  sortBy?: PluginSortBy;
31
31
  }
32
+ /**
33
+ * Install Failure Analysis Interface
34
+ * Defines the structure for plugin install failure analysis data
35
+ */
36
+ interface InstallFailureAnalysis {
37
+ /** Number of failed installation attempts */
38
+ failureCount: number;
39
+ /** Failure rate as a decimal (e.g., 0.2736 for 27.36%) */
40
+ failureRate: number;
41
+ /** Most common error message for this plugin */
42
+ mostCommonError: string;
43
+ /** Plugin identifier */
44
+ pluginIdentifier: string;
45
+ /** Plugin display name */
46
+ pluginName: string;
47
+ /** Total number of installation attempts (successful + failed) */
48
+ totalInstallAttempts: number;
49
+ }
50
+ /**
51
+ * Install failure analysis query parameters
52
+ */
53
+ interface InstallFailureAnalysisQuery {
54
+ /** Maximum number of plugins to return */
55
+ limit?: number;
56
+ /** Date range as [startDate, endDate] */
57
+ range: [string, string];
58
+ }
32
59
 
33
60
  /**
34
61
  * Base structure for a single resource item in the marketplace.
@@ -1086,4 +1113,4 @@ interface InstallLogEntry {
1086
1113
  version: string;
1087
1114
  }
1088
1115
 
1089
- export { type AdminDeploymentOption, type AdminPluginItem, type AdminPluginItemDetail, AdminPluginItemSchema, type AdminSystemDependency, type BasePluginItem, BasePluginItemSchema, type CallLogEntry, type CallReportRequest, type CallReportResponse, type CallStats, type CategoryItem, type CategoryListQuery, type CategoryListResponse, type ConnectionConfig, type ConnectionType, ConnectionTypeEnum, type CustomPluginInfo, type DeploymentOption, type IncompleteI18nPlugin, type InstallLogEntry, type InstallReportRequest, type InstallReportResponse, type InstallStats, type InstallationDetails, type InstallationMethod, InstallationMethodEnum, type MarketItemBase, type MarketPluginItem, PluginCapabilitiesSchema, type PluginCompatibility, type PluginConnectionType, PluginConnectionTypeEnum, type PluginItemDetail, type PluginManifest, type PluginMethodType, type PluginPrompt, type PluginResource, type PluginSortBy, type PluginTool, type PluginVersion, type PluginVersionLocalization, type PluginVersionSummary, type PromptArgument, type RangeDataPoint, type RangeQuery, type RangeStats, type SystemDependency, type TopPlugin, type TopPluginsQuery };
1116
+ export { type AdminDeploymentOption, type AdminPluginItem, type AdminPluginItemDetail, AdminPluginItemSchema, type AdminSystemDependency, type BasePluginItem, BasePluginItemSchema, type CallLogEntry, type CallReportRequest, type CallReportResponse, type CallStats, type CategoryItem, type CategoryListQuery, type CategoryListResponse, type ConnectionConfig, type ConnectionType, ConnectionTypeEnum, type CustomPluginInfo, type DeploymentOption, type IncompleteI18nPlugin, type InstallFailureAnalysis, type InstallFailureAnalysisQuery, type InstallLogEntry, type InstallReportRequest, type InstallReportResponse, type InstallStats, type InstallationDetails, type InstallationMethod, InstallationMethodEnum, type MarketItemBase, type MarketPluginItem, PluginCapabilitiesSchema, type PluginCompatibility, type PluginConnectionType, PluginConnectionTypeEnum, type PluginItemDetail, type PluginManifest, type PluginMethodType, type PluginPrompt, type PluginResource, type PluginSortBy, type PluginTool, type PluginVersion, type PluginVersionLocalization, type PluginVersionSummary, type PromptArgument, type RangeDataPoint, type RangeQuery, type RangeStats, type SystemDependency, type TopPlugin, type TopPluginsQuery };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/market-types",
3
- "version": "1.11.3",
3
+ "version": "1.11.4",
4
4
  "keywords": [
5
5
  "lobehub",
6
6
  "market",