lambdaorm-base
Advanced tools
Comparing version 0.1.14 to 0.1.15
{ | ||
"name": "lambdaorm-base", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "ORM", | ||
@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@proton.me>", |
@@ -117,3 +117,3 @@ "use strict"; | ||
extendDataSources(schema) { | ||
if (!schema.infrastructure) { | ||
if (!schema.infrastructure || !schema.infrastructure.mappings) { | ||
return; | ||
@@ -133,3 +133,3 @@ } | ||
extendDataStages(schema) { | ||
if (!schema.infrastructure) { | ||
if (!schema.infrastructure || !schema.infrastructure.mappings || !schema.infrastructure.sources) { | ||
return; | ||
@@ -153,3 +153,3 @@ } | ||
if (schema.domain.entities) { | ||
if (schema.infrastructure) { | ||
if (schema.infrastructure && schema.infrastructure.views) { | ||
this.completeEntities(schema.domain.entities, schema.infrastructure.views); | ||
@@ -442,3 +442,3 @@ } | ||
existsInMapping(schema, mapping, entity) { | ||
if (!schema.infrastructure) { | ||
if (!schema.infrastructure || !schema.infrastructure.sources || !schema.infrastructure.stages) { | ||
return false; | ||
@@ -445,0 +445,0 @@ } |
@@ -161,7 +161,7 @@ import { SentenceAction } from './actions'; | ||
export interface InfrastructureSchema { | ||
paths: AppPathsConfig; | ||
mappings: Mapping[]; | ||
views: View[]; | ||
sources: Source[]; | ||
stages: Stage[]; | ||
paths?: AppPathsConfig; | ||
mappings?: Mapping[]; | ||
views?: View[]; | ||
sources?: Source[]; | ||
stages?: Stage[]; | ||
} | ||
@@ -168,0 +168,0 @@ export interface ApplicationSchema { |
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
198137