@apistudio/apim-cli
Version:
CLI for API Management Products
27 lines • 848 B
TypeScript
export * from "./runtime/wmgw_runtimeinventry.js";
export * from "./api-model-kinds_generated.js";
export * from "./api-model-kinds-exports.js";
/**
* Represents an inventory item
*/
export interface InventoryItem {
id: string;
name: string;
description?: string;
quantity: number;
category?: string;
}
/**
* Sample function for inventory package
* @param item - Inventory item to process
* @returns Processed inventory item
*/
export declare function processInventoryItem(item: InventoryItem): InventoryItem;
/**
* Gets inventory items by category
* @param items - List of inventory items
* @param category - Category to filter by
* @returns Filtered list of inventory items
*/
export declare function getItemsByCategory(items: InventoryItem[], category: string): InventoryItem[];
//# sourceMappingURL=index.d.ts.map