@harnessio/react-rmg-service-client 0.78.0 → 0.79.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.
@@ -349,6 +349,7 @@ export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryM
349
349
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
350
350
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
351
351
  export type { BuildInfo } from './schemas/BuildInfo';
352
+ export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
352
353
  export type { Changeset } from './schemas/Changeset';
353
354
  export type { ChangesetCommit } from './schemas/ChangesetCommit';
354
355
  export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
@@ -1,5 +1,7 @@
1
+ import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
1
2
  import type { GitDetails } from '../schemas/GitDetails';
2
3
  export interface GetOrchestrationActivityResponseResponse {
4
+ cache_response?: CacheResponseMetadata;
3
5
  git_details?: GitDetails;
4
6
  /**
5
7
  * Identifier of the orchestration activity
@@ -1,5 +1,7 @@
1
+ import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
1
2
  import type { GitDetails } from '../schemas/GitDetails';
2
3
  export interface GetOrchestrationProcessInputResponseResponse {
4
+ cache_response?: CacheResponseMetadata;
3
5
  git_details?: GitDetails;
4
6
  /**
5
7
  * Identifier of the orchestration process input
@@ -1,5 +1,7 @@
1
+ import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
1
2
  import type { GitDetails } from '../schemas/GitDetails';
2
3
  export interface GetOrchestrationProcessResponseResponse {
4
+ cache_response?: CacheResponseMetadata;
3
5
  git_details?: GitDetails;
4
6
  /**
5
7
  * Identifier of the orchestration process
@@ -0,0 +1,23 @@
1
+ /**
2
+ * GitX cache metadata returned when fetching a remote entity
3
+ */
4
+ export interface CacheResponseMetadata {
5
+ /**
6
+ * Cache freshness state from GitX
7
+ */
8
+ cache_state?: 'STALE_CACHE' | 'UNKNOWN' | 'VALID_CACHE';
9
+ /**
10
+ * Whether bi-directional git sync (webhook support) is enabled for the repo
11
+ */
12
+ is_sync_enabled?: boolean;
13
+ /**
14
+ * Epoch timestamp of the last cache update
15
+ * @format int64
16
+ */
17
+ last_updated_at?: number;
18
+ /**
19
+ * Remaining TTL for the cached entry in seconds
20
+ * @format int64
21
+ */
22
+ ttl_left?: number;
23
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",