mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-11 03:26:58 +02:00
Git support (#143)
This commit is contained in:
18
src-tauri/yaak-git/bindings/gen_git.ts
Normal file
18
src-tauri/yaak-git/bindings/gen_git.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { SyncModel } from "./gen_models";
|
||||
|
||||
export type GitAuthor = { name: string | null, email: string | null, };
|
||||
|
||||
export type GitCommit = { author: GitAuthor, when: string, message: string | null, };
|
||||
|
||||
export type GitStatus = "added" | "conflict" | "current" | "modified" | "removed" | "renamed" | "type_change";
|
||||
|
||||
export type GitStatusEntry = { relaPath: string, status: GitStatus, staged: boolean, prev: SyncModel | null, next: SyncModel | null, };
|
||||
|
||||
export type GitStatusSummary = { path: string, headRef: string | null, headRefShorthand: string | null, entries: Array<GitStatusEntry>, origins: Array<string>, branches: Array<string>, };
|
||||
|
||||
export type PullResult = { receivedBytes: number, receivedObjects: number, };
|
||||
|
||||
export type PushResult = "success" | "nothing_to_push";
|
||||
|
||||
export type PushType = "branch" | "tag";
|
||||
Reference in New Issue
Block a user