tspace-mysql 1.9.4-beta.1 → 1.9.4-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.
|
@@ -406,7 +406,7 @@ export type TStateWhereCondition = {
|
|
|
406
406
|
condition?: 'AND' | 'OR';
|
|
407
407
|
nested?: TStateWhereCondition[];
|
|
408
408
|
};
|
|
409
|
-
export type TDefault<T = any> = (string extends T ? string : boolean extends T ?
|
|
409
|
+
export type TDefault<T = any> = (string extends T ? string : boolean extends T ? Boolean | number : number extends T ? number : Date extends T ? Date : `${T & string}` | null) & {
|
|
410
410
|
__isDefault: true;
|
|
411
411
|
};
|
|
412
412
|
export type TRemoveDefault<T> = T extends TDefault<infer U> ? U : T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tspace-mysql",
|
|
3
|
-
"version": "1.9.4-beta.
|
|
3
|
+
"version": "1.9.4-beta.3",
|
|
4
4
|
"description": "Tspace MySQL is a promise-based ORM for Node.js, designed with modern TypeScript and providing type safety for schema databases.",
|
|
5
5
|
"main": "dist/lib/index.js",
|
|
6
6
|
"types": "dist/lib/index.d.ts",
|