@ai-matrx/associations 0.9.28 → 0.9.30
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/CHANGELOG.md +12 -0
- package/dist/{CommentThread-D_mm_HkY.d.cts → CommentThread-DC_0ddWH.d.cts} +1 -1
- package/dist/{CommentThread-D_mm_HkY.d.ts → CommentThread-DC_0ddWH.d.ts} +1 -1
- package/dist/core/index.cjs +8 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +8 -0
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -2
- package/dist/index.d.ts +66 -2
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +19 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +19 -3
- package/dist/react/index.js.map +1 -1
- package/dist/react/lazy/index.d.cts +1 -1
- package/dist/react/lazy/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/react/index.cjs
CHANGED
|
@@ -426,6 +426,9 @@ var ENTITY_TYPE_TOKENS = [
|
|
|
426
426
|
"dockets",
|
|
427
427
|
"domain_classification",
|
|
428
428
|
"edge_payload_kind",
|
|
429
|
+
"egress_device",
|
|
430
|
+
"egress_pairing",
|
|
431
|
+
"egress_ticket",
|
|
429
432
|
"emails",
|
|
430
433
|
"embedding_cache",
|
|
431
434
|
"embeddings_google_gemini_2_1536",
|
|
@@ -723,6 +726,7 @@ var ENTITY_TYPE_TOKENS = [
|
|
|
723
726
|
"meet_transcript_segment",
|
|
724
727
|
"membership",
|
|
725
728
|
"membership_grant",
|
|
729
|
+
"merge_field_provenance",
|
|
726
730
|
"message",
|
|
727
731
|
"message_template",
|
|
728
732
|
"meta_excluded_schema",
|
|
@@ -3782,9 +3786,21 @@ function AssociationCaptureToolbar({
|
|
|
3782
3786
|
}
|
|
3783
3787
|
if (result.failed.length > 0) {
|
|
3784
3788
|
const first = result.failed[0];
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3789
|
+
if (result.failed.length === 1 && first) {
|
|
3790
|
+
notifier.error(`Failed to upload ${first.name}: ${first.error}`);
|
|
3791
|
+
} else {
|
|
3792
|
+
const reasonCounts = /* @__PURE__ */ new Map();
|
|
3793
|
+
for (const f of result.failed) {
|
|
3794
|
+
const reason = f.error && f.error.trim().length > 0 ? f.error : "Upload failed";
|
|
3795
|
+
reasonCounts.set(reason, (reasonCounts.get(reason) ?? 0) + 1);
|
|
3796
|
+
}
|
|
3797
|
+
const lines = Array.from(reasonCounts.entries()).map(
|
|
3798
|
+
([reason, count]) => `${count}\xD7 ${reason}`
|
|
3799
|
+
);
|
|
3800
|
+
notifier.error(`Failed to upload ${result.failed.length} files`, {
|
|
3801
|
+
description: lines.join("\n")
|
|
3802
|
+
});
|
|
3803
|
+
}
|
|
3788
3804
|
}
|
|
3789
3805
|
if (ids.length === 0 && result.failed.length === 0) {
|
|
3790
3806
|
notifier.error("Nothing was uploaded or attached");
|