@junobuild/admin 0.6.6 → 0.6.7-next-2025-07-17
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.
|
@@ -6,7 +6,7 @@ import * as z from 'zod/v4';
|
|
|
6
6
|
* - 0.1.0"
|
|
7
7
|
* - 2.3.4
|
|
8
8
|
*/
|
|
9
|
-
declare const MetadataVersionSchema: z.ZodString;
|
|
9
|
+
export declare const MetadataVersionSchema: z.ZodString;
|
|
10
10
|
/**
|
|
11
11
|
* A version string in `x.y.z` format.
|
|
12
12
|
*/
|
|
@@ -17,7 +17,7 @@ export type MetadataVersion = z.infer<typeof MetadataVersionSchema>;
|
|
|
17
17
|
* Includes the version of the release itself (tag) and the versions
|
|
18
18
|
* of all modules bundled with it.
|
|
19
19
|
*/
|
|
20
|
-
declare const ReleaseMetadataSchema: z.ZodObject<{
|
|
20
|
+
export declare const ReleaseMetadataSchema: z.ZodObject<{
|
|
21
21
|
/**
|
|
22
22
|
* Unique version identifier for the release, following the `x.y.z` format.
|
|
23
23
|
* @type {MetadataVersion}
|
|
@@ -64,6 +64,76 @@ declare const ReleaseMetadataSchema: z.ZodObject<{
|
|
|
64
64
|
* The metadata for a release provided by Juno.
|
|
65
65
|
*/
|
|
66
66
|
export type ReleaseMetadata = z.infer<typeof ReleaseMetadataSchema>;
|
|
67
|
+
/**
|
|
68
|
+
* A schema representing the list of releases provided by Juno.
|
|
69
|
+
*
|
|
70
|
+
* Rules:
|
|
71
|
+
* - The list must contain at least one release.
|
|
72
|
+
* - Each release must have a unique `tag` (version identifier).
|
|
73
|
+
* - The same module version can appear in multiple releases, as not every release
|
|
74
|
+
* necessarily publishes a new version of each module.
|
|
75
|
+
*
|
|
76
|
+
* Validation:
|
|
77
|
+
* - Ensures no duplicate `tag` values across the list of releases.
|
|
78
|
+
*/
|
|
79
|
+
export declare const ReleasesSchema: z.ZodArray<z.ZodObject<{
|
|
80
|
+
/**
|
|
81
|
+
* Unique version identifier for the release, following the `x.y.z` format.
|
|
82
|
+
* @type {MetadataVersion}
|
|
83
|
+
*/
|
|
84
|
+
tag: z.ZodString;
|
|
85
|
+
/**
|
|
86
|
+
* The version of the console included in the release.
|
|
87
|
+
* @type {MetadataVersion}
|
|
88
|
+
*/
|
|
89
|
+
console: z.ZodString;
|
|
90
|
+
/**
|
|
91
|
+
* Version of the Observatory module included in the release.
|
|
92
|
+
* This field is optional because it was introduced in Juno v0.0.10.
|
|
93
|
+
*
|
|
94
|
+
* @type {MetadataVersion | undefined}
|
|
95
|
+
*/
|
|
96
|
+
observatory: z.ZodOptional<z.ZodString>;
|
|
97
|
+
/**
|
|
98
|
+
* Version of the Mission Control module included in the release.
|
|
99
|
+
* @type {MetadataVersion}
|
|
100
|
+
*/
|
|
101
|
+
mission_control: z.ZodString;
|
|
102
|
+
/**
|
|
103
|
+
* Version of the Satellite module included in the release.
|
|
104
|
+
* @type {MetadataVersion}
|
|
105
|
+
*/
|
|
106
|
+
satellite: z.ZodString;
|
|
107
|
+
/**
|
|
108
|
+
* Version of the Orbiter module included in the release.
|
|
109
|
+
* This field is optional because it was introduced in Juno v0.0.17.
|
|
110
|
+
*
|
|
111
|
+
* @type {MetadataVersion | undefined}
|
|
112
|
+
*/
|
|
113
|
+
orbiter: z.ZodOptional<z.ZodString>;
|
|
114
|
+
/**
|
|
115
|
+
* Version of the Sputnik module included in the release.
|
|
116
|
+
* This field is optional because it was introduced in Juno v0.0.47.
|
|
117
|
+
*
|
|
118
|
+
* @type {MetadataVersion | undefined}
|
|
119
|
+
*/
|
|
120
|
+
sputnik: z.ZodOptional<z.ZodString>;
|
|
121
|
+
}, z.core.$strict>>;
|
|
122
|
+
/**
|
|
123
|
+
* The list of releases provided by Juno.
|
|
124
|
+
*/
|
|
125
|
+
export type Releases = z.infer<typeof ReleasesSchema>;
|
|
126
|
+
/**
|
|
127
|
+
* A schema for the list of all versions across releases.
|
|
128
|
+
*
|
|
129
|
+
* Rules:
|
|
130
|
+
* - The list must contain at least one release.
|
|
131
|
+
*/
|
|
132
|
+
export declare const MetadataVersionsSchema: z.ZodArray<z.ZodString>;
|
|
133
|
+
/**
|
|
134
|
+
* List of all versions across releases.
|
|
135
|
+
*/
|
|
136
|
+
export type MetadataVersions = z.infer<typeof MetadataVersionsSchema>;
|
|
67
137
|
/**
|
|
68
138
|
* A schema representing the metadata for multiple releases provided by Juno.
|
|
69
139
|
*/
|
|
@@ -134,4 +204,3 @@ export declare const ReleasesMetadataSchema: z.ZodObject<{
|
|
|
134
204
|
* The metadata for multiple releases provided by Juno.
|
|
135
205
|
*/
|
|
136
206
|
export type ReleasesMetadata = z.infer<typeof ReleasesMetadataSchema>;
|
|
137
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/admin",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7-next-2025-07-17",
|
|
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",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
],
|
|
51
51
|
"homepage": "https://juno.build",
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@dfinity/agent": "
|
|
54
|
-
"@dfinity/candid": "
|
|
55
|
-
"@dfinity/ic-management": "
|
|
56
|
-
"@dfinity/identity": "
|
|
57
|
-
"@dfinity/principal": "
|
|
58
|
-
"@dfinity/utils": "
|
|
53
|
+
"@dfinity/agent": "*",
|
|
54
|
+
"@dfinity/candid": "*",
|
|
55
|
+
"@dfinity/ic-management": "*",
|
|
56
|
+
"@dfinity/identity": "*",
|
|
57
|
+
"@dfinity/principal": "*",
|
|
58
|
+
"@dfinity/utils": "*",
|
|
59
59
|
"@junobuild/config": "*",
|
|
60
|
-
"semver": "
|
|
61
|
-
"zod": "
|
|
60
|
+
"semver": "*",
|
|
61
|
+
"zod": "*"
|
|
62
62
|
}
|
|
63
|
-
}
|
|
63
|
+
}
|