@vived/app 4.36.0 → 4.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.makeChannelModelFactory = void 0;
|
|
4
4
|
const Entities_1 = require("../Entities");
|
|
5
|
+
const PMs_1 = require("../PMs");
|
|
5
6
|
const channelObjectFactory_1 = require("./channelObjectFactory");
|
|
6
7
|
function makeChannelModelFactory(appObjects) {
|
|
7
8
|
return function channelModelFactory(id) {
|
|
8
9
|
const ao = appObjects.getOrCreate(id);
|
|
9
10
|
const entity = Entities_1.makeChannelModelEntity(ao);
|
|
10
11
|
entity.modelObjectFactory = channelObjectFactory_1.makeChannelObjectFactory(appObjects);
|
|
12
|
+
// PM
|
|
13
|
+
PMs_1.makeChannelModelObjectPM(ao);
|
|
11
14
|
return entity;
|
|
12
15
|
};
|
|
13
16
|
}
|