Skip to content
API reference

git-representation

Import
import * as api from "@fungi.computer/puffball/git-representation";
Kind Export Description
constant gitRepositoryNameSchema Local repository name; the host maps it into the installation’s namespace.
constant gitSha1Schema A lowercase Git SHA-1 object ID, including the zero ID for creation/deletion.
constant gitRefUpdateSchema One ref update, bounded before a host asks the App or forwards the push.
constant gitPushEventIdSchema Host push event IDs include the Computer and local event identity.

gitRepositoryNameSchemaconstant

Section titled “gitRepositoryNameSchema”
Signature
const gitRepositoryNameSchema: ZodString;

Local repository name; the host maps it into the installation’s namespace.


gitSha1Schemaconstant

Section titled “gitSha1Schema”
Signature
const gitSha1Schema: ZodString;

A lowercase Git SHA-1 object ID, including the zero ID for creation/deletion.


gitRefUpdateSchemaconstant

Section titled “gitRefUpdateSchema”
Signature
const gitRefUpdateSchema: ZodObject<
{
ref: ZodString;
before: ZodString;
after: ZodString;
},
$strict
>;

One ref update, bounded before a host asks the App or forwards the push.


gitPushEventIdSchemaconstant

Section titled “gitPushEventIdSchema”
Signature
const gitPushEventIdSchema: ZodLazy<ZodString>;

Host push event IDs include the Computer and local event identity.