lambdaorm-base
Advanced tools
Comparing version 0.1.12 to 0.1.13
{ | ||
"name": "lambdaorm-base", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "ORM", | ||
@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@proton.me>", |
@@ -15,3 +15,2 @@ import { ClauseInfo, SourceRule, Schema } from '../domain'; | ||
export declare class SchemaFacade { | ||
workspace: string; | ||
readonly source: DataSourceConfigService; | ||
@@ -30,3 +29,3 @@ readonly domain: DomainConfigService; | ||
schema: Schema; | ||
constructor(workspace: string, source: DataSourceConfigService, domain: DomainConfigService, mapping: MappingsConfigService, stage: StageConfigService, view: ViewsConfigService, schemaService: SchemaService, routeService: RouteService, extender: SchemaExtender, createSchema: CreateSchema, loadSchema: LoadSchema, getSchema: GetSchema, completeSchema: CompleteSchema); | ||
constructor(source: DataSourceConfigService, domain: DomainConfigService, mapping: MappingsConfigService, stage: StageConfigService, view: ViewsConfigService, schemaService: SchemaService, routeService: RouteService, extender: SchemaExtender, createSchema: CreateSchema, loadSchema: LoadSchema, getSchema: GetSchema, completeSchema: CompleteSchema); | ||
evalSourceRule(rule: SourceRule, clauseInfo: ClauseInfo): boolean; | ||
@@ -33,0 +32,0 @@ getSource(clauseInfo: ClauseInfo, stage?: string): string; |
@@ -15,4 +15,3 @@ "use strict"; | ||
class SchemaFacade { | ||
constructor(workspace, source, domain, mapping, stage, view, schemaService, routeService, extender, createSchema, loadSchema, getSchema, completeSchema) { | ||
this.workspace = workspace; | ||
constructor(source, domain, mapping, stage, view, schemaService, routeService, extender, createSchema, loadSchema, getSchema, completeSchema) { | ||
this.source = source; | ||
@@ -19,0 +18,0 @@ this.domain = domain; |
@@ -8,3 +8,3 @@ import { Expressions } from '3xpr'; | ||
constructor(expressions: Expressions, helper: H3lp); | ||
build(workspace: string): SchemaFacade; | ||
build(): SchemaFacade; | ||
} |
@@ -13,3 +13,3 @@ "use strict"; | ||
} | ||
build(workspace) { | ||
build() { | ||
const source = new application_1.DataSourceConfigService(); | ||
@@ -27,3 +27,3 @@ const model = new application_1.DomainConfigService(); | ||
const completeSchema = new application_1.CompleteSchema(schemaService); | ||
return new application_1.SchemaFacade(workspace, source, model, mapping, stage, view, schemaService, routeService, extender, createSchema, loadSchema, getSchema, completeSchema); | ||
return new application_1.SchemaFacade(source, model, mapping, stage, view, schemaService, routeService, extender, createSchema, loadSchema, getSchema, completeSchema); | ||
} | ||
@@ -30,0 +30,0 @@ } |
Sorry, the diff of this file is not supported yet
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
197647
3272