@bridge-ds/core 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import { execFile } from "node:child_process";
2
2
  import { mkdtemp, rm, mkdir, writeFile, lstat, readFile } from "node:fs/promises";
3
3
  import { tmpdir } from "node:os";
4
4
  import { join, resolve, relative, dirname, sep, posix } from "node:path";
5
- import { aT as assertSafeBranch, c as collectHistory, p as packageDirCandidates, a as parseChangelog, m as mergeReleases, r as releasesFromTags, b as buildReport, cq as prNumberFromSubject, cN as specHash, d9 as validateComponentSpec, bM as hashSpec, bN as iconComponentName, C as variantKeyOf, d5 as tokenCssVar, ai as COMPONENT_SPECS_VERSION, ah as COLOR_FIELDS, cQ as suggestionAppliedComment, X as gitBlobSha, co as planSuggestionApply } from "../suggestion-apply-ByBEYtct.js";
5
+ import { aU as assertSafeBranch, c as collectHistory, p as packageDirCandidates, a as parseChangelog, m as mergeReleases, r as releasesFromTags, b as buildReport, cr as prNumberFromSubject, cO as specHash, da as validateComponentSpec, bN as hashSpec, bO as iconComponentName, C as variantKeyOf, d6 as tokenCssVar, aj as COMPONENT_SPECS_VERSION, ai as COLOR_FIELDS, cR as suggestionAppliedComment, X as gitBlobSha, cp as planSuggestionApply } from "../suggestion-apply-DxXRGQrO.js";
6
6
  import { K as selectTokenFiles, bl as globToRegExp, N as loadConfig, L as LayeredTokenSet, V as CONFIG_FILE, $ as layoutOptions, a0 as buildTokenSet, b3 as defaultContext, B as resolve$1, ae as slugify, bX as protectedBranchesOf, aM as baseBranchOf } from "../prod-branch-BdMPKffE.js";
7
7
  import { statSync, readFileSync, existsSync, writeFileSync, readdirSync } from "node:fs";
8
8
  import { i as isAuditable, Q as planCssFixes, O as parseAllowlist, d as DesignSystemIndex, l as buildAuditReport, o as compareWithBaseline, b as AUDIT_IGNORE_DIRS } from "../report-DOnKUw8G.js";
