Add `outdated` and `recentlyUpdated` suggestions to extension filter (#235884)

pull/236634/head
RedCMD 2024-12-20 07:54:50 +13:00 committed by GitHub
parent fe68aa5447
commit d34e04970c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()}"`),