lambdaorm-base
Advanced tools
Comparing version 0.1.15 to 0.1.16
{ | ||
"name": "lambdaorm-base", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"description": "ORM", | ||
@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@proton.me>", |
@@ -20,3 +20,3 @@ import { ClauseInfo, SourceRule, Schema } from '../domain'; | ||
readonly view: ViewsConfigService; | ||
private readonly schemaService; | ||
readonly createService: SchemaCreateService; | ||
private readonly routeService; | ||
@@ -29,3 +29,3 @@ private readonly extender; | ||
schema: Schema; | ||
constructor(source: DataSourceConfigService, domain: DomainConfigService, mapping: MappingsConfigService, stage: StageConfigService, view: ViewsConfigService, schemaService: SchemaCreateService, routeService: RouteService, extender: SchemaExtender, createSchema: CreateSchema, loadSchema: LoadSchema, getSchema: GetSchema, completeSchema: CompleteSchema); | ||
constructor(source: DataSourceConfigService, domain: DomainConfigService, mapping: MappingsConfigService, stage: StageConfigService, view: ViewsConfigService, createService: SchemaCreateService, routeService: RouteService, extender: SchemaExtender, createSchema: CreateSchema, loadSchema: LoadSchema, getSchema: GetSchema, completeSchema: CompleteSchema); | ||
evalSourceRule(rule: SourceRule, clauseInfo: ClauseInfo): boolean; | ||
@@ -32,0 +32,0 @@ getSource(clauseInfo: ClauseInfo, stage?: string): string; |
@@ -15,3 +15,3 @@ "use strict"; | ||
class SchemaFacade { | ||
constructor(source, domain, mapping, stage, view, schemaService, routeService, extender, createSchema, loadSchema, getSchema, completeSchema) { | ||
constructor(source, domain, mapping, stage, view, createService, routeService, extender, createSchema, loadSchema, getSchema, completeSchema) { | ||
this.source = source; | ||
@@ -22,3 +22,3 @@ this.domain = domain; | ||
this.view = view; | ||
this.schemaService = schemaService; | ||
this.createService = createService; | ||
this.routeService = routeService; | ||
@@ -30,3 +30,3 @@ this.extender = extender; | ||
this.completeSchema = completeSchema; | ||
this.schema = this.schemaService.newSchema(); | ||
this.schema = this.createService.newSchema(); | ||
} | ||
@@ -33,0 +33,0 @@ evalSourceRule(rule, clauseInfo) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
198150