@platformatic/sql-mapper 3.40.0 → 3.42.0
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 +2 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -514,14 +514,14 @@ export default plugin
|
|
|
514
514
|
/**
|
|
515
515
|
* An object that contains utility functions.
|
|
516
516
|
*/
|
|
517
|
-
export
|
|
517
|
+
export namespace utils {
|
|
518
518
|
export function toSingular (str: string): string
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
/**
|
|
522
522
|
* All the errors thrown by the plugin.
|
|
523
523
|
*/
|
|
524
|
-
export
|
|
524
|
+
export namespace errors {
|
|
525
525
|
export const CannotFindEntityError: (entityName: string) => FastifyError
|
|
526
526
|
export const SpecifyProtocolError: () => FastifyError
|
|
527
527
|
export const ConnectionStringRequiredError: () => FastifyError
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/sql-mapper",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0",
|
|
4
4
|
"description": "A data mapper utility for SQL databases",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -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.
|
|
39
|
-
"@platformatic/telemetry": "3.
|
|
38
|
+
"@platformatic/foundation": "3.42.0",
|
|
39
|
+
"@platformatic/telemetry": "3.42.0"
|
|
40
40
|
},
|
|
41
41
|
"tsd": {
|
|
42
42
|
"directory": "test/types"
|