next-tinacms-cloudinary 13.0.3 → 13.0.4
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/handlers.d.ts +1 -19
- package/dist/index.d.ts +1 -5
- package/package.json +4 -4
package/dist/handlers.d.ts
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import { NextApiRequest, NextApiResponse } from 'next';
|
|
5
|
-
export interface CloudinaryConfig {
|
|
6
|
-
cloud_name: string;
|
|
7
|
-
api_key: string;
|
|
8
|
-
api_secret: string;
|
|
9
|
-
authorized: (req: NextApiRequest, res: NextApiResponse) => Promise<boolean>;
|
|
10
|
-
}
|
|
11
|
-
export interface CloudinaryOptions {
|
|
12
|
-
useHttps?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const mediaHandlerConfig: {
|
|
15
|
-
api: {
|
|
16
|
-
bodyParser: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const createMediaHandler: (config: CloudinaryConfig, options?: CloudinaryOptions) => (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
|
|
1
|
+
export * from "../src/handlers"
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-tinacms-cloudinary",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"react": "^18.3.1",
|
|
30
30
|
"react-dom": "^18.3.1",
|
|
31
31
|
"typescript": "^5.7.3",
|
|
32
|
-
"
|
|
33
|
-
"tinacms": "
|
|
32
|
+
"tinacms": "2.7.4",
|
|
33
|
+
"@tinacms/scripts": "1.3.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"tinacms": "2.7.
|
|
36
|
+
"tinacms": "2.7.4"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"registry": "https://registry.npmjs.org"
|