@codiac.io/codiac-cli 1.2.217 → 1.2.221
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 +1 -1
- package/dist/apis/codiac-api/gen/client.d.ts +4 -4
- package/dist/apis/codiac-api/gen/client.js +20 -19
- package/dist/apis/codiac-api/gen/client.js.map +1 -1
- package/dist/cli-common/command-base.d.ts +2 -0
- package/dist/cli-common/command-base.js +23 -8
- package/dist/cli-common/command-base.js.map +1 -1
- package/dist/codiac-constants.d.ts +10 -0
- package/dist/codiac-constants.js +10 -0
- package/dist/codiac-constants.js.map +1 -1
- package/dist/commands/config/add.d.ts +34 -22
- package/dist/commands/config/add.js +321 -209
- package/dist/commands/config/add.js.map +1 -1
- package/dist/commands/config/delete.d.ts +22 -5
- package/dist/commands/config/delete.js +270 -82
- package/dist/commands/config/delete.js.map +1 -1
- package/dist/commands/config/settings/get.d.ts +38 -0
- package/dist/commands/config/settings/get.js +297 -0
- package/dist/commands/config/settings/get.js.map +1 -0
- package/dist/uilogic/config-ui-utils.d.ts +112 -0
- package/dist/uilogic/config-ui-utils.js +574 -0
- package/dist/uilogic/config-ui-utils.js.map +1 -0
- package/dist/uilogic/enterprise-contextualizer.d.ts +6 -3
- package/dist/uilogic/enterprise-contextualizer.js +51 -21
- package/dist/uilogic/enterprise-contextualizer.js.map +1 -1
- package/oclif.manifest.json +331 -59
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ $ npm install -g @codiac.io/codiac-cli
|
|
|
21
21
|
$ codiac COMMAND
|
|
22
22
|
running command...
|
|
23
23
|
$ codiac (--version|-v)
|
|
24
|
-
@codiac.io/codiac-cli/1.2.
|
|
24
|
+
@codiac.io/codiac-cli/1.2.221 linux-x64 node-v16.17.1
|
|
25
25
|
$ codiac --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ codiac COMMAND
|
|
@@ -1641,10 +1641,10 @@ declare class OtherOperations {
|
|
|
1641
1641
|
getConfigDefs(request: ConfigDefCriteria, options?: IRepoOptions): Promise<ListResult<ConfigDef>>;
|
|
1642
1642
|
getConfigDoc(request: ConfigDocSpecForOne, options?: IRepoOptions): Promise<ConfigDoc>;
|
|
1643
1643
|
/** Retrieves the enterprise configuration currently in play in a single given cabinet,
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1644
|
+
in terms of versions of the enterprise and its assets.
|
|
1645
|
+
This is a composite/hybrid object made up of a Cabinet, EnterpriseVersionConfig and an EnterpriseRunState.
|
|
1646
|
+
Compares versions of each asset between the version specified in the assigned enterprise version config
|
|
1647
|
+
and the version that is actually physically running in the cabinet. */
|
|
1648
1648
|
getCabinetConfigState(request: CabinetConfigStateRequest, options?: IRepoOptions): Promise<CabinetConfigState>;
|
|
1649
1649
|
readyState(request: ReadyStateRequest, options?: IRepoOptions): Promise<ApiReadyState>;
|
|
1650
1650
|
/** File serve for the relay service. */
|
|
@@ -12402,8 +12402,9 @@ class ScopedSettingCruds {
|
|
|
12402
12402
|
let response = new contracts_1.ListResult(false);
|
|
12403
12403
|
try {
|
|
12404
12404
|
let serializerMap = {
|
|
12405
|
-
"
|
|
12406
|
-
"
|
|
12405
|
+
"targetFile": "StringFilter",
|
|
12406
|
+
"asset": "StringFilter",
|
|
12407
|
+
"enterprise": "StringFilter"
|
|
12407
12408
|
};
|
|
12408
12409
|
let values = this.core.applyPropertySerializers(request, serializerMap);
|
|
12409
12410
|
let url = this.core.buildUrl("/settings(/)", values, true);
|
|
@@ -15478,10 +15479,10 @@ class OtherOperations {
|
|
|
15478
15479
|
});
|
|
15479
15480
|
}
|
|
15480
15481
|
/** Retrieves the enterprise configuration currently in play in a single given cabinet,
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15482
|
+
in terms of versions of the enterprise and its assets.
|
|
15483
|
+
This is a composite/hybrid object made up of a Cabinet, EnterpriseVersionConfig and an EnterpriseRunState.
|
|
15484
|
+
Compares versions of each asset between the version specified in the assigned enterprise version config
|
|
15485
|
+
and the version that is actually physically running in the cabinet. */
|
|
15485
15486
|
getCabinetConfigState(request, options) {
|
|
15486
15487
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
15487
15488
|
try {
|
|
@@ -15596,35 +15597,35 @@ class OtherOperations {
|
|
|
15596
15597
|
// // ===================================================================================
|
|
15597
15598
|
// // THROWING REPO
|
|
15598
15599
|
// // ===================================================================================
|
|
15599
|
-
//
|
|
15600
|
-
//
|
|
15600
|
+
//
|
|
15601
|
+
//
|
|
15601
15602
|
// import { IRepoOptions, IDomainEntity, classDef } from "@codiac.io/codiac-common";
|
|
15602
15603
|
// import * as contracts from "@codiac.io/codiac-common/contracts";
|
|
15603
|
-
//
|
|
15604
|
-
//
|
|
15604
|
+
//
|
|
15605
|
+
//
|
|
15605
15606
|
// export interface IThrowingRepoOptions extends IRepoOptions {
|
|
15606
15607
|
// throwNotFound?: boolean;
|
|
15607
15608
|
// }
|
|
15608
|
-
//
|
|
15609
|
-
//
|
|
15609
|
+
//
|
|
15610
|
+
//
|
|
15610
15611
|
// /** HACK: This class exists ONLY because the client does not implement IRepo, so we cannot use ThrowingRepoWrapper.
|
|
15611
15612
|
// * because the client needs criteriaType argument on tryReadMany, tryPatchWhere, and tryDeleteWhere.
|
|
15612
|
-
// *
|
|
15613
|
+
// *
|
|
15613
15614
|
// * Wraps repo methods to throw on error or when unsuccessful.
|
|
15614
|
-
// * EXCEPT read, which can return undefined when none found
|
|
15615
|
+
// * EXCEPT read, which can return undefined when none found
|
|
15615
15616
|
// * and readMany which can return an empty array when none found.
|
|
15616
15617
|
// */
|
|
15617
15618
|
// @injectable()
|
|
15618
15619
|
// export class ThrowingCodiacClient /* implements IThrowingRepo */ {
|
|
15619
15620
|
// constructor(@inject(CodiacClient) public repo: CodiacClient) {
|
|
15620
15621
|
// }
|
|
15621
|
-
//
|
|
15622
|
+
//
|
|
15622
15623
|
// // startTransaction(): Promise<void> { return this.repo.startTransaction(); }
|
|
15623
15624
|
// // commit(): Promise<void> { return this.repo.commit(); }
|
|
15624
15625
|
// // rollback(): Promise<void> { return this.repo.rollback(); }
|
|
15625
|
-
//
|
|
15626
|
-
//
|
|
15627
|
-
//
|
|
15628
|
-
//
|
|
15626
|
+
//
|
|
15627
|
+
//
|
|
15628
|
+
//
|
|
15629
|
+
//
|
|
15629
15630
|
// }
|
|
15630
15631
|
//# sourceMappingURL=client.js.map
|