@epam/ai-dial-chat-shared 1.1.0-dev.440 → 1.1.0-dev.441
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.
|
@@ -56,13 +56,11 @@ var e = { color: "var(--text-secondary, #57647A)" }, t = { color: "var(--text-ac
|
|
|
56
56
|
},
|
|
57
57
|
"code.keyword": {
|
|
58
58
|
...n,
|
|
59
|
-
background: "var(--text-visual-violet-1, #7C3AED)",
|
|
60
59
|
borderRadius: "5px",
|
|
61
60
|
padding: "1px 5px"
|
|
62
61
|
},
|
|
63
62
|
"keyword.code": {
|
|
64
63
|
...n,
|
|
65
|
-
background: "var(--text-visual-violet-1, #7C3AED)",
|
|
66
64
|
borderRadius: "5px",
|
|
67
65
|
padding: "1px 5px"
|
|
68
66
|
}
|
package/index.d.ts
CHANGED
|
@@ -2375,6 +2375,14 @@ export declare const truncateToUtf8Bytes: (str: string, maxBytes: number) => str
|
|
|
2375
2375
|
/** Decodes a base64 string into raw bytes, or `undefined` if the string is not valid base64. */
|
|
2376
2376
|
export declare const tryBase64ToBytes: (base64: string) => Uint8Array | undefined;
|
|
2377
2377
|
|
|
2378
|
+
/** Result of successfully uploading an {@link Attachment}. */
|
|
2379
|
+
export declare interface UploadedAttachmentResult {
|
|
2380
|
+
/** The DIAL Core file URL the attachment was uploaded to. */
|
|
2381
|
+
url: string;
|
|
2382
|
+
/** The name actually stored on DIAL Core; differs from the attachment's original name when it contained characters the storage path forbids. */
|
|
2383
|
+
name: string;
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2378
2386
|
/** Modal showing per-file upload progress with a cancel action. */
|
|
2379
2387
|
export declare const UploadProgressModal: FC<UploadProgressModalProps>;
|
|
2380
2388
|
|
package/package.json
CHANGED