querysub 0.510.0 → 0.511.0
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.
- package/package.json +1 -1
- package/spec.txt +1 -4
- package/src/4-querysub/Querysub.ts +2 -0
- package/src/deployManager/components/MachineDetailPage.tsx +1 -1
- package/src/deployManager/components/ServiceDetailPage.tsx +265 -214
- package/src/deployManager/components/ServicesListPage.tsx +5 -4
- package/src/deployManager/components/Tools.tsx +6 -3
- package/src/deployManager/components/deployButtons.tsx +7 -1
- package/src/deployManager/machineApplyMainCode.ts +82 -75
- package/src/deployManager/machineController.ts +2 -2
- package/src/deployManager/machineSchema.ts +107 -105
- package/src/diagnostics/logs/errorNotifications2/ErrorNotificationPage.tsx +1 -1
- package/src/library-components/TypedConfigEditor.tsx +16 -17
- package/src/misc.ts +30 -0
package/package.json
CHANGED
package/spec.txt
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
1
|
todonext
|
|
3
|
-
|
|
4
|
-
- Maybe manually refactor it
|
|
5
|
-
Ensure there is no dumb sync code
|
|
2
|
+
Make sure the AI updates the machine schema in a smart way. So we can actually have both the old and the new servers config and manage them correctly. make sure if we make multiple updates, it still remembers what the old config is. And make sure deploy all works correctly.
|
|
6
3
|
|
|
7
4
|
|
|
8
5
|
|
|
@@ -381,7 +381,9 @@ export class Querysub {
|
|
|
381
381
|
}
|
|
382
382
|
return result;
|
|
383
383
|
}
|
|
384
|
+
/** @deprecated Don't use this. It doesn't do what you think. It can't be used for writes. */
|
|
384
385
|
public static localCommit = Querysub.localRead;
|
|
386
|
+
/** @deprecated Don't use this. It doesn't do what you think. It can't be used for writes. */
|
|
385
387
|
public static commitLocal = Querysub.localRead;
|
|
386
388
|
public static fastRead<T>(fnc: () => T, options?: Partial<WatcherOptions<T>>) {
|
|
387
389
|
return proxyWatcher.runOnce({
|
|
@@ -34,7 +34,7 @@ export class MachineDetailPage extends qreact.Component {
|
|
|
34
34
|
for (let serviceId of serviceList) {
|
|
35
35
|
let serviceConfig = controller.getServiceConfig(serviceId);
|
|
36
36
|
if (!serviceConfig?.parameters.deploy) continue;
|
|
37
|
-
if (serviceConfig && serviceConfig.machineIds.includes(selectedMachineId)) {
|
|
37
|
+
if (serviceConfig && (serviceConfig.parameters.machineIds || []).includes(selectedMachineId)) {
|
|
38
38
|
relevantServiceConfigs.set(serviceId, serviceConfig);
|
|
39
39
|
}
|
|
40
40
|
}
|