@webiny/api-headless-cms-ddb-es 6.5.2-beta.1 → 6.5.2-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.
Files changed (2) hide show
  1. package/package.json +23 -23
  2. package/types.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-headless-cms-ddb-es",
3
- "version": "6.5.2-beta.1",
3
+ "version": "6.5.2-beta.3",
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.5.2-beta.1",
34
- "@webiny/api-core": "6.5.2-beta.1",
35
- "@webiny/api-elasticsearch-tasks": "6.5.2-beta.1",
36
- "@webiny/api-headless-cms": "6.5.2-beta.1",
37
- "@webiny/api-opensearch": "6.5.2-beta.1",
38
- "@webiny/db": "6.5.2-beta.1",
39
- "@webiny/db-dynamodb": "6.5.2-beta.1",
40
- "@webiny/error": "6.5.2-beta.1",
41
- "@webiny/feature": "6.5.2-beta.1",
42
- "@webiny/handler-db": "6.5.2-beta.1",
43
- "@webiny/plugins": "6.5.2-beta.1",
44
- "@webiny/utils": "6.5.2-beta.1",
33
+ "@webiny/api": "6.5.2-beta.3",
34
+ "@webiny/api-core": "6.5.2-beta.3",
35
+ "@webiny/api-elasticsearch-tasks": "6.5.2-beta.3",
36
+ "@webiny/api-headless-cms": "6.5.2-beta.3",
37
+ "@webiny/api-opensearch": "6.5.2-beta.3",
38
+ "@webiny/db": "6.5.2-beta.3",
39
+ "@webiny/db-dynamodb": "6.5.2-beta.3",
40
+ "@webiny/error": "6.5.2-beta.3",
41
+ "@webiny/feature": "6.5.2-beta.3",
42
+ "@webiny/handler-db": "6.5.2-beta.3",
43
+ "@webiny/plugins": "6.5.2-beta.3",
44
+ "@webiny/utils": "6.5.2-beta.3",
45
45
  "dataloader": "2.2.3",
46
46
  "lodash": "4.18.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/jsonpack": "1.1.6",
50
- "@webiny/api-dynamodb-to-elasticsearch": "6.5.2-beta.1",
51
- "@webiny/background-tasks": "6.5.2-beta.1",
52
- "@webiny/build-tools": "6.5.2-beta.1",
50
+ "@webiny/api-dynamodb-to-elasticsearch": "6.5.2-beta.3",
51
+ "@webiny/background-tasks": "6.5.2-beta.3",
52
+ "@webiny/build-tools": "6.5.2-beta.3",
53
53
  "@webiny/di": "1.1.0",
54
- "@webiny/handler": "6.5.2-beta.1",
55
- "@webiny/handler-aws": "6.5.2-beta.1",
56
- "@webiny/handler-graphql": "6.5.2-beta.1",
57
- "@webiny/project-utils": "6.5.2-beta.1",
58
- "@webiny/wcp": "6.5.2-beta.1",
54
+ "@webiny/handler": "6.5.2-beta.3",
55
+ "@webiny/handler-aws": "6.5.2-beta.3",
56
+ "@webiny/handler-graphql": "6.5.2-beta.3",
57
+ "@webiny/project-utils": "6.5.2-beta.3",
58
+ "@webiny/wcp": "6.5.2-beta.3",
59
59
  "jest-dynalite": "3.6.1",
60
- "rimraf": "6.1.3",
60
+ "rimraf": "6.1.4",
61
61
  "typescript": "7.0.2",
