@harnessio/react-har-service-client 0.6.0 → 0.8.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.
@@ -127,6 +127,7 @@ export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
127
127
  export type { ClientSetupSection } from './schemas/ClientSetupSection';
128
128
  export type { ClientSetupStep } from './schemas/ClientSetupStep';
129
129
  export type { ClientSetupStepCommand } from './schemas/ClientSetupStepCommand';
130
+ export type { ClientSetupStepConfig } from './schemas/ClientSetupStepConfig';
130
131
  export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
131
132
  export type { DeploymentDetails } from './schemas/DeploymentDetails';
132
133
  export type { DeploymentMetadata } from './schemas/DeploymentMetadata';
@@ -154,6 +155,7 @@ export type { ListRegistry } from './schemas/ListRegistry';
154
155
  export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
155
156
  export type { ListWebhooks } from './schemas/ListWebhooks';
156
157
  export type { ListWebhooksExecutions } from './schemas/ListWebhooksExecutions';
158
+ export type { MavenArtifactDetailConfig } from './schemas/MavenArtifactDetailConfig';
157
159
  export type { PackageType } from './schemas/PackageType';
158
160
  export type { Registry } from './schemas/Registry';
159
161
  export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
@@ -163,11 +165,14 @@ export type { RegistryRequest } from './schemas/RegistryRequest';
163
165
  export type { RegistryType } from './schemas/RegistryType';
164
166
  export type { SbomDetails } from './schemas/SbomDetails';
165
167
  export type { Scanner } from './schemas/Scanner';
168
+ export type { SectionType } from './schemas/SectionType';
166
169
  export type { SlsaDetails } from './schemas/SlsaDetails';
167
170
  export type { Status } from './schemas/Status';
168
171
  export type { StoDetails } from './schemas/StoDetails';
169
172
  export type { StoDigestMetadata } from './schemas/StoDigestMetadata';
170
173
  export type { StoMetadata } from './schemas/StoMetadata';
174
+ export type { TabSetupStep } from './schemas/TabSetupStep';
175
+ export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
171
176
  export type { Trigger } from './schemas/Trigger';
172
177
  export type { UpstreamConfig } from './schemas/UpstreamConfig';
173
178
  export type { UserPassword } from './schemas/UserPassword';
@@ -1,11 +1,12 @@
1
1
  import type { DockerArtifactDetailConfig } from '../schemas/DockerArtifactDetailConfig';
2
2
  import type { HelmArtifactDetailConfig } from '../schemas/HelmArtifactDetailConfig';
3
3
  import type { GenericArtifactDetailConfig } from '../schemas/GenericArtifactDetailConfig';
4
+ import type { MavenArtifactDetailConfig } from '../schemas/MavenArtifactDetailConfig';
4
5
  import type { PackageType } from '../schemas/PackageType';
5
6
  /**
6
7
  * Artifact Detail
7
8
  */
8
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig) & {
9
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig) & {
9
10
  createdAt?: string;
10
11
  createdBy?: string;
11
12
  /**
@@ -1,8 +1,11 @@
1
- import type { ClientSetupStep } from '../schemas/ClientSetupStep';
1
+ import type { ClientSetupStepConfig } from '../schemas/ClientSetupStepConfig';
2
+ import type { TabSetupStepConfig } from '../schemas/TabSetupStepConfig';
3
+ import type { SectionType } from '../schemas/SectionType';
2
4
  /**
3
5
  * Client Setup Section
4
6
  */
5
- export interface ClientSetupSection {
7
+ export type ClientSetupSection = (ClientSetupStepConfig | TabSetupStepConfig) & {
6
8
  header?: string;
7
- steps?: ClientSetupStep[];
8
- }
9
+ secHeader?: string;
10
+ type: SectionType;
11
+ };
@@ -0,0 +1,7 @@
1
+ import type { ClientSetupStep } from '../schemas/ClientSetupStep';
2
+ /**
3
+ * Client Setup Step
4
+ */
5
+ export interface ClientSetupStepConfig {
6
+ steps?: ClientSetupStep[];
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Config for generic artifact details
3
+ */
4
+ export interface MavenArtifactDetailConfig {
5
+ artifactId?: string;
6
+ groupId?: 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 {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * refers to client setup section type
3
+ */
4
+ export type SectionType = 'INLINE' | 'TABS';
@@ -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 {};
@@ -0,0 +1,8 @@
1
+ import type { ClientSetupSection } from '../schemas/ClientSetupSection';
2
+ /**
3
+ * Tab Setup step
4
+ */
5
+ export interface TabSetupStep {
6
+ header?: string;
7
+ sections?: ClientSetupSection[];
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { TabSetupStep } from '../schemas/TabSetupStep';
2
+ /**
3
+ * Tab Setup step config
4
+ */
5
+ export interface TabSetupStepConfig {
6
+ tabs?: TabSetupStep[];
7
+ }
@@ -8,6 +8,6 @@ import type { AuthType } from '../schemas/AuthType';
8
8
  export interface UpstreamConfig {
9
9
  auth?: UserPassword | Anonymous | AccessKeySecretKey;
10
10
  authType: AuthType;
11
- source?: 'AwsEcr' | 'Custom' | 'Dockerhub';
11
+ source?: 'AwsEcr' | 'Custom' | 'Dockerhub' | 'MavenCentral';
12
12
  url?: string;
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",