refactor: remove DEFAULT_LIST_LIMIT from core, add changeset
- Core layer: limit=undefined means no limit (return all) - CLI layer: default limit 100 in parseListOptions() - Remove Number.MAX_SAFE_INTEGER sentinel usages - Add changeset for breaking list return type change Addresses review feedback from 小墨
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"@ocas/core": minor
|
||||
"@ocas/fs": minor
|
||||
"@ocas/cli": minor
|
||||
---
|
||||
|
||||
**Breaking:** `listByType()`, `listMeta()`, `listSchemas()` now return `ListEntry[]` (with `hash`, `created`, `updated`) instead of `Hash[]`. All list commands support `--sort`, `--limit`, `--offset`, `--desc` flags. `var list` supports the same pagination options via SQL.
|
||||
Reference in New Issue
Block a user