@uniformdev/files 20.61.2-alpha.4 → 20.63.1-alpha.12
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/dist/index.d.mts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.esm.js +3 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -30,7 +30,6 @@ interface paths {
|
|
|
30
30
|
};
|
|
31
31
|
content: {
|
|
32
32
|
"application/json": {
|
|
33
|
-
/** Format: uuid */
|
|
34
33
|
id: string;
|
|
35
34
|
state: number;
|
|
36
35
|
url?: string;
|
|
@@ -68,12 +67,9 @@ interface paths {
|
|
|
68
67
|
requestBody: {
|
|
69
68
|
content: {
|
|
70
69
|
"application/json": {
|
|
71
|
-
/** Format: uuid */
|
|
72
70
|
id?: string;
|
|
73
|
-
/** Format: uuid */
|
|
74
71
|
projectId?: string;
|
|
75
72
|
sourceId?: string;
|
|
76
|
-
/** Format: uuid */
|
|
77
73
|
teamId?: string;
|
|
78
74
|
name: string;
|
|
79
75
|
size: number;
|
|
@@ -91,7 +87,6 @@ interface paths {
|
|
|
91
87
|
};
|
|
92
88
|
content: {
|
|
93
89
|
"application/json": {
|
|
94
|
-
/** Format: uuid */
|
|
95
90
|
id: string;
|
|
96
91
|
uploadUrl: string;
|
|
97
92
|
/** @enum {string} */
|
|
@@ -127,7 +122,6 @@ interface paths {
|
|
|
127
122
|
url?: string;
|
|
128
123
|
fileId?: string;
|
|
129
124
|
sourceId?: string;
|
|
130
|
-
/** Format: uuid */
|
|
131
125
|
projectId?: string;
|
|
132
126
|
};
|
|
133
127
|
};
|
|
@@ -140,7 +134,6 @@ interface paths {
|
|
|
140
134
|
};
|
|
141
135
|
content: {
|
|
142
136
|
"application/json": {
|
|
143
|
-
/** Format: uuid */
|
|
144
137
|
id: string;
|
|
145
138
|
};
|
|
146
139
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ interface paths {
|
|
|
30
30
|
};
|
|
31
31
|
content: {
|
|
32
32
|
"application/json": {
|
|
33
|
-
/** Format: uuid */
|
|
34
33
|
id: string;
|
|
35
34
|
state: number;
|
|
36
35
|
url?: string;
|
|
@@ -68,12 +67,9 @@ interface paths {
|
|
|
68
67
|
requestBody: {
|
|
69
68
|
content: {
|
|
70
69
|
"application/json": {
|
|
71
|
-
/** Format: uuid */
|
|
72
70
|
id?: string;
|
|
73
|
-
/** Format: uuid */
|
|
74
71
|
projectId?: string;
|
|
75
72
|
sourceId?: string;
|
|
76
|
-
/** Format: uuid */
|
|
77
73
|
teamId?: string;
|
|
78
74
|
name: string;
|
|
79
75
|
size: number;
|
|
@@ -91,7 +87,6 @@ interface paths {
|
|
|
91
87
|
};
|
|
92
88
|
content: {
|
|
93
89
|
"application/json": {
|
|
94
|
-
/** Format: uuid */
|
|
95
90
|
id: string;
|
|
96
91
|
uploadUrl: string;
|
|
97
92
|
/** @enum {string} */
|
|
@@ -127,7 +122,6 @@ interface paths {
|
|
|
127
122
|
url?: string;
|
|
128
123
|
fileId?: string;
|
|
129
124
|
sourceId?: string;
|
|
130
|
-
/** Format: uuid */
|
|
131
125
|
projectId?: string;
|
|
132
126
|
};
|
|
133
127
|
};
|
|
@@ -140,7 +134,6 @@ interface paths {
|
|
|
140
134
|
};
|
|
141
135
|
content: {
|
|
142
136
|
"application/json": {
|
|
143
|
-
/** Format: uuid */
|
|
144
137
|
id: string;
|
|
145
138
|
};
|
|
146
139
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -80,9 +80,11 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
|
|
|
80
80
|
var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
|
|
81
81
|
var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
|
|
82
82
|
var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
|
|
83
|
-
var FILE_TYPES_OTHER = [".pdf", ".json", ".zip", ".lottie", ".srt", ".vtt"];
|
|
83
|
+
var FILE_TYPES_OTHER = [".pdf", ".txt", ".md", ".json", ".zip", ".lottie", ".srt", ".vtt"];
|
|
84
84
|
var FILE_MIME_TYPES_OTHER = [
|
|
85
85
|
"application/pdf",
|
|
86
|
+
"text/plain",
|
|
87
|
+
"text/markdown",
|
|
86
88
|
"application/json",
|
|
87
89
|
"application/zip",
|
|
88
90
|
"application/zip+dotlottie",
|
package/dist/index.js
CHANGED
|
@@ -121,9 +121,11 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
|
|
|
121
121
|
var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
|
|
122
122
|
var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
|
|
123
123
|
var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
|
|
124
|
-
var FILE_TYPES_OTHER = [".pdf", ".json", ".zip", ".lottie", ".srt", ".vtt"];
|
|
124
|
+
var FILE_TYPES_OTHER = [".pdf", ".txt", ".md", ".json", ".zip", ".lottie", ".srt", ".vtt"];
|
|
125
125
|
var FILE_MIME_TYPES_OTHER = [
|
|
126
126
|
"application/pdf",
|
|
127
|
+
"text/plain",
|
|
128
|
+
"text/markdown",
|
|
127
129
|
"application/json",
|
|
128
130
|
"application/zip",
|
|
129
131
|
"application/zip+dotlottie",
|
package/dist/index.mjs
CHANGED
|
@@ -80,9 +80,11 @@ var FILE_TYPES_VIDEO = [".mp4", ".webm", ".ogg"];
|
|
|
80
80
|
var FILE_MIME_TYPES_VIDEO = ["video/mp4", "video/webm", "video/ogg"];
|
|
81
81
|
var FILE_TYPES_AUDIO = [".mp3", ".wav", ".ogg", ".flac"];
|
|
82
82
|
var FILE_MIME_TYPES_AUDIO = ["audio/mpeg", "audio/mp4", "audio/wav", "audio/ogg", "audio/flac"];
|
|
83
|
-
var FILE_TYPES_OTHER = [".pdf", ".json", ".zip", ".lottie", ".srt", ".vtt"];
|
|
83
|
+
var FILE_TYPES_OTHER = [".pdf", ".txt", ".md", ".json", ".zip", ".lottie", ".srt", ".vtt"];
|
|
84
84
|
var FILE_MIME_TYPES_OTHER = [
|
|
85
85
|
"application/pdf",
|
|
86
|
+
"text/plain",
|
|
87
|
+
"text/markdown",
|
|
86
88
|
"application/json",
|
|
87
89
|
"application/zip",
|
|
88
90
|
"application/zip+dotlottie",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/files",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.63.1-alpha.12+914935b899",
|
|
4
4
|
"description": "Uniform Files helpers",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@uniformdev/context": "20.
|
|
37
|
+
"@uniformdev/context": "20.63.1-alpha.12+914935b899"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "914935b89907018dde56a2c49b72e6899d9fb0e2"
|
|
40
40
|
}
|