@lobehub/market-types 1.5.0 → 1.6.0
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 +29 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -31,6 +31,34 @@ interface MarketItemBase {
|
|
|
31
31
|
/** Resource's last update date in the marketplace (ISO 8601 format) */
|
|
32
32
|
updatedAt: string;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Category list request query parameters
|
|
36
|
+
*
|
|
37
|
+
* Query parameters for retrieving category statistics with optional filtering.
|
|
38
|
+
*/
|
|
39
|
+
interface CategoryListQuery {
|
|
40
|
+
/** Optional locale for localized search, defaults to 'en-US' */
|
|
41
|
+
locale?: string;
|
|
42
|
+
/** Optional search query to filter plugins before counting categories */
|
|
43
|
+
q?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Single category item with plugin count
|
|
47
|
+
*
|
|
48
|
+
* Represents a category and the number of plugins in that category.
|
|
49
|
+
*/
|
|
50
|
+
interface CategoryItem {
|
|
51
|
+
/** Category name */
|
|
52
|
+
category: string;
|
|
53
|
+
/** Number of plugins in this category */
|
|
54
|
+
count: number;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Category list response type
|
|
58
|
+
*
|
|
59
|
+
* Array of categories with their respective plugin counts.
|
|
60
|
+
*/
|
|
61
|
+
type CategoryListResponse = CategoryItem[];
|
|
34
62
|
|
|
35
63
|
/**
|
|
36
64
|
* Connection types for plugin communication.
|
|
@@ -669,4 +697,4 @@ interface AdminSystemDependency extends SystemDependency {
|
|
|
669
697
|
id: number;
|
|
670
698
|
}
|
|
671
699
|
|
|
672
|
-
export { type AdminDeploymentOption, type AdminPluginItem, type AdminPluginItemDetail, AdminPluginItemSchema, type AdminSystemDependency, type BasePluginItem, BasePluginItemSchema, type ConnectionConfig, type ConnectionType, ConnectionTypeEnum, type DeploymentOption, type InstallationDetails, type InstallationMethod, InstallationMethodEnum, type MarketItemBase, type MarketPluginItem, PluginCapabilitiesSchema, type PluginCompatibility, type PluginConnectionType, PluginConnectionTypeEnum, type PluginItemDetail, type PluginManifest, type PluginPrompt, type PluginResource, type PluginTool, type PluginVersion, type PluginVersionSummary, type PromptArgument, type SystemDependency };
|
|
700
|
+
export { type AdminDeploymentOption, type AdminPluginItem, type AdminPluginItemDetail, AdminPluginItemSchema, type AdminSystemDependency, type BasePluginItem, BasePluginItemSchema, type CategoryItem, type CategoryListQuery, type CategoryListResponse, type ConnectionConfig, type ConnectionType, ConnectionTypeEnum, type DeploymentOption, type InstallationDetails, type InstallationMethod, InstallationMethodEnum, type MarketItemBase, type MarketPluginItem, PluginCapabilitiesSchema, type PluginCompatibility, type PluginConnectionType, PluginConnectionTypeEnum, type PluginItemDetail, type PluginManifest, type PluginPrompt, type PluginResource, type PluginTool, type PluginVersion, type PluginVersionSummary, type PromptArgument, type SystemDependency };
|