@gudhub/core 1.0.46 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -112,6 +112,7 @@ export class FileManager {
|
|
|
112
112
|
if (app) {
|
|
113
113
|
app.file_list.push(file);
|
|
114
114
|
this.storage.updateApp(app);
|
|
115
|
+
this.pipeService.emit("gh_file_upload", { app_id }, file);
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
118
|
|
|
@@ -120,6 +121,9 @@ export class FileManager {
|
|
|
120
121
|
if (app) {
|
|
121
122
|
app.file_list.push(...files);
|
|
122
123
|
this.storage.updateApp(app);
|
|
124
|
+
files.forEach(file => {
|
|
125
|
+
this.pipeService.emit("gh_file_upload", { app_id }, file);
|
|
126
|
+
});
|
|
123
127
|
}
|
|
124
128
|
}
|
|
125
129
|
|