@harnessio/react-rmg-service-client 0.69.1-beta.1 → 0.70.0
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/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/AnyValue.d.ts +2 -2
- package/dist/rmg-service/src/services/schemas/ArtifactTagMetadata.d.ts +3 -1
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +3 -1
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +3 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityWebhookYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/StringOrBool.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/StringOrStringArray.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +1 -1
- package/package.json +4 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Flexible type that accepts any JSON value (string, number, boolean, object, or array)
|
|
3
3
|
*/
|
|
4
|
-
export type AnyValue = string
|
|
4
|
+
export type AnyValue = string | number | boolean | {
|
|
5
5
|
[key: string]: any;
|
|
6
|
-
}
|
|
6
|
+
} | Array<{
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
}>;
|
|
@@ -12,4 +12,6 @@ import type { CustomArtifactMetadata } from '../schemas/CustomArtifactMetadata';
|
|
|
12
12
|
* Use the discriminated schemas below to determine which fields are needed per type.
|
|
13
13
|
*
|
|
14
14
|
*/
|
|
15
|
-
export type ArtifactTagMetadata = DockerRegistryArtifactMetadata
|
|
15
|
+
export type ArtifactTagMetadata = (DockerRegistryArtifactMetadata | EcrArtifactMetadata | GcrArtifactMetadata | AcrArtifactMetadata | GoogleArtifactRegistryMetadata | Nexus3RegistryArtifactMetadata | ArtifactoryRegistryMetadata | GithubPackageRegistryMetadata | CustomArtifactMetadata) & {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
@@ -7,4 +7,6 @@ import type { InfrastructureInputVariable } from '../schemas/InfrastructureInput
|
|
|
7
7
|
import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
|
|
8
8
|
import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
|
|
9
9
|
import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
|
|
10
|
-
export type InputVariable = PrimitiveInputVariable
|
|
10
|
+
export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable) & {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
@@ -23,13 +23,13 @@ export interface ManualTaskYaml {
|
|
|
23
23
|
/**
|
|
24
24
|
* Whether this task is required, it can be boolean or string as we support expressions
|
|
25
25
|
*/
|
|
26
|
-
required: boolean
|
|
26
|
+
required: boolean | string;
|
|
27
27
|
/**
|
|
28
28
|
* List of user groups or references, it can be string or array of strings as we support expressions
|
|
29
29
|
*/
|
|
30
|
-
userGroups: string
|
|
30
|
+
userGroups: string | string[];
|
|
31
31
|
/**
|
|
32
32
|
* List of user emails or references, it can be string or array of strings as we support expressions
|
|
33
33
|
*/
|
|
34
|
-
users: string
|
|
34
|
+
users: string | string[];
|
|
35
35
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
|
|
3
3
|
*
|
|
4
4
|
*/
|
|
5
|
-
export type OutputVariable = string
|
|
5
|
+
export type OutputVariable = string | {
|
|
6
6
|
/**
|
|
7
7
|
* Human-readable description of the output variable.
|
|
8
8
|
*/
|
|
@@ -6,5 +6,5 @@ export interface TaskExecuteConfig {
|
|
|
6
6
|
* Either the literal string "all" (any process can be triggered), the literal string "none" (no process can be triggered), or an array of whitelisted process identifiers.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
processes: 'all' |
|
|
9
|
+
processes: 'all' | 'none' | string[];
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-rmg-service-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.70.0",
|
|
4
4
|
"description": "Harness Release Management Service APIs integrated with react hooks",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,5 +27,8 @@
|
|
|
27
27
|
"build": "yarn generate && tsc",
|
|
28
28
|
"generate": "oats import --config='./oats.config.ts'",
|
|
29
29
|
"fmt": "prettier --write ./index.ts"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@harnessio/oats-cli": "^3.0.0"
|
|
30
33
|
}
|
|
31
34
|
}
|