-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quick dialog now provides specs to app installer
- Loading branch information
1 parent
8049bb2
commit 7582894
Showing
10 changed files
with
173 additions
and
54 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
23 changes: 23 additions & 0 deletions
23
projects/quick-dialog/src/app/installer/installer-models.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,23 @@ | ||
export interface InstallSpecs { | ||
installedApps?: InstalledApp[]; | ||
rules?: InstallRule[]; | ||
} | ||
|
||
export interface InstallSettings extends InstallSpecs { | ||
remoteUrl: string; | ||
// installedApps?: InstalledApp[]; | ||
// rules?: InstallRule[]; | ||
} | ||
|
||
export interface InstalledApp { | ||
name: string; | ||
version: string; | ||
guid: string; | ||
} | ||
|
||
export interface InstallRule { | ||
target: string; | ||
mode: string; | ||
appGuid: string; | ||
url: string; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { InstallSpecs } from './installer-models'; | ||
export interface CrossWindowMessage { | ||
action: string; | ||
moduleId: string | number; // probably string, must safely convert to Number() | ||
packages: InstallPackage[]; | ||
} | ||
|
||
export interface InstallPackage { | ||
displayName: string; | ||
url: string; | ||
} | ||
|
||
export interface SpecsForInstaller { | ||
action: 'specs'; | ||
data: InstallSpecs; | ||
} |
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,2 +1,2 @@ | ||
export * from '../../../../connect-parts/inpage-quick-dialog'; | ||
export * from '../../../../shared' | ||
export * from '../../../../shared'; |