Socket
Book a DemoInstallSign in
Socket

@3kles/3kles-mongodbeventutil

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3kles/3kles-mongodbeventutil

3KLES MongoDB Util

latest
npmnpm
Version
3.0.0
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

3KLES-MONGODBUTIL

This package is based on:

  • 3kles@/3kles-corebe
  • 3kles@/3kles-coremongodb
  • 3kles@/3kles-amqpbroker

This toolbox to easily create mongodbservice with selection and event.

Services

MongoDBSelectionService is a service based on MongoDBService to add selection and event

  • getSelected: Get selected records
  • selectAll: Select all records
  • select: Select record by id
  • clearSelection: Clear current selection
  • deleteSelection: Delete selected records

Routes

MongoDBSelectionRouter is a service based on MongoDBRouter to add selection and event Add routes for:

  • getSelected
  • selectAll
  • select
  • clearSelection
  • deleteSelection

Utils

GenericCRUDEvent is a class to simplify event transmission:

  • emit (data:any, type:string): Method to send message (data) to exchange with routingKey (type)
  • create: Used when creating record
  • update: Used when updating record
  • delete: Used when deleting record

CRUDSelectionUtil is a toolbox

  • buildGenericRoute: Create a route from model and GenericCRUDEvent
  • generate: Override CRUDUtil @3Kles/3kles-corebe to add select, selectAll, clearSelection

Keywords

3KLES

FAQs

Package last updated on 25 Jul 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.