sourceControl.ts 516 B

12345678910111213141516
  1. // @ts-ignore
  2. /* eslint-disable */
  3. import request from '@repo/api-client'
  4. /** Pull changes from the remote repository Requires the Source Control feature to be licensed and connected to a repository. POST /source-control/pull */
  5. export async function postSourceControlPull(body: API.pull, options?: { [key: string]: any }) {
  6. return request<API.importResult>('/source-control/pull', {
  7. method: 'POST',
  8. headers: {
  9. 'Content-Type': 'application/json'
  10. },
  11. data: body,
  12. ...(options || {})
  13. })
  14. }