1 | import BaseCommand from '../../base-command';
|
2 | export default class PackFunctions extends BaseCommand {
|
3 | static description: string;
|
4 | static aliases: string[];
|
5 | static hidden: boolean;
|
6 | static flags: {
|
7 | help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
|
8 | path: import("@oclif/command/lib/flags").IOptionFlag<string | undefined>;
|
9 | silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
10 | };
|
11 | static args: {
|
12 | name: string;
|
13 | required: boolean;
|
14 | }[];
|
15 | run(): Promise<void>;
|
16 | retrieveAuthConfig(config: {
|
17 | functions: Record<string, string>[];
|
18 | }): Promise<TBearerConfig>;
|
19 | retrieveFunctions(): Promise<TFunctionNames>;
|
20 | }
|
21 | declare type TFunctionNames = string[];
|
22 | declare type TBearerConfig = {
|
23 | functions: Record<string, string>[];
|
24 | auth?: any;
|
25 | };
|
26 | declare type TLambdaDefinition = {
|
27 | config: {
|
28 | functions: Record<string, string>[];
|
29 | };
|
30 | handlers: string;
|
31 | };
|
32 | export declare function buildLambdaDefinitions(functions: TFunctionNames): TLambdaDefinition;
|
33 | export {};
|