Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forestadmin/datasource-customizer

Package Overview
Dependencies
Maintainers
0
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forestadmin/datasource-customizer - npm Package Compare versions

Comparing version 1.45.6 to 1.46.0

13

dist/decorators/actions/collection.js

@@ -43,3 +43,5 @@ "use strict";

// Convert DynamicField to ActionField in successive steps.
let dynamicFields = action.form.map(c => ({ ...c }));
let dynamicFields = this.isHandler(action.form)
? await action.form(context)
: action.form.map(c => ({ ...c }));
if (metas?.searchField) {

@@ -68,5 +70,6 @@ // in the case of a search hook,

// as long as there is nothing dynamic in it.
const isDynamic = form?.some(field => Object.values(field).some(value => typeof value === 'function') ||
// A field with a hardcoded file should not be sent to the apimap. it is marked dynamic
(field.type.includes('File') && field.defaultValue));
const isDynamic = this.isHandler(form) ||
form?.some(field => Object.values(field).some(value => this.isHandler(value)) ||
// A field with a hardcoded file should not be sent to the apimap. it is marked dynamic
(field.type.includes('File') && field.defaultValue));
newSchema.actions[name] = { scope, generateFile: !!generateFile, staticForm: !isDynamic };

@@ -126,2 +129,2 @@ }

exports.default = ActionCollectionDecorator;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kZWNvcmF0b3JzL2FjdGlvbnMvY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdFQVd5QztBQUV6QywwREFBMkM7QUFDM0MsOERBQW1EO0FBQ25ELHNFQUE2QztBQUk3QyxNQUFxQix5QkFBMEIsU0FBUSx3Q0FBbUI7SUFBMUU7O1FBR1UsWUFBTyxHQUFxQyxFQUFFLENBQUM7SUF1THpELENBQUM7SUFyTEMsU0FBUyxDQUFDL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T0FBTyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNoQyxDQUFDO0lBRU8sS0FBSyxDQUFDLFFBQVEsQ0FDcEIsT0FBc0IsRUFDdEIsV0FBMEIsRUFDMUIsS0FBZ0Y7UUFFaEYsSUFBSSxJQUFJLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxFQUFFO1lBQ3pCLGtGQUFrRjtZQUNsRixJQUFJLElBQUksQ0FBQyxzQkFBc0IsQ0FBSSxLQUFLLENBQUMsRUFBRTtnQkFDekMsT0FBTyxLQUFLLENBQUMsT0FBTyxFQUFFLFdBQVcsQ0FBQyxDQUFDO2FBQ3BDO1lBRUQsT0FBTyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7U0FDdkI7UUFFRCxPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFFRCx3REFBd0Q7SUFDaEQsU0FBUyxDQUFDLEtBQXFCO1FBQ3JDLE9BQU8sT0FBTyxLQUFLLEtBQUssVUFBVSxDQUFDO0lBQ3JDLENBQUM7SUFFTyxzQkFBc0IsQ0FDNUIsS0FBeUU7UUFFekUsT0FBTyxLQUFLLENBQUMsSUFBSSxLQUFLLFNBQVMsQ0FBQztJQUNsQyxDQUFDO0NBQ0Y7QUE5TEQsNENBOExDIn0=

@@ -11,3 +11,3 @@ import { ActionResult, ActionScope } from '@forestadmin/datasource-toolkit';

scope: Scope;
form?: DynamicField<Context>[];
form?: DynamicField<Context>[] | ((context: Context) => Promise<DynamicField<Context>[]> | DynamicField<Context>[]);
execute(context: Context, resultBuilder: ResultBuilder): void | ActionResult | Promise<void> | Promise<ActionResult>;

@@ -14,0 +14,0 @@ }

{
"name": "@forestadmin/datasource-customizer",
"version": "1.45.6",
"version": "1.46.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "license": "GPL-3.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc