mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Add sitelink object
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import { WikidataSite } from "wikidata-sdk";
|
||||
|
||||
export type WikidataSiteLink = { [Key in WikidataSite]: { site: Key; title: string; badges: string[] } };
|
||||
|
||||
export type WikidataSiteLinkSimplify = { [key in WikidataSite]: string };
|
||||
|
||||
export type WikidataSiteLinkWithUrlSimplify = {
|
||||
[key in WikidataSite]: {
|
||||
title: string;
|
||||
url: string;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user