-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced types + add scope context functionality + add variable typ…
…es + comments
- Loading branch information
Showing
7 changed files
with
230 additions
and
95 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
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
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
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
18 changes: 18 additions & 0 deletions
18
packages/oslo-generator-jsonld-context/lib/types/ClassMetadata.ts
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,18 @@ | ||
import type * as RDF from '@rdfjs/types'; | ||
|
||
export interface ClassMetadata { | ||
/** | ||
* The unique identifier of a class | ||
*/ | ||
osloId: RDF.NamedNode; | ||
|
||
/** | ||
* The assigned URI of a class and not necessarily unique | ||
*/ | ||
assignedURI: RDF.NamedNode; | ||
|
||
/** | ||
* The label of the class | ||
*/ | ||
label: RDF.Literal; | ||
} |
Oops, something went wrong.