Skip to content

Commit

Permalink
feat(qqguild): support string[] input for bitset intents
Browse files Browse the repository at this point in the history
upgrade schemastery to 3.4.0
  • Loading branch information
shigma committed May 17, 2022
1 parent b38b481 commit b4a0f97
Show file tree
Hide file tree
Showing 20 changed files with 38 additions and 34 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,16 @@
"rimraf": "^3.0.2",
"semver": "^7.3.7",
"source-map-support": "^0.5.21",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.4",
"yakumo": "^0.2.4",
"yakumo-mocha": "^0.2.4",
"yakumo-publish": "^0.2.2",
"yakumo-upgrade": "^0.2.2",
"yakumo-version": "^0.2.3"
},
"yakumo": {
"require": [
"esbuild-register"
]
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@koishijs/utils": "^5.4.3",
"fastest-levenshtein": "^1.0.12",
"minato": "^1.0.10",
"minato": "^1.1.0",
"ns-require": "^1.1.2"
}
}
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"koishi"
],
"peerDependencies": {
"@koishijs/client": "^3.3.0"
"@koishijs/client": "^3.3.1"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@koishijs/segment": "^1.1.1",
"cosmokit": "^1.1.2",
"reggol": "^1.0.3",
"schemastery": "^3.3.3",
"schemastery": "^3.4.0",
"supports-color": "^8.1.1"
}
}
4 changes: 2 additions & 2 deletions plugins/a11y/commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@koishijs/plugin-console": "^3.3.1",
"@koishijs/plugin-mock": "^1.0.4",
"@types/throttle-debounce": "^2.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions plugins/a11y/locales/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@koishijs/plugin-console": "^3.3.1",
"@koishijs/plugin-mock": "^1.0.4",
"@types/throttle-debounce": "^2.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/adapter/qqguild/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-adapter-qqguild",
"description": "QQ Guild Adapter for Koishi",
"version": "2.0.0",
"version": "2.0.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/adapter/qqguild/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const BotConfig = Schema.intersect([
id: Schema.string().description('机器人 id。').required(),
key: Schema.string().description('机器人 key。').role('secret').required(),
token: Schema.string().description('机器人令牌。').role('secret').required(),
intents: Schema.number().description('需要订阅的机器人事件。').default(Intents.PUBLIC_GUILD_MESSAGES),
intents: Schema.bitset(Intents).description('需要订阅的机器人事件。').default(Intents.PUBLIC_GUILD_MESSAGES),
}),
])

Expand Down
4 changes: 2 additions & 2 deletions plugins/database/mysql/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-database-mysql",
"description": "MySQL support for Koishi",
"version": "4.4.0",
"version": "4.4.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -33,6 +33,6 @@
"koishi": "^4.7.0"
},
"dependencies": {
"@minatojs/driver-mysql": "^1.0.6"
"@minatojs/driver-mysql": "^1.1.0"
}
}
4 changes: 2 additions & 2 deletions plugins/database/sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-database-sqlite",
"description": "SQLite support for Koishi",
"version": "1.3.0",
"version": "1.3.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -34,6 +34,6 @@
"koishi": "^4.7.0"
},
"dependencies": {
"@minatojs/driver-sqlite": "^1.0.6"
"@minatojs/driver-sqlite": "^1.1.0"
}
}
4 changes: 2 additions & 2 deletions plugins/frontend/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"required:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/plugin-console": "^3.3.1",
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0"
"@koishijs/client": "^3.3.1"
}
}
4 changes: 2 additions & 2 deletions plugins/frontend/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/plugin-console": "^3.3.0"
"@koishijs/client": "^3.3.1",
"@koishijs/plugin-console": "^3.3.1"
}
}
4 changes: 2 additions & 2 deletions plugins/frontend/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/client",
"description": "Koishi Console Client",
"version": "3.3.0",
"version": "3.3.1",
"main": "client/index.ts",
"files": [
"app",
Expand Down Expand Up @@ -43,7 +43,7 @@
"element-plus": "^2.1.11",
"marked": "^4.0.15",
"sass": "^1.51.0",
"schemastery": "^3.3.3",
"schemastery": "^3.4.0",
"vite": "^2.9.8",
"vue": "^3.2.33",
"vue-router": "^4.0.14"
Expand Down
4 changes: 2 additions & 2 deletions plugins/frontend/console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-console",
"description": "Web User Interface for Koishi",
"version": "3.3.0",
"version": "3.3.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -32,7 +32,7 @@
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@types/uuid": "^8.3.4"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions plugins/frontend/dataview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"required:database"
],
"peerDependencies": {
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/plugin-console": "^3.3.1",
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0"
"@koishijs/client": "^3.3.1"
}
}
4 changes: 2 additions & 2 deletions plugins/frontend/insight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"required:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/plugin-console": "^3.3.1",
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@types/throttle-debounce": "^2.1.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions plugins/frontend/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"optional:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/plugin-console": "^3.3.1",
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@koishijs/cli": "^4.7.0",
"ansi_up": "^5.1.0"
}
Expand Down
4 changes: 2 additions & 2 deletions plugins/frontend/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
],
"peerDependencies": {
"@koishijs/cli": "^4.7.0",
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/plugin-console": "^3.3.1",
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@types/cross-spawn": "^6.0.2",
"@types/which-pm-runs": "^1.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions plugins/frontend/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/plugin-console": "^3.3.0"
"@koishijs/client": "^3.3.1",
"@koishijs/plugin-console": "^3.3.1"
}
}
4 changes: 2 additions & 2 deletions plugins/frontend/status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"required:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^3.3.0",
"@koishijs/plugin-console": "^3.3.1",
"koishi": "^4.7.0"
},
"devDependencies": {
"@koishijs/client": "^3.3.0",
"@koishijs/client": "^3.3.1",
"@koishijs/cli": "^4.7.0",
"echarts": "^5.3.2",
"vue-echarts": "^6.0.2"
Expand Down

0 comments on commit b4a0f97

Please sign in to comment.