@webiny/api-headless-cms-ddb-es 6.6.0-alpha.7 → 6.6.0-alpha.8
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.
|
@@ -61,6 +61,9 @@ class DdbEsDeleteMultipleEntriesImpl {
|
|
|
61
61
|
});
|
|
62
62
|
await entityBatch.execute();
|
|
63
63
|
await elasticsearchEntityBatch.execute();
|
|
64
|
+
this.dataLoaders.clearAll({
|
|
65
|
+
tenant: model.tenant
|
|
66
|
+
});
|
|
64
67
|
}
|
|
65
68
|
}
|
|
66
69
|
const DdbEsDeleteMultipleEntries = DeleteMultipleEntriesStorageOperation.createImplementation({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations/entry/DdbEsDeleteMultipleEntries.js","sources":["../../../src/operations/entry/DdbEsDeleteMultipleEntries.ts"],"sourcesContent":["import type {\n CmsModel,\n CmsEntryStorageOperationsDeleteEntriesParams\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport { DeleteMultipleEntriesStorageOperation } from \"@webiny/api-headless-cms/features/shared/storageOperations/entry/DeleteMultipleEntriesStorageOperation.js\";\nimport { CmsDdbEsEntryEntity } from \"~/abstractions/CmsDdbEsEntryEntity.js\";\nimport { CmsDdbEsEntriesEsEntity } from \"~/abstractions/CmsDdbEsEntriesEsEntity.js\";\nimport { CmsDdbEsDataLoaders } from \"~/abstractions/CmsDdbEsDataLoaders.js\";\nimport { CmsStorageModelProvider } from \"@webiny/api-headless-cms/features/shared/abstractions.js\";\nimport { createPartitionKey, createRevisionSortKey } from \"./keys.js\";\n\nclass DdbEsDeleteMultipleEntriesImpl implements DeleteMultipleEntriesStorageOperation.Interface {\n constructor(\n private entity: CmsDdbEsEntryEntity.Interface,\n private esEntity: CmsDdbEsEntriesEsEntity.Interface,\n private dataLoaders: CmsDdbEsDataLoaders.Interface,\n private storageModelProvider: CmsStorageModelProvider.Interface\n ) {}\n\n async execute(initialModel: CmsModel, params: CmsEntryStorageOperationsDeleteEntriesParams) {\n const { entries } = params;\n const model = this.storageModelProvider.getModel(initialModel);\n /**\n * First we need all the revisions of the entries we want to delete.\n */\n const revisions = await this.dataLoaders.getAllEntryRevisions({\n model,\n ids: entries\n });\n /**\n * Then we need to construct the queries for all the revisions and entries.\n */\n\n const entityBatch = this.entity.createEntityWriter();\n const elasticsearchEntityBatch = this.esEntity.createEntityWriter();\n for (const id of entries) {\n /**\n * Latest item.\n */\n entityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"L\"\n });\n\n elasticsearchEntityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"L\"\n });\n\n /**\n * Published item.\n */\n entityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"P\"\n });\n\n elasticsearchEntityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"P\"\n });\n }\n /**\n * Exact revisions of all the entries\n */\n for (const revision of revisions) {\n entityBatch.delete({\n PK: createPartitionKey({\n id: revision.id,\n tenant: model.tenant\n }),\n SK: createRevisionSortKey({\n version: revision.version\n })\n });\n }\n\n await entityBatch.execute();\n await elasticsearchEntityBatch.execute();\n }\n}\n\nexport const DdbEsDeleteMultipleEntries =\n DeleteMultipleEntriesStorageOperation.createImplementation({\n implementation: DdbEsDeleteMultipleEntriesImpl,\n dependencies: [\n CmsDdbEsEntryEntity,\n CmsDdbEsEntriesEsEntity,\n CmsDdbEsDataLoaders,\n CmsStorageModelProvider\n ]\n });\n"],"names":["DdbEsDeleteMultipleEntriesImpl","entity","esEntity","dataLoaders","storageModelProvider","initialModel","params","entries","model","revisions","entityBatch","elasticsearchEntityBatch","id","createPartitionKey","revision","createRevisionSortKey","DdbEsDeleteMultipleEntries","DeleteMultipleEntriesStorageOperation","CmsDdbEsEntryEntity","CmsDdbEsEntriesEsEntity","CmsDdbEsDataLoaders","CmsStorageModelProvider"],"mappings":";;;;;;AAWA,MAAMA;IACF,YACYC,MAAqC,EACrCC,QAA2C,EAC3CC,WAA0C,EAC1CC,oBAAuD,CACjE;aAJUH,MAAM,GAANA;aACAC,QAAQ,GAARA;aACAC,WAAW,GAAXA;aACAC,oBAAoB,GAApBA;IACT;IAEH,MAAM,QAAQC,YAAsB,EAAEC,MAAoD,EAAE;QACxF,MAAM,EAAEC,OAAO,EAAE,GAAGD;QACpB,MAAME,QAAQ,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAACH;QAIjD,MAAMI,YAAY,MAAM,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC;YAC1DD;YACA,KAAKD;QACT;QAKA,MAAMG,cAAc,IAAI,CAAC,MAAM,CAAC,kBAAkB;QAClD,MAAMC,2BAA2B,IAAI,CAAC,QAAQ,CAAC,kBAAkB;QACjE,KAAK,MAAMC,MAAML,QAAS;YAItBG,YAAY,MAAM,CAAC;gBACf,IAAIG,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;YAEAG,yBAAyB,MAAM,CAAC;gBAC5B,IAAIE,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;YAKAE,YAAY,MAAM,CAAC;gBACf,IAAIG,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;YAEAG,yBAAyB,MAAM,CAAC;gBAC5B,IAAIE,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;QACJ;QAIA,KAAK,MAAMM,YAAYL,UACnBC,YAAY,MAAM,CAAC;YACf,IAAIG,mBAAmB;gBACnB,IAAIC,SAAS,EAAE;gBACf,QAAQN,MAAM,MAAM;YACxB;YACA,IAAIO,sBAAsB;gBACtB,SAASD,SAAS,OAAO;YAC7B;QACJ;QAGJ,MAAMJ,YAAY,OAAO;QACzB,MAAMC,yBAAyB,OAAO;
|
|
1
|
+
{"version":3,"file":"operations/entry/DdbEsDeleteMultipleEntries.js","sources":["../../../src/operations/entry/DdbEsDeleteMultipleEntries.ts"],"sourcesContent":["import type {\n CmsModel,\n CmsEntryStorageOperationsDeleteEntriesParams\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport { DeleteMultipleEntriesStorageOperation } from \"@webiny/api-headless-cms/features/shared/storageOperations/entry/DeleteMultipleEntriesStorageOperation.js\";\nimport { CmsDdbEsEntryEntity } from \"~/abstractions/CmsDdbEsEntryEntity.js\";\nimport { CmsDdbEsEntriesEsEntity } from \"~/abstractions/CmsDdbEsEntriesEsEntity.js\";\nimport { CmsDdbEsDataLoaders } from \"~/abstractions/CmsDdbEsDataLoaders.js\";\nimport { CmsStorageModelProvider } from \"@webiny/api-headless-cms/features/shared/abstractions.js\";\nimport { createPartitionKey, createRevisionSortKey } from \"./keys.js\";\n\nclass DdbEsDeleteMultipleEntriesImpl implements DeleteMultipleEntriesStorageOperation.Interface {\n constructor(\n private entity: CmsDdbEsEntryEntity.Interface,\n private esEntity: CmsDdbEsEntriesEsEntity.Interface,\n private dataLoaders: CmsDdbEsDataLoaders.Interface,\n private storageModelProvider: CmsStorageModelProvider.Interface\n ) {}\n\n async execute(initialModel: CmsModel, params: CmsEntryStorageOperationsDeleteEntriesParams) {\n const { entries } = params;\n const model = this.storageModelProvider.getModel(initialModel);\n /**\n * First we need all the revisions of the entries we want to delete.\n */\n const revisions = await this.dataLoaders.getAllEntryRevisions({\n model,\n ids: entries\n });\n /**\n * Then we need to construct the queries for all the revisions and entries.\n */\n\n const entityBatch = this.entity.createEntityWriter();\n const elasticsearchEntityBatch = this.esEntity.createEntityWriter();\n for (const id of entries) {\n /**\n * Latest item.\n */\n entityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"L\"\n });\n\n elasticsearchEntityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"L\"\n });\n\n /**\n * Published item.\n */\n entityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"P\"\n });\n\n elasticsearchEntityBatch.delete({\n PK: createPartitionKey({\n id,\n tenant: model.tenant\n }),\n SK: \"P\"\n });\n }\n /**\n * Exact revisions of all the entries\n */\n for (const revision of revisions) {\n entityBatch.delete({\n PK: createPartitionKey({\n id: revision.id,\n tenant: model.tenant\n }),\n SK: createRevisionSortKey({\n version: revision.version\n })\n });\n }\n\n await entityBatch.execute();\n await elasticsearchEntityBatch.execute();\n\n this.dataLoaders.clearAll({\n tenant: model.tenant\n });\n }\n}\n\nexport const DdbEsDeleteMultipleEntries =\n DeleteMultipleEntriesStorageOperation.createImplementation({\n implementation: DdbEsDeleteMultipleEntriesImpl,\n dependencies: [\n CmsDdbEsEntryEntity,\n CmsDdbEsEntriesEsEntity,\n CmsDdbEsDataLoaders,\n CmsStorageModelProvider\n ]\n });\n"],"names":["DdbEsDeleteMultipleEntriesImpl","entity","esEntity","dataLoaders","storageModelProvider","initialModel","params","entries","model","revisions","entityBatch","elasticsearchEntityBatch","id","createPartitionKey","revision","createRevisionSortKey","DdbEsDeleteMultipleEntries","DeleteMultipleEntriesStorageOperation","CmsDdbEsEntryEntity","CmsDdbEsEntriesEsEntity","CmsDdbEsDataLoaders","CmsStorageModelProvider"],"mappings":";;;;;;AAWA,MAAMA;IACF,YACYC,MAAqC,EACrCC,QAA2C,EAC3CC,WAA0C,EAC1CC,oBAAuD,CACjE;aAJUH,MAAM,GAANA;aACAC,QAAQ,GAARA;aACAC,WAAW,GAAXA;aACAC,oBAAoB,GAApBA;IACT;IAEH,MAAM,QAAQC,YAAsB,EAAEC,MAAoD,EAAE;QACxF,MAAM,EAAEC,OAAO,EAAE,GAAGD;QACpB,MAAME,QAAQ,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAACH;QAIjD,MAAMI,YAAY,MAAM,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC;YAC1DD;YACA,KAAKD;QACT;QAKA,MAAMG,cAAc,IAAI,CAAC,MAAM,CAAC,kBAAkB;QAClD,MAAMC,2BAA2B,IAAI,CAAC,QAAQ,CAAC,kBAAkB;QACjE,KAAK,MAAMC,MAAML,QAAS;YAItBG,YAAY,MAAM,CAAC;gBACf,IAAIG,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;YAEAG,yBAAyB,MAAM,CAAC;gBAC5B,IAAIE,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;YAKAE,YAAY,MAAM,CAAC;gBACf,IAAIG,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;YAEAG,yBAAyB,MAAM,CAAC;gBAC5B,IAAIE,mBAAmB;oBACnBD;oBACA,QAAQJ,MAAM,MAAM;gBACxB;gBACA,IAAI;YACR;QACJ;QAIA,KAAK,MAAMM,YAAYL,UACnBC,YAAY,MAAM,CAAC;YACf,IAAIG,mBAAmB;gBACnB,IAAIC,SAAS,EAAE;gBACf,QAAQN,MAAM,MAAM;YACxB;YACA,IAAIO,sBAAsB;gBACtB,SAASD,SAAS,OAAO;YAC7B;QACJ;QAGJ,MAAMJ,YAAY,OAAO;QACzB,MAAMC,yBAAyB,OAAO;QAEtC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;YACtB,QAAQH,MAAM,MAAM;QACxB;IACJ;AACJ;AAEO,MAAMQ,6BACTC,sCAAsC,oBAAoB,CAAC;IACvD,gBAAgBjB;IAChB,cAAc;QACVkB;QACAC;QACAC;QACAC;KACH;AACL"}
|
|
@@ -26,7 +26,7 @@ class DdbEsGetPreviousRevisionImpl {
|
|
|
26
26
|
partitionKey,
|
|
27
27
|
options
|
|
28
28
|
})).map((item)=>item.data);
|
|
29
|
-
const entries = unfilteredEntries.filter((item)=>item.version < version);
|
|
29
|
+
const entries = unfilteredEntries.filter((item)=>item.modelId === model.modelId && item.version < version);
|
|
30
30
|
const entry = entries[0];
|
|
31
31
|
if (!entry) return null;
|
|
32
32
|
return convertEntryKeysFromStorage({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations/entry/DdbEsGetPreviousRevision.js","sources":["../../../src/operations/entry/DdbEsGetPreviousRevision.ts"],"sourcesContent":["import WebinyError from \"@webiny/error\";\nimport type {\n CmsModel,\n CmsEntryValues,\n CmsEntryStorageOperationsGetPreviousRevisionParams\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport { GetPreviousRevisionStorageOperation } from \"@webiny/api-headless-cms/features/shared/storageOperations/entry/GetPreviousRevisionStorageOperation.js\";\nimport { CmsDdbEsEntryEntity } from \"~/abstractions/CmsDdbEsEntryEntity.js\";\nimport { CmsStorageModelProvider } from \"@webiny/api-headless-cms/features/shared/abstractions.js\";\nimport { createPartitionKey } from \"./keys.js\";\nimport { convertEntryKeysFromStorage } from \"./transformations/convertEntryKeys.js\";\nimport type { IEntityQueryAllParams } from \"@webiny/db-dynamodb\";\n\nclass DdbEsGetPreviousRevisionImpl implements GetPreviousRevisionStorageOperation.Interface {\n constructor(\n private entity: CmsDdbEsEntryEntity.Interface,\n private storageModelProvider: CmsStorageModelProvider.Interface\n ) {}\n\n async execute<T extends CmsEntryValues = CmsEntryValues>(\n initialModel: CmsModel,\n params: CmsEntryStorageOperationsGetPreviousRevisionParams\n ) {\n const model = this.storageModelProvider.getModel<T>(initialModel);\n\n const { tenant } = model;\n const { entryId, version } = params;\n\n const partitionKey = createPartitionKey({\n tenant,\n id: entryId\n });\n const options: IEntityQueryAllParams[\"options\"] = {\n beginsWith: `REV#`,\n reverse: true\n };\n\n try {\n const unfilteredEntries = (\n await this.entity.queryAll({\n partitionKey,\n options\n })\n ).map(item => {\n return item.data;\n });\n\n const entries = unfilteredEntries.filter(item => {\n return item.version < version;\n });\n\n const entry = entries[0];\n\n if (!entry) {\n return null;\n }\n return convertEntryKeysFromStorage<T>({\n entry,\n model\n });\n } catch (ex) {\n throw new WebinyError(\n ex.message || \"Could not get previous version of given entry.\",\n ex.code || \"GET_PREVIOUS_VERSION_ERROR\",\n {\n ...params,\n error: ex,\n partitionKey,\n options,\n model\n }\n );\n }\n }\n}\n\nexport const DdbEsGetPreviousRevision = GetPreviousRevisionStorageOperation.createImplementation({\n implementation: DdbEsGetPreviousRevisionImpl,\n dependencies: [CmsDdbEsEntryEntity, CmsStorageModelProvider]\n});\n"],"names":["DdbEsGetPreviousRevisionImpl","entity","storageModelProvider","initialModel","params","model","tenant","entryId","version","partitionKey","createPartitionKey","options","unfilteredEntries","item","entries","entry","convertEntryKeysFromStorage","ex","WebinyError","DdbEsGetPreviousRevision","GetPreviousRevisionStorageOperation","CmsDdbEsEntryEntity","CmsStorageModelProvider"],"mappings":";;;;;;AAaA,MAAMA;IACF,YACYC,MAAqC,EACrCC,oBAAuD,CACjE;aAFUD,MAAM,GAANA;aACAC,oBAAoB,GAApBA;IACT;IAEH,MAAM,QACFC,YAAsB,EACtBC,MAA0D,EAC5D;QACE,MAAMC,QAAQ,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAIF;QAEpD,MAAM,EAAEG,MAAM,EAAE,GAAGD;QACnB,MAAM,EAAEE,OAAO,EAAEC,OAAO,EAAE,GAAGJ;QAE7B,MAAMK,eAAeC,mBAAmB;YACpCJ;YACA,IAAIC;QACR;QACA,MAAMI,UAA4C;YAC9C,YAAY;YACZ,SAAS;QACb;QAEA,IAAI;YACA,MAAMC,oBACF,OAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;gBACvBH;gBACAE;YACJ,EAAC,EACH,GAAG,CAACE,CAAAA,OACKA,KAAK,IAAI;
|
|
1
|
+
{"version":3,"file":"operations/entry/DdbEsGetPreviousRevision.js","sources":["../../../src/operations/entry/DdbEsGetPreviousRevision.ts"],"sourcesContent":["import WebinyError from \"@webiny/error\";\nimport type {\n CmsModel,\n CmsEntryValues,\n CmsEntryStorageOperationsGetPreviousRevisionParams\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport { GetPreviousRevisionStorageOperation } from \"@webiny/api-headless-cms/features/shared/storageOperations/entry/GetPreviousRevisionStorageOperation.js\";\nimport { CmsDdbEsEntryEntity } from \"~/abstractions/CmsDdbEsEntryEntity.js\";\nimport { CmsStorageModelProvider } from \"@webiny/api-headless-cms/features/shared/abstractions.js\";\nimport { createPartitionKey } from \"./keys.js\";\nimport { convertEntryKeysFromStorage } from \"./transformations/convertEntryKeys.js\";\nimport type { IEntityQueryAllParams } from \"@webiny/db-dynamodb\";\n\nclass DdbEsGetPreviousRevisionImpl implements GetPreviousRevisionStorageOperation.Interface {\n constructor(\n private entity: CmsDdbEsEntryEntity.Interface,\n private storageModelProvider: CmsStorageModelProvider.Interface\n ) {}\n\n async execute<T extends CmsEntryValues = CmsEntryValues>(\n initialModel: CmsModel,\n params: CmsEntryStorageOperationsGetPreviousRevisionParams\n ) {\n const model = this.storageModelProvider.getModel<T>(initialModel);\n\n const { tenant } = model;\n const { entryId, version } = params;\n\n const partitionKey = createPartitionKey({\n tenant,\n id: entryId\n });\n const options: IEntityQueryAllParams[\"options\"] = {\n beginsWith: `REV#`,\n reverse: true\n };\n\n try {\n const unfilteredEntries = (\n await this.entity.queryAll({\n partitionKey,\n options\n })\n ).map(item => {\n return item.data;\n });\n\n /**\n * The partition key does not include the model, so filter by it as well.\n */\n const entries = unfilteredEntries.filter(item => {\n return item.modelId === model.modelId && item.version < version;\n });\n\n const entry = entries[0];\n\n if (!entry) {\n return null;\n }\n return convertEntryKeysFromStorage<T>({\n entry,\n model\n });\n } catch (ex) {\n throw new WebinyError(\n ex.message || \"Could not get previous version of given entry.\",\n ex.code || \"GET_PREVIOUS_VERSION_ERROR\",\n {\n ...params,\n error: ex,\n partitionKey,\n options,\n model\n }\n );\n }\n }\n}\n\nexport const DdbEsGetPreviousRevision = GetPreviousRevisionStorageOperation.createImplementation({\n implementation: DdbEsGetPreviousRevisionImpl,\n dependencies: [CmsDdbEsEntryEntity, CmsStorageModelProvider]\n});\n"],"names":["DdbEsGetPreviousRevisionImpl","entity","storageModelProvider","initialModel","params","model","tenant","entryId","version","partitionKey","createPartitionKey","options","unfilteredEntries","item","entries","entry","convertEntryKeysFromStorage","ex","WebinyError","DdbEsGetPreviousRevision","GetPreviousRevisionStorageOperation","CmsDdbEsEntryEntity","CmsStorageModelProvider"],"mappings":";;;;;;AAaA,MAAMA;IACF,YACYC,MAAqC,EACrCC,oBAAuD,CACjE;aAFUD,MAAM,GAANA;aACAC,oBAAoB,GAApBA;IACT;IAEH,MAAM,QACFC,YAAsB,EACtBC,MAA0D,EAC5D;QACE,MAAMC,QAAQ,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAIF;QAEpD,MAAM,EAAEG,MAAM,EAAE,GAAGD;QACnB,MAAM,EAAEE,OAAO,EAAEC,OAAO,EAAE,GAAGJ;QAE7B,MAAMK,eAAeC,mBAAmB;YACpCJ;YACA,IAAIC;QACR;QACA,MAAMI,UAA4C;YAC9C,YAAY;YACZ,SAAS;QACb;QAEA,IAAI;YACA,MAAMC,oBACF,OAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC;gBACvBH;gBACAE;YACJ,EAAC,EACH,GAAG,CAACE,CAAAA,OACKA,KAAK,IAAI;YAMpB,MAAMC,UAAUF,kBAAkB,MAAM,CAACC,CAAAA,OAC9BA,KAAK,OAAO,KAAKR,MAAM,OAAO,IAAIQ,KAAK,OAAO,GAAGL;YAG5D,MAAMO,QAAQD,OAAO,CAAC,EAAE;YAExB,IAAI,CAACC,OACD,OAAO;YAEX,OAAOC,4BAA+B;gBAClCD;gBACAV;YACJ;QACJ,EAAE,OAAOY,IAAI;YACT,MAAM,IAAIC,MACND,GAAG,OAAO,IAAI,kDACdA,GAAG,IAAI,IAAI,8BACX;gBACI,GAAGb,MAAM;gBACT,OAAOa;gBACPR;gBACAE;gBACAN;YACJ;QAER;IACJ;AACJ;AAEO,MAAMc,2BAA2BC,oCAAoC,oBAAoB,CAAC;IAC7F,gBAAgBpB;IAChB,cAAc;QAACqB;QAAqBC;KAAwB;AAChE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-ddb-es",
|
|
3
|
-
"version": "6.6.0-alpha.
|
|
3
|
+
"version": "6.6.0-alpha.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -30,36 +30,36 @@
|
|
|
30
30
|
],
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@webiny/api": "6.6.0-alpha.
|
|
34
|
-
"@webiny/api-headless-cms": "6.6.0-alpha.
|
|
35
|
-
"@webiny/api-headless-cms-storage": "6.6.0-alpha.
|
|
36
|
-
"@webiny/api-headless-cms-utils-os": "6.6.0-alpha.
|
|
37
|
-
"@webiny/api-opensearch": "6.6.0-alpha.
|
|
38
|
-
"@webiny/api-opensearch-aws": "6.6.0-alpha.
|
|
39
|
-
"@webiny/api-search-index-tasks": "6.6.0-alpha.
|
|
40
|
-
"@webiny/db": "6.6.0-alpha.
|
|
41
|
-
"@webiny/db-dynamodb": "6.6.0-alpha.
|
|
42
|
-
"@webiny/error": "6.6.0-alpha.
|
|
43
|
-
"@webiny/feature": "6.6.0-alpha.
|
|
44
|
-
"@webiny/plugins": "6.6.0-alpha.
|
|
33
|
+
"@webiny/api": "6.6.0-alpha.8",
|
|
34
|
+
"@webiny/api-headless-cms": "6.6.0-alpha.8",
|
|
35
|
+
"@webiny/api-headless-cms-storage": "6.6.0-alpha.8",
|
|
36
|
+
"@webiny/api-headless-cms-utils-os": "6.6.0-alpha.8",
|
|
37
|
+
"@webiny/api-opensearch": "6.6.0-alpha.8",
|
|
38
|
+
"@webiny/api-opensearch-aws": "6.6.0-alpha.8",
|
|
39
|
+
"@webiny/api-search-index-tasks": "6.6.0-alpha.8",
|
|
40
|
+
"@webiny/db": "6.6.0-alpha.8",
|
|
41
|
+
"@webiny/db-dynamodb": "6.6.0-alpha.8",
|
|
42
|
+
"@webiny/error": "6.6.0-alpha.8",
|
|
43
|
+
"@webiny/feature": "6.6.0-alpha.8",
|
|
44
|
+
"@webiny/plugins": "6.6.0-alpha.8",
|
|
45
45
|
"@webiny/stdlib": "0.0.17",
|
|
46
|
-
"@webiny/utils": "6.6.0-alpha.
|
|
46
|
+
"@webiny/utils": "6.6.0-alpha.8",
|
|
47
47
|
"dataloader": "2.2.3",
|
|
48
48
|
"lodash": "4.18.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/jsonpack": "1.1.6",
|
|
52
|
-
"@webiny/api-core": "6.6.0-alpha.
|
|
53
|
-
"@webiny/api-core-testing": "6.6.0-alpha.
|
|
54
|
-
"@webiny/api-graphql": "6.6.0-alpha.
|
|
55
|
-
"@webiny/api-search-index-tasks-ddb-os": "6.6.0-alpha.
|
|
56
|
-
"@webiny/api-sync-ddb-to-opensearch": "6.6.0-alpha.
|
|
57
|
-
"@webiny/background-tasks": "6.6.0-alpha.
|
|
58
|
-
"@webiny/build-tools": "6.6.0-alpha.
|
|
52
|
+
"@webiny/api-core": "6.6.0-alpha.8",
|
|
53
|
+
"@webiny/api-core-testing": "6.6.0-alpha.8",
|
|
54
|
+
"@webiny/api-graphql": "6.6.0-alpha.8",
|
|
55
|
+
"@webiny/api-search-index-tasks-ddb-os": "6.6.0-alpha.8",
|
|
56
|
+
"@webiny/api-sync-ddb-to-opensearch": "6.6.0-alpha.8",
|
|
57
|
+
"@webiny/background-tasks": "6.6.0-alpha.8",
|
|
58
|
+
"@webiny/build-tools": "6.6.0-alpha.8",
|
|
59
59
|
"@webiny/di": "1.1.0",
|
|
60
|
-
"@webiny/event-handler-core": "6.6.0-alpha.
|
|
61
|
-
"@webiny/handler": "6.6.0-alpha.
|
|
62
|
-
"@webiny/wcp": "6.6.0-alpha.
|
|
60
|
+
"@webiny/event-handler-core": "6.6.0-alpha.8",
|
|
61
|
+
"@webiny/handler": "6.6.0-alpha.8",
|
|
62
|
+
"@webiny/wcp": "6.6.0-alpha.8",
|
|
63
63
|
"jest-dynalite": "3.6.1",
|
|
64
64
|
"rimraf": "6.1.3",
|
|
65
65
|
"typescript": "7.0.2",
|