@webiny/api-headless-cms-ddb 5.37.6 → 5.37.7
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/definitions/entry.js +3 -1
- package/definitions/group.js +3 -1
- package/definitions/model.js +3 -1
- package/definitions/settings.js +3 -1
- package/definitions/system.js +3 -1
- package/definitions/table.js +3 -1
- package/dynamoDb/index.js +3 -1
- package/dynamoDb/path/locationFolderId.js +3 -1
- package/dynamoDb/path/plainObject.js +3 -1
- package/dynamoDb/storage/date.js +3 -1
- package/dynamoDb/storage/longText.js +3 -1
- package/dynamoDb/storage/richText.js +3 -1
- package/dynamoDb/transformValue/datetime.js +3 -1
- package/index.js +3 -1
- package/operations/entry/dataLoader/DataLoaderCache.js +3 -1
- package/operations/entry/dataLoader/constants.js +3 -1
- package/operations/entry/dataLoader/createBatchScheduleFn.js +3 -1
- package/operations/entry/dataLoader/getAllEntryRevisions.js +3 -1
- package/operations/entry/dataLoader/getLatestRevisionByEntryId.js +3 -1
- package/operations/entry/dataLoader/getPublishedRevisionByEntryId.js +3 -1
- package/operations/entry/dataLoader/getRevisionById.js +3 -1
- package/operations/entry/dataLoader/index.js +3 -1
- package/operations/entry/dataLoader/types.js +3 -1
- package/operations/entry/dataLoaders.js +3 -1
- package/operations/entry/filtering/createExpressions.js +3 -1
- package/operations/entry/filtering/createFields.js +3 -1
- package/operations/entry/filtering/extractSort.js +3 -1
- package/operations/entry/filtering/filter.js +3 -1
- package/operations/entry/filtering/fullTextSearch.js +3 -1
- package/operations/entry/filtering/getValue.js +3 -1
- package/operations/entry/filtering/index.js +3 -1
- package/operations/entry/filtering/mapPlugins.js +3 -1
- package/operations/entry/filtering/plugins/defaultFilterCreate.js +3 -1
- package/operations/entry/filtering/plugins/index.js +3 -1
- package/operations/entry/filtering/plugins/objectFilterCreate.js +3 -1
- package/operations/entry/filtering/plugins/refFilterCreate.js +3 -1
- package/operations/entry/filtering/sort.js +3 -1
- package/operations/entry/filtering/systemFields.js +3 -1
- package/operations/entry/filtering/transform.js +3 -1
- package/operations/entry/filtering/types.js +3 -1
- package/operations/entry/filtering/values.js +3 -1
- package/operations/entry/filtering/where.js +3 -1
- package/operations/entry/index.js +3 -1
- package/operations/entry/keys.js +3 -1
- package/operations/group/index.js +3 -1
- package/operations/model/index.js +3 -1
- package/operations/settings/index.js +3 -1
- package/operations/system/index.js +3 -1
- package/package.json +10 -10
- package/plugins/CmsEntryFieldFilterPathPlugin.js +3 -1
- package/plugins/CmsEntryFieldFilterPlugin.js +3 -1
- package/plugins/CmsEntryFieldSortingPlugin.js +3 -1
- package/plugins/CmsFieldFilterValueTransformPlugin.js +3 -1
- package/plugins/index.js +3 -1
- package/types.js +3 -1
package/definitions/entry.js
CHANGED
package/definitions/group.js
CHANGED
package/definitions/model.js
CHANGED
package/definitions/settings.js
CHANGED
package/definitions/system.js
CHANGED
package/definitions/table.js
CHANGED
|
@@ -24,4 +24,6 @@ const createTable = ({
|
|
|
24
24
|
const config = typeof table === "function" ? table(tableConfig) : tableConfig;
|
|
25
25
|
return new _dynamodbToolbox.Table(config);
|
|
26
26
|
};
|
|
27
|
-
exports.createTable = createTable;
|
|
27
|
+
exports.createTable = createTable;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=table.js.map
|
package/dynamoDb/index.js
CHANGED
|
@@ -11,4 +11,6 @@ var _plainObject = require("./path/plainObject");
|
|
|
11
11
|
var _datetime = require("./transformValue/datetime");
|
|
12
12
|
var _locationFolderId = require("./path/locationFolderId");
|
|
13
13
|
var _default = () => [(0, _richText.createRichTextStorageTransformPlugin)(), (0, _longText.createLongTextStorageTransformPlugin)(), (0, _date.createDateStorageTransformPlugin)(), (0, _plainObject.createPlainObjectPathPlugin)(), (0, _locationFolderId.createLocationFolderIdPathPlugin)(), (0, _datetime.createDatetimeTransformValuePlugin)()];
|
|
14
|
-
exports.default = _default;
|
|
14
|
+
exports.default = _default;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -38,4 +38,6 @@ const createLocationFolderIdPathPlugin = () => {
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
};
|
|
41
|
-
exports.createLocationFolderIdPathPlugin = createLocationFolderIdPathPlugin;
|
|
41
|
+
exports.createLocationFolderIdPathPlugin = createLocationFolderIdPathPlugin;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=locationFolderId.js.map
|
package/dynamoDb/storage/date.js
CHANGED
|
@@ -79,4 +79,6 @@ const createDateStorageTransformPlugin = () => {
|
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
};
|
|
82
|
-
exports.createDateStorageTransformPlugin = createDateStorageTransformPlugin;
|
|
82
|
+
exports.createDateStorageTransformPlugin = createDateStorageTransformPlugin;
|
|
83
|
+
|
|
84
|
+
//# sourceMappingURL=date.js.map
|
|
@@ -88,4 +88,6 @@ const createLongTextStorageTransformPlugin = () => {
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
};
|
|
91
|
-
exports.createLongTextStorageTransformPlugin = createLongTextStorageTransformPlugin;
|
|
91
|
+
exports.createLongTextStorageTransformPlugin = createLongTextStorageTransformPlugin;
|
|
92
|
+
|
|
93
|
+
//# sourceMappingURL=longText.js.map
|
|
@@ -91,4 +91,6 @@ const createRichTextStorageTransformPlugin = () => {
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
|
-
exports.createRichTextStorageTransformPlugin = createRichTextStorageTransformPlugin;
|
|
94
|
+
exports.createRichTextStorageTransformPlugin = createRichTextStorageTransformPlugin;
|
|
95
|
+
|
|
96
|
+
//# sourceMappingURL=richText.js.map
|
|
@@ -42,4 +42,6 @@ const createDatetimeTransformValuePlugin = () => {
|
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
exports.createDatetimeTransformValuePlugin = createDatetimeTransformValuePlugin;
|
|
45
|
+
exports.createDatetimeTransformValuePlugin = createDatetimeTransformValuePlugin;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=datetime.js.map
|
package/index.js
CHANGED
|
@@ -6,4 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.CMS_ENTRY_BATCH_SCHEDULE_WAIT = void 0;
|
|
7
7
|
const batchScheduleWaitEnv = Number(process.env.WEBINY_API_CMS_ENTRY_BATCH_SCHEDULE_WAIT || "0");
|
|
8
8
|
const CMS_ENTRY_BATCH_SCHEDULE_WAIT = isNaN(batchScheduleWaitEnv) ? 0 : batchScheduleWaitEnv;
|
|
9
|
-
exports.CMS_ENTRY_BATCH_SCHEDULE_WAIT = CMS_ENTRY_BATCH_SCHEDULE_WAIT;
|
|
9
|
+
exports.CMS_ENTRY_BATCH_SCHEDULE_WAIT = CMS_ENTRY_BATCH_SCHEDULE_WAIT;
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -20,4 +20,6 @@ const createBatchScheduleFn = () => {
|
|
|
20
20
|
setTimeout(callback, _constants.CMS_ENTRY_BATCH_SCHEDULE_WAIT);
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
exports.createBatchScheduleFn = createBatchScheduleFn;
|
|
23
|
+
exports.createBatchScheduleFn = createBatchScheduleFn;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=createBatchScheduleFn.js.map
|
|
@@ -40,4 +40,6 @@ const createGetAllEntryRevisions = params => {
|
|
|
40
40
|
batchScheduleFn: (0, _createBatchScheduleFn.createBatchScheduleFn)()
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
-
exports.createGetAllEntryRevisions = createGetAllEntryRevisions;
|
|
43
|
+
exports.createGetAllEntryRevisions = createGetAllEntryRevisions;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=getAllEntryRevisions.js.map
|
|
@@ -54,4 +54,6 @@ const createGetLatestRevisionByEntryId = params => {
|
|
|
54
54
|
batchScheduleFn: (0, _createBatchScheduleFn.createBatchScheduleFn)()
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
|
-
exports.createGetLatestRevisionByEntryId = createGetLatestRevisionByEntryId;
|
|
57
|
+
exports.createGetLatestRevisionByEntryId = createGetLatestRevisionByEntryId;
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=getLatestRevisionByEntryId.js.map
|
|
@@ -54,4 +54,6 @@ const createGetPublishedRevisionByEntryId = params => {
|
|
|
54
54
|
batchScheduleFn: (0, _createBatchScheduleFn.createBatchScheduleFn)()
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
|
-
exports.createGetPublishedRevisionByEntryId = createGetPublishedRevisionByEntryId;
|
|
57
|
+
exports.createGetPublishedRevisionByEntryId = createGetPublishedRevisionByEntryId;
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=getPublishedRevisionByEntryId.js.map
|
|
@@ -60,4 +60,6 @@ const createGetRevisionById = params => {
|
|
|
60
60
|
batchScheduleFn: (0, _createBatchScheduleFn.createBatchScheduleFn)()
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
exports.createGetRevisionById = createGetRevisionById;
|
|
63
|
+
exports.createGetRevisionById = createGetRevisionById;
|
|
64
|
+
|
|
65
|
+
//# sourceMappingURL=getRevisionById.js.map
|
|
@@ -112,4 +112,6 @@ class DataLoadersHandler {
|
|
|
112
112
|
this.cache.clearAll(params === null || params === void 0 ? void 0 : params.model);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
exports.DataLoadersHandler = DataLoadersHandler;
|
|
115
|
+
exports.DataLoadersHandler = DataLoadersHandler;
|
|
116
|
+
|
|
117
|
+
//# sourceMappingURL=dataLoaders.js.map
|
|
@@ -102,4 +102,6 @@ const createFields = params => {
|
|
|
102
102
|
});
|
|
103
103
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, collection), result);
|
|
104
104
|
};
|
|
105
|
-
exports.createFields = createFields;
|
|
105
|
+
exports.createFields = createFields;
|
|
106
|
+
|
|
107
|
+
//# sourceMappingURL=createFields.js.map
|
|
@@ -40,4 +40,6 @@ const createDefaultFilterCreate = () => {
|
|
|
40
40
|
plugin.name = `headless-cms.ddb.filter.default`;
|
|
41
41
|
return plugin;
|
|
42
42
|
};
|
|
43
|
-
exports.createDefaultFilterCreate = createDefaultFilterCreate;
|
|
43
|
+
exports.createDefaultFilterCreate = createDefaultFilterCreate;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=defaultFilterCreate.js.map
|
|
@@ -10,4 +10,6 @@ var _objectFilterCreate = require("./objectFilterCreate");
|
|
|
10
10
|
const createFilterCreatePlugins = () => {
|
|
11
11
|
return [(0, _defaultFilterCreate.createDefaultFilterCreate)(), (0, _refFilterCreate.createRefFilterCreate)(), (0, _objectFilterCreate.objectFilterCreate)()];
|
|
12
12
|
};
|
|
13
|
-
exports.createFilterCreatePlugins = createFilterCreatePlugins;
|
|
13
|
+
exports.createFilterCreatePlugins = createFilterCreatePlugins;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -85,4 +85,6 @@ const objectFilterCreate = () => {
|
|
|
85
85
|
plugin.name = `headless-cms.ddb.filter.object`;
|
|
86
86
|
return plugin;
|
|
87
87
|
};
|
|
88
|
-
exports.objectFilterCreate = objectFilterCreate;
|
|
88
|
+
exports.objectFilterCreate = objectFilterCreate;
|
|
89
|
+
|
|
90
|
+
//# sourceMappingURL=objectFilterCreate.js.map
|
|
@@ -70,4 +70,6 @@ const createRefFilterCreate = () => {
|
|
|
70
70
|
plugin.name = `headless-cms.ddb.filter.ref`;
|
|
71
71
|
return plugin;
|
|
72
72
|
};
|
|
73
|
-
exports.createRefFilterCreate = createRefFilterCreate;
|
|
73
|
+
exports.createRefFilterCreate = createRefFilterCreate;
|
|
74
|
+
|
|
75
|
+
//# sourceMappingURL=refFilterCreate.js.map
|
|
@@ -966,4 +966,6 @@ const createEntriesStorageOperations = params => {
|
|
|
966
966
|
getUniqueFieldValues
|
|
967
967
|
};
|
|
968
968
|
};
|
|
969
|
-
exports.createEntriesStorageOperations = createEntriesStorageOperations;
|
|
969
|
+
exports.createEntriesStorageOperations = createEntriesStorageOperations;
|
|
970
|
+
|
|
971
|
+
//# sourceMappingURL=index.js.map
|
package/operations/entry/keys.js
CHANGED
|
@@ -159,4 +159,6 @@ const createGroupsStorageOperations = params => {
|
|
|
159
159
|
list
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
exports.createGroupsStorageOperations = createGroupsStorageOperations;
|
|
162
|
+
exports.createGroupsStorageOperations = createGroupsStorageOperations;
|
|
163
|
+
|
|
164
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -134,4 +134,6 @@ const createModelsStorageOperations = params => {
|
|
|
134
134
|
list
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
exports.createModelsStorageOperations = createModelsStorageOperations;
|
|
137
|
+
exports.createModelsStorageOperations = createModelsStorageOperations;
|
|
138
|
+
|
|
139
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -108,4 +108,6 @@ const createSettingsStorageOperations = params => {
|
|
|
108
108
|
update
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
-
exports.createSettingsStorageOperations = createSettingsStorageOperations;
|
|
111
|
+
exports.createSettingsStorageOperations = createSettingsStorageOperations;
|
|
112
|
+
|
|
113
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-ddb",
|
|
3
|
-
"version": "5.37.
|
|
3
|
+
"version": "5.37.7",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"@webiny/api-headless-cms",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@babel/runtime": "7.22.6",
|
|
26
|
-
"@webiny/api-headless-cms": "5.37.
|
|
27
|
-
"@webiny/db-dynamodb": "5.37.
|
|
28
|
-
"@webiny/error": "5.37.
|
|
29
|
-
"@webiny/handler-db": "5.37.
|
|
30
|
-
"@webiny/utils": "5.37.
|
|
26
|
+
"@webiny/api-headless-cms": "5.37.7",
|
|
27
|
+
"@webiny/db-dynamodb": "5.37.7",
|
|
28
|
+
"@webiny/error": "5.37.7",
|
|
29
|
+
"@webiny/handler-db": "5.37.7",
|
|
30
|
+
"@webiny/utils": "5.37.7",
|
|
31
31
|
"aws-sdk": "2.1310.0",
|
|
32
32
|
"dataloader": "2.2.1",
|
|
33
33
|
"dot-prop": "6.0.1",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@babel/core": "7.22.8",
|
|
41
41
|
"@babel/preset-env": "7.22.7",
|
|
42
42
|
"@types/jsonpack": "1.1.2",
|
|
43
|
-
"@webiny/cli": "5.37.
|
|
44
|
-
"@webiny/plugins": "5.37.
|
|
45
|
-
"@webiny/project-utils": "5.37.
|
|
43
|
+
"@webiny/cli": "5.37.7",
|
|
44
|
+
"@webiny/plugins": "5.37.7",
|
|
45
|
+
"@webiny/project-utils": "5.37.7",
|
|
46
46
|
"jest": "29.5.0",
|
|
47
47
|
"jest-dynalite": "3.6.1",
|
|
48
48
|
"ttypescript": "1.5.15",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"build": "yarn webiny run build",
|
|
57
57
|
"watch": "yarn webiny run watch"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "115054c51d8e6699eed34ab574ae30cb6a716be0"
|
|
60
60
|
}
|
|
@@ -40,4 +40,6 @@ class CmsEntryFieldFilterPathPlugin extends _Plugin.Plugin {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.CmsEntryFieldFilterPathPlugin = CmsEntryFieldFilterPathPlugin;
|
|
43
|
-
(0, _defineProperty2.default)(CmsEntryFieldFilterPathPlugin, "type", "cms-field-filter-path");
|
|
43
|
+
(0, _defineProperty2.default)(CmsEntryFieldFilterPathPlugin, "type", "cms-field-filter-path");
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=CmsEntryFieldFilterPathPlugin.js.map
|
|
@@ -26,4 +26,6 @@ class CmsEntryFieldFilterPlugin extends _plugins.Plugin {
|
|
|
26
26
|
}
|
|
27
27
|
exports.CmsEntryFieldFilterPlugin = CmsEntryFieldFilterPlugin;
|
|
28
28
|
(0, _defineProperty2.default)(CmsEntryFieldFilterPlugin, "type", "cms.dynamodb.entry.field.filter");
|
|
29
|
-
(0, _defineProperty2.default)(CmsEntryFieldFilterPlugin, "ALL", "*");
|
|
29
|
+
(0, _defineProperty2.default)(CmsEntryFieldFilterPlugin, "ALL", "*");
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=CmsEntryFieldFilterPlugin.js.map
|
|
@@ -25,4 +25,6 @@ exports.CmsEntryFieldSortingPlugin = CmsEntryFieldSortingPlugin;
|
|
|
25
25
|
const createCmsEntryFieldSortingPlugin = config => {
|
|
26
26
|
return new CmsEntryFieldSortingPlugin(config);
|
|
27
27
|
};
|
|
28
|
-
exports.createCmsEntryFieldSortingPlugin = createCmsEntryFieldSortingPlugin;
|
|
28
|
+
exports.createCmsEntryFieldSortingPlugin = createCmsEntryFieldSortingPlugin;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=CmsEntryFieldSortingPlugin.js.map
|
|
@@ -21,4 +21,6 @@ class CmsFieldFilterValueTransformPlugin extends _plugins.Plugin {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
exports.CmsFieldFilterValueTransformPlugin = CmsFieldFilterValueTransformPlugin;
|
|
24
|
-
(0, _defineProperty2.default)(CmsFieldFilterValueTransformPlugin, "type", "cms-field-filter-value-transform");
|
|
24
|
+
(0, _defineProperty2.default)(CmsFieldFilterValueTransformPlugin, "type", "cms-field-filter-value-transform");
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=CmsFieldFilterValueTransformPlugin.js.map
|
package/plugins/index.js
CHANGED