Skip to content

Latest commit

 

History

History
113 lines (94 loc) · 2.23 KB

README.md

File metadata and controls

113 lines (94 loc) · 2.23 KB

Pageable Protocol

logo

npm Package NPM Downloads Build Status License: MIT JavaScript Style Guide

The pageable protocol handles the complete lifecycle for pageable objects, from storing the models to saving the custom implementation on instianted objects.

Install

yarn add servable-pageable

Auxiliary packages

Shared library

servable-pageable-shared

yarn add servable-pageable-shared

React library

servable-pageable-react

yarn add servable-pageable-react

Protocol

Configuration

Payload sample

 {
    "id": "pageable",
    "name": "pageable",
    "slug": "ps",
    "module": {
        "servable-pageable": "*"
    },
    "version": "*",
    "params": {
        "liveClasses": ["pageable"],
        "schema": {
            "restrictSecurity": true
        }
    }
}

Reference

Capacities

Schema

Classes TODO

Class level permissions TODO

Indexes

{
    "_pageableStatus": {
        "pageableStatus": 1
    }
}

Fields

{
    "pageableStatus": {
        "type": "String"
    }
}

Protocol class

TODO

Classes

TODO

Triggers

TODO

Before init

TODO

After init

TODO

Seed

TODO

Config

TODO

Functions

TODO

Jobs

TODO

Live classes

TODO

Security

TODO

Performance

TODO

Servable Documentation

You can find here the complete servable documentation with guides and api reference.

License

MIT © yelounak