@adminide-stack/marketplace-module-server 8.5.2-alpha.0 → 9.0.1-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;
|
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 {
|
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:
|
35
|
+
default: () => createRandom()
|
35
36
|
},
|
36
37
|
name: {
|
37
38
|
type: String,
|
38
|
-
default:
|
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":"
|
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": "
|
3
|
+
"version": "9.0.1-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": "
|
25
|
-
"@adminide-stack/marketplace-module-core": "
|
24
|
+
"@adminide-stack/extension-api": "9.0.1-alpha.0",
|
25
|
+
"@adminide-stack/marketplace-module-core": "9.0.1-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": "
|
37
|
+
"gitHead": "2142ed6400eaa3ba45116696752e7747e2b4c5b1"
|
38
38
|
}
|