Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
feat: references prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Kloubert committed Jan 31, 2024
1 parent 3c72c85 commit a7275ee
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log (@egomobile/documentation)

## 0.2.0

- add `references` props to `IDependencyInformation`, `IDependencyInformationEntity` and `IDependencyInformationEntityAttribute`

## 0.1.1

- [not released yet]
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egomobile/documentation",
"version": "0.1.1",
"version": "0.2.0",
"description": "Tools for documenting (TypeScript) code.",
"main": "lib/index.js",
"engines": {
Expand Down
12 changes: 12 additions & 0 deletions src/decorators/DependsOn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ export interface IDependencyInformation {
* Optional entities for this app.
*/
entities?: Nilable<DependencyInformationEntities>;
/**
* An optional list of references. Should be handled as URIs.
*/
references?: Nilable<string[]>;
/**
* Optional notes/remarks for this app. Should be handled as Markdown, if possible.
*/
Expand Down Expand Up @@ -141,6 +145,10 @@ export interface IDependencyInformationEntity {
* The unique key. Value should be handled case-insensitive.
*/
key: ReferenceValue;
/**
* An optional list of references. Should be handled as URIs.
*/
references?: Nilable<string[]>;
/**
* Optional notes/remarks for this entity. Should be handled as Markdown, if possible.
*/
Expand Down Expand Up @@ -177,6 +185,10 @@ export interface IDependencyInformationEntityAttribute {
* The unique key. Value should be handled as slug value, case-insensitive.
*/
key: ReferenceValue;
/**
* An optional list of references. Should be handled as URIs.
*/
references?: Nilable<string[]>;
/**
* Optional notes/remarks for this attribute. Should be handled as Markdown, if possible.
*/
Expand Down

0 comments on commit a7275ee

Please sign in to comment.