@d-mok/quasar-app-extension-quasar-axe 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -78,7 +78,7 @@ export function ORM<
|
|
|
78
78
|
|
|
79
79
|
protected onChange(): void {}
|
|
80
80
|
protected onEdit(): void {}
|
|
81
|
-
protected onSanitize
|
|
81
|
+
protected onSanitize(row: Partial<R>): Partial<R> {
|
|
82
82
|
return row
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -263,7 +263,7 @@ export function ORM<
|
|
|
263
263
|
conflictKeys: Key<P>[],
|
|
264
264
|
options?: uiOptions
|
|
265
265
|
): Promise<T> {
|
|
266
|
-
row = this.onSanitize(row)
|
|
266
|
+
row = this.onSanitize(row) as P
|
|
267
267
|
|
|
268
268
|
let found: R[] = await this.read(q =>
|
|
269
269
|
q.match(Object.pick(row, conflictKeys))
|