@@ -0,0 +1,94 @@
1
+ /** One index entry, normalised across versions. */
2
+ export interface StorybookEntry {
3
+ id: string;
4
+ /** Sidebar path, `/`-separated ("Forms/Button"). */
5
+ title: string;
6
+ /** Story or docs page name ("Primary", "Docs"). */
7
+ name: string;
8
+ type: 'story' | 'docs';
9
+ /** Storybook 9+ marks test entries `test`; stories are `story`. Absent before. */
10
+ subtype?: string;
11
+ importPath: string;
12
+ tags: string[];
13
+ exportName?: string;
14
+ componentPath?: string;
15
+ }
16
+ /** Entries that share a title: one component (or one docs-only page such as "Intro"). */
17
+ export interface StorybookComponent {
18
+ title: string;
19
+ /** Last segment of the title ("Button" for "Forms/Button"). */
20
+ name: string;
21
+ /** Segments before the name (["Forms"]); empty at the root. */
22
+ group: string[];
23
+ /** Story entries in index order (test entries excluded). */
24
+ stories: StorybookEntry[];
25
+ docs: StorybookEntry[];
26
+ /** Union of the entries' tags, sorted. */
27
+ tags: string[];
28
+ }
29
+ export type StorybookIndexSource = 'index.json' | 'stories.json';
30
+ export interface StorybookIndex {
31
+ /** The index's `v` field. */
32
+ version: number;
33
+ source: StorybookIndexSource;
34
+ entries: StorybookEntry[];
35
+ /** Grouped by title, sorted by title. */
36
+ components: StorybookComponent[];
37
+ }
38
+ export type StorybookErrorCode = 'invalid-url' | 'not-found' | 'not-json' | 'private' | 'empty' | 'http' | 'network';
39
+ export declare class StorybookIndexError extends Error {
40
+ readonly code: StorybookErrorCode;
41
+ readonly status?: number | undefined;
42
+ constructor(code: StorybookErrorCode, message: string, status?: number | undefined);
43
+ }
44
+ /** Groups entries by title. Test entries (subtype `test`) stay out of `stories`. */
45
+ export declare function groupStorybookComponents(entries: StorybookEntry[]): StorybookComponent[];
46
+ /**
47
+ * Parses an `index.json` (v4, v5) or `stories.json` (v3) body. Throws StorybookIndexError: `private` for a
48
+ * Chromatic login answer, `empty` when the body has no readable entries.
49
+ */
50
+ export declare function parseStorybookIndex(json: unknown, source?: StorybookIndexSource): StorybookIndex;
51
+ /**
52
+ * The base address of a Storybook from what a person pastes: trims, drops the query and hash
53
+ * (`?path=/story/...`), a trailing `index.html` / `iframe.html` / `index.json` / `stories.json`, and trailing slashes.
54
+ * Throws `invalid-url` unless it is http(s); https is required except on localhost.
55
+ */
56
+ export declare function normalizeStorybookUrl(input: string): string;
57
+ /** The index files to try, in order. */
58
+ export declare const storybookIndexUrls: (base: string) => {
59
+ url: string;
60
+ source: StorybookIndexSource;
61
+ }[];
62
+ export interface StorybookIframeOptions {
63
+ /** `story` (default) or `docs`. */
64
+ viewMode?: 'story' | 'docs';
65
+ /** Toolbar globals (`globals=brand:ocean;theme:dark`), in insertion order. */
66
+ globals?: Record<string, string>;
67
+ /** Story args (`args=label:Save`). */
68
+ args?: Record<string, string>;
69
+ }
70
+ /** URL of one story (or docs page) rendered alone: `<base>/iframe.html?id=<id>&viewMode=story[&globals=..][&args=..]`. */
71
+ export declare function storybookIframeUrl(base: string, id: string, o?: StorybookIframeOptions): string;
72
+ /** URL of a story or docs page in the full Storybook UI (sidebar and toolbar). */
73
+ export declare function storybookManagerUrl(base: string, id: string, viewMode?: 'story' | 'docs'): string;
74
+ export type StorybookFetch = (url: string, init?: {
75
+ headers?: Record<string, string>;
76
+ signal?: AbortSignal;
77
+ }) => Promise<{
78
+ ok: boolean;
79
+ status: number;
80
+ headers: {
81
+ get(name: string): string | null;
82
+ };
83
+ text(): Promise<string>;
84
+ }>;
85
+ export interface FetchStorybookIndexOptions {
86
+ fetch?: StorybookFetch;
87
+ signal?: AbortSignal;
88
+ }
89
+ /**
90
+ * Reads a Storybook's index: `index.json`, then `stories.json`. A 404, an HTML answer (static hosts that fall back
91
+ * to index.html) or a body without entries moves on to the next file; the first readable index wins. Throws
92
+ * StorybookIndexError with the most telling failure (`private` before `not-json` before `not-found`).
93
+ */
94
+ export declare function fetchStorybookIndex(base: string, o?: FetchStorybookIndexOptions): Promise<StorybookIndex>;
@@ -3267,6 +3267,7 @@ function figmaDraftBrief(d, ctx) {
3267
3267
  ...d.reasons?.length ? ["Why this needs code:", ...d.reasons.map((r) => `- ${r}`), ""] : [],
3268
3268
  `Spec: ${ctx.specPath} ${suggested ? "in the suggestion" : "on the branch"} has the bound variables of every variant (token paths), the layers of every variant and what code gave Figma before.`,
3269
3269
  ...d.figma?.url ? [`Design: ${d.figma.url}`] : [],
3270
+ ...suggested && d.figma?.fileKey && d.figma.nodeId ? [`Read the design straight from Figma: Figma MCP get_design_context { fileKey: "${d.figma.fileKey}", nodeId: "${d.figma.nodeId}" }${d.figma.before?.nodeId ? ` (before: node ${d.figma.before.nodeId})` : ""}, or the REST API GET https://api.figma.com/v1/files/${d.figma.fileKey}/nodes?ids=${encodeURIComponent(d.figma.nodeId)}.`] : [],
3270
3271
  ...d.images?.length ? ["Screenshot:", ...d.images.map((u) => `- ${u}`)] : [],
3271
3272
  "",
3272
3273
  "Steps:",
@@ -3328,6 +3329,7 @@ const SUGGESTION_STATUS_LABEL = {
3328
3329
  declined: "Declined",
3329
3330
  outdated: "Outdated"
3330
3331
  };
3332
+ const figmaNodeUrl = (fileKey, nodeId) => `https://www.figma.com/design/${fileKey}/?node-id=${encodeURIComponent(nodeId.replace(/:/g, "-"))}`;
3331
3333
  const SUGGESTION_LIMITS = {
3332
3334
  body: 65536,
3333
3335
  /** The readable part of the body (tables are cut with "and N more"). */
@@ -3634,6 +3636,19 @@ function linksSection(p) {
3634
3636
  const out = [];
3635
3637
  if (l.neededBy) out.push(`- Needed by ${l.neededBy.productName}: [#${l.neededBy.pr} ${cell(l.neededBy.title)}](${l.neededBy.url})`);
3636
3638
  if (l.figma?.url) out.push(`- Design: [Open in Figma](${l.figma.url})`);
3639
+ const key = l.figma?.fileKey;
3640
+ const nodes = (l.figma?.nodes ?? []).filter((n) => n && typeof n.nodeId === "string");
3641
+ for (const n of nodes) {
3642
+ const url = n.url ?? (key ? figmaNodeUrl(key, n.nodeId) : void 0);
3643
+ const what = `${n.state === "before" ? "Before" : n.state === "after" ? "After" : "Node"}${n.name ? ` (${cell(n.name)})` : ""}`;
3644
+ out.push(`- ${what}: ${url ? `[node ${n.nodeId}](${url})` : `node ${n.nodeId}`}`);
3645
+ }
3646
+ if (key && (nodes.length || l.figma?.nodeId)) {
3647
+ const ids = nodes.length ? nodes.map((n) => n.nodeId) : [l.figma.nodeId];
3648
+ out.push(
3649
+ `- Claude Code reads this design straight from Figma: the Figma MCP server (\`get_design_context\` with file key \`${key}\` and node ${ids.map((i) => `\`${i}\``).join(", ")}) or the REST API (\`GET https://api.figma.com/v1/files/${key}/nodes?ids=${ids.map(encodeURIComponent).join(",")}\`). No image hosting is needed.`
3650
+ );
3651
+ }
3637
3652
  if (l.exploration) out.push(`- Exploration: \`${l.exploration}\``);
3638
3653
  if (l.supersedes) out.push(`- Replaces suggestion #${l.supersedes}`);
3639
3654
  for (const v of p.previews ?? []) out.push(`- ${cell(v.label)}: ${v.url}`);
@@ -3875,6 +3890,8 @@ function suggestionShapeProblems(raw) {
3875
3890
  if (p.docs !== void 0 && !(Array.isArray(p.docs) && p.docs.every((d) => d && typeof d.component === "string" && typeof d.path === "string"))) out.push('"docs" must be a list of { "component", "path", "after" }.');
3876
3891
  const spec = p.componentSpec;
3877
3892
  if (spec !== void 0 && (!spec || typeof spec.component !== "string" || typeof spec.specPath !== "string" || typeof spec.brief !== "string")) out.push('"componentSpec" must be { "component", "specPath", "spec", "brief" }.');
3893
+ const nodes = p.links?.figma?.nodes;
3894
+ if (nodes !== void 0 && !(Array.isArray(nodes) && nodes.every((n) => n && typeof n.nodeId === "string"))) out.push('"links.figma.nodes" must be a list of { "nodeId", "url"?, "name"?, "state"? }.');
3878
3895
  if (p.files !== void 0) {
3879
3896
  if (!Array.isArray(p.files)) out.push('"files" must be a list.');
3880
3897
  else {
@@ -4564,7 +4581,7 @@ export {
4564
4581
  branchWithJiraKey as Z,
4565
4582
  titleWithJiraKey as _,
4566
4583
  parseChangelog as a,
4567
- changesetBump as a$,
4584
+ changeTable as a$,
4568
4585
  formatFigmaSpec as a0,
4569
4586
  figmaDraftBrief as a1,
4570
4587
  parseFigmaOrigin as a2,
@@ -4575,207 +4592,208 @@ export {
4575
4592
  withFigmaOrigin as a7,
4576
4593
  WAITING_FOR_CLAUDE_LABEL as a8,
4577
4594
  DRAFTED_BY_CLAUDE_LABEL as a9,
4578
- SPEC_FIELDS as aA,
4579
- SUGGESTION_APPLIED_MARK as aB,
4580
- SUGGESTION_APPLY_EXIT as aC,
4581
- SUGGESTION_KINDS as aD,
4582
- SUGGESTION_LABEL as aE,
4583
- SUGGESTION_LIMITS as aF,
4584
- SUGGESTION_REVIEW_MARK as aG,
4585
- SUGGESTION_STATE_LABELS as aH,
4586
- SUGGESTION_STATUS_LABEL as aI,
4587
- SUGGESTION_TOO_LARGE as aJ,
4588
- SuggestionError as aK,
4589
- TOKEN_REJECTED_MESSAGE as aL,
4590
- TOKEN_SETTINGS_URL as aM,
4591
- TRIGGER_LABELS as aN,
4592
- UNRELEASED as aO,
4593
- acceptDocsDraft as aP,
4594
- acceptDocsText as aQ,
4595
- allowedMergeMethods as aR,
4596
- anatomyLabel as aS,
4597
- assertSafeBranch as aT,
4598
- assignRequestOnGitHub as aU,
4599
- assignVersions as aV,
4600
- base64ToUtf8 as aW,
4601
- bridgeMcpInstallCommand as aX,
4602
- canOverride as aY,
4603
- canonicalJson as aZ,
4604
- changeTable as a_,
4595
+ REVIEW_STATUS_ORDER as aA,
4596
+ SPEC_FIELDS as aB,
4597
+ SUGGESTION_APPLIED_MARK as aC,
4598
+ SUGGESTION_APPLY_EXIT as aD,
4599
+ SUGGESTION_KINDS as aE,
4600
+ SUGGESTION_LABEL as aF,
4601
+ SUGGESTION_LIMITS as aG,
4602
+ SUGGESTION_REVIEW_MARK as aH,
4603
+ SUGGESTION_STATE_LABELS as aI,
4604
+ SUGGESTION_STATUS_LABEL as aJ,
4605
+ SUGGESTION_TOO_LARGE as aK,
4606
+ SuggestionError as aL,
4607
+ TOKEN_REJECTED_MESSAGE as aM,
4608
+ TOKEN_SETTINGS_URL as aN,
4609
+ TRIGGER_LABELS as aO,
4610
+ UNRELEASED as aP,
4611
+ acceptDocsDraft as aQ,
4612
+ acceptDocsText as aR,
4613
+ allowedMergeMethods as aS,
4614
+ anatomyLabel as aT,
4615
+ assertSafeBranch as aU,
4616
+ assignRequestOnGitHub as aV,
4617
+ assignVersions as aW,
4618
+ base64ToUtf8 as aX,
4619
+ bridgeMcpInstallCommand as aY,
4620
+ canOverride as aZ,
4621
+ canonicalJson as a_,
4605
4622
  planComponentPush as aa,
4606
4623
  figmaOriginSection as ab,
4607
4624
  figmaBranchTitle as ac,
4608
4625
  figmaSpecSlug as ad,
4609
4626
  figmaDraftBody as ae,
4610
4627
  REQUEST_LABEL as af,
4611
- BULK_LIMIT as ag,
4612
- COLOR_FIELDS as ah,
4613
- COMPONENT_SPECS_VERSION as ai,
4614
- CONFLICT_REASON as aj,
4615
- DEFAULT_COMPONENT_SPECS_FILE as ak,
4616
- DEFAULT_PROTECTED_BRANCHES as al,
4617
- DOCS_CHANGE_BUMP as am,
4618
- DOCS_EDITOR_ORIGIN as an,
4619
- DOCS_KEYS as ao,
4620
- DOCS_MCP_ORIGIN as ap,
4621
- EXPLORATION_CHECK as aq,
4622
- EXPLORATION_STATUS_LABEL as ar,
4623
- EXPLORATION_TIER_LABEL as as,
4624
- EXPLORATION_USE_CASES as at,
4625
- GitHubClient as au,
4626
- PULL_STATE_PILL as av,
4627
- ProtectedBranchError as aw,
4628
- REDUCED_MOTION_NOTE as ax,
4629
- REQUEST_STATUS_LABEL as ay,
4630
- REVIEW_STATUS_ORDER as az,
4628
+ figmaNodeUrl as ag,
4629
+ BULK_LIMIT as ah,
4630
+ COLOR_FIELDS as ai,
4631
+ COMPONENT_SPECS_VERSION as aj,
4632
+ CONFLICT_REASON as ak,
4633
+ DEFAULT_COMPONENT_SPECS_FILE as al,
4634
+ DEFAULT_PROTECTED_BRANCHES as am,
4635
+ DOCS_CHANGE_BUMP as an,
4636
+ DOCS_EDITOR_ORIGIN as ao,
4637
+ DOCS_KEYS as ap,
4638
+ DOCS_MCP_ORIGIN as aq,
4639
+ EXPLORATION_CHECK as ar,
4640
+ EXPLORATION_STATUS_LABEL as as,
4641
+ EXPLORATION_TIER_LABEL as at,
4642
+ EXPLORATION_USE_CASES as au,
4643
+ GitHubClient as av,
4644
+ PULL_STATE_PILL as aw,
4645
+ ProtectedBranchError as ax,
4646
+ REDUCED_MOTION_NOTE as ay,
4647
+ REQUEST_STATUS_LABEL as az,
4631
4648
  buildReport as b,
4632
- listSuggestionsOnGitHub as b$,
4633
- classifyAuth as b0,
4634
- cleanDocs as b1,
4635
- closingIssueNumbers as b2,
4636
- commitFileOnGitHub as b3,
4637
- componentContrastPairs as b4,
4638
- componentMotion as b5,
4639
- componentsUsingMotionToken as b6,
4640
- composeChangeset as b7,
4641
- composeSuggestionAppliedComment as b8,
4642
- composeSuggestionIssue as b9,
4643
- explorationSlugFromBranch as bA,
4644
- figmaCell as bB,
4645
- fileModes as bC,
4646
- filterHistory as bD,
4647
- findOpenDocsProposal as bE,
4648
- findOpenDocsProposalOnGitHub as bF,
4649
- firstParagraph as bG,
4650
- formatDocsJson as bH,
4651
- friendlyMessage as bI,
4652
- getSuggestionOnGitHub as bJ,
4653
- hasSuggestionBlock as bK,
4654
- hasWriteAccess as bL,
4655
- hashSpec as bM,
4656
- iconComponentName as bN,
4657
- isActiveExploration as bO,
4658
- isAutomationPull as bP,
4659
- isDocsProposalBranch as bQ,
4660
- isGuardrailPath as bR,
4661
- isJiraKey as bS,
4662
- isMissingPermission as bT,
4663
- isReleasePull as bU,
4664
- isTokenRejected as bV,
4665
- jiraIssueFields as bW,
4666
- jiraKeyOf as bX,
4667
- linkRequestToExplorationOnGitHub as bY,
4668
- linkSuggestionPrOnGitHub as bZ,
4669
- linkedPullsOf as b_,
4670
- composeSuggestionReviewComment as ba,
4671
- continueDocsProposalOnGitHub as bb,
4672
- contrastDeltaTable as bc,
4673
- countChanges as bd,
4674
- coverageSummary as be,
4675
- cssModuleClasses as bf,
4676
- declineComment as bg,
4677
- declineReasonProblems as bh,
4678
- declineRequestOnGitHub as bi,
4679
- declineSuggestionOnGitHub as bj,
4680
- defaultDocsFooter as bk,
4681
- docsAuthorLine as bl,
4682
- docsFileText as bm,
4683
- docsProposal as bn,
4684
- docsSectionShapes as bo,
4685
- docsSlug as bp,
4686
- docsSuggestionPayload as bq,
4687
- docsText as br,
4688
- draftChangeLine as bs,
4689
- draftPushDescription as bt,
4690
- draftRequestText as bu,
4691
- effectiveTier as bv,
4692
- eligibleReviewers as bw,
4693
- explorationBranch as bx,
4694
- explorationRules as by,
4695
- explorationShareMessage as bz,
4649
+ linkedPullsOf as b$,
4650
+ changesetBump as b0,
4651
+ classifyAuth as b1,
4652
+ cleanDocs as b2,
4653
+ closingIssueNumbers as b3,
4654
+ commitFileOnGitHub as b4,
4655
+ componentContrastPairs as b5,
4656
+ componentMotion as b6,
4657
+ componentsUsingMotionToken as b7,
4658
+ composeChangeset as b8,
4659
+ composeSuggestionAppliedComment as b9,
4660
+ explorationShareMessage as bA,
4661
+ explorationSlugFromBranch as bB,
4662
+ figmaCell as bC,
4663
+ fileModes as bD,
4664
+ filterHistory as bE,
4665
+ findOpenDocsProposal as bF,
4666
+ findOpenDocsProposalOnGitHub as bG,
4667
+ firstParagraph as bH,
4668
+ formatDocsJson as bI,
4669
+ friendlyMessage as bJ,
4670
+ getSuggestionOnGitHub as bK,
4671
+ hasSuggestionBlock as bL,
4672
+ hasWriteAccess as bM,
4673
+ hashSpec as bN,
4674
+ iconComponentName as bO,
4675
+ isActiveExploration as bP,
4676
+ isAutomationPull as bQ,
4677
+ isDocsProposalBranch as bR,
4678
+ isGuardrailPath as bS,
4679
+ isJiraKey as bT,
4680
+ isMissingPermission as bU,
4681
+ isReleasePull as bV,
4682
+ isTokenRejected as bW,
4683
+ jiraIssueFields as bX,
4684
+ jiraKeyOf as bY,
4685
+ linkRequestToExplorationOnGitHub as bZ,
4686
+ linkSuggestionPrOnGitHub as b_,
4687
+ composeSuggestionIssue as ba,
4688
+ composeSuggestionReviewComment as bb,
4689
+ continueDocsProposalOnGitHub as bc,
4690
+ contrastDeltaTable as bd,
4691
+ countChanges as be,
4692
+ coverageSummary as bf,
4693
+ cssModuleClasses as bg,
4694
+ declineComment as bh,
4695
+ declineReasonProblems as bi,
4696
+ declineRequestOnGitHub as bj,
4697
+ declineSuggestionOnGitHub as bk,
4698
+ defaultDocsFooter as bl,
4699
+ docsAuthorLine as bm,
4700
+ docsFileText as bn,
4701
+ docsProposal as bo,
4702
+ docsSectionShapes as bp,
4703
+ docsSlug as bq,
4704
+ docsSuggestionPayload as br,
4705
+ docsText as bs,
4706
+ draftChangeLine as bt,
4707
+ draftPushDescription as bu,
4708
+ draftRequestText as bv,
4709
+ effectiveTier as bw,
4710
+ eligibleReviewers as bx,
4711
+ explorationBranch as by,
4712
+ explorationRules as bz,
4696
4713
  collectHistory as c,
4697
- summarizeApprovals as c$,
4698
- loadRepoFiles as c0,
4699
- mergeGate as c1,
4700
- missingPermissionMessage as c2,
4701
- missingProse as c3,
4702
- modeLabel as c4,
4703
- needsDocsReview as c5,
4704
- openPulls as c6,
4705
- overrideReasonProblem as c7,
4706
- parseChangesetText as c8,
4707
- parseComponentSpecs as c9,
4708
- requestImagePath as cA,
4709
- requestIssueTitle as cB,
4710
- requestStatus as cC,
4711
- requiredApprovals as cD,
4712
- requiredPermission as cE,
4713
- reviewQueue as cF,
4714
- reviewStatusKind as cG,
4715
- reviewSuggestionOnGitHub as cH,
4716
- reviewersToAsk as cI,
4717
- sectionsNeedingReview as cJ,
4718
- sha256Hex as cK,
4719
- shortVariant as cL,
4720
- shortVariants as cM,
4721
- specHash as cN,
4722
- specsUsage as cO,
4723
- suggestionAllowedRoots as cP,
4724
- suggestionAppliedComment as cQ,
4725
- suggestionApplyTable as cR,
4726
- suggestionIssueTitle as cS,
4727
- suggestionKindFromLabels as cT,
4728
- suggestionLabels as cU,
4729
- suggestionPathProblems as cV,
4730
- suggestionPayloadSha as cW,
4731
- suggestionReviewState as cX,
4732
- suggestionShapeProblems as cY,
4733
- suggestionStateLabel as cZ,
4734
- suggestionSubject as c_,
4735
- parseJiraKey as ca,
4736
- parseOverrideComment as cb,
4737
- parseRepo as cc,
4738
- parseRequestIssue as cd,
4739
- parseStructureChange as ce,
4740
- parseSuggestionAppliedComment as cf,
4741
- parseSuggestionIssue as cg,
4742
- parseSuggestionReviewComment as ch,
4743
- parseTier as ci,
4744
- patchDocsJson as cj,
4745
- pendingApprovals as ck,
4746
- permissionLabel as cl,
4747
- planRestore as cm,
4748
- planRevert as cn,
4749
- planSuggestionApply as co,
4750
- planToJson as cp,
4751
- prNumberFromSubject as cq,
4752
- prefillDocs as cr,
4753
- proposeDocsOnGitHub as cs,
4754
- propsTable as ct,
4755
- pullState as cu,
4756
- pushChangeRows as cv,
4757
- rateLimitMessage as cw,
4758
- releasePull as cx,
4759
- reopenEligibility as cy,
4760
- requestBrief as cz,
4714
+ suggestionSubject as c$,
4715
+ listSuggestionsOnGitHub as c0,
4716
+ loadRepoFiles as c1,
4717
+ mergeGate as c2,
4718
+ missingPermissionMessage as c3,
4719
+ missingProse as c4,
4720
+ modeLabel as c5,
4721
+ needsDocsReview as c6,
4722
+ openPulls as c7,
4723
+ overrideReasonProblem as c8,
4724
+ parseChangesetText as c9,
4725
+ requestBrief as cA,
4726
+ requestImagePath as cB,
4727
+ requestIssueTitle as cC,
4728
+ requestStatus as cD,
4729
+ requiredApprovals as cE,
4730
+ requiredPermission as cF,
4731
+ reviewQueue as cG,
4732
+ reviewStatusKind as cH,
4733
+ reviewSuggestionOnGitHub as cI,
4734
+ reviewersToAsk as cJ,
4735
+ sectionsNeedingReview as cK,
4736
+ sha256Hex as cL,
4737
+ shortVariant as cM,
4738
+ shortVariants as cN,
4739
+ specHash as cO,
4740
+ specsUsage as cP,
4741
+ suggestionAllowedRoots as cQ,
4742
+ suggestionAppliedComment as cR,
4743
+ suggestionApplyTable as cS,
4744
+ suggestionIssueTitle as cT,
4745
+ suggestionKindFromLabels as cU,
4746
+ suggestionLabels as cV,
4747
+ suggestionPathProblems as cW,
4748
+ suggestionPayloadSha as cX,
4749
+ suggestionReviewState as cY,
4750
+ suggestionShapeProblems as cZ,
4751
+ suggestionStateLabel as c_,
4752
+ parseComponentSpecs as ca,
4753
+ parseJiraKey as cb,
4754
+ parseOverrideComment as cc,
4755
+ parseRepo as cd,
4756
+ parseRequestIssue as ce,
4757
+ parseStructureChange as cf,
4758
+ parseSuggestionAppliedComment as cg,
4759
+ parseSuggestionIssue as ch,
4760
+ parseSuggestionReviewComment as ci,
4761
+ parseTier as cj,
4762
+ patchDocsJson as ck,
4763
+ pendingApprovals as cl,
4764
+ permissionLabel as cm,
4765
+ planRestore as cn,
4766
+ planRevert as co,
4767
+ planSuggestionApply as cp,
4768
+ planToJson as cq,
4769
+ prNumberFromSubject as cr,
4770
+ prefillDocs as cs,
4771
+ proposeDocsOnGitHub as ct,
4772
+ propsTable as cu,
4773
+ pullState as cv,
4774
+ pushChangeRows as cw,
4775
+ rateLimitMessage as cx,
4776
+ releasePull as cy,
4777
+ reopenEligibility as cz,
4761
4778
  applyTokenEdits as d,
4762
- summarizeCi as d0,
4763
- summarizeSuggestionApprovals as d1,
4764
- syncSuggestionStateLabel as d2,
4765
- titleOf as d3,
4766
- toChangeSummary as d4,
4767
- tokenCssVar as d5,
4768
- tokenHistory as d6,
4769
- unsafePathProblem as d7,
4770
- utf8ToBase64 as d8,
4771
- validateComponentSpec as d9,
4772
- validateDocs as da,
4773
- validateIntegrations as db,
4774
- variantName as dc,
4775
- versionTimeline as dd,
4776
- withAuthorLine as de,
4777
- withRequestExploration as df,
4778
- withoutJiraKey as dg,
4779
+ summarizeApprovals as d0,
4780
+ summarizeCi as d1,
4781
+ summarizeSuggestionApprovals as d2,
4782
+ syncSuggestionStateLabel as d3,
4783
+ titleOf as d4,
4784
+ toChangeSummary as d5,
4785
+ tokenCssVar as d6,
4786
+ tokenHistory as d7,
4787
+ unsafePathProblem as d8,
4788
+ utf8ToBase64 as d9,
4789
+ validateComponentSpec as da,
4790
+ validateDocs as db,
4791
+ validateIntegrations as dc,
4792
+ variantName as dd,
4793
+ versionTimeline as de,
4794
+ withAuthorLine as df,
4795
+ withRequestExploration as dg,
4796
+ withoutJiraKey as dh,
4779
4797
  buildHistoryEntry as e,
4780
4798
  coerceValue as f,
4781
4799
  checkLayeredPair as g,
@@ -4799,4 +4817,4 @@ export {
4799
4817
  explorationNote as y,
4800
4818
  explorationNotePath as z
4801
4819
  };
4802
- //# sourceMappingURL=suggestion-apply-ByBEYtct.js.map
4820
+ //# sourceMappingURL=suggestion-apply-DxXRGQrO.js.map