@harnessio/react-har-service-client 0.15.0 → 0.16.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.
@@ -1,9 +1,15 @@
1
1
  export interface AccessKeySecretKey {
2
2
  accessKey?: string;
3
3
  accessKeySecretIdentifier?: string;
4
+ /**
5
+ * @format int64
6
+ */
4
7
  accessKeySecretSpaceId?: number;
5
8
  accessKeySecretSpacePath?: string;
6
9
  secretKeyIdentifier: string;
10
+ /**
11
+ * @format int64
12
+ */
7
13
  secretKeySpaceId?: number;
8
14
  secretKeySpacePath?: string;
9
15
  }
@@ -2,6 +2,6 @@
2
2
  * Webhook Extra Header
3
3
  */
4
4
  export interface ExtraHeader {
5
- key?: string;
6
- value?: string;
5
+ key: string;
6
+ value: string;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Config for generic artifact details
2
+ * Config for maven artifact details
3
3
  */
4
4
  export interface MavenArtifactDetailConfig {
5
5
  artifactId?: string;
@@ -2,8 +2,7 @@
2
2
  * Config for npm artifact details
3
3
  */
4
4
  export interface NpmArtifactDetailConfig {
5
- homepage?: string;
6
- license: string;
7
- pullCommand: string;
8
- repository?: string;
5
+ metadata?: {
6
+ [key: string]: any;
7
+ };
9
8
  }
@@ -1,6 +1,7 @@
1
1
  import type { CleanupPolicy } from '../schemas/CleanupPolicy';
2
2
  import type { RegistryConfig } from '../schemas/RegistryConfig';
3
3
  import type { PackageType } from '../schemas/PackageType';
4
+ import type { Scanner } from '../schemas/Scanner';
4
5
  /**
5
6
  * Harness Artifact Registry
6
7
  */
@@ -15,5 +16,6 @@ export interface Registry<T0 extends RegistryConfig = RegistryConfig> {
15
16
  labels?: string[];
16
17
  modifiedAt?: string;
17
18
  packageType: PackageType;
19
+ scanners?: Scanner[];
18
20
  url: string;
19
21
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to trigger
3
3
  */
4
- export type Trigger = 'ARTIFACT_CREATION' | 'ARTIFACT_DELETION' | 'ARTIFACT_MODIFICATION';
4
+ export type Trigger = 'ARTIFACT_CREATION' | 'ARTIFACT_DELETION';
@@ -20,6 +20,9 @@ export interface Webhook {
20
20
  modifiedAt?: string;
21
21
  name: string;
22
22
  secretIdentifier?: string;
23
+ /**
24
+ * @format int64
25
+ */
23
26
  secretSpaceId?: number;
24
27
  secretSpacePath?: string;
25
28
  triggers?: Trigger[];
@@ -8,6 +8,9 @@ export interface WebhookRequest {
8
8
  insecure: boolean;
9
9
  name: string;
10
10
  secretIdentifier?: string;
11
+ /**
12
+ * @format int64
13
+ */
11
14
  secretSpaceId?: number;
12
15
  secretSpacePath?: string;
13
16
  triggers?: Trigger[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",