-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from HammCn/dev
release(v2.3.4): 发布了`v2.3.4`版本
- Loading branch information
Showing
26 changed files
with
338 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
/** | ||
* # `AirPower` 内置常量 | ||
* | ||
* @author Hamm.cn | ||
*/ | ||
export class AirConstant { | ||
/** | ||
* ## `id` | ||
*/ | ||
static readonly ID = 'id' | ||
|
||
/** | ||
* ## `http://` | ||
*/ | ||
static readonly PREFIX_HTTP = 'http://' | ||
|
||
/** | ||
* ## `https://` | ||
*/ | ||
static readonly PREFIX_HTTPS = 'https://' | ||
|
||
/** | ||
* ## 空字符串 | ||
*/ | ||
static readonly EMPTY_STRING = '' | ||
|
||
/** | ||
* ## `Content-Type` | ||
*/ | ||
static readonly CONTENT_TYPE = 'Content-Type' | ||
|
||
/** | ||
* ## 半角问号 `?` | ||
*/ | ||
static readonly QUESTION_MARK = '?' | ||
|
||
/** | ||
* ## 连接符号 `&` | ||
*/ | ||
static readonly AND_MARK = '&' | ||
|
||
/** | ||
* ## `AirModel` | ||
*/ | ||
static readonly AIR_MODEL = 'AirModel' | ||
|
||
/** | ||
* ## 下划线 `_` | ||
*/ | ||
static readonly UNDER_LINE = '_' | ||
|
||
/** | ||
* ## 默认进制 | ||
*/ | ||
static readonly DEFAULT_RADIX = 10 | ||
|
||
/** | ||
* ## `.` 点 | ||
*/ | ||
static readonly DOT = '.' | ||
|
||
/** | ||
* ## `children` | ||
*/ | ||
static readonly CHILDREN = 'children' | ||
|
||
/** | ||
* ## `'0'` | ||
*/ | ||
static readonly ZERO_STRING = '0' | ||
|
||
/** | ||
* ## 半角逗号 `,` | ||
*/ | ||
static readonly COMMA = ',' | ||
|
||
/** | ||
* ## 横线 `-` | ||
*/ | ||
static readonly HYPHEN = '-' | ||
|
||
/** | ||
* ## 时间进制 | ||
*/ | ||
static readonly TIME_RADIX = 60 | ||
|
||
/** | ||
* ## 千 | ||
*/ | ||
static readonly THOUSAND = 1000 | ||
|
||
/** | ||
* ## 1024 | ||
* 😄 | ||
*/ | ||
static readonly ONE_ZERO_TWO_FOUR = 1024 | ||
|
||
/** | ||
* ## 每月最大天数 | ||
*/ | ||
static readonly DAY_OF_MONTH = 31 | ||
|
||
/** | ||
* ## 每年月份 | ||
*/ | ||
static readonly MONTH_OF_YEAR = 12 | ||
|
||
/** | ||
* ## 每年天数 | ||
*/ | ||
static readonly DAY_OF_YEAR = 365 | ||
|
||
/** | ||
* ## 每周天数 | ||
*/ | ||
static readonly DAY_OF_WEEK = 7 | ||
|
||
/** | ||
* ## 每年平均周 | ||
*/ | ||
static readonly WEEK_OF_YEAR = 52 | ||
|
||
/** | ||
* ## 每月平均周 | ||
*/ | ||
static readonly WEEK_OF_MONTH = 4 | ||
|
||
/** | ||
* ## 每天秒数 | ||
*/ | ||
static readonly SECONDS_OF_DAY = 86400 | ||
|
||
/** | ||
* ## 一世纪年数 | ||
*/ | ||
static readonly YEARS_OF_CENTURY = 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* eslint-disable no-unused-vars */ | ||
/** | ||
* # 常见键盘值 | ||
* @author Hamm.cn | ||
*/ | ||
export enum AirKeys { | ||
META = 'Meta', | ||
ALT = 'Alt', | ||
ESC = 'Escape' | ||
} |
Oops, something went wrong.