@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 +2 -2
- package/lib/pkg/index.d.ts +1 -1
- package/lib/pkg/index.js +2 -2
- package/lib/pkg/{inputs-FGKonc0Y.js → inputs-ClH-MkXs.js} +1984 -1913
- package/lib/pkg/internal.d.ts +1 -1
- package/lib/pkg/internal.js +1 -1
- package/lib/pkg/{layers-BAM94l2M.d.ts → layers-DcnaJxRg.d.ts} +107 -99
- package/lib/pkg/{src-DA2IA55C.js → src-Gr_Qvisc.js} +1 -1
- package/package.json +1 -1
package/lib/pkg/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { a as snapshotRepository, o as validateSettings, s as executeRun } from "./src-
|
|
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";
|
package/lib/pkg/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as RepoRef, A as SingleConfig, An as
|
|
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 {
|
|
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-
|
|
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 };
|