@verbatims/cli 0.1.4 → 0.1.6
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/package.json +1 -1
- package/src/utils/browse.ts +1 -1
- package/src/utils/format.ts +1 -1
package/package.json
CHANGED
package/src/utils/browse.ts
CHANGED
|
@@ -32,7 +32,7 @@ export async function browse(fetchPage: PageFetcher, format: Format): Promise<vo
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
const allKeys = Object.keys(items[0] as Record<string, unknown>)
|
|
35
|
-
const keyOrder = ['id', 'content', 'name', 'language', 'type', 'author', 'reference']
|
|
35
|
+
const keyOrder = ['id', 'content', 'name', 'language', 'type', 'author', 'reference', 'quotes_count']
|
|
36
36
|
const columns = keyOrder
|
|
37
37
|
.filter((k) => allKeys.includes(k))
|
|
38
38
|
.map((k) => ({ key: k, label: k }))
|
package/src/utils/format.ts
CHANGED
|
@@ -137,7 +137,7 @@ export function output(data: unknown, format: Format): void {
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
const allKeys = Object.keys(data[0] as Record<string, unknown>)
|
|
140
|
-
const keyOrder = ['id', 'content', 'name', 'language', 'type', 'author', 'reference']
|
|
140
|
+
const keyOrder = ['id', 'content', 'name', 'language', 'type', 'author', 'reference', 'quotes_count']
|
|
141
141
|
const columns = keyOrder
|
|
142
142
|
.filter((k) => allKeys.includes(k))
|
|
143
143
|
.map((k) => ({ key: k, label: k }))
|