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

@piggly/ddd-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@piggly/ddd-toolkit - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

8

dist/cjs/core/Repository.d.ts

@@ -14,3 +14,3 @@ import { PaginateQuery } from '../types';

*
* @type {DatabaseContext<Context>} _context
* @type {DatabaseContext} _context
* @protected

@@ -25,3 +25,3 @@ * @memberof Repository

*
* @param {DatabaseContext<Context>} context
* @param {DatabaseContext} context
* @public

@@ -37,3 +37,3 @@ * @constructor

*
* @param {EntityUUID} id
* @param {EntityID<any>} id
* @returns {Promise<Entity | undefined>}

@@ -47,3 +47,3 @@ * @public

*/
abstract findById(id: EntityID): Promise<Entity | undefined>;
abstract findById(id: EntityID<any>): Promise<Entity | undefined>;
/**

@@ -50,0 +50,0 @@ * Find entities by a filter.

@@ -11,3 +11,3 @@ "use strict";

*
* @type {DatabaseContext<Context>} _context
* @type {DatabaseContext} _context
* @protected

@@ -22,3 +22,3 @@ * @memberof Repository

*
* @param {DatabaseContext<Context>} context
* @param {DatabaseContext} context
* @public

@@ -25,0 +25,0 @@ * @constructor

@@ -14,3 +14,3 @@ import { PaginateQuery } from '../types';

*
* @type {DatabaseContext<Context>} _context
* @type {DatabaseContext} _context
* @protected

@@ -25,3 +25,3 @@ * @memberof Repository

*
* @param {DatabaseContext<Context>} context
* @param {DatabaseContext} context
* @public

@@ -37,3 +37,3 @@ * @constructor

*
* @param {EntityUUID} id
* @param {EntityID<any>} id
* @returns {Promise<Entity | undefined>}

@@ -47,3 +47,3 @@ * @public

*/
abstract findById(id: EntityID): Promise<Entity | undefined>;
abstract findById(id: EntityID<any>): Promise<Entity | undefined>;
/**

@@ -50,0 +50,0 @@ * Find entities by a filter.

@@ -9,3 +9,3 @@ /**

*
* @type {DatabaseContext<Context>} _context
* @type {DatabaseContext} _context
* @protected

@@ -20,3 +20,3 @@ * @memberof Repository

*
* @param {DatabaseContext<Context>} context
* @param {DatabaseContext} context
* @public

@@ -23,0 +23,0 @@ * @constructor

{
"name": "@piggly/ddd-toolkit",
"version": "1.1.1",
"version": "1.1.2",
"description": "A bunch of tools to use Model-Driven Design and Domain-Driven Design architecture in a back-end application.",

@@ -5,0 +5,0 @@ "scripts": {

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