From d993e68c9ed259295330a20d5ea59f1b9e8d1ece Mon Sep 17 00:00:00 2001 From: beet <63141491+beetcb@users.noreply.github.com> Date: Sun, 16 Jan 2022 10:24:57 +0800 Subject: [PATCH] fix(typedoc): make typedoc generate process synchronize --- README.md | 11 +- build/docs.ts | 19 +- docs/api/{core => }/.nojekyll | 0 docs/api/{plugins/attendance => }/README.md | 0 docs/api/core/README.md | 15 - docs/api/core/modules.md | 247 ------- docs/api/core/modules/sstore.md | 108 --- docs/api/internal/.nojekyll | 1 - docs/api/internal/README.md | 47 -- docs/api/internal/classes/default.md | 68 -- docs/api/internal/modules.md | 42 -- docs/api/{plugins/attendance => }/modules.md | 2 +- docs/api/plugins/attendance/.nojekyll | 1 - docs/api/plugins/check-in-helper/.nojekyll | 1 - docs/api/plugins/check-in-helper/README.md | 15 - .../check-in-helper/classes/CheckIn.md | 326 --------- docs/api/plugins/check-in-helper/modules.md | 9 - docs/api/plugins/sign/.nojekyll | 1 - docs/api/plugins/sign/README.md | 17 - docs/api/plugins/sign/modules.md | 23 - package-lock.json | 620 ++++++++++++++++-- package.json | 4 +- src/plugins/check-in-helper/src/index.ts | 6 +- tsconfig.json | 10 +- 24 files changed, 609 insertions(+), 984 deletions(-) rename docs/api/{core => }/.nojekyll (100%) rename docs/api/{plugins/attendance => }/README.md (100%) delete mode 100644 docs/api/core/README.md delete mode 100644 docs/api/core/modules.md delete mode 100644 docs/api/core/modules/sstore.md delete mode 100644 docs/api/internal/.nojekyll delete mode 100644 docs/api/internal/README.md delete mode 100644 docs/api/internal/classes/default.md delete mode 100644 docs/api/internal/modules.md rename docs/api/{plugins/attendance => }/modules.md (76%) delete mode 100644 docs/api/plugins/attendance/.nojekyll delete mode 100644 docs/api/plugins/check-in-helper/.nojekyll delete mode 100644 docs/api/plugins/check-in-helper/README.md delete mode 100644 docs/api/plugins/check-in-helper/classes/CheckIn.md delete mode 100644 docs/api/plugins/check-in-helper/modules.md delete mode 100644 docs/api/plugins/sign/.nojekyll delete mode 100644 docs/api/plugins/sign/README.md delete mode 100644 docs/api/plugins/sign/modules.md diff --git a/README.md b/README.md index 096d99f..963369f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ - 交互式配置: `cea` 提供交互式的命令行完成用户及学校的配置,同时也支持使用 `toml` 文件来配置 -- 验证持久化: 缓存验证信息于本地, 只在失效时登录并更新;云端和本地缓存能力来源于我的另一个项目 [sstore](https://github.com/beetcb/sstore) +- 验证持久化: 缓存验证信息于本地, 只在失效时登录并更新; - 多用户非阻塞: 利用 Node.js 异步特征,多用户可并行,实现毫秒级的多用户同时操作 @@ -124,7 +124,9 @@ cea.start() ## 插件列表 -- [`cea-check-in`](./docs/api/plugins/check-in/README.md) +- [`check-in-helper`](./docs/api/plugins/check-in/README.md) +- [`attendance`](./docs/api/plugins/attendance/README.md) +- [`sign`](./docs/api/plugins/sign/README.md) ## 贡献指南 @@ -157,9 +159,10 @@ log.notify() 感谢同类项目的存在,让社区能够相互学习和进步: -- [CarltonHere/auto-cpdaily](https://github.com/CarltonHere/auto-cpdaily) -- [AntaresQAQ/campushoy-auto-sign](https://github.com/AntaresQAQ/campushoy-auto-sign) - [ZimoLoveShuang/auto-submit](https://github.com/ZimoLoveShuang/auto-submit) +- [AntaresQAQ/campushoy-auto-sign](https://github.com/AntaresQAQ/campushoy-auto-sign) +- [windowsair/fzu-cpDailySign](https://github.com/windowsair/fzu-cpDailySign) +- [CarltonHere/auto-cpdaily](https://github.com/CarltonHere/auto-cpdaily) ## 声明 diff --git a/build/docs.ts b/build/docs.ts index 683fbe9..e70b73d 100644 --- a/build/docs.ts +++ b/build/docs.ts @@ -20,23 +20,26 @@ async function main() { } const pkgRefs: Array = tsconfig.references - const isPluginPackage = (is: boolean) => + console.log(pkgRefs) + const isPluginPackage = + (is: boolean) => ({ path }: any) => is ? path.includes('/plugins/') : !path.includes('/plugins/') - // asynchronizedly build non-plugins api docs - build(pkgRefs.filter(isPluginPackage(false))) - // asynchronizedly build plugins api docs - build(pkgRefs.filter(isPluginPackage(true))) + // synchronizedly build non-plugins api docs + await build(pkgRefs.filter(isPluginPackage(false))) + // synchronizedly build plugins api docs + await build(pkgRefs.filter(isPluginPackage(true))) } -function build(refs: Array) { +async function build(refs: Array) { for (const { path } of refs) { + console.log(path) const app = new TypeDoc.Application() // If you want TypeDoc to load tsconfig.json / typedoc.json files app.options.addReader(new TypeDoc.TSConfigReader()) app.options.addReader(new TypeDoc.TypeDocReader()) - const pkgName = path.slice(1) + const pkgName = path.slice(-1) app.bootstrap({ // typedoc options here entryPoints: [`${path}src/index.ts`], @@ -48,7 +51,7 @@ function build(refs: Array) { // Project may not have converted correctly const outputDir = `docs/api${pkgName}` // Rendered docs - app.generateDocs(project, outputDir) + await app.generateDocs(project, outputDir) } } } diff --git a/docs/api/core/.nojekyll b/docs/api/.nojekyll similarity index 100% rename from docs/api/core/.nojekyll rename to docs/api/.nojekyll diff --git a/docs/api/plugins/attendance/README.md b/docs/api/README.md similarity index 100% rename from docs/api/plugins/attendance/README.md rename to docs/api/README.md diff --git a/docs/api/core/README.md b/docs/api/core/README.md deleted file mode 100644 index 5f94121..0000000 --- a/docs/api/core/README.md +++ /dev/null @@ -1,15 +0,0 @@ -@ceajs/attendance-plugin / [Exports](modules.md) - -### 插件: cea-core - -### 安装 - -```bash -npm i @ceajs/core -``` - -## 文档 - -- 项目说明:https://github.com/ceajs/cea/tree/main/core -- API 文档:https://github.com/ceajs/cea/blob/main/docs/api/core/modules.md -- 配置文档:https://github.com/ceajs/cea diff --git a/docs/api/core/modules.md b/docs/api/core/modules.md deleted file mode 100644 index 9f49699..0000000 --- a/docs/api/core/modules.md +++ /dev/null @@ -1,247 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / Exports - -# @ceajs/core - -## Table of contents - -### Namespaces - -- [sstore](modules/sstore.md) - -### Type aliases - -- [CookieRawObject](modules.md#cookierawobject) -- [SchoolConf](modules.md#schoolconf) -- [SchoolConfOpts](modules.md#schoolconfopts) -- [StringKV](modules.md#stringkv) -- [UserConfOpts](modules.md#userconfopts) -- [UsersConf](modules.md#usersconf) - -### Variables - -- [log](modules.md#log) - -### Functions - -- [cookieParse](modules.md#cookieparse) -- [cookieStr](modules.md#cookiestr) -- [getSchoolInfos](modules.md#getschoolinfos) -- [handleCookie](modules.md#handlecookie) -- [loadConfFromToml](modules.md#loadconffromtoml) - -## Type aliases - -### CookieRawObject - -Ƭ **CookieRawObject**: `Object` - -#### Index signature - -▪ [K: `string`]: `string` - -#### Defined in - -[src/types/cookie.ts:3](https://github.com/ceajs/cea/blob/4983b2a/core/src/types/cookie.ts#L3) - -___ - -### SchoolConf - -Ƭ **SchoolConf**: `Object` - -#### Index signature - -▪ [school: `string`]: [`SchoolConfOpts`](modules.md#schoolconfopts) - -#### Defined in - -[src/types/conf.ts:23](https://github.com/ceajs/cea/blob/4983b2a/core/src/types/conf.ts#L23) - -___ - -### SchoolConfOpts - -Ƭ **SchoolConfOpts**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `authOrigin` | `string` | -| `captchaAuthMode` | `CaptchaAuthMode` | -| `chineseName` | `string` | -| `defaultAddr` | `string` | -| `edgeCase` | `SchoolEdgeCase` | -| `isCloud` | `boolean` | -| `loginURL?` | `string` | -| `preAuthURL` | `string` | - -#### Defined in - -[src/types/conf.ts:27](https://github.com/ceajs/cea/blob/4983b2a/core/src/types/conf.ts#L27) - -___ - -### StringKV - -Ƭ **StringKV**: `Object` - -#### Index signature - -▪ [key: `string`]: `string` - -#### Defined in - -[src/types/helper.ts:1](https://github.com/ceajs/cea/blob/4983b2a/core/src/types/helper.ts#L1) - -___ - -### UserConfOpts - -Ƭ **UserConfOpts**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `addr` | [``""``] \| [`string`, `string`, `string`] | -| `alias` | `string` | -| `captcha?` | ``"MANUAL"`` \| ``"OCR"`` | -| `password` | `string` | -| `retry?` | `number` | -| `school` | `string` | -| `signedDataMonth?` | \`${number}-${number}\` | -| `username` | `string` | - -#### Defined in - -[src/types/conf.ts:12](https://github.com/ceajs/cea/blob/4983b2a/core/src/types/conf.ts#L12) - -___ - -### UsersConf - -Ƭ **UsersConf**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `notifier?` | [\`${number}\`, `string`, `string`] | -| `users` | [`UserConfOpts`](modules.md#userconfopts)[] | - -#### Defined in - -[src/types/conf.ts:8](https://github.com/ceajs/cea/blob/4983b2a/core/src/types/conf.ts#L8) - -## Variables - -### log - -• **log**: `LogRouter` - -#### Defined in - -[src/utils/logger.ts:28](https://github.com/ceajs/cea/blob/4983b2a/core/src/utils/logger.ts#L28) - -## Functions - -### cookieParse - -▸ **cookieParse**(`host`, `headers`): `CookieMap` - -Parse http response headers' cookie - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `host` | `string` | -| `headers` | `Headers` | - -#### Returns - -`CookieMap` - -#### Defined in - -[src/utils/cookie-helper.ts:7](https://github.com/ceajs/cea/blob/4983b2a/core/src/utils/cookie-helper.ts#L7) - -___ - -### cookieStr - -▸ **cookieStr**(`host`, `cookieMap`): `string` - -Construct a cookie object based on host - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `host` | `string` | -| `cookieMap` | `CookieMap` | - -#### Returns - -`string` - -#### Defined in - -[src/utils/cookie-helper.ts:50](https://github.com/ceajs/cea/blob/4983b2a/core/src/utils/cookie-helper.ts#L50) - -___ - -### getSchoolInfos - -▸ **getSchoolInfos**(`__namedParameters`): `Promise`<[`SchoolConf`](modules.md#schoolconf) \| ``null``\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `__namedParameters` | [`UsersConf`](modules.md#usersconf) | - -#### Returns - -`Promise`<[`SchoolConf`](modules.md#schoolconf) \| ``null``\> - -#### Defined in - -[src/conf.ts:30](https://github.com/ceajs/cea/blob/4983b2a/core/src/conf.ts#L30) - -___ - -### handleCookie - -▸ **handleCookie**(): `Promise`<`void`\> - -Iterate through all users: complete unified auth -> store cookie - -#### Returns - -`Promise`<`void`\> - -#### Defined in - -[src/index.ts:32](https://github.com/ceajs/cea/blob/4983b2a/core/src/index.ts#L32) - -___ - -### loadConfFromToml - -▸ **loadConfFromToml**(`customPath?`): [`UsersConf`](modules.md#usersconf) \| ``null`` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `customPath?` | `string` | - -#### Returns - -[`UsersConf`](modules.md#usersconf) \| ``null`` - -#### Defined in - -[src/conf.ts:15](https://github.com/ceajs/cea/blob/4983b2a/core/src/conf.ts#L15) diff --git a/docs/api/core/modules/sstore.md b/docs/api/core/modules/sstore.md deleted file mode 100644 index a4e6130..0000000 --- a/docs/api/core/modules/sstore.md +++ /dev/null @@ -1,108 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / [Exports](modules.md) / sstore - -# Namespace: sstore - -## Table of contents - -### Functions - -- [clear](modules/sstore.md#clear) -- [close](modules/sstore.md#close) -- [del](modules/sstore.md#del) -- [get](modules/sstore.md#get) -- [set](modules/sstore.md#set) - -## Functions - -### clear - -▸ **clear**(): `void` - -#### Returns - -`void` - -#### Defined in - -node_modules/@beetcb/sstore/src/index.d.ts:4 - -___ - -### close - -▸ **close**(): `void` - -#### Returns - -`void` - -#### Defined in - -node_modules/@beetcb/sstore/src/index.d.ts:5 - -___ - -### del - -▸ **del**(`key`): `void` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `key` | `string` | - -#### Returns - -`void` - -#### Defined in - -node_modules/@beetcb/sstore/src/index.d.ts:3 - -___ - -### get - -▸ **get**(`key`): `any` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `key` | `string` | - -#### Returns - -`any` - -#### Defined in - -node_modules/@beetcb/sstore/src/index.d.ts:1 - -___ - -### set - -▸ **set**<`T`\>(`key`, `value`): `T` - -#### Type parameters - -| Name | Type | -| :------ | :------ | -| `T` | `any` | - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `key` | `string` | -| `value` | `T` | - -#### Returns - -`T` - -#### Defined in - -node_modules/@beetcb/sstore/src/index.d.ts:2 diff --git a/docs/api/internal/.nojekyll b/docs/api/internal/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/api/internal/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/api/internal/README.md b/docs/api/internal/README.md deleted file mode 100644 index 2ff6bdf..0000000 --- a/docs/api/internal/README.md +++ /dev/null @@ -1,47 +0,0 @@ -@ceajs/attendance-plugin / [Exports](modules.md) - -## 详细说明 - -https://github.com/ceajs/cea/tree/main - -### 插件: cea - -### 安装 - -```bash -# Install cea as a cli -npm i -g cea -# Using cea as a module -npm i cea -``` - -### 示例 - -1. 使用 CLI - -今日校园签到: - -```bash -cea sign -``` - -2. 使用模块 - -今日校园签到: - -```ts -// 导入 Cea 和内置的签到插件中的函数 checkIn -import Cea, { checkIn } from 'cea' -// 创建 Cea 的实例 -const cea = new Cea() -// 注册插件 -cea.addPlugin(checkIn) -// 执行签到脚本 -cea.start() -``` - -# 文档 - -- 项目说明:https://github.com/ceajs/cea/tree/main/internal -- API 文档:https://github.com/ceajs/cea/blob/main/docs/api/internal/modules.md -- 配置文档:https://github.com/ceajs/cea diff --git a/docs/api/internal/classes/default.md b/docs/api/internal/classes/default.md deleted file mode 100644 index 4909a53..0000000 --- a/docs/api/internal/classes/default.md +++ /dev/null @@ -1,68 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / [Exports](modules.md) / default - -# Class: default - -## Table of contents - -### Constructors - -- [constructor](classes/default.md#constructor) - -### Properties - -- [plugins](classes/default.md#plugins) - -### Methods - -- [addPlugin](classes/default.md#addplugin) -- [start](classes/default.md#start) - -## Constructors - -### constructor - -• **new default**() - -## Properties - -### plugins - -• `Private` **plugins**: `Set`<`fn`\> - -#### Defined in - -[internal/src/index.ts:6](https://github.com/ceajs/cea/blob/4983b2a/internal/src/index.ts#L6) - -## Methods - -### addPlugin - -▸ **addPlugin**(`plugin`): `void` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `plugin` | () => `Promise`<`void`\> | - -#### Returns - -`void` - -#### Defined in - -[internal/src/index.ts:8](https://github.com/ceajs/cea/blob/4983b2a/internal/src/index.ts#L8) - -___ - -### start - -▸ **start**(): `Promise`<`void`\> - -#### Returns - -`Promise`<`void`\> - -#### Defined in - -[internal/src/index.ts:12](https://github.com/ceajs/cea/blob/4983b2a/internal/src/index.ts#L12) diff --git a/docs/api/internal/modules.md b/docs/api/internal/modules.md deleted file mode 100644 index 262fdf3..0000000 --- a/docs/api/internal/modules.md +++ /dev/null @@ -1,42 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / Exports - -# cea - -## Table of contents - -### Classes - -- [default](classes/default.md) - -### Functions - -- [attendanceCheckIn](modules.md#attendancecheckin) -- [checkIn](modules.md#checkin) - -## Functions - -### attendanceCheckIn - -▸ **attendanceCheckIn**(): `Promise`<`void`\> - -#### Returns - -`Promise`<`void`\> - -#### Defined in - -plugins/attendance/lib/src/index.d.ts:1 - -___ - -### checkIn - -▸ **checkIn**(): `Promise`<`void`\> - -#### Returns - -`Promise`<`void`\> - -#### Defined in - -plugins/sign/lib/src/index.d.ts:1 diff --git a/docs/api/plugins/attendance/modules.md b/docs/api/modules.md similarity index 76% rename from docs/api/plugins/attendance/modules.md rename to docs/api/modules.md index 402e71c..84fc320 100644 --- a/docs/api/plugins/attendance/modules.md +++ b/docs/api/modules.md @@ -20,4 +20,4 @@ #### Defined in -[index.ts:3](https://github.com/ceajs/cea/blob/4983b2a/plugins/attendance/src/index.ts#L3) +[index.ts:3](https://github.com/ceajs/cea/blob/6e33125/src/plugins/attendance/src/index.ts#L3) diff --git a/docs/api/plugins/attendance/.nojekyll b/docs/api/plugins/attendance/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/api/plugins/attendance/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/api/plugins/check-in-helper/.nojekyll b/docs/api/plugins/check-in-helper/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/api/plugins/check-in-helper/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/api/plugins/check-in-helper/README.md b/docs/api/plugins/check-in-helper/README.md deleted file mode 100644 index de0f012..0000000 --- a/docs/api/plugins/check-in-helper/README.md +++ /dev/null @@ -1,15 +0,0 @@ -@ceajs/attendance-plugin / [Exports](modules.md) - -### 插件: cea-check-in - -### 安装 - -```bash -npm i @ceajs/check-in-helper -``` - -## 文档 - -- 项目说明:https://github.com/ceajs/cea/tree/main/plugins/check-in-helper -- API 文档:https://github.com/ceajs/cea/blob/main/docs/api/plugins/check-in/modules.md -- 配置文档:https://github.com/ceajs/cea diff --git a/docs/api/plugins/check-in-helper/classes/CheckIn.md b/docs/api/plugins/check-in-helper/classes/CheckIn.md deleted file mode 100644 index bcbc908..0000000 --- a/docs/api/plugins/check-in-helper/classes/CheckIn.md +++ /dev/null @@ -1,326 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / [Exports](modules.md) / CheckIn - -# Class: CheckIn - -Universal Check In helper for `sign` | `attendance` - -## Table of contents - -### Constructors - -- [constructor](classes/CheckIn.md#constructor) - -### Properties - -- [campusphereHost](classes/CheckIn.md#campuspherehost) -- [checkInType](classes/CheckIn.md#checkintype) -- [headers](classes/CheckIn.md#headers) -- [school](classes/CheckIn.md#school) -- [user](classes/CheckIn.md#user) -- [EXTENSION\_ENCRYPT](classes/CheckIn.md#extension_encrypt) -- [FORMBODY\_ENCRYPT](classes/CheckIn.md#formbody_encrypt) -- [VERSION](classes/CheckIn.md#version) - -### Methods - -- [grabSignedData](classes/CheckIn.md#grabsigneddata) -- [signInfo](classes/CheckIn.md#signinfo) -- [signTaskDetails](classes/CheckIn.md#signtaskdetails) -- [signWithForm](classes/CheckIn.md#signwithform) -- [extensionEncrypt](classes/CheckIn.md#extensionencrypt) -- [fillExtra](classes/CheckIn.md#fillextra) -- [fixedFloatRight](classes/CheckIn.md#fixedfloatright) -- [formBodyEncrypt](classes/CheckIn.md#formbodyencrypt) -- [signIn](classes/CheckIn.md#signin) - -## Constructors - -### constructor - -• **new CheckIn**(`user`, `checkInType`) - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `user` | `UserConfOpts` | -| `checkInType` | ``"sign"`` \| ``"attendance"`` | - -#### Defined in - -[index.ts:54](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L54) - -## Properties - -### campusphereHost - -• `Private` `Readonly` **campusphereHost**: `string` - -#### Defined in - -[index.ts:52](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L52) - -___ - -### checkInType - -• `Private` `Readonly` **checkInType**: ``"sign"`` \| ``"attendance"`` - -#### Defined in - -[index.ts:53](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L53) - -___ - -### headers - -• `Private` **headers**: `StringKV` - -#### Defined in - -[index.ts:49](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L49) - -___ - -### school - -• `Private` **school**: `SchoolConfOpts` - -#### Defined in - -[index.ts:51](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L51) - -___ - -### user - -• `Private` **user**: `UserConfOpts` - -#### Defined in - -[index.ts:50](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L50) - -___ - -### EXTENSION\_ENCRYPT - -▪ `Static` `Readonly` **EXTENSION\_ENCRYPT**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `algo` | `string` | -| `iv` | `Buffer` | -| `key` | `string` | - -#### Defined in - -[index.ts:38](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L38) - -___ - -### FORMBODY\_ENCRYPT - -▪ `Static` `Readonly` **FORMBODY\_ENCRYPT**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `algo` | `string` | -| `iv` | `Buffer` | -| `key` | `string` | - -#### Defined in - -[index.ts:43](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L43) - -___ - -### VERSION - -▪ `Static` `Readonly` **VERSION**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `app` | `string` | -| `calVersion` | `string` | -| `version` | `string` | - -#### Defined in - -[index.ts:33](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L33) - -## Methods - -### grabSignedData - -▸ **grabSignedData**(): `Promise`<`undefined` \| `SignTaskDetail`\> - -#### Returns - -`Promise`<`undefined` \| `SignTaskDetail`\> - -#### Defined in - -[index.ts:225](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L225) - -___ - -### signInfo - -▸ **signInfo**(): `Promise`<`void` \| `SignTaskPerDay`\> - -#### Returns - -`Promise`<`void` \| `SignTaskPerDay`\> - -#### Defined in - -[index.ts:67](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L67) - -___ - -### signTaskDetails - -▸ **signTaskDetails**(`task`): `Promise`<`SignTaskDetail`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `task` | `SignTask` | - -#### Returns - -`Promise`<`SignTaskDetail`\> - -#### Defined in - -[index.ts:210](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L210) - -___ - -### signWithForm - -▸ **signWithForm**(`curTask`): `Promise`<`LogInfo`\> - -Cookie is preconfigured by singInfo method - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `curTask` | `SignTask` | - -#### Returns - -`Promise`<`LogInfo`\> - -#### Defined in - -[index.ts:101](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L101) - -___ - -### extensionEncrypt - -▸ `Static` `Private` **extensionEncrypt**(`body`): `string` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `body` | `SignExtensionBody` | - -#### Returns - -`string` - -#### Defined in - -[index.ts:279](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L279) - -___ - -### fillExtra - -▸ `Static` `Private` **fillExtra**(`extraField`): `undefined` \| { `extraFieldItemValue`: `string` ; `extraFieldItemWid`: `string` }[] - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `extraField` | { `extraFieldItems`: { `content`: `string` ; `isAbnormal`: `boolean` ; `wid`: `string` }[] }[] | - -#### Returns - -`undefined` \| { `extraFieldItemValue`: `string` ; `extraFieldItemWid`: `string` }[] - -#### Defined in - -[index.ts:263](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L263) - -___ - -### fixedFloatRight - -▸ `Static` `Private` **fixedFloatRight**(`floatStr`): `number` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `floatStr` | `string` | - -#### Returns - -`number` - -#### Defined in - -[index.ts:253](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L253) - -___ - -### formBodyEncrypt - -▸ `Static` `Private` **formBodyEncrypt**(`body`): `string` - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `body` | `SignFormBody` | - -#### Returns - -`string` - -#### Defined in - -[index.ts:287](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L287) - -___ - -### signIn - -▸ `Static` **signIn**(`users`, `checkInType`): `Promise`<``null`` \| `GlobalLogInfo`\> - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `users` | `UserConfOpts`[] | -| `checkInType` | ``"sign"`` \| ``"attendance"`` | - -#### Returns - -`Promise`<``null`` \| `GlobalLogInfo`\> - -#### Defined in - -[index.ts:295](https://github.com/ceajs/cea/blob/a82f96f/plugins/check-in-helper/src/index.ts#L295) diff --git a/docs/api/plugins/check-in-helper/modules.md b/docs/api/plugins/check-in-helper/modules.md deleted file mode 100644 index e6ccf93..0000000 --- a/docs/api/plugins/check-in-helper/modules.md +++ /dev/null @@ -1,9 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / Exports - -# @ceajs/check-in-helper - -## Table of contents - -### Classes - -- [CheckIn](classes/CheckIn.md) diff --git a/docs/api/plugins/sign/.nojekyll b/docs/api/plugins/sign/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/api/plugins/sign/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/api/plugins/sign/README.md b/docs/api/plugins/sign/README.md deleted file mode 100644 index db46b16..0000000 --- a/docs/api/plugins/sign/README.md +++ /dev/null @@ -1,17 +0,0 @@ -@ceajs/attendance-plugin / [Exports](modules.md) - -### 简介 - -Cea 插件: 实现自动签到,自动填写表单(无需配置填报信息) - -### 安装 - -```bash -npm i @ceajs/sign-plugin -``` - -## 文档 - -- 项目说明:https://github.com/ceajs/cea/tree/main/plugins/sign-plugin -- API 文档:https://github.com/ceajs/cea/blob/main/docs/api/plugins/sign/modules.md -- 配置文档:https://github.com/ceajs/cea diff --git a/docs/api/plugins/sign/modules.md b/docs/api/plugins/sign/modules.md deleted file mode 100644 index ce926b8..0000000 --- a/docs/api/plugins/sign/modules.md +++ /dev/null @@ -1,23 +0,0 @@ -[@ceajs/attendance-plugin](README.md) / Exports - -# @ceajs/sign-plugin - -## Table of contents - -### Functions - -- [checkIn](modules.md#checkin) - -## Functions - -### checkIn - -▸ **checkIn**(): `Promise`<`void`\> - -#### Returns - -`Promise`<`void`\> - -#### Defined in - -[index.ts:3](https://github.com/ceajs/cea/blob/4983b2a/plugins/sign/src/index.ts#L3) diff --git a/package-lock.json b/package-lock.json index 0a8a90b..5621bb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,10 +11,12 @@ "dprint": "^0.19.2", "env-cmd": "^10.1.0", "esbuild": "^0.13.13", + "esno": "^0.14.0", "globby-cli": "^1.0.1", "lerna": "^4.0.0", "ts-jest": "^27.0.7", - "typedoc-plugin-markdown": "^3.11.3", + "typedoc": "^0.22.10", + "typedoc-plugin-markdown": "^3.11.11", "typescript": "^4.4.4" } }, @@ -4790,6 +4792,19 @@ "linux" ] }, + "node_modules/esbuild-linux-s390x": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.11.tgz", + "integrity": "sha512-DoThrkzunZ1nfRGoDN6REwmo8ZZWHd2ztniPVIR5RMw/Il9wiWEYBahb8jnMzQaSOxBsGp0PbyJeVLTUatnlcw==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/esbuild-netbsd-64": { "version": "0.13.13", "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.13.13.tgz", @@ -4803,6 +4818,21 @@ "netbsd" ] }, + "node_modules/esbuild-node-loader": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/esbuild-node-loader/-/esbuild-node-loader-0.6.3.tgz", + "integrity": "sha512-Bf6o8SiMMh5+r20jsjAThNOtzo3t8Ye4Qdzz+twWHnxu28SdkGUr5ahq8iX0qbd+I9ge8sLNX7oQoNW1YzHlqA==", + "dev": true, + "dependencies": { + "esbuild": "^0.13.12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "typescript": "^4.0" + } + }, "node_modules/esbuild-openbsd-64": { "version": "0.13.13", "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.13.tgz", @@ -4816,6 +4846,15 @@ "openbsd" ] }, + "node_modules/esbuild-register": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/esbuild-register/-/esbuild-register-3.3.2.tgz", + "integrity": "sha512-jceAtTO6zxPmCfSD5cBb3rgIK1vmuqCKYwgylHiS1BF4pq0jJiJb4K2QMuqF4BEw7XDBRatYzip0upyTzfkgsQ==", + "dev": true, + "peerDependencies": { + "esbuild": ">=0.12 <1" + } + }, "node_modules/esbuild-sunos-64": { "version": "0.13.13", "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.13.13.tgz", @@ -4909,6 +4948,274 @@ "source-map": "~0.6.1" } }, + "node_modules/esno": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/esno/-/esno-0.14.0.tgz", + "integrity": "sha512-KEij9fDbMSO+WxwZRZRXWRxSpd48tXKF1VUW8dPUezN7VbUM6jKUXBrYY3CAbnkVfHzEbD8RWkapCYwc+ZaYoA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "esbuild": ">=0.14.3", + "esbuild-node-loader": "^0.6.3", + "esbuild-register": "^3.2.1", + "import-meta-resolve": "^1.1.1" + }, + "bin": { + "esmo": "esmo.mjs", + "esno": "esno.js" + } + }, + "node_modules/esno/node_modules/esbuild": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.11.tgz", + "integrity": "sha512-xZvPtVj6yecnDeFb3KjjCM6i7B5TCAQZT77kkW/CpXTMnd6VLnRPKrUB1XHI1pSq6a4Zcy3BGueQ8VljqjDGCg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "optionalDependencies": { + "esbuild-android-arm64": "0.14.11", + "esbuild-darwin-64": "0.14.11", + "esbuild-darwin-arm64": "0.14.11", + "esbuild-freebsd-64": "0.14.11", + "esbuild-freebsd-arm64": "0.14.11", + "esbuild-linux-32": "0.14.11", + "esbuild-linux-64": "0.14.11", + "esbuild-linux-arm": "0.14.11", + "esbuild-linux-arm64": "0.14.11", + "esbuild-linux-mips64le": "0.14.11", + "esbuild-linux-ppc64le": "0.14.11", + "esbuild-linux-s390x": "0.14.11", + "esbuild-netbsd-64": "0.14.11", + "esbuild-openbsd-64": "0.14.11", + "esbuild-sunos-64": "0.14.11", + "esbuild-windows-32": "0.14.11", + "esbuild-windows-64": "0.14.11", + "esbuild-windows-arm64": "0.14.11" + } + }, + "node_modules/esno/node_modules/esbuild-android-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.11.tgz", + "integrity": "sha512-6iHjgvMnC/SzDH8TefL+/3lgCjYWwAd1LixYfmz/TBPbDQlxcuSkX0yiQgcJB9k+ibZ54yjVXziIwGdlc+6WNw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/esno/node_modules/esbuild-darwin-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.11.tgz", + "integrity": "sha512-olq84ikh6TiBcrs3FnM4eR5VPPlcJcdW8BnUz/lNoEWYifYQ+Po5DuYV1oz1CTFMw4k6bQIZl8T3yxL+ZT2uvQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/esno/node_modules/esbuild-darwin-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.11.tgz", + "integrity": "sha512-Jj0ieWLREPBYr/TZJrb2GFH8PVzDqiQWavo1pOFFShrcmHWDBDrlDxPzEZ67NF/Un3t6sNNmeI1TUS/fe1xARg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/esno/node_modules/esbuild-freebsd-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.11.tgz", + "integrity": "sha512-C5sT3/XIztxxz/zwDjPRHyzj/NJFOnakAanXuyfLDwhwupKPd76/PPHHyJx6Po6NI6PomgVp/zi6GRB8PfrOTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/esno/node_modules/esbuild-freebsd-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.11.tgz", + "integrity": "sha512-y3Llu4wbs0bk4cwjsdAtVOesXb6JkdfZDLKMt+v1U3tOEPBdSu6w8796VTksJgPfqvpX22JmPLClls0h5p+L9w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/esno/node_modules/esbuild-linux-32": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.11.tgz", + "integrity": "sha512-Cg3nVsxArjyLke9EuwictFF3Sva+UlDTwHIuIyx8qpxRYAOUTmxr2LzYrhHyTcGOleLGXUXYsnUVwKqnKAgkcg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/esno/node_modules/esbuild-linux-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.11.tgz", + "integrity": "sha512-oeR6dIrrojr8DKVrxtH3xl4eencmjsgI6kPkDCRIIFwv4p+K7ySviM85K66BN01oLjzthpUMvBVfWSJkBLeRbg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/esno/node_modules/esbuild-linux-arm": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.11.tgz", + "integrity": "sha512-vcwskfD9g0tojux/ZaTJptJQU3a7YgTYsptK1y6LQ/rJmw7U5QJvboNawqM98Ca3ToYEucfCRGbl66OTNtp6KQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/esno/node_modules/esbuild-linux-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.11.tgz", + "integrity": "sha512-+e6ZCgTFQYZlmg2OqLkg1jHLYtkNDksxWDBWNtI4XG4WxuOCUErLqfEt9qWjvzK3XBcCzHImrajkUjO+rRkbMg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/esno/node_modules/esbuild-linux-mips64le": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.11.tgz", + "integrity": "sha512-Rrs99L+p54vepmXIb87xTG6ukrQv+CzrM8eoeR+r/OFL2Rg8RlyEtCeshXJ2+Q66MXZOgPJaokXJZb9snq28bw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/esno/node_modules/esbuild-linux-ppc64le": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.11.tgz", + "integrity": "sha512-JyzziGAI0D30Vyzt0HDihp4s1IUtJ3ssV2zx9O/c+U/dhUHVP2TmlYjzCfCr2Q6mwXTeloDcLS4qkyvJtYptdQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/esno/node_modules/esbuild-netbsd-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.11.tgz", + "integrity": "sha512-12luoRQz+6eihKYh1zjrw0CBa2aw3twIiHV/FAfjh2NEBDgJQOY4WCEUEN+Rgon7xmLh4XUxCQjnwrvf8zhACw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ] + }, + "node_modules/esno/node_modules/esbuild-openbsd-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.11.tgz", + "integrity": "sha512-l18TZDjmvwW6cDeR4fmizNoxndyDHamGOOAenwI4SOJbzlJmwfr0jUgjbaXCUuYVOA964siw+Ix+A+bhALWg8Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/esno/node_modules/esbuild-sunos-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.11.tgz", + "integrity": "sha512-bmYzDtwASBB8c+0/HVOAiE9diR7+8zLm/i3kEojUH2z0aIs6x/S4KiTuT5/0VKJ4zk69kXel1cNWlHBMkmavQg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ] + }, + "node_modules/esno/node_modules/esbuild-windows-32": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.11.tgz", + "integrity": "sha512-J1Ys5hMid8QgdY00OBvIolXgCQn1ARhYtxPnG6ESWNTty3ashtc4+As5nTrsErnv8ZGUcWZe4WzTP/DmEVX1UQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/esno/node_modules/esbuild-windows-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.11.tgz", + "integrity": "sha512-h9FmMskMuGeN/9G9+LlHPAoiQk9jlKDUn9yA0MpiGzwLa82E7r1b1u+h2a+InprbSnSLxDq/7p5YGtYVO85Mlg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/esno/node_modules/esbuild-windows-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.11.tgz", + "integrity": "sha512-dZp7Krv13KpwKklt9/1vBFBMqxEQIO6ri7Azf8C+ob4zOegpJmha2XY9VVWP/OyQ0OWk6cEeIzMJwInRZrzBUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -6590,6 +6897,43 @@ "node": ">=8" } }, + "node_modules/import-meta-resolve": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-1.1.1.tgz", + "integrity": "sha512-JiTuIvVyPaUg11eTrNDx5bgQ/yMKMZffc7YSjvQeSMXy58DO2SQ8BtAf3xteZvmzvjYh14wnqNjL8XVeDy2o9A==", + "dev": true, + "dependencies": { + "builtins": "^4.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/import-meta-resolve/node_modules/builtins": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-4.0.0.tgz", + "integrity": "sha512-qC0E2Dxgou1IHhvJSLwGDSTvokbRovU5zZFuDY6oY8Y2lF3nGt5Ad8YZK7GMtqzY84Wu7pXTPeHQeHcXSXsRhw==", + "dev": true, + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/import-meta-resolve/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -8014,8 +8358,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz", "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==", - "dev": true, - "peer": true + "dev": true }, "node_modules/jsonfile": { "version": "6.1.0", @@ -8420,8 +8763,7 @@ "version": "2.3.9", "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", - "dev": true, - "peer": true + "dev": true }, "node_modules/make-dir": { "version": "3.1.0", @@ -8518,7 +8860,6 @@ "resolved": "https://registry.npmjs.org/marked/-/marked-3.0.8.tgz", "integrity": "sha512-0gVrAjo5m0VZSJb4rpL59K1unJAMb/hm8HRXqasD8VeC8m91ytDPMritgFSlKonfdt+rRYYpP/JfLxgIX8yoSw==", "dev": true, - "peer": true, "bin": { "marked": "bin/marked" }, @@ -9663,7 +10004,6 @@ "resolved": "https://registry.npmjs.org/onigasm/-/onigasm-2.2.5.tgz", "integrity": "sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==", "dev": true, - "peer": true, "dependencies": { "lru-cache": "^5.1.1" } @@ -9673,7 +10013,6 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, - "peer": true, "dependencies": { "yallist": "^3.0.2" } @@ -9682,8 +10021,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true, - "peer": true + "dev": true }, "node_modules/optionator": { "version": "0.8.3", @@ -11042,7 +11380,6 @@ "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.9.12.tgz", "integrity": "sha512-VXcROdldv0/Qu0w2XvzU4IrvTeBNs/Kj/FCmtcEXGz7Tic/veQzliJj6tEiAgoKianhQstpYmbPDStHU5Opqcw==", "dev": true, - "peer": true, "dependencies": { "jsonc-parser": "^3.0.0", "onigasm": "^2.2.5", @@ -12196,11 +12533,10 @@ } }, "node_modules/typedoc": { - "version": "0.22.7", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.7.tgz", - "integrity": "sha512-ndxxp+tU1Wczvdxp4u2/PvT1qjD6hdFdSdehpORHjE+JXmMkl2bftXCR0upHmsnesBG7VCcr8vfgloGHIH8glQ==", + "version": "0.22.10", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.10.tgz", + "integrity": "sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA==", "dev": true, - "peer": true, "dependencies": { "glob": "^7.2.0", "lunr": "^2.3.9", @@ -12215,13 +12551,13 @@ "node": ">= 12.10.0" }, "peerDependencies": { - "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x" + "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x" } }, "node_modules/typedoc-plugin-markdown": { - "version": "3.11.3", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.11.3.tgz", - "integrity": "sha512-rWiHbEIe0oZetDIsBR24XJVxGOJ91kDcHoj2KhFKxCLoJGX659EKBQkHne9QJ4W2stGhu1fRgFyQaouSBnxukA==", + "version": "3.11.11", + "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.11.11.tgz", + "integrity": "sha512-LyephgG2yHiSqJppuDVKy3dPLSbzP+ke/VBxGvH4I/+31NXzuEhLFhxx/X4UMqzh2XbUB44ttABtGd11biKr4Q==", "dev": true, "dependencies": { "handlebars": "^4.7.7" @@ -12513,8 +12849,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz", "integrity": "sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==", - "dev": true, - "peer": true + "dev": true }, "node_modules/w3c-hr-time": { "version": "1.0.2", @@ -16715,6 +17050,13 @@ "dev": true, "optional": true }, + "esbuild-linux-s390x": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.11.tgz", + "integrity": "sha512-DoThrkzunZ1nfRGoDN6REwmo8ZZWHd2ztniPVIR5RMw/Il9wiWEYBahb8jnMzQaSOxBsGp0PbyJeVLTUatnlcw==", + "dev": true, + "optional": true + }, "esbuild-netbsd-64": { "version": "0.13.13", "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.13.13.tgz", @@ -16722,6 +17064,15 @@ "dev": true, "optional": true }, + "esbuild-node-loader": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/esbuild-node-loader/-/esbuild-node-loader-0.6.3.tgz", + "integrity": "sha512-Bf6o8SiMMh5+r20jsjAThNOtzo3t8Ye4Qdzz+twWHnxu28SdkGUr5ahq8iX0qbd+I9ge8sLNX7oQoNW1YzHlqA==", + "dev": true, + "requires": { + "esbuild": "^0.13.12" + } + }, "esbuild-openbsd-64": { "version": "0.13.13", "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.13.tgz", @@ -16729,6 +17080,13 @@ "dev": true, "optional": true }, + "esbuild-register": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/esbuild-register/-/esbuild-register-3.3.2.tgz", + "integrity": "sha512-jceAtTO6zxPmCfSD5cBb3rgIK1vmuqCKYwgylHiS1BF4pq0jJiJb4K2QMuqF4BEw7XDBRatYzip0upyTzfkgsQ==", + "dev": true, + "requires": {} + }, "esbuild-sunos-64": { "version": "0.13.13", "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.13.13.tgz", @@ -16783,6 +17141,166 @@ "source-map": "~0.6.1" } }, + "esno": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/esno/-/esno-0.14.0.tgz", + "integrity": "sha512-KEij9fDbMSO+WxwZRZRXWRxSpd48tXKF1VUW8dPUezN7VbUM6jKUXBrYY3CAbnkVfHzEbD8RWkapCYwc+ZaYoA==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "esbuild": ">=0.14.3", + "esbuild-node-loader": "^0.6.3", + "esbuild-register": "^3.2.1", + "import-meta-resolve": "^1.1.1" + }, + "dependencies": { + "esbuild": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.11.tgz", + "integrity": "sha512-xZvPtVj6yecnDeFb3KjjCM6i7B5TCAQZT77kkW/CpXTMnd6VLnRPKrUB1XHI1pSq6a4Zcy3BGueQ8VljqjDGCg==", + "dev": true, + "requires": { + "esbuild-android-arm64": "0.14.11", + "esbuild-darwin-64": "0.14.11", + "esbuild-darwin-arm64": "0.14.11", + "esbuild-freebsd-64": "0.14.11", + "esbuild-freebsd-arm64": "0.14.11", + "esbuild-linux-32": "0.14.11", + "esbuild-linux-64": "0.14.11", + "esbuild-linux-arm": "0.14.11", + "esbuild-linux-arm64": "0.14.11", + "esbuild-linux-mips64le": "0.14.11", + "esbuild-linux-ppc64le": "0.14.11", + "esbuild-linux-s390x": "0.14.11", + "esbuild-netbsd-64": "0.14.11", + "esbuild-openbsd-64": "0.14.11", + "esbuild-sunos-64": "0.14.11", + "esbuild-windows-32": "0.14.11", + "esbuild-windows-64": "0.14.11", + "esbuild-windows-arm64": "0.14.11" + } + }, + "esbuild-android-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.11.tgz", + "integrity": "sha512-6iHjgvMnC/SzDH8TefL+/3lgCjYWwAd1LixYfmz/TBPbDQlxcuSkX0yiQgcJB9k+ibZ54yjVXziIwGdlc+6WNw==", + "dev": true, + "optional": true + }, + "esbuild-darwin-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.11.tgz", + "integrity": "sha512-olq84ikh6TiBcrs3FnM4eR5VPPlcJcdW8BnUz/lNoEWYifYQ+Po5DuYV1oz1CTFMw4k6bQIZl8T3yxL+ZT2uvQ==", + "dev": true, + "optional": true + }, + "esbuild-darwin-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.11.tgz", + "integrity": "sha512-Jj0ieWLREPBYr/TZJrb2GFH8PVzDqiQWavo1pOFFShrcmHWDBDrlDxPzEZ67NF/Un3t6sNNmeI1TUS/fe1xARg==", + "dev": true, + "optional": true + }, + "esbuild-freebsd-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.11.tgz", + "integrity": "sha512-C5sT3/XIztxxz/zwDjPRHyzj/NJFOnakAanXuyfLDwhwupKPd76/PPHHyJx6Po6NI6PomgVp/zi6GRB8PfrOTA==", + "dev": true, + "optional": true + }, + "esbuild-freebsd-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.11.tgz", + "integrity": "sha512-y3Llu4wbs0bk4cwjsdAtVOesXb6JkdfZDLKMt+v1U3tOEPBdSu6w8796VTksJgPfqvpX22JmPLClls0h5p+L9w==", + "dev": true, + "optional": true + }, + "esbuild-linux-32": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.11.tgz", + "integrity": "sha512-Cg3nVsxArjyLke9EuwictFF3Sva+UlDTwHIuIyx8qpxRYAOUTmxr2LzYrhHyTcGOleLGXUXYsnUVwKqnKAgkcg==", + "dev": true, + "optional": true + }, + "esbuild-linux-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.11.tgz", + "integrity": "sha512-oeR6dIrrojr8DKVrxtH3xl4eencmjsgI6kPkDCRIIFwv4p+K7ySviM85K66BN01oLjzthpUMvBVfWSJkBLeRbg==", + "dev": true, + "optional": true + }, + "esbuild-linux-arm": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.11.tgz", + "integrity": "sha512-vcwskfD9g0tojux/ZaTJptJQU3a7YgTYsptK1y6LQ/rJmw7U5QJvboNawqM98Ca3ToYEucfCRGbl66OTNtp6KQ==", + "dev": true, + "optional": true + }, + "esbuild-linux-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.11.tgz", + "integrity": "sha512-+e6ZCgTFQYZlmg2OqLkg1jHLYtkNDksxWDBWNtI4XG4WxuOCUErLqfEt9qWjvzK3XBcCzHImrajkUjO+rRkbMg==", + "dev": true, + "optional": true + }, + "esbuild-linux-mips64le": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.11.tgz", + "integrity": "sha512-Rrs99L+p54vepmXIb87xTG6ukrQv+CzrM8eoeR+r/OFL2Rg8RlyEtCeshXJ2+Q66MXZOgPJaokXJZb9snq28bw==", + "dev": true, + "optional": true + }, + "esbuild-linux-ppc64le": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.11.tgz", + "integrity": "sha512-JyzziGAI0D30Vyzt0HDihp4s1IUtJ3ssV2zx9O/c+U/dhUHVP2TmlYjzCfCr2Q6mwXTeloDcLS4qkyvJtYptdQ==", + "dev": true, + "optional": true + }, + "esbuild-netbsd-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.11.tgz", + "integrity": "sha512-12luoRQz+6eihKYh1zjrw0CBa2aw3twIiHV/FAfjh2NEBDgJQOY4WCEUEN+Rgon7xmLh4XUxCQjnwrvf8zhACw==", + "dev": true, + "optional": true + }, + "esbuild-openbsd-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.11.tgz", + "integrity": "sha512-l18TZDjmvwW6cDeR4fmizNoxndyDHamGOOAenwI4SOJbzlJmwfr0jUgjbaXCUuYVOA964siw+Ix+A+bhALWg8Q==", + "dev": true, + "optional": true + }, + "esbuild-sunos-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.11.tgz", + "integrity": "sha512-bmYzDtwASBB8c+0/HVOAiE9diR7+8zLm/i3kEojUH2z0aIs6x/S4KiTuT5/0VKJ4zk69kXel1cNWlHBMkmavQg==", + "dev": true, + "optional": true + }, + "esbuild-windows-32": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.11.tgz", + "integrity": "sha512-J1Ys5hMid8QgdY00OBvIolXgCQn1ARhYtxPnG6ESWNTty3ashtc4+As5nTrsErnv8ZGUcWZe4WzTP/DmEVX1UQ==", + "dev": true, + "optional": true + }, + "esbuild-windows-64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.11.tgz", + "integrity": "sha512-h9FmMskMuGeN/9G9+LlHPAoiQk9jlKDUn9yA0MpiGzwLa82E7r1b1u+h2a+InprbSnSLxDq/7p5YGtYVO85Mlg==", + "dev": true, + "optional": true + }, + "esbuild-windows-arm64": { + "version": "0.14.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.11.tgz", + "integrity": "sha512-dZp7Krv13KpwKklt9/1vBFBMqxEQIO6ri7Azf8C+ob4zOegpJmha2XY9VVWP/OyQ0OWk6cEeIzMJwInRZrzBUQ==", + "dev": true, + "optional": true + } + } + }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -18098,6 +18616,35 @@ "resolve-cwd": "^3.0.0" } }, + "import-meta-resolve": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-1.1.1.tgz", + "integrity": "sha512-JiTuIvVyPaUg11eTrNDx5bgQ/yMKMZffc7YSjvQeSMXy58DO2SQ8BtAf3xteZvmzvjYh14wnqNjL8XVeDy2o9A==", + "dev": true, + "requires": { + "builtins": "^4.0.0" + }, + "dependencies": { + "builtins": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-4.0.0.tgz", + "integrity": "sha512-qC0E2Dxgou1IHhvJSLwGDSTvokbRovU5zZFuDY6oY8Y2lF3nGt5Ad8YZK7GMtqzY84Wu7pXTPeHQeHcXSXsRhw==", + "dev": true, + "requires": { + "semver": "^7.0.0" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -19208,8 +19755,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz", "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==", - "dev": true, - "peer": true + "dev": true }, "jsonfile": { "version": "6.1.0", @@ -19543,8 +20089,7 @@ "version": "2.3.9", "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", - "dev": true, - "peer": true + "dev": true }, "make-dir": { "version": "3.1.0", @@ -19619,8 +20164,7 @@ "version": "3.0.8", "resolved": "https://registry.npmjs.org/marked/-/marked-3.0.8.tgz", "integrity": "sha512-0gVrAjo5m0VZSJb4rpL59K1unJAMb/hm8HRXqasD8VeC8m91ytDPMritgFSlKonfdt+rRYYpP/JfLxgIX8yoSw==", - "dev": true, - "peer": true + "dev": true }, "meow": { "version": "8.1.2", @@ -20514,7 +21058,6 @@ "resolved": "https://registry.npmjs.org/onigasm/-/onigasm-2.2.5.tgz", "integrity": "sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==", "dev": true, - "peer": true, "requires": { "lru-cache": "^5.1.1" }, @@ -20524,7 +21067,6 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, - "peer": true, "requires": { "yallist": "^3.0.2" } @@ -20533,8 +21075,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true, - "peer": true + "dev": true } } }, @@ -21577,7 +22118,6 @@ "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.9.12.tgz", "integrity": "sha512-VXcROdldv0/Qu0w2XvzU4IrvTeBNs/Kj/FCmtcEXGz7Tic/veQzliJj6tEiAgoKianhQstpYmbPDStHU5Opqcw==", "dev": true, - "peer": true, "requires": { "jsonc-parser": "^3.0.0", "onigasm": "^2.2.5", @@ -22479,11 +23019,10 @@ } }, "typedoc": { - "version": "0.22.7", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.7.tgz", - "integrity": "sha512-ndxxp+tU1Wczvdxp4u2/PvT1qjD6hdFdSdehpORHjE+JXmMkl2bftXCR0upHmsnesBG7VCcr8vfgloGHIH8glQ==", + "version": "0.22.10", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.10.tgz", + "integrity": "sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA==", "dev": true, - "peer": true, "requires": { "glob": "^7.2.0", "lunr": "^2.3.9", @@ -22493,9 +23032,9 @@ } }, "typedoc-plugin-markdown": { - "version": "3.11.3", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.11.3.tgz", - "integrity": "sha512-rWiHbEIe0oZetDIsBR24XJVxGOJ91kDcHoj2KhFKxCLoJGX659EKBQkHne9QJ4W2stGhu1fRgFyQaouSBnxukA==", + "version": "3.11.11", + "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.11.11.tgz", + "integrity": "sha512-LyephgG2yHiSqJppuDVKy3dPLSbzP+ke/VBxGvH4I/+31NXzuEhLFhxx/X4UMqzh2XbUB44ttABtGd11biKr4Q==", "dev": true, "requires": { "handlebars": "^4.7.7" @@ -22731,8 +23270,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz", "integrity": "sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==", - "dev": true, - "peer": true + "dev": true }, "w3c-hr-time": { "version": "1.0.2", diff --git a/package.json b/package.json index 547d30d..cc8e1ba 100644 --- a/package.json +++ b/package.json @@ -40,10 +40,12 @@ "dprint": "^0.19.2", "env-cmd": "^10.1.0", "esbuild": "^0.13.13", + "esno": "^0.14.0", "globby-cli": "^1.0.1", "lerna": "^4.0.0", "ts-jest": "^27.0.7", - "typedoc-plugin-markdown": "^3.11.3", + "typedoc": "^0.22.10", + "typedoc-plugin-markdown": "^3.11.11", "typescript": "^4.4.4" } } diff --git a/src/plugins/check-in-helper/src/index.ts b/src/plugins/check-in-helper/src/index.ts index 4351f23..b2c2433 100644 --- a/src/plugins/check-in-helper/src/index.ts +++ b/src/plugins/check-in-helper/src/index.ts @@ -290,7 +290,7 @@ export class CheckIn { )!.value const normal = ele.extraFieldItems.find((e) => { if (isSignedTemplateMatch) { - if (signedSelectedItemValue === e.content) { + if (signedSelectedItemValue === e.value) { chosenWid = e.wid return true } @@ -303,7 +303,7 @@ export class CheckIn { }) return { extraFieldItemWid: chosenWid!, - extraFieldItemValue: normal!.content, + extraFieldItemValue: normal!.value, } }) } @@ -335,7 +335,7 @@ export class CheckIn { const instance: CheckIn = new CheckIn(i, checkInType) const curTask = await instance.signInfo() if (curTask) { - const needCheckInTasks = curTask.signedTasks.concat( + const needCheckInTasks = curTask.unSignedTasks.concat( curTask.leaveTasks ) if (needCheckInTasks.length) { diff --git a/tsconfig.json b/tsconfig.json index 042286e..7c8e20f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,15 +2,15 @@ "files": [], "references": [ { - "path": "src/./plugins/check-in-helper/" + "path": "src/plugins/check-in-helper/" }, { - "path": "src/./plugins/sign/" + "path": "src/plugins/sign/" }, - { "path": "src/./plugins/attendance/" }, + { "path": "src/plugins/attendance/" }, { - "path": "src/./core/" + "path": "src/core/" }, - { "path": "src/./internal/" } + { "path": "src/internal/" } ] }