@amerged/ohmyhost-sdk 0.1.74 → 0.1.75

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.
@@ -10,10 +10,22 @@ export type Preview = {
10
10
  * Stable private capability URL without an expiration time.
11
11
  */
12
12
  url: string;
13
- source: null | {
14
- sequence: number;
15
- commit_sha: string;
16
- };
13
+ /**
14
+ * The saved version selected for this preview, or null if there is none.
15
+ */
16
+ source: PreviewSource;
17
+ /**
18
+ * The version applied to the preview, or null if no version has been applied.
19
+ */
20
+ applied_source: PreviewSource;
21
+ /**
22
+ * True when the preview is ready and its applied version has the same sequence as the saved version.
23
+ */
24
+ ready_to_show: boolean;
25
+ };
26
+ export type PreviewSource = null | {
27
+ sequence: number;
28
+ commit_sha: string;
17
29
  };
18
30
  export type ConnectionBegin = {
19
31
  provider: "make";