@stacksjs/dns 0.68.1 → 0.69.2

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.
package/dist/aws.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import type { CommandError, DeployOptions, Subprocess } from '@stacksjs/types';
2
+ import type { CreateHostedZoneCommandOutput, HostedZone } from '@aws-sdk/client-route-53';
3
+
4
+ export declare function deleteHostedZone(domainName: string): Promise<Result<string, Error>>;
5
+ export declare function deleteHostedZoneRecords(domainName: string): Promise<Result<string, Error>>;
6
+ export declare function createHostedZone(domainName: string): Promise<Result<HostedZone | CreateHostedZoneCommandOutput | string | null, Error>>;
7
+ export declare function writeNameserversToConfig(nameservers: string[]): void;
8
+ export declare function findHostedZone(domain: string): Promise<Result<string | null | undefined, Error>>;
9
+ export declare function getNameservers(domainName?: string): Promise<string[] | undefined>;
10
+ export declare function updateNameservers(hostedZoneNameservers: string[], domainName?: string): Promise<boolean | undefined>;
11
+ export declare function hasUserDomainBeenAddedToCloud(domainName?: string): Promise<boolean>;
12
+ export declare function addDomain(options: DeployOptions): Promise<Result<Subprocess, CommandError>>;
@@ -0,0 +1,2 @@
1
+ export * from './drivers/aws'
2
+ export * from '@stacksjs/dnsx'