@longdotxyz/shared 0.0.72 → 0.0.74
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/contracts/asset.contract.d.ts +66 -3695
- package/dist/contracts/auction-template.contract.d.ts +28 -335
- package/dist/contracts/auction.contract.d.ts +9 -147
- package/dist/contracts/community.contract.d.ts +4 -98
- package/dist/contracts/index.d.ts +50 -3964
- package/dist/contracts/index.js +0 -3
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/ipfs.contract.d.ts +5 -61
- package/dist/contracts/sponsorship.contract.d.ts +3 -40
- package/dist/types/bigint.type.d.ts +1 -1
- package/dist/types/hex.type.d.ts +1 -1
- package/dist/types/pool-key.type.d.ts +4 -16
- package/package.json +2 -2
- package/dist/contracts/quote.contract.d.ts +0 -295
- package/dist/contracts/quote.contract.js +0 -138
- package/dist/contracts/quote.contract.js.map +0 -1
|
@@ -5,113 +5,19 @@ declare const CommunityResponseSchema: z.ZodObject<{
|
|
|
5
5
|
description: z.ZodNullable<z.ZodString>;
|
|
6
6
|
funding_amount: z.ZodNumber;
|
|
7
7
|
image_url: z.ZodNullable<z.ZodString>;
|
|
8
|
-
},
|
|
9
|
-
description: string | null;
|
|
10
|
-
label: string;
|
|
11
|
-
id: number;
|
|
12
|
-
funding_amount: number;
|
|
13
|
-
image_url: string | null;
|
|
14
|
-
}, {
|
|
15
|
-
description: string | null;
|
|
16
|
-
label: string;
|
|
17
|
-
id: number;
|
|
18
|
-
funding_amount: number;
|
|
19
|
-
image_url: string | null;
|
|
20
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
21
9
|
type CommunityResponse = z.output<typeof CommunityResponseSchema>;
|
|
22
10
|
declare const communityContract: {
|
|
23
11
|
listCommunities: {
|
|
12
|
+
[x: string]: any;
|
|
24
13
|
method: "GET";
|
|
25
|
-
path: "/communities/";
|
|
26
|
-
responses: {
|
|
27
|
-
200: z.ZodObject<{
|
|
28
|
-
result: z.ZodArray<z.ZodObject<{
|
|
29
|
-
id: z.ZodNumber;
|
|
30
|
-
label: z.ZodString;
|
|
31
|
-
description: z.ZodNullable<z.ZodString>;
|
|
32
|
-
funding_amount: z.ZodNumber;
|
|
33
|
-
image_url: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
description: string | null;
|
|
36
|
-
label: string;
|
|
37
|
-
id: number;
|
|
38
|
-
funding_amount: number;
|
|
39
|
-
image_url: string | null;
|
|
40
|
-
}, {
|
|
41
|
-
description: string | null;
|
|
42
|
-
label: string;
|
|
43
|
-
id: number;
|
|
44
|
-
funding_amount: number;
|
|
45
|
-
image_url: string | null;
|
|
46
|
-
}>, "many">;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
result: {
|
|
49
|
-
description: string | null;
|
|
50
|
-
label: string;
|
|
51
|
-
id: number;
|
|
52
|
-
funding_amount: number;
|
|
53
|
-
image_url: string | null;
|
|
54
|
-
}[];
|
|
55
|
-
}, {
|
|
56
|
-
result: {
|
|
57
|
-
description: string | null;
|
|
58
|
-
label: string;
|
|
59
|
-
id: number;
|
|
60
|
-
funding_amount: number;
|
|
61
|
-
image_url: string | null;
|
|
62
|
-
}[];
|
|
63
|
-
}>;
|
|
64
|
-
};
|
|
65
14
|
};
|
|
66
15
|
getCommunityById: {
|
|
16
|
+
[x: string]: any;
|
|
67
17
|
pathParams: z.ZodObject<{
|
|
68
18
|
id: z.ZodNumber;
|
|
69
|
-
},
|
|
70
|
-
id: number;
|
|
71
|
-
}, {
|
|
72
|
-
id: number;
|
|
73
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
74
20
|
method: "GET";
|
|
75
|
-
path: "/communities/:id";
|
|
76
|
-
responses: {
|
|
77
|
-
200: z.ZodObject<{
|
|
78
|
-
result: z.ZodObject<{
|
|
79
|
-
id: z.ZodNumber;
|
|
80
|
-
label: z.ZodString;
|
|
81
|
-
description: z.ZodNullable<z.ZodString>;
|
|
82
|
-
funding_amount: z.ZodNumber;
|
|
83
|
-
image_url: z.ZodNullable<z.ZodString>;
|
|
84
|
-
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
description: string | null;
|
|
86
|
-
label: string;
|
|
87
|
-
id: number;
|
|
88
|
-
funding_amount: number;
|
|
89
|
-
image_url: string | null;
|
|
90
|
-
}, {
|
|
91
|
-
description: string | null;
|
|
92
|
-
label: string;
|
|
93
|
-
id: number;
|
|
94
|
-
funding_amount: number;
|
|
95
|
-
image_url: string | null;
|
|
96
|
-
}>;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
result: {
|
|
99
|
-
description: string | null;
|
|
100
|
-
label: string;
|
|
101
|
-
id: number;
|
|
102
|
-
funding_amount: number;
|
|
103
|
-
image_url: string | null;
|
|
104
|
-
};
|
|
105
|
-
}, {
|
|
106
|
-
result: {
|
|
107
|
-
description: string | null;
|
|
108
|
-
label: string;
|
|
109
|
-
id: number;
|
|
110
|
-
funding_amount: number;
|
|
111
|
-
image_url: string | null;
|
|
112
|
-
};
|
|
113
|
-
}>;
|
|
114
|
-
};
|
|
115
21
|
};
|
|
116
22
|
};
|
|
117
23
|
export { communityContract, CommunityResponseSchema, CommunityResponse };
|