@unchainedshop/core-assortments 2.10.0 → 2.10.2
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.
|
@@ -5,9 +5,9 @@ export const AssortmentMediaCollection = async (db) => {
|
|
|
5
5
|
// Assortment Indexes
|
|
6
6
|
await buildDbIndexes(AssortmentMedia, [
|
|
7
7
|
{ index: { mediaId: 1 } },
|
|
8
|
-
{ index: { assortmentId: 1 } },
|
|
9
|
-
{ index: { sortKey: 1 } },
|
|
10
|
-
{ index: { tags: 1 } },
|
|
8
|
+
{ index: { assortmentId: 1, sortKey: 1 } },
|
|
9
|
+
{ index: { tags: 1, sortKey: 1 } },
|
|
10
|
+
{ index: { assortmentId: 1, tags: 1, sortKey: 1 } },
|
|
11
11
|
]);
|
|
12
12
|
// AssortmentTexts indexes
|
|
13
13
|
await buildDbIndexes(AssortmentMediaTexts, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssortmentMediaCollection.js","sourceRoot":"","sources":["../../src/db/AssortmentMediaCollection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,EAAE,EAAc,EAAE,EAAE;IAChE,MAAM,eAAe,GAAG,EAAE,CAAC,UAAU,CAAsB,kBAAkB,CAAC,CAAC;IAC/E,MAAM,oBAAoB,GAAG,EAAE,CAAC,UAAU,CAAsB,wBAAwB,CAAC,CAAC;IAE1F,qBAAqB;IACrB,MAAM,cAAc,CAAC,eAAe,EAAE;QACpC,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;QACzB,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"AssortmentMediaCollection.js","sourceRoot":"","sources":["../../src/db/AssortmentMediaCollection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,EAAE,EAAc,EAAE,EAAE;IAChE,MAAM,eAAe,GAAG,EAAE,CAAC,UAAU,CAAsB,kBAAkB,CAAC,CAAC;IAC/E,MAAM,oBAAoB,GAAG,EAAE,CAAC,UAAU,CAAsB,wBAAwB,CAAC,CAAC;IAE1F,qBAAqB;IACrB,MAAM,cAAc,CAAC,eAAe,EAAE;QACpC,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;QACzB,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;QAC1C,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;QAClC,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;KACpD,CAAC,CAAC;IAEH,0BAA0B;IAC1B,MAAM,cAAc,CAAC,oBAAoB,EAAE;QACzC,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,CAAC,EAAE,EAAE;QACnC,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE;KACzB,CAAC,CAAC;IAEH,OAAO;QACL,eAAe;QACf,oBAAoB;KACrB,CAAC;AACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/core-assortments",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"main": "lib/assortments-index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./lib/assortments-index.js",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/unchainedshop/unchained#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@unchainedshop/events": "^2.10.
|
|
35
|
-
"@unchainedshop/file-upload": "^2.10.
|
|
36
|
-
"@unchainedshop/logger": "^2.10.
|
|
37
|
-
"@unchainedshop/utils": "^2.10.
|
|
34
|
+
"@unchainedshop/events": "^2.10.2",
|
|
35
|
+
"@unchainedshop/file-upload": "^2.10.2",
|
|
36
|
+
"@unchainedshop/logger": "^2.10.2",
|
|
37
|
+
"@unchainedshop/utils": "^2.10.2",
|
|
38
38
|
"locale": "^0.1.0",
|
|
39
|
-
"ramda": "^0.30.
|
|
39
|
+
"ramda": "^0.30.1",
|
|
40
40
|
"simpl-schema": "^3.4.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/locale": "^0.1.4",
|
|
44
|
-
"@types/node": "^20.
|
|
45
|
-
"@unchainedshop/types": "^2.10.
|
|
44
|
+
"@types/node": "^20.14.1",
|
|
45
|
+
"@unchainedshop/types": "^2.10.2",
|
|
46
46
|
"cross-env": "^7.0.3",
|
|
47
47
|
"jest": "^29.7.0",
|
|
48
48
|
"ts-jest": "^29.1.4",
|
|
@@ -11,9 +11,9 @@ export const AssortmentMediaCollection = async (db: mongodb.Db) => {
|
|
|
11
11
|
// Assortment Indexes
|
|
12
12
|
await buildDbIndexes(AssortmentMedia, [
|
|
13
13
|
{ index: { mediaId: 1 } },
|
|
14
|
-
{ index: { assortmentId: 1 } },
|
|
15
|
-
{ index: { sortKey: 1 } },
|
|
16
|
-
{ index: { tags: 1 } },
|
|
14
|
+
{ index: { assortmentId: 1, sortKey: 1 } },
|
|
15
|
+
{ index: { tags: 1, sortKey: 1 } },
|
|
16
|
+
{ index: { assortmentId: 1, tags: 1, sortKey: 1 } },
|
|
17
17
|
]);
|
|
18
18
|
|
|
19
19
|
// AssortmentTexts indexes
|