16 lines
445 B
TypeScript
16 lines
445 B
TypeScript
export type CredentialProviderKind = 'gitea';
|
|
|
|
export interface CredentialHostConfigDto {
|
|
readonly host: string;
|
|
readonly provider: CredentialProviderKind;
|
|
readonly apiBaseUrl: string;
|
|
readonly tokenPrefix: string;
|
|
}
|
|
|
|
export interface CredentialEstateConfigDto {
|
|
readonly name: string;
|
|
readonly readOnlyControlIdentity?: string;
|
|
readonly inventoryAuthorityIdentity?: string;
|
|
readonly hosts: readonly CredentialHostConfigDto[];
|
|
}
|