-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
coins_ci.json
and refactor affected files
- Loading branch information
1 parent
cbdb54a
commit 47c3b40
Showing
5 changed files
with
89 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"bundled_coins_repo_commit": "8cb5983ab858dde915e8de3175c15cd0f5572356", | ||
"coins_repo_url": "https://raw.githubusercontent.com/KomodoPlatform/coins", | ||
"coins_repo_branch": "master", | ||
"runtime_updates_enabled": true, | ||
"mapped_files": { | ||
"assets/coins_config.json": "utils/coins_config.json", | ||
"assets/coins.json": "coins" | ||
}, | ||
"mapped_folders": { | ||
"assets/coin-icons/": "icons/" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
class CoinsCI { | ||
final String bundledCoinsRepoCommit; | ||
final String coinsRepoUrl; | ||
final String coinsRepoBranch; | ||
final bool runtimeUpdatesEnabled; | ||
final Map<String, String> mappedFiles; | ||
final Map<String, String> mappedFolders; | ||
|
||
CoinsCI({ | ||
this.bundledCoinsRepoCommit, | ||
this.coinsRepoUrl, | ||
this.coinsRepoBranch, | ||
this.runtimeUpdatesEnabled, | ||
this.mappedFiles, | ||
this.mappedFolders, | ||
}); | ||
|
||
factory CoinsCI.fromJson(Map<String, dynamic> json) { | ||
return CoinsCI( | ||
bundledCoinsRepoCommit: json['bundled_coins_repo_commit'], | ||
coinsRepoUrl: json['coins_repo_url'], | ||
coinsRepoBranch: json['coins_repo_branch'], | ||
runtimeUpdatesEnabled: json['runtime_updates_enabled'], | ||
mappedFiles: Map<String, String>.from(json['mapped_files']), | ||
mappedFolders: Map<String, String>.from(json['mapped_folders']), | ||
); | ||
} | ||
} |