


























@@ -6,8 +6,6 @@ import type {
66SecretInput,
77} from "../runtime-api.js";
889-export type { DmPolicy, GroupPolicy };
10-119export type NextcloudTalkRoomConfig = {
1210requireMention?: boolean;
1311/** Optional tool policy overrides for this room. */
@@ -22,7 +20,7 @@ export type NextcloudTalkRoomConfig = {
2220systemPrompt?: string;
2321};
242225-export type NextcloudTalkNetworkConfig = {
23+type NextcloudTalkNetworkConfig = {
2624/** Dangerous opt-in for self-hosted Nextcloud Talk on trusted private/internal hosts. */
2725dangerouslyAllowPrivateNetwork?: boolean;
2826};
@@ -84,7 +82,7 @@ export type NextcloudTalkAccountConfig = {
8482network?: NextcloudTalkNetworkConfig;
8583};
868487-export type NextcloudTalkConfig = {
85+type NextcloudTalkConfig = {
8886/** Optional per-account Nextcloud Talk configuration (multi-account). */
8987accounts?: Record<string, NextcloudTalkAccountConfig>;
9088/** Optional default account id when multiple accounts are configured. */
@@ -104,7 +102,7 @@ export type CoreConfig = {
104102 */
105103106104/** Actor in the activity (the message sender). */
107-export type NextcloudTalkActor = {
105+type NextcloudTalkActor = {
108106type: "Person";
109107/** User ID in Nextcloud. */
110108id: string;
@@ -113,7 +111,7 @@ export type NextcloudTalkActor = {
113111};
114112115113/** The message object in the activity. */
116-export type NextcloudTalkObject = {
114+type NextcloudTalkObject = {
117115type: "Note";
118116/** Message ID. */
119117id: string;
@@ -126,7 +124,7 @@ export type NextcloudTalkObject = {
126124};
127125128126/** Target conversation/room. */
129-export type NextcloudTalkTarget = {
127+type NextcloudTalkTarget = {
130128type: "Collection";
131129/** Room token. */
132130id: string;
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。