@graphql-mesh/types 1.0.0-alpha-20230524101147-2c8a75127 → 1.0.0-alpha-20230524103512-5967b8daf

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.
@@ -3683,6 +3683,10 @@ exports.jsonSchema = {
3683
3683
  type: 'string',
3684
3684
  description: 'Flags to use in the Regular Expression',
3685
3685
  },
3686
+ includeDefaults: {
3687
+ type: 'boolean',
3688
+ description: 'Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false',
3689
+ },
3686
3690
  },
3687
3691
  required: ['from', 'to'],
3688
3692
  },
@@ -3679,6 +3679,10 @@
3679
3679
  "regExpFlags": {
3680
3680
  "type": "string",
3681
3681
  "description": "Flags to use in the Regular Expression"
3682
+ },
3683
+ "includeDefaults": {
3684
+ "type": "boolean",
3685
+ "description": "Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false"
3682
3686
  }
3683
3687
  },
3684
3688
  "required": ["from", "to"]
@@ -3680,6 +3680,10 @@ export const jsonSchema = {
3680
3680
  type: 'string',
3681
3681
  description: 'Flags to use in the Regular Expression',
3682
3682
  },
3683
+ includeDefaults: {
3684
+ type: 'boolean',
3685
+ description: 'Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false',
3686
+ },
3683
3687
  },
3684
3688
  required: ['from', 'to'],
3685
3689
  },
@@ -3679,6 +3679,10 @@
3679
3679
  "regExpFlags": {
3680
3680
  "type": "string",
3681
3681
  "description": "Flags to use in the Regular Expression"
3682
+ },
3683
+ "includeDefaults": {
3684
+ "type": "boolean",
3685
+ "description": "Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false"
3682
3686
  }
3683
3687
  },
3684
3688
  "required": ["from", "to"]
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@graphql-mesh/types",
3
- "version": "1.0.0-alpha-20230524101147-2c8a75127",
3
+ "version": "1.0.0-alpha-20230524103512-5967b8daf",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@graphql-mesh/store": "1.0.0-alpha-20230524101147-2c8a75127",
6
+ "@graphql-mesh/store": "1.0.0-alpha-20230524103512-5967b8daf",
7
7
  "@graphql-tools/utils": "^9.2.1 || ^10.0.0",
8
8
  "graphql": "*",
9
9
  "tslib": "^2.4.0"
@@ -1331,6 +1331,12 @@ export interface RenameTransformObject {
1331
1331
  * Flags to use in the Regular Expression
1332
1332
  */
1333
1333
  regExpFlags?: string;
1334
+ /**
1335
+ * Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.
1336
+ *
1337
+ * @default: false
1338
+ */
1339
+ includeDefaults?: boolean;
1334
1340
  }
1335
1341
  export interface RenameConfig {
1336
1342
  type?: string;
@@ -1331,6 +1331,12 @@ export interface RenameTransformObject {
1331
1331
  * Flags to use in the Regular Expression
1332
1332
  */
1333
1333
  regExpFlags?: string;
1334
+ /**
1335
+ * Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.
1336
+ *
1337
+ * @default: false
1338
+ */
1339
+ includeDefaults?: boolean;
1334
1340
  }
1335
1341
  export interface RenameConfig {
1336
1342
  type?: string;