@t4h.framework/orm 0.11.3 → 0.11.4
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/.ai/skills/framework-orm/SKILL.md +8 -19
- package/CHANGELOG.md +21 -0
- package/README.md +14 -1
- package/dist/activities/ORMFindOneActivity.d.ts +2 -0
- package/dist/activities/ORMFindOneActivity.d.ts.map +1 -1
- package/dist/activities/ORMLoadActivity.d.ts.map +1 -1
- package/dist/activities/ORMLoadActivity.js +4 -3
- package/dist/activities/ORMLoadActivity.js.map +1 -1
- package/dist/claims/ORMClaim.js.map +1 -1
- package/dist/constraints/assert-constraints.d.ts +1 -1
- package/dist/constraints/assert-constraints.d.ts.map +1 -1
- package/dist/constraints/assert-constraints.js +1 -1
- package/dist/constraints/assert-constraints.js.map +1 -1
- package/dist/constraints/assert-property-type-constraint.js.map +1 -1
- package/dist/decorators/Entity.d.ts.map +1 -1
- package/dist/decorators/Entity.js +1 -1
- package/dist/decorators/Entity.js.map +1 -1
- package/dist/decorators/Index.d.ts.map +1 -1
- package/dist/decorators/Index.js.map +1 -1
- package/dist/decorators/ManyToOne.js.map +1 -1
- package/dist/decorators/OneToMany.d.ts +1 -1
- package/dist/decorators/OneToMany.d.ts.map +1 -1
- package/dist/decorators/OneToMany.js.map +1 -1
- package/dist/decorators/Property.d.ts.map +1 -1
- package/dist/decorators/Property.js.map +1 -1
- package/dist/decorators/metadata.d.ts +11 -9
- package/dist/decorators/metadata.d.ts.map +1 -1
- package/dist/decorators/metadata.js.map +1 -1
- package/dist/helpers/Insert.d.ts +4 -3
- package/dist/helpers/Insert.d.ts.map +1 -1
- package/dist/helpers/Insert.js +22 -15
- package/dist/helpers/Insert.js.map +1 -1
- package/dist/helpers/Populate.d.ts.map +1 -1
- package/dist/helpers/Populate.js +10 -5
- package/dist/helpers/Populate.js.map +1 -1
- package/dist/helpers/Serialize.d.ts +4 -3
- package/dist/helpers/Serialize.d.ts.map +1 -1
- package/dist/helpers/Serialize.js +20 -18
- package/dist/helpers/Serialize.js.map +1 -1
- package/dist/helpers/isPlainObject.js.map +1 -1
- package/dist/helpers/refs.d.ts +1 -1
- package/dist/helpers/refs.d.ts.map +1 -1
- package/dist/helpers/refs.js.map +1 -1
- package/dist/models/MapCollection.d.ts +1 -0
- package/dist/models/MapCollection.d.ts.map +1 -1
- package/dist/models/MapCollection.js +12 -5
- package/dist/models/MapCollection.js.map +1 -1
- package/dist/models/ORM.d.ts.map +1 -1
- package/dist/models/ORM.js +32 -16
- package/dist/models/ORM.js.map +1 -1
- package/dist/models/Ref.d.ts.map +1 -1
- package/dist/models/Ref.js +3 -2
- package/dist/models/Ref.js.map +1 -1
- package/dist/models/RefCollection.d.ts.map +1 -1
- package/dist/models/RefCollection.js +6 -4
- package/dist/models/RefCollection.js.map +1 -1
- package/dist/typings/FindWhere.d.ts +1 -1
- package/dist/typings/FindWhere.d.ts.map +1 -1
- package/dist/typings/ORM.d.ts +5 -5
- package/dist/typings/ORM.d.ts.map +1 -1
- package/dist/typings/Relations.d.ts +2 -2
- package/dist/typings/Relations.d.ts.map +1 -1
- package/package.json +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t4h.framework/orm",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "ORM module for the T4H Framework",
|
|
5
5
|
"homepage": "https://github.com/tech4humans-brasil/framework/tree/main/packages/orm",
|
|
6
6
|
"bugs": "https://github.com/tech4humans-brasil/framework/issues",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "tsc --project tsconfig.build.json",
|
|
28
28
|
"check-types": "tsc --noEmit",
|
|
29
|
-
"
|
|
29
|
+
"check-package": "publint --strict && attw --pack . --profile esm-only",
|
|
30
|
+
"lint": "eslint . --max-warnings 0",
|
|
30
31
|
"prepublishOnly": "yarn build",
|
|
31
32
|
"test": "vitest run",
|
|
32
33
|
"test:watch": "vitest"
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"reflect-metadata": "^0.2.2"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@t4h.framework/core": "^0.
|
|
39
|
+
"@t4h.framework/core": "^0.20.0",
|
|
39
40
|
"typescript": "^5.9.3",
|
|
40
41
|
"vitest": "^4.0.18"
|
|
41
42
|
},
|