@ai-matrx/associations 0.13.19 → 0.13.21

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.
@@ -829,6 +829,7 @@ var ENTITY_TYPE_TOKENS = [
829
829
  "platform_cutover_seam",
830
830
  "platform_cutover_seam_measure",
831
831
  "platform_cutover_seam_press",
832
+ "platform_dated_change",
832
833
  "platform_doors_only_pending_cutover",
833
834
  "platform_google_calendar_event_create_intent",
834
835
  "platform_google_task_create_intent",
@@ -1111,7 +1112,9 @@ var ENTITY_TYPE_TOKENS = [
1111
1112
  "user_stat",
1112
1113
  "user_storage_usage",
1113
1114
  "user_surface_state",
1115
+ "vault_fill_approvals",
1114
1116
  "vault_fill_devices",
1117
+ "vault_fill_nonces",
1115
1118
  "visibility_cache",
1116
1119
  "visibility_epoch",
1117
1120
  "voice",
@@ -4466,7 +4469,8 @@ var import_jsx_runtime14 = require("react/jsx-runtime");
4466
4469
  function AssociationCaptureToolbar({
4467
4470
  attach,
4468
4471
  uploadFolderPath,
4469
- uploadVisibility = "personal",
4472
+ uploadPublishedToWeb = false,
4473
+ uploadShownTo = "only_me",
4470
4474
  uploadLocationLabel,
4471
4475
  attachRetryLabel = '"Add file"',
4472
4476
  filePicker,
@@ -4495,10 +4499,8 @@ function AssociationCaptureToolbar({
4495
4499
  const failed = [];
4496
4500
  for (const file of opts.files) {
4497
4501
  try {
4498
- const result = await hostUploadFile(file, {
4499
- folderPath: opts.folderPath,
4500
- ...opts.visibility !== void 0 ? { visibility: opts.visibility } : {}
4501
- });
4502
+ const { files: _files, ...uploadOpts } = opts;
4503
+ const result = await hostUploadFile(file, uploadOpts);
4502
4504
  if (result.ok) uploaded.push(result.id);
4503
4505
  else failed.push({ name: file.name, error: result.error });
4504
4506
  } catch (err) {
@@ -4534,7 +4536,10 @@ function AssociationCaptureToolbar({
4534
4536
  const result = await requestUpload({
4535
4537
  files,
4536
4538
  folderPath: uploadFolderPath,
4537
- visibility: uploadVisibility
4539
+ publishedToWeb: uploadPublishedToWeb,
4540
+ shownTo: uploadShownTo,
4541
+ visibility: uploadPublishedToWeb ? "public" : uploadShownTo === "only_me" ? "personal" : "internal"
4542
+ // T-13 transitional wire input
4538
4543
  });
4539
4544
  if (result.cancelled) {
4540
4545
  notifier.success("Upload cancelled \u2014 nothing was attached");