Skip to content

Commit

Permalink
docs: add information about changed sc-event types
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaZotov committed Sep 24, 2024
1 parent 9924b9b commit 614b3a4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
| eventsDestroy | destroyElementaryEventSubscriptions |
| findKeynodes | searchKeynodes |

- `ScEvent` class was renamed to `ScEventSubscription` and `ScEventParams` class was renamed to `ScEventSubscriptionParams`.
- `ScEvent` class was renamed to `ScEventSubscription`, `ScEventParams` class was renamed to `ScEventSubscriptionParams`, and sc-event types in `ScEventType` were changed according the table below.

| Removed sc-event type | Substitution sc-event type |
|------------------------|-----------------------------|
| AddOutgoingEdge | AfterGenerateOutgoingArc |
| AddIngoingEdge | AfterGenerateIncomingArc |
| RemoveOutgoingEdge | BeforeEraseOutgoingArc |
| RemoveIngoingEdge | BeforeEraseIncomingArc |
| RemoveElement | BeforeEraseElement |
| ChangeContent | BeforeChangeLinkContent |

New sc-event types: `AfterGenerateConnector`, `AfterGenerateEdge`, `BeforeEraseConnector`, `BeforeEraseEdge` were added.

### Added
- sc-event types: `AfterGenerateConnector`, `AfterGenerateOutgoingArc`, `AfterGenerateIncomingArc`, `AfterGenerateEdge`, `BeforeEraseConnector`, `BeforeEraseOutgoingArc`, `BeforeEraseIncomingArc`, `BeforeEraseEdge`, `BeforeEraseElement`, `BeforeChangeLinkContent`
- ScClient methods: `getElementTypes`, `generateElements`, `generateNode`, `generateLink`, `generateConnector`, `generateElementsBySCs`, `eraseElements`, `searchLinksByContents`, `searchLinksByContentSubstrings`, `searchLinkContentsByContentSubstrings`, `searchByTemplate`, `generateByTemplate`, `quintuple`, `createElementaryEventSubscriptions`, `destroyElementaryEventSubscriptions`, `searchKeynodes`

### Changed
Expand All @@ -39,6 +51,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
- ScClient methods: `checkElements`, `createElements`, `createNode`, `createLink`, `createEdge`, `createElementsBySCs`, `deleteElements`, `getLinksByContents`, `getLinksByContentSubstrings`, `getLinksContentsByContentSubstrings`, `templateSearch`, `templateGenerate`, `tripleWithRelation`, `eventsCreate`, `eventsDestroy`, `findKeynodes`

### Removed
- sc-event types: `AddOutgoingEdge`, `AddIngoingEdge`, `RemoveOutgoingEdge`, `RemoveIngoingEdge`, `RemoveElement`, `ChangeContent`

## [v0.4.2]
### Fixed

Expand Down

0 comments on commit 614b3a4

Please sign in to comment.