62
- "vitest": "5.0.5"
62
+ "vitest": "5.1.0"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public"
package/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../src/types.ts"],"sourcesContent":["import type {\n CmsContext,\n CmsEntry,\n CmsEntryStorageOperations as BaseCmsEntryStorageOperations,\n CmsEntryValues,\n HeadlessCmsStorageOperations as BaseHeadlessCmsStorageOperations\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport type { Client, IOpenSearchEntity as IElasticsearchEntity } from \"@webiny/api-opensearch\";\nimport type { IEntryEntity, IGroupEntity, IModelEntity } from \"~/definitions/types.js\";\nimport type { ITable } from \"@webiny/db-dynamodb\";\nimport type { PluginsContainer } from \"@webiny/plugins\";\n\nexport { CmsContext };\n/**\n * A definition of the entry that is being prepared for the Elasticsearch.\n *\n * @category Elasticsearch\n * @category CmsEntry\n */\nexport interface CmsIndexEntry<T extends CmsEntryValues = CmsEntryValues> extends CmsEntry<T> {\n /**\n * Values that are not going to be indexed.\n */\n rawValues: Partial<T>;\n /**\n * Dev can add whatever keys they want and need. Just need to be careful not to break the entry.\n */\n [key: string]: any;\n}\n\nexport enum ENTITIES {\n GROUPS = \"CmsGroups\",\n MODELS = \"CmsModels\",\n ENTRIES = \"CmsEntries\",\n ENTRIES_ES = \"CmsEntriesElasticsearch\"\n}\n\nexport interface StorageOperationsFactoryParams {\n elasticsearch: Client;\n table?: string;\n esTable?: string;\n plugins: PluginsContainer;\n container: CmsContext[\"container\"];\n}\n\nexport interface IGetEntitiesResponse {\n groups: IGroupEntity;\n models: IModelEntity;\n entries: IEntryEntity;\n entriesEs: IElasticsearchEntity;\n}\n\nexport interface HeadlessCmsStorageOperations extends BaseHeadlessCmsStorageOperations {\n getTable: () => ITable;\n getEsTable: () => ITable;\n getEntities: () => IGetEntitiesResponse;\n}\n\nexport interface StorageOperationsFactory {\n (params: StorageOperationsFactoryParams): HeadlessCmsStorageOperations;\n}\n\nexport interface CmsEntryStorageOperations extends BaseCmsEntryStorageOperations {\n dataLoaders: IDataLoadersHandler;\n}\n\nexport interface DataLoadersHandlerInterfaceClearAllParams {\n tenant: string;\n}\nexport interface IDataLoadersHandler {\n clearAll: (params?: DataLoadersHandlerInterfaceClearAllParams) => void;\n}\n"],"names":["ENTITIES"],"mappings":"AA8BO,IAAKA,iBAAQA,WAAAA,GAAAA,SAARA,QAAQ;;;;;WAARA"}
1
+ {"version":3,"file":"types.js","sources":["../src/types.ts"],"sourcesContent":["import type {\n CmsContext,\n CmsEntry,\n CmsEntryStorageOperations as BaseCmsEntryStorageOperations,\n CmsEntryValues,\n HeadlessCmsStorageOperations as BaseHeadlessCmsStorageOperations\n} from \"@webiny/api-headless-cms/types/index.js\";\nimport type { Client, IOpenSearchEntity as IElasticsearchEntity } from \"@webiny/api-opensearch\";\nimport type { IEntryEntity, IGroupEntity, IModelEntity } from \"~/definitions/types.js\";\nimport type { ITable } from \"@webiny/db-dynamodb\";\nimport type { PluginsContainer } from \"@webiny/plugins\";\n\nexport { CmsContext };\n/**\n * A definition of the entry that is being prepared for the Elasticsearch.\n *\n * @category Elasticsearch\n * @category CmsEntry\n */\nexport interface CmsIndexEntry<T extends CmsEntryValues = CmsEntryValues> extends CmsEntry<T> {\n /**\n * Values that are not going to be indexed.\n */\n rawValues: Partial<T>;\n /**\n * Dev can add whatever keys they want and need. Just need to be careful not to break the entry.\n */\n [key: string]: any;\n}\n\nexport enum ENTITIES {\n GROUPS = \"CmsGroups\",\n MODELS = \"CmsModels\",\n ENTRIES = \"CmsEntries\",\n ENTRIES_ES = \"CmsEntriesElasticsearch\"\n}\n\nexport interface StorageOperationsFactoryParams {\n elasticsearch: Client;\n table?: string;\n esTable?: string;\n plugins: PluginsContainer;\n container: CmsContext[\"container\"];\n}\n\nexport interface IGetEntitiesResponse {\n groups: IGroupEntity;\n models: IModelEntity;\n entries: IEntryEntity;\n entriesEs: IElasticsearchEntity;\n}\n\nexport interface HeadlessCmsStorageOperations extends BaseHeadlessCmsStorageOperations {\n getTable: () => ITable;\n getEsTable: () => ITable;\n getEntities: () => IGetEntitiesResponse;\n}\n\nexport interface StorageOperationsFactory {\n (params: StorageOperationsFactoryParams): HeadlessCmsStorageOperations;\n}\n\nexport interface CmsEntryStorageOperations extends BaseCmsEntryStorageOperations {\n dataLoaders: IDataLoadersHandler;\n}\n\nexport interface DataLoadersHandlerInterfaceClearAllParams {\n tenant: string;\n}\nexport interface IDataLoadersHandler {\n clearAll: (params?: DataLoadersHandlerInterfaceClearAllParams) => void;\n}\n"],"names":["ENTITIES"],"mappings":"AA8BO,IAAKA,iBAAQA,WAAAA,GAAAA,SAAAA,QAAAA"}