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