antenna-openclaw-plugin 1.2.37 → 1.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +5 -5
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -683,14 +683,14 @@ export default function register(api: any) {
|
|
|
683
683
|
chat_id: { type: "string", description: "REQUIRED for notifications. Pass the chat/channel ID from your message context so Antenna can send you match and event notifications." },
|
|
684
684
|
lat: { type: "number", description: "Event latitude" },
|
|
685
685
|
lng: { type: "number", description: "Event longitude" },
|
|
686
|
-
starts_at: { type: "string", description: "Start time ISO" },
|
|
687
|
-
ends_at: { type: "string", description: "End time ISO" },
|
|
686
|
+
starts_at: { type: "string", description: "Start time ISO (required)" },
|
|
687
|
+
ends_at: { type: "string", description: "End time ISO (required)" },
|
|
688
688
|
description: { type: "string", description: "Event description" },
|
|
689
689
|
og_image: { type: "string", description: "OG image URL for social sharing" },
|
|
690
690
|
requires_approval: { type: "boolean", description: "Require host approval to join (default false)" },
|
|
691
691
|
screening_questions: { type: "array", items: { type: "string" }, description: "Screening questions for applicants" },
|
|
692
692
|
},
|
|
693
|
-
required: ["name", "sender_id", "channel"],
|
|
693
|
+
required: ["name", "sender_id", "channel", "starts_at", "ends_at"],
|
|
694
694
|
},
|
|
695
695
|
async execute(_id: string, params: any) {
|
|
696
696
|
const cfg = getConfig(api);
|
|
@@ -701,8 +701,8 @@ export default function register(api: any) {
|
|
|
701
701
|
p_lat: params.lat || null,
|
|
702
702
|
p_lng: params.lng || null,
|
|
703
703
|
p_created_by: deviceId,
|
|
704
|
-
p_starts_at: params.starts_at ||
|
|
705
|
-
p_ends_at: params.ends_at ||
|
|
704
|
+
p_starts_at: params.starts_at || null,
|
|
705
|
+
p_ends_at: params.ends_at || null,
|
|
706
706
|
p_description: params.description || null,
|
|
707
707
|
p_og_image: params.og_image || null,
|
|
708
708
|
p_requires_approval: params.requires_approval || false,
|