Move plugin stuff around

This commit is contained in:
Gregory Schier
2024-01-15 14:33:51 -08:00
parent f55c8aba56
commit d23de93917
25 changed files with 3417 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
function u(r) {
let e;
try {
e = JSON.parse(r);
} catch {
return;
}
if (t(e) && e.yaakSchema === 1)
return { resources: e.resources };
}
function t(r) {
return Object.prototype.toString.call(r) === "[object Object]";
}
export {
t as isJSObject,
u as pluginHookImport
};