-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T350879: Special Property: Item (#513)
* Special Property Item * Run without Pause * Iterate * Iterate Await * Unused * Just * Types * Notes
- Loading branch information
1 parent
d7ff487
commit ab8e626
Showing
3 changed files
with
77 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type WikibasePropertyType = { | ||
name: string; | ||
urlName: string; | ||
}; | ||
|
||
export default WikibasePropertyType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import WikibasePropertyType from './types/wikibase-property-type.js'; | ||
|
||
export const wikibasePropertyItem: WikibasePropertyType = { | ||
name: 'Item', | ||
urlName: 'wikibase-item' | ||
}; | ||
export const wikibasePropertyString: WikibasePropertyType = { | ||
name: 'String', | ||
urlName: 'string' | ||
}; | ||
|
||
// OTHER TYPES: | ||
// 'Commons media file', | ||
// 'EDTF Date/Time', | ||
// 'Entity Schema', | ||
// 'External identifier', | ||
// 'Geographic coordinates', | ||
// 'Geographic shape', | ||
// 'Media file', | ||
// 'Monolingual text', | ||
// 'Point in time', | ||
// 'Property', | ||
// 'Quantity', | ||
// 'Tabular data', | ||
// 'URL' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters