refactor: native feature management (#2350)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
ComponentInterface,
|
||||
ComponentMutator,
|
||||
DecryptedItemInterface,
|
||||
DecryptedItemMutator,
|
||||
@@ -13,7 +14,6 @@ import {
|
||||
PayloadEmitSource,
|
||||
PredicateInterface,
|
||||
SmartView,
|
||||
SNComponent,
|
||||
SNFeatureRepo,
|
||||
SNNote,
|
||||
SNTag,
|
||||
@@ -72,12 +72,12 @@ export interface MutatorClientInterface {
|
||||
): Promise<ItemsKeyInterface>
|
||||
|
||||
changeComponent(
|
||||
itemToLookupUuidFor: SNComponent,
|
||||
itemToLookupUuidFor: ComponentInterface,
|
||||
mutate: (mutator: ComponentMutator) => void,
|
||||
mutationType?: MutationType,
|
||||
emitSource?: PayloadEmitSource,
|
||||
payloadSourceKey?: string,
|
||||
): Promise<SNComponent>
|
||||
): Promise<ComponentInterface>
|
||||
|
||||
changeFeatureRepo(
|
||||
itemToLookupUuidFor: SNFeatureRepo,
|
||||
|
||||
Reference in New Issue
Block a user