@strapi/upload 5.31.3 → 5.32.0
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/admin/package.json.js +8 -8
- package/dist/admin/package.json.mjs +8 -8
- package/dist/server/content-types/file.js +4 -4
- package/dist/server/content-types/file.js.map +1 -1
- package/dist/server/content-types/file.mjs +4 -4
- package/dist/server/content-types/file.mjs.map +1 -1
- package/dist/server/src/content-types/file.d.ts +4 -4
- package/dist/server/src/content-types/index.d.ts +4 -4
- package/dist/server/src/index.d.ts +4 -4
- package/package.json +8 -8
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var name = "@strapi/upload";
|
|
6
|
-
var version = "5.
|
|
6
|
+
var version = "5.32.0";
|
|
7
7
|
var description = "Makes it easy to upload images and files to your Strapi Application.";
|
|
8
8
|
var license = "SEE LICENSE IN LICENSE";
|
|
9
9
|
var author = {
|
|
@@ -67,8 +67,8 @@ var dependencies = {
|
|
|
67
67
|
"@reduxjs/toolkit": "1.9.7",
|
|
68
68
|
"@strapi/design-system": "2.0.1",
|
|
69
69
|
"@strapi/icons": "2.0.1",
|
|
70
|
-
"@strapi/provider-upload-local": "5.
|
|
71
|
-
"@strapi/utils": "5.
|
|
70
|
+
"@strapi/provider-upload-local": "5.32.0",
|
|
71
|
+
"@strapi/utils": "5.32.0",
|
|
72
72
|
"byte-size": "8.1.1",
|
|
73
73
|
cropperjs: "1.6.1",
|
|
74
74
|
"date-fns": "2.30.0",
|
|
@@ -92,11 +92,11 @@ var dependencies = {
|
|
|
92
92
|
zod: "3.25.67"
|
|
93
93
|
};
|
|
94
94
|
var devDependencies = {
|
|
95
|
-
"@strapi/admin": "5.
|
|
96
|
-
"@strapi/types": "5.
|
|
97
|
-
"@testing-library/dom": "10.1
|
|
98
|
-
"@testing-library/react": "
|
|
99
|
-
"@testing-library/user-event": "14.
|
|
95
|
+
"@strapi/admin": "5.32.0",
|
|
96
|
+
"@strapi/types": "5.32.0",
|
|
97
|
+
"@testing-library/dom": "10.4.1",
|
|
98
|
+
"@testing-library/react": "16.3.0",
|
|
99
|
+
"@testing-library/user-event": "14.6.1",
|
|
100
100
|
"@types/byte-size": "8.1.2",
|
|
101
101
|
"@types/fs-extra": "11.0.4",
|
|
102
102
|
"@types/koa": "2.13.4",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@strapi/upload";
|
|
2
|
-
var version = "5.
|
|
2
|
+
var version = "5.32.0";
|
|
3
3
|
var description = "Makes it easy to upload images and files to your Strapi Application.";
|
|
4
4
|
var license = "SEE LICENSE IN LICENSE";
|
|
5
5
|
var author = {
|
|
@@ -63,8 +63,8 @@ var dependencies = {
|
|
|
63
63
|
"@reduxjs/toolkit": "1.9.7",
|
|
64
64
|
"@strapi/design-system": "2.0.1",
|
|
65
65
|
"@strapi/icons": "2.0.1",
|
|
66
|
-
"@strapi/provider-upload-local": "5.
|
|
67
|
-
"@strapi/utils": "5.
|
|
66
|
+
"@strapi/provider-upload-local": "5.32.0",
|
|
67
|
+
"@strapi/utils": "5.32.0",
|
|
68
68
|
"byte-size": "8.1.1",
|
|
69
69
|
cropperjs: "1.6.1",
|
|
70
70
|
"date-fns": "2.30.0",
|
|
@@ -88,11 +88,11 @@ var dependencies = {
|
|
|
88
88
|
zod: "3.25.67"
|
|
89
89
|
};
|
|
90
90
|
var devDependencies = {
|
|
91
|
-
"@strapi/admin": "5.
|
|
92
|
-
"@strapi/types": "5.
|
|
93
|
-
"@testing-library/dom": "10.1
|
|
94
|
-
"@testing-library/react": "
|
|
95
|
-
"@testing-library/user-event": "14.
|
|
91
|
+
"@strapi/admin": "5.32.0",
|
|
92
|
+
"@strapi/types": "5.32.0",
|
|
93
|
+
"@testing-library/dom": "10.4.1",
|
|
94
|
+
"@testing-library/react": "16.3.0",
|
|
95
|
+
"@testing-library/user-event": "14.6.1",
|
|
96
96
|
"@types/byte-size": "8.1.2",
|
|
97
97
|
"@types/fs-extra": "11.0.4",
|
|
98
98
|
"@types/koa": "2.13.4",
|
|
@@ -27,11 +27,11 @@ var file = {
|
|
|
27
27
|
required: true
|
|
28
28
|
},
|
|
29
29
|
alternativeText: {
|
|
30
|
-
type: '
|
|
30
|
+
type: 'text',
|
|
31
31
|
configurable: false
|
|
32
32
|
},
|
|
33
33
|
caption: {
|
|
34
|
-
type: '
|
|
34
|
+
type: 'text',
|
|
35
35
|
configurable: false
|
|
36
36
|
},
|
|
37
37
|
width: {
|
|
@@ -66,12 +66,12 @@ var file = {
|
|
|
66
66
|
required: true
|
|
67
67
|
},
|
|
68
68
|
url: {
|
|
69
|
-
type: '
|
|
69
|
+
type: 'text',
|
|
70
70
|
configurable: false,
|
|
71
71
|
required: true
|
|
72
72
|
},
|
|
73
73
|
previewUrl: {
|
|
74
|
-
type: '
|
|
74
|
+
type: 'text',
|
|
75
75
|
configurable: false
|
|
76
76
|
},
|
|
77
77
|
provider: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.js","sources":["../../../server/src/content-types/file.ts"],"sourcesContent":["import type { Struct } from '@strapi/types';\n\nimport { FOLDER_MODEL_UID } from '../constants';\n\nexport default {\n schema: {\n collectionName: 'files',\n info: {\n singularName: 'file',\n pluralName: 'files',\n displayName: 'File',\n description: '',\n },\n options: {},\n pluginOptions: {\n 'content-manager': {\n visible: false,\n },\n 'content-type-builder': {\n visible: false,\n },\n },\n attributes: {\n name: {\n type: 'string',\n configurable: false,\n required: true,\n },\n alternativeText: {\n type: '
|
|
1
|
+
{"version":3,"file":"file.js","sources":["../../../server/src/content-types/file.ts"],"sourcesContent":["import type { Struct } from '@strapi/types';\n\nimport { FOLDER_MODEL_UID } from '../constants';\n\nexport default {\n schema: {\n collectionName: 'files',\n info: {\n singularName: 'file',\n pluralName: 'files',\n displayName: 'File',\n description: '',\n },\n options: {},\n pluginOptions: {\n 'content-manager': {\n visible: false,\n },\n 'content-type-builder': {\n visible: false,\n },\n },\n attributes: {\n name: {\n type: 'string',\n configurable: false,\n required: true,\n },\n alternativeText: {\n type: 'text',\n configurable: false,\n },\n caption: {\n type: 'text',\n configurable: false,\n },\n width: {\n type: 'integer',\n configurable: false,\n },\n height: {\n type: 'integer',\n configurable: false,\n },\n formats: {\n type: 'json',\n configurable: false,\n },\n hash: {\n type: 'string',\n configurable: false,\n required: true,\n },\n ext: {\n type: 'string',\n configurable: false,\n },\n mime: {\n type: 'string',\n configurable: false,\n required: true,\n },\n size: {\n type: 'decimal',\n configurable: false,\n required: true,\n },\n url: {\n type: 'text',\n configurable: false,\n required: true,\n },\n previewUrl: {\n type: 'text',\n configurable: false,\n },\n provider: {\n type: 'string',\n configurable: false,\n required: true,\n },\n provider_metadata: {\n type: 'json',\n configurable: false,\n },\n related: {\n type: 'relation',\n relation: 'morphToMany',\n configurable: false,\n },\n folder: {\n type: 'relation',\n relation: 'manyToOne',\n target: FOLDER_MODEL_UID,\n inversedBy: 'files',\n private: true,\n },\n folderPath: {\n type: 'string',\n minLength: 1,\n required: true,\n private: true,\n searchable: false,\n },\n },\n // experimental feature:\n indexes: [\n {\n name: 'upload_files_folder_path_index',\n columns: ['folder_path'],\n type: null,\n },\n {\n name: `upload_files_created_at_index`,\n columns: ['created_at'],\n type: null,\n },\n {\n name: `upload_files_updated_at_index`,\n columns: ['updated_at'],\n type: null,\n },\n {\n name: `upload_files_name_index`,\n columns: ['name'],\n type: null,\n },\n {\n name: `upload_files_size_index`,\n columns: ['size'],\n type: null,\n },\n {\n name: `upload_files_ext_index`,\n columns: ['ext'],\n type: null,\n },\n ],\n } satisfies Partial<Struct.CollectionTypeSchema>,\n};\n"],"names":["schema","collectionName","info","singularName","pluralName","displayName","description","options","pluginOptions","visible","attributes","name","type","configurable","required","alternativeText","caption","width","height","formats","hash","ext","mime","size","url","previewUrl","provider","provider_metadata","related","relation","folder","target","FOLDER_MODEL_UID","inversedBy","private","folderPath","minLength","searchable","indexes","columns"],"mapp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AA;AAAO,iBAAA;gBACjB3B,IAAM,EAAA;AACR,aAAA;AACA,YAAA;gBACED,IAAM,EAAA,CAAC,uBAAuB,CAAC;gBAC/B4B,OAAS,EAAA;AAAC,oBAAA;AAAO,iBAAA;gBACjB3B,IAAM,EAAA;AACR,aAAA;AACA,YAAA;gBACED,IAAM,EAAA,CAAC,sBAAsB,CAAC;gBAC9B4B,OAAS,EAAA;AAAC,oBAAA;AAAM,iBAAA;gBAChB3B,IAAM,EAAA;AACR;AACD;AACH;AACF,CAAE;;;;"}
|
|
@@ -25,11 +25,11 @@ var file = {
|
|
|
25
25
|
required: true
|
|
26
26
|
},
|
|
27
27
|
alternativeText: {
|
|
28
|
-
type: '
|
|
28
|
+
type: 'text',
|
|
29
29
|
configurable: false
|
|
30
30
|
},
|
|
31
31
|
caption: {
|
|
32
|
-
type: '
|
|
32
|
+
type: 'text',
|
|
33
33
|
configurable: false
|
|
34
34
|
},
|
|
35
35
|
width: {
|
|
@@ -64,12 +64,12 @@ var file = {
|
|
|
64
64
|
required: true
|
|
65
65
|
},
|
|
66
66
|
url: {
|
|
67
|
-
type: '
|
|
67
|
+
type: 'text',
|
|
68
68
|
configurable: false,
|
|
69
69
|
required: true
|
|
70
70
|
},
|
|
71
71
|
previewUrl: {
|
|
72
|
-
type: '
|
|
72
|
+
type: 'text',
|
|
73
73
|
configurable: false
|
|
74
74
|
},
|
|
75
75
|
provider: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.mjs","sources":["../../../server/src/content-types/file.ts"],"sourcesContent":["import type { Struct } from '@strapi/types';\n\nimport { FOLDER_MODEL_UID } from '../constants';\n\nexport default {\n schema: {\n collectionName: 'files',\n info: {\n singularName: 'file',\n pluralName: 'files',\n displayName: 'File',\n description: '',\n },\n options: {},\n pluginOptions: {\n 'content-manager': {\n visible: false,\n },\n 'content-type-builder': {\n visible: false,\n },\n },\n attributes: {\n name: {\n type: 'string',\n configurable: false,\n required: true,\n },\n alternativeText: {\n type: '
|
|
1
|
+
{"version":3,"file":"file.mjs","sources":["../../../server/src/content-types/file.ts"],"sourcesContent":["import type { Struct } from '@strapi/types';\n\nimport { FOLDER_MODEL_UID } from '../constants';\n\nexport default {\n schema: {\n collectionName: 'files',\n info: {\n singularName: 'file',\n pluralName: 'files',\n displayName: 'File',\n description: '',\n },\n options: {},\n pluginOptions: {\n 'content-manager': {\n visible: false,\n },\n 'content-type-builder': {\n visible: false,\n },\n },\n attributes: {\n name: {\n type: 'string',\n configurable: false,\n required: true,\n },\n alternativeText: {\n type: 'text',\n configurable: false,\n },\n caption: {\n type: 'text',\n configurable: false,\n },\n width: {\n type: 'integer',\n configurable: false,\n },\n height: {\n type: 'integer',\n configurable: false,\n },\n formats: {\n type: 'json',\n configurable: false,\n },\n hash: {\n type: 'string',\n configurable: false,\n required: true,\n },\n ext: {\n type: 'string',\n configurable: false,\n },\n mime: {\n type: 'string',\n configurable: false,\n required: true,\n },\n size: {\n type: 'decimal',\n configurable: false,\n required: true,\n },\n url: {\n type: 'text',\n configurable: false,\n required: true,\n },\n previewUrl: {\n type: 'text',\n configurable: false,\n },\n provider: {\n type: 'string',\n configurable: false,\n required: true,\n },\n provider_metadata: {\n type: 'json',\n configurable: false,\n },\n related: {\n type: 'relation',\n relation: 'morphToMany',\n configurable: false,\n },\n folder: {\n type: 'relation',\n relation: 'manyToOne',\n target: FOLDER_MODEL_UID,\n inversedBy: 'files',\n private: true,\n },\n folderPath: {\n type: 'string',\n minLength: 1,\n required: true,\n private: true,\n searchable: false,\n },\n },\n // experimental feature:\n indexes: [\n {\n name: 'upload_files_folder_path_index',\n columns: ['folder_path'],\n type: null,\n },\n {\n name: `upload_files_created_at_index`,\n columns: ['created_at'],\n type: null,\n },\n {\n name: `upload_files_updated_at_index`,\n columns: ['updated_at'],\n type: null,\n },\n {\n name: `upload_files_name_index`,\n columns: ['name'],\n type: null,\n },\n {\n name: `upload_files_size_index`,\n columns: ['size'],\n type: null,\n },\n {\n name: `upload_files_ext_index`,\n columns: ['ext'],\n type: null,\n },\n ],\n } satisfies Partial<Struct.CollectionTypeSchema>,\n};\n"],"names":["schema","collectionName","info","singularName","pluralName","displayName","description","options","pluginOptions","visible","attributes","name","type","configurable","required","alternativeText","caption","width","height","formats","hash","ext","mime","size","url","previewUrl","provider","provider_metadata","related","relation","folder","target","FOLDER_MODEL_UID","inversedBy","private","folderPath","minLength","searchable","indexes","columns"],"mappings":";;AAIA,WAAe;IACbA,MAAQ,EAAA;QACNC,cAAgB,EAAA,OAAA;QAChBC,IAAM,EAAA;YACJC,YAAc,EAAA,MAAA;YACdC,UAAY,EAAA,OAAA;YACZC,WAAa,EAAA,MAAA;YACbC,WAAa,EAAA;AACf,SAAA;AACAC,QAAAA,OAAAA,EAAS,EAAC;QACVC,aAAe,EAAA;YACb,iBAAmB,EAAA;gBACjBC,OAAS,EAAA;AACX,aAAA;YACA,sBAAwB,EAAA;gBACtBA,OAAS,EAAA;AACX;AACF,SAAA;QACAC,UAAY,EAAA;YACVC,IAAM,EAAA;gBACJC,IAAM,EAAA,QAAA;gBACNC,YAAc,EAAA,KAAA;gBACdC,QAAU,EAAA;AACZ,aAAA;YACAC,eAAiB,EAAA;gBACfH,IAAM,EAAA,MAAA;gBACNC,YAAc,EAAA;AAChB,aAAA;YACAG,OAAS,EAAA;gBACPJ,IAAM,EAAA,MAAA;gBACNC,YAAc,EAAA;AAChB,aAAA;YACAI,KAAO,EAAA;gBACLL,IAAM,EAAA,SAAA;gBACNC,YAAc,EAAA;AAChB,aAAA;YACAK,MAAQ,EAAA;gBACNN,IAAM,EAAA,SAAA;gBACNC,YAAc,EAAA;AAChB,aAAA;YACAM,OAAS,EAAA;gBACPP,IAAM,EAAA,MAAA;gBACNC,YAAc,EAAA;AAChB,aAAA;YACAO,IAAM,EAAA;gBACJR,IAAM,EAAA,QAAA;gBACNC,YAAc,EAAA,KAAA;gBACdC,QAAU,EAAA;AACZ,aAAA;YACAO,GAAK,EAAA;gBACHT,IAAM,EAAA,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A;AAAa,iBAAA;gBACvB3B,IAAM,EAAA;AACR,aAAA;AACA,YAAA;gBACED,IAAM,EAAA,CAAC,6BAA6B,CAAC;gBACrC4B,OAAS,EAAA;AAAC,oBAAA;AAAa,iBAAA;gBACvB3B,IAAM,EAAA;AACR,aAAA;AACA,YAAA;gBACED,IAAM,EAAA,CAAC,uBAAuB,CAAC;gBAC/B4B,OAAS,EAAA;AAAC,oBAAA;AAAO,iBAAA;gBACjB3B,IAAM,EAAA;AACR,aAAA;AACA,YAAA;gBACED,IAAM,EAAA,CAAC,uBAAuB,CAAC;gBAC/B4B,OAAS,EAAA;AAAC,oBAAA;AAAO,iBAAA;gBACjB3B,IAAM,EAAA;AACR,aAAA;AACA,YAAA;gBACED,IAAM,EAAA,CAAC,sBAAsB,CAAC;gBAC9B4B,OAAS,EAAA;AAAC,oBAAA;AAAM,iBAAA;gBAChB3B,IAAM,EAAA;AACR;AACD;AACH;AACF,CAAE;;;;"}
|
|
@@ -23,11 +23,11 @@ declare const _default: {
|
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
alternativeText: {
|
|
26
|
-
type: "
|
|
26
|
+
type: "text";
|
|
27
27
|
configurable: false;
|
|
28
28
|
};
|
|
29
29
|
caption: {
|
|
30
|
-
type: "
|
|
30
|
+
type: "text";
|
|
31
31
|
configurable: false;
|
|
32
32
|
};
|
|
33
33
|
width: {
|
|
@@ -62,12 +62,12 @@ declare const _default: {
|
|
|
62
62
|
required: true;
|
|
63
63
|
};
|
|
64
64
|
url: {
|
|
65
|
-
type: "
|
|
65
|
+
type: "text";
|
|
66
66
|
configurable: false;
|
|
67
67
|
required: true;
|
|
68
68
|
};
|
|
69
69
|
previewUrl: {
|
|
70
|
-
type: "
|
|
70
|
+
type: "text";
|
|
71
71
|
configurable: false;
|
|
72
72
|
};
|
|
73
73
|
provider: {
|
|
@@ -24,11 +24,11 @@ export declare const contentTypes: {
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
alternativeText: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "text";
|
|
28
28
|
configurable: false;
|
|
29
29
|
};
|
|
30
30
|
caption: {
|
|
31
|
-
type: "
|
|
31
|
+
type: "text";
|
|
32
32
|
configurable: false;
|
|
33
33
|
};
|
|
34
34
|
width: {
|
|
@@ -63,12 +63,12 @@ export declare const contentTypes: {
|
|
|
63
63
|
required: true;
|
|
64
64
|
};
|
|
65
65
|
url: {
|
|
66
|
-
type: "
|
|
66
|
+
type: "text";
|
|
67
67
|
configurable: false;
|
|
68
68
|
required: true;
|
|
69
69
|
};
|
|
70
70
|
previewUrl: {
|
|
71
|
-
type: "
|
|
71
|
+
type: "text";
|
|
72
72
|
configurable: false;
|
|
73
73
|
};
|
|
74
74
|
provider: {
|
|
@@ -129,11 +129,11 @@ declare const _default: () => {
|
|
|
129
129
|
required: true;
|
|
130
130
|
};
|
|
131
131
|
alternativeText: {
|
|
132
|
-
type: "
|
|
132
|
+
type: "text";
|
|
133
133
|
configurable: false;
|
|
134
134
|
};
|
|
135
135
|
caption: {
|
|
136
|
-
type: "
|
|
136
|
+
type: "text";
|
|
137
137
|
configurable: false;
|
|
138
138
|
};
|
|
139
139
|
width: {
|
|
@@ -168,12 +168,12 @@ declare const _default: () => {
|
|
|
168
168
|
required: true;
|
|
169
169
|
};
|
|
170
170
|
url: {
|
|
171
|
-
type: "
|
|
171
|
+
type: "text";
|
|
172
172
|
configurable: false;
|
|
173
173
|
required: true;
|
|
174
174
|
};
|
|
175
175
|
previewUrl: {
|
|
176
|
-
type: "
|
|
176
|
+
type: "text";
|
|
177
177
|
configurable: false;
|
|
178
178
|
};
|
|
179
179
|
provider: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/upload",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.32.0",
|
|
4
4
|
"description": "Makes it easy to upload images and files to your Strapi Application.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": {
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@reduxjs/toolkit": "1.9.7",
|
|
65
65
|
"@strapi/design-system": "2.0.1",
|
|
66
66
|
"@strapi/icons": "2.0.1",
|
|
67
|
-
"@strapi/provider-upload-local": "5.
|
|
68
|
-
"@strapi/utils": "5.
|
|
67
|
+
"@strapi/provider-upload-local": "5.32.0",
|
|
68
|
+
"@strapi/utils": "5.32.0",
|
|
69
69
|
"byte-size": "8.1.1",
|
|
70
70
|
"cropperjs": "1.6.1",
|
|
71
71
|
"date-fns": "2.30.0",
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
"zod": "3.25.67"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@strapi/admin": "5.
|
|
93
|
-
"@strapi/types": "5.
|
|
94
|
-
"@testing-library/dom": "10.1
|
|
95
|
-
"@testing-library/react": "
|
|
96
|
-
"@testing-library/user-event": "14.
|
|
92
|
+
"@strapi/admin": "5.32.0",
|
|
93
|
+
"@strapi/types": "5.32.0",
|
|
94
|
+
"@testing-library/dom": "10.4.1",
|
|
95
|
+
"@testing-library/react": "16.3.0",
|
|
96
|
+
"@testing-library/user-event": "14.6.1",
|
|
97
97
|
"@types/byte-size": "8.1.2",
|
|
98
98
|
"@types/fs-extra": "11.0.4",
|
|
99
99
|
"@types/koa": "2.13.4",
|