Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

meta-database

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meta-database

Decorate data types with functionality.

  • 0.0.44
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Glass API and Meta Database

Fast to set up, easy to maintain, magnificently extensible and entertaining persistence and service layer.

Glass API

Glass API presents an automatically generated API with minimal configuration, thanks to the magic of Meta Database. In addition to providing instant CRUD to your data, it also offers "actions", a straightforward way to add more complex functionality or optomizations to your API without muddying up the standard CRUD.

Meta Database

Meta Database offers a sensible mechanism for adding functionality to your data model, through "decorators". Meta Database invokes lifecycle callbacks on the decorators at certain data events:

  • prepareEntityToBeAddedAsync(tableName, entity, options)
  • validateEntityToBeAddedAsync(tableName, entity, options)
  • entityAddedAsync(tableName, entity, options)
  • refineQueryableAsync(user, queryable)
  • approveEntityToBeRemovedAsync(tableName, entity, options)
  • entityRemovedAsync(tableName, entity, options)
  • entityUpdatedAsync(tableName, entity, delta, options)
  • prepareEntityToBeUpdatedAsync(tableName, entity, delta, options)
  • validateEntityToBeUpdatedAsync(tableName, entity, delta, options) Note that the options object always contains at least a user key representing the currently authenticated user.

FAQs

Package last updated on 13 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc