@oldendev/testplugin
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "@oldendev/testplugin", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "CRUD plugin for Metarhia impress, metasql", | ||
@@ -5,0 +5,0 @@ "main": "testPlugin.js", |
@@ -0,1 +1,3 @@ | ||
/* eslint-disable no-undef */ | ||
/* eslint-disable no-loop-func */ | ||
'use strict'; | ||
@@ -7,3 +9,3 @@ | ||
for (const [entity, data] of Object.entries(entities)) { | ||
iface['schema' + entity] = async () => data; | ||
iface['schema' + entity] = async () => ({ context, data }); | ||
} | ||
@@ -10,0 +12,0 @@ return iface; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5026
23