-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy path_register.ts
More file actions
94 lines (88 loc) · 3.17 KB
/
_register.ts
File metadata and controls
94 lines (88 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import type { BuiltApifyCommand } from '../lib/command-framework/apify-command.js';
import { ActorIndexCommand } from './actor/_index.js';
import { ActorCalculateMemoryCommand } from './actor/calculate-memory.js';
import { ActorChargeCommand } from './actor/charge.js';
import { ActorGenerateSchemaTypesCommand } from './actor/generate-schema-types.js';
import { ActorGetInputCommand } from './actor/get-input.js';
import { ActorGetPublicUrlCommand } from './actor/get-public-url.js';
import { ActorGetValueCommand } from './actor/get-value.js';
import { ActorPushDataCommand } from './actor/push-data.js';
import { ActorSetValueCommand } from './actor/set-value.js';
import { ActorsIndexCommand } from './actors/_index.js';
import { ApiCommand } from './api.js';
import { AuthIndexCommand } from './auth/_index.js';
import { BuildsIndexCommand } from './builds/_index.js';
import { TopLevelCallCommand } from './call.js';
import { InstallCommand } from './cli-management/install.js';
import { UpgradeCommand } from './cli-management/upgrade.js';
import { CreateCommand } from './create.js';
import { DatasetsIndexCommand } from './datasets/_index.js';
import { EditInputSchemaCommand } from './edit-input-schema.js';
import { HelpCommand } from './help.js';
import { InfoCommand } from './info.js';
import { WrapScrapyCommand } from './init-wrap-scrapy.js';
import { InitCommand } from './init.js';
import { KeyValueStoresIndexCommand } from './key-value-stores/_index.js';
import { LoginCommand } from './login.js';
import { LogoutCommand } from './logout.js';
import { MCPIndexCommand } from './mcp/_index.js';
import { TopLevelPullCommand } from './pull.js';
import { ToplevelPushCommand } from './push.js';
import { RequestQueuesIndexCommand } from './request-queues/_index.js';
import { RunCommand } from './run.js';
import { RunsIndexCommand } from './runs/_index.js';
import { SecretsIndexCommand } from './secrets/_index.js';
import { TasksIndexCommand } from './task/_index.js';
import { TelemetryIndexCommand } from './telemetry/_index.js';
import { ValidateSchemaCommand } from './validate-schema.js';
export const apifyCommands = [
// namespaces
ActorIndexCommand,
ActorsIndexCommand,
AuthIndexCommand,
BuildsIndexCommand,
DatasetsIndexCommand,
KeyValueStoresIndexCommand,
MCPIndexCommand,
RequestQueuesIndexCommand,
RunsIndexCommand,
SecretsIndexCommand,
TasksIndexCommand,
TelemetryIndexCommand,
// top-level
ApiCommand,
TopLevelCallCommand,
UpgradeCommand,
InstallCommand,
CreateCommand,
EditInputSchemaCommand,
InfoCommand,
WrapScrapyCommand,
InitCommand,
LoginCommand,
LogoutCommand,
TopLevelPullCommand,
ToplevelPushCommand,
RunCommand,
ValidateSchemaCommand,
HelpCommand,
// test commands
// (await import('./_testCommands/_FlagTests.js')).FlagTest,
] as const satisfies (typeof BuiltApifyCommand)[];
export const actorCommands = [
//
ActorSetValueCommand,
ActorPushDataCommand,
ActorGetValueCommand,
ActorGetPublicUrlCommand,
ActorGetInputCommand,
ActorChargeCommand,
ActorCalculateMemoryCommand,
ActorGenerateSchemaTypesCommand,
// top-level
HelpCommand,
UpgradeCommand,
InstallCommand,
// namespaces
TelemetryIndexCommand,
] as const satisfies (typeof BuiltApifyCommand)[];