Options
All
  • Public
  • Public/Protected
  • All
Menu
     

Interface DataPoints

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.

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 useful functions that make your coding easier.

Hierarchy

Indexable

[BaseEndpoint: string]: Base

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.

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 useful functions that make your coding easier.

Index

Properties

Properties

__DEFAULTS

__DEFAULTS: Defaults

The configuration object of default GNParams.