Skip to content

Commit 4b76384

Browse files
committed
added wiki commons entities
1 parent d4caf3f commit 4b76384

7 files changed

Lines changed: 2730 additions & 746 deletions

File tree

LabelLanguages.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export type LabelLanguages = 'aa' |
88
'aeb-arab' |
99
'aeb-latn' |
1010
'af' |
11+
'agq' |
1112
'ak' |
1213
'aln' |
1314
'als' |
@@ -52,6 +53,7 @@ export type LabelLanguages = 'aa' |
5253
'bho' |
5354
'bi' |
5455
'bjn' |
56+
'blk' |
5557
'bm' |
5658
'bn' |
5759
'bo' |
@@ -120,20 +122,23 @@ export type LabelLanguages = 'aa' |
120122
'fj' |
121123
'fkv' |
122124
'fo' |
125+
'fon' |
123126
'fr' |
124127
'frc' |
125128
'frp' |
126129
'frr' |
127130
'fur' |
128131
'fy' |
129132
'ga' |
133+
'gaa' |
130134
'gag' |
131135
'gan' |
132136
'gan-hans' |
133137
'gan-hant' |
134138
'gcr' |
135139
'gd' |
136140
'gl' |
141+
'gld' |
137142
'glk' |
138143
'gn' |
139144
'gom' |
@@ -145,6 +150,7 @@ export type LabelLanguages = 'aa' |
145150
'gsw' |
146151
'gu' |
147152
'guc' |
153+
'gur' |
148154
'guw' |
149155
'gv' |
150156
'ha' |
@@ -159,6 +165,7 @@ export type LabelLanguages = 'aa' |
159165
'hr' |
160166
'hrx' |
161167
'hsb' |
168+
'hsn' |
162169
'ht' |
163170
'hu' |
164171
'hu-formal' |
@@ -220,6 +227,7 @@ export type LabelLanguages = 'aa' |
220227
'ks-arab' |
221228
'ks-deva' |
222229
'ksh' |
230+
'ksw' |
223231
'ku' |
224232
'ku-arab' |
225233
'ku-latn' |
@@ -254,6 +262,7 @@ export type LabelLanguages = 'aa' |
254262
'mad' |
255263
'mai' |
256264
'map-bms' |
265+
'mcn' |
257266
'mdf' |
258267
'mg' |
259268
'mh' |
@@ -291,6 +300,7 @@ export type LabelLanguages = 'aa' |
291300
'niu' |
292301
'nl' |
293302
'nl-informal' |
303+
'nmz' |
294304
'nn' |
295305
'no' |
296306
'nod' |
@@ -300,6 +310,7 @@ export type LabelLanguages = 'aa' |
300310
'nso' |
301311
'nv' |
302312
'ny' |
313+
'nyn' |
303314
'nys' |
304315
'oc' |
305316
'ojb' |
@@ -357,6 +368,9 @@ export type LabelLanguages = 'aa' |
357368
'sdc' |
358369
'sdh' |
359370
'se' |
371+
'se-fi' |
372+
'se-no' |
373+
'se-se' |
360374
'sei' |
361375
'ses' |
362376
'sg' |
@@ -444,6 +458,7 @@ export type LabelLanguages = 'aa' |
444458
'vi' |
445459
'vls' |
446460
'vmf' |
461+
'vmw' |
447462
'vo' |
448463
'vot' |
449464
'vro' |
@@ -458,6 +473,7 @@ export type LabelLanguages = 'aa' |
458473
'xsy' |
459474
'yi' |
460475
'yo' |
476+
'yrl' |
461477
'yue' |
462478
'za' |
463479
'zea' |

MonolingualLanguages.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export type MonolingualLanguages = 'aa' |
88
'aeb-arab' |
99
'aeb-latn' |
1010
'af' |
11+
'agq' |
1112
'ak' |
1213
'aln' |
1314
'als' |
@@ -50,6 +51,7 @@ export type MonolingualLanguages = 'aa' |
5051
'bho' |
5152
'bi' |
5253
'bjn' |
54+
'blk' |
5355
'bm' |
5456
'bn' |
5557
'bo' |
@@ -115,20 +117,23 @@ export type MonolingualLanguages = 'aa' |
115117
'fj' |
116118
'fkv' |
117119
'fo' |
120+
'fon' |
118121
'fr' |
119122
'frc' |
120123
'frp' |
121124
'frr' |
122125
'fur' |
123126
'fy' |
124127
'ga' |
128+
'gaa' |
125129
'gag' |
126130
'gan' |
127131
'gan-hans' |
128132
'gan-hant' |
129133
'gcr' |
130134
'gd' |
131135
'gl' |
136+
'gld' |
132137
'glk' |
133138
'gn' |
134139
'gom' |
@@ -140,6 +145,7 @@ export type MonolingualLanguages = 'aa' |
140145
'gsw' |
141146
'gu' |
142147
'guc' |
148+
'gur' |
143149
'guw' |
144150
'gv' |
145151
'ha' |
@@ -154,6 +160,7 @@ export type MonolingualLanguages = 'aa' |
154160
'hr' |
155161
'hrx' |
156162
'hsb' |
163+
'hsn' |
157164
'ht' |
158165
'hu' |
159166
'hy' |
@@ -214,6 +221,7 @@ export type MonolingualLanguages = 'aa' |
214221
'ks-arab' |
215222
'ks-deva' |
216223
'ksh' |
224+
'ksw' |
217225
'ku' |
218226
'ku-arab' |
219227
'ku-latn' |
@@ -248,6 +256,7 @@ export type MonolingualLanguages = 'aa' |
248256
'mad' |
249257
'mai' |
250258
'map-bms' |
259+
'mcn' |
251260
'mdf' |
252261
'mg' |
253262
'mh' |
@@ -284,6 +293,7 @@ export type MonolingualLanguages = 'aa' |
284293
'nia' |
285294
'niu' |
286295
'nl' |
296+
'nmz' |
287297
'nn' |
288298
'no' |
289299
'nod' |
@@ -293,6 +303,7 @@ export type MonolingualLanguages = 'aa' |
293303
'nso' |
294304
'nv' |
295305
'ny' |
306+
'nyn' |
296307
'nys' |
297308
'oc' |
298309
'ojb' |
@@ -349,6 +360,9 @@ export type MonolingualLanguages = 'aa' |
349360
'sdc' |
350361
'sdh' |
351362
'se' |
363+
'se-fi' |
364+
'se-no' |
365+
'se-se' |
352366
'sei' |
353367
'ses' |
354368
'sg' |
@@ -435,6 +449,7 @@ export type MonolingualLanguages = 'aa' |
435449
'vi' |
436450
'vls' |
437451
'vmf' |
452+
'vmw' |
438453
'vo' |
439454
'vot' |
440455
'vro' |
@@ -449,6 +464,7 @@ export type MonolingualLanguages = 'aa' |
449464
'xsy' |
450465
'yi' |
451466
'yo' |
467+
'yrl' |
452468
'yue' |
453469
'za' |
454470
'zea' |

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Typescript definitions for the Wikibase DataModel expressed as flat JS objects,
44
as returned and accepted by Wikibase APIs like wbgetentities or wbeditentity.
55

66
## Scope
7-
8-
For now, the definitions in this repository are very limited.
9-
Feel free to send pull requests for other data (value) types.
7+
- it supports all the features of wikidata items and properties
8+
- it has partial support for commons structured data
9+
- lexemes and senses are currently not Supported
10+
- additional information returned by the Wikimedia API is not modelled

0 commit comments

Comments
 (0)