Members
(constant) APIHelper
api-helper module
(constant) APIHelper
api-helper module
- Source:
(constant) APIHelper
api-helper class module
(constant) async
async module.
(constant) Campground
Campground resource class module
- Source:
(constant) Campground
Campground resource class module
(constant) Campground
Campground resource class module
(constant) Campground
Campground resource class module
(constant) Campground
Campground resource class module
(constant) Campground
Campground resource class module
- Source:
(constant) CampgroundController
campground-controller module.
- Source:
(constant) CloudinaryHelper
cloudinary-helper class module
(constant) Comment
Comment resource class module
- Source:
(constant) Comment
Comment resource class module
(constant) Comment
Comment resource class module
(constant) Comment
Comment resource class module
(constant) Comment
Comment resource class module
(constant) Comment
Comment resource class module
- Source:
(constant) Comment
Comment resource class module
- Source:
(constant) CONFIG
- Default Value:
{"cloud_name":"","api_key":"","api_secret":""}
- Source:
(constant) CONFIG
- Default Value:
{"provider":"google","httpAdapter":"https","apiKey":"","formatter":null}
- Source:
(constant) crypto
crypto module.
(constant) DB_PROVIDER
- Default Value:
- MongoDB
- Source:
(constant) DB_PROVIDER
- Default Value:
- MongoDB
- Source:
(constant) DB_PROVIDER
- Default Value:
- MongoDB
- Source:
(constant) DB_PROVIDER
(constant) DB_PROVIDER
- Default Value:
- MongoDB
- Source:
(constant) errors
errors module
(constant) errors
errors module
(constant) errors
errors module
(constant) errors
errors module
(constant) errors
errors module
(constant) errors
errors module
(constant) errors
errors module
- Source:
(constant) errors
errors module
(constant) errors
errors module
(constant) errors
errors class module
- Source:
(constant) errors
errors class module
- Source:
(constant) express
express module
(constant) express
express module
(constant) express
express module
(constant) express
express module
- Source:
(constant) GeneralHelper
general-helper class module
(constant) GeocoderHelper
geocoder-helper class module
(constant) middleware
middleware module.
If file is not specified than it will require index.js in specified folder
(constant) middleware
middleware module.
If file is not specified than it will require index.js in specified folder
(constant) middleware
middleware module.
If file is not specified than it will require index.js in specified folder
(constant) middleware
middleware module.
If file is not specified than it will require index.js in specified folder
(constant) mongoose
mongoose module
- Source:
(constant) mongoose
mongoose module
- Source:
(constant) mongoose
mongoose module
(constant) mongoose
mongoose module
(constant) mongoose
mongoose module
(constant) mongoose
mongoose module
- Source:
(constant) mongoose
mongoose module
- Source:
(constant) multer
multer module
(constant) multer
multer module
(constant) NodeGeocoder
node-geocoder module
(constant) nodemailer
nodemailer module.
(constant) Notification
Notification resource class module
- Source:
(constant) Notification
Notification resource class module
(constant) Notification
Notification resource class module
(constant) Notification
Notification resource class module
(constant) Notification
Notification class module
- Source:
(constant) passport
passport module.
- Source:
(constant) passport
passport module.
(constant) PROVIDER
- Default Value:
- MongoDB
- Source:
(constant) PROVIDER
- Default Value:
- MongoDB
- Source:
(constant) seedAll
seed-all module
- Source:
(constant) Slug
Slug class module
- Source:
(constant) staticProperties
- Default Value:
{"COLLECTION_NAME":"Comment","PRIMARY_KEY":"_id"}
- Source:
(constant) staticProperties
- Default Value:
{"COLLECTION_NAME":"Notification"}
- Source:
(constant) staticProperties
- Default Value:
{"COLLECTION_NAME":"User"}
- Source:
(constant) User
User resource class module
- Source:
Methods
module:lib/middleware/mongoose/global-pre-hooks(schema, options)
Represents the global pre hooks for Mongoose middleware to protect read-only version of the web-site.
Parameters:
Name | Type | Description |
---|---|---|
schema |
Schema | The schema of the resource for which a modification is being attempted. |
options |
Object | The options used for modifying the execution of the middleware. |
module:lib/middleware/mongoose/mongoose-middleware(schema, options)
Represents the plugin function middleware used for handling read-only website errors.
Parameters:
Name | Type | Description |
---|---|---|
schema |
Schema | The schema of the resource for which a modification is being attempted. |
options |
Object | The options used for modifying the execution of the middleware. |