@longdotxyz/shared 0.0.74 → 0.0.76
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 +3695 -66
- package/dist/contracts/auction-template.contract.d.ts +335 -28
- package/dist/contracts/auction.contract.d.ts +147 -9
- package/dist/contracts/community.contract.d.ts +98 -4
- package/dist/contracts/index.d.ts +3809 -50
- package/dist/contracts/index.js +3 -0
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/ipfs.contract.d.ts +61 -5
- package/dist/contracts/pathfinding.contract.d.ts +263 -0
- package/dist/contracts/pathfinding.contract.js +45 -0
- package/dist/contracts/pathfinding.contract.js.map +1 -0
- package/dist/contracts/sponsorship.contract.d.ts +40 -3
- package/dist/types/bigint.type.d.ts +1 -1
- package/dist/types/constants.d.ts +0 -4
- package/dist/types/constants.js +1 -5
- package/dist/types/constants.js.map +1 -1
- package/dist/types/hex.type.d.ts +1 -1
- package/dist/types/pool-key.type.d.ts +16 -4
- package/dist/utils/address-registry.util.d.ts +21 -0
- package/dist/utils/address-registry.util.js +47 -0
- package/dist/utils/address-registry.util.js.map +1 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/utils/native-token.util.d.ts +0 -5
- package/dist/utils/native-token.util.js +0 -26
- package/dist/utils/native-token.util.js.map +0 -1
|
@@ -5,19 +5,113 @@ 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
|
-
}, z.
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
}>;
|
|
9
21
|
type CommunityResponse = z.output<typeof CommunityResponseSchema>;
|
|
10
22
|
declare const communityContract: {
|
|
11
23
|
listCommunities: {
|
|
12
|
-
[x: string]: any;
|
|
13
24
|
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
|
+
};
|
|
14
65
|
};
|
|
15
66
|
getCommunityById: {
|
|
16
|
-
[x: string]: any;
|
|
17
67
|
pathParams: z.ZodObject<{
|
|
18
68
|
id: z.ZodNumber;
|
|
19
|
-
}, z.
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
id: number;
|
|
71
|
+
}, {
|
|
72
|
+
id: number;
|
|
73
|
+
}>;
|
|
20
74
|
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
|
+
};
|
|
21
115
|
};
|
|
22
116
|
};
|
|
23
117
|
export { communityContract, CommunityResponseSchema, CommunityResponse };
|