From 63182603307b08dac64eb4e7f71b81195a490eef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Dec 2025 15:00:18 +0000 Subject: [PATCH] Add larkSecret field to NotificationInfo proto definition Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --- back/protos/api.proto | 1 + back/protos/api.ts | 20 +++++++++++++++++++- back/protos/cron.ts | 2 +- back/protos/health.ts | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/back/protos/api.proto b/back/protos/api.proto index cb658829..f819c062 100644 --- a/back/protos/api.proto +++ b/back/protos/api.proto @@ -231,6 +231,7 @@ message NotificationInfo { optional string webhookContentType = 57; optional string larkKey = 58; + optional string larkSecret = 69; optional string ntfyUrl = 59; optional string ntfyTopic = 60; diff --git a/back/protos/api.ts b/back/protos/api.ts index 967f7520..9359b33b 100644 --- a/back/protos/api.ts +++ b/back/protos/api.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: // protoc-gen-ts_proto v2.6.1 -// protoc v3.17.3 +// protoc v3.21.12 // source: back/protos/api.proto /* eslint-disable */ @@ -382,6 +382,7 @@ export interface NotificationInfo { webhookMethod?: string | undefined; webhookContentType?: string | undefined; larkKey?: string | undefined; + larkSecret?: string | undefined; ntfyUrl?: string | undefined; ntfyTopic?: string | undefined; ntfyPriority?: string | undefined; @@ -2947,6 +2948,7 @@ function createBaseNotificationInfo(): NotificationInfo { webhookMethod: undefined, webhookContentType: undefined, larkKey: undefined, + larkSecret: undefined, ntfyUrl: undefined, ntfyTopic: undefined, ntfyPriority: undefined, @@ -3136,6 +3138,9 @@ export const NotificationInfo: MessageFns = { if (message.larkKey !== undefined) { writer.uint32(466).string(message.larkKey); } + if (message.larkSecret !== undefined) { + writer.uint32(554).string(message.larkSecret); + } if (message.ntfyUrl !== undefined) { writer.uint32(474).string(message.ntfyUrl); } @@ -3640,6 +3645,14 @@ export const NotificationInfo: MessageFns = { message.larkKey = reader.string(); continue; } + case 69: { + if (tag !== 554) { + break; + } + + message.larkSecret = reader.string(); + continue; + } case 59: { if (tag !== 474) { break; @@ -3797,6 +3810,7 @@ export const NotificationInfo: MessageFns = { webhookMethod: isSet(object.webhookMethod) ? globalThis.String(object.webhookMethod) : undefined, webhookContentType: isSet(object.webhookContentType) ? globalThis.String(object.webhookContentType) : undefined, larkKey: isSet(object.larkKey) ? globalThis.String(object.larkKey) : undefined, + larkSecret: isSet(object.larkSecret) ? globalThis.String(object.larkSecret) : undefined, ntfyUrl: isSet(object.ntfyUrl) ? globalThis.String(object.ntfyUrl) : undefined, ntfyTopic: isSet(object.ntfyTopic) ? globalThis.String(object.ntfyTopic) : undefined, ntfyPriority: isSet(object.ntfyPriority) ? globalThis.String(object.ntfyPriority) : undefined, @@ -3990,6 +4004,9 @@ export const NotificationInfo: MessageFns = { if (message.larkKey !== undefined) { obj.larkKey = message.larkKey; } + if (message.larkSecret !== undefined) { + obj.larkSecret = message.larkSecret; + } if (message.ntfyUrl !== undefined) { obj.ntfyUrl = message.ntfyUrl; } @@ -4086,6 +4103,7 @@ export const NotificationInfo: MessageFns = { message.webhookMethod = object.webhookMethod ?? undefined; message.webhookContentType = object.webhookContentType ?? undefined; message.larkKey = object.larkKey ?? undefined; + message.larkSecret = object.larkSecret ?? undefined; message.ntfyUrl = object.ntfyUrl ?? undefined; message.ntfyTopic = object.ntfyTopic ?? undefined; message.ntfyPriority = object.ntfyPriority ?? undefined; diff --git a/back/protos/cron.ts b/back/protos/cron.ts index 8524dfaf..82d1c44c 100644 --- a/back/protos/cron.ts +++ b/back/protos/cron.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: // protoc-gen-ts_proto v2.6.1 -// protoc v3.17.3 +// protoc v3.21.12 // source: back/protos/cron.proto /* eslint-disable */ diff --git a/back/protos/health.ts b/back/protos/health.ts index adaf9761..b88f2a9c 100644 --- a/back/protos/health.ts +++ b/back/protos/health.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: // protoc-gen-ts_proto v2.6.1 -// protoc v3.17.3 +// protoc v3.21.12 // source: back/protos/health.proto /* eslint-disable */