Skip to content

Commit

Permalink
feat: publish fc component v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SquatsTonight committed Jun 4, 2021
1 parent 9b7ee93 commit cda9c19
Show file tree
Hide file tree
Showing 22 changed files with 529 additions and 31 deletions.
16 changes: 13 additions & 3 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ export default class FcBaseComponent {
logger: core.ILogger;
handlerInputs(inputs: IInputs): any;
report(componentName: string, command: string, accountID?: string, access?: string): Promise<void>;
handlerComponentInputs(inputs: IInputs, componentName: string): any;
deploy(inputs: IInputs): Promise<void>;
remove(inputs: IInputs): Promise<void>;
handlerComponentInputs(inputs: IInputs, componentName?: string): any;
componentMethodCaller(inputs: IInputs, componentName: string, methodName: string, props: any, args: string): Promise<any>;
deploy(inputs: IInputs): Promise<any>;
remove(inputs: IInputs): Promise<any>;
info(inputs: IInputs): Promise<any>;
sync(inputs: IInputs): Promise<any>;
build(inputs: IInputs): Promise<any>;
local(inputs: IInputs): Promise<any>;
invoke(inputs: IInputs): Promise<any>;
logs(inputs: IInputs): Promise<any>;
metrics(inputs: IInputs): Promise<any>;
nas(inputs: IInputs): Promise<void>;
help(): void;
}
288 changes: 269 additions & 19 deletions dist/index.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/lib/interface/component/fc-info.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface FcInfoProps {
region: string;
serviceName: string;
functionName?: string;
triggerNames?: string[];
}
3 changes: 3 additions & 0 deletions dist/lib/interface/component/fc-info.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/lib/interface/component/fc-metrics.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface FcMetricsProps {
region: string;
serviceName: string;
functionName: string;
}
3 changes: 3 additions & 0 deletions dist/lib/interface/component/fc-metrics.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/lib/interface/component/fc-remote-invoke.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface FcSyncProps {
region: string;
serviceName: string;
functionName: string;
qualifier?: string;
}
3 changes: 3 additions & 0 deletions dist/lib/interface/component/fc-remote-invoke.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/lib/interface/component/fc-sync.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface FcSyncProps {
region: string;
serviceName: string;
functionName?: string;
}
3 changes: 3 additions & 0 deletions dist/lib/interface/component/fc-sync.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/lib/interface/component/logs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { LogConfig } from '../sls';
export interface LogsProps {
region: string;
logConfig: LogConfig;
topic: string;
query: string;
}
3 changes: 3 additions & 0 deletions dist/lib/interface/component/logs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/lib/interface/sls.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export interface LogConfig {
project: string;
logstore: string;
}
export declare function isLogConfig(args: any): args is LogConfig;
7 changes: 6 additions & 1 deletion dist/lib/interface/sls.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/lib/static.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions dist/lib/tarnsform-nas.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default function toNas(props: any, nonOptionsArgs: any, args: any, access: any): Promise<{
tarnsformArgs: any;
payload: {
regionId: any;
serviceName: string;
description: string;
vpcId: any;
vSwitchId: any;
securityGroupId: any;
role: any;
userId: any;
groupId: any;
mountPointDomain: any;
nasDir: any;
};
}>;
Loading

0 comments on commit cda9c19

Please sign in to comment.