@vivswan/github-settings-as-code 2.0.1-main.688.20261005.g0168a94 → 2.0.1-main.699.20261005.g2b5d2ff

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/lib/pkg/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { Ft as countNoun, Kt as redactRanges, N as failRun, Rt as GitHubApi, S as writeReplacing, St as sectionGrant, Wt as maskRegistry, Z as skippedSectionKeys, a as RENDER_INPUTS, c as SNAPSHOT_INPUTS, d as parseConfig, et as describeProblem, f as parseSnapshotFileConfig, k as readSettingsFile, l as SNAPSHOT_ONLY_INPUTS, o as RENDER_ONLY_INPUTS, p as snapshotFileDestination, r as INPUT_DECLS, st as SECTIONS } from "./inputs-FGKonc0Y.js";
3
- import { a as snapshotRepository, o as validateSettings, s as executeRun } from "./src-DA2IA55C.js";
2
+ import { F as failRun, Ht as countNoun, Q as maskRegistry, a as RENDER_INPUTS, c as SNAPSHOT_INPUTS, d as parseConfig, et as redactRanges, f as parseSnapshotFileConfig, h as GitHubApi, it as skippedSectionKeys, j as readSettingsFile, kt as sectionGrant, l as SNAPSHOT_ONLY_INPUTS, mt as SECTIONS, o as RENDER_ONLY_INPUTS, p as snapshotFileDestination, r as INPUT_DECLS, st as describeProblem, w as writeReplacing } from "./inputs-ClH-MkXs.js";
3
+ import { a as snapshotRepository, o as validateSettings, s as executeRun } from "./src-Gr_Qvisc.js";
4
4
  import { appendFileSync, existsSync } from "node:fs";
5
5
  import { ResultAsync, err } from "neverthrow";
6
6
  import { randomUUID } from "node:crypto";
