Skip to content

Commit

Permalink
feat: exported Query type from packages/core/src/index and replaced Q…
Browse files Browse the repository at this point in the history
…uery import in DummyApi and DummyService with the new Query export

Signed-off-by: Jim Ezesinachi <[email protected]>
  • Loading branch information
jimezesinachi committed Oct 6, 2022
1 parent 01a7b45 commit f71e5b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export * from './storage/BaseRecord'
export { InMemoryMessageRepository } from './storage/InMemoryMessageRepository'
export { Repository } from './storage/Repository'
export * from './storage/RepositoryEvents'
export { StorageService } from './storage/StorageService'
export { StorageService, Query } from './storage/StorageService'
export { getDirFromFilePath } from './utils/path'
export { InjectionSymbols } from './constants'
export type { Wallet } from './wallet/Wallet'
Expand Down
2 changes: 1 addition & 1 deletion samples/extension-module/dummy/DummyApi.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Query } from '../../../../aries-framework-javascript/packages/core/src/storage/StorageService'
import type { DummyRecord } from './repository/DummyRecord'
import type { Query } from '@aries-framework/core'

import { injectable, ConnectionService, Dispatcher, MessageSender } from '@aries-framework/core'

Expand Down
3 changes: 1 addition & 2 deletions samples/extension-module/dummy/services/DummyService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Query } from '../../../../../aries-framework-javascript/packages/core/src/storage/StorageService'
import type { DummyStateChangedEvent } from './DummyEvents'
import type { ConnectionRecord, InboundMessageContext } from '@aries-framework/core'
import type { Query, ConnectionRecord, InboundMessageContext } from '@aries-framework/core'

import { injectable, JsonTransformer, EventEmitter } from '@aries-framework/core'

Expand Down

0 comments on commit f71e5b5

Please sign in to comment.