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

lambdaorm-client-node

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambdaorm-client-node - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

manager/expressionActions.d.ts

2

index.d.ts
import { OrmClient } from './orm';
export * from './IOrm';
export * from './repository';
export * from './manager';
export * from './client';
export { OrmClient } from './orm';
export declare const ormClient: OrmClient;

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

__exportStar(require("./IOrm"), exports);
__exportStar(require("./repository"), exports);
__exportStar(require("./manager"), exports);
__exportStar(require("./client"), exports);

@@ -23,0 +23,0 @@ var orm_2 = require("./orm");

import { MetadataSentence, QueryOptions, Metadata, MetadataModel, MetadataConstraint, MetadataParameter } from './client';
export interface IOrmClient {
host: string;
init(host?: string): void;
end(): void;
init(host?: string): Promise<void>;
end(): Promise<void>;
/**

@@ -7,0 +7,0 @@ * Get model of expression

@@ -16,4 +16,4 @@ import { IOrmClient } from './IOrm';

static get instance(): OrmClient;
init(host?: string): void;
end(): void;
init(host?: string): Promise<void>;
end(): Promise<void>;
/**

@@ -20,0 +20,0 @@ * Get model of expression

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

const _3xpr_1 = require("3xpr");
const manager_1 = require("./manager");
/**

@@ -34,10 +35,15 @@ * Facade through which you can access all the functionalities of the library.

init(host) {
if (host) {
this.host = host;
}
this.configuration = new client_1.Configuration({ basePath: this.host });
this.expressionApi = new client_1.ExpressionApi(this.configuration);
return __awaiter(this, void 0, void 0, function* () {
if (host) {
this.host = host;
}
new manager_1.SentenceLibrary(_3xpr_1.expressions.model).load();
this.configuration = new client_1.Configuration({ basePath: this.host });
this.expressionApi = new client_1.ExpressionApi(this.configuration);
});
}
// eslint-disable-next-line @typescript-eslint/no-empty-function
end() { }
end() {
return __awaiter(this, void 0, void 0, function* () { });
}
model(expression) {

@@ -44,0 +50,0 @@ return __awaiter(this, void 0, void 0, function* () {

{
"name": "lambdaorm-client-node",
"version": "0.4.3",
"version": "0.4.4",
"description": "ORM",

@@ -20,3 +20,4 @@ "author": "Flavio Lionel Rita <flaviolrita@gmail.com>",

"h3lp": "1.2.3",
"3xpr": "1.6.12"
"3xpr": "1.6.12",
"crypto-js": "^4.1.1"
},

@@ -23,0 +24,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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