Skip to content

Commit

Permalink
feat(core): move connection notes to keria (#784)
Browse files Browse the repository at this point in the history
* feat: move connection notes to KERIA

* feat: update notificationStorage.test.ts

* feat: resolve comments(missing handle delete function)

* feat: fix unit test

* feat: update prefix key

* feat: update prefix key folder

* fix: update the delete function
  • Loading branch information
Sotatek-TungNguyen2a authored Oct 17, 2024
1 parent 42dab78 commit 8e3a8dc
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 365 deletions.
7 changes: 0 additions & 7 deletions src/core/agent/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import { CoreEventEmitter } from "./event";
import {
BasicRecord,
BasicStorage,
ConnectionNoteRecord,
ConnectionNoteStorage,
ConnectionRecord,
ConnectionStorage,
CredentialMetadataRecord,
Expand Down Expand Up @@ -80,7 +78,6 @@ class Agent {
private identifierStorage!: IdentifierStorage;
private credentialStorage!: CredentialStorage;
private connectionStorage!: ConnectionStorage;
private connectionNoteStorage!: ConnectionNoteStorage;
private notificationStorage!: NotificationStorage;
private peerConnectionStorage!: PeerConnectionStorage;
private ipexMessageStorage!: IpexMessageStorage;
Expand Down Expand Up @@ -146,7 +143,6 @@ class Agent {
this.connectionService = new ConnectionService(
this.agentServicesProps,
this.connectionStorage,
this.connectionNoteStorage,
this.credentialStorage,
this.ipexMessageStorage,
this.operationPendingStorage,
Expand Down Expand Up @@ -422,9 +418,6 @@ class Agent {
this.connectionStorage = new ConnectionStorage(
this.getStorageService<ConnectionRecord>(this.storageSession)
);
this.connectionNoteStorage = new ConnectionNoteStorage(
this.getStorageService<ConnectionNoteRecord>(this.storageSession)
);
this.notificationStorage = new NotificationStorage(
this.getStorageService<NotificationRecord>(this.storageSession)
);
Expand Down
41 changes: 0 additions & 41 deletions src/core/agent/records/connectionNoteRecord.ts

This file was deleted.

143 changes: 0 additions & 143 deletions src/core/agent/records/connectionNoteStorage.test.ts

This file was deleted.

40 changes: 0 additions & 40 deletions src/core/agent/records/connectionNoteStorage.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/core/agent/records/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ export * from "./identifierMetadataRecord";
export * from "./peerConnectionMetadataRecord";
export * from "./basicRecord";
export * from "./connectionRecord";
export * from "./connectionNoteRecord";
export * from "./notificationRecord";
export * from "./credentialStorage";
export * from "./identifierStorage";
export * from "./peerConnectionStorage";
export * from "./basicStorage";
export * from "./connectionStorage";
export * from "./connectionNoteStorage";
export * from "./notificationStorage";
export * from "./operationPendingStorage";
export * from "./ipexMessageRecord";
Expand Down
Loading

0 comments on commit 8e3a8dc

Please sign in to comment.