@graphql-mesh/types 0.104.14-alpha-20250922151901-2100ea6ff399fc0053cc422e3cc6ab17fe79be1c → 0.104.14
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/cjs/config-schema.js +18 -37
- package/cjs/config-schema.json +18 -34
- package/esm/config-schema.js +18 -37
- package/esm/config-schema.json +18 -34
- package/package.json +2 -2
- package/typings/config.d.cts +6 -14
- package/typings/config.d.ts +6 -14
package/cjs/config-schema.js
CHANGED
|
@@ -2592,18 +2592,10 @@ exports.jsonSchema = {
|
|
|
2592
2592
|
"invalidations": {
|
|
2593
2593
|
"type": "array",
|
|
2594
2594
|
"items": {
|
|
2595
|
-
"
|
|
2596
|
-
"anyOf": [
|
|
2597
|
-
{
|
|
2598
|
-
"$ref": "#/definitions/LiveQueryInvalidationByMutation"
|
|
2599
|
-
},
|
|
2600
|
-
{
|
|
2601
|
-
"$ref": "#/definitions/LiveQueryInvalidationByPolling"
|
|
2602
|
-
}
|
|
2603
|
-
]
|
|
2595
|
+
"$ref": "#/definitions/LiveQueryInvalidation"
|
|
2604
2596
|
},
|
|
2605
2597
|
"additionalItems": false,
|
|
2606
|
-
"description": "Invalidate a query or queries when a specific operation is done without an error
|
|
2598
|
+
"description": "Invalidate a query or queries when a specific operation is done without an error"
|
|
2607
2599
|
},
|
|
2608
2600
|
"resourceIdentifier": {
|
|
2609
2601
|
"type": "string",
|
|
@@ -2627,10 +2619,10 @@ exports.jsonSchema = {
|
|
|
2627
2619
|
}
|
|
2628
2620
|
}
|
|
2629
2621
|
},
|
|
2630
|
-
"
|
|
2622
|
+
"LiveQueryInvalidation": {
|
|
2631
2623
|
"additionalProperties": false,
|
|
2632
2624
|
"type": "object",
|
|
2633
|
-
"title": "
|
|
2625
|
+
"title": "LiveQueryInvalidation",
|
|
2634
2626
|
"properties": {
|
|
2635
2627
|
"field": {
|
|
2636
2628
|
"type": "string",
|
|
@@ -2649,29 +2641,6 @@ exports.jsonSchema = {
|
|
|
2649
2641
|
"invalidate"
|
|
2650
2642
|
]
|
|
2651
2643
|
},
|
|
2652
|
-
"LiveQueryInvalidationByPolling": {
|
|
2653
|
-
"additionalProperties": false,
|
|
2654
|
-
"type": "object",
|
|
2655
|
-
"title": "LiveQueryInvalidationByPolling",
|
|
2656
|
-
"properties": {
|
|
2657
|
-
"pollingInterval": {
|
|
2658
|
-
"type": "integer",
|
|
2659
|
-
"description": "Polling interval in milliseconds"
|
|
2660
|
-
},
|
|
2661
|
-
"invalidate": {
|
|
2662
|
-
"type": "array",
|
|
2663
|
-
"items": {
|
|
2664
|
-
"type": "string"
|
|
2665
|
-
},
|
|
2666
|
-
"additionalItems": false,
|
|
2667
|
-
"description": "Schema coordinate of the query to be polled"
|
|
2668
|
-
}
|
|
2669
|
-
},
|
|
2670
|
-
"required": [
|
|
2671
|
-
"pollingInterval",
|
|
2672
|
-
"invalidate"
|
|
2673
|
-
]
|
|
2674
|
-
},
|
|
2675
2644
|
"LiveQueryIndexBy": {
|
|
2676
2645
|
"additionalProperties": false,
|
|
2677
2646
|
"type": "object",
|
|
@@ -2750,8 +2719,20 @@ exports.jsonSchema = {
|
|
|
2750
2719
|
"description": "Faker.js expression or function\nRead more (https://github.com/marak/Faker.js/#fakerfake)\nExample:\nfaker: `name.firstName`\nfaker: `{{ name.firstName }} {{ name.lastName }}`"
|
|
2751
2720
|
},
|
|
2752
2721
|
"custom": {
|
|
2753
|
-
"
|
|
2754
|
-
|
|
2722
|
+
"anyOf": [
|
|
2723
|
+
{
|
|
2724
|
+
"type": "object",
|
|
2725
|
+
"additionalProperties": true
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
"type": "string"
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"type": "array",
|
|
2732
|
+
"additionalItems": true
|
|
2733
|
+
}
|
|
2734
|
+
],
|
|
2735
|
+
"description": "Custom mocking\nIt can be a module or json file.\nBoth \"moduleName#exportName\" or only \"moduleName\" would work\n\nYou can also provide a function directly"
|
|
2755
2736
|
},
|
|
2756
2737
|
"length": {
|
|
2757
2738
|
"type": "integer",
|
package/cjs/config-schema.json
CHANGED
|
@@ -2461,18 +2461,10 @@
|
|
|
2461
2461
|
"invalidations": {
|
|
2462
2462
|
"type": "array",
|
|
2463
2463
|
"items": {
|
|
2464
|
-
"
|
|
2465
|
-
"anyOf": [
|
|
2466
|
-
{
|
|
2467
|
-
"$ref": "#/definitions/LiveQueryInvalidationByMutation"
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"$ref": "#/definitions/LiveQueryInvalidationByPolling"
|
|
2471
|
-
}
|
|
2472
|
-
]
|
|
2464
|
+
"$ref": "#/definitions/LiveQueryInvalidation"
|
|
2473
2465
|
},
|
|
2474
2466
|
"additionalItems": false,
|
|
2475
|
-
"description": "Invalidate a query or queries when a specific operation is done without an error
|
|
2467
|
+
"description": "Invalidate a query or queries when a specific operation is done without an error"
|
|
2476
2468
|
},
|
|
2477
2469
|
"resourceIdentifier": {
|
|
2478
2470
|
"type": "string",
|
|
@@ -2496,10 +2488,10 @@
|
|
|
2496
2488
|
}
|
|
2497
2489
|
}
|
|
2498
2490
|
},
|
|
2499
|
-
"
|
|
2491
|
+
"LiveQueryInvalidation": {
|
|
2500
2492
|
"additionalProperties": false,
|
|
2501
2493
|
"type": "object",
|
|
2502
|
-
"title": "
|
|
2494
|
+
"title": "LiveQueryInvalidation",
|
|
2503
2495
|
"properties": {
|
|
2504
2496
|
"field": {
|
|
2505
2497
|
"type": "string",
|
|
@@ -2515,26 +2507,6 @@
|
|
|
2515
2507
|
},
|
|
2516
2508
|
"required": ["field", "invalidate"]
|
|
2517
2509
|
},
|
|
2518
|
-
"LiveQueryInvalidationByPolling": {
|
|
2519
|
-
"additionalProperties": false,
|
|
2520
|
-
"type": "object",
|
|
2521
|
-
"title": "LiveQueryInvalidationByPolling",
|
|
2522
|
-
"properties": {
|
|
2523
|
-
"pollingInterval": {
|
|
2524
|
-
"type": "integer",
|
|
2525
|
-
"description": "Polling interval in milliseconds"
|
|
2526
|
-
},
|
|
2527
|
-
"invalidate": {
|
|
2528
|
-
"type": "array",
|
|
2529
|
-
"items": {
|
|
2530
|
-
"type": "string"
|
|
2531
|
-
},
|
|
2532
|
-
"additionalItems": false,
|
|
2533
|
-
"description": "Schema coordinate of the query to be polled"
|
|
2534
|
-
}
|
|
2535
|
-
},
|
|
2536
|
-
"required": ["pollingInterval", "invalidate"]
|
|
2537
|
-
},
|
|
2538
2510
|
"LiveQueryIndexBy": {
|
|
2539
2511
|
"additionalProperties": false,
|
|
2540
2512
|
"type": "object",
|
|
@@ -2610,8 +2582,20 @@
|
|
|
2610
2582
|
"description": "Faker.js expression or function\nRead more (https://github.com/marak/Faker.js/#fakerfake)\nExample:\nfaker: `name.firstName`\nfaker: `{{ name.firstName }} {{ name.lastName }}`"
|
|
2611
2583
|
},
|
|
2612
2584
|
"custom": {
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2585
|
+
"anyOf": [
|
|
2586
|
+
{
|
|
2587
|
+
"type": "object",
|
|
2588
|
+
"additionalProperties": true
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"type": "string"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"type": "array",
|
|
2595
|
+
"additionalItems": true
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"description": "Custom mocking\nIt can be a module or json file.\nBoth \"moduleName#exportName\" or only \"moduleName\" would work\n\nYou can also provide a function directly"
|
|
2615
2599
|
},
|
|
2616
2600
|
"length": {
|
|
2617
2601
|
"type": "integer",
|
package/esm/config-schema.js
CHANGED
|
@@ -2589,18 +2589,10 @@ export const jsonSchema = {
|
|
|
2589
2589
|
"invalidations": {
|
|
2590
2590
|
"type": "array",
|
|
2591
2591
|
"items": {
|
|
2592
|
-
"
|
|
2593
|
-
"anyOf": [
|
|
2594
|
-
{
|
|
2595
|
-
"$ref": "#/definitions/LiveQueryInvalidationByMutation"
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"$ref": "#/definitions/LiveQueryInvalidationByPolling"
|
|
2599
|
-
}
|
|
2600
|
-
]
|
|
2592
|
+
"$ref": "#/definitions/LiveQueryInvalidation"
|
|
2601
2593
|
},
|
|
2602
2594
|
"additionalItems": false,
|
|
2603
|
-
"description": "Invalidate a query or queries when a specific operation is done without an error
|
|
2595
|
+
"description": "Invalidate a query or queries when a specific operation is done without an error"
|
|
2604
2596
|
},
|
|
2605
2597
|
"resourceIdentifier": {
|
|
2606
2598
|
"type": "string",
|
|
@@ -2624,10 +2616,10 @@ export const jsonSchema = {
|
|
|
2624
2616
|
}
|
|
2625
2617
|
}
|
|
2626
2618
|
},
|
|
2627
|
-
"
|
|
2619
|
+
"LiveQueryInvalidation": {
|
|
2628
2620
|
"additionalProperties": false,
|
|
2629
2621
|
"type": "object",
|
|
2630
|
-
"title": "
|
|
2622
|
+
"title": "LiveQueryInvalidation",
|
|
2631
2623
|
"properties": {
|
|
2632
2624
|
"field": {
|
|
2633
2625
|
"type": "string",
|
|
@@ -2646,29 +2638,6 @@ export const jsonSchema = {
|
|
|
2646
2638
|
"invalidate"
|
|
2647
2639
|
]
|
|
2648
2640
|
},
|
|
2649
|
-
"LiveQueryInvalidationByPolling": {
|
|
2650
|
-
"additionalProperties": false,
|
|
2651
|
-
"type": "object",
|
|
2652
|
-
"title": "LiveQueryInvalidationByPolling",
|
|
2653
|
-
"properties": {
|
|
2654
|
-
"pollingInterval": {
|
|
2655
|
-
"type": "integer",
|
|
2656
|
-
"description": "Polling interval in milliseconds"
|
|
2657
|
-
},
|
|
2658
|
-
"invalidate": {
|
|
2659
|
-
"type": "array",
|
|
2660
|
-
"items": {
|
|
2661
|
-
"type": "string"
|
|
2662
|
-
},
|
|
2663
|
-
"additionalItems": false,
|
|
2664
|
-
"description": "Schema coordinate of the query to be polled"
|
|
2665
|
-
}
|
|
2666
|
-
},
|
|
2667
|
-
"required": [
|
|
2668
|
-
"pollingInterval",
|
|
2669
|
-
"invalidate"
|
|
2670
|
-
]
|
|
2671
|
-
},
|
|
2672
2641
|
"LiveQueryIndexBy": {
|
|
2673
2642
|
"additionalProperties": false,
|
|
2674
2643
|
"type": "object",
|
|
@@ -2747,8 +2716,20 @@ export const jsonSchema = {
|
|
|
2747
2716
|
"description": "Faker.js expression or function\nRead more (https://github.com/marak/Faker.js/#fakerfake)\nExample:\nfaker: `name.firstName`\nfaker: `{{ name.firstName }} {{ name.lastName }}`"
|
|
2748
2717
|
},
|
|
2749
2718
|
"custom": {
|
|
2750
|
-
"
|
|
2751
|
-
|
|
2719
|
+
"anyOf": [
|
|
2720
|
+
{
|
|
2721
|
+
"type": "object",
|
|
2722
|
+
"additionalProperties": true
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"type": "string"
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
"type": "array",
|
|
2729
|
+
"additionalItems": true
|
|
2730
|
+
}
|
|
2731
|
+
],
|
|
2732
|
+
"description": "Custom mocking\nIt can be a module or json file.\nBoth \"moduleName#exportName\" or only \"moduleName\" would work\n\nYou can also provide a function directly"
|
|
2752
2733
|
},
|
|
2753
2734
|
"length": {
|
|
2754
2735
|
"type": "integer",
|
package/esm/config-schema.json
CHANGED
|
@@ -2461,18 +2461,10 @@
|
|
|
2461
2461
|
"invalidations": {
|
|
2462
2462
|
"type": "array",
|
|
2463
2463
|
"items": {
|
|
2464
|
-
"
|
|
2465
|
-
"anyOf": [
|
|
2466
|
-
{
|
|
2467
|
-
"$ref": "#/definitions/LiveQueryInvalidationByMutation"
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"$ref": "#/definitions/LiveQueryInvalidationByPolling"
|
|
2471
|
-
}
|
|
2472
|
-
]
|
|
2464
|
+
"$ref": "#/definitions/LiveQueryInvalidation"
|
|
2473
2465
|
},
|
|
2474
2466
|
"additionalItems": false,
|
|
2475
|
-
"description": "Invalidate a query or queries when a specific operation is done without an error
|
|
2467
|
+
"description": "Invalidate a query or queries when a specific operation is done without an error"
|
|
2476
2468
|
},
|
|
2477
2469
|
"resourceIdentifier": {
|
|
2478
2470
|
"type": "string",
|
|
@@ -2496,10 +2488,10 @@
|
|
|
2496
2488
|
}
|
|
2497
2489
|
}
|
|
2498
2490
|
},
|
|
2499
|
-
"
|
|
2491
|
+
"LiveQueryInvalidation": {
|
|
2500
2492
|
"additionalProperties": false,
|
|
2501
2493
|
"type": "object",
|
|
2502
|
-
"title": "
|
|
2494
|
+
"title": "LiveQueryInvalidation",
|
|
2503
2495
|
"properties": {
|
|
2504
2496
|
"field": {
|
|
2505
2497
|
"type": "string",
|
|
@@ -2515,26 +2507,6 @@
|
|
|
2515
2507
|
},
|
|
2516
2508
|
"required": ["field", "invalidate"]
|
|
2517
2509
|
},
|
|
2518
|
-
"LiveQueryInvalidationByPolling": {
|
|
2519
|
-
"additionalProperties": false,
|
|
2520
|
-
"type": "object",
|
|
2521
|
-
"title": "LiveQueryInvalidationByPolling",
|
|
2522
|
-
"properties": {
|
|
2523
|
-
"pollingInterval": {
|
|
2524
|
-
"type": "integer",
|
|
2525
|
-
"description": "Polling interval in milliseconds"
|
|
2526
|
-
},
|
|
2527
|
-
"invalidate": {
|
|
2528
|
-
"type": "array",
|
|
2529
|
-
"items": {
|
|
2530
|
-
"type": "string"
|
|
2531
|
-
},
|
|
2532
|
-
"additionalItems": false,
|
|
2533
|
-
"description": "Schema coordinate of the query to be polled"
|
|
2534
|
-
}
|
|
2535
|
-
},
|
|
2536
|
-
"required": ["pollingInterval", "invalidate"]
|
|
2537
|
-
},
|
|
2538
2510
|
"LiveQueryIndexBy": {
|
|
2539
2511
|
"additionalProperties": false,
|
|
2540
2512
|
"type": "object",
|
|
@@ -2610,8 +2582,20 @@
|
|
|
2610
2582
|
"description": "Faker.js expression or function\nRead more (https://github.com/marak/Faker.js/#fakerfake)\nExample:\nfaker: `name.firstName`\nfaker: `{{ name.firstName }} {{ name.lastName }}`"
|
|
2611
2583
|
},
|
|
2612
2584
|
"custom": {
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2585
|
+
"anyOf": [
|
|
2586
|
+
{
|
|
2587
|
+
"type": "object",
|
|
2588
|
+
"additionalProperties": true
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"type": "string"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"type": "array",
|
|
2595
|
+
"additionalItems": true
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"description": "Custom mocking\nIt can be a module or json file.\nBoth \"moduleName#exportName\" or only \"moduleName\" would work\n\nYou can also provide a function directly"
|
|
2615
2599
|
},
|
|
2616
2600
|
"length": {
|
|
2617
2601
|
"type": "integer",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/types",
|
|
3
|
-
"version": "0.104.14
|
|
3
|
+
"version": "0.104.14",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "*"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@graphql-hive/pubsub": "next",
|
|
10
|
-
"@graphql-mesh/store": "0.104.14
|
|
10
|
+
"@graphql-mesh/store": "^0.104.14",
|
|
11
11
|
"@graphql-tools/batch-delegate": "^10.0.0",
|
|
12
12
|
"@graphql-tools/delegate": "^11.0.0",
|
|
13
13
|
"@graphql-tools/utils": "^10.8.0",
|
package/typings/config.d.cts
CHANGED
|
@@ -2083,9 +2083,9 @@ export interface HTTPDetailsExtensionsConfig {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
export interface LiveQueryConfig {
|
|
2085
2085
|
/**
|
|
2086
|
-
* Invalidate a query or queries when a specific operation is done without an error
|
|
2086
|
+
* Invalidate a query or queries when a specific operation is done without an error
|
|
2087
2087
|
*/
|
|
2088
|
-
invalidations?:
|
|
2088
|
+
invalidations?: LiveQueryInvalidation[];
|
|
2089
2089
|
/**
|
|
2090
2090
|
* Custom strategy for building resources identifiers
|
|
2091
2091
|
* By default resource identifiers are built by concatenating the Typename with the id separated by a color (`User:1`).
|
|
@@ -2114,23 +2114,13 @@ export interface LiveQueryConfig {
|
|
|
2114
2114
|
*/
|
|
2115
2115
|
indexBy?: LiveQueryIndexBy[];
|
|
2116
2116
|
}
|
|
2117
|
-
export interface
|
|
2117
|
+
export interface LiveQueryInvalidation {
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Path to the operation that could effect it. In a form: Mutation.something. Note that wildcard is not supported in this field.
|
|
2120
2120
|
*/
|
|
2121
2121
|
field: string;
|
|
2122
2122
|
invalidate: string[];
|
|
2123
2123
|
}
|
|
2124
|
-
export interface LiveQueryInvalidationByPolling {
|
|
2125
|
-
/**
|
|
2126
|
-
* Polling interval in milliseconds
|
|
2127
|
-
*/
|
|
2128
|
-
pollingInterval: number;
|
|
2129
|
-
/**
|
|
2130
|
-
* Schema coordinate of the query to be polled
|
|
2131
|
-
*/
|
|
2132
|
-
invalidate: string[];
|
|
2133
|
-
}
|
|
2134
2124
|
export interface LiveQueryIndexBy {
|
|
2135
2125
|
field: string;
|
|
2136
2126
|
args: string[];
|
|
@@ -2181,8 +2171,10 @@ export interface MockingFieldConfig {
|
|
|
2181
2171
|
* Custom mocking
|
|
2182
2172
|
* It can be a module or json file.
|
|
2183
2173
|
* Both "moduleName#exportName" or only "moduleName" would work
|
|
2174
|
+
*
|
|
2175
|
+
* You can also provide a function directly
|
|
2184
2176
|
*/
|
|
2185
|
-
custom?:
|
|
2177
|
+
custom?: any;
|
|
2186
2178
|
/**
|
|
2187
2179
|
* Length of the mock list
|
|
2188
2180
|
* For the list types `[ObjectType]`, how many `ObjectType` you want to return?
|
package/typings/config.d.ts
CHANGED
|
@@ -2083,9 +2083,9 @@ export interface HTTPDetailsExtensionsConfig {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
export interface LiveQueryConfig {
|
|
2085
2085
|
/**
|
|
2086
|
-
* Invalidate a query or queries when a specific operation is done without an error
|
|
2086
|
+
* Invalidate a query or queries when a specific operation is done without an error
|
|
2087
2087
|
*/
|
|
2088
|
-
invalidations?:
|
|
2088
|
+
invalidations?: LiveQueryInvalidation[];
|
|
2089
2089
|
/**
|
|
2090
2090
|
* Custom strategy for building resources identifiers
|
|
2091
2091
|
* By default resource identifiers are built by concatenating the Typename with the id separated by a color (`User:1`).
|
|
@@ -2114,23 +2114,13 @@ export interface LiveQueryConfig {
|
|
|
2114
2114
|
*/
|
|
2115
2115
|
indexBy?: LiveQueryIndexBy[];
|
|
2116
2116
|
}
|
|
2117
|
-
export interface
|
|
2117
|
+
export interface LiveQueryInvalidation {
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Path to the operation that could effect it. In a form: Mutation.something. Note that wildcard is not supported in this field.
|
|
2120
2120
|
*/
|
|
2121
2121
|
field: string;
|
|
2122
2122
|
invalidate: string[];
|
|
2123
2123
|
}
|
|
2124
|
-
export interface LiveQueryInvalidationByPolling {
|
|
2125
|
-
/**
|
|
2126
|
-
* Polling interval in milliseconds
|
|
2127
|
-
*/
|
|
2128
|
-
pollingInterval: number;
|
|
2129
|
-
/**
|
|
2130
|
-
* Schema coordinate of the query to be polled
|
|
2131
|
-
*/
|
|
2132
|
-
invalidate: string[];
|
|
2133
|
-
}
|
|
2134
2124
|
export interface LiveQueryIndexBy {
|
|
2135
2125
|
field: string;
|
|
2136
2126
|
args: string[];
|
|
@@ -2181,8 +2171,10 @@ export interface MockingFieldConfig {
|
|
|
2181
2171
|
* Custom mocking
|
|
2182
2172
|
* It can be a module or json file.
|
|
2183
2173
|
* Both "moduleName#exportName" or only "moduleName" would work
|
|
2174
|
+
*
|
|
2175
|
+
* You can also provide a function directly
|
|
2184
2176
|
*/
|
|
2185
|
-
custom?:
|
|
2177
|
+
custom?: any;
|
|
2186
2178
|
/**
|
|
2187
2179
|
* Length of the mock list
|
|
2188
2180
|
* For the list types `[ObjectType]`, how many `ObjectType` you want to return?
|