Commit e29d9df4 authored by nanahira's avatar nanahira

catchup

parent d20d1c84
......@@ -9,7 +9,7 @@
"version": "3.0.0",
"license": "MIT",
"dependencies": {
"koishi-thirdeye": "^7.0.2",
"koishi-thirdeye": "^7.2.0",
"moment": "^2.29.1",
"source-map-support": "^0.5.21"
},
......@@ -20,7 +20,7 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1",
"koishi": "^4.0.0-rc.2",
"prettier": "^2.5.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.2.6",
......@@ -30,7 +30,7 @@
"ws": "^8.4.0"
},
"peerDependencies": {
"koishi": "^4.0.0-rc.1"
"koishi": "^4.0.0-rc.2"
}
},
"node_modules/@babel/code-frame": {
......@@ -210,9 +210,9 @@
}
},
"node_modules/@koishijs/core": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"dependencies": {
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
......@@ -2613,12 +2613,12 @@
}
},
"node_modules/koishi": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"dependencies": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-rc.1",
"@koishijs/core": "^4.0.0-rc.2",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
......@@ -2637,9 +2637,9 @@
}
},
"node_modules/koishi-thirdeye": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==",
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"dependencies": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
......@@ -2647,10 +2647,10 @@
"reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8"
"typed-reflector": "^1.0.9"
},
"peerDependencies": {
"koishi": "^4.0.0-rc.1"
"koishi": "^4.0.0-rc.2"
}
},
"node_modules/levn": {
......@@ -4040,9 +4040,9 @@
}
},
"node_modules/typed-reflector": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"dependencies": {
"reflect-metadata": "^0.1.13"
}
......@@ -4484,9 +4484,9 @@
}
},
"@koishijs/core": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"requires": {
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
......@@ -6307,12 +6307,12 @@
}
},
"koishi": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"requires": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-rc.1",
"@koishijs/core": "^4.0.0-rc.2",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
......@@ -6328,9 +6328,9 @@
}
},
"koishi-thirdeye": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==",
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"requires": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
......@@ -6338,7 +6338,7 @@
"reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8"
"typed-reflector": "^1.0.9"
}
},
"levn": {
......@@ -7321,9 +7321,9 @@
}
},
"typed-reflector": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"requires": {
"reflect-metadata": "^0.1.13"
}
......
......@@ -2,7 +2,7 @@ import 'source-map-support/register';
import { Context, Cache, Session, Next, Bot, segment } from 'koishi';
import { OrderPickerConfig, OrderPickerConfigLike } from './config';
import {
KoishiPlugin,
DefinePlugin,
InjectConfig,
Inject,
UseMiddleware,
......@@ -32,7 +32,7 @@ declare module 'koishi' {
}
@OnPlatform('onebot')
@KoishiPlugin({ name: 'order-picker', schema: OrderPickerConfig })
@DefinePlugin({ name: 'order-picker', schema: OrderPickerConfig })
export default class OrderPicker implements OnApply {
constructor(private ctx: Context, config: OrderPickerConfigLike) {}
@InjectConfig()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment