@adminide-stack/marketplace-module-server 12.0.4-alpha.266 → 12.0.4-alpha.271

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.
@@ -1,10 +1,11 @@
1
1
  import { interfaces } from 'inversify';
2
- import { IInstalledExtensionService, IMarketplacePublisherService, IPublisherEventService } from 'common/server';
2
+ import { IInstalledExtensionService, IMarketplacePublisherService, IPublisherEventService, IExtensionGalleryService } from 'common/server';
3
3
  export declare const extensionModule: (settings: any) => interfaces.ContainerModule;
4
4
  declare const createServiceFunc: (container: interfaces.Container) => {
5
5
  installedExtensionService: IInstalledExtensionService;
6
6
  publisherService: IMarketplacePublisherService;
7
7
  publisherEventService: IPublisherEventService;
8
+ extensionGalleryService: IExtensionGalleryService;
8
9
  };
9
10
  export { createServiceFunc };
10
11
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/containers/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAEH,0BAA0B,EAG1B,4BAA4B,EAC5B,sBAAsB,EACzB,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,eAAe,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,UAAU,CAAC,eAiCtD,CAAC;AAGP,QAAA,MAAM,iBAAiB,GAAI,WAAW,UAAU,CAAC,SAAS;;;;CAIxD,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/containers/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAEH,0BAA0B,EAG1B,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EAE3B,MAAM,eAAe,CAAC;AAUvB,eAAO,MAAM,eAAe,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,UAAU,CAAC,eA4CtD,CAAC;AAGP,QAAA,MAAM,iBAAiB,GAAI,WAAW,UAAU,CAAC,SAAS;;;;;CAKxD,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import {ContainerModule}from'inversify';import {SERVER_TYPES}from'common/server';import'../services/installed-extension-service.js';import {InstalledExtensionServiceExt}from'../services/installed-extension-service-ext.js';import {MarketplacePublisherService}from'../services/publisher-service.js';import {PublisherEventService}from'../services/publisher-event-service.js';import'../services/extension-gallery-service.js';import'../services/extension-gallery-repository.js';import'../store/models/installed-extension-model.js';import'../store/models/publisher-model.js';import {InstalledExtensionRepository}from'../store/repositories/installed-extension-repository.js';import {MarketplacePublisherRepository}from'../store/repositories/publisher-repository.js';const extensionModule = settings => new ContainerModule(bind => {
1
+ import {ContainerModule}from'inversify';import {SERVER_TYPES}from'common/server';import'../services/installed-extension-service.js';import {InstalledExtensionServiceExt}from'../services/installed-extension-service-ext.js';import {MarketplacePublisherService}from'../services/publisher-service.js';import {PublisherEventService}from'../services/publisher-event-service.js';import {ExtensionGalleryService}from'../services/extension-gallery-service.js';import {ExtensionGalleryRepository}from'../services/extension-gallery-repository.js';import'../store/models/installed-extension-model.js';import'../store/models/publisher-model.js';import {InstalledExtensionRepository}from'../store/repositories/installed-extension-repository.js';import {MarketplacePublisherRepository}from'../store/repositories/publisher-repository.js';const extensionModule = settings => new ContainerModule(bind => {
2
2
  bind(SERVER_TYPES.IExtensionMongoConnection).toConstantValue(settings.mongoConnection);
3
3
  // Installed Extension Service
4
4
  bind(SERVER_TYPES.IInstalledExtensionService).to(InstalledExtensionServiceExt).inSingletonScope().whenTargetIsDefault();
@@ -10,4 +10,8 @@ import {ContainerModule}from'inversify';import {SERVER_TYPES}from'common/server'
10
10
  bind(SERVER_TYPES.IMarketplacePublisherRepository).to(MarketplacePublisherRepository).inSingletonScope().whenTargetIsDefault();
11
11
  // Publisher Event Service
12
12
  bind(SERVER_TYPES.IPublisherEventService).to(PublisherEventService).inSingletonScope().whenTargetIsDefault();
13
+ // Extension Gallery Repository
14
+ bind(SERVER_TYPES.IExtensionGalleryRepository).to(ExtensionGalleryRepository).inSingletonScope().whenTargetIsDefault();
15
+ // Extension Gallery Service
16
+ bind(SERVER_TYPES.IExtensionGalleryService).to(ExtensionGalleryService).inSingletonScope().whenTargetIsDefault();
13
17
  });export{extensionModule};//# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sources":["../../src/containers/module.ts"],"sourcesContent":[null],"names":[],"mappings":";;;EAoDG,IAAA,CAAA,YAAA,CAAA,0BAAA,CAAA,CAAA,EAAA,CAAA,4BAAA,CAAA,CAAA,gBAAA,EAAA,CAAA,mBAAA,EAAA;AAEH;;;;;;;;"}
1
+ {"version":3,"file":"module.js","sources":["../../src/containers/module.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AA0EA,EAAA,IAAA,CAAO,YAAE,CAAA,6BAAoB,CAAA,CAAA,EAAA,CAAA,4BAAA,CAAA,CAAA,gBAAA,EAAA,CAAA,mBAAA,EAAA;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;;AAiBpD,wBAWG"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;;AAmBpD,wBAWG"}
package/lib/module.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import {Feature}from'@common-stack/server-core';import {SERVER_TYPES}from'common/server';import {resolvers}from'./graphql/resolvers/index.js';import {schema}from'./graphql/schemas/index.js';import {extensionModule}from'./containers/module.js';const extensionServiceGen = container => ({
2
2
  installedExtensionService: container.get(SERVER_TYPES.IInstalledExtensionService),
3
3
  publisherEventService: container.get(SERVER_TYPES.IPublisherEventService),
4
- marketplacePublisherService: container.get(SERVER_TYPES.IMarketplacePublisherService)
4
+ marketplacePublisherService: container.get(SERVER_TYPES.IMarketplacePublisherService),
5
+ extensionGalleryService: container.get(SERVER_TYPES.IExtensionGalleryService)
5
6
  });
6
7
  var module = new Feature({
7
8
  schema,
package/lib/module.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"module.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/marketplace-module-server",
3
- "version": "12.0.4-alpha.266",
3
+ "version": "12.0.4-alpha.271",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
@@ -21,11 +21,11 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "dependencies": {
24
- "@adminide-stack/extension-api": "12.0.4-alpha.266",
24
+ "@adminide-stack/extension-api": "12.0.4-alpha.271",
25
25
  "nanoid": "^5.1.5"
26
26
  },
27
27
  "devDependencies": {
28
- "common": "12.0.4-alpha.265"
28
+ "common": "12.0.4-alpha.271"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "graphql-tag": ">=2.0.0"
@@ -57,5 +57,5 @@
57
57
  "typescript": {
58
58
  "definition": "lib/index.d.ts"
59
59
  },
60
- "gitHead": "6a026ccdf6db535c7e5efaf7341682cf5e626894"
60
+ "gitHead": "77720a3b072c93a7196bc9b00e9b40bf0b5a235e"
61
61
  }