hysteria-orm 10.0.2 → 10.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/lib/cli.cjs +19 -19
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +19 -19
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +17 -17
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +17 -17
- package/lib/index.js.map +1 -1
- package/package.json +6 -7
package/lib/index.d.cts
CHANGED
|
@@ -4096,7 +4096,7 @@ declare function getRelations(target: typeof Model): Relation[];
|
|
|
4096
4096
|
/**
|
|
4097
4097
|
* @description Returns the primary key of the model
|
|
4098
4098
|
*/
|
|
4099
|
-
declare function getPrimaryKey(target: typeof Model): string;
|
|
4099
|
+
declare function getPrimaryKey(target: typeof Model): string | undefined;
|
|
4100
4100
|
declare function getIndexes(target: typeof Model): IndexType[];
|
|
4101
4101
|
declare function getUniques(target: typeof Model): UniqueType[];
|
|
4102
4102
|
|
package/lib/index.d.ts
CHANGED
|
@@ -4096,7 +4096,7 @@ declare function getRelations(target: typeof Model): Relation[];
|
|
|
4096
4096
|
/**
|
|
4097
4097
|
* @description Returns the primary key of the model
|
|
4098
4098
|
*/
|
|
4099
|
-
declare function getPrimaryKey(target: typeof Model): string;
|
|
4099
|
+
declare function getPrimaryKey(target: typeof Model): string | undefined;
|
|
4100
4100
|
declare function getIndexes(target: typeof Model): IndexType[];
|
|
4101
4101
|
declare function getUniques(target: typeof Model): UniqueType[];
|
|
4102
4102
|
|