hunk.code_window:   where
       getBaseTyL = getBaseTy . G.unListType
   unwrapTy :: G.GType -> G.GType
   unwrapTy =
     \case
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit: getBaseTyWithNestedLevelsCount :: G.GType -> (G.NamedType, Int)
   getBaseTyWithNestedLevelsCount ty = go ty 0
     where
       go :: G.GType -> Int -> (G.NamedType, Int)
       go gType ctr =
         case gType of
           G.TypeNamed _ n  -> (n, ctr)
           G.TypeList  _ lt -> flip go (ctr + 1) (G.unListType lt)
  
hunk.file_path: server/src-lib/Hasura/GraphQL/Utils.hs
hunk.type: add
file: const gqlPattern = /^[_A-Za-z][_0-9A-Za-z]*$/;
  
  const gqlTableErrorNotif = [
    'Error creating table!',
    'Table name cannot contain special characters',
    {
      custom:
        'Table name cannot contain special characters. It can have alphabets, numbers and _ (cannot start with numbers)',
    },
    'Error renaming table!',
  ];
  
  const gqlColumnErrorNotif = [
    'Error adding column!',
    'Column name cannot contain special characters',
    {
      custom:
        'Column name cannot contain special characters. It can have alphabets, numbers and _ (cannot start with numbers)',
    },
    'Error renaming column!',
  ];
  
  const gqlViewErrorNotif = [
    'Error creating view!',
    'View name cannot contain special characters',
    {
      custom:
        'View name cannot contain special characters. It can have alphabets, numbers and _ (cannot start with numbers)',
    },
    'Error renaming view!',
  ];
  
  const gqlRelErrorNotif = [
    'Error adding relationship!',
    'Relationship name cannot contain special characters',
    {
      custom:
        'Relationship name cannot contain special characters. It can have alphabets, numbers and _ (cannot start with numbers)',
    },
    'Error renaming relationship!',
  ];
  
  const gqlSchemaErrorNotif = [
    'Error creating schema!',
    'Schema name cannot contain special characters',
    {
      custom:
        'Schema name cannot contain special characters. It can have alphabets, numbers and _ (cannot start with numbers)',
    },
  ];
  
  export default gqlPattern;
  export {
    gqlTableErrorNotif,
    gqlViewErrorNotif,
    gqlColumnErrorNotif,
    gqlRelErrorNotif,
    gqlSchemaErrorNotif,
  };
  