Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lolopinto committed Jul 29, 2022
1 parent 204edba commit 478544a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
14 changes: 7 additions & 7 deletions examples/todo-sqlite/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/todo-sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@snowtop/ent": "^0.1.0-alpha55",
"@snowtop/ent-phonenumber": "^0.1.0-alpha1",
"@snowtop/ent-soft-delete": "^0.1.0-alpha2",
"@snowtop/ent-soft-delete": "^0.1.0-alpha3",
"@types/node": "^15.0.3",
"@types/pg": "^8.6.1",
"better-sqlite3": "^7.4.3",
Expand Down
8 changes: 0 additions & 8 deletions examples/todo-sqlite/src/schema/global_schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,5 @@ import { GlobalDeletedEdge } from "@snowtop/ent-soft-delete";

const glo: GlobalSchema = {
...GlobalDeletedEdge,

extraEdgeFields: {
// same energy as soft_delete pattern but implemented manually
deleted_at: TimestampType({
nullable: true,
defaultValueOnCreate: () => null,
}),
},
};
export default glo;
2 changes: 1 addition & 1 deletion ts/packages/ent-soft-delete/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowtop/ent-soft-delete",
"version": "0.1.0-alpha2",
"version": "0.1.0-alpha3",
"description": "snowtop ent soft delete",
"main": "dist/soft_delete.js",
"types": "dist/soft_delete.d.ts",
Expand Down

0 comments on commit 478544a

Please sign in to comment.