@harnessio/react-har-service-client 0.3.0 → 0.4.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.
@@ -87,6 +87,7 @@ export type { RegistryResponseResponse } from './responses/RegistryResponseRespo
87
87
  export type { SuccessResponse } from './responses/SuccessResponse';
88
88
  export type { UnauthenticatedResponse } from './responses/UnauthenticatedResponse';
89
89
  export type { UnauthorizedResponse } from './responses/UnauthorizedResponse';
90
+ export type { AccessKeySecretKey } from './schemas/AccessKeySecretKey';
90
91
  export type { Anonymous } from './schemas/Anonymous';
91
92
  export type { ArtifactDeploymentsDetail } from './schemas/ArtifactDeploymentsDetail';
92
93
  export type { ArtifactDeploymentsDetails } from './schemas/ArtifactDeploymentsDetails';
@@ -0,0 +1,7 @@
1
+ export interface AccessKeySecretKey {
2
+ accessKey?: string;
3
+ accessKeySecretIdentifier?: string;
4
+ accessKeySecretSpacePath?: string;
5
+ secretKeyIdentifier: string;
6
+ secretKeySpacePath: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Authentication type
3
3
  */
4
- export type AuthType = 'Anonymous' | 'UserPassword';
4
+ export type AuthType = 'AccessKeySecretKey' | 'Anonymous' | 'UserPassword';
@@ -1,12 +1,13 @@
1
1
  import type { UserPassword } from '../schemas/UserPassword';
2
2
  import type { Anonymous } from '../schemas/Anonymous';
3
+ import type { AccessKeySecretKey } from '../schemas/AccessKeySecretKey';
3
4
  import type { AuthType } from '../schemas/AuthType';
4
5
  /**
5
6
  * Configuration for Harness Artifact UpstreamProxies
6
7
  */
7
8
  export interface UpstreamConfig {
8
- auth?: UserPassword | Anonymous;
9
+ auth?: UserPassword | Anonymous | AccessKeySecretKey;
9
10
  authType: AuthType;
10
- source?: 'Custom' | 'Dockerhub';
11
+ source?: 'AwsEcr' | 'Custom' | 'Dockerhub';
11
12
  url?: string;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",