fix: rename unused ctx params to _ctx, remove unused imports
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 5m38s
Workflow / ⚫️ Test (push) Has been skipped

- Fix 17 unused ctx params in module-builder, verbandsverwaltung, sitzungsprotokolle actions
- Remove unused CardDescription/CardHeader/CardTitle from pricing calculator
- Remove unused FileSignature import from layout
This commit is contained in:
Zaid Marzguioui
2026-04-02 19:25:01 +02:00
parent a3be926f6f
commit a1aa1bee86
7 changed files with 17 additions and 21 deletions

View File

@@ -26,7 +26,7 @@ const REVALIDATION_PATH = '/home/[account]/meetings';
export const createProtocol = authActionClient
.inputSchema(CreateMeetingProtocolSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createMeetingsApi(client);
@@ -44,7 +44,7 @@ export const createProtocol = authActionClient
export const updateProtocol = authActionClient
.inputSchema(UpdateMeetingProtocolSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createMeetingsApi(client);
@@ -88,7 +88,7 @@ export const deleteProtocol = authActionClient
export const createProtocolItem = authActionClient
.inputSchema(CreateProtocolItemSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createMeetingsApi(client);
@@ -109,7 +109,7 @@ export const createProtocolItem = authActionClient
export const updateProtocolItem = authActionClient
.inputSchema(UpdateProtocolItemSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createMeetingsApi(client);
@@ -130,7 +130,7 @@ export const updateProtocolItem = authActionClient
export const updateItemStatus = authActionClient
.inputSchema(UpdateItemStatusSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createMeetingsApi(client);
@@ -198,7 +198,7 @@ export const addProtocolAttachment = authActionClient
mimeType: z.string().min(1),
}),
)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createMeetingsApi(client);