@adminide-stack/marketplace-module-server 8.5.2-alpha.0 → 8.5.4-alpha.0

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.
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Feature } from '@common-stack/server-core';
2
2
  export * from './interfaces';
3
3
  export * from './constants';
4
- declare const _default: Feature<import("@common-stack/server-core").ConfigurationScope>;
4
+ declare const _default: Feature<import("@common-stack/server-core").ConfigurationScope, any>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=index.d.ts.map
package/lib/module.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { Feature } from '@common-stack/server-core';
2
- declare const _default: Feature<import("@common-stack/server-core").ConfigurationScope>;
2
+ declare const _default: Feature<import("@common-stack/server-core").ConfigurationScope, any>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry-extension-model.d.ts","sourceRoot":"","sources":["../../../src/store/models/registry-extension-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,QAAQ,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,MAAM,WAAW,uBAAwB,SAAQ,QAAQ,EAAE,wBAAwB;IAC/E,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAsDD,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,uBAAuB,CAAC,CAAC;AACxE,eAAO,MAAM,0BAA0B,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,0BACc,CAAC"}
1
+ {"version":3,"file":"registry-extension-model.d.ts","sourceRoot":"","sources":["../../../src/store/models/registry-extension-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,QAAQ,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,MAAM,WAAW,uBAAwB,SAAQ,QAAQ,EAAE,wBAAwB;IAC/E,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAuDD,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,uBAAuB,CAAC,CAAC;AACxE,eAAO,MAAM,0BAA0B,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,0BACc,CAAC"}
@@ -1,4 +1,5 @@
1
- import {find}from'lodash-es';import {Schema}from'mongoose';import {customRandom,random}from'nanoid';const RegistryExtensionReleaseSchema = new Schema({
1
+ import {find}from'lodash-es';import {Schema}from'mongoose';import {customAlphabet}from'nanoid';const createRandom = customAlphabet('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 15);
2
+ const RegistryExtensionReleaseSchema = new Schema({
2
3
  creatorUserId: {
3
4
  type: String
4
5
  },
@@ -31,11 +32,11 @@ const RegistryExtensionSchema = new Schema({
31
32
  activationEvents: [String],
32
33
  uuid: {
33
34
  type: String,
34
- default: customRandom('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 15, random)
35
+ default: () => createRandom()
35
36
  },
36
37
  name: {
37
38
  type: String,
38
- default: customRandom('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 7, random)
39
+ default: () => createRandom()
39
40
  },
40
41
  releases: [{
41
42
  type: RegistryExtensionReleaseSchema
@@ -1 +1 @@
1
- {"version":3,"file":"registry-extension-model.js","sources":["../../../src/store/models/registry-extension-model.ts"],"sourcesContent":[null],"names":[],"mappings":"0GAMM,8BAAM,GAAA,IAAA,MAAA,CAAA;iBACK;IACb,IAAW,EAAA,MAAA;AACd,GAAA;AAsDD,EAAA,cAAsC,EAAA;AACtC,IAAO,IAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"registry-extension-model.js","sources":["../../../src/store/models/registry-extension-model.ts"],"sourcesContent":[null],"names":[],"mappings":"qGAMM,YAAM,GAAA,cAAA,CAAA,gEAAA,EAAA,EAAA,CAAA,CAAA;MACJ,8BAAS,GAAA,IAAA,MAAA,CAAA;eACF,EAAE;AAChB,IAAA,IAAA,EAAA,MAAA;AAuDD,GAAA;AACA,EAAO,cAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@adminide-stack/marketplace-module-server",
3
- "version": "8.5.2-alpha.0",
3
+ "version": "8.5.4-alpha.0",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
7
+ "type": "module",
7
8
  "main": "lib/index.js",
8
9
  "module": "lib/index.js",
9
- "type": "module",
10
10
  "typings": "lib/index.d.ts",
11
11
  "scripts": {
12
12
  "build": "yarn build:clean && yarn build:lib",
@@ -21,8 +21,8 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "dependencies": {
24
- "@adminide-stack/extension-api": "8.5.2-alpha.0",
25
- "@adminide-stack/marketplace-module-core": "8.5.2-alpha.0",
24
+ "@adminide-stack/extension-api": "8.5.4-alpha.0",
25
+ "@adminide-stack/marketplace-module-core": "8.5.4-alpha.0",
26
26
  "nanoid": "^5.0.7"
27
27
  },
28
28
  "peerDependencies": {
@@ -34,5 +34,5 @@
34
34
  "typescript": {
35
35
  "definition": "lib/index.d.ts"
36
36
  },
37
- "gitHead": "28cce023ed7f9584b2811ba65723aec65074a784"
37
+ "gitHead": "122637db4ab9cef8e0226a7a8e91352aaff75744"
38
38
  }