6.7.0 - Alpha6 - 新增 Android 发行版本 scraper 脚本及信息打印脚本
This commit is contained in:
15
.utils/declarations/index.d.ts
vendored
15
.utils/declarations/index.d.ts
vendored
@@ -1,3 +1,6 @@
|
||||
type Cheerio<T> = import('cheerio').Cheerio<T>;
|
||||
type DomElement = import('domhandler').Element;
|
||||
|
||||
type Page = import('puppeteer').Page;
|
||||
type Frame = import('puppeteer').Frame;
|
||||
type ElementHandle<T extends Node> = import('puppeteer').ElementHandle<T>;
|
||||
@@ -13,6 +16,18 @@ type TableDataStructureItemName = string;
|
||||
type TableDataStructureItem = RegExp | ((s: string) => boolean | string);
|
||||
type TableDataStructureItemForPageEvaluate = string | RegExp | ((s: string) => boolean | string);
|
||||
|
||||
interface AndroidReleaseWiki {
|
||||
RELEASE_NAME: string;
|
||||
INTERNAL_CODENAME: string;
|
||||
PLATFORM_VERSION: string;
|
||||
API_LEVEL: number;
|
||||
RELEASE_DATE: string;
|
||||
}
|
||||
|
||||
interface AndroidReleaseCsv extends AndroidReleaseWiki {
|
||||
VERSION_CODE: string;
|
||||
}
|
||||
|
||||
interface AndroidStudioRelease {
|
||||
content: {
|
||||
item: AndroidStudioReleaseItem[];
|
||||
|
||||
Reference in New Issue
Block a user