@platformatic/sql-mapper 3.0.0-alpha.6 → 3.0.0-alpha.8
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/index.d.ts +4 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -319,6 +319,10 @@ export interface Entity<EntityFields = any> {
|
|
|
319
319
|
* The primary key of the database entity.
|
|
320
320
|
*/
|
|
321
321
|
primaryKey: string,
|
|
322
|
+
/**
|
|
323
|
+
* Primary keys of the database entity.
|
|
324
|
+
*/
|
|
325
|
+
primaryKeys: Set<string>,
|
|
322
326
|
/**
|
|
323
327
|
* The table of the database entity.
|
|
324
328
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/sql-mapper",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.8",
|
|
4
4
|
"description": "A data mapper utility for SQL databases",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"eslint": "9",
|
|
22
22
|
"fastify": "^5.0.0",
|
|
23
23
|
"neostandard": "^0.12.0",
|
|
24
|
-
"tsd": "^0.
|
|
24
|
+
"tsd": "^0.33.0",
|
|
25
25
|
"typescript": "^5.5.4"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"camelcase": "^6.3.0",
|
|
36
36
|
"fastify-plugin": "^5.0.0",
|
|
37
37
|
"inflected": "^2.1.0",
|
|
38
|
-
"@platformatic/foundation": "3.0.0-alpha.
|
|
39
|
-
"@platformatic/telemetry": "3.0.0-alpha.
|
|
38
|
+
"@platformatic/foundation": "3.0.0-alpha.8",
|
|
39
|
+
"@platformatic/telemetry": "3.0.0-alpha.8"
|
|
40
40
|
},
|
|
41
41
|
"tsd": {
|
|
42
42
|
"directory": "test/types"
|