@junobuild/admin 0.6.2-next-2025-07-17 → 0.6.2-next-2025-07-17.1

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,18 +1,75 @@
1
1
  import * as z from 'zod/v4';
2
+ /**
3
+ * A schema for validating a version string in `x.y.z` format.
4
+ *
5
+ * Examples of valid versions:
6
+ * - 0.1.0"
7
+ * - 2.3.4
8
+ */
9
+ declare const MetadataVersionSchema: z.ZodString;
10
+ /**
11
+ * A version string in `x.y.z` format.
12
+ */
13
+ export type MetadataVersion = z.infer<typeof MetadataVersionSchema>;
14
+ /**
15
+ * A schema representing the metadata of a single release.
16
+ *
17
+ * Includes the version of the release itself (tag) and the versions
18
+ * of all modules bundled with it.
19
+ */
20
+ declare const ReleaseMetadataSchema: z.ZodObject<{
21
+ /**
22
+ * Unique version identifier for the release, following the `x.y.z` format.
23
+ * @type {MetadataVersion}
24
+ */
25
+ tag: z.ZodString;
26
+ /**
27
+ * The version of the console included in the release.
28
+ * @type {MetadataVersion}
29
+ */
30
+ console: z.ZodString;
31
+ /**
32
+ * Version of the Observatory module included in the release.
33
+ * @type {MetadataVersion}
34
+ */
35
+ observatory: z.ZodString;
36
+ /**
37
+ * Version of the Mission Control module included in the release.
38
+ * @type {MetadataVersion}
39
+ */
40
+ mission_control: z.ZodString;
41
+ /**
42
+ * Version of the Satellite module included in the release.
43
+ * @type {MetadataVersion}
44
+ */
45
+ satellite: z.ZodString;
46
+ /**
47
+ * Version of the Orbiter module included in the release.
48
+ * @type {MetadataVersion}
49
+ */
50
+ orbiter: z.ZodString;
51
+ }, z.core.$strict>;
52
+ /**
53
+ * The metadata for a release provided by Juno.
54
+ */
55
+ export type ReleaseMetadata = z.infer<typeof ReleaseMetadataSchema>;
2
56
  /**
3
57
  * A schema representing the metadata for multiple releases provided by Juno.
4
58
  */
5
59
  export declare const ReleasesMetadataSchema: z.ZodObject<{
6
60
  /**
7
61
  * List of all Mission Control versions across releases.
62
+ * @type {MetadataVersion}
8
63
  */
9
64
  mission_controls: z.ZodArray<z.ZodString>;
10
65
  /**
11
66
  * List of all Satellite versions across releases.
67
+ * @type {MetadataVersion}
12
68
  */
13
69
  satellites: z.ZodArray<z.ZodString>;
14
70
  /**
15
71
  * List of all Orbiter versions across releases.
72
+ * @type {MetadataVersion}
16
73
  */
17
74
  orbiters: z.ZodArray<z.ZodString>;
18
75
  /**
@@ -21,31 +78,38 @@ export declare const ReleasesMetadataSchema: z.ZodObject<{
21
78
  releases: z.ZodArray<z.ZodObject<{
22
79
  /**
23
80
  * Unique version identifier for the release, following the `x.y.z` format.
81
+ * @type {MetadataVersion}
24
82
  */
25
83
  tag: z.ZodString;
26
84
  /**
27
85
  * The version of the console included in the release.
86
+ * @type {MetadataVersion}
28
87
  */
29
88
  console: z.ZodString;
30
89
  /**
31
90
  * Version of the Observatory module included in the release.
91
+ * @type {MetadataVersion}
32
92
  */
33
93
  observatory: z.ZodString;
34
94
  /**
35
95
  * Version of the Mission Control module included in the release.
96
+ * @type {MetadataVersion}
36
97
  */
37
98
  mission_control: z.ZodString;
38
99
  /**
39
100
  * Version of the Satellite module included in the release.
101
+ * @type {MetadataVersion}
40
102
  */
41
103
  satellite: z.ZodString;
42
104
  /**
43
105
  * Version of the Orbiter module included in the release.
106
+ * @type {MetadataVersion}
44
107
  */
45
108
  orbiter: z.ZodString;
46
109
  }, z.core.$strict>>;
47
110
  }, z.core.$strict>;
48
111
  /**
49
- * Type representing the metadata for multiple releases provided by Juno.
112
+ * The metadata for multiple releases provided by Juno.
50
113
  */
51
114
  export type ReleasesMetadata = z.infer<typeof ReleasesMetadataSchema>;
115
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "0.6.2-next-2025-07-17",
3
+ "version": "0.6.2-next-2025-07-17.1",
4
4
  "description": "A library for interfacing with admin features of Juno",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",