Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.25 KB

File metadata and controls

30 lines (23 loc) · 1.25 KB

RepositoryPost

Properties

Name Type Description Notes
name string The repository name [default to undefined]
sourceLink string A URL to access the repository [optional] [default to undefined]
commitUrlTemplate string A template for constructing a valid URL to view the commit [optional] [default to undefined]
hunkUrlTemplate string A template for constructing a valid URL to view the hunk [optional] [default to undefined]
type string The type of repository. If not specified, the default value is <code>custom</code>. [optional] [default to undefined]
defaultBranch string The repository&#39;s default branch. If not specified, the default value is <code>main</code>. [optional] [default to undefined]

Example

import { RepositoryPost } from 'launchdarkly-api-typescript';

const instance: RepositoryPost = {
    name,
    sourceLink,
    commitUrlTemplate,
    hunkUrlTemplate,
    type,
    defaultBranch,
};

[Back to Model list] [Back to API list] [Back to README]