import { type GetRepository } from "https://deno.land/x/jira@v3.0.2/src/agile/models/getRepository.ts";
Represents a repository, containing development information such as commits, pull requests, and branches.
Properties
The ID of the repository this repository was forked from, if it's a fork. Max length is 1024 characters.
List of commits to update in this repository. Must not contain duplicate entity IDs. Maximum number of commits is 400
List of branches to update in this repository. Must not contain duplicate entity IDs. Maximum number of branches is 400.
List of pull requests to update in this repository. Must not contain duplicate entity IDs. Maximum number of pull requests is 400
Description of the avatar for this repository. Max length is 1024 characters.
The ID of this entity. Will be used for cross entity linking. Must be unique by entity type within a repository, i.e., only one commit can have ID 'X' in repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length is 1024 characters.
An ID used to apply an ordering to updates for this entity in the case of out-of-order receipt of update requests. This can be any monotonically increasing number. A suggested implementation is to use epoch millis from the provider system, but other alternatives are valid (e.g. a provider could store a counter against each entity and increment that on each update to Jira). Updates for an entity that are received with an updateSqeuenceId lower than what is currently stored will be ignored.