@everipedia/iq-utils 1.0.1 → 2.0.0
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 +6 -0
- package/dist/index.d.mts +1002 -0
- package/dist/index.d.ts +1002 -0
- package/dist/index.js +650 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +600 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +51 -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
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1002 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* ========================
|
|
5
|
+
* ===== Enum Schemas =====
|
|
6
|
+
* ========================
|
|
7
|
+
*/
|
|
8
|
+
declare const MediaType: z.ZodEnum<["GALLERY", "ICON"]>;
|
|
9
|
+
type MediaType = z.infer<typeof MediaType>;
|
|
10
|
+
declare const MediaSource: z.ZodEnum<["IPFS_IMG", "VIMEO", "YOUTUBE", "IPFS_VID"]>;
|
|
11
|
+
type MediaSource = z.infer<typeof MediaSource>;
|
|
12
|
+
declare const CommonMetaIds: 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"]>;
|
|
13
|
+
type CommonMetaIds = z.infer<typeof CommonMetaIds>;
|
|
14
|
+
declare const EditSpecificMetaIds: z.ZodEnum<["previous_cid", "commit-message", "words-changed", "percent-changed", "blocks-changed", "wiki-score"]>;
|
|
15
|
+
type EditSpecificMetaIds = z.infer<typeof EditSpecificMetaIds>;
|
|
16
|
+
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"]>;
|
|
17
|
+
type ValidatorCodes = z.infer<typeof ValidatorCodes>;
|
|
18
|
+
declare const LanguagesISO: z.ZodEnum<["en", "es", "zh", "ko"]>;
|
|
19
|
+
type LanguagesISO = z.infer<typeof LanguagesISO>;
|
|
20
|
+
declare const LinkedWikiKey: z.ZodEnum<["founders", "blockchains", "speakers"]>;
|
|
21
|
+
type LinkedWikiKey = z.infer<typeof LinkedWikiKey>;
|
|
22
|
+
declare const EventType: z.ZodEnum<["CREATED", "DEFAULT", "MULTIDATE"]>;
|
|
23
|
+
type EventType = z.infer<typeof EventType>;
|
|
24
|
+
declare const Tag: 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"]>;
|
|
25
|
+
type Tag = z.infer<typeof Tag>;
|
|
26
|
+
declare const Category: z.ZodEnum<["nfts", "defi", "exchanges", "cryptocurrencies", "daos", "people", "dapps", "organizations"]>;
|
|
27
|
+
type Category = z.infer<typeof Category>;
|
|
28
|
+
/**
|
|
29
|
+
* ==============================
|
|
30
|
+
* ===== Supporting Schemas =====
|
|
31
|
+
* ==============================
|
|
32
|
+
*/
|
|
33
|
+
declare const ProfileLinks: z.ZodObject<{
|
|
34
|
+
twitter: z.ZodNullable<z.ZodString>;
|
|
35
|
+
website: z.ZodNullable<z.ZodString>;
|
|
36
|
+
instagram: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
website: string | null;
|
|
39
|
+
twitter: string | null;
|
|
40
|
+
instagram: string | null;
|
|
41
|
+
}, {
|
|
42
|
+
website: string | null;
|
|
43
|
+
twitter: string | null;
|
|
44
|
+
instagram: string | null;
|
|
45
|
+
}>;
|
|
46
|
+
type ProfileLinks = z.infer<typeof ProfileLinks>;
|
|
47
|
+
declare const ProfileData: z.ZodObject<{
|
|
48
|
+
id: z.ZodNullable<z.ZodString>;
|
|
49
|
+
username: z.ZodNullable<z.ZodString>;
|
|
50
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
51
|
+
links: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
52
|
+
twitter: z.ZodNullable<z.ZodString>;
|
|
53
|
+
website: z.ZodNullable<z.ZodString>;
|
|
54
|
+
instagram: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
website: string | null;
|
|
57
|
+
twitter: string | null;
|
|
58
|
+
instagram: string | null;
|
|
59
|
+
}, {
|
|
60
|
+
website: string | null;
|
|
61
|
+
twitter: string | null;
|
|
62
|
+
instagram: string | null;
|
|
63
|
+
}>, "many">>;
|
|
64
|
+
banner: z.ZodNullable<z.ZodString>;
|
|
65
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
id: string | null;
|
|
68
|
+
username: string | null;
|
|
69
|
+
bio: string | null;
|
|
70
|
+
links: {
|
|
71
|
+
website: string | null;
|
|
72
|
+
twitter: string | null;
|
|
73
|
+
instagram: string | null;
|
|
74
|
+
}[] | null;
|
|
75
|
+
banner: string | null;
|
|
76
|
+
avatar: string | null;
|
|
77
|
+
}, {
|
|
78
|
+
id: string | null;
|
|
79
|
+
username: string | null;
|
|
80
|
+
bio: string | null;
|
|
81
|
+
links: {
|
|
82
|
+
website: string | null;
|
|
83
|
+
twitter: string | null;
|
|
84
|
+
instagram: string | null;
|
|
85
|
+
}[] | null;
|
|
86
|
+
banner: string | null;
|
|
87
|
+
avatar: string | null;
|
|
88
|
+
}>;
|
|
89
|
+
type ProfileData = z.infer<typeof ProfileData>;
|
|
90
|
+
declare const Image: z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
type: z.ZodString;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
id: string;
|
|
95
|
+
type: string;
|
|
96
|
+
}, {
|
|
97
|
+
id: string;
|
|
98
|
+
type: string;
|
|
99
|
+
}>;
|
|
100
|
+
type Image = z.infer<typeof Image>;
|
|
101
|
+
declare const Media: z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["GALLERY", "ICON"]>>>;
|
|
106
|
+
caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
|
+
source: z.ZodEnum<["IPFS_IMG", "VIMEO", "YOUTUBE", "IPFS_VID"]>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
id: string;
|
|
111
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
112
|
+
size?: string | null | undefined;
|
|
113
|
+
name?: string | null | undefined;
|
|
114
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
115
|
+
caption?: string | null | undefined;
|
|
116
|
+
thumbnail?: string | null | undefined;
|
|
117
|
+
}, {
|
|
118
|
+
id: string;
|
|
119
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
120
|
+
size?: string | null | undefined;
|
|
121
|
+
name?: string | null | undefined;
|
|
122
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
123
|
+
caption?: string | null | undefined;
|
|
124
|
+
thumbnail?: string | null | undefined;
|
|
125
|
+
}>;
|
|
126
|
+
type Media = z.infer<typeof Media>;
|
|
127
|
+
declare const MetaData: z.ZodObject<{
|
|
128
|
+
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"]>]>;
|
|
129
|
+
value: z.ZodAny;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
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";
|
|
132
|
+
value?: any;
|
|
133
|
+
}, {
|
|
134
|
+
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";
|
|
135
|
+
value?: any;
|
|
136
|
+
}>;
|
|
137
|
+
type MetaData = z.infer<typeof MetaData>;
|
|
138
|
+
declare const BaseCategory: z.ZodObject<{
|
|
139
|
+
id: z.ZodEnum<["nfts", "defi", "exchanges", "cryptocurrencies", "daos", "people", "dapps", "organizations"]>;
|
|
140
|
+
title: z.ZodString;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
143
|
+
title: string;
|
|
144
|
+
}, {
|
|
145
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
146
|
+
title: string;
|
|
147
|
+
}>;
|
|
148
|
+
type BaseCategory = z.infer<typeof BaseCategory>;
|
|
149
|
+
declare const BaseEvents: z.ZodObject<{
|
|
150
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
151
|
+
date: z.ZodNullable<z.ZodString>;
|
|
152
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
153
|
+
type: z.ZodNullable<z.ZodEnum<["CREATED", "DEFAULT", "MULTIDATE"]>>;
|
|
154
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
155
|
+
link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
156
|
+
multiDateStart: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
157
|
+
multiDateEnd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
158
|
+
continent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
159
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
160
|
+
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DELETE", "EDIT", "CREATE"]>>>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
163
|
+
date: string | null;
|
|
164
|
+
id?: string | null | undefined;
|
|
165
|
+
title?: string | null | undefined;
|
|
166
|
+
description?: string | null | undefined;
|
|
167
|
+
link?: string | null | undefined;
|
|
168
|
+
multiDateStart?: string | null | undefined;
|
|
169
|
+
multiDateEnd?: string | null | undefined;
|
|
170
|
+
continent?: string | null | undefined;
|
|
171
|
+
country?: string | null | undefined;
|
|
172
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
173
|
+
}, {
|
|
174
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
175
|
+
date: string | null;
|
|
176
|
+
id?: string | null | undefined;
|
|
177
|
+
title?: string | null | undefined;
|
|
178
|
+
description?: string | null | undefined;
|
|
179
|
+
link?: string | null | undefined;
|
|
180
|
+
multiDateStart?: string | null | undefined;
|
|
181
|
+
multiDateEnd?: string | null | undefined;
|
|
182
|
+
continent?: string | null | undefined;
|
|
183
|
+
country?: string | null | undefined;
|
|
184
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
185
|
+
}>;
|
|
186
|
+
type BaseEvents = z.infer<typeof BaseEvents>;
|
|
187
|
+
declare const WikiReference: z.ZodObject<{
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
title: z.ZodString;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
id: string;
|
|
192
|
+
title: string;
|
|
193
|
+
}, {
|
|
194
|
+
id: string;
|
|
195
|
+
title: string;
|
|
196
|
+
}>;
|
|
197
|
+
type WikiReference = z.infer<typeof WikiReference>;
|
|
198
|
+
/**
|
|
199
|
+
* ========================
|
|
200
|
+
* ===== Core Schemas =====
|
|
201
|
+
* ========================
|
|
202
|
+
*/
|
|
203
|
+
declare const Wiki: z.ZodEffects<z.ZodObject<{
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
title: z.ZodString;
|
|
206
|
+
ipfs: z.ZodOptional<z.ZodString>;
|
|
207
|
+
content: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
208
|
+
summary: z.ZodString;
|
|
209
|
+
images: z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodString;
|
|
211
|
+
type: z.ZodString;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
id: string;
|
|
214
|
+
type: string;
|
|
215
|
+
}, {
|
|
216
|
+
id: string;
|
|
217
|
+
type: string;
|
|
218
|
+
}>, "many">;
|
|
219
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
220
|
+
id: z.ZodEnum<["nfts", "defi", "exchanges", "cryptocurrencies", "daos", "people", "dapps", "organizations"]>;
|
|
221
|
+
title: z.ZodString;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
224
|
+
title: string;
|
|
225
|
+
}, {
|
|
226
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
227
|
+
title: string;
|
|
228
|
+
}>, "many">;
|
|
229
|
+
tags: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
230
|
+
id: z.ZodString;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
id: string;
|
|
233
|
+
}, {
|
|
234
|
+
id: string;
|
|
235
|
+
}>, "many">, {
|
|
236
|
+
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";
|
|
237
|
+
}[], {
|
|
238
|
+
id: string;
|
|
239
|
+
}[]>, {
|
|
240
|
+
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";
|
|
241
|
+
}[], {
|
|
242
|
+
id: string;
|
|
243
|
+
}[]>;
|
|
244
|
+
media: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
247
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["GALLERY", "ICON"]>>>;
|
|
249
|
+
caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
251
|
+
source: z.ZodEnum<["IPFS_IMG", "VIMEO", "YOUTUBE", "IPFS_VID"]>;
|
|
252
|
+
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
id: string;
|
|
254
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
255
|
+
size?: string | null | undefined;
|
|
256
|
+
name?: string | null | undefined;
|
|
257
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
258
|
+
caption?: string | null | undefined;
|
|
259
|
+
thumbnail?: string | null | undefined;
|
|
260
|
+
}, {
|
|
261
|
+
id: string;
|
|
262
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
263
|
+
size?: string | null | undefined;
|
|
264
|
+
name?: string | null | undefined;
|
|
265
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
266
|
+
caption?: string | null | undefined;
|
|
267
|
+
thumbnail?: string | null | undefined;
|
|
268
|
+
}>, "many">, {
|
|
269
|
+
id: string;
|
|
270
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
271
|
+
size?: string | null | undefined;
|
|
272
|
+
name?: string | null | undefined;
|
|
273
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
274
|
+
caption?: string | null | undefined;
|
|
275
|
+
thumbnail?: string | null | undefined;
|
|
276
|
+
}[], {
|
|
277
|
+
id: string;
|
|
278
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
279
|
+
size?: string | null | undefined;
|
|
280
|
+
name?: string | null | undefined;
|
|
281
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
282
|
+
caption?: string | null | undefined;
|
|
283
|
+
thumbnail?: string | null | undefined;
|
|
284
|
+
}[]>>;
|
|
285
|
+
metadata: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
286
|
+
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"]>]>;
|
|
287
|
+
value: z.ZodAny;
|
|
288
|
+
}, "strip", z.ZodTypeAny, {
|
|
289
|
+
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";
|
|
290
|
+
value?: any;
|
|
291
|
+
}, {
|
|
292
|
+
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";
|
|
293
|
+
value?: any;
|
|
294
|
+
}>, "many">, {
|
|
295
|
+
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";
|
|
296
|
+
value?: any;
|
|
297
|
+
}[], {
|
|
298
|
+
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";
|
|
299
|
+
value?: any;
|
|
300
|
+
}[]>;
|
|
301
|
+
events: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
302
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
303
|
+
date: z.ZodNullable<z.ZodString>;
|
|
304
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
305
|
+
type: z.ZodNullable<z.ZodEnum<["CREATED", "DEFAULT", "MULTIDATE"]>>;
|
|
306
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
307
|
+
link: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
308
|
+
multiDateStart: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
309
|
+
multiDateEnd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
310
|
+
continent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
311
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
312
|
+
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DELETE", "EDIT", "CREATE"]>>>;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
315
|
+
date: string | null;
|
|
316
|
+
id?: string | null | undefined;
|
|
317
|
+
title?: string | null | undefined;
|
|
318
|
+
description?: string | null | undefined;
|
|
319
|
+
link?: string | null | undefined;
|
|
320
|
+
multiDateStart?: string | null | undefined;
|
|
321
|
+
multiDateEnd?: string | null | undefined;
|
|
322
|
+
continent?: string | null | undefined;
|
|
323
|
+
country?: string | null | undefined;
|
|
324
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
325
|
+
}, {
|
|
326
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
327
|
+
date: string | null;
|
|
328
|
+
id?: string | null | undefined;
|
|
329
|
+
title?: string | null | undefined;
|
|
330
|
+
description?: string | null | undefined;
|
|
331
|
+
link?: string | null | undefined;
|
|
332
|
+
multiDateStart?: string | null | undefined;
|
|
333
|
+
multiDateEnd?: string | null | undefined;
|
|
334
|
+
continent?: string | null | undefined;
|
|
335
|
+
country?: string | null | undefined;
|
|
336
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
337
|
+
}>, "many">>>;
|
|
338
|
+
user: z.ZodObject<{
|
|
339
|
+
id: z.ZodString;
|
|
340
|
+
profile: z.ZodNullable<z.ZodObject<{
|
|
341
|
+
id: z.ZodNullable<z.ZodString>;
|
|
342
|
+
username: z.ZodNullable<z.ZodString>;
|
|
343
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
344
|
+
links: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
345
|
+
twitter: z.ZodNullable<z.ZodString>;
|
|
346
|
+
website: z.ZodNullable<z.ZodString>;
|
|
347
|
+
instagram: z.ZodNullable<z.ZodString>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
website: string | null;
|
|
350
|
+
twitter: string | null;
|
|
351
|
+
instagram: string | null;
|
|
352
|
+
}, {
|
|
353
|
+
website: string | null;
|
|
354
|
+
twitter: string | null;
|
|
355
|
+
instagram: string | null;
|
|
356
|
+
}>, "many">>;
|
|
357
|
+
banner: z.ZodNullable<z.ZodString>;
|
|
358
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
id: string | null;
|
|
361
|
+
username: string | null;
|
|
362
|
+
bio: string | null;
|
|
363
|
+
links: {
|
|
364
|
+
website: string | null;
|
|
365
|
+
twitter: string | null;
|
|
366
|
+
instagram: string | null;
|
|
367
|
+
}[] | null;
|
|
368
|
+
banner: string | null;
|
|
369
|
+
avatar: string | null;
|
|
370
|
+
}, {
|
|
371
|
+
id: string | null;
|
|
372
|
+
username: string | null;
|
|
373
|
+
bio: string | null;
|
|
374
|
+
links: {
|
|
375
|
+
website: string | null;
|
|
376
|
+
twitter: string | null;
|
|
377
|
+
instagram: string | null;
|
|
378
|
+
}[] | null;
|
|
379
|
+
banner: string | null;
|
|
380
|
+
avatar: string | null;
|
|
381
|
+
}>>;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
id: string;
|
|
384
|
+
profile: {
|
|
385
|
+
id: string | null;
|
|
386
|
+
username: string | null;
|
|
387
|
+
bio: string | null;
|
|
388
|
+
links: {
|
|
389
|
+
website: string | null;
|
|
390
|
+
twitter: string | null;
|
|
391
|
+
instagram: string | null;
|
|
392
|
+
}[] | null;
|
|
393
|
+
banner: string | null;
|
|
394
|
+
avatar: string | null;
|
|
395
|
+
} | null;
|
|
396
|
+
}, {
|
|
397
|
+
id: string;
|
|
398
|
+
profile: {
|
|
399
|
+
id: string | null;
|
|
400
|
+
username: string | null;
|
|
401
|
+
bio: string | null;
|
|
402
|
+
links: {
|
|
403
|
+
website: string | null;
|
|
404
|
+
twitter: string | null;
|
|
405
|
+
instagram: string | null;
|
|
406
|
+
}[] | null;
|
|
407
|
+
banner: string | null;
|
|
408
|
+
avatar: string | null;
|
|
409
|
+
} | null;
|
|
410
|
+
}>;
|
|
411
|
+
author: z.ZodObject<{
|
|
412
|
+
id: z.ZodString;
|
|
413
|
+
profile: z.ZodNullable<z.ZodObject<{
|
|
414
|
+
id: z.ZodNullable<z.ZodString>;
|
|
415
|
+
username: z.ZodNullable<z.ZodString>;
|
|
416
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
417
|
+
links: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
418
|
+
twitter: z.ZodNullable<z.ZodString>;
|
|
419
|
+
website: z.ZodNullable<z.ZodString>;
|
|
420
|
+
instagram: z.ZodNullable<z.ZodString>;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
website: string | null;
|
|
423
|
+
twitter: string | null;
|
|
424
|
+
instagram: string | null;
|
|
425
|
+
}, {
|
|
426
|
+
website: string | null;
|
|
427
|
+
twitter: string | null;
|
|
428
|
+
instagram: string | null;
|
|
429
|
+
}>, "many">>;
|
|
430
|
+
banner: z.ZodNullable<z.ZodString>;
|
|
431
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
|
433
|
+
id: string | null;
|
|
434
|
+
username: string | null;
|
|
435
|
+
bio: string | null;
|
|
436
|
+
links: {
|
|
437
|
+
website: string | null;
|
|
438
|
+
twitter: string | null;
|
|
439
|
+
instagram: string | null;
|
|
440
|
+
}[] | null;
|
|
441
|
+
banner: string | null;
|
|
442
|
+
avatar: string | null;
|
|
443
|
+
}, {
|
|
444
|
+
id: string | null;
|
|
445
|
+
username: string | null;
|
|
446
|
+
bio: string | null;
|
|
447
|
+
links: {
|
|
448
|
+
website: string | null;
|
|
449
|
+
twitter: string | null;
|
|
450
|
+
instagram: string | null;
|
|
451
|
+
}[] | null;
|
|
452
|
+
banner: string | null;
|
|
453
|
+
avatar: string | null;
|
|
454
|
+
}>>;
|
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
|
456
|
+
id: string;
|
|
457
|
+
profile: {
|
|
458
|
+
id: string | null;
|
|
459
|
+
username: string | null;
|
|
460
|
+
bio: string | null;
|
|
461
|
+
links: {
|
|
462
|
+
website: string | null;
|
|
463
|
+
twitter: string | null;
|
|
464
|
+
instagram: string | null;
|
|
465
|
+
}[] | null;
|
|
466
|
+
banner: string | null;
|
|
467
|
+
avatar: string | null;
|
|
468
|
+
} | null;
|
|
469
|
+
}, {
|
|
470
|
+
id: string;
|
|
471
|
+
profile: {
|
|
472
|
+
id: string | null;
|
|
473
|
+
username: string | null;
|
|
474
|
+
bio: string | null;
|
|
475
|
+
links: {
|
|
476
|
+
website: string | null;
|
|
477
|
+
twitter: string | null;
|
|
478
|
+
instagram: string | null;
|
|
479
|
+
}[] | null;
|
|
480
|
+
banner: string | null;
|
|
481
|
+
avatar: string | null;
|
|
482
|
+
} | null;
|
|
483
|
+
}>;
|
|
484
|
+
language: z.ZodDefault<z.ZodEnum<["en", "es", "zh", "ko"]>>;
|
|
485
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
486
|
+
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
487
|
+
promoted: z.ZodDefault<z.ZodNumber>;
|
|
488
|
+
views: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
489
|
+
linkedWikis: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
490
|
+
blockchains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
491
|
+
founders: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
492
|
+
speakers: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
493
|
+
}, "strip", z.ZodTypeAny, {
|
|
494
|
+
founders?: string[] | null | undefined;
|
|
495
|
+
blockchains?: string[] | null | undefined;
|
|
496
|
+
speakers?: string[] | null | undefined;
|
|
497
|
+
}, {
|
|
498
|
+
founders?: string[] | null | undefined;
|
|
499
|
+
blockchains?: string[] | null | undefined;
|
|
500
|
+
speakers?: string[] | null | undefined;
|
|
501
|
+
}>>>>;
|
|
502
|
+
founderWikis: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
503
|
+
id: z.ZodString;
|
|
504
|
+
title: z.ZodString;
|
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
|
+
id: string;
|
|
507
|
+
title: string;
|
|
508
|
+
}, {
|
|
509
|
+
id: string;
|
|
510
|
+
title: string;
|
|
511
|
+
}>, "many">>>;
|
|
512
|
+
blockchainWikis: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
513
|
+
id: z.ZodString;
|
|
514
|
+
title: z.ZodString;
|
|
515
|
+
}, "strip", z.ZodTypeAny, {
|
|
516
|
+
id: string;
|
|
517
|
+
title: string;
|
|
518
|
+
}, {
|
|
519
|
+
id: string;
|
|
520
|
+
title: string;
|
|
521
|
+
}>, "many">>>;
|
|
522
|
+
}, "strip", z.ZodTypeAny, {
|
|
523
|
+
id: string;
|
|
524
|
+
title: string;
|
|
525
|
+
content: string;
|
|
526
|
+
summary: string;
|
|
527
|
+
images: {
|
|
528
|
+
id: string;
|
|
529
|
+
type: string;
|
|
530
|
+
}[];
|
|
531
|
+
categories: {
|
|
532
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
533
|
+
title: string;
|
|
534
|
+
}[];
|
|
535
|
+
tags: {
|
|
536
|
+
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";
|
|
537
|
+
}[];
|
|
538
|
+
metadata: {
|
|
539
|
+
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";
|
|
540
|
+
value?: any;
|
|
541
|
+
}[];
|
|
542
|
+
user: {
|
|
543
|
+
id: string;
|
|
544
|
+
profile: {
|
|
545
|
+
id: string | null;
|
|
546
|
+
username: string | null;
|
|
547
|
+
bio: string | null;
|
|
548
|
+
links: {
|
|
549
|
+
website: string | null;
|
|
550
|
+
twitter: string | null;
|
|
551
|
+
instagram: string | null;
|
|
552
|
+
}[] | null;
|
|
553
|
+
banner: string | null;
|
|
554
|
+
avatar: string | null;
|
|
555
|
+
} | null;
|
|
556
|
+
};
|
|
557
|
+
author: {
|
|
558
|
+
id: string;
|
|
559
|
+
profile: {
|
|
560
|
+
id: string | null;
|
|
561
|
+
username: string | null;
|
|
562
|
+
bio: string | null;
|
|
563
|
+
links: {
|
|
564
|
+
website: string | null;
|
|
565
|
+
twitter: string | null;
|
|
566
|
+
instagram: string | null;
|
|
567
|
+
}[] | null;
|
|
568
|
+
banner: string | null;
|
|
569
|
+
avatar: string | null;
|
|
570
|
+
} | null;
|
|
571
|
+
};
|
|
572
|
+
language: "en" | "es" | "zh" | "ko";
|
|
573
|
+
version: number;
|
|
574
|
+
hidden: boolean;
|
|
575
|
+
promoted: number;
|
|
576
|
+
views: number;
|
|
577
|
+
linkedWikis: {
|
|
578
|
+
founders?: string[] | null | undefined;
|
|
579
|
+
blockchains?: string[] | null | undefined;
|
|
580
|
+
speakers?: string[] | null | undefined;
|
|
581
|
+
} | null;
|
|
582
|
+
founderWikis: {
|
|
583
|
+
id: string;
|
|
584
|
+
title: string;
|
|
585
|
+
}[];
|
|
586
|
+
blockchainWikis: {
|
|
587
|
+
id: string;
|
|
588
|
+
title: string;
|
|
589
|
+
}[];
|
|
590
|
+
ipfs?: string | undefined;
|
|
591
|
+
media?: {
|
|
592
|
+
id: string;
|
|
593
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
594
|
+
size?: string | null | undefined;
|
|
595
|
+
name?: string | null | undefined;
|
|
596
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
597
|
+
caption?: string | null | undefined;
|
|
598
|
+
thumbnail?: string | null | undefined;
|
|
599
|
+
}[] | undefined;
|
|
600
|
+
events?: {
|
|
601
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
602
|
+
date: string | null;
|
|
603
|
+
id?: string | null | undefined;
|
|
604
|
+
title?: string | null | undefined;
|
|
605
|
+
description?: string | null | undefined;
|
|
606
|
+
link?: string | null | undefined;
|
|
607
|
+
multiDateStart?: string | null | undefined;
|
|
608
|
+
multiDateEnd?: string | null | undefined;
|
|
609
|
+
continent?: string | null | undefined;
|
|
610
|
+
country?: string | null | undefined;
|
|
611
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
612
|
+
}[] | null | undefined;
|
|
613
|
+
}, {
|
|
614
|
+
id: string;
|
|
615
|
+
title: string;
|
|
616
|
+
content: string;
|
|
617
|
+
summary: string;
|
|
618
|
+
images: {
|
|
619
|
+
id: string;
|
|
620
|
+
type: string;
|
|
621
|
+
}[];
|
|
622
|
+
categories: {
|
|
623
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
624
|
+
title: string;
|
|
625
|
+
}[];
|
|
626
|
+
tags: {
|
|
627
|
+
id: string;
|
|
628
|
+
}[];
|
|
629
|
+
metadata: {
|
|
630
|
+
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";
|
|
631
|
+
value?: any;
|
|
632
|
+
}[];
|
|
633
|
+
user: {
|
|
634
|
+
id: string;
|
|
635
|
+
profile: {
|
|
636
|
+
id: string | null;
|
|
637
|
+
username: string | null;
|
|
638
|
+
bio: string | null;
|
|
639
|
+
links: {
|
|
640
|
+
website: string | null;
|
|
641
|
+
twitter: string | null;
|
|
642
|
+
instagram: string | null;
|
|
643
|
+
}[] | null;
|
|
644
|
+
banner: string | null;
|
|
645
|
+
avatar: string | null;
|
|
646
|
+
} | null;
|
|
647
|
+
};
|
|
648
|
+
author: {
|
|
649
|
+
id: string;
|
|
650
|
+
profile: {
|
|
651
|
+
id: string | null;
|
|
652
|
+
username: string | null;
|
|
653
|
+
bio: string | null;
|
|
654
|
+
links: {
|
|
655
|
+
website: string | null;
|
|
656
|
+
twitter: string | null;
|
|
657
|
+
instagram: string | null;
|
|
658
|
+
}[] | null;
|
|
659
|
+
banner: string | null;
|
|
660
|
+
avatar: string | null;
|
|
661
|
+
} | null;
|
|
662
|
+
};
|
|
663
|
+
ipfs?: string | undefined;
|
|
664
|
+
media?: {
|
|
665
|
+
id: string;
|
|
666
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
667
|
+
size?: string | null | undefined;
|
|
668
|
+
name?: string | null | undefined;
|
|
669
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
670
|
+
caption?: string | null | undefined;
|
|
671
|
+
thumbnail?: string | null | undefined;
|
|
672
|
+
}[] | undefined;
|
|
673
|
+
events?: {
|
|
674
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
675
|
+
date: string | null;
|
|
676
|
+
id?: string | null | undefined;
|
|
677
|
+
title?: string | null | undefined;
|
|
678
|
+
description?: string | null | undefined;
|
|
679
|
+
link?: string | null | undefined;
|
|
680
|
+
multiDateStart?: string | null | undefined;
|
|
681
|
+
multiDateEnd?: string | null | undefined;
|
|
682
|
+
continent?: string | null | undefined;
|
|
683
|
+
country?: string | null | undefined;
|
|
684
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
685
|
+
}[] | null | undefined;
|
|
686
|
+
language?: "en" | "es" | "zh" | "ko" | undefined;
|
|
687
|
+
version?: number | undefined;
|
|
688
|
+
hidden?: boolean | undefined;
|
|
689
|
+
promoted?: number | undefined;
|
|
690
|
+
views?: number | undefined;
|
|
691
|
+
linkedWikis?: {
|
|
692
|
+
founders?: string[] | null | undefined;
|
|
693
|
+
blockchains?: string[] | null | undefined;
|
|
694
|
+
speakers?: string[] | null | undefined;
|
|
695
|
+
} | null | undefined;
|
|
696
|
+
founderWikis?: {
|
|
697
|
+
id: string;
|
|
698
|
+
title: string;
|
|
699
|
+
}[] | undefined;
|
|
700
|
+
blockchainWikis?: {
|
|
701
|
+
id: string;
|
|
702
|
+
title: string;
|
|
703
|
+
}[] | undefined;
|
|
704
|
+
}>, {
|
|
705
|
+
id: string;
|
|
706
|
+
title: string;
|
|
707
|
+
content: string;
|
|
708
|
+
summary: string;
|
|
709
|
+
images: {
|
|
710
|
+
id: string;
|
|
711
|
+
type: string;
|
|
712
|
+
}[];
|
|
713
|
+
categories: {
|
|
714
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
715
|
+
title: string;
|
|
716
|
+
}[];
|
|
717
|
+
tags: {
|
|
718
|
+
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";
|
|
719
|
+
}[];
|
|
720
|
+
metadata: {
|
|
721
|
+
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";
|
|
722
|
+
value?: any;
|
|
723
|
+
}[];
|
|
724
|
+
user: {
|
|
725
|
+
id: string;
|
|
726
|
+
profile: {
|
|
727
|
+
id: string | null;
|
|
728
|
+
username: string | null;
|
|
729
|
+
bio: string | null;
|
|
730
|
+
links: {
|
|
731
|
+
website: string | null;
|
|
732
|
+
twitter: string | null;
|
|
733
|
+
instagram: string | null;
|
|
734
|
+
}[] | null;
|
|
735
|
+
banner: string | null;
|
|
736
|
+
avatar: string | null;
|
|
737
|
+
} | null;
|
|
738
|
+
};
|
|
739
|
+
author: {
|
|
740
|
+
id: string;
|
|
741
|
+
profile: {
|
|
742
|
+
id: string | null;
|
|
743
|
+
username: string | null;
|
|
744
|
+
bio: string | null;
|
|
745
|
+
links: {
|
|
746
|
+
website: string | null;
|
|
747
|
+
twitter: string | null;
|
|
748
|
+
instagram: string | null;
|
|
749
|
+
}[] | null;
|
|
750
|
+
banner: string | null;
|
|
751
|
+
avatar: string | null;
|
|
752
|
+
} | null;
|
|
753
|
+
};
|
|
754
|
+
language: "en" | "es" | "zh" | "ko";
|
|
755
|
+
version: number;
|
|
756
|
+
hidden: boolean;
|
|
757
|
+
promoted: number;
|
|
758
|
+
views: number;
|
|
759
|
+
linkedWikis: {
|
|
760
|
+
founders?: string[] | null | undefined;
|
|
761
|
+
blockchains?: string[] | null | undefined;
|
|
762
|
+
speakers?: string[] | null | undefined;
|
|
763
|
+
} | null;
|
|
764
|
+
founderWikis: {
|
|
765
|
+
id: string;
|
|
766
|
+
title: string;
|
|
767
|
+
}[];
|
|
768
|
+
blockchainWikis: {
|
|
769
|
+
id: string;
|
|
770
|
+
title: string;
|
|
771
|
+
}[];
|
|
772
|
+
ipfs?: string | undefined;
|
|
773
|
+
media?: {
|
|
774
|
+
id: string;
|
|
775
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
776
|
+
size?: string | null | undefined;
|
|
777
|
+
name?: string | null | undefined;
|
|
778
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
779
|
+
caption?: string | null | undefined;
|
|
780
|
+
thumbnail?: string | null | undefined;
|
|
781
|
+
}[] | undefined;
|
|
782
|
+
events?: {
|
|
783
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
784
|
+
date: string | null;
|
|
785
|
+
id?: string | null | undefined;
|
|
786
|
+
title?: string | null | undefined;
|
|
787
|
+
description?: string | null | undefined;
|
|
788
|
+
link?: string | null | undefined;
|
|
789
|
+
multiDateStart?: string | null | undefined;
|
|
790
|
+
multiDateEnd?: string | null | undefined;
|
|
791
|
+
continent?: string | null | undefined;
|
|
792
|
+
country?: string | null | undefined;
|
|
793
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
794
|
+
}[] | null | undefined;
|
|
795
|
+
}, {
|
|
796
|
+
id: string;
|
|
797
|
+
title: string;
|
|
798
|
+
content: string;
|
|
799
|
+
summary: string;
|
|
800
|
+
images: {
|
|
801
|
+
id: string;
|
|
802
|
+
type: string;
|
|
803
|
+
}[];
|
|
804
|
+
categories: {
|
|
805
|
+
id: "nfts" | "defi" | "exchanges" | "cryptocurrencies" | "daos" | "people" | "dapps" | "organizations";
|
|
806
|
+
title: string;
|
|
807
|
+
}[];
|
|
808
|
+
tags: {
|
|
809
|
+
id: string;
|
|
810
|
+
}[];
|
|
811
|
+
metadata: {
|
|
812
|
+
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";
|
|
813
|
+
value?: any;
|
|
814
|
+
}[];
|
|
815
|
+
user: {
|
|
816
|
+
id: string;
|
|
817
|
+
profile: {
|
|
818
|
+
id: string | null;
|
|
819
|
+
username: string | null;
|
|
820
|
+
bio: string | null;
|
|
821
|
+
links: {
|
|
822
|
+
website: string | null;
|
|
823
|
+
twitter: string | null;
|
|
824
|
+
instagram: string | null;
|
|
825
|
+
}[] | null;
|
|
826
|
+
banner: string | null;
|
|
827
|
+
avatar: string | null;
|
|
828
|
+
} | null;
|
|
829
|
+
};
|
|
830
|
+
author: {
|
|
831
|
+
id: string;
|
|
832
|
+
profile: {
|
|
833
|
+
id: string | null;
|
|
834
|
+
username: string | null;
|
|
835
|
+
bio: string | null;
|
|
836
|
+
links: {
|
|
837
|
+
website: string | null;
|
|
838
|
+
twitter: string | null;
|
|
839
|
+
instagram: string | null;
|
|
840
|
+
}[] | null;
|
|
841
|
+
banner: string | null;
|
|
842
|
+
avatar: string | null;
|
|
843
|
+
} | null;
|
|
844
|
+
};
|
|
845
|
+
ipfs?: string | undefined;
|
|
846
|
+
media?: {
|
|
847
|
+
id: string;
|
|
848
|
+
source: "IPFS_IMG" | "VIMEO" | "YOUTUBE" | "IPFS_VID";
|
|
849
|
+
size?: string | null | undefined;
|
|
850
|
+
name?: string | null | undefined;
|
|
851
|
+
type?: "GALLERY" | "ICON" | null | undefined;
|
|
852
|
+
caption?: string | null | undefined;
|
|
853
|
+
thumbnail?: string | null | undefined;
|
|
854
|
+
}[] | undefined;
|
|
855
|
+
events?: {
|
|
856
|
+
type: "CREATED" | "DEFAULT" | "MULTIDATE" | null;
|
|
857
|
+
date: string | null;
|
|
858
|
+
id?: string | null | undefined;
|
|
859
|
+
title?: string | null | undefined;
|
|
860
|
+
description?: string | null | undefined;
|
|
861
|
+
link?: string | null | undefined;
|
|
862
|
+
multiDateStart?: string | null | undefined;
|
|
863
|
+
multiDateEnd?: string | null | undefined;
|
|
864
|
+
continent?: string | null | undefined;
|
|
865
|
+
country?: string | null | undefined;
|
|
866
|
+
action?: "DELETE" | "EDIT" | "CREATE" | null | undefined;
|
|
867
|
+
}[] | null | undefined;
|
|
868
|
+
language?: "en" | "es" | "zh" | "ko" | undefined;
|
|
869
|
+
version?: number | undefined;
|
|
870
|
+
hidden?: boolean | undefined;
|
|
871
|
+
promoted?: number | undefined;
|
|
872
|
+
views?: number | undefined;
|
|
873
|
+
linkedWikis?: {
|
|
874
|
+
founders?: string[] | null | undefined;
|
|
875
|
+
blockchains?: string[] | null | undefined;
|
|
876
|
+
speakers?: string[] | null | undefined;
|
|
877
|
+
} | null | undefined;
|
|
878
|
+
founderWikis?: {
|
|
879
|
+
id: string;
|
|
880
|
+
title: string;
|
|
881
|
+
}[] | undefined;
|
|
882
|
+
blockchainWikis?: {
|
|
883
|
+
id: string;
|
|
884
|
+
title: string;
|
|
885
|
+
}[] | undefined;
|
|
886
|
+
}>;
|
|
887
|
+
type Wiki = z.infer<typeof Wiki>;
|
|
888
|
+
declare const Reference: z.ZodObject<{
|
|
889
|
+
id: z.ZodString;
|
|
890
|
+
description: z.ZodString;
|
|
891
|
+
timestamp: z.ZodNumber;
|
|
892
|
+
url: z.ZodString;
|
|
893
|
+
}, "strip", z.ZodTypeAny, {
|
|
894
|
+
id: string;
|
|
895
|
+
description: string;
|
|
896
|
+
timestamp: number;
|
|
897
|
+
url: string;
|
|
898
|
+
}, {
|
|
899
|
+
id: string;
|
|
900
|
+
description: string;
|
|
901
|
+
timestamp: number;
|
|
902
|
+
url: string;
|
|
903
|
+
}>;
|
|
904
|
+
type Reference = z.infer<typeof Reference>;
|
|
905
|
+
|
|
906
|
+
declare const calculateWikiScore: (wiki: Wiki) => number;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Counts the number of words in a given string.
|
|
910
|
+
* @param text - The input string to count words from.
|
|
911
|
+
* @returns The number of words in the string.
|
|
912
|
+
*/
|
|
913
|
+
declare const countWords: (text: string) => number;
|
|
914
|
+
/**
|
|
915
|
+
* Checks if a given string is a valid URL.
|
|
916
|
+
* @param urlString - The string to check.
|
|
917
|
+
* @returns True if the string is a valid URL, false otherwise.
|
|
918
|
+
*/
|
|
919
|
+
declare const isValidUrl: (urlString: string) => boolean;
|
|
920
|
+
/**
|
|
921
|
+
* Checks if all content links in the given text are verified.
|
|
922
|
+
* @param content - The content to check for links.
|
|
923
|
+
* @returns True if all links are verified, false otherwise.
|
|
924
|
+
*/
|
|
925
|
+
declare const areContentLinksVerified: (content: string) => boolean;
|
|
926
|
+
/**
|
|
927
|
+
* Checks if the media in the wiki is valid.
|
|
928
|
+
* @param wiki - The wiki object to check.
|
|
929
|
+
* @returns True if the media is valid, false otherwise.
|
|
930
|
+
*/
|
|
931
|
+
declare const isMediaValid: (wiki: Wiki) => boolean;
|
|
932
|
+
/**
|
|
933
|
+
* Checks if any media in the wiki is still uploading.
|
|
934
|
+
* @param wiki - The wiki object to check.
|
|
935
|
+
* @returns True if any media is still uploading, false otherwise.
|
|
936
|
+
*/
|
|
937
|
+
declare const isAnyMediaUploading: (wiki: Wiki) => boolean;
|
|
938
|
+
/**
|
|
939
|
+
* Checks if the event URL is missing for an event wiki.
|
|
940
|
+
* @param wiki - The wiki object to check.
|
|
941
|
+
* @returns True if the event URL is missing, false otherwise.
|
|
942
|
+
*/
|
|
943
|
+
declare const isEventUrlMissing: (wiki: Wiki) => boolean;
|
|
944
|
+
/**
|
|
945
|
+
* Checks if the event date is missing for an event wiki.
|
|
946
|
+
* @param wiki - The wiki object to check.
|
|
947
|
+
* @returns True if the event date is missing, false otherwise.
|
|
948
|
+
*/
|
|
949
|
+
declare const isEventDateMissing: (wiki: Wiki) => boolean;
|
|
950
|
+
/**
|
|
951
|
+
* Checks if the wiki summary exceeds the maximum length.
|
|
952
|
+
* @param wiki - The wiki object to check.
|
|
953
|
+
* @returns True if the summary exceeds the limit, false otherwise.
|
|
954
|
+
*/
|
|
955
|
+
declare const isSummaryTooLong: (wiki: Wiki) => boolean;
|
|
956
|
+
/**
|
|
957
|
+
* Checks if the wiki has no citations.
|
|
958
|
+
* @param wiki - The wiki object to check.
|
|
959
|
+
* @returns True if there are no citations, false otherwise.
|
|
960
|
+
*/
|
|
961
|
+
declare const hasNoCitations: (wiki: Wiki) => boolean;
|
|
962
|
+
/**
|
|
963
|
+
* Validates a wiki object and returns the validation result.
|
|
964
|
+
* @param wiki - The wiki object to validate.
|
|
965
|
+
* @returns An object containing the validation result and an error message if applicable.
|
|
966
|
+
*/
|
|
967
|
+
declare const validateWiki: (wiki: Wiki) => {
|
|
968
|
+
isValid: boolean;
|
|
969
|
+
error: string;
|
|
970
|
+
} | {
|
|
971
|
+
isValid: boolean;
|
|
972
|
+
error?: undefined;
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
declare const WIKI_SUMMARY_MAX_LENGTH = 255;
|
|
976
|
+
declare const WIKI_CONTENT_MIN_WORDS = 100;
|
|
977
|
+
declare const WIKI_TITLE_MAX_LENGTH = 60;
|
|
978
|
+
declare const MEDIA_UPLOAD_PENDING_SUFFIX = "default";
|
|
979
|
+
declare const MAX_MEDIA_COUNT = 25;
|
|
980
|
+
declare const IPFS_HASH_LENGTH = 46;
|
|
981
|
+
declare const EditorContentOverride = "%OVERRIDE@EDITOR@MARKDOWN%";
|
|
982
|
+
declare const CreateNewWikiSlug = "/*CREATE+NEW+WIKI*/";
|
|
983
|
+
declare const MIN_CONTENT_WORD_COUNT = 10;
|
|
984
|
+
declare const GOOD_CONTENT_WORD_COUNT = 500;
|
|
985
|
+
declare const IDEAL_CONTENT_WORD_COUNT = 1500;
|
|
986
|
+
declare const CONTENT_SCORE_WEIGHT = 0.8;
|
|
987
|
+
declare const INTERNAL_LINKS_SCORE_WEIGHT = 0.5;
|
|
988
|
+
declare const CITATIONS_SCORE_WEIGHT = 0.5;
|
|
989
|
+
declare const MEDIA_SCORE_WEIGHT = 0.3;
|
|
990
|
+
declare const TAGS_SCORE_WEIGHT = 0.3;
|
|
991
|
+
declare const SUMMARY_SCORE_WEIGHT = 0.5;
|
|
992
|
+
declare const SOCIAL_SCORE_WEIGHT = 0.5;
|
|
993
|
+
declare const IDEAL_INTERNAL_LINKS_COUNT = 10;
|
|
994
|
+
declare const IDEAL_CITATIONS_COUNT = 10;
|
|
995
|
+
declare const IDEAL_MEDIA_COUNT = 5;
|
|
996
|
+
declare const IDEAL_TAGS_COUNT = 3;
|
|
997
|
+
declare const IDEAL_SUMMARY_LENGTH = 100;
|
|
998
|
+
declare const IDEAL_SOCIAL_MEDIA_COUNT = 4;
|
|
999
|
+
declare const WHITELISTED_DOMAINS: string[];
|
|
1000
|
+
declare const WHITELISTED_LINK_NAMES: string[];
|
|
1001
|
+
|
|
1002
|
+
export { BaseCategory, BaseEvents, CITATIONS_SCORE_WEIGHT, CONTENT_SCORE_WEIGHT, Category, CommonMetaIds, CreateNewWikiSlug, EditSpecificMetaIds, EditorContentOverride, EventType, GOOD_CONTENT_WORD_COUNT, IDEAL_CITATIONS_COUNT, IDEAL_CONTENT_WORD_COUNT, IDEAL_INTERNAL_LINKS_COUNT, IDEAL_MEDIA_COUNT, IDEAL_SOCIAL_MEDIA_COUNT, IDEAL_SUMMARY_LENGTH, IDEAL_TAGS_COUNT, INTERNAL_LINKS_SCORE_WEIGHT, IPFS_HASH_LENGTH, Image, LanguagesISO, LinkedWikiKey, MAX_MEDIA_COUNT, MEDIA_SCORE_WEIGHT, MEDIA_UPLOAD_PENDING_SUFFIX, MIN_CONTENT_WORD_COUNT, Media, MediaSource, MediaType, MetaData, ProfileData, ProfileLinks, Reference, SOCIAL_SCORE_WEIGHT, SUMMARY_SCORE_WEIGHT, TAGS_SCORE_WEIGHT, Tag, ValidatorCodes, WHITELISTED_DOMAINS, WHITELISTED_LINK_NAMES, WIKI_CONTENT_MIN_WORDS, WIKI_SUMMARY_MAX_LENGTH, WIKI_TITLE_MAX_LENGTH, Wiki, WikiReference, areContentLinksVerified, calculateWikiScore, countWords, hasNoCitations, isAnyMediaUploading, isEventDateMissing, isEventUrlMissing, isMediaValid, isSummaryTooLong, isValidUrl, validateWiki };
|