@sparkvault/sdk-js 16.7.0 → 16.7.1

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.
@@ -20,6 +20,8 @@ export interface FormAttachments {
20
20
  readonly attachmentIds: string[];
21
21
  readonly unresolved: boolean;
22
22
  readonly hasEntries: boolean;
23
+ /** The names of the files it holds, its chips' names. */
24
+ readonly names: string[];
23
25
  add(files: ArrayLike<File>): void;
24
26
  start(): Promise<void>;
25
27
  lock(value: boolean): void;
@@ -25,10 +25,14 @@ export interface ComposerOptions {
25
25
  * The details field as a composer. A file pasted into the summary or the
26
26
  * details, or dropped anywhere on the request step, joins the form's one
27
27
  * attachment pipeline (`attachments.add`), under the same limits and
28
- * refusals as a picked one; the drop target shows only over the composer. A
29
- * paste or drag of text alone stays the browser's. A file brought over the
30
- * form is never the browser's to open in place of the unsent request: on the
31
- * sign-in step, or while the form takes no files, it is refused outright,
32
- * and a desk that takes no files says so when the file is dropped.
28
+ * refusals as a picked one; the drop target shows only over the composer.
29
+ * How a drag, a drop and a paste are answered (which files they carry, the
30
+ * folders a drop leaves out, the names of pasted pictures, when the drop
31
+ * target shows) is @sparkvault/app-sdk/composer-files' to decide; this says
32
+ * what a file brought now does. A paste or drag of text alone stays the
33
+ * browser's. A file brought over the form is never the browser's to open in
34
+ * place of the unsent request: on the sign-in step, or while the form takes
35
+ * no files, it is refused outright, and a desk that takes no files says so
36
+ * when the file is dropped.
33
37
  */
34
38
  export declare function createComposer(options: ComposerOptions): FormComposer;