@everipedia/iq-utils 1.0.1 → 2.0.1
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/CHANGELOG.md +13 -1
- package/dist/index.d.mts +693 -0
- package/dist/index.d.ts +693 -0
- package/dist/index.js +640 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +580 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +52 -53
- package/build/main/data/constants.d.ts +0 -24
- package/build/main/data/constants.js +0 -28
- package/build/main/index.d.ts +0 -7
- package/build/main/index.js +0 -24
- package/build/main/lib/checkWikiValidity.d.ts +0 -67
- package/build/main/lib/checkWikiValidity.js +0 -209
- package/build/main/lib/helpers/wiki.helpers.d.ts +0 -32
- package/build/main/lib/helpers/wiki.helpers.js +0 -86
- package/build/main/lib/isDeepEqual.d.ts +0 -3
- package/build/main/lib/isDeepEqual.js +0 -53
- package/build/main/lib/wikiScore.d.ts +0 -2
- package/build/main/lib/wikiScore.js +0 -127
- package/build/main/schema/wiki.schema.d.ts +0 -798
- package/build/main/schema/wiki.schema.js +0 -289
- package/build/main/types/wiki.d.ts +0 -9
- package/build/main/types/wiki.js +0 -14
- package/build/main/types/wikiBuilder.d.ts +0 -11
- package/build/main/types/wikiBuilder.js +0 -3
- package/build/module/data/constants.d.ts +0 -24
- package/build/module/data/constants.js +0 -25
- package/build/module/index.d.ts +0 -7
- package/build/module/index.js +0 -8
- package/build/module/lib/checkWikiValidity.d.ts +0 -67
- package/build/module/lib/checkWikiValidity.js +0 -191
- package/build/module/lib/helpers/wiki.helpers.d.ts +0 -32
- package/build/module/lib/helpers/wiki.helpers.js +0 -75
- package/build/module/lib/isDeepEqual.d.ts +0 -3
- package/build/module/lib/isDeepEqual.js +0 -51
- package/build/module/lib/wikiScore.d.ts +0 -2
- package/build/module/lib/wikiScore.js +0 -121
- package/build/module/schema/wiki.schema.d.ts +0 -798
- package/build/module/schema/wiki.schema.js +0 -286
- package/build/module/types/wiki.d.ts +0 -9
- package/build/module/types/wiki.js +0 -11
- package/build/module/types/wikiBuilder.d.ts +0 -11
- package/build/module/types/wikiBuilder.js +0 -2
|
@@ -1,798 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* ========================
|
|
4
|
-
* ===== Enum Schemas =====
|
|
5
|
-
* ========================
|
|
6
|
-
*/
|
|
7
|
-
export declare const MediaTypeEnum: z.ZodEnum<["GALLERY", "ICON"]>;
|
|
8
|
-
export declare const MediaSourceEnum: z.ZodEnum<["IPFS_IMG", "VIMEO", "YOUTUBE", "IPFS_VID"]>;
|
|
9
|
-
export declare const CommonMetaIdsEnum: z.ZodEnum<["references", "website", "contract_url", "location", "email_url", "facebook_profile", "instagram_profile", "twitter_profile", "linkedin_profile", "youtube_profile", "discord_profile", "reddit_profile", "telegram_profile", "github_profile", "coinmarketcap_url", "coingecko_profile", "opensea_profile", "medium_profile", "mirror_profile", "tiktok_profile", "etherscan_profile", "arbiscan_profile", "polygonscan_profile", "bscscan_profile", "optimistic_etherscan_profile", "basescan_profile", "ftmscan_profile", "solscan_profile", "avascan_profile", "nearblocks_profile", "troscan_profile", "xrpscan_profile", "kavascan_profile", "tonscan_profile", "celoscan_profile", "cronoscan_profile", "zkscan_profile", "explorer_injective_profile", "blastscan_profile"]>;
|
|
10
|
-
export declare const WikiPossibleSocialsList: (keyof typeof CommonMetaIdsEnum.enum)[];
|
|
11
|
-
export declare const ValidatorCodes: z.ZodEnum<["VALID_WIKI", "ID_ERROR", "LANGUAGE_ERROR", "USER_ERROR", "WORD_COUNT_ERROR", "CATEGORY_ERROR", "SUMMARY_ERROR", "IMAGE_ERROR", "TAG_ERROR", "EXTERNAL_URL_ERROR", "METADATA_ERROR", "MEDIA_ERROR", "GLOBAL_RATE_LIMIT", "LINKED_WIKIS", "EVENTS_ERROR"]>;
|
|
12
|
-
declare const EventTypeEnum: z.ZodEnum<["CREATED", "DEFAULT", "MULTIDATE"]>;
|
|
13
|
-
export declare const TagEnum: z.ZodEnum<["Artists", "AI", "BinanceSmartChain", "Blockchains", "CEXes", "Collections", "Collectors", "Conference", "DEXes", "Developers", "Entertainment", "Ethereum", "Events", "Forum", "Founders", "Festival", "Games", "Glossary", "Hackathon", "Marketplaces", "Memecoins", "Organizations", "Online", "PeopleInDeFi", "Polkadot", "Polygon", "Protocols", "Solana", "Speakers", "Stablecoins", "Venture"]>;
|
|
14
|
-
export declare const CategoryEnum: z.ZodEnum<["nfts", "defi", "exchanges", "cryptocurrencies", "daos", "people", "dapps", "organizations"]>;
|
|
15
|
-
export declare const ImageSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
|
-
type: z.ZodString;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
type?: string;
|
|
20
|
-
id?: string;
|
|
21
|
-
}, {
|
|
22
|
-
type?: string;
|
|
23
|
-
id?: string;
|
|
24
|
-
}>;
|
|
25
|
-
export type Image = z.infer<typeof ImageSchema>;
|
|
26
|
-
export declare const MediaSchema: z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["GALLERY", "ICON"]>>>;
|
|
31
|
-
caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
source: z.ZodEnum<["IPFS_IMG", "VIMEO", "YOUTUBE", "IPFS_VID"]>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
type?: "GALLERY" | "ICON";
|
|
36
|
-
size?: string;
|
|
37
|
-
id?: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
caption?: string;
|
|
40
|
-
thumbnail?: string;
|
|
41
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
42
|
-
}, {
|
|
43
|
-
type?: "GALLERY" | "ICON";
|
|
44
|
-
size?: string;
|
|
45
|
-
id?: string;
|
|
46
|
-
name?: string;
|
|
47
|
-
caption?: string;
|
|
48
|
-
thumbnail?: string;
|
|
49
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
50
|
-
}>;
|
|
51
|
-
export type Media = z.infer<typeof MediaSchema>;
|
|
52
|
-
export declare const BaseEventsSchema: z.ZodObject<{
|
|
53
|
-
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
54
|
-
date: z.ZodNullable<z.ZodString>;
|
|
55
|
-
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
56
|
-
type: z.ZodNullable<z.ZodEnum<["CREATED", "DEFAULT", "MULTIDATE"]>>;
|
|
57
|
-
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
58
|
-
link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
59
|
-
multiDateStart: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
60
|
-
multiDateEnd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
61
|
-
continent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
62
|
-
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
63
|
-
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DELETE", "EDIT", "CREATE"]>>>;
|
|
64
|
-
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
link?: string;
|
|
66
|
-
date?: string;
|
|
67
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
68
|
-
description?: string;
|
|
69
|
-
id?: string;
|
|
70
|
-
title?: string;
|
|
71
|
-
multiDateStart?: string;
|
|
72
|
-
multiDateEnd?: string;
|
|
73
|
-
continent?: string;
|
|
74
|
-
country?: string;
|
|
75
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
76
|
-
}, {
|
|
77
|
-
link?: string;
|
|
78
|
-
date?: string;
|
|
79
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
80
|
-
description?: string;
|
|
81
|
-
id?: string;
|
|
82
|
-
title?: string;
|
|
83
|
-
multiDateStart?: string;
|
|
84
|
-
multiDateEnd?: string;
|
|
85
|
-
continent?: string;
|
|
86
|
-
country?: string;
|
|
87
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
88
|
-
}>;
|
|
89
|
-
export type EventType = z.infer<typeof EventTypeEnum>;
|
|
90
|
-
export type BaseEvents = z.infer<typeof BaseEventsSchema>;
|
|
91
|
-
/**
|
|
92
|
-
* ========================
|
|
93
|
-
* ===== Core Schemas =====
|
|
94
|
-
* ========================
|
|
95
|
-
*/
|
|
96
|
-
export declare const WikiSchema: z.ZodEffects<z.ZodObject<{
|
|
97
|
-
id: z.ZodString;
|
|
98
|
-
title: z.ZodString;
|
|
99
|
-
ipfs: z.ZodOptional<z.ZodString>;
|
|
100
|
-
content: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
101
|
-
summary: z.ZodString;
|
|
102
|
-
images: z.ZodArray<z.ZodObject<{
|
|
103
|
-
id: z.ZodString;
|
|
104
|
-
type: z.ZodString;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
type?: string;
|
|
107
|
-
id?: string;
|
|
108
|
-
}, {
|
|
109
|
-
type?: string;
|
|
110
|
-
id?: string;
|
|
111
|
-
}>, "many">;
|
|
112
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
113
|
-
id: z.ZodEnum<["nfts", "defi", "exchanges", "cryptocurrencies", "daos", "people", "dapps", "organizations"]>;
|
|
114
|
-
title: z.ZodString;
|
|
115
|
-
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
id?: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
117
|
-
title?: string;
|
|
118
|
-
}, {
|
|
119
|
-
id?: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
120
|
-
title?: string;
|
|
121
|
-
}>, "many">;
|
|
122
|
-
tags: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
123
|
-
id: z.ZodString;
|
|
124
|
-
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
id?: string;
|
|
126
|
-
}, {
|
|
127
|
-
id?: string;
|
|
128
|
-
}>, "many">, {
|
|
129
|
-
id: "Artists" | "AI" | "BinanceSmartChain" | "Blockchains" | "CEXes" | "Collections" | "Collectors" | "Conference" | "DEXes" | "Developers" | "Entertainment" | "Ethereum" | "Events" | "Forum" | "Founders" | "Festival" | "Games" | "Glossary" | "Hackathon" | "Marketplaces" | "Memecoins" | "Organizations" | "Online" | "PeopleInDeFi" | "Polkadot" | "Polygon" | "Protocols" | "Solana" | "Speakers" | "Stablecoins" | "Venture";
|
|
130
|
-
}[], {
|
|
131
|
-
id?: string;
|
|
132
|
-
}[]>, {
|
|
133
|
-
id: "Artists" | "AI" | "BinanceSmartChain" | "Blockchains" | "CEXes" | "Collections" | "Collectors" | "Conference" | "DEXes" | "Developers" | "Entertainment" | "Ethereum" | "Events" | "Forum" | "Founders" | "Festival" | "Games" | "Glossary" | "Hackathon" | "Marketplaces" | "Memecoins" | "Organizations" | "Online" | "PeopleInDeFi" | "Polkadot" | "Polygon" | "Protocols" | "Solana" | "Speakers" | "Stablecoins" | "Venture";
|
|
134
|
-
}[], {
|
|
135
|
-
id?: string;
|
|
136
|
-
}[]>;
|
|
137
|
-
media: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
138
|
-
id: z.ZodString;
|
|
139
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["GALLERY", "ICON"]>>>;
|
|
142
|
-
caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
-
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
-
source: z.ZodEnum<["IPFS_IMG", "VIMEO", "YOUTUBE", "IPFS_VID"]>;
|
|
145
|
-
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
type?: "GALLERY" | "ICON";
|
|
147
|
-
size?: string;
|
|
148
|
-
id?: string;
|
|
149
|
-
name?: string;
|
|
150
|
-
caption?: string;
|
|
151
|
-
thumbnail?: string;
|
|
152
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
153
|
-
}, {
|
|
154
|
-
type?: "GALLERY" | "ICON";
|
|
155
|
-
size?: string;
|
|
156
|
-
id?: string;
|
|
157
|
-
name?: string;
|
|
158
|
-
caption?: string;
|
|
159
|
-
thumbnail?: string;
|
|
160
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
161
|
-
}>, "many">, {
|
|
162
|
-
type?: "GALLERY" | "ICON";
|
|
163
|
-
size?: string;
|
|
164
|
-
id?: string;
|
|
165
|
-
name?: string;
|
|
166
|
-
caption?: string;
|
|
167
|
-
thumbnail?: string;
|
|
168
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
169
|
-
}[], {
|
|
170
|
-
type?: "GALLERY" | "ICON";
|
|
171
|
-
size?: string;
|
|
172
|
-
id?: string;
|
|
173
|
-
name?: string;
|
|
174
|
-
caption?: string;
|
|
175
|
-
thumbnail?: string;
|
|
176
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
177
|
-
}[]>>;
|
|
178
|
-
metadata: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
179
|
-
id: z.ZodUnion<[z.ZodEnum<["references", "website", "contract_url", "location", "email_url", "facebook_profile", "instagram_profile", "twitter_profile", "linkedin_profile", "youtube_profile", "discord_profile", "reddit_profile", "telegram_profile", "github_profile", "coinmarketcap_url", "coingecko_profile", "opensea_profile", "medium_profile", "mirror_profile", "tiktok_profile", "etherscan_profile", "arbiscan_profile", "polygonscan_profile", "bscscan_profile", "optimistic_etherscan_profile", "basescan_profile", "ftmscan_profile", "solscan_profile", "avascan_profile", "nearblocks_profile", "troscan_profile", "xrpscan_profile", "kavascan_profile", "tonscan_profile", "celoscan_profile", "cronoscan_profile", "zkscan_profile", "explorer_injective_profile", "blastscan_profile"]>, z.ZodEnum<["previous_cid", "commit-message", "words-changed", "percent-changed", "blocks-changed", "wiki-score"]>]>;
|
|
180
|
-
value: z.ZodAny;
|
|
181
|
-
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
value?: any;
|
|
183
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
184
|
-
}, {
|
|
185
|
-
value?: any;
|
|
186
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
187
|
-
}>, "many">, {
|
|
188
|
-
value?: any;
|
|
189
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
190
|
-
}[], {
|
|
191
|
-
value?: any;
|
|
192
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
193
|
-
}[]>;
|
|
194
|
-
events: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
195
|
-
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
196
|
-
date: z.ZodNullable<z.ZodString>;
|
|
197
|
-
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
198
|
-
type: z.ZodNullable<z.ZodEnum<["CREATED", "DEFAULT", "MULTIDATE"]>>;
|
|
199
|
-
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
200
|
-
link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
201
|
-
multiDateStart: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
202
|
-
multiDateEnd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
203
|
-
continent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
204
|
-
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
205
|
-
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DELETE", "EDIT", "CREATE"]>>>;
|
|
206
|
-
}, "strip", z.ZodTypeAny, {
|
|
207
|
-
link?: string;
|
|
208
|
-
date?: string;
|
|
209
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
210
|
-
description?: string;
|
|
211
|
-
id?: string;
|
|
212
|
-
title?: string;
|
|
213
|
-
multiDateStart?: string;
|
|
214
|
-
multiDateEnd?: string;
|
|
215
|
-
continent?: string;
|
|
216
|
-
country?: string;
|
|
217
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
218
|
-
}, {
|
|
219
|
-
link?: string;
|
|
220
|
-
date?: string;
|
|
221
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
222
|
-
description?: string;
|
|
223
|
-
id?: string;
|
|
224
|
-
title?: string;
|
|
225
|
-
multiDateStart?: string;
|
|
226
|
-
multiDateEnd?: string;
|
|
227
|
-
continent?: string;
|
|
228
|
-
country?: string;
|
|
229
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
230
|
-
}>, "many">>>;
|
|
231
|
-
user: z.ZodObject<{
|
|
232
|
-
id: z.ZodString;
|
|
233
|
-
profile: z.ZodNullable<z.ZodObject<{
|
|
234
|
-
id: z.ZodNullable<z.ZodString>;
|
|
235
|
-
username: z.ZodNullable<z.ZodString>;
|
|
236
|
-
bio: z.ZodNullable<z.ZodString>;
|
|
237
|
-
links: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
238
|
-
twitter: z.ZodNullable<z.ZodString>;
|
|
239
|
-
website: z.ZodNullable<z.ZodString>;
|
|
240
|
-
instagram: z.ZodNullable<z.ZodString>;
|
|
241
|
-
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
website?: string;
|
|
243
|
-
twitter?: string;
|
|
244
|
-
instagram?: string;
|
|
245
|
-
}, {
|
|
246
|
-
website?: string;
|
|
247
|
-
twitter?: string;
|
|
248
|
-
instagram?: string;
|
|
249
|
-
}>, "many">>;
|
|
250
|
-
banner: z.ZodNullable<z.ZodString>;
|
|
251
|
-
avatar: z.ZodNullable<z.ZodString>;
|
|
252
|
-
}, "strip", z.ZodTypeAny, {
|
|
253
|
-
id?: string;
|
|
254
|
-
username?: string;
|
|
255
|
-
bio?: string;
|
|
256
|
-
links?: {
|
|
257
|
-
website?: string;
|
|
258
|
-
twitter?: string;
|
|
259
|
-
instagram?: string;
|
|
260
|
-
}[];
|
|
261
|
-
banner?: string;
|
|
262
|
-
avatar?: string;
|
|
263
|
-
}, {
|
|
264
|
-
id?: string;
|
|
265
|
-
username?: string;
|
|
266
|
-
bio?: string;
|
|
267
|
-
links?: {
|
|
268
|
-
website?: string;
|
|
269
|
-
twitter?: string;
|
|
270
|
-
instagram?: string;
|
|
271
|
-
}[];
|
|
272
|
-
banner?: string;
|
|
273
|
-
avatar?: string;
|
|
274
|
-
}>>;
|
|
275
|
-
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
id?: string;
|
|
277
|
-
profile?: {
|
|
278
|
-
id?: string;
|
|
279
|
-
username?: string;
|
|
280
|
-
bio?: string;
|
|
281
|
-
links?: {
|
|
282
|
-
website?: string;
|
|
283
|
-
twitter?: string;
|
|
284
|
-
instagram?: string;
|
|
285
|
-
}[];
|
|
286
|
-
banner?: string;
|
|
287
|
-
avatar?: string;
|
|
288
|
-
};
|
|
289
|
-
}, {
|
|
290
|
-
id?: string;
|
|
291
|
-
profile?: {
|
|
292
|
-
id?: string;
|
|
293
|
-
username?: string;
|
|
294
|
-
bio?: string;
|
|
295
|
-
links?: {
|
|
296
|
-
website?: string;
|
|
297
|
-
twitter?: string;
|
|
298
|
-
instagram?: string;
|
|
299
|
-
}[];
|
|
300
|
-
banner?: string;
|
|
301
|
-
avatar?: string;
|
|
302
|
-
};
|
|
303
|
-
}>;
|
|
304
|
-
author: z.ZodObject<{
|
|
305
|
-
id: z.ZodString;
|
|
306
|
-
profile: z.ZodNullable<z.ZodObject<{
|
|
307
|
-
id: z.ZodNullable<z.ZodString>;
|
|
308
|
-
username: z.ZodNullable<z.ZodString>;
|
|
309
|
-
bio: z.ZodNullable<z.ZodString>;
|
|
310
|
-
links: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
311
|
-
twitter: z.ZodNullable<z.ZodString>;
|
|
312
|
-
website: z.ZodNullable<z.ZodString>;
|
|
313
|
-
instagram: z.ZodNullable<z.ZodString>;
|
|
314
|
-
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
website?: string;
|
|
316
|
-
twitter?: string;
|
|
317
|
-
instagram?: string;
|
|
318
|
-
}, {
|
|
319
|
-
website?: string;
|
|
320
|
-
twitter?: string;
|
|
321
|
-
instagram?: string;
|
|
322
|
-
}>, "many">>;
|
|
323
|
-
banner: z.ZodNullable<z.ZodString>;
|
|
324
|
-
avatar: z.ZodNullable<z.ZodString>;
|
|
325
|
-
}, "strip", z.ZodTypeAny, {
|
|
326
|
-
id?: string;
|
|
327
|
-
username?: string;
|
|
328
|
-
bio?: string;
|
|
329
|
-
links?: {
|
|
330
|
-
website?: string;
|
|
331
|
-
twitter?: string;
|
|
332
|
-
instagram?: string;
|
|
333
|
-
}[];
|
|
334
|
-
banner?: string;
|
|
335
|
-
avatar?: string;
|
|
336
|
-
}, {
|
|
337
|
-
id?: string;
|
|
338
|
-
username?: string;
|
|
339
|
-
bio?: string;
|
|
340
|
-
links?: {
|
|
341
|
-
website?: string;
|
|
342
|
-
twitter?: string;
|
|
343
|
-
instagram?: string;
|
|
344
|
-
}[];
|
|
345
|
-
banner?: string;
|
|
346
|
-
avatar?: string;
|
|
347
|
-
}>>;
|
|
348
|
-
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
id?: string;
|
|
350
|
-
profile?: {
|
|
351
|
-
id?: string;
|
|
352
|
-
username?: string;
|
|
353
|
-
bio?: string;
|
|
354
|
-
links?: {
|
|
355
|
-
website?: string;
|
|
356
|
-
twitter?: string;
|
|
357
|
-
instagram?: string;
|
|
358
|
-
}[];
|
|
359
|
-
banner?: string;
|
|
360
|
-
avatar?: string;
|
|
361
|
-
};
|
|
362
|
-
}, {
|
|
363
|
-
id?: string;
|
|
364
|
-
profile?: {
|
|
365
|
-
id?: string;
|
|
366
|
-
username?: string;
|
|
367
|
-
bio?: string;
|
|
368
|
-
links?: {
|
|
369
|
-
website?: string;
|
|
370
|
-
twitter?: string;
|
|
371
|
-
instagram?: string;
|
|
372
|
-
}[];
|
|
373
|
-
banner?: string;
|
|
374
|
-
avatar?: string;
|
|
375
|
-
};
|
|
376
|
-
}>;
|
|
377
|
-
language: z.ZodDefault<z.ZodEnum<["en", "es", "zh", "ko"]>>;
|
|
378
|
-
version: z.ZodDefault<z.ZodNumber>;
|
|
379
|
-
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
380
|
-
promoted: z.ZodDefault<z.ZodNumber>;
|
|
381
|
-
views: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
382
|
-
linkedWikis: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
383
|
-
blockchains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
384
|
-
founders: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
385
|
-
speakers: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
386
|
-
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
founders?: string[];
|
|
388
|
-
blockchains?: string[];
|
|
389
|
-
speakers?: string[];
|
|
390
|
-
}, {
|
|
391
|
-
founders?: string[];
|
|
392
|
-
blockchains?: string[];
|
|
393
|
-
speakers?: string[];
|
|
394
|
-
}>>>>;
|
|
395
|
-
founderWikis: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
396
|
-
id: z.ZodString;
|
|
397
|
-
title: z.ZodString;
|
|
398
|
-
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
id?: string;
|
|
400
|
-
title?: string;
|
|
401
|
-
}, {
|
|
402
|
-
id?: string;
|
|
403
|
-
title?: string;
|
|
404
|
-
}>, "many">>>;
|
|
405
|
-
blockchainWikis: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
406
|
-
id: z.ZodString;
|
|
407
|
-
title: z.ZodString;
|
|
408
|
-
}, "strip", z.ZodTypeAny, {
|
|
409
|
-
id?: string;
|
|
410
|
-
title?: string;
|
|
411
|
-
}, {
|
|
412
|
-
id?: string;
|
|
413
|
-
title?: string;
|
|
414
|
-
}>, "many">>>;
|
|
415
|
-
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
id?: string;
|
|
417
|
-
title?: string;
|
|
418
|
-
ipfs?: string;
|
|
419
|
-
content?: string;
|
|
420
|
-
summary?: string;
|
|
421
|
-
images?: {
|
|
422
|
-
type?: string;
|
|
423
|
-
id?: string;
|
|
424
|
-
}[];
|
|
425
|
-
categories?: {
|
|
426
|
-
id?: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
427
|
-
title?: string;
|
|
428
|
-
}[];
|
|
429
|
-
tags?: {
|
|
430
|
-
id: "Artists" | "AI" | "BinanceSmartChain" | "Blockchains" | "CEXes" | "Collections" | "Collectors" | "Conference" | "DEXes" | "Developers" | "Entertainment" | "Ethereum" | "Events" | "Forum" | "Founders" | "Festival" | "Games" | "Glossary" | "Hackathon" | "Marketplaces" | "Memecoins" | "Organizations" | "Online" | "PeopleInDeFi" | "Polkadot" | "Polygon" | "Protocols" | "Solana" | "Speakers" | "Stablecoins" | "Venture";
|
|
431
|
-
}[];
|
|
432
|
-
media?: {
|
|
433
|
-
type?: "GALLERY" | "ICON";
|
|
434
|
-
size?: string;
|
|
435
|
-
id?: string;
|
|
436
|
-
name?: string;
|
|
437
|
-
caption?: string;
|
|
438
|
-
thumbnail?: string;
|
|
439
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
440
|
-
}[];
|
|
441
|
-
metadata?: {
|
|
442
|
-
value?: any;
|
|
443
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
444
|
-
}[];
|
|
445
|
-
events?: {
|
|
446
|
-
link?: string;
|
|
447
|
-
date?: string;
|
|
448
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
449
|
-
description?: string;
|
|
450
|
-
id?: string;
|
|
451
|
-
title?: string;
|
|
452
|
-
multiDateStart?: string;
|
|
453
|
-
multiDateEnd?: string;
|
|
454
|
-
continent?: string;
|
|
455
|
-
country?: string;
|
|
456
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
457
|
-
}[];
|
|
458
|
-
user?: {
|
|
459
|
-
id?: string;
|
|
460
|
-
profile?: {
|
|
461
|
-
id?: string;
|
|
462
|
-
username?: string;
|
|
463
|
-
bio?: string;
|
|
464
|
-
links?: {
|
|
465
|
-
website?: string;
|
|
466
|
-
twitter?: string;
|
|
467
|
-
instagram?: string;
|
|
468
|
-
}[];
|
|
469
|
-
banner?: string;
|
|
470
|
-
avatar?: string;
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
author?: {
|
|
474
|
-
id?: string;
|
|
475
|
-
profile?: {
|
|
476
|
-
id?: string;
|
|
477
|
-
username?: string;
|
|
478
|
-
bio?: string;
|
|
479
|
-
links?: {
|
|
480
|
-
website?: string;
|
|
481
|
-
twitter?: string;
|
|
482
|
-
instagram?: string;
|
|
483
|
-
}[];
|
|
484
|
-
banner?: string;
|
|
485
|
-
avatar?: string;
|
|
486
|
-
};
|
|
487
|
-
};
|
|
488
|
-
language?: "en" | "es" | "zh" | "ko";
|
|
489
|
-
version?: number;
|
|
490
|
-
hidden?: boolean;
|
|
491
|
-
promoted?: number;
|
|
492
|
-
views?: number;
|
|
493
|
-
linkedWikis?: {
|
|
494
|
-
founders?: string[];
|
|
495
|
-
blockchains?: string[];
|
|
496
|
-
speakers?: string[];
|
|
497
|
-
};
|
|
498
|
-
founderWikis?: {
|
|
499
|
-
id?: string;
|
|
500
|
-
title?: string;
|
|
501
|
-
}[];
|
|
502
|
-
blockchainWikis?: {
|
|
503
|
-
id?: string;
|
|
504
|
-
title?: string;
|
|
505
|
-
}[];
|
|
506
|
-
}, {
|
|
507
|
-
id?: string;
|
|
508
|
-
title?: string;
|
|
509
|
-
ipfs?: string;
|
|
510
|
-
content?: string;
|
|
511
|
-
summary?: string;
|
|
512
|
-
images?: {
|
|
513
|
-
type?: string;
|
|
514
|
-
id?: string;
|
|
515
|
-
}[];
|
|
516
|
-
categories?: {
|
|
517
|
-
id?: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
518
|
-
title?: string;
|
|
519
|
-
}[];
|
|
520
|
-
tags?: {
|
|
521
|
-
id?: string;
|
|
522
|
-
}[];
|
|
523
|
-
media?: {
|
|
524
|
-
type?: "GALLERY" | "ICON";
|
|
525
|
-
size?: string;
|
|
526
|
-
id?: string;
|
|
527
|
-
name?: string;
|
|
528
|
-
caption?: string;
|
|
529
|
-
thumbnail?: string;
|
|
530
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
531
|
-
}[];
|
|
532
|
-
metadata?: {
|
|
533
|
-
value?: any;
|
|
534
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
535
|
-
}[];
|
|
536
|
-
events?: {
|
|
537
|
-
link?: string;
|
|
538
|
-
date?: string;
|
|
539
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
540
|
-
description?: string;
|
|
541
|
-
id?: string;
|
|
542
|
-
title?: string;
|
|
543
|
-
multiDateStart?: string;
|
|
544
|
-
multiDateEnd?: string;
|
|
545
|
-
continent?: string;
|
|
546
|
-
country?: string;
|
|
547
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
548
|
-
}[];
|
|
549
|
-
user?: {
|
|
550
|
-
id?: string;
|
|
551
|
-
profile?: {
|
|
552
|
-
id?: string;
|
|
553
|
-
username?: string;
|
|
554
|
-
bio?: string;
|
|
555
|
-
links?: {
|
|
556
|
-
website?: string;
|
|
557
|
-
twitter?: string;
|
|
558
|
-
instagram?: string;
|
|
559
|
-
}[];
|
|
560
|
-
banner?: string;
|
|
561
|
-
avatar?: string;
|
|
562
|
-
};
|
|
563
|
-
};
|
|
564
|
-
author?: {
|
|
565
|
-
id?: string;
|
|
566
|
-
profile?: {
|
|
567
|
-
id?: string;
|
|
568
|
-
username?: string;
|
|
569
|
-
bio?: string;
|
|
570
|
-
links?: {
|
|
571
|
-
website?: string;
|
|
572
|
-
twitter?: string;
|
|
573
|
-
instagram?: string;
|
|
574
|
-
}[];
|
|
575
|
-
banner?: string;
|
|
576
|
-
avatar?: string;
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
language?: "en" | "es" | "zh" | "ko";
|
|
580
|
-
version?: number;
|
|
581
|
-
hidden?: boolean;
|
|
582
|
-
promoted?: number;
|
|
583
|
-
views?: number;
|
|
584
|
-
linkedWikis?: {
|
|
585
|
-
founders?: string[];
|
|
586
|
-
blockchains?: string[];
|
|
587
|
-
speakers?: string[];
|
|
588
|
-
};
|
|
589
|
-
founderWikis?: {
|
|
590
|
-
id?: string;
|
|
591
|
-
title?: string;
|
|
592
|
-
}[];
|
|
593
|
-
blockchainWikis?: {
|
|
594
|
-
id?: string;
|
|
595
|
-
title?: string;
|
|
596
|
-
}[];
|
|
597
|
-
}>, {
|
|
598
|
-
id?: string;
|
|
599
|
-
title?: string;
|
|
600
|
-
ipfs?: string;
|
|
601
|
-
content?: string;
|
|
602
|
-
summary?: string;
|
|
603
|
-
images?: {
|
|
604
|
-
type?: string;
|
|
605
|
-
id?: string;
|
|
606
|
-
}[];
|
|
607
|
-
categories?: {
|
|
608
|
-
id?: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
609
|
-
title?: string;
|
|
610
|
-
}[];
|
|
611
|
-
tags?: {
|
|
612
|
-
id: "Artists" | "AI" | "BinanceSmartChain" | "Blockchains" | "CEXes" | "Collections" | "Collectors" | "Conference" | "DEXes" | "Developers" | "Entertainment" | "Ethereum" | "Events" | "Forum" | "Founders" | "Festival" | "Games" | "Glossary" | "Hackathon" | "Marketplaces" | "Memecoins" | "Organizations" | "Online" | "PeopleInDeFi" | "Polkadot" | "Polygon" | "Protocols" | "Solana" | "Speakers" | "Stablecoins" | "Venture";
|
|
613
|
-
}[];
|
|
614
|
-
media?: {
|
|
615
|
-
type?: "GALLERY" | "ICON";
|
|
616
|
-
size?: string;
|
|
617
|
-
id?: string;
|
|
618
|
-
name?: string;
|
|
619
|
-
caption?: string;
|
|
620
|
-
thumbnail?: string;
|
|
621
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
622
|
-
}[];
|
|
623
|
-
metadata?: {
|
|
624
|
-
value?: any;
|
|
625
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
626
|
-
}[];
|
|
627
|
-
events?: {
|
|
628
|
-
link?: string;
|
|
629
|
-
date?: string;
|
|
630
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
631
|
-
description?: string;
|
|
632
|
-
id?: string;
|
|
633
|
-
title?: string;
|
|
634
|
-
multiDateStart?: string;
|
|
635
|
-
multiDateEnd?: string;
|
|
636
|
-
continent?: string;
|
|
637
|
-
country?: string;
|
|
638
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
639
|
-
}[];
|
|
640
|
-
user?: {
|
|
641
|
-
id?: string;
|
|
642
|
-
profile?: {
|
|
643
|
-
id?: string;
|
|
644
|
-
username?: string;
|
|
645
|
-
bio?: string;
|
|
646
|
-
links?: {
|
|
647
|
-
website?: string;
|
|
648
|
-
twitter?: string;
|
|
649
|
-
instagram?: string;
|
|
650
|
-
}[];
|
|
651
|
-
banner?: string;
|
|
652
|
-
avatar?: string;
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
author?: {
|
|
656
|
-
id?: string;
|
|
657
|
-
profile?: {
|
|
658
|
-
id?: string;
|
|
659
|
-
username?: string;
|
|
660
|
-
bio?: string;
|
|
661
|
-
links?: {
|
|
662
|
-
website?: string;
|
|
663
|
-
twitter?: string;
|
|
664
|
-
instagram?: string;
|
|
665
|
-
}[];
|
|
666
|
-
banner?: string;
|
|
667
|
-
avatar?: string;
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
language?: "en" | "es" | "zh" | "ko";
|
|
671
|
-
version?: number;
|
|
672
|
-
hidden?: boolean;
|
|
673
|
-
promoted?: number;
|
|
674
|
-
views?: number;
|
|
675
|
-
linkedWikis?: {
|
|
676
|
-
founders?: string[];
|
|
677
|
-
blockchains?: string[];
|
|
678
|
-
speakers?: string[];
|
|
679
|
-
};
|
|
680
|
-
founderWikis?: {
|
|
681
|
-
id?: string;
|
|
682
|
-
title?: string;
|
|
683
|
-
}[];
|
|
684
|
-
blockchainWikis?: {
|
|
685
|
-
id?: string;
|
|
686
|
-
title?: string;
|
|
687
|
-
}[];
|
|
688
|
-
}, {
|
|
689
|
-
id?: string;
|
|
690
|
-
title?: string;
|
|
691
|
-
ipfs?: string;
|
|
692
|
-
content?: string;
|
|
693
|
-
summary?: string;
|
|
694
|
-
images?: {
|
|
695
|
-
type?: string;
|
|
696
|
-
id?: string;
|
|
697
|
-
}[];
|
|
698
|
-
categories?: {
|
|
699
|
-
id?: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
700
|
-
title?: string;
|
|
701
|
-
}[];
|
|
702
|
-
tags?: {
|
|
703
|
-
id?: string;
|
|
704
|
-
}[];
|
|
705
|
-
media?: {
|
|
706
|
-
type?: "GALLERY" | "ICON";
|
|
707
|
-
size?: string;
|
|
708
|
-
id?: string;
|
|
709
|
-
name?: string;
|
|
710
|
-
caption?: string;
|
|
711
|
-
thumbnail?: string;
|
|
712
|
-
source?: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
713
|
-
}[];
|
|
714
|
-
metadata?: {
|
|
715
|
-
value?: any;
|
|
716
|
-
id?: "references" | "website" | "contract_url" | "location" | "email_url" | "facebook_profile" | "instagram_profile" | "twitter_profile" | "linkedin_profile" | "youtube_profile" | "discord_profile" | "reddit_profile" | "telegram_profile" | "github_profile" | "coinmarketcap_url" | "coingecko_profile" | "opensea_profile" | "medium_profile" | "mirror_profile" | "tiktok_profile" | "etherscan_profile" | "arbiscan_profile" | "polygonscan_profile" | "bscscan_profile" | "optimistic_etherscan_profile" | "basescan_profile" | "ftmscan_profile" | "solscan_profile" | "avascan_profile" | "nearblocks_profile" | "troscan_profile" | "xrpscan_profile" | "kavascan_profile" | "tonscan_profile" | "celoscan_profile" | "cronoscan_profile" | "zkscan_profile" | "explorer_injective_profile" | "blastscan_profile" | "previous_cid" | "commit-message" | "words-changed" | "percent-changed" | "blocks-changed" | "wiki-score";
|
|
717
|
-
}[];
|
|
718
|
-
events?: {
|
|
719
|
-
link?: string;
|
|
720
|
-
date?: string;
|
|
721
|
-
type?: "CREATED" | "DEFAULT" | "MULTIDATE";
|
|
722
|
-
description?: string;
|
|
723
|
-
id?: string;
|
|
724
|
-
title?: string;
|
|
725
|
-
multiDateStart?: string;
|
|
726
|
-
multiDateEnd?: string;
|
|
727
|
-
continent?: string;
|
|
728
|
-
country?: string;
|
|
729
|
-
action?: "DELETE" | "EDIT" | "CREATE";
|
|
730
|
-
}[];
|
|
731
|
-
user?: {
|
|
732
|
-
id?: string;
|
|
733
|
-
profile?: {
|
|
734
|
-
id?: string;
|
|
735
|
-
username?: string;
|
|
736
|
-
bio?: string;
|
|
737
|
-
links?: {
|
|
738
|
-
website?: string;
|
|
739
|
-
twitter?: string;
|
|
740
|
-
instagram?: string;
|
|
741
|
-
}[];
|
|
742
|
-
banner?: string;
|
|
743
|
-
avatar?: string;
|
|
744
|
-
};
|
|
745
|
-
};
|
|
746
|
-
author?: {
|
|
747
|
-
id?: string;
|
|
748
|
-
profile?: {
|
|
749
|
-
id?: string;
|
|
750
|
-
username?: string;
|
|
751
|
-
bio?: string;
|
|
752
|
-
links?: {
|
|
753
|
-
website?: string;
|
|
754
|
-
twitter?: string;
|
|
755
|
-
instagram?: string;
|
|
756
|
-
}[];
|
|
757
|
-
banner?: string;
|
|
758
|
-
avatar?: string;
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
|
-
language?: "en" | "es" | "zh" | "ko";
|
|
762
|
-
version?: number;
|
|
763
|
-
hidden?: boolean;
|
|
764
|
-
promoted?: number;
|
|
765
|
-
views?: number;
|
|
766
|
-
linkedWikis?: {
|
|
767
|
-
founders?: string[];
|
|
768
|
-
blockchains?: string[];
|
|
769
|
-
speakers?: string[];
|
|
770
|
-
};
|
|
771
|
-
founderWikis?: {
|
|
772
|
-
id?: string;
|
|
773
|
-
title?: string;
|
|
774
|
-
}[];
|
|
775
|
-
blockchainWikis?: {
|
|
776
|
-
id?: string;
|
|
777
|
-
title?: string;
|
|
778
|
-
}[];
|
|
779
|
-
}>;
|
|
780
|
-
export type Wiki = z.infer<typeof WikiSchema>;
|
|
781
|
-
export declare const ReferenceSchema: z.ZodObject<{
|
|
782
|
-
id: z.ZodString;
|
|
783
|
-
description: z.ZodString;
|
|
784
|
-
timestamp: z.ZodNumber;
|
|
785
|
-
url: z.ZodString;
|
|
786
|
-
}, "strip", z.ZodTypeAny, {
|
|
787
|
-
url?: string;
|
|
788
|
-
description?: string;
|
|
789
|
-
id?: string;
|
|
790
|
-
timestamp?: number;
|
|
791
|
-
}, {
|
|
792
|
-
url?: string;
|
|
793
|
-
description?: string;
|
|
794
|
-
id?: string;
|
|
795
|
-
timestamp?: number;
|
|
796
|
-
}>;
|
|
797
|
-
export type Reference = z.infer<typeof ReferenceSchema>;
|
|
798
|
-
export {};
|