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

@plumier/generic-controller

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plumier/generic-controller - npm Package Compare versions

Comparing version 1.0.0-canary.klmi2vb6.0 to 1.0.0-canary.km12ir1x.0

8

lib/controllers.d.ts

@@ -1,2 +0,2 @@

import { Class, ControllerGeneric, FilterEntity, HttpMethod, OneToManyControllerGeneric, OneToManyRepository, OrderQuery, Repository } from "@plumier/core";
import { Class, ControllerGeneric, HttpMethod, OneToManyControllerGeneric, OneToManyRepository, OrderQuery, Repository } from "@plumier/core";
import { Context } from "koa";

@@ -26,3 +26,3 @@ import { getGenericControllerInverseProperty } from "./helper";

select: string[];
filter: FilterEntity<T>;
filter: any;
order: OrderQuery[];

@@ -49,3 +49,3 @@ }

protected findByIdOrNotFound(id: TID, select?: string[]): Promise<T>;
list(offset: number | undefined, limit: number | undefined, filter: FilterEntity<T>, select: string, order: string, ctx: Context): Promise<any>;
list(offset: number | undefined, limit: number | undefined, filter: any, select: string, order: string, ctx: Context): Promise<any>;
save(data: T, ctx: Context): Promise<IdentifierResult<TID>>;

@@ -65,3 +65,3 @@ get(id: TID, select: string, ctx: Context): Promise<T>;

protected findParentByIdOrNotFound(id: PID): Promise<P>;
list(pid: PID, offset: number | undefined, limit: number | undefined, filter: FilterEntity<T>, select: string, order: string, ctx: Context): Promise<any>;
list(pid: PID, offset: number | undefined, limit: number | undefined, filter: any, select: string, order: string, ctx: Context): Promise<any>;
save(pid: PID, data: T, ctx: Context): Promise<IdentifierResult<TID>>;

@@ -68,0 +68,0 @@ get(pid: PID, id: TID, select: string, ctx: Context): Promise<T>;

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

const request_hook_1 = require("./request-hook");
const filter_parser_1 = require("@plumier/filter-parser");
// --------------------------------------------------------------------- //

@@ -172,3 +173,3 @@ // ----------------------------- DECORATORS ---------------------------- //

reflect_1.default.type(["T"]),
tslib_1.__param(2, core_1.entity.filter()), tslib_1.__param(2, reflect_1.default.type("T")), tslib_1.__param(2, validator_1.val.partial("T")), tslib_1.__param(2, validator_1.val.filter()), tslib_1.__param(5, core_1.bind.ctx()),
tslib_1.__param(2, filter_parser_1.filterParser(() => "T")), tslib_1.__param(5, core_1.bind.ctx()),
tslib_1.__metadata("design:type", Function),

@@ -306,3 +307,3 @@ tslib_1.__metadata("design:paramtypes", [Number, Number, Object, String, String, Object]),

reflect_1.default.type(["T"]),
tslib_1.__param(0, validator_1.val.required()), tslib_1.__param(0, reflect_1.default.type("PID")), tslib_1.__param(3, core_1.entity.filter()), tslib_1.__param(3, reflect_1.default.type("T")), tslib_1.__param(3, validator_1.val.partial("T")), tslib_1.__param(3, validator_1.val.filter()), tslib_1.__param(6, core_1.bind.ctx()),
tslib_1.__param(0, validator_1.val.required()), tslib_1.__param(0, reflect_1.default.type("PID")), tslib_1.__param(3, filter_parser_1.filterParser(() => "T")), tslib_1.__param(6, core_1.bind.ctx()),
tslib_1.__metadata("design:type", Function),

@@ -309,0 +310,0 @@ tslib_1.__metadata("design:paramtypes", [Object, Number, Number, Object, String, String, Object]),

{
"name": "@plumier/generic-controller",
"version": "1.0.0-canary.klmi2vb6.0+d7a6872",
"version": "1.0.0-canary.km12ir1x.0+80bc699",
"description": "Plumier generic controller implementation",

@@ -23,3 +23,4 @@ "main": "lib/index.js",

"dependencies": {
"@plumier/core": "1.0.0-canary.klmi2vb6.0+d7a6872"
"@plumier/core": "1.0.0-canary.km12ir1x.0+80bc699",
"@plumier/filter-parser": "1.0.0-canary.km12ir1x.0+80bc699"
},

@@ -39,3 +40,3 @@ "devDependencies": {

},
"gitHead": "d7a6872abe5def4c7156811b7b4d4d1677e15abd"
"gitHead": "80bc699ba9743c10db02a287b860fed8888fae82"
}
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