Skip to content

Commit

Permalink
fix: add type attribute in assethistory
Browse files Browse the repository at this point in the history
  • Loading branch information
nichonien committed Jan 6, 2023
1 parent 59cb1eb commit 0cd2c73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/api/interfaces/modules_assets.AssetHistory.md
Expand Up @@ -12,6 +12,7 @@
- [id](modules_assets.AssetHistory.md#id)
- [relatedTo](modules_assets.AssetHistory.md#relatedto)
- [timestamp](modules_assets.AssetHistory.md#timestamp)
- [type](modules_assets.AssetHistory.md#type)

## Properties

Expand Down Expand Up @@ -48,3 +49,9 @@ ___
### timestamp

**timestamp**: `string`

___

### type

**type**: [`AssetHistoryEventType`](../enums/modules_assets.AssetHistoryEventType.md)
1 change: 1 addition & 0 deletions src/modules/assets/assets.types.ts
Expand Up @@ -17,6 +17,7 @@ export interface AssetHistory {
at: number;
timestamp: string;
assetId?: string;
type: AssetHistoryEventType;
}

export enum AssetHistoryEventType {
Expand Down

0 comments on commit 0cd2c73

Please sign in to comment.