@stndrds/constants 1.0.0-alpha.294 → 1.0.0-alpha.296
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/LICENSE +111 -0
- package/README.md +1 -1
- package/dist/index.d.mts +19 -6
- package/dist/index.d.ts +19 -6
- package/dist/index.js +2 -2970
- package/dist/index.mjs +2 -2857
- package/package.json +8 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
STANDARDS SDK LICENSE
|
|
2
|
+
Version 1.0, September 2026
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2025-2026 AND YOU CREATE SAS. All rights reserved.
|
|
5
|
+
|
|
6
|
+
AND YOU CREATE, a French société par actions simplifiée with a share capital
|
|
7
|
+
of EUR 500, registered with the Paris Trade and Companies Register under
|
|
8
|
+
number 940 190 614, having its registered office at 60 rue François Ier,
|
|
9
|
+
75008 Paris, France (VAT FR34940190614) ("AYC", "we"), is the sole owner of
|
|
10
|
+
the software distributed under this license (the "SDK"): the source code,
|
|
11
|
+
compiled code, type declarations, documentation and any accompanying files
|
|
12
|
+
published in this package.
|
|
13
|
+
|
|
14
|
+
This is not an open source license. The SDK is made available so that you
|
|
15
|
+
can build software that communicates with the Standards platform operated by
|
|
16
|
+
AYC ("Standards"). Reading the source is permitted; everything else is
|
|
17
|
+
governed by the terms below. By installing, copying or using the SDK you
|
|
18
|
+
("you", the "Licensee") accept them. If you do not accept them, do not use
|
|
19
|
+
the SDK.
|
|
20
|
+
|
|
21
|
+
1. LICENSE GRANT
|
|
22
|
+
AYC grants you a limited, non-exclusive, non-transferable, non-sublicensable,
|
|
23
|
+
revocable license to:
|
|
24
|
+
(a) install and use the SDK, in unmodified form, solely to develop, test
|
|
25
|
+
and run applications that communicate with a Standards tenant, workspace
|
|
26
|
+
or API that you are authorised to access under a valid agreement with
|
|
27
|
+
AYC or with an AYC customer; and
|
|
28
|
+
(b) make the copies of the SDK reasonably necessary for that purpose,
|
|
29
|
+
including copies produced by your build tooling and bundlers.
|
|
30
|
+
|
|
31
|
+
2. RESTRICTIONS
|
|
32
|
+
Except as expressly permitted in Section 1, you shall not, and shall not
|
|
33
|
+
permit any third party to:
|
|
34
|
+
(a) modify, translate, adapt or create derivative works of the SDK;
|
|
35
|
+
(b) reverse engineer, decompile or disassemble the SDK, or otherwise attempt
|
|
36
|
+
to derive its design or internal structure, except to the extent that
|
|
37
|
+
applicable law expressly permits it despite this restriction (Articles
|
|
38
|
+
L.122-6-1 III and IV of the French Intellectual Property Code), in which
|
|
39
|
+
case you shall first request the information from AYC;
|
|
40
|
+
(c) distribute, sell, rent, lease, lend, sublicense, publish or otherwise
|
|
41
|
+
make the SDK, or any part of it, available to any third party, other
|
|
42
|
+
than as bundled inside an application described in Section 1(a);
|
|
43
|
+
(d) use the SDK, or any knowledge of its interfaces, formats, protocols or
|
|
44
|
+
schemas obtained through it, to build, train or improve a product or
|
|
45
|
+
service that competes with Standards, or to access Standards other than
|
|
46
|
+
through the interfaces AYC documents;
|
|
47
|
+
(e) use the SDK to interact with any Standards instance, tenant or API that
|
|
48
|
+
you are not authorised to access, or to circumvent any authentication,
|
|
49
|
+
authorisation, rate limit, licence key or other technical measure;
|
|
50
|
+
(f) remove, alter or obscure any copyright, trademark, licence or other
|
|
51
|
+
proprietary notice in the SDK; or
|
|
52
|
+
(g) use AYC's or Standards' names, logos or trademarks except to state
|
|
53
|
+
truthfully that your application uses the Standards SDK.
|
|
54
|
+
|
|
55
|
+
3. OWNERSHIP
|
|
56
|
+
The SDK is licensed, not sold. AYC and its licensors retain all right, title
|
|
57
|
+
and interest in and to the SDK, including all intellectual property rights.
|
|
58
|
+
No right is granted by implication, estoppel or otherwise. Any feedback or
|
|
59
|
+
suggestion you provide about the SDK may be used by AYC without restriction
|
|
60
|
+
or obligation.
|
|
61
|
+
|
|
62
|
+
4. THIRD-PARTY COMPONENTS
|
|
63
|
+
The SDK may include or depend on third-party open source components. Those
|
|
64
|
+
components are governed by their own licences, which are identified in the
|
|
65
|
+
package metadata and prevail over this license for those components only.
|
|
66
|
+
|
|
67
|
+
5. UPDATES
|
|
68
|
+
AYC may publish new versions of the SDK at any time. This license applies to
|
|
69
|
+
each version you obtain unless that version is accompanied by a different
|
|
70
|
+
licence. AYC has no obligation to maintain, support or update the SDK.
|
|
71
|
+
|
|
72
|
+
6. TERM AND TERMINATION
|
|
73
|
+
This license is effective until terminated. It terminates automatically,
|
|
74
|
+
without notice, if you breach any of its terms. AYC may also terminate it on
|
|
75
|
+
written notice if your agreement with AYC or with the AYC customer whose
|
|
76
|
+
tenant you access ends. Upon termination you shall stop using the SDK and
|
|
77
|
+
destroy every copy in your possession or control. Sections 2, 3, 7, 8 and 9
|
|
78
|
+
survive termination.
|
|
79
|
+
|
|
80
|
+
7. NO WARRANTY
|
|
81
|
+
THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY OF ANY KIND,
|
|
82
|
+
EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A
|
|
83
|
+
PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, TO THE FULLEST EXTENT
|
|
84
|
+
PERMITTED BY APPLICABLE LAW. AYC does not warrant that the SDK will be
|
|
85
|
+
error-free or uninterrupted.
|
|
86
|
+
|
|
87
|
+
8. LIMITATION OF LIABILITY
|
|
88
|
+
TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, AYC SHALL NOT BE LIABLE
|
|
89
|
+
FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR
|
|
90
|
+
FOR ANY LOSS OF PROFITS, REVENUE, DATA OR GOODWILL, ARISING OUT OF OR IN
|
|
91
|
+
CONNECTION WITH THE SDK OR THIS LICENSE. AYC'S TOTAL AGGREGATE LIABILITY
|
|
92
|
+
UNDER THIS LICENSE SHALL NOT EXCEED ONE HUNDRED EUROS (EUR 100). Nothing in
|
|
93
|
+
this license excludes or limits liability that cannot be excluded or limited
|
|
94
|
+
under applicable law, including liability for gross negligence, wilful
|
|
95
|
+
misconduct or death or personal injury caused by negligence.
|
|
96
|
+
|
|
97
|
+
9. GOVERNING LAW AND JURISDICTION
|
|
98
|
+
This license is governed by the laws of France. Any dispute arising out of or
|
|
99
|
+
in connection with it shall be submitted to the exclusive jurisdiction of the
|
|
100
|
+
courts of Paris, France, subject to any mandatory rule granting jurisdiction
|
|
101
|
+
to another court.
|
|
102
|
+
|
|
103
|
+
10. GENERAL
|
|
104
|
+
If any provision of this license is held unenforceable, the remaining
|
|
105
|
+
provisions remain in force. AYC's failure to enforce a provision is not a
|
|
106
|
+
waiver of it. This license is the entire agreement between you and AYC about
|
|
107
|
+
the SDK and supersedes any prior understanding about it, without prejudice to
|
|
108
|
+
any separate agreement governing your access to Standards.
|
|
109
|
+
|
|
110
|
+
To obtain a different licence, or for any question about this one, contact
|
|
111
|
+
AND YOU CREATE SAS, 60 rue François Ier, 75008 Paris, France.
|
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -9,10 +9,17 @@ import { ClassValue } from 'clsx';
|
|
|
9
9
|
*/
|
|
10
10
|
/** Image MIME types supported by AI chat (subset of all image types) */
|
|
11
11
|
declare const AI_CHAT_SUPPORTED_IMAGES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml"];
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Document MIME types supported by AI chat.
|
|
14
|
+
*
|
|
15
|
+
* The two JavaScript spellings and XLSX are here so the agent can be handed the
|
|
16
|
+
* files people actually attach (#3169). JavaScript is read as prompt text like
|
|
17
|
+
* any other source file — nothing executes an attachment — and XLSX reaches the
|
|
18
|
+
* agent's sandbox, which is where a spreadsheet is useful.
|
|
19
|
+
*/
|
|
20
|
+
declare const AI_CHAT_SUPPORTED_DOCUMENTS: readonly ["application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/plain", "text/markdown", "text/csv", "text/javascript", "application/javascript"];
|
|
14
21
|
/** All MIME types supported by AI chat */
|
|
15
|
-
declare const AI_CHAT_SUPPORTED_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml", "application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/plain", "text/markdown", "text/csv"];
|
|
22
|
+
declare const AI_CHAT_SUPPORTED_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml", "application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/plain", "text/markdown", "text/csv", "text/javascript", "application/javascript"];
|
|
16
23
|
/** Comma-separated accept string for file inputs */
|
|
17
24
|
declare const AI_CHAT_ACCEPTED_TYPES: string;
|
|
18
25
|
/** Maximum file size for AI chat attachments (50 MB) */
|
|
@@ -1653,6 +1660,12 @@ declare const VIDEO_MIME_TYPES: {
|
|
|
1653
1660
|
declare const VIDEO_MIME_TYPES_ARRAY: ("video/mp4" | "video/webm" | "video/ogg" | "video/x-msvideo" | "video/quicktime" | "video/x-matroska" | "video/x-flv" | "video/x-ms-wmv" | "video/mpeg")[];
|
|
1654
1661
|
declare const CODE_MIME_TYPES: {
|
|
1655
1662
|
readonly JAVASCRIPT: "text/javascript";
|
|
1663
|
+
/**
|
|
1664
|
+
* The pre-WHATWG spelling, still what some browsers and platforms report for
|
|
1665
|
+
* a `.js` file. Accepting only the canonical one rejects the same file
|
|
1666
|
+
* depending on the machine it is picked from (#3169).
|
|
1667
|
+
*/
|
|
1668
|
+
readonly JAVASCRIPT_LEGACY: "application/javascript";
|
|
1656
1669
|
readonly TYPESCRIPT: "text/typescript";
|
|
1657
1670
|
readonly JSON: "application/json";
|
|
1658
1671
|
readonly XML: "application/xml";
|
|
@@ -1665,7 +1678,7 @@ declare const CODE_MIME_TYPES: {
|
|
|
1665
1678
|
readonly YAML: "application/x-yaml";
|
|
1666
1679
|
readonly SQL: "application/sql";
|
|
1667
1680
|
};
|
|
1668
|
-
declare const CODE_MIME_TYPES_ARRAY: ("text/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1681
|
+
declare const CODE_MIME_TYPES_ARRAY: ("text/javascript" | "application/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1669
1682
|
declare const FONT_MIME_TYPES: {
|
|
1670
1683
|
readonly TTF: "font/ttf";
|
|
1671
1684
|
readonly OTF: "font/otf";
|
|
@@ -1697,7 +1710,7 @@ declare const VIDEO: ("video/mp4" | "video/webm" | "video/ogg" | "video/x-msvide
|
|
|
1697
1710
|
/**
|
|
1698
1711
|
* All code MIME types
|
|
1699
1712
|
*/
|
|
1700
|
-
declare const CODE: ("text/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1713
|
+
declare const CODE: ("text/javascript" | "application/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1701
1714
|
/**
|
|
1702
1715
|
* All font MIME types
|
|
1703
1716
|
*/
|
|
@@ -1717,7 +1730,7 @@ declare const MEDIA: readonly ("image/jpeg" | "image/png" | "image/gif" | "image
|
|
|
1717
1730
|
/**
|
|
1718
1731
|
* All MIME types combined
|
|
1719
1732
|
*/
|
|
1720
|
-
declare const ALL_MIME_TYPES: readonly ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/svg+xml" | "image/bmp" | "image/tiff" | "image/x-icon" | "image/heic" | "image/heif" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.oasis.opendocument.text" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.presentation" | "application/rtf" | "text/plain" | "text/csv" | "text/markdown" | "application/zip" | "application/vnd.rar" | "application/x-tar" | "application/gzip" | "application/x-7z-compressed" | "application/x-bzip2" | "audio/mpeg" | "audio/wav" | "audio/ogg" | "audio/aac" | "audio/flac" | "audio/mp4" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "video/x-msvideo" | "video/quicktime" | "video/x-matroska" | "video/x-flv" | "video/x-ms-wmv" | "video/mpeg" | "text/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql" | "font/ttf" | "font/otf" | "font/woff" | "font/woff2" | "application/vnd.ms-fontobject")[];
|
|
1733
|
+
declare const ALL_MIME_TYPES: readonly ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/svg+xml" | "image/bmp" | "image/tiff" | "image/x-icon" | "image/heic" | "image/heif" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.oasis.opendocument.text" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.presentation" | "application/rtf" | "text/plain" | "text/csv" | "text/markdown" | "application/zip" | "application/vnd.rar" | "application/x-tar" | "application/gzip" | "application/x-7z-compressed" | "application/x-bzip2" | "audio/mpeg" | "audio/wav" | "audio/ogg" | "audio/aac" | "audio/flac" | "audio/mp4" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "video/x-msvideo" | "video/quicktime" | "video/x-matroska" | "video/x-flv" | "video/x-ms-wmv" | "video/mpeg" | "text/javascript" | "application/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql" | "font/ttf" | "font/otf" | "font/woff" | "font/woff2" | "application/vnd.ms-fontobject")[];
|
|
1721
1734
|
/**
|
|
1722
1735
|
* Union type of all valid MIME types
|
|
1723
1736
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -9,10 +9,17 @@ import { ClassValue } from 'clsx';
|
|
|
9
9
|
*/
|
|
10
10
|
/** Image MIME types supported by AI chat (subset of all image types) */
|
|
11
11
|
declare const AI_CHAT_SUPPORTED_IMAGES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml"];
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Document MIME types supported by AI chat.
|
|
14
|
+
*
|
|
15
|
+
* The two JavaScript spellings and XLSX are here so the agent can be handed the
|
|
16
|
+
* files people actually attach (#3169). JavaScript is read as prompt text like
|
|
17
|
+
* any other source file — nothing executes an attachment — and XLSX reaches the
|
|
18
|
+
* agent's sandbox, which is where a spreadsheet is useful.
|
|
19
|
+
*/
|
|
20
|
+
declare const AI_CHAT_SUPPORTED_DOCUMENTS: readonly ["application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/plain", "text/markdown", "text/csv", "text/javascript", "application/javascript"];
|
|
14
21
|
/** All MIME types supported by AI chat */
|
|
15
|
-
declare const AI_CHAT_SUPPORTED_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml", "application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/plain", "text/markdown", "text/csv"];
|
|
22
|
+
declare const AI_CHAT_SUPPORTED_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml", "application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/plain", "text/markdown", "text/csv", "text/javascript", "application/javascript"];
|
|
16
23
|
/** Comma-separated accept string for file inputs */
|
|
17
24
|
declare const AI_CHAT_ACCEPTED_TYPES: string;
|
|
18
25
|
/** Maximum file size for AI chat attachments (50 MB) */
|
|
@@ -1653,6 +1660,12 @@ declare const VIDEO_MIME_TYPES: {
|
|
|
1653
1660
|
declare const VIDEO_MIME_TYPES_ARRAY: ("video/mp4" | "video/webm" | "video/ogg" | "video/x-msvideo" | "video/quicktime" | "video/x-matroska" | "video/x-flv" | "video/x-ms-wmv" | "video/mpeg")[];
|
|
1654
1661
|
declare const CODE_MIME_TYPES: {
|
|
1655
1662
|
readonly JAVASCRIPT: "text/javascript";
|
|
1663
|
+
/**
|
|
1664
|
+
* The pre-WHATWG spelling, still what some browsers and platforms report for
|
|
1665
|
+
* a `.js` file. Accepting only the canonical one rejects the same file
|
|
1666
|
+
* depending on the machine it is picked from (#3169).
|
|
1667
|
+
*/
|
|
1668
|
+
readonly JAVASCRIPT_LEGACY: "application/javascript";
|
|
1656
1669
|
readonly TYPESCRIPT: "text/typescript";
|
|
1657
1670
|
readonly JSON: "application/json";
|
|
1658
1671
|
readonly XML: "application/xml";
|
|
@@ -1665,7 +1678,7 @@ declare const CODE_MIME_TYPES: {
|
|
|
1665
1678
|
readonly YAML: "application/x-yaml";
|
|
1666
1679
|
readonly SQL: "application/sql";
|
|
1667
1680
|
};
|
|
1668
|
-
declare const CODE_MIME_TYPES_ARRAY: ("text/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1681
|
+
declare const CODE_MIME_TYPES_ARRAY: ("text/javascript" | "application/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1669
1682
|
declare const FONT_MIME_TYPES: {
|
|
1670
1683
|
readonly TTF: "font/ttf";
|
|
1671
1684
|
readonly OTF: "font/otf";
|
|
@@ -1697,7 +1710,7 @@ declare const VIDEO: ("video/mp4" | "video/webm" | "video/ogg" | "video/x-msvide
|
|
|
1697
1710
|
/**
|
|
1698
1711
|
* All code MIME types
|
|
1699
1712
|
*/
|
|
1700
|
-
declare const CODE: ("text/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1713
|
+
declare const CODE: ("text/javascript" | "application/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql")[];
|
|
1701
1714
|
/**
|
|
1702
1715
|
* All font MIME types
|
|
1703
1716
|
*/
|
|
@@ -1717,7 +1730,7 @@ declare const MEDIA: readonly ("image/jpeg" | "image/png" | "image/gif" | "image
|
|
|
1717
1730
|
/**
|
|
1718
1731
|
* All MIME types combined
|
|
1719
1732
|
*/
|
|
1720
|
-
declare const ALL_MIME_TYPES: readonly ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/svg+xml" | "image/bmp" | "image/tiff" | "image/x-icon" | "image/heic" | "image/heif" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.oasis.opendocument.text" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.presentation" | "application/rtf" | "text/plain" | "text/csv" | "text/markdown" | "application/zip" | "application/vnd.rar" | "application/x-tar" | "application/gzip" | "application/x-7z-compressed" | "application/x-bzip2" | "audio/mpeg" | "audio/wav" | "audio/ogg" | "audio/aac" | "audio/flac" | "audio/mp4" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "video/x-msvideo" | "video/quicktime" | "video/x-matroska" | "video/x-flv" | "video/x-ms-wmv" | "video/mpeg" | "text/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql" | "font/ttf" | "font/otf" | "font/woff" | "font/woff2" | "application/vnd.ms-fontobject")[];
|
|
1733
|
+
declare const ALL_MIME_TYPES: readonly ("image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/svg+xml" | "image/bmp" | "image/tiff" | "image/x-icon" | "image/heic" | "image/heif" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.oasis.opendocument.text" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.presentation" | "application/rtf" | "text/plain" | "text/csv" | "text/markdown" | "application/zip" | "application/vnd.rar" | "application/x-tar" | "application/gzip" | "application/x-7z-compressed" | "application/x-bzip2" | "audio/mpeg" | "audio/wav" | "audio/ogg" | "audio/aac" | "audio/flac" | "audio/mp4" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "video/x-msvideo" | "video/quicktime" | "video/x-matroska" | "video/x-flv" | "video/x-ms-wmv" | "video/mpeg" | "text/javascript" | "application/javascript" | "text/typescript" | "application/json" | "application/xml" | "text/html" | "text/css" | "text/x-python" | "text/x-java-source" | "text/x-c" | "text/x-c++" | "application/x-yaml" | "application/sql" | "font/ttf" | "font/otf" | "font/woff" | "font/woff2" | "application/vnd.ms-fontobject")[];
|
|
1721
1734
|
/**
|
|
1722
1735
|
* Union type of all valid MIME types
|
|
1723
1736
|
*/
|