New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@forestadmin/datasource-customizer

Package Overview
Dependencies
Maintainers
0
Versions
161
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.47.2 to 1.48.0

4

dist/context/relaxed-wrappers/collection.d.ts

@@ -1,2 +0,2 @@

import { ActionField, ActionResult, Caller, Collection, CollectionSchema, RecordData } from '@forestadmin/datasource-toolkit';
import { ActionFormElement, ActionResult, Caller, Collection, CollectionSchema, RecordData } from '@forestadmin/datasource-toolkit';
import { TAggregateResult, TAggregation, TCollectionName, TFieldName, TFilter, TPaginatedFilter, TPartialSimpleRow, TRow, TSchema } from '../../templates';

@@ -29,3 +29,3 @@ /** Collection wrapper which accepts plain objects in all methods */

execute(name: string, formValues: RecordData, filter?: TFilter<S, N>): Promise<ActionResult>;
getForm(name: string, formValues?: RecordData, filter?: TFilter<S, N>): Promise<ActionField[]>;
getForm(name: string, formValues?: RecordData, filter?: TFilter<S, N>): Promise<ActionFormElement[]>;
/**

@@ -32,0 +32,0 @@ * Create a list of records

@@ -169,2 +169,2 @@ "use strict";

exports.default = RelaxedCollection;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb250ZXh0L3JlbGF4ZWQtd3JhcHBlcnMvY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdFQWV5QztBQWN6QyxvRUFBb0U7QUFDcEUsTUFBcUIsaUJBQWlCO0lBT3BDLDhEQUE4RDtJQUM5RCxJQUFJLFlBQVk7UUFDZCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDO0lBQ3RDLENBQUM7SUFFR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UFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUMsU0FBUztTQUM5RSxDQUFDLENBQUM7SUFDTCxDQUFDO0lBRU8sZUFBZSxDQUFDLFVBQW9CO1FBQzFDLE9BQU8sSUFBSSwrQkFBVSxDQUFDLEdBQUcsVUFBVSxDQUFDLENBQUM7SUFDdkMsQ0FBQztJQUVPLGdCQUFnQixDQUFDLFdBQStCO1FBQ3RELE9BQU8sSUFBSSxnQ0FBVyxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQ3RDLENBQUM7Q0FDRjtBQXpNRCxvQ0F5TUMifQ==

@@ -1,2 +0,2 @@

import { ActionField, ActionResult, Caller, CollectionDecorator, CollectionSchema, DataSourceDecorator, Filter, GetFormMetas, RecordData } from '@forestadmin/datasource-toolkit';
import { ActionFormElement, ActionResult, Caller, CollectionDecorator, CollectionSchema, DataSourceDecorator, Filter, GetFormMetas, RecordData } from '@forestadmin/datasource-toolkit';
import { ActionDefinition } from './types/actions';

@@ -8,6 +8,7 @@ export default class ActionCollectionDecorator extends CollectionDecorator {

execute(caller: Caller, name: string, data: RecordData, filter: Filter): Promise<ActionResult>;
getForm(caller: Caller, name: string, data?: RecordData, filter?: Filter, metas?: GetFormMetas): Promise<ActionField[]>;
getForm(caller: Caller, name: string, data?: RecordData, filter?: Filter, metas?: GetFormMetas): Promise<ActionFormElement[]>;
protected refineSchema(subSchema: CollectionSchema): CollectionSchema;
private getContext;
private dropDefaults;
private dropDefault;
private dropIfs;

@@ -14,0 +15,0 @@ private dropDeferred;

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

// we don't want to rebuild all the fields. only the one searched
dynamicFields = [dynamicFields.find(field => field.label === metas.searchField)];
dynamicFields = [
dynamicFields.find(field => field.type !== 'Layout' && field.label === metas.searchField),
];
}

@@ -57,7 +59,9 @@ dynamicFields = await this.dropDefaults(context, dynamicFields, formValues);

for (const field of fields) {
// customer did not define a handler to rewrite the previous value => reuse current one.
if (field.value === undefined)
field.value = formValues[field.label];
// fields that were accessed through the context.formValues.X getter should be watched.
field.watchChanges = used.has(field.label);
if (field.type !== 'Layout') {
// customer did not define a handler to rewrite the previous value => reuse current one.
if (field.value === undefined)
field.value = formValues[field.label];
// fields that were accessed through the context.formValues.X getter should be watched.
field.watchChanges = used.has(field.label);
}
}

@@ -72,3 +76,4 @@ return fields;

const isDynamic = this.isHandler(form) ||
form?.some(field => Object.values(field).some(value => this.isHandler(value)) ||
form?.some(field => field.type === 'Layout' || // all forms containing some layout elements are handled as dynamic
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

@@ -88,10 +93,17 @@ (field.type.includes('File') && field.defaultValue));

async dropDefaults(context, fields, data) {
const unvaluedFields = fields.filter(field => data[field.label] === undefined);
const defaults = await Promise.all(unvaluedFields.map(field => this.evaluate(context, null, field.defaultValue)));
unvaluedFields.forEach((field, index) => {
data[field.label] = defaults[index];
const promises = fields.map(async (field) => {
if (field.type === 'Layout')
return field;
return this.dropDefault(context, field, data);
});
fields.forEach(field => delete field.defaultValue);
return fields;
return Promise.all(promises);
}
async dropDefault(context, field, data) {
if (data[field.label] === undefined) {
const defaultValue = await this.evaluate(context, null, field.defaultValue);
data[field.label] = defaultValue;
}
delete field.defaultValue;
return field;
}
async dropIfs(context, fields) {

@@ -107,3 +119,6 @@ // Remove fields which have falsy if

const keys = Object.keys(field);
const values = await Promise.all(Object.values(field).map(value => this.evaluate(context, searchValues?.[field.label], value)));
const values = await Promise.all(Object.values(field).map(value => {
const searchValue = field.type === 'Layout' ? null : searchValues?.[field.label];
return this.evaluate(context, searchValue, value);
}));
return keys.reduce((memo, key, index) => ({ ...memo, [key]: values[index] }), {});

@@ -132,2 +147,2 @@ });

exports.default = ActionCollectionDecorator;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2Vz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BQTBCLEVBQzFCLEtBQWdGO1FBRWhGLElBQUksSUFBSSxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsRUFBRTtZQUN6QixrRkFBa0Y7WUFDbEYsSUFBSSxJQUFJLENBQUMsc0JBQXNCLENBQUksS0FBSyxDQUFDLEVBQUU7Z0JBQ3pDLE9BQU8sS0FBSyxDQUFDLE9BQU8sRUFBRSxXQUFXLENBQUMsQ0FBQzthQUNwQztZQUVELE9BQU8sS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1NBQ3ZCO1FBRUQsT0FBTyxLQUFLLENBQUM7SUFDZixDQUFDO0lBRUQsd0RBQXdEO0lBQ2hELFNBQVMsQ0FBQyxLQUFxQjtRQUNyQyxPQUFPLE9BQU8sS0FBSyxLQUFLLFVBQVUsQ0FBQztJQUNyQyxDQUFDO0lBRU8sc0JBQXNCLENBQzVCLEtBQXlFO1FBRXpFLE9BQU8sS0FBSyxDQUFDLElBQUksS0FBSyxTQUFTLENBQUM7SUFDbEMsQ0FBQztDQUNGO0FBcE5ELDRDQW9OQyJ9
import { ActionResult, ActionScope } from '@forestadmin/datasource-toolkit';
import { DynamicField } from './fields';
import { DynamicFormElement } from './fields';
import { TCollectionName, TSchema } from '../../../templates';

@@ -11,3 +11,3 @@ import ActionContext from '../context/base';

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

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

@@ -1,2 +0,2 @@

import { CompositeId, File, Json } from '@forestadmin/datasource-toolkit';
import { ActionLayoutElement, CompositeId, File, Json, LayoutElementInput } from '@forestadmin/datasource-toolkit';
type UnionKeys<T> = T extends T ? keyof T : never;

@@ -140,3 +140,7 @@ type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;

export type DynamicField<Context = unknown> = StrictUnion<BooleanDynamicField<Context> | (BooleanDynamicField<Context> & CheckboxDynamicFieldConfiguration) | CollectionDynamicField<Context> | EnumDynamicField<Context> | EnumListDynamicField<Context> | FileDynamicField<Context> | FileListDynamicField<Context> | JsonDynamicField<Context> | (JsonDynamicField<Context> & JsonEditorFieldConfiguration) | NumberDynamicField<Context> | TimeDynamicField<Context> | (NumberDynamicField<Context> & NumberInputFieldConfiguration<Context>) | (NumberDynamicField<Context> & DropdownDynamicFieldConfiguration<Context, number>) | (NumberDynamicField<Context> & DropdownDynamicSearchFieldConfiguration<Context, number>) | (NumberDynamicField<Context> & RadioButtonFieldConfiguration<Context, number>) | (NumberDynamicField<Context> & CurrencyInputFieldConfiguration<Context>) | NumberListDynamicField<Context> | (NumberListDynamicField<Context> & DropdownDynamicFieldConfiguration<Context, number>) | (NumberListDynamicField<Context> & DropdownDynamicSearchFieldConfiguration<Context, number>) | (NumberListDynamicField<Context> & CheckboxesFieldConfiguration<Context, number>) | (NumberListDynamicField<Context> & ArrayNumberInputFieldConfiguration<Context>) | StringDynamicField<Context> | (DateDynamicField<Context> & DatePickerInputFieldConfiguration<Context>) | (StringDynamicField<Context> & TextInputFieldConfiguration) | (StringDynamicField<Context> & DropdownDynamicFieldConfiguration<Context, string>) | (StringDynamicField<Context> & DropdownDynamicSearchFieldConfiguration<Context, string>) | (StringDynamicField<Context> & RadioButtonFieldConfiguration<Context, string>) | (StringDynamicField<Context> & TextAreaFieldConfiguration) | (StringDynamicField<Context> & RichTextFieldConfiguration) | (StringDynamicField<Context> & ColorPickerFieldConfiguration) | (StringDynamicField<Context> & AddressAutocompleteFieldConfiguration) | (StringDynamicField<Context> & UserDropdownFieldConfiguration) | (FileDynamicField<Context> & FilePickerFieldConfiguration) | StringListDynamicField<Context> | (StringListDynamicField<Context> & DropdownDynamicFieldConfiguration<Context, string>) | (StringListDynamicField<Context> & DropdownDynamicSearchFieldConfiguration<Context, string>) | (StringListDynamicField<Context> & CheckboxesFieldConfiguration<Context, string>) | (StringListDynamicField<Context> & ArrayTextInputFieldConfiguration) | (StringListDynamicField<Context> & UserDropdownFieldConfiguration) | (FileListDynamicField<Context> & FileListPickerFieldConfiguration)>;
export type DynamicLayoutElement<Context = unknown> = Exclude<ActionLayoutElement, LayoutElementInput> & {
if?: ((context: Context) => Promise<unknown>) | ((context: Context) => unknown);
};
export type DynamicFormElement<Context = unknown> = DynamicField<Context> | DynamicLayoutElement<Context>;
export {};
//# sourceMappingURL=fields.d.ts.map
{
"name": "@forestadmin/datasource-customizer",
"version": "1.47.2",
"version": "1.48.0",
"main": "dist/index.js",

@@ -32,3 +32,3 @@ "license": "GPL-3.0",

"dependencies": {
"@forestadmin/datasource-toolkit": "1.34.5",
"@forestadmin/datasource-toolkit": "1.35.0",
"antlr4": "^4.13.1-patch-1",

@@ -35,0 +35,0 @@ "file-type": "^16.5.4",

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