forked from cloudfoundry/stratos
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca7929b
commit 6b9e79a
Showing
15 changed files
with
397 additions
and
566 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
48 changes: 0 additions & 48 deletions
48
...d/packages/core/src/features/endpoints/backup-restore/backup-restore-endpoints.service.ts
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/frontend/packages/core/src/features/endpoints/backup-restore/backup-restore.types.ts
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { EndpointModel } from '../../../../../store/src/types/endpoint.types'; | ||
|
||
export enum BackupEndpointTypes { | ||
ENDPOINT = 'endpoint', | ||
CONNECT = 'connect', | ||
} | ||
|
||
export enum BackupEndpointConnectionTypes { | ||
NONE = 'NONE', | ||
CURRENT = 'CURRENT', | ||
ALL = 'ALL' | ||
} | ||
|
||
export interface BackupEndpointsConfig<T> { | ||
[endpointId: string]: T; | ||
} | ||
|
||
export interface BaseEndpointConfig { | ||
[BackupEndpointTypes.ENDPOINT]: boolean; | ||
[BackupEndpointTypes.CONNECT]: BackupEndpointConnectionTypes; | ||
} | ||
|
||
export interface BackupEndpointConfigUI extends BaseEndpointConfig { | ||
entity: EndpointModel; | ||
} |
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
Oops, something went wrong.