antenna-fyi 1.2.17 → 1.2.19
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/lib/cli.js +3 -1
- package/lib/core.js +2 -0
- package/package.json +1 -1
package/lib/cli.js
CHANGED
|
@@ -207,8 +207,10 @@ export async function handleEvent(f) {
|
|
|
207
207
|
result.profiles.forEach((p) => {
|
|
208
208
|
const badge = p.checked_in ? " ✅" : "";
|
|
209
209
|
const creatorTag = p.role === "creator" ? " [主办]" : "";
|
|
210
|
-
|
|
210
|
+
const statusTag = p.status === "pending" ? " 🟡待审批" : "";
|
|
211
|
+
console.log(` ${p.emoji} ${p.name}${creatorTag}${badge}${statusTag}`);
|
|
211
212
|
if (p.line1) console.log(` ${p.line1}`);
|
|
213
|
+
if (p.application_context) console.log(` 📝 ${p.application_context}`);
|
|
212
214
|
console.log(` ref: ${p.ref}\n`);
|
|
213
215
|
});
|
|
214
216
|
return;
|
package/lib/core.js
CHANGED
|
@@ -624,6 +624,8 @@ export async function eventScan({ code, device_id, supabaseUrl, supabaseKey }) {
|
|
|
624
624
|
line3: p.line3,
|
|
625
625
|
checked_in: !!p.checked_in,
|
|
626
626
|
role: p.role || "participant",
|
|
627
|
+
status: p.status || "active",
|
|
628
|
+
application_context: p.application_context || null,
|
|
627
629
|
source: "event",
|
|
628
630
|
};
|
|
629
631
|
});
|