mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor: 🚨 Always explicitely state member accessibility
This commit is contained in:
parent
7a73b8db91
commit
54cea29ce9
36 changed files with 227 additions and 196 deletions
|
|
@ -5,7 +5,7 @@ import { BaseCommand } from "~/cli/base";
|
|||
import { config } from "~/packages/config-manager";
|
||||
|
||||
export default class IndexRebuild extends BaseCommand<typeof IndexRebuild> {
|
||||
static override args = {
|
||||
public static override args = {
|
||||
type: Args.string({
|
||||
description: "Index category to rebuild",
|
||||
options: ["accounts", "statuses"],
|
||||
|
|
@ -13,11 +13,11 @@ export default class IndexRebuild extends BaseCommand<typeof IndexRebuild> {
|
|||
}),
|
||||
};
|
||||
|
||||
static override description = "Rebuild search indexes";
|
||||
public static override description = "Rebuild search indexes";
|
||||
|
||||
static override examples = ["<%= config.bin %> <%= command.id %>"];
|
||||
public static override examples = ["<%= config.bin %> <%= command.id %>"];
|
||||
|
||||
static override flags = {
|
||||
public static override flags = {
|
||||
"batch-size": Flags.integer({
|
||||
char: "b",
|
||||
description: "Number of items to process in each batch",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue