@graphql-mesh/types 0.89.6-alpha-20230207124039-e1ab926b9 → 0.90.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.
@@ -2320,53 +2320,148 @@ exports.jsonSchema = {
2320
2320
  title: 'PrometheusConfig',
2321
2321
  properties: {
2322
2322
  requestCount: {
2323
- type: 'boolean',
2323
+ description: 'Any of: Boolean, String',
2324
+ anyOf: [
2325
+ {
2326
+ type: 'boolean',
2327
+ },
2328
+ {
2329
+ type: 'string',
2330
+ },
2331
+ ],
2324
2332
  },
2325
2333
  requestTotalDuration: {
2326
- type: 'boolean',
2334
+ description: 'Any of: Boolean, String',
2335
+ anyOf: [
2336
+ {
2337
+ type: 'boolean',
2338
+ },
2339
+ {
2340
+ type: 'string',
2341
+ },
2342
+ ],
2327
2343
  },
2328
2344
  requestSummary: {
2329
- type: 'boolean',
2345
+ description: 'Any of: Boolean, String',
2346
+ anyOf: [
2347
+ {
2348
+ type: 'boolean',
2349
+ },
2350
+ {
2351
+ type: 'string',
2352
+ },
2353
+ ],
2330
2354
  },
2331
2355
  parse: {
2332
- type: 'boolean',
2356
+ description: 'Any of: Boolean, String',
2357
+ anyOf: [
2358
+ {
2359
+ type: 'boolean',
2360
+ },
2361
+ {
2362
+ type: 'string',
2363
+ },
2364
+ ],
2333
2365
  },
2334
2366
  validate: {
2335
- type: 'boolean',
2367
+ description: 'Any of: Boolean, String',
2368
+ anyOf: [
2369
+ {
2370
+ type: 'boolean',
2371
+ },
2372
+ {
2373
+ type: 'string',
2374
+ },
2375
+ ],
2336
2376
  },
2337
2377
  contextBuilding: {
2338
- type: 'boolean',
2378
+ description: 'Any of: Boolean, String',
2379
+ anyOf: [
2380
+ {
2381
+ type: 'boolean',
2382
+ },
2383
+ {
2384
+ type: 'string',
2385
+ },
2386
+ ],
2339
2387
  },
2340
2388
  execute: {
2341
- type: 'boolean',
2389
+ description: 'Any of: Boolean, String',
2390
+ anyOf: [
2391
+ {
2392
+ type: 'boolean',
2393
+ },
2394
+ {
2395
+ type: 'string',
2396
+ },
2397
+ ],
2342
2398
  },
2343
2399
  errors: {
2344
- type: 'boolean',
2345
- },
2346
- resolvers: {
2347
- type: 'boolean',
2348
- },
2349
- resolversWhiteList: {
2350
- type: 'array',
2351
- items: {
2352
- type: 'string',
2353
- },
2354
- additionalItems: false,
2400
+ description: 'Any of: Boolean, String',
2401
+ anyOf: [
2402
+ {
2403
+ type: 'boolean',
2404
+ },
2405
+ {
2406
+ type: 'string',
2407
+ },
2408
+ ],
2355
2409
  },
2356
2410
  deprecatedFields: {
2411
+ description: 'Any of: Boolean, String',
2412
+ anyOf: [
2413
+ {
2414
+ type: 'boolean',
2415
+ },
2416
+ {
2417
+ type: 'string',
2418
+ },
2419
+ ],
2420
+ },
2421
+ skipIntrospection: {
2357
2422
  type: 'boolean',
2358
2423
  },
2424
+ registry: {
2425
+ type: 'string',
2426
+ },
2359
2427
  delegation: {
2360
- type: 'boolean',
2428
+ description: 'Any of: Boolean, String',
2429
+ anyOf: [
2430
+ {
2431
+ type: 'boolean',
2432
+ },
2433
+ {
2434
+ type: 'string',
2435
+ },
2436
+ ],
2361
2437
  },
2362
2438
  fetch: {
2363
- type: 'boolean',
2439
+ description: 'Any of: Boolean, String',
2440
+ anyOf: [
2441
+ {
2442
+ type: 'boolean',
2443
+ },
2444
+ {
2445
+ type: 'string',
2446
+ },
2447
+ ],
2364
2448
  },
2365
- skipIntrospection: {
2449
+ fetchRequestHeaders: {
2366
2450
  type: 'boolean',
2367
2451
  },
2368
- registry: {
2369
- type: 'string',
2452
+ http: {
2453
+ description: 'Any of: Boolean, String',
2454
+ anyOf: [
2455
+ {
2456
+ type: 'boolean',
2457
+ },
2458
+ {
2459
+ type: 'string',
2460
+ },
2461
+ ],
2462
+ },
2463
+ httpRequestHeaders: {
2464
+ type: 'boolean',
2370
2465
  },
2371
2466
  endpoint: {
2372
2467
  type: 'string',
@@ -2317,53 +2317,148 @@
2317
2317
  "title": "PrometheusConfig",
2318
2318
  "properties": {
2319
2319
  "requestCount": {
2320
- "type": "boolean"
2320
+ "description": "Any of: Boolean, String",
2321
+ "anyOf": [
2322
+ {
2323
+ "type": "boolean"
2324
+ },
2325
+ {
2326
+ "type": "string"
2327
+ }
2328
+ ]
2321
2329
  },
2322
2330
  "requestTotalDuration": {
2323
- "type": "boolean"
2331
+ "description": "Any of: Boolean, String",
2332
+ "anyOf": [
2333
+ {
2334
+ "type": "boolean"
2335
+ },
2336
+ {
2337
+ "type": "string"
2338
+ }
2339
+ ]
2324
2340
  },
2325
2341
  "requestSummary": {
2326
- "type": "boolean"
2342
+ "description": "Any of: Boolean, String",
2343
+ "anyOf": [
2344
+ {
2345
+ "type": "boolean"
2346
+ },
2347
+ {
2348
+ "type": "string"
2349
+ }
2350
+ ]
2327
2351
  },
2328
2352
  "parse": {
2329
- "type": "boolean"
2353
+ "description": "Any of: Boolean, String",
2354
+ "anyOf": [
2355
+ {
2356
+ "type": "boolean"
2357
+ },
2358
+ {
2359
+ "type": "string"
2360
+ }
2361
+ ]
2330
2362
  },
2331
2363
  "validate": {
2332
- "type": "boolean"
2364
+ "description": "Any of: Boolean, String",
2365
+ "anyOf": [
2366
+ {
2367
+ "type": "boolean"
2368
+ },
2369
+ {
2370
+ "type": "string"
2371
+ }
2372
+ ]
2333
2373
  },
2334
2374
  "contextBuilding": {
2335
- "type": "boolean"
2375
+ "description": "Any of: Boolean, String",
2376
+ "anyOf": [
2377
+ {
2378
+ "type": "boolean"
2379
+ },
2380
+ {
2381
+ "type": "string"
2382
+ }
2383
+ ]
2336
2384
  },
2337
2385
  "execute": {
2338
- "type": "boolean"
2386
+ "description": "Any of: Boolean, String",
2387
+ "anyOf": [
2388
+ {
2389
+ "type": "boolean"
2390
+ },
2391
+ {
2392
+ "type": "string"
2393
+ }
2394
+ ]
2339
2395
  },
2340
2396
  "errors": {
2341
- "type": "boolean"
2342
- },
2343
- "resolvers": {
2344
- "type": "boolean"
2345
- },
2346
- "resolversWhiteList": {
2347
- "type": "array",
2348
- "items": {
2349
- "type": "string"
2350
- },
2351
- "additionalItems": false
2397
+ "description": "Any of: Boolean, String",
2398
+ "anyOf": [
2399
+ {
2400
+ "type": "boolean"
2401
+ },
2402
+ {
2403
+ "type": "string"
2404
+ }
2405
+ ]
2352
2406
  },
2353
2407
  "deprecatedFields": {
2408
+ "description": "Any of: Boolean, String",
2409
+ "anyOf": [
2410
+ {
2411
+ "type": "boolean"
2412
+ },
2413
+ {
2414
+ "type": "string"
2415
+ }
2416
+ ]
2417
+ },
2418
+ "skipIntrospection": {
2354
2419
  "type": "boolean"
2355
2420
  },
2421
+ "registry": {
2422
+ "type": "string"
2423
+ },
2356
2424
  "delegation": {
2357
- "type": "boolean"
2425
+ "description": "Any of: Boolean, String",
2426
+ "anyOf": [
2427
+ {
2428
+ "type": "boolean"
2429
+ },
2430
+ {
2431
+ "type": "string"
2432
+ }
2433
+ ]
2358
2434
  },
2359
2435
  "fetch": {
2360
- "type": "boolean"
2436
+ "description": "Any of: Boolean, String",
2437
+ "anyOf": [
2438
+ {
2439
+ "type": "boolean"
2440
+ },
2441
+ {
2442
+ "type": "string"
2443
+ }
2444
+ ]
2361
2445
  },
2362
- "skipIntrospection": {
2446
+ "fetchRequestHeaders": {
2363
2447
  "type": "boolean"
2364
2448
  },
2365
- "registry": {
2366
- "type": "string"
2449
+ "http": {
2450
+ "description": "Any of: Boolean, String",
2451
+ "anyOf": [
2452
+ {
2453
+ "type": "boolean"
2454
+ },
2455
+ {
2456
+ "type": "string"
2457
+ }
2458
+ ]
2459
+ },
2460
+ "httpRequestHeaders": {
2461
+ "type": "boolean"
2367
2462
  },
2368
2463
  "endpoint": {
2369
2464
  "type": "string",
@@ -2317,53 +2317,148 @@ export const jsonSchema = {
2317
2317
  title: 'PrometheusConfig',
2318
2318
  properties: {
2319
2319
  requestCount: {
2320
- type: 'boolean',
2320
+ description: 'Any of: Boolean, String',
2321
+ anyOf: [
2322
+ {
2323
+ type: 'boolean',
2324
+ },
2325
+ {
2326
+ type: 'string',
2327
+ },
2328
+ ],
2321
2329
  },
2322
2330
  requestTotalDuration: {
2323
- type: 'boolean',
2331
+ description: 'Any of: Boolean, String',
2332
+ anyOf: [
2333
+ {
2334
+ type: 'boolean',
2335
+ },
2336
+ {
2337
+ type: 'string',
2338
+ },
2339
+ ],
2324
2340
  },
2325
2341
  requestSummary: {
2326
- type: 'boolean',
2342
+ description: 'Any of: Boolean, String',
2343
+ anyOf: [
2344
+ {
2345
+ type: 'boolean',
2346
+ },
2347
+ {
2348
+ type: 'string',
2349
+ },
2350
+ ],
2327
2351
  },
2328
2352
  parse: {
2329
- type: 'boolean',
2353
+ description: 'Any of: Boolean, String',
2354
+ anyOf: [
2355
+ {
2356
+ type: 'boolean',
2357
+ },
2358
+ {
2359
+ type: 'string',
2360
+ },
2361
+ ],
2330
2362
  },
2331
2363
  validate: {
2332
- type: 'boolean',
2364
+ description: 'Any of: Boolean, String',
2365
+ anyOf: [
2366
+ {
2367
+ type: 'boolean',
2368
+ },
2369
+ {
2370
+ type: 'string',
2371
+ },
2372
+ ],
2333
2373
  },
2334
2374
  contextBuilding: {
2335
- type: 'boolean',
2375
+ description: 'Any of: Boolean, String',
2376
+ anyOf: [
2377
+ {
2378
+ type: 'boolean',
2379
+ },
2380
+ {
2381
+ type: 'string',
2382
+ },
2383
+ ],
2336
2384
  },
2337
2385
  execute: {
2338
- type: 'boolean',
2386
+ description: 'Any of: Boolean, String',
2387
+ anyOf: [
2388
+ {
2389
+ type: 'boolean',
2390
+ },
2391
+ {
2392
+ type: 'string',
2393
+ },
2394
+ ],
2339
2395
  },
2340
2396
  errors: {
2341
- type: 'boolean',
2342
- },
2343
- resolvers: {
2344
- type: 'boolean',
2345
- },
2346
- resolversWhiteList: {
2347
- type: 'array',
2348
- items: {
2349
- type: 'string',
2350
- },
2351
- additionalItems: false,
2397
+ description: 'Any of: Boolean, String',
2398
+ anyOf: [
2399
+ {
2400
+ type: 'boolean',
2401
+ },
2402
+ {
2403
+ type: 'string',
2404
+ },
2405
+ ],
2352
2406
  },
2353
2407
  deprecatedFields: {
2408
+ description: 'Any of: Boolean, String',
2409
+ anyOf: [
2410
+ {
2411
+ type: 'boolean',
2412
+ },
2413
+ {
2414
+ type: 'string',
2415
+ },
2416
+ ],
2417
+ },
2418
+ skipIntrospection: {
2354
2419
  type: 'boolean',
2355
2420
  },
2421
+ registry: {
2422
+ type: 'string',
2423
+ },
2356
2424
  delegation: {
2357
- type: 'boolean',
2425
+ description: 'Any of: Boolean, String',
2426
+ anyOf: [
2427
+ {
2428
+ type: 'boolean',
2429
+ },
2430
+ {
2431
+ type: 'string',
2432
+ },
2433
+ ],
2358
2434
  },
2359
2435
  fetch: {
2360
- type: 'boolean',
2436
+ description: 'Any of: Boolean, String',
2437
+ anyOf: [
2438
+ {
2439
+ type: 'boolean',
2440
+ },
2441
+ {
2442
+ type: 'string',
2443
+ },
2444
+ ],
2361
2445
  },
2362
- skipIntrospection: {
2446
+ fetchRequestHeaders: {
2363
2447
  type: 'boolean',
2364
2448
  },
2365
- registry: {
2366
- type: 'string',
2449
+ http: {
2450
+ description: 'Any of: Boolean, String',
2451
+ anyOf: [
2452
+ {
2453
+ type: 'boolean',
2454
+ },
2455
+ {
2456
+ type: 'string',
2457
+ },
2458
+ ],
2459
+ },
2460
+ httpRequestHeaders: {
2461
+ type: 'boolean',
2367
2462
  },
2368
2463
  endpoint: {
2369
2464
  type: 'string',
@@ -2317,53 +2317,148 @@
2317
2317
  "title": "PrometheusConfig",
2318
2318
  "properties": {
2319
2319
  "requestCount": {
2320
- "type": "boolean"
2320
+ "description": "Any of: Boolean, String",
2321
+ "anyOf": [
2322
+ {
2323
+ "type": "boolean"
2324
+ },
2325
+ {
2326
+ "type": "string"
2327
+ }
2328
+ ]
2321
2329
  },
2322
2330
  "requestTotalDuration": {
2323
- "type": "boolean"
2331
+ "description": "Any of: Boolean, String",
2332
+ "anyOf": [
2333
+ {
2334
+ "type": "boolean"
2335
+ },
2336
+ {
2337
+ "type": "string"
2338
+ }
2339
+ ]
2324
2340
  },
2325
2341
  "requestSummary": {
2326
- "type": "boolean"
2342
+ "description": "Any of: Boolean, String",
2343
+ "anyOf": [
2344
+ {
2345
+ "type": "boolean"
2346
+ },
2347
+ {
2348
+ "type": "string"
2349
+ }
2350
+ ]
2327
2351
  },
2328
2352
  "parse": {
2329
- "type": "boolean"
2353
+ "description": "Any of: Boolean, String",
2354
+ "anyOf": [
2355
+ {
2356
+ "type": "boolean"
2357
+ },
2358
+ {
2359
+ "type": "string"
2360
+ }
2361
+ ]
2330
2362
  },
2331
2363
  "validate": {
2332
- "type": "boolean"
2364
+ "description": "Any of: Boolean, String",
2365
+ "anyOf": [
2366
+ {
2367
+ "type": "boolean"
2368
+ },
2369
+ {
2370
+ "type": "string"
2371
+ }
2372
+ ]
2333
2373
  },
2334
2374
  "contextBuilding": {
2335
- "type": "boolean"
2375
+ "description": "Any of: Boolean, String",
2376
+ "anyOf": [
2377
+ {
2378
+ "type": "boolean"
2379
+ },
2380
+ {
2381
+ "type": "string"
2382
+ }
2383
+ ]
2336
2384
  },
2337
2385
  "execute": {
2338
- "type": "boolean"
2386
+ "description": "Any of: Boolean, String",
2387
+ "anyOf": [
2388
+ {
2389
+ "type": "boolean"
2390
+ },
2391
+ {
2392
+ "type": "string"
2393
+ }
2394
+ ]
2339
2395
  },
2340
2396
  "errors": {
2341
- "type": "boolean"
2342
- },
2343
- "resolvers": {
2344
- "type": "boolean"
2345
- },
2346
- "resolversWhiteList": {
2347
- "type": "array",
2348
- "items": {
2349
- "type": "string"
2350
- },
2351
- "additionalItems": false
2397
+ "description": "Any of: Boolean, String",
2398
+ "anyOf": [
2399
+ {
2400
+ "type": "boolean"
2401
+ },
2402
+ {
2403
+ "type": "string"
2404
+ }
2405
+ ]
2352
2406
  },
2353
2407
  "deprecatedFields": {
2408
+ "description": "Any of: Boolean, String",
2409
+ "anyOf": [
2410
+ {
2411
+ "type": "boolean"
2412
+ },
2413
+ {
2414
+ "type": "string"
2415
+ }
2416
+ ]
2417
+ },
2418
+ "skipIntrospection": {
2354
2419
  "type": "boolean"
2355
2420
  },
2421
+ "registry": {
2422
+ "type": "string"
2423
+ },
2356
2424
  "delegation": {
2357
- "type": "boolean"
2425
+ "description": "Any of: Boolean, String",
2426
+ "anyOf": [
2427
+ {
2428
+ "type": "boolean"
2429
+ },
2430
+ {
2431
+ "type": "string"
2432
+ }
2433
+ ]
2358
2434
  },
2359
2435
  "fetch": {
2360
- "type": "boolean"
2436
+ "description": "Any of: Boolean, String",
2437
+ "anyOf": [
2438
+ {
2439
+ "type": "boolean"
2440
+ },
2441
+ {
2442
+ "type": "string"
2443
+ }
2444
+ ]
2361
2445
  },
2362
- "skipIntrospection": {
2446
+ "fetchRequestHeaders": {
2363
2447
  "type": "boolean"
2364
2448
  },
2365
- "registry": {
2366
- "type": "string"
2449
+ "http": {
2450
+ "description": "Any of: Boolean, String",
2451
+ "anyOf": [
2452
+ {
2453
+ "type": "boolean"
2454
+ },
2455
+ {
2456
+ "type": "string"
2457
+ }
2458
+ ]
2459
+ },
2460
+ "httpRequestHeaders": {
2461
+ "type": "boolean"
2367
2462
  },
2368
2463
  "endpoint": {
2369
2464
  "type": "string",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "0.89.6-alpha-20230207124039-e1ab926b9",
3
+ "version": "0.90.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-mesh/store": "0.9.7-alpha-20230207124039-e1ab926b9",
9
+ "@graphql-mesh/store": "0.9.7",
10
10
  "@graphql-tools/batch-delegate": "8.4.17",
11
11
  "@graphql-tools/delegate": "9.0.24",
12
12
  "@graphql-tools/utils": "9.1.4",
@@ -1822,21 +1822,58 @@ export interface OperationFieldPermission {
1822
1822
  allow?: string[];
1823
1823
  }
1824
1824
  export interface PrometheusConfig {
1825
- requestCount?: boolean;
1826
- requestTotalDuration?: boolean;
1827
- requestSummary?: boolean;
1828
- parse?: boolean;
1829
- validate?: boolean;
1830
- contextBuilding?: boolean;
1831
- execute?: boolean;
1832
- errors?: boolean;
1833
- resolvers?: boolean;
1834
- resolversWhiteList?: string[];
1835
- deprecatedFields?: boolean;
1836
- delegation?: boolean;
1837
- fetch?: boolean;
1825
+ /**
1826
+ * Any of: Boolean, String
1827
+ */
1828
+ requestCount?: boolean | string;
1829
+ /**
1830
+ * Any of: Boolean, String
1831
+ */
1832
+ requestTotalDuration?: boolean | string;
1833
+ /**
1834
+ * Any of: Boolean, String
1835
+ */
1836
+ requestSummary?: boolean | string;
1837
+ /**
1838
+ * Any of: Boolean, String
1839
+ */
1840
+ parse?: boolean | string;
1841
+ /**
1842
+ * Any of: Boolean, String
1843
+ */
1844
+ validate?: boolean | string;
1845
+ /**
1846
+ * Any of: Boolean, String
1847
+ */
1848
+ contextBuilding?: boolean | string;
1849
+ /**
1850
+ * Any of: Boolean, String
1851
+ */
1852
+ execute?: boolean | string;
1853
+ /**
1854
+ * Any of: Boolean, String
1855
+ */
1856
+ errors?: boolean | string;
1857
+ /**
1858
+ * Any of: Boolean, String
1859
+ */
1860
+ deprecatedFields?: boolean | string;
1838
1861
  skipIntrospection?: boolean;
1839
1862
  registry?: string;
1863
+ /**
1864
+ * Any of: Boolean, String
1865
+ */
1866
+ delegation?: boolean | string;
1867
+ /**
1868
+ * Any of: Boolean, String
1869
+ */
1870
+ fetch?: boolean | string;
1871
+ fetchRequestHeaders?: boolean;
1872
+ /**
1873
+ * Any of: Boolean, String
1874
+ */
1875
+ http?: boolean | string;
1876
+ httpRequestHeaders?: boolean;
1840
1877
  /**
1841
1878
  * The path to the metrics endpoint
1842
1879
  * default: `/metrics`
@@ -1822,21 +1822,58 @@ export interface OperationFieldPermission {
1822
1822
  allow?: string[];
1823
1823
  }
1824
1824
  export interface PrometheusConfig {
1825
- requestCount?: boolean;
1826
- requestTotalDuration?: boolean;
1827
- requestSummary?: boolean;
1828
- parse?: boolean;
1829
- validate?: boolean;
1830
- contextBuilding?: boolean;
1831
- execute?: boolean;
1832
- errors?: boolean;
1833
- resolvers?: boolean;
1834
- resolversWhiteList?: string[];
1835
- deprecatedFields?: boolean;
1836
- delegation?: boolean;
1837
- fetch?: boolean;
1825
+ /**
1826
+ * Any of: Boolean, String
1827
+ */
1828
+ requestCount?: boolean | string;
1829
+ /**
1830
+ * Any of: Boolean, String
1831
+ */
1832
+ requestTotalDuration?: boolean | string;
1833
+ /**
1834
+ * Any of: Boolean, String
1835
+ */
1836
+ requestSummary?: boolean | string;
1837
+ /**
1838
+ * Any of: Boolean, String
1839
+ */
1840
+ parse?: boolean | string;
1841
+ /**
1842
+ * Any of: Boolean, String
1843
+ */
1844
+ validate?: boolean | string;
1845
+ /**
1846
+ * Any of: Boolean, String
1847
+ */
1848
+ contextBuilding?: boolean | string;
1849
+ /**
1850
+ * Any of: Boolean, String
1851
+ */
1852
+ execute?: boolean | string;
1853
+ /**
1854
+ * Any of: Boolean, String
1855
+ */
1856
+ errors?: boolean | string;
1857
+ /**
1858
+ * Any of: Boolean, String
1859
+ */
1860
+ deprecatedFields?: boolean | string;
1838
1861
  skipIntrospection?: boolean;
1839
1862
  registry?: string;
1863
+ /**
1864
+ * Any of: Boolean, String
1865
+ */
1866
+ delegation?: boolean | string;
1867
+ /**
1868
+ * Any of: Boolean, String
1869
+ */
1870
+ fetch?: boolean | string;
1871
+ fetchRequestHeaders?: boolean;
1872
+ /**
1873
+ * Any of: Boolean, String
1874
+ */
1875
+ http?: boolean | string;
1876
+ httpRequestHeaders?: boolean;
1840
1877
  /**
1841
1878
  * The path to the metrics endpoint
1842
1879
  * default: `/metrics`