Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
refactor: move inlined issuesListQuerySchema below imports + comment
[._.]/ Adam Eivye96620741ec0
diff --git a/server/routes/pipeline.js b/server/routes/pipeline.jsindex f8a1a25857..0de374b4cc 100644--- a/server/routes/pipeline.js+++ b/server/routes/pipeline.js@@ -32,11 +32,6 @@ import {PIXEL_CAP_MESSAGE,} from '../lib/validation.js';-const issuesListQuerySchema = z.object({- offset: z.preprocess((v) => (v === undefined ? 0 : Number(v)), z.number().int().min(0)).default(0),- limit: z.preprocess((v) => (v === undefined ? 1000 : Number(v)), z.number().int().min(1).max(1000)).default(1000),-});-import * as seriesSvc from '../services/pipeline/series.js';import * as issuesSvc from '../services/pipeline/issues.js';import * as seasonsSvc from '../services/pipeline/seasons.js';@@ -91,6 +86,12 @@ import {import { llmSchema } from './universeBuilder.js';import { ARC_LIMITS, ARC_STATUSES, ARC_SHAPE_IDS, ARC_ROLES, SEASON_STATUSES } from '../lib/storyArc.js';+// Inline until better/code-quality lands and exports this from validation.js+const issuesListQuerySchema = z.object({+ offset: z.preprocess((v) => (v === undefined ? 0 : Number(v)), z.number().int().min(0)).default(0),+ limit: z.preprocess((v) => (v === undefined ? 1000 : Number(v)), z.number().int().min(1).max(1000)).default(1000),+});+const router = Router();const SERVICE_ERROR_STATUS = {