Add `outdated` and `recentlyUpdated` suggestions to extension filter (#235884)
parent
fe68aa5447
commit
d34e04970c
|
@ -12,7 +12,7 @@ export class Query {
|
|||
}
|
||||
|
||||
static suggestions(query: string): string[] {
|
||||
const commands = ['installed', 'updates', 'enabled', 'disabled', 'builtin', 'featured', 'popular', 'recommended', 'recentlyPublished', 'workspaceUnsupported', 'deprecated', 'sort', 'category', 'tag', 'ext', 'id'] as const;
|
||||
const commands = ['installed', 'updates', 'enabled', 'disabled', 'builtin', 'featured', 'popular', 'recommended', 'recentlyPublished', 'workspaceUnsupported', 'deprecated', 'sort', 'category', 'tag', 'ext', 'id', 'outdated', 'recentlyUpdated'] as const;
|
||||
const subcommands = {
|
||||
'sort': ['installs', 'rating', 'name', 'publishedDate', 'updateDate'],
|
||||
'category': EXTENSION_CATEGORIES.map(c => `"${c.toLowerCase()}"`),
|
||||
|
|
Loading…
Reference in New Issue