Skip to content

Commit

Permalink
refactor: version 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wss-git committed Jun 16, 2021
1 parent 6f30f41 commit 229ef08
Show file tree
Hide file tree
Showing 8 changed files with 268 additions and 49 deletions.
8 changes: 4 additions & 4 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import * as core from '@serverless-devs/core';
import { IInputs } from './lib/interface/interface';
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;
componentMethodCaller(inputs: IInputs, componentName: string, methodName: string, props: any, args: string): Promise<any>;
private handlerInputs;
private report;
private handlerComponentInputs;
private componentMethodCaller;
deploy(inputs: IInputs): Promise<any>;
remove(inputs: IInputs): Promise<any>;
info(inputs: IInputs): Promise<any>;
Expand Down
68 changes: 34 additions & 34 deletions dist/index.js

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions dist/lib/static.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,35 @@ export declare const LOGS_HELP_INFO: ({
}[];
optionList?: undefined;
})[];
export declare const METRICS_HELP_INFO: ({
header: string;
content: string;
optionList?: undefined;
} | {
header: string;
optionList: {
name: string;
description: string;
defaultOption: boolean;
type: StringConstructor;
}[];
content?: undefined;
} | {
header: string;
optionList: {
name: string;
description: string;
alias: string;
type: BooleanConstructor;
}[];
content?: undefined;
} | {
header: string;
content: {
example: string;
}[];
optionList?: undefined;
})[];
export declare const NAS_HELP_INFO: ({
header: string;
content: string;
Expand Down Expand Up @@ -290,3 +319,33 @@ export declare const LOCAL_START_HELP_INFO: ({
content: string[];
optionList?: undefined;
})[];
export declare const BUILD_HELP_INFO: ({
header: string;
content: string;
optionList?: undefined;
} | {
header: string;
content: {
example: string;
}[];
optionList?: undefined;
} | {
header: string;
optionList: {
name: string;
description: string;
alias: string;
defaultOption: boolean;
type: StringConstructor;
}[];
content?: undefined;
} | {
header: string;
optionList: {
name: string;
description: string;
alias: string;
type: BooleanConstructor;
}[];
content?: undefined;
})[];
153 changes: 146 additions & 7 deletions dist/lib/static.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/lib/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
export declare function isAutoConfig(config: any): boolean;
export declare function genServiceStateID(accountID: any, region: any, serviceName: any): string;
export declare function getFcNames(argsParse: any, inputsProps: any): {
region: any;
serviceName: any;
functionName: any;
};
20 changes: 18 additions & 2 deletions dist/lib/utils.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fc",
"version": "0.1.3",
"version": "0.1.4",
"main": "./dist/index.js",
"dependencies": {
"@serverless-devs/core": "^0.0.*",
Expand Down
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Component
Name: fc
Provider:
- 阿里云
Version: 0.1.3
Version: 0.1.4
Description: 阿里云函数计算基础组件
HomePage: https://github.com/devsapp/fc
Tags:
Expand Down

0 comments on commit 229ef08

Please sign in to comment.