@junobuild/admin 0.1.2 → 0.1.3
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,13 +10,24 @@ export declare const listCustomDomains: ({ satellite }: {
|
|
|
10
10
|
satellite: SatelliteParameters;
|
|
11
11
|
}) => Promise<CustomDomain[]>;
|
|
12
12
|
/**
|
|
13
|
-
* Sets
|
|
13
|
+
* Sets some custom domains for a satellite.
|
|
14
14
|
* @param {Object} params - The parameters for setting the custom domains.
|
|
15
15
|
* @param {SatelliteParameters} params.satellite - The satellite parameters.
|
|
16
|
-
* @param {CustomDomain[]
|
|
16
|
+
* @param {Pick<CustomDomain, "domain" | "bn_id">}[] params.domains - The custom domains - name and optional BN ID - to set.
|
|
17
17
|
* @returns {Promise<void[]>} A promise that resolves when the custom domains are set.
|
|
18
18
|
*/
|
|
19
19
|
export declare const setCustomDomains: ({ satellite, domains }: {
|
|
20
20
|
satellite: SatelliteParameters;
|
|
21
|
-
domains: CustomDomain[];
|
|
21
|
+
domains: Pick<CustomDomain, "domain" | "bn_id">[];
|
|
22
22
|
}) => Promise<void[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Sets a custom domain for a satellite.
|
|
25
|
+
* @param {Object} params - The parameters for setting the custom domain.
|
|
26
|
+
* @param {SatelliteParameters} params.satellite - The satellite parameters.
|
|
27
|
+
* @param {Pick<CustomDomain, "domain" | "bn_id">} params.domain - The custom domain name and optional BN ID to set.
|
|
28
|
+
* @returns {Promise<void>} A promise that resolves when the custom domain is set.
|
|
29
|
+
*/
|
|
30
|
+
export declare const setCustomDomain: ({ satellite, domain }: {
|
|
31
|
+
satellite: SatelliteParameters;
|
|
32
|
+
domain: Pick<CustomDomain, "domain" | "bn_id">;
|
|
33
|
+
}) => Promise<void>;
|