@omnigraph/openapi 0.108.15-alpha-20250115122009-9ed68835aaf2261098c92b1359808702917d57e2 → 0.108.15-alpha-20250117111022-41cb57e51d721fa0c43fb3af2cbc7d7124178c93

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,18 +1,18 @@
1
1
  {
2
2
  "name": "@omnigraph/openapi",
3
- "version": "0.108.15-alpha-20250115122009-9ed68835aaf2261098c92b1359808702917d57e2",
3
+ "version": "0.108.15-alpha-20250117111022-41cb57e51d721fa0c43fb3af2cbc7d7124178c93",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
7
7
  },
8
8
  "dependencies": {
9
9
  "@graphql-mesh/cross-helpers": "^0.4.9",
10
- "@graphql-mesh/fusion-composition": "0.7.18-alpha-20250115122009-9ed68835aaf2261098c92b1359808702917d57e2",
10
+ "@graphql-mesh/fusion-composition": "0.7.18-alpha-20250117111022-41cb57e51d721fa0c43fb3af2cbc7d7124178c93",
11
11
  "@graphql-mesh/string-interpolation": "^0.5.7",
12
- "@graphql-mesh/types": "^0.103.11",
13
- "@graphql-mesh/utils": "^0.103.11",
12
+ "@graphql-mesh/types": "0.103.12-alpha-20250117111022-41cb57e51d721fa0c43fb3af2cbc7d7124178c93",
13
+ "@graphql-mesh/utils": "0.103.12-alpha-20250117111022-41cb57e51d721fa0c43fb3af2cbc7d7124178c93",
14
14
  "@graphql-tools/utils": "^10.6.4",
15
- "@omnigraph/json-schema": "^0.108.12",
15
+ "@omnigraph/json-schema": "0.108.13-alpha-20250117111022-41cb57e51d721fa0c43fb3af2cbc7d7124178c93",
16
16
  "change-case": "^4.1.2",
17
17
  "json-machete": "^0.97.6",
18
18
  "openapi-types": "^12.1.0",
@@ -1,7 +1,7 @@
1
1
  import type { OpenAPIV2, OpenAPIV3 } from 'openapi-types';
2
2
  import type { Logger, MeshFetch } from '@graphql-mesh/types';
3
3
  import type { JSONSchemaOperationConfig, OperationHeadersConfiguration } from '@omnigraph/json-schema';
4
- import type { OpenAPILoaderSelectQueryOrMutationFieldConfig } from './types.cjs';
4
+ import type { SelectQueryOrMutationFieldConfig } from './types.cjs';
5
5
  export interface HATEOASConfig {
6
6
  /**
7
7
  * @default "rel"
@@ -29,7 +29,7 @@ interface GetJSONSchemaOptionsFromOpenAPIOptionsParams {
29
29
  schemaHeaders?: Record<string, string>;
30
30
  operationHeaders?: OperationHeadersConfiguration;
31
31
  queryParams?: Record<string, any>;
32
- selectQueryOrMutationField?: OpenAPILoaderSelectQueryOrMutationFieldConfig[];
32
+ selectQueryOrMutationField?: SelectQueryOrMutationFieldConfig[];
33
33
  logger?: Logger;
34
34
  jsonApi?: boolean;
35
35
  HATEOAS?: Partial<HATEOASConfig> | boolean;
@@ -1,7 +1,7 @@
1
1
  import type { OpenAPIV2, OpenAPIV3 } from 'openapi-types';
2
2
  import type { Logger, MeshFetch } from '@graphql-mesh/types';
3
3
  import type { JSONSchemaOperationConfig, OperationHeadersConfiguration } from '@omnigraph/json-schema';
4
- import type { OpenAPILoaderSelectQueryOrMutationFieldConfig } from './types.js';
4
+ import type { SelectQueryOrMutationFieldConfig } from './types.js';
5
5
  export interface HATEOASConfig {
6
6
  /**
7
7
  * @default "rel"
@@ -29,7 +29,7 @@ interface GetJSONSchemaOptionsFromOpenAPIOptionsParams {
29
29
  schemaHeaders?: Record<string, string>;
30
30
  operationHeaders?: OperationHeadersConfiguration;
31
31
  queryParams?: Record<string, any>;
32
- selectQueryOrMutationField?: OpenAPILoaderSelectQueryOrMutationFieldConfig[];
32
+ selectQueryOrMutationField?: SelectQueryOrMutationFieldConfig[];
33
33
  logger?: Logger;
34
34
  jsonApi?: boolean;
35
35
  HATEOAS?: Partial<HATEOASConfig> | boolean;
@@ -2,12 +2,12 @@ import type { JSONSchemaLoaderOptions } from '@omnigraph/json-schema';
2
2
  import type { HATEOASConfig } from './getJSONSchemaOptionsFromOpenAPIOptions.cjs';
3
3
  export interface OpenAPILoaderOptions extends Partial<JSONSchemaLoaderOptions> {
4
4
  source: string;
5
- selectQueryOrMutationField?: OpenAPILoaderSelectQueryOrMutationFieldConfig[];
5
+ selectQueryOrMutationField?: SelectQueryOrMutationFieldConfig[];
6
6
  fallbackFormat?: 'json' | 'yaml' | 'js' | 'ts';
7
7
  jsonApi?: boolean;
8
8
  HATEOAS?: HATEOASConfig | boolean;
9
9
  }
10
- export interface OpenAPILoaderSelectQueryOrMutationFieldConfig {
10
+ export interface SelectQueryOrMutationFieldConfig {
11
11
  type: 'query' | 'mutation' | 'Query' | 'Mutation';
12
12
  fieldName: string;
13
13
  }
@@ -2,12 +2,12 @@ import type { JSONSchemaLoaderOptions } from '@omnigraph/json-schema';
2
2
  import type { HATEOASConfig } from './getJSONSchemaOptionsFromOpenAPIOptions.js';
3
3
  export interface OpenAPILoaderOptions extends Partial<JSONSchemaLoaderOptions> {
4
4
  source: string;
5
- selectQueryOrMutationField?: OpenAPILoaderSelectQueryOrMutationFieldConfig[];
5
+ selectQueryOrMutationField?: SelectQueryOrMutationFieldConfig[];
6
6
  fallbackFormat?: 'json' | 'yaml' | 'js' | 'ts';
7
7
  jsonApi?: boolean;
8
8
  HATEOAS?: HATEOASConfig | boolean;
9
9
  }
10
- export interface OpenAPILoaderSelectQueryOrMutationFieldConfig {
10
+ export interface SelectQueryOrMutationFieldConfig {
11
11
  type: 'query' | 'mutation' | 'Query' | 'Mutation';
12
12
  fieldName: string;
13
13
  }