-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: polaris logs properties update (#88)
* fix: fix polaris log properties types and structure * refactor: cr fixes Co-authored-by: Enigmatis <>
- Loading branch information
Showing
6 changed files
with
22 additions
and
10 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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
import { CentralPoint } from './central-point'; | ||
import { Identifiable } from './identifiable'; | ||
import { Reality } from './reality'; | ||
import { SubEntity } from './sub-entity'; | ||
import { JsonObject } from './json-object'; | ||
|
||
export interface Entity { | ||
id: string; | ||
reality?: Reality; | ||
name?: string; | ||
secondaryIds?: Record<string, any>[]; | ||
operationalData?: Record<string, any>[]; | ||
secondaryIds?: JsonObject; | ||
operationalData?: JsonObject; | ||
correlationIds?: Identifiable[]; | ||
subEntities?: SubEntity[]; | ||
criticalFields?: Record<string, any>[]; | ||
criticalFields?: JsonObject; | ||
centralPoint?: CentralPoint; | ||
} |
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import { JsonObject } from './json-object'; | ||
|
||
export interface GroupId { | ||
id: string; | ||
name?: string; | ||
secondaryIds?: Record<string, any>[]; | ||
secondaryIds?: JsonObject; | ||
action: string; | ||
} |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import { JsonObject } from './json-object'; | ||
|
||
export interface Identifiable { | ||
id: string; | ||
name?: string; | ||
secondaryIds?: Record<string, any>[]; | ||
secondaryIds?: JsonObject; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface JsonObject { | ||
[property: string]: any; | ||
} |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { CentralPoint } from './central-point'; | ||
import { JsonObject } from './json-object'; | ||
|
||
export interface SubEntity { | ||
id: string; | ||
name?: string; | ||
secondaryIds?: Record<string, any>[]; | ||
operationalData?: Record<string, any>[]; | ||
criticalFields?: Record<string, any>[]; | ||
secondaryIds?: JsonObject; | ||
operationalData?: JsonObject; | ||
criticalFields?: JsonObject; | ||
centralPoint?: CentralPoint; | ||
} |