@firestartr/cli 1.52.0-snapshot-3 → 1.52.0-snapshot-5
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/build/index.js
CHANGED
|
@@ -362778,7 +362778,7 @@ function toJson_FirestartrGithubRepositorySecretsSectionSpecSecrets(obj) {
|
|
|
362778
362778
|
const result = {
|
|
362779
362779
|
'actions': obj.actions?.map(y => toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsActions(y)),
|
|
362780
362780
|
'codespaces': obj.codespaces?.map(y => toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces(y)),
|
|
362781
|
-
'
|
|
362781
|
+
'dependabot': obj.dependabot?.map(y => toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot(y)),
|
|
362782
362782
|
};
|
|
362783
362783
|
// filter undefined values
|
|
362784
362784
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
@@ -362845,16 +362845,16 @@ function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces(ob
|
|
|
362845
362845
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
362846
362846
|
}
|
|
362847
362847
|
/**
|
|
362848
|
-
* Converts an object of type '
|
|
362848
|
+
* Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot' to JSON representation.
|
|
362849
362849
|
*/
|
|
362850
362850
|
/* eslint-disable max-len, @stylistic/max-len, quote-props, @stylistic/quote-props */
|
|
362851
|
-
function
|
|
362851
|
+
function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot(obj) {
|
|
362852
362852
|
if (obj === undefined) {
|
|
362853
362853
|
return undefined;
|
|
362854
362854
|
}
|
|
362855
362855
|
const result = {
|
|
362856
362856
|
'name': obj.name,
|
|
362857
|
-
'ref':
|
|
362857
|
+
'ref': toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef(obj.ref),
|
|
362858
362858
|
};
|
|
362859
362859
|
// filter undefined values
|
|
362860
362860
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
@@ -362920,10 +362920,10 @@ function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef
|
|
|
362920
362920
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
362921
362921
|
}
|
|
362922
362922
|
/**
|
|
362923
|
-
* Converts an object of type '
|
|
362923
|
+
* Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef' to JSON representation.
|
|
362924
362924
|
*/
|
|
362925
362925
|
/* eslint-disable max-len, @stylistic/max-len, quote-props, @stylistic/quote-props */
|
|
362926
|
-
function
|
|
362926
|
+
function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef(obj) {
|
|
362927
362927
|
if (obj === undefined) {
|
|
362928
362928
|
return undefined;
|
|
362929
362929
|
}
|
|
@@ -362989,13 +362989,13 @@ var FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRefKind;
|
|
|
362989
362989
|
/**
|
|
362990
362990
|
* The type of Kubernetes resource to reference.
|
|
362991
362991
|
*
|
|
362992
|
-
* @schema
|
|
362992
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind
|
|
362993
362993
|
*/
|
|
362994
|
-
var
|
|
362995
|
-
(function (
|
|
362994
|
+
var FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind;
|
|
362995
|
+
(function (FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind) {
|
|
362996
362996
|
/** Secret */
|
|
362997
|
-
|
|
362998
|
-
})(
|
|
362997
|
+
FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind["SECRET"] = "Secret";
|
|
362998
|
+
})(FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind || (FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind = {}));
|
|
362999
362999
|
/**
|
|
363000
363000
|
* @schema FirestartrGithubRepositorySecretsSectionSpecContextProviderRefKind
|
|
363001
363001
|
*/
|
|
@@ -364074,13 +364074,13 @@ class RepoSecretsSectionChart extends BaseGithubChart {
|
|
|
364074
364074
|
},
|
|
364075
364075
|
},
|
|
364076
364076
|
spec: {
|
|
364077
|
-
context:
|
|
364077
|
+
context: this.get('repoCr').spec?.context,
|
|
364078
364078
|
org: claim.org,
|
|
364079
364079
|
repositoryTarget,
|
|
364080
364080
|
secrets: {
|
|
364081
364081
|
actions: this.renderSecrets('actions', github),
|
|
364082
364082
|
codespaces: this.renderSecrets('codespaces', github),
|
|
364083
|
-
|
|
364083
|
+
dependabot: this.renderSecrets('dependabot', github),
|
|
364084
364084
|
},
|
|
364085
364085
|
firestartr: {
|
|
364086
364086
|
tfStateKey: this.get('repoCr').spec.firestartr.tfStateKey,
|
|
@@ -365265,7 +365265,7 @@ function validateClaimsSecretsRefs(ref, renderClaims) {
|
|
|
365265
365265
|
if (!secrets) {
|
|
365266
365266
|
return;
|
|
365267
365267
|
}
|
|
365268
|
-
for (const section of ['actions', 'codespaces', '
|
|
365268
|
+
for (const section of ['actions', 'codespaces', 'dependabot']) {
|
|
365269
365269
|
const secretsSection = secrets[section];
|
|
365270
365270
|
if (!secretsSection) {
|
|
365271
365271
|
continue;
|
|
@@ -1922,9 +1922,9 @@ export interface FirestartrGithubRepositorySecretsSectionSpecSecrets {
|
|
|
1922
1922
|
*/
|
|
1923
1923
|
readonly codespaces?: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces[];
|
|
1924
1924
|
/**
|
|
1925
|
-
* @schema FirestartrGithubRepositorySecretsSectionSpecSecrets#
|
|
1925
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecrets#dependabot
|
|
1926
1926
|
*/
|
|
1927
|
-
readonly
|
|
1927
|
+
readonly dependabot?: FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot[];
|
|
1928
1928
|
}
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecrets' to JSON representation.
|
|
@@ -2017,26 +2017,26 @@ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces {
|
|
|
2017
2017
|
*/
|
|
2018
2018
|
export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces | undefined): Record<string, any> | undefined;
|
|
2019
2019
|
/**
|
|
2020
|
-
* @schema
|
|
2020
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot
|
|
2021
2021
|
*/
|
|
2022
|
-
export interface
|
|
2022
|
+
export interface FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot {
|
|
2023
2023
|
/**
|
|
2024
2024
|
* The name of the secret.
|
|
2025
2025
|
*
|
|
2026
|
-
* @schema
|
|
2026
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot#name
|
|
2027
2027
|
*/
|
|
2028
2028
|
readonly name: string;
|
|
2029
2029
|
/**
|
|
2030
2030
|
* A reference to the Kubernetes Secret resource that contains the value.
|
|
2031
2031
|
*
|
|
2032
|
-
* @schema
|
|
2032
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot#ref
|
|
2033
2033
|
*/
|
|
2034
|
-
readonly ref:
|
|
2034
|
+
readonly ref: FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef;
|
|
2035
2035
|
}
|
|
2036
2036
|
/**
|
|
2037
|
-
* Converts an object of type '
|
|
2037
|
+
* Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot' to JSON representation.
|
|
2038
2038
|
*/
|
|
2039
|
-
export declare function
|
|
2039
|
+
export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsDependabot | undefined): Record<string, any> | undefined;
|
|
2040
2040
|
/**
|
|
2041
2041
|
* The provider configuration for authenticating with an external service (e.g., GitHub).
|
|
2042
2042
|
*
|
|
@@ -2128,32 +2128,32 @@ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecre
|
|
|
2128
2128
|
/**
|
|
2129
2129
|
* A reference to the Kubernetes Secret resource that contains the value.
|
|
2130
2130
|
*
|
|
2131
|
-
* @schema
|
|
2131
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef
|
|
2132
2132
|
*/
|
|
2133
|
-
export interface
|
|
2133
|
+
export interface FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef {
|
|
2134
2134
|
/**
|
|
2135
2135
|
* The type of Kubernetes resource to reference.
|
|
2136
2136
|
*
|
|
2137
|
-
* @schema
|
|
2137
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef#kind
|
|
2138
2138
|
*/
|
|
2139
|
-
readonly kind:
|
|
2139
|
+
readonly kind: FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind;
|
|
2140
2140
|
/**
|
|
2141
2141
|
* The name of the Kubernetes Secret resource.
|
|
2142
2142
|
*
|
|
2143
|
-
* @schema
|
|
2143
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef#name
|
|
2144
2144
|
*/
|
|
2145
2145
|
readonly name: string;
|
|
2146
2146
|
/**
|
|
2147
2147
|
* The key within the Kubernetes Secret data.
|
|
2148
2148
|
*
|
|
2149
|
-
* @schema
|
|
2149
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef#key
|
|
2150
2150
|
*/
|
|
2151
2151
|
readonly key: string;
|
|
2152
2152
|
}
|
|
2153
2153
|
/**
|
|
2154
|
-
* Converts an object of type '
|
|
2154
|
+
* Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef' to JSON representation.
|
|
2155
2155
|
*/
|
|
2156
|
-
export declare function
|
|
2156
|
+
export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRef | undefined): Record<string, any> | undefined;
|
|
2157
2157
|
/**
|
|
2158
2158
|
* @schema FirestartrGithubRepositorySecretsSectionSpecContextProviderRef
|
|
2159
2159
|
*/
|
|
@@ -2209,9 +2209,9 @@ export declare enum FirestartrGithubRepositorySecretsSectionSpecSecretsCodespace
|
|
|
2209
2209
|
/**
|
|
2210
2210
|
* The type of Kubernetes resource to reference.
|
|
2211
2211
|
*
|
|
2212
|
-
* @schema
|
|
2212
|
+
* @schema FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind
|
|
2213
2213
|
*/
|
|
2214
|
-
export declare enum
|
|
2214
|
+
export declare enum FirestartrGithubRepositorySecretsSectionSpecSecretsDependabotRefKind {
|
|
2215
2215
|
/** Secret */
|
|
2216
2216
|
SECRET = "Secret"
|
|
2217
2217
|
}
|