Socket
Socket
Sign inDemoInstall

lambdaorm-client-node

Package Overview
Dependencies
49
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.38 to 0.7.39

12

application/IOrm.d.ts
import { QueryOptions, QueryPlan, Metadata, MetadataModel, MetadataConstraint, MetadataParameter } from 'lambdaorm-base';
import { GeneralService } from './services/GeneralService';
import { StageService } from './services/StageService';
import { SchemaService } from './services/SchemaService';
import { ClientGeneralService } from './services/GeneralService';
import { ClientStageService } from './services/StageService';
import { ClientSchemaService } from './services/SchemaService';
export interface IOrm {

@@ -9,5 +9,5 @@ url: string;

end(): Promise<void>;
get general(): GeneralService;
get schema(): SchemaService;
get stage(): StageService;
get general(): ClientGeneralService;
get schema(): ClientSchemaService;
get stage(): ClientStageService;
/**

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

import { QueryOptions, QueryPlan, Metadata, MetadataModel, MetadataConstraint, MetadataParameter } from 'lambdaorm-base';
export interface ExpressionService {
export interface ClientExpressionService {
/**

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

import { Health, Ping } from '../../domain';
export interface GeneralService {
export interface ClientGeneralService {
version(): Promise<{

@@ -4,0 +4,0 @@ version: string;

import { Entity, EntityMapping, Enum, Mapping, Stage, Schema, DomainSchema } from 'lambdaorm-base';
export interface SchemaService {
export interface ClientSchemaService {
version(): Promise<{

@@ -4,0 +4,0 @@ version: string;

import { SchemaData } from 'lambdaorm-base';
export interface StageService {
export interface ClientStageService {
exists(stage: string): Promise<boolean>;

@@ -4,0 +4,0 @@ export(stage: string): Promise<SchemaData>;

import { ExpressionApi } from '../api';
import { QueryOptions, QueryPlan, Metadata, MetadataModel, MetadataConstraint, MetadataParameter } from 'lambdaorm-base';
import { ExpressionService } from '../../application/services';
export declare class ExpressionApiService implements ExpressionService {
import { ClientExpressionService } from '../../application/services';
export declare class ExpressionApiService implements ClientExpressionService {
private readonly expressionApi;

@@ -6,0 +6,0 @@ constructor(expressionApi: ExpressionApi);

@@ -56,4 +56,4 @@ "use strict";

}
execute(expression, data = {}, options = undefined) {
return __awaiter(this, void 0, void 0, function* () {
execute(expression_1) {
return __awaiter(this, arguments, void 0, function* (expression, data = {}, options = undefined) {
const _expression = typeof expression !== 'string' ? this.toExpression(expression) : expression;

@@ -65,4 +65,4 @@ const _options = this.solveOptions(options);

}
executeQueued(expression, topic, data = {}, chunk, options = undefined) {
return __awaiter(this, void 0, void 0, function* () {
executeQueued(expression_1, topic_1) {
return __awaiter(this, arguments, void 0, function* (expression, topic, data = {}, chunk, options = undefined) {
const _expression = typeof expression !== 'string' ? this.toExpression(expression) : expression;

@@ -69,0 +69,0 @@ const _options = this.solveOptions(options);

@@ -1,5 +0,5 @@

import { GeneralService } from '../../application/services';
import { ClientGeneralService } from '../../application/services';
import { GeneralApi } from '../api';
import { Health, Ping } from '../../domain';
export declare class GeneralApiService implements GeneralService {
export declare class GeneralApiService implements ClientGeneralService {
private readonly generalApi;

@@ -6,0 +6,0 @@ constructor(generalApi: GeneralApi);

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

import { IOrm } from '../../application';
import { GeneralService, StageService, SchemaService } from '../../application/services';
import { IOrm, ClientGeneralService, ClientStageService, ClientSchemaService } from '../../application';
import { QueryOptions, QueryPlan, Metadata, MetadataModel, MetadataConstraint, MetadataParameter } from 'lambdaorm-base';

@@ -22,5 +21,5 @@ /**

end(): Promise<void>;
get general(): GeneralService;
get schema(): SchemaService;
get stage(): StageService;
get general(): ClientGeneralService;
get schema(): ClientSchemaService;
get stage(): ClientStageService;
/**

@@ -27,0 +26,0 @@ * Get model of expression

@@ -113,4 +113,4 @@ "use strict";

}
execute(expression, data = {}, options = undefined) {
return __awaiter(this, void 0, void 0, function* () {
execute(expression_1) {
return __awaiter(this, arguments, void 0, function* (expression, data = {}, options = undefined) {
if (!this.expressionService) {

@@ -122,4 +122,4 @@ throw new Error('Orm not initialized');

}
executeQueued(expression, topic, data = {}, chunk, options = undefined) {
return __awaiter(this, void 0, void 0, function* () {
executeQueued(expression_1, topic_1) {
return __awaiter(this, arguments, void 0, function* (expression, topic, data = {}, chunk, options = undefined) {
if (!this.expressionService) {

@@ -126,0 +126,0 @@ throw new Error('Orm not initialized');

import { Entity, EntityMapping, Enum, Mapping, Schema, DomainSchema, Stage } from 'lambdaorm-base';
import { SchemaService } from '../../application/services/SchemaService';
import { ClientSchemaService } from '../../application/services/SchemaService';
import { SchemaApi } from '../api';
export declare class SchemaApiService implements SchemaService {
export declare class SchemaApiService implements ClientSchemaService {
private readonly schemaApi;

@@ -6,0 +6,0 @@ constructor(schemaApi: SchemaApi);

@@ -1,5 +0,5 @@

import { StageService } from '../../application/services';
import { ClientStageService } from '../../application/services';
import { SchemaData } from 'lambdaorm-base';
import { StageApi } from '../api';
export declare class StageApiService implements StageService {
export declare class StageApiService implements ClientStageService {
private readonly stageApi;

@@ -6,0 +6,0 @@ constructor(stageApi: StageApi);

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

*/
constraints: (queryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
constraints: (queryRequest_1, ...args_1) => __awaiter(this, [queryRequest_1, ...args_1], void 0, function* (queryRequest, options = {}) {
const localVarPath = '/constraints';

@@ -59,3 +59,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
execute: (queryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
execute: (queryRequest_2, ...args_2) => __awaiter(this, [queryRequest_2, ...args_2], void 0, function* (queryRequest, options = {}) {
// verify required parameter 'queryRequest' is not null or undefined

@@ -89,3 +89,3 @@ (0, common_1.assertParamExists)('execute', 'queryRequest', queryRequest);

*/
metadata: (queryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
metadata: (queryRequest_3, ...args_3) => __awaiter(this, [queryRequest_3, ...args_3], void 0, function* (queryRequest, options = {}) {
const localVarPath = '/metadata';

@@ -117,3 +117,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
model: (queryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
model: (queryRequest_4, ...args_4) => __awaiter(this, [queryRequest_4, ...args_4], void 0, function* (queryRequest, options = {}) {
const localVarPath = '/model';

@@ -145,3 +145,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
parameters: (queryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
parameters: (queryRequest_5, ...args_5) => __awaiter(this, [queryRequest_5, ...args_5], void 0, function* (queryRequest, options = {}) {
const localVarPath = '/parameters';

@@ -173,3 +173,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
plan: (queryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
plan: (queryRequest_6, ...args_6) => __awaiter(this, [queryRequest_6, ...args_6], void 0, function* (queryRequest, options = {}) {
// verify required parameter 'queryRequest' is not null or undefined

@@ -176,0 +176,0 @@ (0, common_1.assertParamExists)('plan', 'queryRequest', queryRequest);

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

*/
version: (options = {}) => __awaiter(this, void 0, void 0, function* () {
version: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
const localVarPath = '/version';

@@ -55,3 +55,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
health: (options = {}) => __awaiter(this, void 0, void 0, function* () {
health: (...args_2) => __awaiter(this, [...args_2], void 0, function* (options = {}) {
const localVarPath = '/health';

@@ -80,3 +80,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
metrics: (options = {}) => __awaiter(this, void 0, void 0, function* () {
metrics: (...args_3) => __awaiter(this, [...args_3], void 0, function* (options = {}) {
const localVarPath = '/metrics';

@@ -105,3 +105,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
ping: (options = {}) => __awaiter(this, void 0, void 0, function* () {
ping: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
const localVarPath = '/ping';

@@ -108,0 +108,0 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

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

*/
version: (options = {}) => __awaiter(this, void 0, void 0, function* () {
version: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
const localVarPath = '/version';

@@ -55,3 +55,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
schema: (options = {}) => __awaiter(this, void 0, void 0, function* () {
schema: (...args_2) => __awaiter(this, [...args_2], void 0, function* (options = {}) {
const localVarPath = '/schema';

@@ -80,3 +80,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
domain: (options = {}) => __awaiter(this, void 0, void 0, function* () {
domain: (...args_3) => __awaiter(this, [...args_3], void 0, function* (options = {}) {
const localVarPath = '/domain';

@@ -105,3 +105,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
views: (options = {}) => __awaiter(this, void 0, void 0, function* () {
views: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
const localVarPath = '/views';

@@ -131,3 +131,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
_enum: (_enum, options = {}) => __awaiter(this, void 0, void 0, function* () {
_enum: (_enum_1, ...args_5) => __awaiter(this, [_enum_1, ...args_5], void 0, function* (_enum, options = {}) {
// verify required parameter '_enum' is not null or undefined

@@ -159,3 +159,3 @@ (0, common_1.assertParamExists)('_enum', '_enum', _enum);

*/
sources: (options = {}) => __awaiter(this, void 0, void 0, function* () {
sources: (...args_6) => __awaiter(this, [...args_6], void 0, function* (options = {}) {
const localVarPath = '/sources';

@@ -185,3 +185,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
source: (source, options = {}) => __awaiter(this, void 0, void 0, function* () {
source: (source_1, ...args_7) => __awaiter(this, [source_1, ...args_7], void 0, function* (source, options = {}) {
// verify required parameter 'source' is not null or undefined

@@ -213,3 +213,3 @@ (0, common_1.assertParamExists)('source', 'source', source);

*/
entities: (options = {}) => __awaiter(this, void 0, void 0, function* () {
entities: (...args_8) => __awaiter(this, [...args_8], void 0, function* (options = {}) {
const localVarPath = '/entities';

@@ -239,3 +239,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
entity: (entity, options = {}) => __awaiter(this, void 0, void 0, function* () {
entity: (entity_1, ...args_9) => __awaiter(this, [entity_1, ...args_9], void 0, function* (entity, options = {}) {
// verify required parameter 'entity' is not null or undefined

@@ -269,3 +269,3 @@ (0, common_1.assertParamExists)('entity', 'entity', entity);

*/
entityMapping: (mapping, entity, options = {}) => __awaiter(this, void 0, void 0, function* () {
entityMapping: (mapping_1, entity_2, ...args_10) => __awaiter(this, [mapping_1, entity_2, ...args_10], void 0, function* (mapping, entity, options = {}) {
// verify required parameter 'mapping' is not null or undefined

@@ -300,3 +300,3 @@ (0, common_1.assertParamExists)('entityMapping', 'mapping', mapping);

*/
enums: (options = {}) => __awaiter(this, void 0, void 0, function* () {
enums: (...args_11) => __awaiter(this, [...args_11], void 0, function* (options = {}) {
const localVarPath = '/enums';

@@ -326,3 +326,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
mapping: (mapping, options = {}) => __awaiter(this, void 0, void 0, function* () {
mapping: (mapping_2, ...args_12) => __awaiter(this, [mapping_2, ...args_12], void 0, function* (mapping, options = {}) {
// verify required parameter 'mapping' is not null or undefined

@@ -354,3 +354,3 @@ (0, common_1.assertParamExists)('mapping', 'mapping', mapping);

*/
mappings: (options = {}) => __awaiter(this, void 0, void 0, function* () {
mappings: (...args_13) => __awaiter(this, [...args_13], void 0, function* (options = {}) {
const localVarPath = '/mappings';

@@ -380,3 +380,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

*/
stage: (stage, options = {}) => __awaiter(this, void 0, void 0, function* () {
stage: (stage_1, ...args_14) => __awaiter(this, [stage_1, ...args_14], void 0, function* (stage, options = {}) {
// verify required parameter 'stage' is not null or undefined

@@ -408,3 +408,3 @@ (0, common_1.assertParamExists)('stage', 'stage', stage);

*/
stages: (options = {}) => __awaiter(this, void 0, void 0, function* () {
stages: (...args_15) => __awaiter(this, [...args_15], void 0, function* (options = {}) {
const localVarPath = '/stages';

@@ -411,0 +411,0 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

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

*/
_export: (stage, options = {}) => __awaiter(this, void 0, void 0, function* () {
_export: (stage_1, ...args_1) => __awaiter(this, [stage_1, ...args_1], void 0, function* (stage, options = {}) {
// verify required parameter 'stage' is not null or undefined

@@ -61,3 +61,3 @@ (0, common_1.assertParamExists)('_export', 'stage', stage);

*/
_import: (stage, data, options = {}) => __awaiter(this, void 0, void 0, function* () {
_import: (stage_2, data_1, ...args_2) => __awaiter(this, [stage_2, data_1, ...args_2], void 0, function* (stage, data, options = {}) {
// verify required parameter 'stage' is not null or undefined

@@ -94,3 +94,3 @@ (0, common_1.assertParamExists)('_import', 'stage', stage);

*/
exists: (stage, options = {}) => __awaiter(this, void 0, void 0, function* () {
exists: (stage_3, ...args_3) => __awaiter(this, [stage_3, ...args_3], void 0, function* (stage, options = {}) {
// verify required parameter 'stage' is not null or undefined

@@ -97,0 +97,0 @@ (0, common_1.assertParamExists)('exists', 'stage', stage);

@@ -22,4 +22,4 @@ "use strict";

}
_execute(head, filter, include, data = {}) {
return __awaiter(this, void 0, void 0, function* () {
_execute(head_1, filter_1, include_1) {
return __awaiter(this, arguments, void 0, function* (head, filter, include, data = {}) {
let expression = `${head}`;

@@ -26,0 +26,0 @@ if (filter !== undefined) {

{
"name": "lambdaorm-client-node",
"version": "0.7.38",
"version": "0.7.39",
"description": "Client form lambda ORM service",

@@ -23,5 +23,5 @@ "author": "Flavio Lionel Rita <flaviolrita@gmail.com>",

"dependencies": {
"3xpr": "^1.15.11",
"h3lp": "^1.8.4",
"lambdaorm-base": "^1.0.1",
"3xpr": "^1.15.15",
"h3lp": "^1.10.1",
"lambdaorm-base": "^1.4.12",
"axios": "^1.6.3",

@@ -28,0 +28,0 @@ "crypto-js": "^4.1.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc