implement write function stubs
Created by: unclejustin
This is part of migrating code insights to a new GraphQL API. This one is simply updating the GQL placeholder methods with actual calls to the new API. NOTE: Nothing actually calls these methods yet. The UI is being updated in a later PR.
Related to https://github.com/sourcegraph/sourcegraph/issues/25876