-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into NAS-131245
- Loading branch information
Showing
500 changed files
with
6,716 additions
and
4,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
export enum DnsAuthenticatorType { | ||
Route53 = 'route53', | ||
Cloudflare = 'cloudflare', | ||
Ovh = 'OVH', | ||
Shell = 'shell', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,16 @@ | ||
import { DnsAuthenticatorType } from 'app/enums/dns-authenticator-type.enum'; | ||
import { Schema } from 'app/interfaces/schema.interface'; | ||
|
||
export type DnsAuthenticator = CloudflareDnsAuthenticator | Route53DnsAuthenticator; | ||
|
||
export interface CloudflareDnsAuthenticator { | ||
id: number; | ||
name: string; | ||
authenticator: DnsAuthenticatorType.Cloudflare; | ||
attributes: { | ||
// Either | ||
api_token?: string; | ||
|
||
// Or | ||
cloudflare_email?: string; | ||
api_key?: string; | ||
}; | ||
} | ||
|
||
export interface Route53DnsAuthenticator { | ||
export interface DnsAuthenticator { | ||
id: number; | ||
name: string; | ||
authenticator: DnsAuthenticatorType.Route53; | ||
attributes: { | ||
access_key_id: string; | ||
secret_access_key: string; | ||
}; | ||
attributes: Record<string, string>; | ||
} | ||
|
||
export interface AuthenticatorSchema { | ||
key: DnsAuthenticatorType; | ||
schema: Schema[]; | ||
schema: Schema; | ||
} | ||
|
||
export type CreateDnsAuthenticator = Omit<DnsAuthenticator, 'id'>; | ||
export type UpdateDnsAuthenticator = Omit<DnsAuthenticator, 'id' | 'authenticator'>; | ||
export type UpdateDnsAuthenticator = Omit<DnsAuthenticator, 'id'>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.