@webiny/api-elasticsearch-tasks 5.43.2 → 6.0.0-alpha.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-elasticsearch-tasks",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-alpha.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,30 +12,30 @@
|
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@webiny/api": "
|
|
16
|
-
"@webiny/api-dynamodb-to-elasticsearch": "
|
|
17
|
-
"@webiny/api-elasticsearch": "
|
|
18
|
-
"@webiny/api-i18n": "
|
|
19
|
-
"@webiny/api-log": "
|
|
20
|
-
"@webiny/api-security": "
|
|
21
|
-
"@webiny/api-tenancy": "
|
|
22
|
-
"@webiny/aws-sdk": "
|
|
23
|
-
"@webiny/db": "
|
|
24
|
-
"@webiny/db-dynamodb": "
|
|
25
|
-
"@webiny/error": "
|
|
26
|
-
"@webiny/plugins": "
|
|
27
|
-
"@webiny/tasks": "
|
|
28
|
-
"@webiny/utils": "
|
|
15
|
+
"@webiny/api": "6.0.0-alpha.0",
|
|
16
|
+
"@webiny/api-dynamodb-to-elasticsearch": "6.0.0-alpha.0",
|
|
17
|
+
"@webiny/api-elasticsearch": "6.0.0-alpha.0",
|
|
18
|
+
"@webiny/api-i18n": "6.0.0-alpha.0",
|
|
19
|
+
"@webiny/api-log": "6.0.0-alpha.0",
|
|
20
|
+
"@webiny/api-security": "6.0.0-alpha.0",
|
|
21
|
+
"@webiny/api-tenancy": "6.0.0-alpha.0",
|
|
22
|
+
"@webiny/aws-sdk": "6.0.0-alpha.0",
|
|
23
|
+
"@webiny/db": "6.0.0-alpha.0",
|
|
24
|
+
"@webiny/db-dynamodb": "6.0.0-alpha.0",
|
|
25
|
+
"@webiny/error": "6.0.0-alpha.0",
|
|
26
|
+
"@webiny/plugins": "6.0.0-alpha.0",
|
|
27
|
+
"@webiny/tasks": "6.0.0-alpha.0",
|
|
28
|
+
"@webiny/utils": "6.0.0-alpha.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@webiny/api": "0.0.0",
|
|
32
|
-
"@webiny/api-headless-cms": "
|
|
33
|
-
"@webiny/api-wcp": "
|
|
34
|
-
"@webiny/handler": "
|
|
35
|
-
"@webiny/handler-aws": "
|
|
36
|
-
"@webiny/handler-db": "
|
|
37
|
-
"@webiny/handler-graphql": "
|
|
38
|
-
"@webiny/project-utils": "
|
|
32
|
+
"@webiny/api-headless-cms": "6.0.0-alpha.0",
|
|
33
|
+
"@webiny/api-wcp": "6.0.0-alpha.0",
|
|
34
|
+
"@webiny/handler": "6.0.0-alpha.0",
|
|
35
|
+
"@webiny/handler-aws": "6.0.0-alpha.0",
|
|
36
|
+
"@webiny/handler-db": "6.0.0-alpha.0",
|
|
37
|
+
"@webiny/handler-graphql": "6.0.0-alpha.0",
|
|
38
|
+
"@webiny/project-utils": "6.0.0-alpha.0",
|
|
39
39
|
"rimraf": "6.0.1",
|
|
40
40
|
"type-fest": "4.14.0",
|
|
41
41
|
"typescript": "5.3.3"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"build": "node ../cli/bin.js run build",
|
|
49
49
|
"watch": "node ../cli/bin.js run watch"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a5b28fed7a242d8f56712197a8ea83aa6d2ed101",
|
|
52
52
|
"adio": {
|
|
53
53
|
"ignore": {
|
|
54
54
|
"src": [
|
|
@@ -8,6 +8,25 @@ export interface IGetElasticsearchEntityParams {
|
|
|
8
8
|
}
|
|
9
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
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
|
+
} | {
|
|
11
30
|
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
12
31
|
readonly default?: any;
|
|
13
32
|
readonly hidden?: boolean | undefined;
|
|
@@ -83,7 +102,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
83
102
|
readonly setType?: undefined;
|
|
84
103
|
readonly partitionKey?: false | undefined;
|
|
85
104
|
readonly sortKey: string;
|
|
86
|
-
} | {
|
|
105
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
87
106
|
readonly partitionKey?: false | undefined;
|
|
88
107
|
readonly sortKey?: false | undefined;
|
|
89
108
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -102,7 +121,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
102
121
|
readonly delimiter?: string | undefined;
|
|
103
122
|
readonly prefix?: string | undefined;
|
|
104
123
|
readonly suffix?: string | undefined;
|
|
105
|
-
}
|
|
124
|
+
}];
|
|
125
|
+
readonly [x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
106
126
|
readonly partitionKey?: false | undefined;
|
|
107
127
|
readonly sortKey?: false | undefined;
|
|
108
128
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -121,8 +141,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
121
141
|
readonly delimiter?: string | undefined;
|
|
122
142
|
readonly prefix?: string | undefined;
|
|
123
143
|
readonly suffix?: string | undefined;
|
|
124
|
-
}
|
|
125
|
-
readonly [x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
144
|
+
} | {
|
|
126
145
|
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
127
146
|
readonly default?: any;
|
|
128
147
|
readonly hidden?: boolean | undefined;
|
|
@@ -198,7 +217,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
198
217
|
readonly setType?: undefined;
|
|
199
218
|
readonly partitionKey?: false | undefined;
|
|
200
219
|
readonly sortKey: string;
|
|
201
|
-
} | {
|
|
220
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
202
221
|
readonly partitionKey?: false | undefined;
|
|
203
222
|
readonly sortKey?: false | undefined;
|
|
204
223
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -217,7 +236,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
217
236
|
readonly delimiter?: string | undefined;
|
|
218
237
|
readonly prefix?: string | undefined;
|
|
219
238
|
readonly suffix?: string | undefined;
|
|
220
|
-
}
|
|
239
|
+
}];
|
|
240
|
+
readonly [x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
221
241
|
readonly partitionKey?: false | undefined;
|
|
222
242
|
readonly sortKey?: false | undefined;
|
|
223
243
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -236,8 +256,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
236
256
|
readonly delimiter?: string | undefined;
|
|
237
257
|
readonly prefix?: string | undefined;
|
|
238
258
|
readonly suffix?: string | undefined;
|
|
239
|
-
}
|
|
240
|
-
readonly [x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
259
|
+
} | {
|
|
241
260
|
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
242
261
|
readonly default?: any;
|
|
243
262
|
readonly hidden?: boolean | undefined;
|
|
@@ -313,25 +332,6 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
313
332
|
readonly setType?: undefined;
|
|
314
333
|
readonly partitionKey?: false | undefined;
|
|
315
334
|
readonly sortKey: string;
|
|
316
|
-
} | {
|
|
317
|
-
readonly partitionKey?: false | undefined;
|
|
318
|
-
readonly sortKey?: false | undefined;
|
|
319
|
-
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
320
|
-
readonly default?: any;
|
|
321
|
-
readonly dependsOn?: string | readonly string[] | undefined;
|
|
322
|
-
readonly transform?: ((value: any, data: {}) => any) | undefined;
|
|
323
|
-
readonly format?: ((value: any, data: {}) => any) | undefined;
|
|
324
|
-
readonly coerce?: boolean | undefined;
|
|
325
|
-
readonly save?: boolean | undefined;
|
|
326
|
-
readonly onUpdate?: boolean | undefined;
|
|
327
|
-
readonly hidden?: boolean | undefined;
|
|
328
|
-
readonly required?: boolean | "always" | undefined;
|
|
329
|
-
readonly alias?: string | undefined;
|
|
330
|
-
readonly map?: string | undefined;
|
|
331
|
-
readonly setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
332
|
-
readonly delimiter?: string | undefined;
|
|
333
|
-
readonly prefix?: string | undefined;
|
|
334
|
-
readonly suffix?: string | undefined;
|
|
335
335
|
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
336
336
|
readonly partitionKey?: false | undefined;
|
|
337
337
|
readonly sortKey?: false | undefined;
|
|
@@ -353,7 +353,26 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
353
353
|
readonly suffix?: string | undefined;
|
|
354
354
|
}];
|
|
355
355
|
}, {
|
|
356
|
-
[x: string]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number
|
|
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
|
+
} | {
|
|
357
376
|
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
358
377
|
default?: any;
|
|
359
378
|
hidden?: boolean | undefined;
|
|
@@ -429,7 +448,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
429
448
|
setType?: undefined;
|
|
430
449
|
partitionKey?: false | undefined;
|
|
431
450
|
sortKey: string;
|
|
432
|
-
} | {
|
|
451
|
+
} | [string, number, {
|
|
433
452
|
partitionKey?: false | undefined;
|
|
434
453
|
sortKey?: false | undefined;
|
|
435
454
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -448,7 +467,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
448
467
|
delimiter?: string | undefined;
|
|
449
468
|
prefix?: string | undefined;
|
|
450
469
|
suffix?: string | undefined;
|
|
451
|
-
}
|
|
470
|
+
}];
|
|
471
|
+
[x: number]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
452
472
|
partitionKey?: false | undefined;
|
|
453
473
|
sortKey?: false | undefined;
|
|
454
474
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -467,8 +487,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
467
487
|
delimiter?: string | undefined;
|
|
468
488
|
prefix?: string | undefined;
|
|
469
489
|
suffix?: string | undefined;
|
|
470
|
-
}
|
|
471
|
-
[x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number] | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
490
|
+
} | {
|
|
472
491
|
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
473
492
|
default?: any;
|
|
474
493
|
hidden?: boolean | undefined;
|
|
@@ -544,7 +563,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
544
563
|
setType?: undefined;
|
|
545
564
|
partitionKey?: false | undefined;
|
|
546
565
|
sortKey: string;
|
|
547
|
-
} | {
|
|
566
|
+
} | [string, number, {
|
|
548
567
|
partitionKey?: false | undefined;
|
|
549
568
|
sortKey?: false | undefined;
|
|
550
569
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -563,7 +582,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
563
582
|
delimiter?: string | undefined;
|
|
564
583
|
prefix?: string | undefined;
|
|
565
584
|
suffix?: string | undefined;
|
|
566
|
-
}
|
|
585
|
+
}];
|
|
586
|
+
[x: symbol]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
567
587
|
partitionKey?: false | undefined;
|
|
568
588
|
sortKey?: false | undefined;
|
|
569
589
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -582,8 +602,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
582
602
|
delimiter?: string | undefined;
|
|
583
603
|
prefix?: string | undefined;
|
|
584
604
|
suffix?: string | undefined;
|
|
585
|
-
}
|
|
586
|
-
[x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number] | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
605
|
+
} | {
|
|
587
606
|
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
588
607
|
default?: any;
|
|
589
608
|
hidden?: boolean | undefined;
|
|
@@ -659,25 +678,6 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
659
678
|
setType?: undefined;
|
|
660
679
|
partitionKey?: false | undefined;
|
|
661
680
|
sortKey: string;
|
|
662
|
-
} | {
|
|
663
|
-
partitionKey?: false | undefined;
|
|
664
|
-
sortKey?: false | undefined;
|
|
665
|
-
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
666
|
-
default?: any;
|
|
667
|
-
dependsOn?: string | string[] | undefined;
|
|
668
|
-
transform?: ((value: any, data: {}) => any) | undefined;
|
|
669
|
-
format?: ((value: any, data: {}) => any) | undefined;
|
|
670
|
-
coerce?: boolean | undefined;
|
|
671
|
-
save?: boolean | undefined;
|
|
672
|
-
onUpdate?: boolean | undefined;
|
|
673
|
-
hidden?: boolean | undefined;
|
|
674
|
-
required?: boolean | "always" | undefined;
|
|
675
|
-
alias?: string | undefined;
|
|
676
|
-
map?: string | undefined;
|
|
677
|
-
setType?: import("dynamodb-toolbox/dist/cjs/classes/Table").DynamoDBKeyTypes | undefined;
|
|
678
|
-
delimiter?: string | undefined;
|
|
679
|
-
prefix?: string | undefined;
|
|
680
|
-
suffix?: string | undefined;
|
|
681
681
|
} | [string, number, {
|
|
682
682
|
partitionKey?: false | undefined;
|
|
683
683
|
sortKey?: false | undefined;
|