A defined collection of PNTS.Data.Base
, representing all Data-Requests. This is
declared by using module.exports
to export a function
that returns
the definition.
These are placed in config/endpoints.cfg.js
.
// ./config/endpoints.cfg.js
module.exports = () => ({
__DEFAULTS: { ... },
Users: { ... },
Messages: { ... },
List: { ... },
...
});
The body of this function
can be used to declare any variables
and useful functions
that make your coding easier.
The configuration object of default GNParams
.
A defined collection of
PNTS.Data.Base
, representing all Data-Requests. This is declared by usingmodule.exports
to export afunction
thatreturns
the definition.Examples:
These are placed in
config/endpoints.cfg.js
.// ./config/endpoints.cfg.js module.exports = () => ({ __DEFAULTS: { ... }, Users: { ... }, Messages: { ... }, List: { ... }, ... });
The body of this
function
can be used to declare any variables and usefulfunctions
that make your coding easier.