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

@forestadmin/datasource-customizer

Package Overview
Dependencies
Maintainers
2
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.0.0 to 1.1.0

6

dist/collection-customizer.d.ts
import { Operator } from '@forestadmin/datasource-toolkit';
import { ActionDefinition } from './decorators/actions/types/actions';
import { FieldDefinition, OneToManyEmbeddedDefinition } from './types';
import { ComputedDefinition } from './decorators/computed/types';
import { HookHandler, HookPosition, HookType, HooksContext } from './decorators/hook/types';
import { OneToManyEmbeddedDefinition } from './types';
import { OperatorDefinition } from './decorators/operators-emulate/types';

@@ -32,3 +33,2 @@ import { SearchDefinition } from './decorators/search/types';

path: TFieldName<S, N>;
beforeRelations?: boolean;
readonly?: boolean;

@@ -75,3 +75,3 @@ }): this;

*/
addField(name: string, definition: FieldDefinition<S, N>): this;
addField(name: string, definition: ComputedDefinition<S, N>): this;
/**

@@ -78,0 +78,0 @@ * Add a new validator to the edition form of a given field

@@ -31,3 +31,2 @@ "use strict";

this.addField(name, {
beforeRelations: options.beforeRelations,
columnType: schema.columnType,

@@ -118,7 +117,16 @@ defaultValue: schema.defaultValue,

addField(name, definition) {
const { beforeRelations, ...computedDefinition } = definition;
const collection = definition.beforeRelations
? this.stack.earlyComputed.getCollection(this.name)
: this.stack.lateComputed.getCollection(this.name);
collection.registerComputed(name, computedDefinition);
const collectionBeforeRelations = this.stack.earlyComputed.getCollection(this.name);
const collectionAfterRelations = this.stack.lateComputed.getCollection(this.name);
const canBeComputedBeforeRelations = definition.dependencies.every(field => {
try {
return !!datasource_toolkit_1.CollectionUtils.getFieldSchema(collectionBeforeRelations, field);
}
catch {
return false;
}
});
const collection = canBeComputedBeforeRelations
? collectionBeforeRelations
: collectionAfterRelations;
collection.registerComputed(name, definition);
return this;

@@ -399,2 +407,2 @@ }

exports.default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gsYUFBYSxDQUFDLFVBQWtDO1FBQzlDLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTTthQUNkLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQ3pCLDhEQUE4RDthQUM3RCxhQUFhLENBQUMsVUFBd0MsQ0FBQyxDQUFDO1FBRTNELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztJQUVELE9BQU8sQ0FDTCxRQUFXLEVBQ1gsSUFBTyxFQUNQLE9BQThDO1FBRTlDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSTthQUNaLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO2FBQ3hCLE9BQU8sQ0FBQyxRQUFRLEVBQUUsSUFBSSxFQUFFLE9BQXFELENBQUMsQ0FBQztRQUVsRixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFFRDs7Ozs7Ozs7OztPQVVHO0lBQ0ssV0FBVyxDQUFDLElBQVksRUFBRSxVQUE4QjtRQUM5RCxJQUFJLENBQUMsS0FBSyxDQUFDLFFBQVEsQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLFdBQVcsQ0FBQyxJQUFJLEVBQUUsVUFBVSxDQUFDLENBQUM7UUFFM0UsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0Y7QUFwZkQsdUNBb2ZDIn0=
import { PrimitiveTypes } from '@forestadmin/datasource-toolkit';
import { ComputedDefinition } from './decorators/computed/types';
import { TCollectionName, TFieldName, TRow, TSchema } from './templates';
import CollectionCustomizationContext from './context/collection-context';
export declare type FieldDefinition<S extends TSchema = TSchema, N extends TCollectionName<S> = TCollectionName<S>> = ComputedDefinition<S, N> & {
beforeRelations?: boolean;
};
export declare type OneToManyEmbeddedDefinition<S extends TSchema = TSchema, N extends TCollectionName<S> = TCollectionName<S>> = {

@@ -9,0 +5,0 @@ schema: Record<string, PrimitiveTypes>;

{
"name": "@forestadmin/datasource-customizer",
"version": "1.0.0",
"version": "1.1.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