@forestadmin/datasource-customizer
Advanced tools
Comparing version 1.10.2 to 1.11.0
@@ -8,3 +8,5 @@ import { ActionField, ActionResult, Caller, CollectionDecorator, CollectionSchema, DataSourceDecorator, Filter, RecordData } from '@forestadmin/datasource-toolkit'; | ||
execute(caller: Caller, name: string, data: RecordData, filter: Filter): Promise<ActionResult>; | ||
getForm(caller: Caller, name: string, data?: RecordData, filter?: Filter): Promise<ActionField[]>; | ||
getForm(caller: Caller, name: string, data?: RecordData, filter?: Filter, metas?: { | ||
changedField: string; | ||
}): Promise<ActionField[]>; | ||
protected refineSchema(subSchema: CollectionSchema): CollectionSchema; | ||
@@ -11,0 +13,0 @@ private getContext; |
@@ -33,6 +33,6 @@ "use strict"; | ||
} | ||
async getForm(caller, name, data, filter) { | ||
async getForm(caller, name, data, filter, metas) { | ||
const action = this.actions[name]; | ||
if (!action) | ||
return this.childCollection.getForm(caller, name, data, filter); | ||
return this.childCollection.getForm(caller, name, data, filter, metas); | ||
if (!action.form) | ||
@@ -42,3 +42,3 @@ return []; | ||
const used = new Set(); | ||
const context = this.getContext(caller, action, formValues, filter, used); | ||
const context = this.getContext(caller, action, formValues, filter, used, metas?.changedField); | ||
// Convert DynamicField to ActionField in successive steps. | ||
@@ -69,3 +69,3 @@ let dynamicFields; | ||
} | ||
getContext(caller, action, formValues, filter, used) { | ||
getContext(caller, action, formValues, filter, used, changedField) { | ||
return new { | ||
@@ -75,3 +75,3 @@ Global: base_1.default, | ||
Single: single_1.default, | ||
}[action.scope](this, caller, formValues, filter, used); | ||
}[action.scope](this, caller, formValues, filter, used, changedField); | ||
} | ||
@@ -108,2 +108,2 @@ async dropDefaults(context, fields, isFirstCall, data) { | ||
exports.default = ActionCollectionDecorator; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kZWNvcmF0b3JzL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ENBQUMsS0FBSyxDQUFDLENBQUM7WUFDaEMsTUFBTSxNQUFNLEdBQUcsTUFBTSxPQUFPLENBQUMsR0FBRyxDQUM5QixNQUFNLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxDQUFDLENBQ2pFLENBQUM7WUFFRixPQUFPLElBQUksQ0FBQyxNQUFNLENBQ2hCLENBQUMsSUFBSSxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFBRSxHQUFHLElBQUksRUFBRSxDQUFDLEdBQUcsQ0FBQyxFQUFFLE1BQU0sQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLEVBQ3pELEVBQWlCLENBQ2xCLENBQUM7UUFDSixDQUFDLENBQUMsQ0FBQztRQUVILE9BQU8sT0FBTyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNoQyxDQUFDO0lBRU8sS0FBSyxDQUFDLFFBQVEsQ0FBSSxPQUFzQixFQUFFLEtBQXFCO1FBQ3JFLE9BQU8sT0FBTyxLQUFLLEtBQUssVUFBVSxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQztJQUM5RCxDQUFDO0NBQ0Y7QUF4SkQsNENBd0pDIn0= |
@@ -7,5 +7,6 @@ import { Caller, Collection, CompositeId, RecordData } from '@forestadmin/datasource-toolkit'; | ||
readonly filter: TFilter<S, N>; | ||
readonly changedField: string; | ||
private queries; | ||
private projection; | ||
constructor(collection: Collection, caller: Caller, formValue: RecordData, filter: TFilter<S, N>, used?: Set<string>); | ||
constructor(collection: Collection, caller: Caller, formValue: RecordData, filter: TFilter<S, N>, used?: Set<string>, changedField?: string); | ||
/** | ||
@@ -12,0 +13,0 @@ * Get all the records selected by an action |
@@ -18,6 +18,7 @@ "use strict"; | ||
class ActionContext extends collection_context_1.default { | ||
constructor(collection, caller, formValue, filter, used) { | ||
constructor(collection, caller, formValue, filter, used, changedField) { | ||
super(collection, caller); | ||
this.formValues = formValue; | ||
this.filter = filter; | ||
this.changedField = changedField; | ||
this.reset(); | ||
@@ -106,2 +107,2 @@ // Spy on which formValues are accessed to set-up change hooks | ||
exports.default = ActionContext; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZWNvcmF0b3JzL2FjdGlvbnMvY29udGV4dC9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEseUNBQXlDO0FBQ3pDLHdFQVF5QztBQUV6Qyw2RkFBaUY7QUFHakYsTUFBTSxRQUFRO0lBS1o7UUFDRSxJQUFJLENBQUMsT0FBTyxHQUFHLElBQUksT0FBTyxDQUFDLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxFQUFFO1lBQzdDLElBQUksQ0FBQyxNQUFNLEdBQUcsTUFBTSxDQUFDO1lBQ3JCLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQ3pCLENBQUMsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztDQUNGO0FBRUQsTUFBcUIsYUFHbkIsU0FBUSw0QkFBb0M7SUFPNUMsWUFDRSxVQUFzQixFQUN0QixNQUFjLEVBQ2QsU0FBcUIsRUFDckIsTUFBcUIsRUFDckIsSUFBa0I7UUFFbEIsS0FBSyxDQUFDLFVBQVUsRUFBRSxNQUFNLENBQUMsQ0FBQztRQUMxQixJQUFJLENBQUMsVUFBVSxHQUFHLFNBQVMsQ0FBQztRQUM1QixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztRQUNyQ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QUFDO1lBRUYsa0VBQWtFO1lBQ2xFLEtBQUssTUFBTSxLQUFLLElBQUksT0FBTztnQkFBRSxLQUFLLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDO1NBQ3RGO1FBQUMsT0FBTyxDQUFDLEVBQUU7WUFDVix1Q0FBdUM7WUFFdkMsdUZBQXVGO1lBQ3ZGLHlCQUF5QjtZQUN6QixLQUFLLE1BQU0sS0FBSyxJQUFJLE9BQU8sRUFBRTtnQkFDM0IsT0FBTyxDQUFDLFFBQVEsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO2FBQ2xEO1NBQ0Y7SUFDSCxDQUFDO0lBRU8sS0FBSztRQUNYLElBQUksQ0FBQyxPQUFPLEdBQUcsRUFBRSxDQUFDO1FBQ2xCLElBQUksQ0FBQyxVQUFVLEdBQUcsSUFBSSwrQkFBVSxFQUFFLENBQUM7SUFDckMsQ0FBQztDQUNGO0FBekhELGdDQXlIQyJ9 |
{ | ||
"name": "@forestadmin/datasource-customizer", | ||
"version": "1.10.2", | ||
"version": "1.11.0", | ||
"main": "dist/index.js", | ||
@@ -31,3 +31,3 @@ "license": "GPL-3.0", | ||
"dependencies": { | ||
"@forestadmin/datasource-toolkit": "1.5.2", | ||
"@forestadmin/datasource-toolkit": "1.6.0", | ||
"file-type": "^16.5.4", | ||
@@ -34,0 +34,0 @@ "luxon": "^3.2.1", |
450203
5155
+ Added@forestadmin/datasource-toolkit@1.6.0(transitive)
- Removed@forestadmin/datasource-toolkit@1.5.2(transitive)