Skip to content

Commit

Permalink
fix: correct some renaming
Browse files Browse the repository at this point in the history
Also, version bump.
  • Loading branch information
Josuto committed Oct 10, 2023
1 parent fe7f3a5 commit 710e772
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ be sure that the resulting values of the CRUD operations are of the type you exp

## Utilities to Define Your Custom Schemas

The `extendSchema` function eases the specification of the Mongoose schemas of your domain model and let `moquito`
The `extendSchema` function eases the specification of the Mongoose schemas of your domain model and let `monguito`
to handle the required implementation details. This function is specially convenient when defining schemas for
polymorphic data structures. The following example depicts the definition of `BookSchema`, `PaperBookSchema`,
and `AudioBookSchema`:
Expand Down Expand Up @@ -310,7 +310,7 @@ class AuditableBook implements Entity, Auditable {
```

If you would rather avoid all this boilerplate and you are not planning to make your domain object extend from any other
class, you can make it inherit from `AuditableClass`. This is an abstract class included in `moquito` that implements
class, you can make it inherit from `AuditableClass`. This is an abstract class included in `monguito` that implements
`Auditable` and both declares and instantiates all the audit data for you. You may then use `AuditableClass` as follows:

```typescript
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monguito",
"version": "2.9.0",
"version": "2.10.0",
"description": "Node.js lightweight abstract and polymorphic MongoDB repository implementation.",
"author": {
"name": "Josu Martinez",
Expand Down

0 comments on commit 710e772

Please sign in to comment.