mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-08-24 05:28:06 +00:00
feat(market): hot-searches range filters, flattened params, long-form fields
- Add --min-*/--max-* range flags to `market hot-searches` (same metric names as market trending); flatten filter fields onto each param (no nested filter object) - Document response as long-form RankItem fields (server maps shortcodes); drop the filter_id field from the documented response shape - Sync SKILL.md, cli-usage.md, Readme.md, Readme.zh.md, and OpenApiClient types Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
36771529d7
commit
bdf1996e2f
@@ -179,16 +179,18 @@ export interface TokenSignalGroup {
|
||||
max_create_or_open_ts?: string;
|
||||
}
|
||||
|
||||
export interface HotSearchesFilter {
|
||||
filters?: string[];
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
// HotSearchesParam carries its filter fields flattened (no nested `filter` object):
|
||||
// label/interval/chain plus optional `filters` boolean tags, `limit`, and rank-style
|
||||
// numeric range bounds (min_<metric>/max_<metric>) incl. min_created/max_created.
|
||||
// Extra range keys are forwarded verbatim; the service translates metric names per
|
||||
// interval. See `market hot-searches` docs for the supported metric list.
|
||||
export interface HotSearchesParam {
|
||||
label?: string;
|
||||
interval: string; // "1m" | "5m" | "1h" | "6h" | "24h"
|
||||
chain: string; // "sol" | "bsc" | "base" | "eth" | "monad" | "megaeth" | "hyperevm" | "tron"
|
||||
filter?: HotSearchesFilter;
|
||||
filters?: string[];
|
||||
limit?: number;
|
||||
[key: string]: string[] | number | string | undefined;
|
||||
}
|
||||
|
||||
export interface PumpFeeShareInfo {
|
||||
|
||||
Reference in New Issue
Block a user