refactor: native feature management (#2350)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { FeatureDescription } from '@standardnotes/features'
|
||||
import { AnyFeatureDescription } from '@standardnotes/features'
|
||||
import { SubscriptionName } from '@standardnotes/common'
|
||||
|
||||
export type AvailableSubscriptions = {
|
||||
@@ -8,6 +8,6 @@ export type AvailableSubscriptions = {
|
||||
price: number
|
||||
period: string
|
||||
}[]
|
||||
features: FeatureDescription[]
|
||||
features: AnyFeatureDescription[]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { FeatureDescription } from '@standardnotes/features'
|
||||
import { AnyFeatureDescription } from '@standardnotes/features'
|
||||
|
||||
export type GetOfflineFeaturesResponse = {
|
||||
features: FeatureDescription[]
|
||||
features: AnyFeatureDescription[]
|
||||
roles: string[]
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import { FeatureDescription } from '@standardnotes/features'
|
||||
|
||||
export type UserFeaturesData = {
|
||||
features: FeatureDescription[]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
import { UserFeaturesData } from './UserFeaturesData'
|
||||
|
||||
export type UserFeaturesResponse = UserFeaturesData
|
||||
@@ -61,8 +61,6 @@ export * from './User/ListSettingsResponse'
|
||||
export * from './User/PostSubscriptionTokensResponse'
|
||||
export * from './User/SettingData'
|
||||
export * from './User/UpdateSettingResponse'
|
||||
export * from './User/UserFeaturesData'
|
||||
export * from './User/UserFeaturesResponse'
|
||||
|
||||
export * from './UserEvent/UserEventServerHash'
|
||||
export * from './UserEvent/UserEventType'
|
||||
|
||||
Reference in New Issue
Block a user