@webiny/api-page-builder-so-ddb-es 5.34.6-beta.1 → 5.34.6-beta.3

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.
@@ -1 +1 @@
1
- export declare const elasticsearchIndexPlugins: () => import("../../plugins/definitions/PageElasticsearchIndexPlugin").PageElasticsearchIndexPlugin[];
1
+ export declare const elasticsearchIndexPlugins: () => import("../..").PageElasticsearchIndexPlugin[];
package/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import { StorageOperationsFactory } from "./types";
2
+ export * from "./plugins";
2
3
  export declare const createStorageOperations: StorageOperationsFactory;
package/index.js CHANGED
@@ -5,6 +5,9 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
+ var _exportNames = {
9
+ createStorageOperations: true
10
+ };
8
11
  exports.createStorageOperations = void 0;
9
12
 
10
13
  var _filters = _interopRequireDefault(require("@webiny/db-dynamodb/plugins/filters"));
@@ -69,6 +72,21 @@ var _fields6 = require("./operations/pageBlock/fields");
69
72
 
70
73
  var _pageBlock = require("./operations/pageBlock");
71
74
 
75
+ var _plugins2 = require("./plugins");
76
+
77
+ Object.keys(_plugins2).forEach(function (key) {
78
+ if (key === "default" || key === "__esModule") return;
79
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
80
+ if (key in exports && exports[key] === _plugins2[key]) return;
81
+ Object.defineProperty(exports, key, {
82
+ enumerable: true,
83
+ get: function () {
84
+ return _plugins2[key];
85
+ }
86
+ });
87
+ });
88
+
89
+ // import {} from "@webiny/api-page-builder-so-ddb-es";
72
90
  const createStorageOperations = params => {
73
91
  const {
74
92
  documentClient,
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["createStorageOperations","params","documentClient","elasticsearch","table","esTable","attributes","plugins","userPlugins","tableInstance","createTable","tableElasticsearchInstance","createElasticsearchTable","PluginsContainer","dynamoDbValueFilters","getElasticsearchOperators","createCategoryDynamoDbFields","createMenuDynamoDbFields","createPageElementDynamoDbFields","createPagesElasticsearchFields","createPagesDynamoDbFields","elasticsearchIndexPlugins","createBlockCategoryDynamoDbFields","createPageBlockDynamoDbFields","entities","settings","createSettingsEntity","entityName","ENTITIES","SETTINGS","system","createSystemEntity","SYSTEM","categories","createCategoryEntity","CATEGORIES","menus","createMenuEntity","MENUS","pageElements","createPageElementEntity","PAGE_ELEMENTS","pages","createPageEntity","PAGES","pagesEs","createPageElasticsearchEntity","PAGES_ES","blockCategories","createBlockCategoryEntity","BLOCK_CATEGORIES","pageBlocks","createPageBlockEntity","PAGE_BLOCKS","init","context","i18n","locales","onLocaleBeforeCreate","subscribe","locale","tenant","createElasticsearchIndex","code","getEntities","getTable","getEsTable","createSystemStorageOperations","entity","createSettingsStorageOperations","createCategoryStorageOperations","createMenuStorageOperations","createPageElementStorageOperations","createPageStorageOperations","esEntity","createBlockCategoryStorageOperations","createPageBlockStorageOperations"],"sources":["index.ts"],"sourcesContent":["import dynamoDbValueFilters from \"@webiny/db-dynamodb/plugins/filters\";\nimport { PluginsContainer } from \"@webiny/plugins\";\nimport { getElasticsearchOperators } from \"@webiny/api-elasticsearch/operators\";\n\nimport { ENTITIES, StorageOperationsFactory } from \"~/types\";\nimport { createTable } from \"~/definitions/table\";\nimport { createElasticsearchTable } from \"~/definitions/tableElasticsearch\";\nimport { elasticsearchIndexPlugins } from \"~/elasticsearch/indices\";\nimport { createElasticsearchIndex } from \"~/elasticsearch/createElasticsearchIndex\";\n\nimport { createCategoryEntity } from \"~/definitions/categoryEntity\";\nimport { createCategoryDynamoDbFields } from \"~/operations/category/fields\";\nimport { createCategoryStorageOperations } from \"~/operations/category\";\n\nimport { createMenuEntity } from \"~/definitions/menuEntity\";\nimport { createMenuDynamoDbFields } from \"~/operations/menu/fields\";\nimport { createMenuStorageOperations } from \"~/operations/menu\";\n\nimport { createPageElementEntity } from \"~/definitions/pageElementEntity\";\nimport { createPageElementDynamoDbFields } from \"~/operations/pageElement/fields\";\nimport { createPageElementStorageOperations } from \"~/operations/pageElement\";\n\nimport { createSettingsEntity } from \"~/definitions/settingsEntity\";\nimport { createSettingsStorageOperations } from \"~/operations/settings\";\n\nimport { createSystemEntity } from \"~/definitions/systemEntity\";\nimport { createSystemStorageOperations } from \"~/operations/system\";\n\nimport { createPageEntity } from \"~/definitions/pageEntity\";\nimport {\n createPagesElasticsearchFields,\n createPagesDynamoDbFields\n} from \"~/operations/pages/fields\";\nimport { createPageStorageOperations } from \"~/operations/pages\";\nimport { createPageElasticsearchEntity } from \"~/definitions/pageElasticsearchEntity\";\n\nimport { createBlockCategoryEntity } from \"~/definitions/blockCategoryEntity\";\nimport { createBlockCategoryDynamoDbFields } from \"~/operations/blockCategory/fields\";\nimport { createBlockCategoryStorageOperations } from \"~/operations/blockCategory\";\n\nimport { createPageBlockEntity } from \"~/definitions/pageBlockEntity\";\nimport { createPageBlockDynamoDbFields } from \"~/operations/pageBlock/fields\";\nimport { createPageBlockStorageOperations } from \"~/operations/pageBlock\";\n\nexport const createStorageOperations: StorageOperationsFactory = params => {\n const {\n documentClient,\n elasticsearch,\n table,\n esTable,\n attributes,\n plugins: userPlugins\n } = params;\n\n const tableInstance = createTable({\n table,\n documentClient\n });\n const tableElasticsearchInstance = createElasticsearchTable({\n table: esTable,\n documentClient\n });\n\n const plugins = new PluginsContainer([\n /**\n * User defined custom plugins.\n */\n ...(userPlugins || []),\n /**\n * DynamoDB filter plugins for the where conditions.\n */\n dynamoDbValueFilters(),\n /**\n * Elasticsearch operators.\n */\n getElasticsearchOperators(),\n /**\n * Category fields required for filtering/sorting.\n */\n createCategoryDynamoDbFields(),\n /**\n * Menu fields required for filtering/sorting.\n */\n createMenuDynamoDbFields(),\n /**\n * Page element fields required for filtering/sorting.\n */\n createPageElementDynamoDbFields(),\n /**\n * Page fields required for filtering/sorting.\n */\n createPagesElasticsearchFields(),\n /**\n * Page fields required for filtering/sorting when using dynamodb.\n */\n createPagesDynamoDbFields(),\n /**\n * Built-in Elasticsearch index templates\n */\n elasticsearchIndexPlugins(),\n /**\n * Block Category fields required for filtering/sorting.\n */\n createBlockCategoryDynamoDbFields(),\n /**\n * Page Block fields required for filtering/sorting.\n */\n createPageBlockDynamoDbFields()\n ]);\n\n const entities = {\n settings: createSettingsEntity({\n entityName: ENTITIES.SETTINGS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.SETTINGS] : {}\n }),\n system: createSystemEntity({\n entityName: ENTITIES.SYSTEM,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.SYSTEM] : {}\n }),\n categories: createCategoryEntity({\n entityName: ENTITIES.CATEGORIES,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.CATEGORIES] : {}\n }),\n menus: createMenuEntity({\n entityName: ENTITIES.MENUS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.MENUS] : {}\n }),\n pageElements: createPageElementEntity({\n entityName: ENTITIES.PAGE_ELEMENTS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.PAGE_ELEMENTS] : {}\n }),\n pages: createPageEntity({\n entityName: ENTITIES.PAGES,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.PAGES] : {}\n }),\n pagesEs: createPageElasticsearchEntity({\n entityName: ENTITIES.PAGES_ES,\n table: tableElasticsearchInstance,\n attributes: attributes ? attributes[ENTITIES.PAGES_ES] : {}\n }),\n blockCategories: createBlockCategoryEntity({\n entityName: ENTITIES.BLOCK_CATEGORIES,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.BLOCK_CATEGORIES] : {}\n }),\n pageBlocks: createPageBlockEntity({\n entityName: ENTITIES.PAGE_BLOCKS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.PAGE_BLOCKS] : {}\n })\n };\n\n return {\n init: async context => {\n context.i18n.locales.onLocaleBeforeCreate.subscribe(async ({ locale, tenant }) => {\n await createElasticsearchIndex({\n elasticsearch,\n plugins,\n locale: locale.code,\n tenant\n });\n });\n },\n getEntities: () => entities,\n getTable: () => tableInstance,\n getEsTable: () => tableElasticsearchInstance,\n system: createSystemStorageOperations({\n entity: entities.system\n }),\n settings: createSettingsStorageOperations({\n entity: entities.settings\n }),\n categories: createCategoryStorageOperations({\n entity: entities.categories,\n plugins\n }),\n menus: createMenuStorageOperations({\n entity: entities.menus,\n plugins\n }),\n pageElements: createPageElementStorageOperations({\n entity: entities.pageElements,\n plugins\n }),\n pages: createPageStorageOperations({\n entity: entities.pages,\n esEntity: entities.pagesEs,\n elasticsearch,\n plugins\n }),\n blockCategories: createBlockCategoryStorageOperations({\n entity: entities.blockCategories,\n plugins\n }),\n pageBlocks: createPageBlockStorageOperations({\n entity: entities.pageBlocks,\n plugins\n })\n };\n};\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AAEA;;AACA;;AAEA;;AACA;;AAIA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEO,MAAMA,uBAAiD,GAAGC,MAAM,IAAI;EACvE,MAAM;IACFC,cADE;IAEFC,aAFE;IAGFC,KAHE;IAIFC,OAJE;IAKFC,UALE;IAMFC,OAAO,EAAEC;EANP,IAOFP,MAPJ;EASA,MAAMQ,aAAa,GAAG,IAAAC,kBAAA,EAAY;IAC9BN,KAD8B;IAE9BF;EAF8B,CAAZ,CAAtB;EAIA,MAAMS,0BAA0B,GAAG,IAAAC,4CAAA,EAAyB;IACxDR,KAAK,EAAEC,OADiD;IAExDH;EAFwD,CAAzB,CAAnC;EAKA,MAAMK,OAAO,GAAG,IAAIM,yBAAJ,CAAqB;EACjC;AACR;AACA;EACQ,IAAIL,WAAW,IAAI,EAAnB,CAJiC;EAKjC;AACR;AACA;EACQ,IAAAM,gBAAA,GARiC;EASjC;AACR;AACA;EACQ,IA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,QAAQ,CAAC2B,UADwB;MAEzC5C;IAFyC,CAAjC;EA1CT,CAAP;AA+CH,CAjKM"}
1
+ {"version":3,"names":["createStorageOperations","params","documentClient","elasticsearch","table","esTable","attributes","plugins","userPlugins","tableInstance","createTable","tableElasticsearchInstance","createElasticsearchTable","PluginsContainer","dynamoDbValueFilters","getElasticsearchOperators","createCategoryDynamoDbFields","createMenuDynamoDbFields","createPageElementDynamoDbFields","createPagesElasticsearchFields","createPagesDynamoDbFields","elasticsearchIndexPlugins","createBlockCategoryDynamoDbFields","createPageBlockDynamoDbFields","entities","settings","createSettingsEntity","entityName","ENTITIES","SETTINGS","system","createSystemEntity","SYSTEM","categories","createCategoryEntity","CATEGORIES","menus","createMenuEntity","MENUS","pageElements","createPageElementEntity","PAGE_ELEMENTS","pages","createPageEntity","PAGES","pagesEs","createPageElasticsearchEntity","PAGES_ES","blockCategories","createBlockCategoryEntity","BLOCK_CATEGORIES","pageBlocks","createPageBlockEntity","PAGE_BLOCKS","init","context","i18n","locales","onLocaleBeforeCreate","subscribe","locale","tenant","createElasticsearchIndex","code","getEntities","getTable","getEsTable","createSystemStorageOperations","entity","createSettingsStorageOperations","createCategoryStorageOperations","createMenuStorageOperations","createPageElementStorageOperations","createPageStorageOperations","esEntity","createBlockCategoryStorageOperations","createPageBlockStorageOperations"],"sources":["index.ts"],"sourcesContent":["import dynamoDbValueFilters from \"@webiny/db-dynamodb/plugins/filters\";\nimport { PluginsContainer } from \"@webiny/plugins\";\nimport { getElasticsearchOperators } from \"@webiny/api-elasticsearch/operators\";\n\nimport { ENTITIES, StorageOperationsFactory } from \"~/types\";\nimport { createTable } from \"~/definitions/table\";\nimport { createElasticsearchTable } from \"~/definitions/tableElasticsearch\";\nimport { elasticsearchIndexPlugins } from \"~/elasticsearch/indices\";\nimport { createElasticsearchIndex } from \"~/elasticsearch/createElasticsearchIndex\";\n\nimport { createCategoryEntity } from \"~/definitions/categoryEntity\";\nimport { createCategoryDynamoDbFields } from \"~/operations/category/fields\";\nimport { createCategoryStorageOperations } from \"~/operations/category\";\n\nimport { createMenuEntity } from \"~/definitions/menuEntity\";\nimport { createMenuDynamoDbFields } from \"~/operations/menu/fields\";\nimport { createMenuStorageOperations } from \"~/operations/menu\";\n\nimport { createPageElementEntity } from \"~/definitions/pageElementEntity\";\nimport { createPageElementDynamoDbFields } from \"~/operations/pageElement/fields\";\nimport { createPageElementStorageOperations } from \"~/operations/pageElement\";\n\nimport { createSettingsEntity } from \"~/definitions/settingsEntity\";\nimport { createSettingsStorageOperations } from \"~/operations/settings\";\n\nimport { createSystemEntity } from \"~/definitions/systemEntity\";\nimport { createSystemStorageOperations } from \"~/operations/system\";\n\nimport { createPageEntity } from \"~/definitions/pageEntity\";\nimport {\n createPagesElasticsearchFields,\n createPagesDynamoDbFields\n} from \"~/operations/pages/fields\";\nimport { createPageStorageOperations } from \"~/operations/pages\";\nimport { createPageElasticsearchEntity } from \"~/definitions/pageElasticsearchEntity\";\n\nimport { createBlockCategoryEntity } from \"~/definitions/blockCategoryEntity\";\nimport { createBlockCategoryDynamoDbFields } from \"~/operations/blockCategory/fields\";\nimport { createBlockCategoryStorageOperations } from \"~/operations/blockCategory\";\n\nimport { createPageBlockEntity } from \"~/definitions/pageBlockEntity\";\nimport { createPageBlockDynamoDbFields } from \"~/operations/pageBlock/fields\";\nimport { createPageBlockStorageOperations } from \"~/operations/pageBlock\";\n\nexport * from \"./plugins\";\n\n// import {} from \"@webiny/api-page-builder-so-ddb-es\";\n\nexport const createStorageOperations: StorageOperationsFactory = params => {\n const {\n documentClient,\n elasticsearch,\n table,\n esTable,\n attributes,\n plugins: userPlugins\n } = params;\n\n const tableInstance = createTable({\n table,\n documentClient\n });\n const tableElasticsearchInstance = createElasticsearchTable({\n table: esTable,\n documentClient\n });\n\n const plugins = new PluginsContainer([\n /**\n * User defined custom plugins.\n */\n ...(userPlugins || []),\n /**\n * DynamoDB filter plugins for the where conditions.\n */\n dynamoDbValueFilters(),\n /**\n * Elasticsearch operators.\n */\n getElasticsearchOperators(),\n /**\n * Category fields required for filtering/sorting.\n */\n createCategoryDynamoDbFields(),\n /**\n * Menu fields required for filtering/sorting.\n */\n createMenuDynamoDbFields(),\n /**\n * Page element fields required for filtering/sorting.\n */\n createPageElementDynamoDbFields(),\n /**\n * Page fields required for filtering/sorting.\n */\n createPagesElasticsearchFields(),\n /**\n * Page fields required for filtering/sorting when using dynamodb.\n */\n createPagesDynamoDbFields(),\n /**\n * Built-in Elasticsearch index templates\n */\n elasticsearchIndexPlugins(),\n /**\n * Block Category fields required for filtering/sorting.\n */\n createBlockCategoryDynamoDbFields(),\n /**\n * Page Block fields required for filtering/sorting.\n */\n createPageBlockDynamoDbFields()\n ]);\n\n const entities = {\n settings: createSettingsEntity({\n entityName: ENTITIES.SETTINGS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.SETTINGS] : {}\n }),\n system: createSystemEntity({\n entityName: ENTITIES.SYSTEM,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.SYSTEM] : {}\n }),\n categories: createCategoryEntity({\n entityName: ENTITIES.CATEGORIES,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.CATEGORIES] : {}\n }),\n menus: createMenuEntity({\n entityName: ENTITIES.MENUS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.MENUS] : {}\n }),\n pageElements: createPageElementEntity({\n entityName: ENTITIES.PAGE_ELEMENTS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.PAGE_ELEMENTS] : {}\n }),\n pages: createPageEntity({\n entityName: ENTITIES.PAGES,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.PAGES] : {}\n }),\n pagesEs: createPageElasticsearchEntity({\n entityName: ENTITIES.PAGES_ES,\n table: tableElasticsearchInstance,\n attributes: attributes ? attributes[ENTITIES.PAGES_ES] : {}\n }),\n blockCategories: createBlockCategoryEntity({\n entityName: ENTITIES.BLOCK_CATEGORIES,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.BLOCK_CATEGORIES] : {}\n }),\n pageBlocks: createPageBlockEntity({\n entityName: ENTITIES.PAGE_BLOCKS,\n table: tableInstance,\n attributes: attributes ? attributes[ENTITIES.PAGE_BLOCKS] : {}\n })\n };\n\n return {\n init: async context => {\n context.i18n.locales.onLocaleBeforeCreate.subscribe(async ({ locale, tenant }) => {\n await createElasticsearchIndex({\n elasticsearch,\n plugins,\n locale: locale.code,\n tenant\n });\n });\n },\n getEntities: () => entities,\n getTable: () => tableInstance,\n getEsTable: () => tableElasticsearchInstance,\n system: createSystemStorageOperations({\n entity: entities.system\n }),\n settings: createSettingsStorageOperations({\n entity: entities.settings\n }),\n categories: createCategoryStorageOperations({\n entity: entities.categories,\n plugins\n }),\n menus: createMenuStorageOperations({\n entity: entities.menus,\n plugins\n }),\n pageElements: createPageElementStorageOperations({\n entity: entities.pageElements,\n plugins\n }),\n pages: createPageStorageOperations({\n entity: entities.pages,\n esEntity: entities.pagesEs,\n elasticsearch,\n plugins\n }),\n blockCategories: createBlockCategoryStorageOperations({\n entity: entities.blockCategories,\n plugins\n }),\n pageBlocks: createPageBlockStorageOperations({\n entity: entities.pageBlocks,\n plugins\n })\n };\n};\n"],"mappings":";;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AAEA;;AACA;;AAEA;;AACA;;AAIA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAEA;AAEO,MAAMA,uBAAiD,GAAGC,MAAM,IAAI;EACvE,MAAM;IACFC,cADE;IAEFC,aAFE;IAGFC,KAHE;IAIFC,OAJE;IAKFC,UALE;IAMFC,OAAO,EAAEC;EANP,IAOFP,MAPJ;EASA,MAAMQ,aAAa,GAAG,IAAAC,k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B,kCAAA,EAA4B;MAC/BL,MAAM,EAAE5C,QAAQ,CAACkB,KADc;MAE/BgC,QAAQ,EAAElD,QAAQ,CAACqB,OAFY;MAG/B1C,aAH+B;MAI/BI;IAJ+B,CAA5B,CAhCJ;IAsCHyC,eAAe,EAAE,IAAA2B,mDAAA,EAAqC;MAClDP,MAAM,EAAE5C,QAAQ,CAACwB,eADiC;MAElDzC;IAFkD,CAArC,CAtCd;IA0CH4C,UAAU,EAAE,IAAAyB,2CAAA,EAAiC;MACzCR,MAAM,EAAE5C,QAAQ,CAAC2B,UADwB;MAEzC5C;IAFyC,CAAjC;EA1CT,CAAP;AA+CH,CAjKM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-page-builder-so-ddb-es",
3
- "version": "5.34.6-beta.1",
3
+ "version": "5.34.6-beta.3",
4
4
  "main": "index.js",
5
5
  "keywords": [
6
6
  "@webiny/api-page-builder",
@@ -18,14 +18,14 @@
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
20
  "@babel/runtime": "7.19.0",
21
- "@webiny/api-elasticsearch": "5.34.6-beta.1",
22
- "@webiny/api-page-builder": "5.34.6-beta.1",
23
- "@webiny/api-upgrade": "5.34.6-beta.1",
24
- "@webiny/db-dynamodb": "5.34.6-beta.1",
25
- "@webiny/error": "5.34.6-beta.1",
26
- "@webiny/handler-db": "5.34.6-beta.1",
27
- "@webiny/plugins": "5.34.6-beta.1",
28
- "@webiny/utils": "5.34.6-beta.1",
21
+ "@webiny/api-elasticsearch": "5.34.6-beta.3",
22
+ "@webiny/api-page-builder": "5.34.6-beta.3",
23
+ "@webiny/api-upgrade": "5.34.6-beta.3",
24
+ "@webiny/db-dynamodb": "5.34.6-beta.3",
25
+ "@webiny/error": "5.34.6-beta.3",
26
+ "@webiny/handler-db": "5.34.6-beta.3",
27
+ "@webiny/plugins": "5.34.6-beta.3",
28
+ "@webiny/utils": "5.34.6-beta.3",
29
29
  "dataloader": "2.1.0",
30
30
  "dynamodb-toolbox": "0.3.5",
31
31
  "elastic-ts": "0.8.0",
@@ -38,14 +38,14 @@
38
38
  "@babel/preset-typescript": "^7.18.6",
39
39
  "@elastic/elasticsearch": "7.12.0",
40
40
  "@elastic/elasticsearch-mock": "0.3.0",
41
- "@webiny/api": "^5.34.6-beta.1",
42
- "@webiny/api-dynamodb-to-elasticsearch": "^5.34.6-beta.1",
43
- "@webiny/api-security": "^5.34.6-beta.1",
44
- "@webiny/api-tenancy": "^5.34.6-beta.1",
45
- "@webiny/cli": "^5.34.6-beta.1",
46
- "@webiny/handler-aws": "^5.34.6-beta.1",
47
- "@webiny/handler-graphql": "^5.34.6-beta.1",
48
- "@webiny/project-utils": "^5.34.6-beta.1",
41
+ "@webiny/api": "^5.34.6-beta.3",
42
+ "@webiny/api-dynamodb-to-elasticsearch": "^5.34.6-beta.3",
43
+ "@webiny/api-security": "^5.34.6-beta.3",
44
+ "@webiny/api-tenancy": "^5.34.6-beta.3",
45
+ "@webiny/cli": "^5.34.6-beta.3",
46
+ "@webiny/handler-aws": "^5.34.6-beta.3",
47
+ "@webiny/handler-graphql": "^5.34.6-beta.3",
48
+ "@webiny/project-utils": "^5.34.6-beta.3",
49
49
  "jest": "^28.1.0",
50
50
  "jest-dynalite": "^3.2.0",
51
51
  "jest-environment-node": "^27.0.6",
@@ -61,5 +61,5 @@
61
61
  "build": "yarn webiny run build",
62
62
  "watch": "yarn webiny run watch"
63
63
  },
64
- "gitHead": "b7061794941b0f9af67fd129755f456cf5f381e8"
64
+ "gitHead": "fb21d506f1de4037aa39a68513e6399bc73b7375"
65
65
  }
@@ -0,0 +1,15 @@
1
+ export * from "./BlockCategoryDynamoDbElasticFieldPlugin";
2
+ export * from "./CategoryDynamoDbElasticFieldPlugin";
3
+ export * from "./IndexPageDataPlugin";
4
+ export * from "./MenuDynamoDbElasticFieldPlugin";
5
+ export * from "./PageBlockDynamoDbFieldPlugin";
6
+ export * from "./PageDynamoDbElasticsearchFieldPlugin";
7
+ export * from "./PageElasticsearchBodyModifierPlugin";
8
+ export * from "./PageElasticsearchFieldPlugin";
9
+ export * from "./PageElasticsearchIndexPlugin";
10
+ export * from "./PageElasticsearchQueryModifierPlugin";
11
+ export * from "./PageElasticsearchSortModifierPlugin";
12
+ export * from "./PageElementDynamoDbElasticFieldPlugin";
13
+ export * from "./SearchLatestPagesPlugin";
14
+ export * from "./SearchPagesPlugin";
15
+ export * from "./SearchPublishedPagesPlugin";
@@ -0,0 +1,200 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _BlockCategoryDynamoDbElasticFieldPlugin = require("./BlockCategoryDynamoDbElasticFieldPlugin");
8
+
9
+ Object.keys(_BlockCategoryDynamoDbElasticFieldPlugin).forEach(function (key) {
10
+ if (key === "default" || key === "__esModule") return;
11
+ if (key in exports && exports[key] === _BlockCategoryDynamoDbElasticFieldPlugin[key]) return;
12
+ Object.defineProperty(exports, key, {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _BlockCategoryDynamoDbElasticFieldPlugin[key];
16
+ }
17
+ });
18
+ });
19
+
20
+ var _CategoryDynamoDbElasticFieldPlugin = require("./CategoryDynamoDbElasticFieldPlugin");
21
+
22
+ Object.keys(_CategoryDynamoDbElasticFieldPlugin).forEach(function (key) {
23
+ if (key === "default" || key === "__esModule") return;
24
+ if (key in exports && exports[key] === _CategoryDynamoDbElasticFieldPlugin[key]) return;
25
+ Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ get: function () {
28
+ return _CategoryDynamoDbElasticFieldPlugin[key];
29
+ }
30
+ });
31
+ });
32
+
33
+ var _IndexPageDataPlugin = require("./IndexPageDataPlugin");
34
+
35
+ Object.keys(_IndexPageDataPlugin).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (key in exports && exports[key] === _IndexPageDataPlugin[key]) return;
38
+ Object.defineProperty(exports, key, {
39
+ enumerable: true,
40
+ get: function () {
41
+ return _IndexPageDataPlugin[key];
42
+ }
43
+ });
44
+ });
45
+
46
+ var _MenuDynamoDbElasticFieldPlugin = require("./MenuDynamoDbElasticFieldPlugin");
47
+
48
+ Object.keys(_MenuDynamoDbElasticFieldPlugin).forEach(function (key) {
49
+ if (key === "default" || key === "__esModule") return;
50
+ if (key in exports && exports[key] === _MenuDynamoDbElasticFieldPlugin[key]) return;
51
+ Object.defineProperty(exports, key, {
52
+ enumerable: true,
53
+ get: function () {
54
+ return _MenuDynamoDbElasticFieldPlugin[key];
55
+ }
56
+ });
57
+ });
58
+
59
+ var _PageBlockDynamoDbFieldPlugin = require("./PageBlockDynamoDbFieldPlugin");
60
+
61
+ Object.keys(_PageBlockDynamoDbFieldPlugin).forEach(function (key) {
62
+ if (key === "default" || key === "__esModule") return;
63
+ if (key in exports && exports[key] === _PageBlockDynamoDbFieldPlugin[key]) return;
64
+ Object.defineProperty(exports, key, {
65
+ enumerable: true,
66
+ get: function () {
67
+ return _PageBlockDynamoDbFieldPlugin[key];
68
+ }
69
+ });
70
+ });
71
+
72
+ var _PageDynamoDbElasticsearchFieldPlugin = require("./PageDynamoDbElasticsearchFieldPlugin");
73
+
74
+ Object.keys(_PageDynamoDbElasticsearchFieldPlugin).forEach(function (key) {
75
+ if (key === "default" || key === "__esModule") return;
76
+ if (key in exports && exports[key] === _PageDynamoDbElasticsearchFieldPlugin[key]) return;
77
+ Object.defineProperty(exports, key, {
78
+ enumerable: true,
79
+ get: function () {
80
+ return _PageDynamoDbElasticsearchFieldPlugin[key];
81
+ }
82
+ });
83
+ });
84
+
85
+ var _PageElasticsearchBodyModifierPlugin = require("./PageElasticsearchBodyModifierPlugin");
86
+
87
+ Object.keys(_PageElasticsearchBodyModifierPlugin).forEach(function (key) {
88
+ if (key === "default" || key === "__esModule") return;
89
+ if (key in exports && exports[key] === _PageElasticsearchBodyModifierPlugin[key]) return;
90
+ Object.defineProperty(exports, key, {
91
+ enumerable: true,
92
+ get: function () {
93
+ return _PageElasticsearchBodyModifierPlugin[key];
94
+ }
95
+ });
96
+ });
97
+
98
+ var _PageElasticsearchFieldPlugin = require("./PageElasticsearchFieldPlugin");
99
+
100
+ Object.keys(_PageElasticsearchFieldPlugin).forEach(function (key) {
101
+ if (key === "default" || key === "__esModule") return;
102
+ if (key in exports && exports[key] === _PageElasticsearchFieldPlugin[key]) return;
103
+ Object.defineProperty(exports, key, {
104
+ enumerable: true,
105
+ get: function () {
106
+ return _PageElasticsearchFieldPlugin[key];
107
+ }
108
+ });
109
+ });
110
+
111
+ var _PageElasticsearchIndexPlugin = require("./PageElasticsearchIndexPlugin");
112
+
113
+ Object.keys(_PageElasticsearchIndexPlugin).forEach(function (key) {
114
+ if (key === "default" || key === "__esModule") return;
115
+ if (key in exports && exports[key] === _PageElasticsearchIndexPlugin[key]) return;
116
+ Object.defineProperty(exports, key, {
117
+ enumerable: true,
118
+ get: function () {
119
+ return _PageElasticsearchIndexPlugin[key];
120
+ }
121
+ });
122
+ });
123
+
124
+ var _PageElasticsearchQueryModifierPlugin = require("./PageElasticsearchQueryModifierPlugin");
125
+
126
+ Object.keys(_PageElasticsearchQueryModifierPlugin).forEach(function (key) {
127
+ if (key === "default" || key === "__esModule") return;
128
+ if (key in exports && exports[key] === _PageElasticsearchQueryModifierPlugin[key]) return;
129
+ Object.defineProperty(exports, key, {
130
+ enumerable: true,
131
+ get: function () {
132
+ return _PageElasticsearchQueryModifierPlugin[key];
133
+ }
134
+ });
135
+ });
136
+
137
+ var _PageElasticsearchSortModifierPlugin = require("./PageElasticsearchSortModifierPlugin");
138
+
139
+ Object.keys(_PageElasticsearchSortModifierPlugin).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _PageElasticsearchSortModifierPlugin[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function () {
145
+ return _PageElasticsearchSortModifierPlugin[key];
146
+ }
147
+ });
148
+ });
149
+
150
+ var _PageElementDynamoDbElasticFieldPlugin = require("./PageElementDynamoDbElasticFieldPlugin");
151
+
152
+ Object.keys(_PageElementDynamoDbElasticFieldPlugin).forEach(function (key) {
153
+ if (key === "default" || key === "__esModule") return;
154
+ if (key in exports && exports[key] === _PageElementDynamoDbElasticFieldPlugin[key]) return;
155
+ Object.defineProperty(exports, key, {
156
+ enumerable: true,
157
+ get: function () {
158
+ return _PageElementDynamoDbElasticFieldPlugin[key];
159
+ }
160
+ });
161
+ });
162
+
163
+ var _SearchLatestPagesPlugin = require("./SearchLatestPagesPlugin");
164
+
165
+ Object.keys(_SearchLatestPagesPlugin).forEach(function (key) {
166
+ if (key === "default" || key === "__esModule") return;
167
+ if (key in exports && exports[key] === _SearchLatestPagesPlugin[key]) return;
168
+ Object.defineProperty(exports, key, {
169
+ enumerable: true,
170
+ get: function () {
171
+ return _SearchLatestPagesPlugin[key];
172
+ }
173
+ });
174
+ });
175
+
176
+ var _SearchPagesPlugin = require("./SearchPagesPlugin");
177
+
178
+ Object.keys(_SearchPagesPlugin).forEach(function (key) {
179
+ if (key === "default" || key === "__esModule") return;
180
+ if (key in exports && exports[key] === _SearchPagesPlugin[key]) return;
181
+ Object.defineProperty(exports, key, {
182
+ enumerable: true,
183
+ get: function () {
184
+ return _SearchPagesPlugin[key];
185
+ }
186
+ });
187
+ });
188
+
189
+ var _SearchPublishedPagesPlugin = require("./SearchPublishedPagesPlugin");
190
+
191
+ Object.keys(_SearchPublishedPagesPlugin).forEach(function (key) {
192
+ if (key === "default" || key === "__esModule") return;
193
+ if (key in exports && exports[key] === _SearchPublishedPagesPlugin[key]) return;
194
+ Object.defineProperty(exports, key, {
195
+ enumerable: true,
196
+ get: function () {
197
+ return _SearchPublishedPagesPlugin[key];
198
+ }
199
+ });
200
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./BlockCategoryDynamoDbElasticFieldPlugin\";\nexport * from \"./CategoryDynamoDbElasticFieldPlugin\";\nexport * from \"./IndexPageDataPlugin\";\nexport * from \"./MenuDynamoDbElasticFieldPlugin\";\nexport * from \"./PageBlockDynamoDbFieldPlugin\";\nexport * from \"./PageDynamoDbElasticsearchFieldPlugin\";\nexport * from \"./PageElasticsearchBodyModifierPlugin\";\nexport * from \"./PageElasticsearchFieldPlugin\";\nexport * from \"./PageElasticsearchIndexPlugin\";\nexport * from \"./PageElasticsearchQueryModifierPlugin\";\nexport * from \"./PageElasticsearchSortModifierPlugin\";\nexport * from \"./PageElementDynamoDbElasticFieldPlugin\";\nexport * from \"./SearchLatestPagesPlugin\";\nexport * from \"./SearchPagesPlugin\";\nexport * from \"./SearchPublishedPagesPlugin\";\n"],"mappings":";;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
@@ -0,0 +1 @@
1
+ export * from "./definitions";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _definitions = require("./definitions");
8
+
9
+ Object.keys(_definitions).forEach(function (key) {
10
+ if (key === "default" || key === "__esModule") return;
11
+ if (key in exports && exports[key] === _definitions[key]) return;
12
+ Object.defineProperty(exports, key, {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _definitions[key];
16
+ }
17
+ });
18
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./definitions\";\n"],"mappings":";;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}