@@ -1,4 +1,4 @@
1
- import { $n as RepoRef, A as SingleConfig, An as DEFAULT_API_VERSION, At as TaggedEndpoint, B as runMulti, Bn as isRateLimitError, Bt as ValidatedInput, Cn as DiscoveryFilters, D as SnapshotConfig, Dn as discoverRepos, Dt as SectionSelection, Fn as RequestMark, Ft as SectionInput, G as failRun, Gn as OutputName, Hn as CollectedLine, I as MultiConfig, Jn as prefixedIo, Jt as OnMissingPermission, Kn as collectingIo, Kt as DenialPolicy, Lt as SectionModule, M as runSingle, Mn as GitHubApiOptions, Mt as allGraphqlOps, N as RenderConfig, Nn as GitHubClient, Nt as sectionModule, O as concludeSnapshot, On as ApiError, Ot as SettingsSource, P as runRender, Pn as GraphqlOp, Qn as RemoteTarget, Qt as SnapshotContext, Rt as SectionSnapshot, S as parseConfig, Sn as DEFAULT_DISCOVERY_FILTERS, St as ValidatedSettings, T as FinishedSnapshot, U as concludeRender, Un as Io, Ut as sectionGrant, V as FinishedRender, Vn as AnnotationLevel, W as concludeRun, Wn as MaskPair, Xn as silentIo, Y as TargetOutcome, Yn as redactRanges, Yt as PlanContext, Zn as CentralTarget, Zt as SectionPlan, _ as RunConfig, _r as SettingsFile, _t as worstOf, an as EndpointDecl, ar as Problem, at as deliverArtifactReport, br as Layering, bt as RepoRunResult, cn as endpointPath, cr as SettingsFileRole, dr as describeProblem, dt as SectionSnapshotOutcome, er as Target, fn as FoldOptions, ft as SnapshotResult, g as RunCapabilities, gr as SectionKey, gt as RunOutcome, hn as describeRemoval, hr as SECTION_KEYS, ht as RUN_RESULTS, i as ConfigEnv, in as SectionFailure, ir as LayerProblem, it as ArtifactUploader, j as SingleOutcome, jn as GitHubApi, jt as allEndpoints, k as runSnapshot, kn as ClientAnswer, kt as SECTIONS, lr as SettingsProblem, mn as RemovalNotice, nn as snapshotContext, nr as parseRepoSlug, on as Route, or as ProblemOf, ot as encryptReport, pn as Layer, qn as maskRegistry, r as readLayerFiles, rn as GraphqlOpDecl, rt as openReportChannel, sn as endpointMethod, st as parseRecipient, tn as planContext, tr as dedupeTargets, tt as PrivateReportChannel, u as InputReader, ut as RenderableSnapshot, vn as UndeclaredPolicy, vr as UNDECLARED_POLICY_SECTIONS, xt as SectionOutcome, yr as UndeclaredPolicySection, yt as RepoRunOptions, zn as isPermissionError, zt as ValidatedBrand } from "./layers-BAM94l2M.js";
1
+ import { $n as RepoRef, A as SingleConfig, An as GitHubApi, At as TaggedEndpoint, B as runMulti, Bn as OutputName, Bt as ValidatedInput, Cn as DiscoveryFilters, D as SnapshotConfig, Dn as discoverRepos, Dt as SectionSelection, Ft as SectionInput, G as failRun, Gn as silentIo, Hn as maskRegistry, I as MultiConfig, In as AnnotationLevel, Jt as OnMissingPermission, Kn as ApiError, Kt as DenialPolicy, Ln as CollectedLine, Lt as SectionModule, M as runSingle, Mn as GitHubClient, Mt as allGraphqlOps, N as RenderConfig, Nn as GraphqlOp, Nt as sectionModule, O as concludeSnapshot, On as ClientAnswer, Ot as SettingsSource, P as runRender, Pn as RequestMark, Qn as RemoteTarget, Qt as SnapshotContext, Rn as Io, Rt as SectionSnapshot, S as parseConfig, Sn as DEFAULT_DISCOVERY_FILTERS, St as ValidatedSettings, T as FinishedSnapshot, U as concludeRender, Un as prefixedIo, Ut as sectionGrant, V as FinishedRender, Vn as collectingIo, W as concludeRun, Wn as redactRanges, Xn as isRateLimitError, Y as TargetOutcome, Yn as isPermissionError, Yt as PlanContext, Zn as CentralTarget, Zt as SectionPlan, _ as RunConfig, _r as SettingsFile, _t as worstOf, an as EndpointDecl, ar as Problem, at as deliverArtifactReport, br as Layering, bt as RepoRunResult, cn as endpointPath, cr as SettingsFileRole, dr as describeProblem, dt as SectionSnapshotOutcome, er as Target, fn as FoldOptions, ft as SnapshotResult, g as RunCapabilities, gr as SectionKey, gt as RunOutcome, hn as describeRemoval, hr as SECTION_KEYS, ht as RUN_RESULTS, i as ConfigEnv, in as SectionFailure, ir as LayerProblem, it as ArtifactUploader, j as SingleOutcome, jn as GitHubApiOptions, jt as allEndpoints, k as runSnapshot, kn as DEFAULT_API_VERSION, kt as SECTIONS, lr as SettingsProblem, mn as RemovalNotice, nn as snapshotContext, nr as parseRepoSlug, on as Route, or as ProblemOf, ot as encryptReport, pn as Layer, r as readLayerFiles, rn as GraphqlOpDecl, rt as openReportChannel, sn as endpointMethod, st as parseRecipient, tn as planContext, tr as dedupeTargets, tt as PrivateReportChannel, u as InputReader, ut as RenderableSnapshot, vn as UndeclaredPolicy, vr as UNDECLARED_POLICY_SECTIONS, xt as SectionOutcome, yr as UndeclaredPolicySection, yt as RepoRunOptions, zn as MaskPair, zt as ValidatedBrand } from "./layers-DcnaJxRg.js";
2
2
  import { Result } from "neverthrow";
3
3
  //#region src/discovery/central.d.ts
