BranchRep
October 20, 2025 ยท View on GitHub
Example Usage
import { BranchRep } from "@launchdarkly/mcp-server/models/components";
let value: BranchRep = {
name: "main",
head: "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
updateSequenceId: 25,
syncTime: 603923,
references: [
{
path: "/main/index.js",
hint: "javascript",
hunks: [],
},
],
links: {
"key": "<value>",
},
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | :heavy_check_mark: | The branch name | main |
head | string | :heavy_check_mark: | An ID representing the branch HEAD. For example, a commit SHA. | a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 |
updateSequenceId | number | :heavy_minus_sign: | An optional ID used to prevent older data from overwriting newer data | 25 |
syncTime | number | :heavy_check_mark: | N/A | |
references | components.ReferenceRep[] | :heavy_minus_sign: | An array of flag references found on the branch | |
links | Record<string, any> | :heavy_check_mark: | The location and content type of related resources |