feat: new attach / update subscription params

This commit is contained in:
John Yeo
2026-02-17 12:48:11 +00:00
parent a668c5d9e9
commit e6077458a2
112 changed files with 2555 additions and 419 deletions

View File

@@ -5,6 +5,7 @@ import {
} from "@api/versionUtils/versionChangeUtils/VersionChange.js";
import { CusExpand } from "@models/cusModels/cusExpand.js";
import type { z } from "zod/v4";
import type { SharedContext } from "../../../types/sharedContext.js";
import {
type GetEntityQuery,
GetEntityQuerySchema,
@@ -46,8 +47,10 @@ export const V1_2_EntityQueryChange = defineVersionChange({
// Request: V1.2 → V2.0 (add expand options)
transformRequest: ({
ctx: _ctx,
input,
}: {
ctx: SharedContext;
input: z.infer<typeof GetEntityQuerySchema>;
}) => {
const existingExpand = input.expand || [];