Update heartwood to rc.8
- Update node config schema for relay property
- Decouple stats from tree endpoint response
- Add alias to project delegates and threshold
- Add apiVersion to config and httpd request
29 files changed
+167
-77
824ea2e6
→
f50521ca
modified flake.lock
@@ -64,16 +64,16 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified flake.nix
@@ -4,7 +4,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified httpd-client/index.ts
@@ -6,6 +6,7 @@ import type {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -82,6 +83,7 @@ export type {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -101,6 +103,7 @@ const nodeInfoSchema = object({
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified httpd-client/lib/fetcher.ts
@@ -3,6 +3,9 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -40,16 +43,41 @@ export class ResponseError extends Error {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -93,8 +121,7 @@ export class Fetcher {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -112,9 +139,12 @@ export class Fetcher {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified httpd-client/lib/project.ts
@@ -55,8 +55,9 @@ const projectSchema = object({
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -102,11 +103,13 @@ const treeEntrySchema = object({
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -115,11 +118,6 @@ const treeSchema = object({
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -153,6 +151,7 @@ export class Client {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -275,6 +274,28 @@ export class Client {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified httpd-client/lib/project/commit.ts
@@ -236,11 +236,4 @@ const commitSchema = object({
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
modified httpd-client/lib/shared.ts
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -23,7 +23,7 @@ export const nodeConfigSchema = object({
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified httpd-client/tests/project.test.ts
@@ -53,6 +53,10 @@ describe("project", () => {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified httpd-client/vite.config.ts
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified package-lock.json
@@ -15,6 +15,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1880,6 +1881,11 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified package.json
@@ -53,6 +53,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/config.json
@@ -1,6 +1,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/lib/config.ts
@@ -4,6 +4,7 @@ import configJson from "@app/config.json";
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -21,6 +22,7 @@ function getConfig(): Config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/views/home/Index.svelte
@@ -91,7 +91,12 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -186,13 +191,13 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -261,11 +266,11 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/views/home/error.ts
@@ -12,8 +12,7 @@ export function handleError(
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/views/nodes/View.svelte
@@ -194,7 +194,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/views/nodes/error.ts
@@ -11,8 +11,7 @@ export function handleError(
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/History.svelte
@@ -5,6 +5,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -29,8 +30,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -54,8 +55,7 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -117,6 +117,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -135,11 +136,11 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/Issue.svelte
@@ -402,6 +402,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -507,7 +508,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -518,7 +519,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -645,7 +646,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -672,7 +673,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -689,7 +690,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -706,7 +707,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/Issue/New.svelte
@@ -136,12 +136,16 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/views/projects/Patch.svelte
@@ -604,6 +604,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -747,7 +748,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -758,7 +759,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1004,7 +1005,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1040,7 +1041,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1100,10 +1101,7 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/Source.svelte
@@ -1,5 +1,11 @@
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -24,6 +30,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -125,6 +132,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/views/projects/Source/Header.svelte
@@ -1,5 +1,11 @@
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -16,6 +22,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -121,7 +128,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/error.ts
@@ -43,8 +43,7 @@ export function handleError(
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/router.ts
@@ -18,6 +18,7 @@ import type {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -117,6 +118,7 @@ export type ProjectLoadedRoute =
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -133,8 +135,8 @@ export type ProjectLoadedRoute =
|
|
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
@@ -443,6 +445,8 @@ async function loadTreeView(
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -460,6 +464,7 @@ async function loadTreeView(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -533,8 +538,9 @@ async function loadHistoryView(
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -553,8 +559,8 @@ async function loadHistoryView(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified tests/e2e/node.spec.ts
@@ -19,7 +19,7 @@ test("node metadata", async ({ page, peerManager }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/support/fixtures.ts
@@ -77,6 +77,7 @@ export const test = base.extend<{
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -214,6 +215,7 @@ export function appConfigWithFixture(defaultLocalHttpdPort = 8081) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified tests/support/heartwood-release
@@ -1 +1 @@
| - | |
|
|
| + | |
|
modified tests/support/peerManager.ts
@@ -16,7 +16,7 @@ import * as readline from "node:readline/promises";
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -132,7 +132,7 @@ export const NodeConfigSchema = object({
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|