@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.
- package/README.md +16 -0
- package/dist/figma-push-github.d.ts +6 -1
- package/dist/figma-push.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +392 -228
- package/dist/index.js.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/storybook.d.ts +94 -0
- package/dist/{suggestion-apply-ByBEYtct.js → suggestion-apply-DxXRGQrO.js} +212 -194
- package/dist/{suggestion-apply-ByBEYtct.js.map → suggestion-apply-DxXRGQrO.js.map} +1 -1
- package/dist/suggestions.d.ts +14 -0
- package/package.json +1 -1
package/dist/node/index.js
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
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
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
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
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
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
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
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
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
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
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
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-
|
|
4820
|
+
//# sourceMappingURL=suggestion-apply-DxXRGQrO.js.map
|