@webiny/api-elasticsearch-tasks 0.0.0-unstable.06b2ede40f
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/LICENSE +21 -0
- package/README.md +10 -0
- package/definitions/entry.d.ts +11 -0
- package/definitions/entry.js +43 -0
- package/definitions/entry.js.map +1 -0
- package/definitions/index.d.ts +2 -0
- package/definitions/index.js +29 -0
- package/definitions/index.js.map +1 -0
- package/definitions/table.d.ts +7 -0
- package/definitions/table.js +23 -0
- package/definitions/table.js.map +1 -0
- package/errors/IndexSettingsGetError.d.ts +6 -0
- package/errors/IndexSettingsGetError.js +20 -0
- package/errors/IndexSettingsGetError.js.map +1 -0
- package/errors/IndexSettingsSetError.d.ts +6 -0
- package/errors/IndexSettingsSetError.js +20 -0
- package/errors/IndexSettingsSetError.js.map +1 -0
- package/errors/IndexingDisableError.d.ts +2 -0
- package/errors/IndexingDisableError.js +10 -0
- package/errors/IndexingDisableError.js.map +1 -0
- package/errors/IndexingEnableError.d.ts +2 -0
- package/errors/IndexingEnableError.js +10 -0
- package/errors/IndexingEnableError.js.map +1 -0
- package/errors/index.d.ts +4 -0
- package/errors/index.js +51 -0
- package/errors/index.js.map +1 -0
- package/helpers/scan.d.ts +10 -0
- package/helpers/scan.js +24 -0
- package/helpers/scan.js.map +1 -0
- package/index.d.ts +5 -0
- package/index.js +28 -0
- package/index.js.map +1 -0
- package/package.json +59 -0
- package/settings/DisableIndexing.d.ts +7 -0
- package/settings/DisableIndexing.js +27 -0
- package/settings/DisableIndexing.js.map +1 -0
- package/settings/EnableIndexing.d.ts +7 -0
- package/settings/EnableIndexing.js +27 -0
- package/settings/EnableIndexing.js.map +1 -0
- package/settings/IndexManager.d.ts +20 -0
- package/settings/IndexManager.js +100 -0
- package/settings/IndexManager.js.map +1 -0
- package/settings/IndexSettingsManager.d.ts +8 -0
- package/settings/IndexSettingsManager.js +44 -0
- package/settings/IndexSettingsManager.js.map +1 -0
- package/settings/index.d.ts +1 -0
- package/settings/index.js +18 -0
- package/settings/index.js.map +1 -0
- package/settings/types.d.ts +9 -0
- package/settings/types.js +7 -0
- package/settings/types.js.map +1 -0
- package/tasks/Manager.d.ts +33 -0
- package/tasks/Manager.js +51 -0
- package/tasks/Manager.js.map +1 -0
- package/tasks/createIndexes/CreateElasticsearchIndexTaskPlugin.d.ts +23 -0
- package/tasks/createIndexes/CreateElasticsearchIndexTaskPlugin.js +25 -0
- package/tasks/createIndexes/CreateElasticsearchIndexTaskPlugin.js.map +1 -0
- package/tasks/createIndexes/CreateIndexesTaskRunner.d.ts +10 -0
- package/tasks/createIndexes/CreateIndexesTaskRunner.js +77 -0
- package/tasks/createIndexes/CreateIndexesTaskRunner.js.map +1 -0
- package/tasks/createIndexes/OnBeforeTrigger.d.ts +12 -0
- package/tasks/createIndexes/OnBeforeTrigger.js +68 -0
- package/tasks/createIndexes/OnBeforeTrigger.js.map +1 -0
- package/tasks/createIndexes/createIndex.d.ts +5 -0
- package/tasks/createIndexes/createIndex.js +27 -0
- package/tasks/createIndexes/createIndex.js.map +1 -0
- package/tasks/createIndexes/index.d.ts +3 -0
- package/tasks/createIndexes/index.js +68 -0
- package/tasks/createIndexes/index.js.map +1 -0
- package/tasks/createIndexes/listCreateElasticsearchIndexTaskPlugin.d.ts +4 -0
- package/tasks/createIndexes/listCreateElasticsearchIndexTaskPlugin.js +13 -0
- package/tasks/createIndexes/listCreateElasticsearchIndexTaskPlugin.js.map +1 -0
- package/tasks/createIndexes/listIndexes.d.ts +12 -0
- package/tasks/createIndexes/listIndexes.js +53 -0
- package/tasks/createIndexes/listIndexes.js.map +1 -0
- package/tasks/createIndexes/types.d.ts +4 -0
- package/tasks/createIndexes/types.js +7 -0
- package/tasks/createIndexes/types.js.map +1 -0
- package/tasks/dataSynchronization/DataSynchronizationTaskRunner.d.ts +15 -0
- package/tasks/dataSynchronization/DataSynchronizationTaskRunner.js +55 -0
- package/tasks/dataSynchronization/DataSynchronizationTaskRunner.js.map +1 -0
- package/tasks/dataSynchronization/createFactories.d.ts +2 -0
- package/tasks/dataSynchronization/createFactories.js +17 -0
- package/tasks/dataSynchronization/createFactories.js.map +1 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchFetcher.d.ts +10 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchFetcher.js +98 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchFetcher.js.map +1 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchSynchronize.d.ts +14 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchSynchronize.js +76 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchSynchronize.js.map +1 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchToDynamoDbSynchronization.d.ts +10 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchToDynamoDbSynchronization.js +77 -0
- package/tasks/dataSynchronization/elasticsearch/ElasticsearchToDynamoDbSynchronization.js.map +1 -0
- package/tasks/dataSynchronization/elasticsearch/abstractions/ElasticsearchFetcher.d.ts +21 -0
- package/tasks/dataSynchronization/elasticsearch/abstractions/ElasticsearchFetcher.js +7 -0
- package/tasks/dataSynchronization/elasticsearch/abstractions/ElasticsearchFetcher.js.map +1 -0
- package/tasks/dataSynchronization/elasticsearch/abstractions/ElasticsearchSynchronize.d.ts +17 -0
- package/tasks/dataSynchronization/elasticsearch/abstractions/ElasticsearchSynchronize.js +7 -0
- package/tasks/dataSynchronization/elasticsearch/abstractions/ElasticsearchSynchronize.js.map +1 -0
- package/tasks/dataSynchronization/elasticsearch/shouldIgnoreEsResponseError.d.ts +2 -0
- package/tasks/dataSynchronization/elasticsearch/shouldIgnoreEsResponseError.js +13 -0
- package/tasks/dataSynchronization/elasticsearch/shouldIgnoreEsResponseError.js.map +1 -0
- package/tasks/dataSynchronization/entities/getElasticsearchEntity.d.ts +713 -0
- package/tasks/dataSynchronization/entities/getElasticsearchEntity.js +46 -0
- package/tasks/dataSynchronization/entities/getElasticsearchEntity.js.map +1 -0
- package/tasks/dataSynchronization/entities/getElasticsearchEntityType.d.ts +11 -0
- package/tasks/dataSynchronization/entities/getElasticsearchEntityType.js +29 -0
- package/tasks/dataSynchronization/entities/getElasticsearchEntityType.js.map +1 -0
- package/tasks/dataSynchronization/entities/getTable.d.ts +7 -0
- package/tasks/dataSynchronization/entities/getTable.js +29 -0
- package/tasks/dataSynchronization/entities/getTable.js.map +1 -0
- package/tasks/dataSynchronization/entities/index.d.ts +3 -0
- package/tasks/dataSynchronization/entities/index.js +40 -0
- package/tasks/dataSynchronization/entities/index.js.map +1 -0
- package/tasks/dataSynchronization/index.d.ts +4 -0
- package/tasks/dataSynchronization/index.js +80 -0
- package/tasks/dataSynchronization/index.js.map +1 -0
- package/tasks/dataSynchronization/types.d.ts +38 -0
- package/tasks/dataSynchronization/types.js +7 -0
- package/tasks/dataSynchronization/types.js.map +1 -0
- package/tasks/enableIndexing/EnableIndexingTaskRunner.d.ts +11 -0
- package/tasks/enableIndexing/EnableIndexingTaskRunner.js +49 -0
- package/tasks/enableIndexing/EnableIndexingTaskRunner.js.map +1 -0
- package/tasks/enableIndexing/index.d.ts +3 -0
- package/tasks/enableIndexing/index.js +51 -0
- package/tasks/enableIndexing/index.js.map +1 -0
- package/tasks/enableIndexing/types.d.ts +5 -0
- package/tasks/enableIndexing/types.js +7 -0
- package/tasks/enableIndexing/types.js.map +1 -0
- package/tasks/index.d.ts +4 -0
- package/tasks/index.js +51 -0
- package/tasks/index.js.map +1 -0
- package/tasks/reindexing/ReindexingTaskRunner.d.ts +16 -0
- package/tasks/reindexing/ReindexingTaskRunner.js +137 -0
- package/tasks/reindexing/ReindexingTaskRunner.js.map +1 -0
- package/tasks/reindexing/index.d.ts +1 -0
- package/tasks/reindexing/index.js +18 -0
- package/tasks/reindexing/index.js.map +1 -0
- package/tasks/reindexing/reindexingTaskDefinition.d.ts +2 -0
- package/tasks/reindexing/reindexingTaskDefinition.js +49 -0
- package/tasks/reindexing/reindexingTaskDefinition.js.map +1 -0
- package/types.d.ts +59 -0
- package/types.js +7 -0
- package/types.js.map +1 -0
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
import type { Entity } from "@webiny/db-dynamodb/toolbox";
|
|
2
|
+
import type { IRegistryItem } from "@webiny/db";
|
|
3
|
+
import { EntityType } from "./getElasticsearchEntityType";
|
|
4
|
+
import type { Context } from "../../../types";
|
|
5
|
+
export interface IGetElasticsearchEntityParams {
|
|
6
|
+
type: EntityType | unknown;
|
|
7
|
+
context: Pick<Context, "db">;
|
|
8
|
+
}
|
|
9
|
+
export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityParams) => IRegistryItem<Entity<string, import("dynamodb-toolbox/dist/cjs/classes/Entity").Overlay, import("dynamodb-toolbox/dist/cjs/classes/Entity").Overlay, import("@webiny/db-dynamodb/toolbox").TableDef | undefined, boolean, boolean, boolean, string, string, string, boolean, {
|
|
10
|
+
readonly [x: string]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
11
|
+
readonly partitionKey?: false | undefined;
|
|
12
|
+
readonly sortKey?: false | undefined;
|
|
13
|
+
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
14
|
+
readonly default?: any;
|
|
15
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
16
|
+
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
17
|
+
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
18
|
+
readonly coerce?: boolean | undefined;
|
|
19
|
+
readonly save?: boolean | undefined;
|
|
20
|
+
readonly onUpdate?: boolean | undefined;
|
|
21
|
+
readonly hidden?: boolean | undefined;
|
|
22
|
+
readonly required?: boolean | "always" | undefined;
|
|
23
|
+
readonly alias?: string | undefined;
|
|
24
|
+
readonly map?: string | undefined;
|
|
25
|
+
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
26
|
+
readonly delimiter?: string | undefined;
|
|
27
|
+
readonly prefix?: string | undefined;
|
|
28
|
+
readonly suffix?: string | undefined;
|
|
29
|
+
} | {
|
|
30
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
31
|
+
readonly default?: any;
|
|
32
|
+
readonly hidden?: boolean | undefined;
|
|
33
|
+
readonly delimiter?: string | undefined;
|
|
34
|
+
readonly prefix?: string | undefined;
|
|
35
|
+
readonly suffix?: string | undefined;
|
|
36
|
+
readonly onUpdate?: boolean | undefined;
|
|
37
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
38
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
39
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
40
|
+
readonly coerce?: boolean | undefined;
|
|
41
|
+
readonly save?: undefined;
|
|
42
|
+
readonly required?: undefined;
|
|
43
|
+
readonly alias?: undefined;
|
|
44
|
+
readonly map?: undefined;
|
|
45
|
+
readonly setType?: undefined;
|
|
46
|
+
readonly partitionKey: true;
|
|
47
|
+
readonly sortKey?: false | undefined;
|
|
48
|
+
} | {
|
|
49
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
50
|
+
readonly default?: any;
|
|
51
|
+
readonly hidden?: boolean | undefined;
|
|
52
|
+
readonly delimiter?: string | undefined;
|
|
53
|
+
readonly prefix?: string | undefined;
|
|
54
|
+
readonly suffix?: string | undefined;
|
|
55
|
+
readonly onUpdate?: boolean | undefined;
|
|
56
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
57
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
58
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
59
|
+
readonly coerce?: boolean | undefined;
|
|
60
|
+
readonly save?: undefined;
|
|
61
|
+
readonly required?: undefined;
|
|
62
|
+
readonly alias?: undefined;
|
|
63
|
+
readonly map?: undefined;
|
|
64
|
+
readonly setType?: undefined;
|
|
65
|
+
readonly sortKey: true;
|
|
66
|
+
readonly partitionKey?: false | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
69
|
+
readonly default?: any;
|
|
70
|
+
readonly hidden?: boolean | undefined;
|
|
71
|
+
readonly delimiter?: string | undefined;
|
|
72
|
+
readonly prefix?: string | undefined;
|
|
73
|
+
readonly suffix?: string | undefined;
|
|
74
|
+
readonly onUpdate?: boolean | undefined;
|
|
75
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
76
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
77
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
78
|
+
readonly coerce?: boolean | undefined;
|
|
79
|
+
readonly save?: undefined;
|
|
80
|
+
readonly required?: undefined;
|
|
81
|
+
readonly alias?: undefined;
|
|
82
|
+
readonly map?: undefined;
|
|
83
|
+
readonly setType?: undefined;
|
|
84
|
+
readonly partitionKey: string;
|
|
85
|
+
readonly sortKey?: false | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
88
|
+
readonly default?: any;
|
|
89
|
+
readonly hidden?: boolean | undefined;
|
|
90
|
+
readonly delimiter?: string | undefined;
|
|
91
|
+
readonly prefix?: string | undefined;
|
|
92
|
+
readonly suffix?: string | undefined;
|
|
93
|
+
readonly onUpdate?: boolean | undefined;
|
|
94
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
95
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
96
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
97
|
+
readonly coerce?: boolean | undefined;
|
|
98
|
+
readonly save?: undefined;
|
|
99
|
+
readonly required?: undefined;
|
|
100
|
+
readonly alias?: undefined;
|
|
101
|
+
readonly map?: undefined;
|
|
102
|
+
readonly setType?: undefined;
|
|
103
|
+
readonly partitionKey?: false | undefined;
|
|
104
|
+
readonly sortKey: string;
|
|
105
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
106
|
+
readonly partitionKey?: false | undefined;
|
|
107
|
+
readonly sortKey?: false | undefined;
|
|
108
|
+
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
109
|
+
readonly default?: any;
|
|
110
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
111
|
+
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
112
|
+
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
113
|
+
readonly coerce?: boolean | undefined;
|
|
114
|
+
readonly save?: boolean | undefined;
|
|
115
|
+
readonly onUpdate?: boolean | undefined;
|
|
116
|
+
readonly hidden?: boolean | undefined;
|
|
117
|
+
readonly required?: boolean | "always" | undefined;
|
|
118
|
+
readonly alias?: string | undefined;
|
|
119
|
+
readonly map?: string | undefined;
|
|
120
|
+
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
121
|
+
readonly delimiter?: string | undefined;
|
|
122
|
+
readonly prefix?: string | undefined;
|
|
123
|
+
readonly suffix?: string | undefined;
|
|
124
|
+
}];
|
|
125
|
+
readonly [x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
126
|
+
readonly partitionKey?: false | undefined;
|
|
127
|
+
readonly sortKey?: false | undefined;
|
|
128
|
+
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
129
|
+
readonly default?: any;
|
|
130
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
131
|
+
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
132
|
+
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
133
|
+
readonly coerce?: boolean | undefined;
|
|
134
|
+
readonly save?: boolean | undefined;
|
|
135
|
+
readonly onUpdate?: boolean | undefined;
|
|
136
|
+
readonly hidden?: boolean | undefined;
|
|
137
|
+
readonly required?: boolean | "always" | undefined;
|
|
138
|
+
readonly alias?: string | undefined;
|
|
139
|
+
readonly map?: string | undefined;
|
|
140
|
+
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
141
|
+
readonly delimiter?: string | undefined;
|
|
142
|
+
readonly prefix?: string | undefined;
|
|
143
|
+
readonly suffix?: string | undefined;
|
|
144
|
+
} | {
|
|
145
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
146
|
+
readonly default?: any;
|
|
147
|
+
readonly hidden?: boolean | undefined;
|
|
148
|
+
readonly delimiter?: string | undefined;
|
|
149
|
+
readonly prefix?: string | undefined;
|
|
150
|
+
readonly suffix?: string | undefined;
|
|
151
|
+
readonly onUpdate?: boolean | undefined;
|
|
152
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
153
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
154
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
155
|
+
readonly coerce?: boolean | undefined;
|
|
156
|
+
readonly save?: undefined;
|
|
157
|
+
readonly required?: undefined;
|
|
158
|
+
readonly alias?: undefined;
|
|
159
|
+
readonly map?: undefined;
|
|
160
|
+
readonly setType?: undefined;
|
|
161
|
+
readonly partitionKey: true;
|
|
162
|
+
readonly sortKey?: false | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
165
|
+
readonly default?: any;
|
|
166
|
+
readonly hidden?: boolean | undefined;
|
|
167
|
+
readonly delimiter?: string | undefined;
|
|
168
|
+
readonly prefix?: string | undefined;
|
|
169
|
+
readonly suffix?: string | undefined;
|
|
170
|
+
readonly onUpdate?: boolean | undefined;
|
|
171
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
172
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
173
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
174
|
+
readonly coerce?: boolean | undefined;
|
|
175
|
+
readonly save?: undefined;
|
|
176
|
+
readonly required?: undefined;
|
|
177
|
+
readonly alias?: undefined;
|
|
178
|
+
readonly map?: undefined;
|
|
179
|
+
readonly setType?: undefined;
|
|
180
|
+
readonly sortKey: true;
|
|
181
|
+
readonly partitionKey?: false | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
184
|
+
readonly default?: any;
|
|
185
|
+
readonly hidden?: boolean | undefined;
|
|
186
|
+
readonly delimiter?: string | undefined;
|
|
187
|
+
readonly prefix?: string | undefined;
|
|
188
|
+
readonly suffix?: string | undefined;
|
|
189
|
+
readonly onUpdate?: boolean | undefined;
|
|
190
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
191
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
192
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
193
|
+
readonly coerce?: boolean | undefined;
|
|
194
|
+
readonly save?: undefined;
|
|
195
|
+
readonly required?: undefined;
|
|
196
|
+
readonly alias?: undefined;
|
|
197
|
+
readonly map?: undefined;
|
|
198
|
+
readonly setType?: undefined;
|
|
199
|
+
readonly partitionKey: string;
|
|
200
|
+
readonly sortKey?: false | undefined;
|
|
201
|
+
} | {
|
|
202
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
203
|
+
readonly default?: any;
|
|
204
|
+
readonly hidden?: boolean | undefined;
|
|
205
|
+
readonly delimiter?: string | undefined;
|
|
206
|
+
readonly prefix?: string | undefined;
|
|
207
|
+
readonly suffix?: string | undefined;
|
|
208
|
+
readonly onUpdate?: boolean | undefined;
|
|
209
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
210
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
211
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
212
|
+
readonly coerce?: boolean | undefined;
|
|
213
|
+
readonly save?: undefined;
|
|
214
|
+
readonly required?: undefined;
|
|
215
|
+
readonly alias?: undefined;
|
|
216
|
+
readonly map?: undefined;
|
|
217
|
+
readonly setType?: undefined;
|
|
218
|
+
readonly partitionKey?: false | undefined;
|
|
219
|
+
readonly sortKey: string;
|
|
220
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
221
|
+
readonly partitionKey?: false | undefined;
|
|
222
|
+
readonly sortKey?: false | undefined;
|
|
223
|
+
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
224
|
+
readonly default?: any;
|
|
225
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
226
|
+
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
227
|
+
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
228
|
+
readonly coerce?: boolean | undefined;
|
|
229
|
+
readonly save?: boolean | undefined;
|
|
230
|
+
readonly onUpdate?: boolean | undefined;
|
|
231
|
+
readonly hidden?: boolean | undefined;
|
|
232
|
+
readonly required?: boolean | "always" | undefined;
|
|
233
|
+
readonly alias?: string | undefined;
|
|
234
|
+
readonly map?: string | undefined;
|
|
235
|
+
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
236
|
+
readonly delimiter?: string | undefined;
|
|
237
|
+
readonly prefix?: string | undefined;
|
|
238
|
+
readonly suffix?: string | undefined;
|
|
239
|
+
}];
|
|
240
|
+
readonly [x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
241
|
+
readonly partitionKey?: false | undefined;
|
|
242
|
+
readonly sortKey?: false | undefined;
|
|
243
|
+
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
244
|
+
readonly default?: any;
|
|
245
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
246
|
+
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
247
|
+
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
248
|
+
readonly coerce?: boolean | undefined;
|
|
249
|
+
readonly save?: boolean | undefined;
|
|
250
|
+
readonly onUpdate?: boolean | undefined;
|
|
251
|
+
readonly hidden?: boolean | undefined;
|
|
252
|
+
readonly required?: boolean | "always" | undefined;
|
|
253
|
+
readonly alias?: string | undefined;
|
|
254
|
+
readonly map?: string | undefined;
|
|
255
|
+
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
256
|
+
readonly delimiter?: string | undefined;
|
|
257
|
+
readonly prefix?: string | undefined;
|
|
258
|
+
readonly suffix?: string | undefined;
|
|
259
|
+
} | {
|
|
260
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
261
|
+
readonly default?: any;
|
|
262
|
+
readonly hidden?: boolean | undefined;
|
|
263
|
+
readonly delimiter?: string | undefined;
|
|
264
|
+
readonly prefix?: string | undefined;
|
|
265
|
+
readonly suffix?: string | undefined;
|
|
266
|
+
readonly onUpdate?: boolean | undefined;
|
|
267
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
268
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
269
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
270
|
+
readonly coerce?: boolean | undefined;
|
|
271
|
+
readonly save?: undefined;
|
|
272
|
+
readonly required?: undefined;
|
|
273
|
+
readonly alias?: undefined;
|
|
274
|
+
readonly map?: undefined;
|
|
275
|
+
readonly setType?: undefined;
|
|
276
|
+
readonly partitionKey: true;
|
|
277
|
+
readonly sortKey?: false | undefined;
|
|
278
|
+
} | {
|
|
279
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
280
|
+
readonly default?: any;
|
|
281
|
+
readonly hidden?: boolean | undefined;
|
|
282
|
+
readonly delimiter?: string | undefined;
|
|
283
|
+
readonly prefix?: string | undefined;
|
|
284
|
+
readonly suffix?: string | undefined;
|
|
285
|
+
readonly onUpdate?: boolean | undefined;
|
|
286
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
287
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
288
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
289
|
+
readonly coerce?: boolean | undefined;
|
|
290
|
+
readonly save?: undefined;
|
|
291
|
+
readonly required?: undefined;
|
|
292
|
+
readonly alias?: undefined;
|
|
293
|
+
readonly map?: undefined;
|
|
294
|
+
readonly setType?: undefined;
|
|
295
|
+
readonly sortKey: true;
|
|
296
|
+
readonly partitionKey?: false | undefined;
|
|
297
|
+
} | {
|
|
298
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
299
|
+
readonly default?: any;
|
|
300
|
+
readonly hidden?: boolean | undefined;
|
|
301
|
+
readonly delimiter?: string | undefined;
|
|
302
|
+
readonly prefix?: string | undefined;
|
|
303
|
+
readonly suffix?: string | undefined;
|
|
304
|
+
readonly onUpdate?: boolean | undefined;
|
|
305
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
306
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
307
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
308
|
+
readonly coerce?: boolean | undefined;
|
|
309
|
+
readonly save?: undefined;
|
|
310
|
+
readonly required?: undefined;
|
|
311
|
+
readonly alias?: undefined;
|
|
312
|
+
readonly map?: undefined;
|
|
313
|
+
readonly setType?: undefined;
|
|
314
|
+
readonly partitionKey: string;
|
|
315
|
+
readonly sortKey?: false | undefined;
|
|
316
|
+
} | {
|
|
317
|
+
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
318
|
+
readonly default?: any;
|
|
319
|
+
readonly hidden?: boolean | undefined;
|
|
320
|
+
readonly delimiter?: string | undefined;
|
|
321
|
+
readonly prefix?: string | undefined;
|
|
322
|
+
readonly suffix?: string | undefined;
|
|
323
|
+
readonly onUpdate?: boolean | undefined;
|
|
324
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
325
|
+
readonly transform?: ((value: any, data: any) => any) | undefined;
|
|
326
|
+
readonly format?: ((value: any, data: any) => any) | undefined;
|
|
327
|
+
readonly coerce?: boolean | undefined;
|
|
328
|
+
readonly save?: undefined;
|
|
329
|
+
readonly required?: undefined;
|
|
330
|
+
readonly alias?: undefined;
|
|
331
|
+
readonly map?: undefined;
|
|
332
|
+
readonly setType?: undefined;
|
|
333
|
+
readonly partitionKey?: false | undefined;
|
|
334
|
+
readonly sortKey: string;
|
|
335
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
336
|
+
readonly partitionKey?: false | undefined;
|
|
337
|
+
readonly sortKey?: false | undefined;
|
|
338
|
+
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
339
|
+
readonly default?: any;
|
|
340
|
+
readonly dependsOn?: string | readonly string[] | undefined;
|
|
341
|
+
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
342
|
+
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
343
|
+
readonly coerce?: boolean | undefined;
|
|
344
|
+
readonly save?: boolean | undefined;
|
|
345
|
+
readonly onUpdate?: boolean | undefined;
|
|
346
|
+
readonly hidden?: boolean | undefined;
|
|
347
|
+
readonly required?: boolean | "always" | undefined;
|
|
348
|
+
readonly alias?: string | undefined;
|
|
349
|
+
readonly map?: string | undefined;
|
|
350
|
+
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
351
|
+
readonly delimiter?: string | undefined;
|
|
352
|
+
readonly prefix?: string | undefined;
|
|
353
|
+
readonly suffix?: string | undefined;
|
|
354
|
+
}];
|
|
355
|
+
}, {
|
|
356
|
+
[x: string]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
357
|
+
partitionKey?: false | undefined;
|
|
358
|
+
sortKey?: false | undefined;
|
|
359
|
+
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
360
|
+
default?: any;
|
|
361
|
+
dependsOn?: string | string[] | undefined;
|
|
362
|
+
transform?: ((value: any, data: {}) => any) | undefined;
|
|
363
|
+
format?: ((value: any, data: {}) => any) | undefined;
|
|
364
|
+
coerce?: boolean | undefined;
|
|
365
|
+
save?: boolean | undefined;
|
|
366
|
+
onUpdate?: boolean | undefined;
|
|
367
|
+
hidden?: boolean | undefined;
|
|
368
|
+
required?: boolean | "always" | undefined;
|
|
369
|
+
alias?: string | undefined;
|
|
370
|
+
map?: string | undefined;
|
|
371
|
+
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
372
|
+
delimiter?: string | undefined;
|
|
373
|
+
prefix?: string | undefined;
|
|
374
|
+
suffix?: string | undefined;
|
|
375
|
+
} | {
|
|
376
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
377
|
+
default?: any;
|
|
378
|
+
hidden?: boolean | undefined;
|
|
379
|
+
delimiter?: string | undefined;
|
|
380
|
+
prefix?: string | undefined;
|
|
381
|
+
suffix?: string | undefined;
|
|
382
|
+
onUpdate?: boolean | undefined;
|
|
383
|
+
dependsOn?: string | string[] | undefined;
|
|
384
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
385
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
386
|
+
coerce?: boolean | undefined;
|
|
387
|
+
save?: undefined;
|
|
388
|
+
required?: undefined;
|
|
389
|
+
alias?: undefined;
|
|
390
|
+
map?: undefined;
|
|
391
|
+
setType?: undefined;
|
|
392
|
+
partitionKey: true;
|
|
393
|
+
sortKey?: false | undefined;
|
|
394
|
+
} | {
|
|
395
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
396
|
+
default?: any;
|
|
397
|
+
hidden?: boolean | undefined;
|
|
398
|
+
delimiter?: string | undefined;
|
|
399
|
+
prefix?: string | undefined;
|
|
400
|
+
suffix?: string | undefined;
|
|
401
|
+
onUpdate?: boolean | undefined;
|
|
402
|
+
dependsOn?: string | string[] | undefined;
|
|
403
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
404
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
405
|
+
coerce?: boolean | undefined;
|
|
406
|
+
save?: undefined;
|
|
407
|
+
required?: undefined;
|
|
408
|
+
alias?: undefined;
|
|
409
|
+
map?: undefined;
|
|
410
|
+
setType?: undefined;
|
|
411
|
+
sortKey: true;
|
|
412
|
+
partitionKey?: false | undefined;
|
|
413
|
+
} | {
|
|
414
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
415
|
+
default?: any;
|
|
416
|
+
hidden?: boolean | undefined;
|
|
417
|
+
delimiter?: string | undefined;
|
|
418
|
+
prefix?: string | undefined;
|
|
419
|
+
suffix?: string | undefined;
|
|
420
|
+
onUpdate?: boolean | undefined;
|
|
421
|
+
dependsOn?: string | string[] | undefined;
|
|
422
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
423
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
424
|
+
coerce?: boolean | undefined;
|
|
425
|
+
save?: undefined;
|
|
426
|
+
required?: undefined;
|
|
427
|
+
alias?: undefined;
|
|
428
|
+
map?: undefined;
|
|
429
|
+
setType?: undefined;
|
|
430
|
+
partitionKey: string;
|
|
431
|
+
sortKey?: false | undefined;
|
|
432
|
+
} | {
|
|
433
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
434
|
+
default?: any;
|
|
435
|
+
hidden?: boolean | undefined;
|
|
436
|
+
delimiter?: string | undefined;
|
|
437
|
+
prefix?: string | undefined;
|
|
438
|
+
suffix?: string | undefined;
|
|
439
|
+
onUpdate?: boolean | undefined;
|
|
440
|
+
dependsOn?: string | string[] | undefined;
|
|
441
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
442
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
443
|
+
coerce?: boolean | undefined;
|
|
444
|
+
save?: undefined;
|
|
445
|
+
required?: undefined;
|
|
446
|
+
alias?: undefined;
|
|
447
|
+
map?: undefined;
|
|
448
|
+
setType?: undefined;
|
|
449
|
+
partitionKey?: false | undefined;
|
|
450
|
+
sortKey: string;
|
|
451
|
+
} | [string, number, {
|
|
452
|
+
partitionKey?: false | undefined;
|
|
453
|
+
sortKey?: false | undefined;
|
|
454
|
+
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
455
|
+
default?: any;
|
|
456
|
+
dependsOn?: string | string[] | undefined;
|
|
457
|
+
transform?: ((value: any, data: {}) => any) | undefined;
|
|
458
|
+
format?: ((value: any, data: {}) => any) | undefined;
|
|
459
|
+
coerce?: boolean | undefined;
|
|
460
|
+
save?: boolean | undefined;
|
|
461
|
+
onUpdate?: boolean | undefined;
|
|
462
|
+
hidden?: boolean | undefined;
|
|
463
|
+
required?: boolean | "always" | undefined;
|
|
464
|
+
alias?: string | undefined;
|
|
465
|
+
map?: string | undefined;
|
|
466
|
+
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
467
|
+
delimiter?: string | undefined;
|
|
468
|
+
prefix?: string | undefined;
|
|
469
|
+
suffix?: string | undefined;
|
|
470
|
+
}];
|
|
471
|
+
[x: number]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
472
|
+
partitionKey?: false | undefined;
|
|
473
|
+
sortKey?: false | undefined;
|
|
474
|
+
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
475
|
+
default?: any;
|
|
476
|
+
dependsOn?: string | string[] | undefined;
|
|
477
|
+
transform?: ((value: any, data: {}) => any) | undefined;
|
|
478
|
+
format?: ((value: any, data: {}) => any) | undefined;
|
|
479
|
+
coerce?: boolean | undefined;
|
|
480
|
+
save?: boolean | undefined;
|
|
481
|
+
onUpdate?: boolean | undefined;
|
|
482
|
+
hidden?: boolean | undefined;
|
|
483
|
+
required?: boolean | "always" | undefined;
|
|
484
|
+
alias?: string | undefined;
|
|
485
|
+
map?: string | undefined;
|
|
486
|
+
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
487
|
+
delimiter?: string | undefined;
|
|
488
|
+
prefix?: string | undefined;
|
|
489
|
+
suffix?: string | undefined;
|
|
490
|
+
} | {
|
|
491
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
492
|
+
default?: any;
|
|
493
|
+
hidden?: boolean | undefined;
|
|
494
|
+
delimiter?: string | undefined;
|
|
495
|
+
prefix?: string | undefined;
|
|
496
|
+
suffix?: string | undefined;
|
|
497
|
+
onUpdate?: boolean | undefined;
|
|
498
|
+
dependsOn?: string | string[] | undefined;
|
|
499
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
500
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
501
|
+
coerce?: boolean | undefined;
|
|
502
|
+
save?: undefined;
|
|
503
|
+
required?: undefined;
|
|
504
|
+
alias?: undefined;
|
|
505
|
+
map?: undefined;
|
|
506
|
+
setType?: undefined;
|
|
507
|
+
partitionKey: true;
|
|
508
|
+
sortKey?: false | undefined;
|
|
509
|
+
} | {
|
|
510
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
511
|
+
default?: any;
|
|
512
|
+
hidden?: boolean | undefined;
|
|
513
|
+
delimiter?: string | undefined;
|
|
514
|
+
prefix?: string | undefined;
|
|
515
|
+
suffix?: string | undefined;
|
|
516
|
+
onUpdate?: boolean | undefined;
|
|
517
|
+
dependsOn?: string | string[] | undefined;
|
|
518
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
519
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
520
|
+
coerce?: boolean | undefined;
|
|
521
|
+
save?: undefined;
|
|
522
|
+
required?: undefined;
|
|
523
|
+
alias?: undefined;
|
|
524
|
+
map?: undefined;
|
|
525
|
+
setType?: undefined;
|
|
526
|
+
sortKey: true;
|
|
527
|
+
partitionKey?: false | undefined;
|
|
528
|
+
} | {
|
|
529
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
530
|
+
default?: any;
|
|
531
|
+
hidden?: boolean | undefined;
|
|
532
|
+
delimiter?: string | undefined;
|
|
533
|
+
prefix?: string | undefined;
|
|
534
|
+
suffix?: string | undefined;
|
|
535
|
+
onUpdate?: boolean | undefined;
|
|
536
|
+
dependsOn?: string | string[] | undefined;
|
|
537
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
538
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
539
|
+
coerce?: boolean | undefined;
|
|
540
|
+
save?: undefined;
|
|
541
|
+
required?: undefined;
|
|
542
|
+
alias?: undefined;
|
|
543
|
+
map?: undefined;
|
|
544
|
+
setType?: undefined;
|
|
545
|
+
partitionKey: string;
|
|
546
|
+
sortKey?: false | undefined;
|
|
547
|
+
} | {
|
|
548
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
549
|
+
default?: any;
|
|
550
|
+
hidden?: boolean | undefined;
|
|
551
|
+
delimiter?: string | undefined;
|
|
552
|
+
prefix?: string | undefined;
|
|
553
|
+
suffix?: string | undefined;
|
|
554
|
+
onUpdate?: boolean | undefined;
|
|
555
|
+
dependsOn?: string | string[] | undefined;
|
|
556
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
557
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
558
|
+
coerce?: boolean | undefined;
|
|
559
|
+
save?: undefined;
|
|
560
|
+
required?: undefined;
|
|
561
|
+
alias?: undefined;
|
|
562
|
+
map?: undefined;
|
|
563
|
+
setType?: undefined;
|
|
564
|
+
partitionKey?: false | undefined;
|
|
565
|
+
sortKey: string;
|
|
566
|
+
} | [string, number, {
|
|
567
|
+
partitionKey?: false | undefined;
|
|
568
|
+
sortKey?: false | undefined;
|
|
569
|
+
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
570
|
+
default?: any;
|
|
571
|
+
dependsOn?: string | string[] | undefined;
|
|
572
|
+
transform?: ((value: any, data: {}) => any) | undefined;
|
|
573
|
+
format?: ((value: any, data: {}) => any) | undefined;
|
|
574
|
+
coerce?: boolean | undefined;
|
|
575
|
+
save?: boolean | undefined;
|
|
576
|
+
onUpdate?: boolean | undefined;
|
|
577
|
+
hidden?: boolean | undefined;
|
|
578
|
+
required?: boolean | "always" | undefined;
|
|
579
|
+
alias?: string | undefined;
|
|
580
|
+
map?: string | undefined;
|
|
581
|
+
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
582
|
+
delimiter?: string | undefined;
|
|
583
|
+
prefix?: string | undefined;
|
|
584
|
+
suffix?: string | undefined;
|
|
585
|
+
}];
|
|
586
|
+
[x: symbol]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
587
|
+
partitionKey?: false | undefined;
|
|
588
|
+
sortKey?: false | undefined;
|
|
589
|
+
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
590
|
+
default?: any;
|
|
591
|
+
dependsOn?: string | string[] | undefined;
|
|
592
|
+
transform?: ((value: any, data: {}) => any) | undefined;
|
|
593
|
+
format?: ((value: any, data: {}) => any) | undefined;
|
|
594
|
+
coerce?: boolean | undefined;
|
|
595
|
+
save?: boolean | undefined;
|
|
596
|
+
onUpdate?: boolean | undefined;
|
|
597
|
+
hidden?: boolean | undefined;
|
|
598
|
+
required?: boolean | "always" | undefined;
|
|
599
|
+
alias?: string | undefined;
|
|
600
|
+
map?: string | undefined;
|
|
601
|
+
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
602
|
+
delimiter?: string | undefined;
|
|
603
|
+
prefix?: string | undefined;
|
|
604
|
+
suffix?: string | undefined;
|
|
605
|
+
} | {
|
|
606
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
607
|
+
default?: any;
|
|
608
|
+
hidden?: boolean | undefined;
|
|
609
|
+
delimiter?: string | undefined;
|
|
610
|
+
prefix?: string | undefined;
|
|
611
|
+
suffix?: string | undefined;
|
|
612
|
+
onUpdate?: boolean | undefined;
|
|
613
|
+
dependsOn?: string | string[] | undefined;
|
|
614
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
615
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
616
|
+
coerce?: boolean | undefined;
|
|
617
|
+
save?: undefined;
|
|
618
|
+
required?: undefined;
|
|
619
|
+
alias?: undefined;
|
|
620
|
+
map?: undefined;
|
|
621
|
+
setType?: undefined;
|
|
622
|
+
partitionKey: true;
|
|
623
|
+
sortKey?: false | undefined;
|
|
624
|
+
} | {
|
|
625
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
626
|
+
default?: any;
|
|
627
|
+
hidden?: boolean | undefined;
|
|
628
|
+
delimiter?: string | undefined;
|
|
629
|
+
prefix?: string | undefined;
|
|
630
|
+
suffix?: string | undefined;
|
|
631
|
+
onUpdate?: boolean | undefined;
|
|
632
|
+
dependsOn?: string | string[] | undefined;
|
|
633
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
634
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
635
|
+
coerce?: boolean | undefined;
|
|
636
|
+
save?: undefined;
|
|
637
|
+
required?: undefined;
|
|
638
|
+
alias?: undefined;
|
|
639
|
+
map?: undefined;
|
|
640
|
+
setType?: undefined;
|
|
641
|
+
sortKey: true;
|
|
642
|
+
partitionKey?: false | undefined;
|
|
643
|
+
} | {
|
|
644
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
645
|
+
default?: any;
|
|
646
|
+
hidden?: boolean | undefined;
|
|
647
|
+
delimiter?: string | undefined;
|
|
648
|
+
prefix?: string | undefined;
|
|
649
|
+
suffix?: string | undefined;
|
|
650
|
+
onUpdate?: boolean | undefined;
|
|
651
|
+
dependsOn?: string | string[] | undefined;
|
|
652
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
653
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
654
|
+
coerce?: boolean | undefined;
|
|
655
|
+
save?: undefined;
|
|
656
|
+
required?: undefined;
|
|
657
|
+
alias?: undefined;
|
|
658
|
+
map?: undefined;
|
|
659
|
+
setType?: undefined;
|
|
660
|
+
partitionKey: string;
|
|
661
|
+
sortKey?: false | undefined;
|
|
662
|
+
} | {
|
|
663
|
+
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
664
|
+
default?: any;
|
|
665
|
+
hidden?: boolean | undefined;
|
|
666
|
+
delimiter?: string | undefined;
|
|
667
|
+
prefix?: string | undefined;
|
|
668
|
+
suffix?: string | undefined;
|
|
669
|
+
onUpdate?: boolean | undefined;
|
|
670
|
+
dependsOn?: string | string[] | undefined;
|
|
671
|
+
transform?: ((value: any, data: any) => any) | undefined;
|
|
672
|
+
format?: ((value: any, data: any) => any) | undefined;
|
|
673
|
+
coerce?: boolean | undefined;
|
|
674
|
+
save?: undefined;
|
|
675
|
+
required?: undefined;
|
|
676
|
+
alias?: undefined;
|
|
677
|
+
map?: undefined;
|
|
678
|
+
setType?: undefined;
|
|
679
|
+
partitionKey?: false | undefined;
|
|
680
|
+
sortKey: string;
|
|
681
|
+
} | [string, number, {
|
|
682
|
+
partitionKey?: false | undefined;
|
|
683
|
+
sortKey?: false | undefined;
|
|
684
|
+
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
685
|
+
default?: any;
|
|
686
|
+
dependsOn?: string | string[] | undefined;
|
|
687
|
+
transform?: ((value: any, data: {}) => any) | undefined;
|
|
688
|
+
format?: ((value: any, data: {}) => any) | undefined;
|
|
689
|
+
coerce?: boolean | undefined;
|
|
690
|
+
save?: boolean | undefined;
|
|
691
|
+
onUpdate?: boolean | undefined;
|
|
692
|
+
hidden?: boolean | undefined;
|
|
693
|
+
required?: boolean | "always" | undefined;
|
|
694
|
+
alias?: string | undefined;
|
|
695
|
+
map?: string | undefined;
|
|
696
|
+
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
697
|
+
delimiter?: string | undefined;
|
|
698
|
+
prefix?: string | undefined;
|
|
699
|
+
suffix?: string | undefined;
|
|
700
|
+
}];
|
|
701
|
+
}, import("dynamodb-toolbox/dist/cjs/classes/Entity").ParsedAttributes<import("ts-toolbelt/out/Any/Key").Key>, any, {
|
|
702
|
+
[x: string]: any;
|
|
703
|
+
[x: number]: any;
|
|
704
|
+
[x: symbol]: any;
|
|
705
|
+
}, {
|
|
706
|
+
[x: string]: any;
|
|
707
|
+
[x: number]: any;
|
|
708
|
+
[x: symbol]: any;
|
|
709
|
+
}>>;
|
|
710
|
+
export interface IListElasticsearchEntitiesParams {
|
|
711
|
+
context: Pick<Context, "db">;
|
|
712
|
+
}
|
|
713
|
+
export declare const listElasticsearchEntities: (params: IListElasticsearchEntitiesParams) => IRegistryItem<Entity>[];
|