@firestartr/cli 2.10.0-snapshot-org-secrets-1 → 2.10.0-snapshot-org-secrets-3
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 +66 -1
- package/build/packages/cdk8s_renderer/imports/firestartr.dev.d.ts +75 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +12 -0
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +12 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgSecrets.schema.d.ts +12 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgSettings.d.ts +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -323549,6 +323549,18 @@ const organizationSettingsProperties = {
|
|
|
323549
323549
|
value: {
|
|
323550
323550
|
$ref: 'firestartr.dev://github/GithubOrgClaimSecretRef',
|
|
323551
323551
|
},
|
|
323552
|
+
visibility: {
|
|
323553
|
+
type: 'string',
|
|
323554
|
+
enum: ['all', 'selected', 'private'],
|
|
323555
|
+
description: 'which repositories can access the secret',
|
|
323556
|
+
},
|
|
323557
|
+
selected_repositories: {
|
|
323558
|
+
type: 'array',
|
|
323559
|
+
items: {
|
|
323560
|
+
type: 'string',
|
|
323561
|
+
},
|
|
323562
|
+
description: 'list of repository refs when visibility is selected',
|
|
323563
|
+
},
|
|
323552
323564
|
},
|
|
323553
323565
|
required: ['name', 'value'],
|
|
323554
323566
|
additionalProperties: false,
|
|
@@ -327643,6 +327655,8 @@ function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActions(obj)
|
|
|
327643
327655
|
const result = {
|
|
327644
327656
|
'name': obj.name,
|
|
327645
327657
|
'ref': toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef(obj.ref),
|
|
327658
|
+
'visibility': obj.visibility,
|
|
327659
|
+
'selectedRepositories': obj.selectedRepositories?.map(y => y),
|
|
327646
327660
|
};
|
|
327647
327661
|
// filter undefined values
|
|
327648
327662
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
@@ -327658,6 +327672,8 @@ function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces(o
|
|
|
327658
327672
|
const result = {
|
|
327659
327673
|
'name': obj.name,
|
|
327660
327674
|
'ref': toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef(obj.ref),
|
|
327675
|
+
'visibility': obj.visibility,
|
|
327676
|
+
'selectedRepositories': obj.selectedRepositories?.map(y => y),
|
|
327661
327677
|
};
|
|
327662
327678
|
// filter undefined values
|
|
327663
327679
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
@@ -327673,6 +327689,8 @@ function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot(o
|
|
|
327673
327689
|
const result = {
|
|
327674
327690
|
'name': obj.name,
|
|
327675
327691
|
'ref': toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef(obj.ref),
|
|
327692
|
+
'visibility': obj.visibility,
|
|
327693
|
+
'selectedRepositories': obj.selectedRepositories?.map(y => y),
|
|
327676
327694
|
};
|
|
327677
327695
|
// filter undefined values
|
|
327678
327696
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
@@ -327735,6 +327753,21 @@ function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef(o
|
|
|
327735
327753
|
// filter undefined values
|
|
327736
327754
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
327737
327755
|
}
|
|
327756
|
+
/* eslint-enable max-len, @stylistic/max-len, quote-props, @stylistic/quote-props */
|
|
327757
|
+
/**
|
|
327758
|
+
* Which repositories can access the secret.
|
|
327759
|
+
*
|
|
327760
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility
|
|
327761
|
+
*/
|
|
327762
|
+
var FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility;
|
|
327763
|
+
(function (FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility) {
|
|
327764
|
+
/** all */
|
|
327765
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility["ALL"] = "all";
|
|
327766
|
+
/** selected */
|
|
327767
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility["SELECTED"] = "selected";
|
|
327768
|
+
/** private */
|
|
327769
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility["PRIVATE"] = "private";
|
|
327770
|
+
})(FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility || (FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility = {}));
|
|
327738
327771
|
/**
|
|
327739
327772
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef' to JSON representation.
|
|
327740
327773
|
*/
|
|
@@ -327751,6 +327784,21 @@ function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRe
|
|
|
327751
327784
|
// filter undefined values
|
|
327752
327785
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
327753
327786
|
}
|
|
327787
|
+
/* eslint-enable max-len, @stylistic/max-len, quote-props, @stylistic/quote-props */
|
|
327788
|
+
/**
|
|
327789
|
+
* Which repositories can access the secret.
|
|
327790
|
+
*
|
|
327791
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility
|
|
327792
|
+
*/
|
|
327793
|
+
var FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility;
|
|
327794
|
+
(function (FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility) {
|
|
327795
|
+
/** all */
|
|
327796
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility["ALL"] = "all";
|
|
327797
|
+
/** selected */
|
|
327798
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility["SELECTED"] = "selected";
|
|
327799
|
+
/** private */
|
|
327800
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility["PRIVATE"] = "private";
|
|
327801
|
+
})(FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility || (FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility = {}));
|
|
327754
327802
|
/**
|
|
327755
327803
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef' to JSON representation.
|
|
327756
327804
|
*/
|
|
@@ -327767,6 +327815,21 @@ function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRe
|
|
|
327767
327815
|
// filter undefined values
|
|
327768
327816
|
return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
|
|
327769
327817
|
}
|
|
327818
|
+
/* eslint-enable max-len, @stylistic/max-len, quote-props, @stylistic/quote-props */
|
|
327819
|
+
/**
|
|
327820
|
+
* Which repositories can access the secret.
|
|
327821
|
+
*
|
|
327822
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility
|
|
327823
|
+
*/
|
|
327824
|
+
var FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility;
|
|
327825
|
+
(function (FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility) {
|
|
327826
|
+
/** all */
|
|
327827
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility["ALL"] = "all";
|
|
327828
|
+
/** selected */
|
|
327829
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility["SELECTED"] = "selected";
|
|
327830
|
+
/** private */
|
|
327831
|
+
FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility["PRIVATE"] = "private";
|
|
327832
|
+
})(FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility || (FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility = {}));
|
|
327770
327833
|
/**
|
|
327771
327834
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextBackendRef' to JSON representation.
|
|
327772
327835
|
*/
|
|
@@ -331280,6 +331343,8 @@ class GithubOrgSecretSectionChart extends BaseGithubChart {
|
|
|
331280
331343
|
name: parts[2],
|
|
331281
331344
|
key: parts[3],
|
|
331282
331345
|
},
|
|
331346
|
+
visibility: secret.visibility || 'all',
|
|
331347
|
+
selectedRepositories: secret.selected_repositories || [],
|
|
331283
331348
|
};
|
|
331284
331349
|
});
|
|
331285
331350
|
};
|
|
@@ -526170,7 +526235,7 @@ const crsStatusSubcommand = {
|
|
|
526170
526235
|
};
|
|
526171
526236
|
|
|
526172
526237
|
;// CONCATENATED MODULE: ./package.json
|
|
526173
|
-
const package_namespaceObject = JSON.parse('{"i8":"2.10.0-snapshot-org-secrets-
|
|
526238
|
+
const package_namespaceObject = JSON.parse('{"i8":"2.10.0-snapshot-org-secrets-3"}');
|
|
526174
526239
|
;// CONCATENATED MODULE: ../../package.json
|
|
526175
526240
|
const package_namespaceObject_1 = {"i8":"2.9.0"};
|
|
526176
526241
|
// EXTERNAL MODULE: ../../node_modules/semver/index.js
|
|
@@ -690,6 +690,18 @@ export interface FirestartrGithubOrganizationSecretSectionSpecSecretsActions {
|
|
|
690
690
|
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#ref
|
|
691
691
|
*/
|
|
692
692
|
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef;
|
|
693
|
+
/**
|
|
694
|
+
* Which repositories can access the secret.
|
|
695
|
+
*
|
|
696
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#visibility
|
|
697
|
+
*/
|
|
698
|
+
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility;
|
|
699
|
+
/**
|
|
700
|
+
* List of repository names when visibility is selected.
|
|
701
|
+
*
|
|
702
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#selectedRepositories
|
|
703
|
+
*/
|
|
704
|
+
readonly selectedRepositories?: string[];
|
|
693
705
|
}
|
|
694
706
|
/**
|
|
695
707
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsActions' to JSON representation.
|
|
@@ -711,6 +723,18 @@ export interface FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces
|
|
|
711
723
|
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#ref
|
|
712
724
|
*/
|
|
713
725
|
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef;
|
|
726
|
+
/**
|
|
727
|
+
* Which repositories can access the secret.
|
|
728
|
+
*
|
|
729
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#visibility
|
|
730
|
+
*/
|
|
731
|
+
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility;
|
|
732
|
+
/**
|
|
733
|
+
* List of repository names when visibility is selected.
|
|
734
|
+
*
|
|
735
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#selectedRepositories
|
|
736
|
+
*/
|
|
737
|
+
readonly selectedRepositories?: string[];
|
|
714
738
|
}
|
|
715
739
|
/**
|
|
716
740
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces' to JSON representation.
|
|
@@ -732,6 +756,18 @@ export interface FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot
|
|
|
732
756
|
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#ref
|
|
733
757
|
*/
|
|
734
758
|
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef;
|
|
759
|
+
/**
|
|
760
|
+
* Which repositories can access the secret.
|
|
761
|
+
*
|
|
762
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#visibility
|
|
763
|
+
*/
|
|
764
|
+
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility;
|
|
765
|
+
/**
|
|
766
|
+
* List of repository names when visibility is selected.
|
|
767
|
+
*
|
|
768
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#selectedRepositories
|
|
769
|
+
*/
|
|
770
|
+
readonly selectedRepositories?: string[];
|
|
735
771
|
}
|
|
736
772
|
/**
|
|
737
773
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot' to JSON representation.
|
|
@@ -805,6 +841,19 @@ export interface FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef
|
|
|
805
841
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef' to JSON representation.
|
|
806
842
|
*/
|
|
807
843
|
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef | undefined): Record<string, any> | undefined;
|
|
844
|
+
/**
|
|
845
|
+
* Which repositories can access the secret.
|
|
846
|
+
*
|
|
847
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility
|
|
848
|
+
*/
|
|
849
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility {
|
|
850
|
+
/** all */
|
|
851
|
+
ALL = "all",
|
|
852
|
+
/** selected */
|
|
853
|
+
SELECTED = "selected",
|
|
854
|
+
/** private */
|
|
855
|
+
PRIVATE = "private"
|
|
856
|
+
}
|
|
808
857
|
/**
|
|
809
858
|
* A reference to the Kubernetes Secret resource that contains the value.
|
|
810
859
|
*
|
|
@@ -834,6 +883,19 @@ export interface FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesR
|
|
|
834
883
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef' to JSON representation.
|
|
835
884
|
*/
|
|
836
885
|
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef | undefined): Record<string, any> | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* Which repositories can access the secret.
|
|
888
|
+
*
|
|
889
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility
|
|
890
|
+
*/
|
|
891
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility {
|
|
892
|
+
/** all */
|
|
893
|
+
ALL = "all",
|
|
894
|
+
/** selected */
|
|
895
|
+
SELECTED = "selected",
|
|
896
|
+
/** private */
|
|
897
|
+
PRIVATE = "private"
|
|
898
|
+
}
|
|
837
899
|
/**
|
|
838
900
|
* A reference to the Kubernetes Secret resource that contains the value.
|
|
839
901
|
*
|
|
@@ -863,6 +925,19 @@ export interface FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotR
|
|
|
863
925
|
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef' to JSON representation.
|
|
864
926
|
*/
|
|
865
927
|
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef | undefined): Record<string, any> | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* Which repositories can access the secret.
|
|
930
|
+
*
|
|
931
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility
|
|
932
|
+
*/
|
|
933
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility {
|
|
934
|
+
/** all */
|
|
935
|
+
ALL = "all",
|
|
936
|
+
/** selected */
|
|
937
|
+
SELECTED = "selected",
|
|
938
|
+
/** private */
|
|
939
|
+
PRIVATE = "private"
|
|
940
|
+
}
|
|
866
941
|
/**
|
|
867
942
|
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef
|
|
868
943
|
*/
|
|
@@ -1211,6 +1211,18 @@ declare const schemas: {
|
|
|
1211
1211
|
value: {
|
|
1212
1212
|
$ref: string;
|
|
1213
1213
|
};
|
|
1214
|
+
visibility: {
|
|
1215
|
+
type: string;
|
|
1216
|
+
enum: string[];
|
|
1217
|
+
description: string;
|
|
1218
|
+
};
|
|
1219
|
+
selected_repositories: {
|
|
1220
|
+
type: string;
|
|
1221
|
+
items: {
|
|
1222
|
+
type: string;
|
|
1223
|
+
};
|
|
1224
|
+
description: string;
|
|
1225
|
+
};
|
|
1214
1226
|
};
|
|
1215
1227
|
required: string[];
|
|
1216
1228
|
additionalProperties: boolean;
|
|
@@ -742,6 +742,18 @@ export declare const GithubSchemas: ({
|
|
|
742
742
|
value: {
|
|
743
743
|
$ref: string;
|
|
744
744
|
};
|
|
745
|
+
visibility: {
|
|
746
|
+
type: string;
|
|
747
|
+
enum: string[];
|
|
748
|
+
description: string;
|
|
749
|
+
};
|
|
750
|
+
selected_repositories: {
|
|
751
|
+
type: string;
|
|
752
|
+
items: {
|
|
753
|
+
type: string;
|
|
754
|
+
};
|
|
755
|
+
description: string;
|
|
756
|
+
};
|
|
745
757
|
};
|
|
746
758
|
required: string[];
|
|
747
759
|
additionalProperties: boolean;
|
|
@@ -46,6 +46,18 @@ declare const _default: {
|
|
|
46
46
|
value: {
|
|
47
47
|
$ref: string;
|
|
48
48
|
};
|
|
49
|
+
visibility: {
|
|
50
|
+
type: string;
|
|
51
|
+
enum: string[];
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
selected_repositories: {
|
|
55
|
+
type: string;
|
|
56
|
+
items: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
49
61
|
};
|
|
50
62
|
required: string[];
|
|
51
63
|
additionalProperties: boolean;
|
|
@@ -39,14 +39,20 @@ export interface IGithubOrgSettingsClaim extends IOrgSettingsClaim {
|
|
|
39
39
|
actions?: {
|
|
40
40
|
name: string;
|
|
41
41
|
value: string;
|
|
42
|
+
visibility?: 'all' | 'private' | 'selected';
|
|
43
|
+
selected_repositories?: string[];
|
|
42
44
|
}[];
|
|
43
45
|
codespaces?: {
|
|
44
46
|
name: string;
|
|
45
47
|
value: string;
|
|
48
|
+
visibility?: 'all' | 'private' | 'selected';
|
|
49
|
+
selected_repositories?: string[];
|
|
46
50
|
}[];
|
|
47
51
|
dependabot?: {
|
|
48
52
|
name: string;
|
|
49
53
|
value: string;
|
|
54
|
+
visibility?: 'all' | 'private' | 'selected';
|
|
55
|
+
selected_repositories?: string[];
|
|
50
56
|
}[];
|
|
51
57
|
};
|
|
52
58
|
};
|