Skip to content

Commit

Permalink
fix(maps): patch types needed for Typescript generation (#651)
Browse files Browse the repository at this point in the history
Signed-off-by: jonathan.casey <[email protected]>
  • Loading branch information
jonathan-casey authored May 23, 2023
1 parent 724b26f commit da9a0c7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/concerto-core/lib/basemodelmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if (global === undefined) {
const Declaration = require('./introspect/declaration');
const AssetDeclaration = require('./introspect/assetdeclaration');
const ClassDeclaration = require('./introspect/classdeclaration');
const MapDeclaration = require('./introspect/mapdeclaration');
const ConceptDeclaration = require('./introspect/conceptdeclaration');
const DecoratorFactory = require('./introspect/decoratorfactory');
const EnumDeclaration = require('./introspect/enumdeclaration');
Expand Down
1 change: 1 addition & 0 deletions packages/concerto-core/lib/introspect/mapkeytype.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const IllegalModelException = require('./illegalmodelexception');
/* istanbul ignore next */
if (global === undefined) {
const ModelFile = require('./modelfile');
const MapDeclaration = require('./mapdeclaration');
}

/**
Expand Down
1 change: 1 addition & 0 deletions packages/concerto-core/lib/introspect/mapvaluetype.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const IllegalModelException = require('../../lib/introspect/illegalmodelexceptio
/* istanbul ignore next */
if (global === undefined) {
const ModelFile = require('./modelfile');
const MapDeclaration = require('./mapdeclaration');
}

/**
Expand Down
1 change: 1 addition & 0 deletions packages/concerto-core/types/lib/basemodelmanager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ import AssetDeclaration = require("./introspect/assetdeclaration");
import TransactionDeclaration = require("./introspect/transactiondeclaration");
import EventDeclaration = require("./introspect/eventdeclaration");
import ParticipantDeclaration = require("./introspect/participantdeclaration");
import MapDeclaration = require("./introspect/mapdeclaration");
import EnumDeclaration = require("./introspect/enumdeclaration");
import ConceptDeclaration = require("./introspect/conceptdeclaration");
import Factory = require("./factory");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ declare class MapKeyType extends Decorated {
getType(): string;
}
import Decorated = require("./decorated");
import MapDeclaration = require("./mapdeclaration");
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ declare class MapValueType extends Decorated {
getType(): string;
}
import Decorated = require("./decorated");
import MapDeclaration = require("./mapdeclaration");

0 comments on commit da9a0c7

Please sign in to comment.