API reference
git-representation
Import
Section titled “Import”import * as api from "@fungi.computer/puffball/git-representation";Exports
Section titled “Exports”| 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”const gitRepositoryNameSchema: ZodString;Local repository name; the host maps it into the installation’s namespace.
gitSha1Schemaconstant
Section titled “gitSha1Schema”const gitSha1Schema: ZodString;A lowercase Git SHA-1 object ID, including the zero ID for creation/deletion.
gitRefUpdateSchemaconstant
Section titled “gitRefUpdateSchema”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”const gitPushEventIdSchema: ZodLazy<ZodString>;Host push event IDs include the Computer and local event identity.