New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.kdid6yqc.0 to 1.0.0-canary.kdjdfg7t.0

4

lib/facility.js

@@ -6,6 +6,6 @@ "use strict";

const core_1 = require("@plumier/core");
const path_1 = require("path");
const pluralize_1 = tslib_1.__importDefault(require("pluralize"));
const tinspector_1 = tslib_1.__importStar(require("tinspector"));
const types_1 = require("./types");
const pluralize_1 = tslib_1.__importDefault(require("pluralize"));
const path_1 = require("path");
// --------------------------------------------------------------------- //

@@ -12,0 +12,0 @@ // ------------------------------- HELPER ------------------------------ //

@@ -29,2 +29,3 @@ import { Class } from "@plumier/core";

}
export declare function getOneToOneRelations(type: Class): import("tinspector").PropertyReflection[];
export declare abstract class BaseControllerGeneric {

@@ -31,0 +32,0 @@ protected getGenericTypeParameters(): {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OneToManyControllerGeneric = exports.ControllerGeneric = exports.BaseControllerGeneric = void 0;
exports.OneToManyControllerGeneric = exports.ControllerGeneric = exports.BaseControllerGeneric = exports.getOneToOneRelations = void 0;
const tslib_1 = require("tslib");
const core_1 = require("@plumier/core");
const tinspector_1 = tslib_1.__importDefault(require("tinspector"));
function getOneToOneRelations(type) {
const meta = tinspector_1.default(type);
const result = [];
for (const prop of meta.properties) {
if (prop.decorators.find((x) => x.kind === "plumier-meta:relation") && prop.typeClassification !== "Array") {
result.push(prop);
}
}
return result;
}
exports.getOneToOneRelations = getOneToOneRelations;
class BaseControllerGeneric {

@@ -8,0 +19,0 @@ getGenericTypeParameters() {

{
"name": "@plumier/generic-controller",
"version": "1.0.0-canary.kdid6yqc.0+1a29374",
"version": "1.0.0-canary.kdjdfg7t.0+44b6b52",
"description": "Plumier generic controller implementation",

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

"dependencies": {
"@plumier/core": "1.0.0-canary.kdid6yqc.0+1a29374",
"@plumier/core": "1.0.0-canary.kdjdfg7t.0+44b6b52",
"@types/pluralize": "^0.0.29",

@@ -33,3 +33,3 @@ "pluralize": "^8.0.0"

},
"gitHead": "1a2937448a8288fa11bafe68f3368841cf95b16f"
"gitHead": "44b6b52be66103214c84ecb1d9966f3f48e3c0f1"
}
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