@webiny/api-elasticsearch-tasks 6.0.0-alpha.1 → 6.0.0-alpha.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-elasticsearch-tasks",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.3",
|
|
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": "6.0.0-alpha.
|
|
16
|
-
"@webiny/api-dynamodb-to-elasticsearch": "6.0.0-alpha.
|
|
17
|
-
"@webiny/api-elasticsearch": "6.0.0-alpha.
|
|
18
|
-
"@webiny/api-i18n": "6.0.0-alpha.
|
|
19
|
-
"@webiny/api-log": "6.0.0-alpha.
|
|
20
|
-
"@webiny/api-security": "6.0.0-alpha.
|
|
21
|
-
"@webiny/api-tenancy": "6.0.0-alpha.
|
|
22
|
-
"@webiny/aws-sdk": "6.0.0-alpha.
|
|
23
|
-
"@webiny/db": "6.0.0-alpha.
|
|
24
|
-
"@webiny/db-dynamodb": "6.0.0-alpha.
|
|
25
|
-
"@webiny/error": "6.0.0-alpha.
|
|
26
|
-
"@webiny/plugins": "6.0.0-alpha.
|
|
27
|
-
"@webiny/tasks": "6.0.0-alpha.
|
|
28
|
-
"@webiny/utils": "6.0.0-alpha.
|
|
15
|
+
"@webiny/api": "6.0.0-alpha.3",
|
|
16
|
+
"@webiny/api-dynamodb-to-elasticsearch": "6.0.0-alpha.3",
|
|
17
|
+
"@webiny/api-elasticsearch": "6.0.0-alpha.3",
|
|
18
|
+
"@webiny/api-i18n": "6.0.0-alpha.3",
|
|
19
|
+
"@webiny/api-log": "6.0.0-alpha.3",
|
|
20
|
+
"@webiny/api-security": "6.0.0-alpha.3",
|
|
21
|
+
"@webiny/api-tenancy": "6.0.0-alpha.3",
|
|
22
|
+
"@webiny/aws-sdk": "6.0.0-alpha.3",
|
|
23
|
+
"@webiny/db": "6.0.0-alpha.3",
|
|
24
|
+
"@webiny/db-dynamodb": "6.0.0-alpha.3",
|
|
25
|
+
"@webiny/error": "6.0.0-alpha.3",
|
|
26
|
+
"@webiny/plugins": "6.0.0-alpha.3",
|
|
27
|
+
"@webiny/tasks": "6.0.0-alpha.3",
|
|
28
|
+
"@webiny/utils": "6.0.0-alpha.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@webiny/api": "0.0.0",
|
|
32
|
-
"@webiny/api-headless-cms": "6.0.0-alpha.
|
|
33
|
-
"@webiny/api-wcp": "6.0.0-alpha.
|
|
34
|
-
"@webiny/handler": "6.0.0-alpha.
|
|
35
|
-
"@webiny/handler-aws": "6.0.0-alpha.
|
|
36
|
-
"@webiny/handler-db": "6.0.0-alpha.
|
|
37
|
-
"@webiny/handler-graphql": "6.0.0-alpha.
|
|
38
|
-
"@webiny/project-utils": "6.0.0-alpha.
|
|
32
|
+
"@webiny/api-headless-cms": "6.0.0-alpha.3",
|
|
33
|
+
"@webiny/api-wcp": "6.0.0-alpha.3",
|
|
34
|
+
"@webiny/handler": "6.0.0-alpha.3",
|
|
35
|
+
"@webiny/handler-aws": "6.0.0-alpha.3",
|
|
36
|
+
"@webiny/handler-db": "6.0.0-alpha.3",
|
|
37
|
+
"@webiny/handler-graphql": "6.0.0-alpha.3",
|
|
38
|
+
"@webiny/project-utils": "6.0.0-alpha.3",
|
|
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": "8b6c57b56947ee57acf428f703bc1b8c35617a95",
|
|
52
52
|
"adio": {
|
|
53
53
|
"ignore": {
|
|
54
54
|
"src": [
|
|
@@ -8,25 +8,6 @@ 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
|
-
} | {
|
|
30
11
|
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
31
12
|
readonly default?: any;
|
|
32
13
|
readonly hidden?: boolean | undefined;
|
|
@@ -102,7 +83,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
102
83
|
readonly setType?: undefined;
|
|
103
84
|
readonly partitionKey?: false | undefined;
|
|
104
85
|
readonly sortKey: string;
|
|
105
|
-
} |
|
|
86
|
+
} | {
|
|
106
87
|
readonly partitionKey?: false | undefined;
|
|
107
88
|
readonly sortKey?: false | undefined;
|
|
108
89
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -121,8 +102,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
121
102
|
readonly delimiter?: string | undefined;
|
|
122
103
|
readonly prefix?: string | undefined;
|
|
123
104
|
readonly suffix?: string | undefined;
|
|
124
|
-
}]
|
|
125
|
-
readonly [x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
105
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
126
106
|
readonly partitionKey?: false | undefined;
|
|
127
107
|
readonly sortKey?: false | undefined;
|
|
128
108
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -141,7 +121,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
141
121
|
readonly delimiter?: string | undefined;
|
|
142
122
|
readonly prefix?: string | undefined;
|
|
143
123
|
readonly suffix?: string | undefined;
|
|
144
|
-
}
|
|
124
|
+
}];
|
|
125
|
+
readonly [x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
145
126
|
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
146
127
|
readonly default?: any;
|
|
147
128
|
readonly hidden?: boolean | undefined;
|
|
@@ -217,7 +198,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
217
198
|
readonly setType?: undefined;
|
|
218
199
|
readonly partitionKey?: false | undefined;
|
|
219
200
|
readonly sortKey: string;
|
|
220
|
-
} |
|
|
201
|
+
} | {
|
|
221
202
|
readonly partitionKey?: false | undefined;
|
|
222
203
|
readonly sortKey?: false | undefined;
|
|
223
204
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -236,8 +217,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
236
217
|
readonly delimiter?: string | undefined;
|
|
237
218
|
readonly prefix?: string | undefined;
|
|
238
219
|
readonly suffix?: string | undefined;
|
|
239
|
-
}]
|
|
240
|
-
readonly [x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
220
|
+
} | readonly [string, number] | readonly [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | readonly [string, number, {
|
|
241
221
|
readonly partitionKey?: false | undefined;
|
|
242
222
|
readonly sortKey?: false | undefined;
|
|
243
223
|
readonly type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -256,7 +236,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
256
236
|
readonly delimiter?: string | undefined;
|
|
257
237
|
readonly prefix?: string | undefined;
|
|
258
238
|
readonly suffix?: string | undefined;
|
|
259
|
-
}
|
|
239
|
+
}];
|
|
240
|
+
readonly [x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | {
|
|
260
241
|
readonly type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
261
242
|
readonly default?: any;
|
|
262
243
|
readonly hidden?: boolean | undefined;
|
|
@@ -332,6 +313,25 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
332
313
|
readonly setType?: undefined;
|
|
333
314
|
readonly partitionKey?: false | undefined;
|
|
334
315
|
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,26 +353,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
353
353
|
readonly suffix?: string | undefined;
|
|
354
354
|
}];
|
|
355
355
|
}, {
|
|
356
|
-
[x: string]:
|
|
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
|
-
} | {
|
|
356
|
+
[x: string]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number] | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
376
357
|
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
377
358
|
default?: any;
|
|
378
359
|
hidden?: boolean | undefined;
|
|
@@ -448,7 +429,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
448
429
|
setType?: undefined;
|
|
449
430
|
partitionKey?: false | undefined;
|
|
450
431
|
sortKey: string;
|
|
451
|
-
} |
|
|
432
|
+
} | {
|
|
452
433
|
partitionKey?: false | undefined;
|
|
453
434
|
sortKey?: false | undefined;
|
|
454
435
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -467,8 +448,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
467
448
|
delimiter?: string | undefined;
|
|
468
449
|
prefix?: string | undefined;
|
|
469
450
|
suffix?: string | undefined;
|
|
470
|
-
}
|
|
471
|
-
[x: number]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
451
|
+
} | [string, number, {
|
|
472
452
|
partitionKey?: false | undefined;
|
|
473
453
|
sortKey?: false | undefined;
|
|
474
454
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -487,7 +467,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
487
467
|
delimiter?: string | undefined;
|
|
488
468
|
prefix?: string | undefined;
|
|
489
469
|
suffix?: string | undefined;
|
|
490
|
-
}
|
|
470
|
+
}];
|
|
471
|
+
[x: number]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number] | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
491
472
|
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
492
473
|
default?: any;
|
|
493
474
|
hidden?: boolean | undefined;
|
|
@@ -563,7 +544,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
563
544
|
setType?: undefined;
|
|
564
545
|
partitionKey?: false | undefined;
|
|
565
546
|
sortKey: string;
|
|
566
|
-
} |
|
|
547
|
+
} | {
|
|
567
548
|
partitionKey?: false | undefined;
|
|
568
549
|
sortKey?: false | undefined;
|
|
569
550
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -582,8 +563,7 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
582
563
|
delimiter?: string | undefined;
|
|
583
564
|
prefix?: string | undefined;
|
|
584
565
|
suffix?: string | undefined;
|
|
585
|
-
}
|
|
586
|
-
[x: symbol]: [string, number] | import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
566
|
+
} | [string, number, {
|
|
587
567
|
partitionKey?: false | undefined;
|
|
588
568
|
sortKey?: false | undefined;
|
|
589
569
|
type?: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | undefined;
|
|
@@ -602,7 +582,8 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
602
582
|
delimiter?: string | undefined;
|
|
603
583
|
prefix?: string | undefined;
|
|
604
584
|
suffix?: string | undefined;
|
|
605
|
-
}
|
|
585
|
+
}];
|
|
586
|
+
[x: symbol]: import("@webiny/db-dynamodb/toolbox").DynamoDBTypes | [string, number] | [string, number, import("@webiny/db-dynamodb/toolbox").DynamoDBTypes] | {
|
|
606
587
|
type?: "string" | "number" | "bigint" | "binary" | undefined;
|
|
607
588
|
default?: any;
|
|
608
589
|
hidden?: boolean | undefined;
|
|
@@ -678,6 +659,25 @@ export declare const getElasticsearchEntity: (params: IGetElasticsearchEntityPar
|
|
|
678
659
|
setType?: undefined;
|
|
679
660
|
partitionKey?: false | undefined;
|
|
680
661
|
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;
|