@balena/abstract-sql-to-typescript
Advanced tools
Comparing version 4.0.7-build-export-model-standalone-instead-of-just-default-fc8c469334711d70e94c2b6f48d952f87d365bab-1 to 4.0.7-build-renovate-major-10--balenaabstract-sql-compiler-6000af774f9fb9ce4efcb54e76caa0161d7ffc8d-1
@@ -7,5 +7,5 @@ # Change Log | ||
## 4.0.7 - 2024-09-19 | ||
## 4.0.7 - 2024-10-07 | ||
* Export $Model as a property alongs being the default export [Otavio Jacobi] | ||
* Update dependency @balena/abstract-sql-compiler to v10 [Self-hosted Renovate Bot] | ||
@@ -12,0 +12,0 @@ ## 4.0.6 - 2024-09-12 |
@@ -22,3 +22,3 @@ { | ||
"dependencies": { | ||
"@balena/abstract-sql-compiler": "^9.2.0", | ||
"@balena/abstract-sql-compiler": "^10.0.0", | ||
"@balena/odata-to-abstract-sql": "^6.3.0", | ||
@@ -57,4 +57,4 @@ "@types/node": "^20.16.5", | ||
"versionist": { | ||
"publishedAt": "2024-09-19T15:50:02.350Z" | ||
"publishedAt": "2024-10-07T15:45:02.800Z" | ||
} | ||
} |
@@ -153,3 +153,3 @@ "use strict"; | ||
export interface $Model { | ||
export default interface $Model { | ||
${Object.keys(m.tables) | ||
@@ -163,4 +163,2 @@ .map((tableName) => ` ${(0, odata_to_abstract_sql_1.sqlNameToODataName)(tableName)}: ${modelNameToCamelCaseName(m.tables[tableName].name)};`) | ||
} | ||
export default $Model; | ||
`; | ||
@@ -167,0 +165,0 @@ }; |
{ | ||
"name": "@balena/abstract-sql-to-typescript", | ||
"version": "4.0.7-build-export-model-standalone-instead-of-just-default-fc8c469334711d70e94c2b6f48d952f87d365bab-1", | ||
"version": "4.0.7-build-renovate-major-10--balenaabstract-sql-compiler-6000af774f9fb9ce4efcb54e76caa0161d7ffc8d-1", | ||
"description": "A translator for abstract sql into typescript types.", | ||
@@ -22,3 +22,3 @@ "main": "out/index.js", | ||
"dependencies": { | ||
"@balena/abstract-sql-compiler": "^9.2.0", | ||
"@balena/abstract-sql-compiler": "^10.0.0", | ||
"@balena/odata-to-abstract-sql": "^6.3.0", | ||
@@ -57,4 +57,4 @@ "@types/node": "^20.16.5", | ||
"versionist": { | ||
"publishedAt": "2024-09-19T15:50:02.350Z" | ||
"publishedAt": "2024-10-07T15:45:02.800Z" | ||
} | ||
} |
@@ -253,3 +253,3 @@ import type { | ||
export interface $Model { | ||
export default interface $Model { | ||
${Object.keys(m.tables) | ||
@@ -269,5 +269,3 @@ .map( | ||
} | ||
export default $Model; | ||
`; | ||
}; |
@@ -39,10 +39,7 @@ import type { AbstractSqlModel } from '@balena/abstract-sql-compiler'; | ||
export interface $Model { | ||
export default interface $Model { | ||
} | ||
export default $Model; | ||
`, | ||
}`, | ||
); | ||
@@ -383,3 +380,3 @@ | ||
export interface $Model { | ||
export default interface $Model { | ||
parent: Parent; | ||
@@ -392,5 +389,3 @@ other: Other; | ||
} | ||
export default $Model; | ||
`, | ||
); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
258376
869
+ Added@balena/abstract-sql-compiler@10.1.2(transitive)
+ Added@types/node@20.17.13(transitive)
- Removed@types/node@20.17.14(transitive)