@commodo/fields
Enables defining rich data models by decorating function instances with specified model fields. Additionally, it adds `populate` and `validate` methods, for populating model instances with data, and then validating it, respectively.
Enables defining rich data models by decorating function instances with specified model fields. Additionally, it adds `populate` and `validate` methods, for populating model instances with data, and then validating it, respectively.
Hooks are points in code on which you can "hook" on to and execute one or more callbacks.
Decorates a function (and its instances) with a name, that can be used for various purposes.
We're working hard to get all the docs in order. New articles will be added daily.
A simple date field, used with the Commodo "withFields" higher order function.
A simple object field, used with the Commodo "withFields" higher order function.
A simple float field, used with the Commodo "withFields" higher order function.
A simple integer field, used with the Commodo "withFields" higher order function.
A MongoDB driver for the [fields-storage](../fields-storage) package.
We're working hard to get all the docs in order. New articles will be added daily.
We're working hard to get all the docs in order. New articles will be added daily.
We're working hard to get all the docs in order. New articles will be added daily.
We're working hard to get all the docs in order. New articles will be added daily.
Appends "createdOn", "updatedOn", and "savedOn" fields to your model.
We're working hard to get all the docs in order. New articles will be added daily.