mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 09:33:09 +02:00
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
0a99345909
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
import { utils, values } from '@syuilo/aiscript';
|
||||
import { jsToVal } from '@syuilo/aiscript/built/interpreter/util';
|
||||
|
||||
// TODO: vue3に移行した折にはvmを渡す必要は無くなるはず
|
||||
export function createAiScriptEnv(vm, opts) {
|
||||
let apiRequests = 0;
|
||||
return {
|
||||
|
@ -42,6 +43,7 @@ export function createAiScriptEnv(vm, opts) {
|
|||
};
|
||||
}
|
||||
|
||||
// TODO: vue3に移行した折にはvmを渡す必要は無くなるはず
|
||||
export function createPluginEnv(vm, opts) {
|
||||
const config = new Map();
|
||||
for (const [k, v] of Object.entries(opts.plugin.config || {})) {
|
||||
|
|
Loading…
Reference in a new issue