4
4
  export declare function resolveCentralTargets(reposDir: string, adminOwner: string): Result<{
package/lib/pkg/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { D as runMulti, Dt as endpointPath, Et as endpointMethod, G as composeReport, Gt as prefixedIo, Ht as isRateLimitError, J as parseRecipient, Jt as resolveCentralTargets, K as deliverArtifactReport, Kt as redactRanges, Lt as DEFAULT_API_VERSION, M as concludeRun, N as failRun, O as parseSettingsDoc, Ot as parseReposInput, Pt as discoverRepos, Rt as GitHubApi, St as sectionGrant, Ut as collectingIo, V as openReportChannel, Vt as isPermissionError, Wt as maskRegistry, Xt as parseRepoSlug, Yt as dedupeTargets, _t as SECTION_KEYS, at as describeRemoval, ct as allEndpoints, d as parseConfig, et as describeProblem, g as runSnapshot, h as concludeSnapshot, it as worstOf, j as concludeRender, jt as DEFAULT_DISCOVERY_FILTERS, k as readSettingsFile, lt as allGraphqlOps, mt as snapshotContext, nt as SectionSelection, pt as planContext, q as encryptReport, qt as silentIo, rt as RUN_RESULTS, st as SECTIONS, ut as sectionModule, vt as SettingsFile, w as readLayerFiles, y as runSingle, yt as UNDECLARED_POLICY_SECTIONS } from "./inputs-FGKonc0Y.js";
2
- import { a as snapshotRepository, c as runRender, i as snapshotRepositories, n as checkRepository, o as validateSettings, r as mergeSettings, s as executeRun, t as applyRepository } from "./src-DA2IA55C.js";
1
+ import { $ as prefixedIo, A as parseSettingsDoc, E as readLayerFiles, Et as UNDECLARED_POLICY_SECTIONS, F as failRun, Ft as parseReposInput, J as deliverArtifactReport, Jt as resolveCentralTargets, Kt as isPermissionError, N as concludeRender, Nt as endpointMethod, P as concludeRun, Pt as endpointPath, Q as maskRegistry, Rt as DEFAULT_DISCOVERY_FILTERS, Tt as SettingsFile, U as openReportChannel, Vt as discoverRepos, X as parseRecipient, Xt as parseRepoSlug, Y as encryptReport, Yt as dedupeTargets, Z as collectingIo, _ as concludeSnapshot, _t as sectionModule, bt as planContext, d as parseConfig, dt as worstOf, et as redactRanges, ft as describeRemoval, gt as allGraphqlOps, h as GitHubApi, ht as allEndpoints, j as readSettingsFile, k as runMulti, kt as sectionGrant, lt as SectionSelection, m as DEFAULT_API_VERSION, mt as SECTIONS, q as composeReport, qt as isRateLimitError, st as describeProblem, tt as silentIo, ut as RUN_RESULTS, v as runSnapshot, wt as SECTION_KEYS, x as runSingle, xt as snapshotContext } from "./inputs-ClH-MkXs.js";
2
+ import { a as snapshotRepository, c as runRender, i as snapshotRepositories, n as checkRepository, o as validateSettings, r as mergeSettings, s as executeRun, t as applyRepository } from "./src-Gr_Qvisc.js";
3
3
  export { DEFAULT_API_VERSION, DEFAULT_DISCOVERY_FILTERS, GitHubApi, RUN_RESULTS, SECTIONS, SECTION_KEYS, SectionSelection, SettingsFile, UNDECLARED_POLICY_SECTIONS, allEndpoints, allGraphqlOps, applyRepository, checkRepository, collectingIo, composeReport, concludeRender, concludeRun, concludeSnapshot, dedupeTargets, deliverArtifactReport, describeProblem, describeRemoval, discoverRepos, encryptReport, endpointMethod, endpointPath, executeRun, failRun, isPermissionError, isRateLimitError, maskRegistry, mergeSettings, openReportChannel, parseConfig, parseRecipient, parseRepoSlug, parseReposInput, parseSettingsDoc, planContext, prefixedIo, readLayerFiles, readSettingsFile, redactRanges, resolveCentralTargets, runMulti, runRender, runSingle, runSnapshot, sectionGrant, sectionModule, silentIo, snapshotContext, snapshotRepositories, snapshotRepository, validateSettings, worstOf };