@zenstackhq/orm 3.5.0-beta.1 → 3.5.0-beta.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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -8972,13 +8972,13 @@ var ClientImpl = class _ClientImpl {
|
|
|
8972
8972
|
};
|
|
8973
8973
|
return this.$setOptions(newOptions);
|
|
8974
8974
|
}
|
|
8975
|
-
|
|
8976
|
-
return {
|
|
8975
|
+
get $diagnostics() {
|
|
8976
|
+
return Promise.resolve({
|
|
8977
8977
|
zodCache: this.inputValidator.zodFactory.cacheStats,
|
|
8978
8978
|
slowQueries: this.slowQueries.map((q) => ({
|
|
8979
8979
|
...q
|
|
8980
|
-
}))
|
|
8981
|
-
};
|
|
8980
|
+
})).sort((a, b) => b.durationMs - a.durationMs)
|
|
8981
|
+
});
|
|
8982
8982
|
}
|
|
8983
8983
|
$executeRaw(query, ...values) {
|
|
8984
8984
|
return createZenStackPromise(async () => {
|