@longdotxyz/shared 0.0.57 → 0.0.59
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.
|
@@ -3372,9 +3372,7 @@ export declare const rootContract: {
|
|
|
3372
3372
|
description: "Upload an image to IPFS";
|
|
3373
3373
|
method: "POST";
|
|
3374
3374
|
contentType: "multipart/form-data";
|
|
3375
|
-
body: import("
|
|
3376
|
-
image: File;
|
|
3377
|
-
}>;
|
|
3375
|
+
body: import("zod").ZodAny;
|
|
3378
3376
|
path: "/ipfs/upload-image";
|
|
3379
3377
|
responses: {
|
|
3380
3378
|
200: import("zod").ZodObject<{
|
|
@@ -4,9 +4,7 @@ declare const ipfsContract: {
|
|
|
4
4
|
description: "Upload an image to IPFS";
|
|
5
5
|
method: "POST";
|
|
6
6
|
contentType: "multipart/form-data";
|
|
7
|
-
body:
|
|
8
|
-
image: File;
|
|
9
|
-
}>;
|
|
7
|
+
body: z.ZodAny;
|
|
10
8
|
path: "/ipfs/upload-image";
|
|
11
9
|
responses: {
|
|
12
10
|
200: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipfs.contract.js","sourceRoot":"","sources":["../../src/contracts/ipfs.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAChC;IACI,WAAW,EAAE;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ipfs.contract.js","sourceRoot":"","sources":["../../src/contracts/ipfs.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,YAAY,GAA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