Page MenuHomePhabricator

Use WikibaseDataModelTypes instead of local Wikibase data model TS definitions
Open, Needs TriagePublic

Description

Since June 2020 there is a centralized place for TypeScript interfaces and other definitions for general Wikibase code (e. g. Statement, Snak) - WikibaseDataModelTypes
Use that (published on npm under @wmde/wikibase-datamodel-types) instead of the definitions in src/datamodel.
If something is missing, please feel free to send pull requests to the GitHub repo for other types.

Note: This package is already consumed in Data Bridge. See https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/599902

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 11 2020, 1:19 PM

Change 609750 had a related patch set uploaded (by Guergana Tzatchkova; owner: Guergana Tzatchkova):
[wikibase/termbox@master] WikibaseDataModelTypes instead of local Wikibase

https://gerrit.wikimedia.org/r/609750

Change 609740 had a related patch set uploaded (by Guergana Tzatchkova; owner: Guergana Tzatchkova):
[wikibase/termbox@master] WikibaseDataModelTypes instead of local Wikibase

https://gerrit.wikimedia.org/r/609740

Change 609750 abandoned by Guergana Tzatchkova:
[wikibase/termbox@master] WikibaseDataModelTypes instead of local Wikibase

Reason:
squashed

https://gerrit.wikimedia.org/r/609750

Change 609740 merged by jenkins-bot:
[wikibase/termbox@master] WikibaseDataModelTypes instead of local Wikibase

https://gerrit.wikimedia.org/r/609740