@bluepic/embed 0.4.0-next.188 → 0.4.0-next.189

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.
@@ -1,3 +1,4 @@
1
+ import { type AssetAuth } from '../../util/assetAuth';
1
2
  /**
2
3
  * Brand Portal — the asset viewer.
3
4
  *
@@ -51,6 +52,14 @@ type __VLS_Props = {
51
52
  }) => Promise<void>;
52
53
  /** Page count for a paged document, when the host can determine it. */
53
54
  getPageCount?: (bytes: ArrayBuffer) => Promise<number>;
55
+ /**
56
+ * Proof of access for a PROTECTED campaign — the password it was unlocked
57
+ * with and/or the signed-in visitor's access token. Every `fetch()` here
58
+ * sends it as headers; the media elements, which cannot, get it as query
59
+ * parameters (see `util/assetAuth`). Absent for a public campaign, which
60
+ * leaves every request exactly as it was.
61
+ */
62
+ assetAuth?: AssetAuth | null;
54
63
  };
55
64
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
56
65
  close: () => any;
@@ -1,4 +1,4 @@
1
- import type { BatchFileFormat, BatchNaming } from '../../util/batch/export';
1
+ import type { BatchFileFormat, BatchNaming, BatchFailedRow } from '../../util/batch/export';
2
2
  import type { BatchCsvFormat } from '../../util/batch/csv';
3
3
  export type BatchExportKind = 'files' | 'csv';
4
4
  export interface BatchExportRunOptions {
@@ -30,6 +30,8 @@ export interface BatchExportRunResult {
30
30
  done: number;
31
31
  failed: number;
32
32
  };
33
+ /** Files export: rows that threw and are missing from `output` (0-based index). */
34
+ failedRows?: BatchFailedRow[];
33
35
  cancelled?: boolean;
34
36
  }
35
37
  /**