@d-mok/quasar-app-extension-quasar-axe 4.0.7 → 4.0.9
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
|
@@ -224,8 +224,8 @@ export function ORM<
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
async insert(row: Partial<R>, options?: uiOptions): Promise<T> {
|
|
227
|
-
let
|
|
228
|
-
return
|
|
227
|
+
let [entity] = await this.insertMany([row], options)
|
|
228
|
+
return entity!
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
async update(
|
|
@@ -233,7 +233,7 @@ export function ORM<
|
|
|
233
233
|
row: Partial<R>,
|
|
234
234
|
options?: uiOptions
|
|
235
235
|
): Promise<T> {
|
|
236
|
-
const
|
|
236
|
+
const [entity] = await this.wrapper(
|
|
237
237
|
'update',
|
|
238
238
|
options,
|
|
239
239
|
async () => {
|
|
@@ -255,7 +255,7 @@ export function ORM<
|
|
|
255
255
|
}
|
|
256
256
|
)
|
|
257
257
|
|
|
258
|
-
return
|
|
258
|
+
return entity!
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
async delete(idVal: R[IdK], options?: uiOptions): Promise<void> {
|
package/tsconfig.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
40
40
|
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
41
41
|
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
42
|
-
|
|
42
|
+
"noUncheckedIndexedAccess": true /* Include 'undefined' in index signature results */,
|
|
43
43
|
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an 'override' modifier. */
|
|
44
44
|
// "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */
|
|
45
45
|
|