Skip to content

Commit

Permalink
refactor: version 0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
wss-git committed Jul 8, 2021
1 parent e7e7f72 commit d6f23e2
Show file tree
Hide file tree
Showing 29 changed files with 979 additions and 471 deletions.
10 changes: 10 additions & 0 deletions dist/common/logger.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export default class ComponentLogger {
private static CONTENT;
static setContent(content: any): void;
static log(m: any, color?: 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'whiteBright' | 'gray'): void;
static info(m: any): void;
static debug(m: any): void;
static error(m: any): void;
static warning(m: any): void;
static success(m: any): void;
}
32 changes: 32 additions & 0 deletions dist/common/logger.js

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

22 changes: 16 additions & 6 deletions dist/constant.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
declare const _default: {
CONTEXT: string;
DOMAIN: string;
HINT: {
loading: string;
success: string;
error: string;
};
RETRYOPTIONS: {
retries: number;
factor: number;
Expand All @@ -28,5 +22,21 @@ declare const _default: {
}[];
optionList?: undefined;
})[];
JAM_STACK_HELP: ({
header: string;
optionList: {
name: string;
description: string;
alias: string;
type: BooleanConstructor;
}[];
content?: undefined;
} | {
header: string;
content: {
example: string;
}[];
optionList?: undefined;
})[];
};
export default _default;
30 changes: 23 additions & 7 deletions dist/constant.js

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

4 changes: 2 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ILogger } from '@serverless-devs/core';
import { IInputs } from './interface';
export default class Compoent {
logger: ILogger;
get(inputs: IInputs): Promise<string>;
jamstack(inputs: IInputs): Promise<any>;
private hanlderInputs;
}
Loading

0 comments on commit d6f23e2

Please sign in to comment.