@lobehub/market-types 1.11.5 → 1.12.2
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 +35 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -60,6 +60,23 @@ interface CategoryItem {
|
|
|
60
60
|
*/
|
|
61
61
|
type CategoryListResponse = CategoryItem[];
|
|
62
62
|
|
|
63
|
+
/**
|
|
64
|
+
* Agent event tracking types
|
|
65
|
+
*
|
|
66
|
+
* These types describe the payload used when recording user agent events such as
|
|
67
|
+
* adding, chatting with, or clicking an agent card.
|
|
68
|
+
*/
|
|
69
|
+
type AgentEventType = 'add' | 'chat' | 'click';
|
|
70
|
+
/** Payload for recording an agent event */
|
|
71
|
+
interface AgentEventRequest {
|
|
72
|
+
/** Event name */
|
|
73
|
+
event: AgentEventType;
|
|
74
|
+
/** Agent identifier */
|
|
75
|
+
identifier: string;
|
|
76
|
+
/** Optional event source */
|
|
77
|
+
source?: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
63
80
|
/**
|
|
64
81
|
* Agent resource item definition that extends the base marketplace structure.
|
|
65
82
|
*
|
|
@@ -927,6 +944,23 @@ interface RangeQuery {
|
|
|
927
944
|
range: [string, string];
|
|
928
945
|
}
|
|
929
946
|
|
|
947
|
+
/**
|
|
948
|
+
* Plugin event tracking types
|
|
949
|
+
*
|
|
950
|
+
* These types describe the payload used when recording user plugin events such as
|
|
951
|
+
* installs, activations, uninstalls, or clicks.
|
|
952
|
+
*/
|
|
953
|
+
type PluginEventType = 'install' | 'activate' | 'uninstall' | 'click';
|
|
954
|
+
/** Payload for recording a plugin event */
|
|
955
|
+
interface PluginEventRequest {
|
|
956
|
+
/** Event name */
|
|
957
|
+
event: PluginEventType;
|
|
958
|
+
/** Plugin identifier */
|
|
959
|
+
identifier: string;
|
|
960
|
+
/** Optional event source */
|
|
961
|
+
source?: string;
|
|
962
|
+
}
|
|
963
|
+
|
|
930
964
|
/**
|
|
931
965
|
* Plugin Call Report Types
|
|
932
966
|
*
|
|
@@ -1192,4 +1226,4 @@ interface InstallLogEntry {
|
|
|
1192
1226
|
version: string;
|
|
1193
1227
|
}
|
|
1194
1228
|
|
|
1195
|
-
export { type AdminDeploymentOption, type AdminPluginItem, type AdminPluginItemDetail, AdminPluginItemSchema, type AdminSystemDependency, type AgentItem, type BasePluginItem, BasePluginItemSchema, type CallLogEntry, type CallReportRequest, type CallReportResponse, type CallStats, type CategoryItem, type CategoryListQuery, type CategoryListResponse, type CloudGatewayErrorResponse, type CloudGatewayRequest, type CloudGatewayResponse, 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, type McpToolContent, 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 };
|
|
1229
|
+
export { type AdminDeploymentOption, type AdminPluginItem, type AdminPluginItemDetail, AdminPluginItemSchema, type AdminSystemDependency, type AgentEventRequest, type AgentEventType, type AgentItem, type BasePluginItem, BasePluginItemSchema, type CallLogEntry, type CallReportRequest, type CallReportResponse, type CallStats, type CategoryItem, type CategoryListQuery, type CategoryListResponse, type CloudGatewayErrorResponse, type CloudGatewayRequest, type CloudGatewayResponse, 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, type McpToolContent, PluginCapabilitiesSchema, type PluginCompatibility, type PluginConnectionType, PluginConnectionTypeEnum, type PluginEventRequest, type PluginEventType, 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 };
|