feat: add subscription manager to handle subscription sharing (#1517)
* feat: add subscription manager to handle subscription sharing * fix(services): add missing methods to the interface * fix(services): add subscription manager specs * feat(snjs): add subscriptions e2e tests * fix(snjs): add wait in subscription cancelling test * fix(snjs): checking for canceled invitations in tests * fix(snjs): add e2e test for restored limit of subscription invitations * chore(lint): fix linter issues
This commit is contained in:
6
packages/models/src/Domain/Device/Environment.ts
Normal file
6
packages/models/src/Domain/Device/Environment.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export enum Environment {
|
||||
Web = 1,
|
||||
Desktop = 2,
|
||||
Mobile = 3,
|
||||
NativeMobileWeb = 4,
|
||||
}
|
||||
10
packages/models/src/Domain/Device/Platform.ts
Normal file
10
packages/models/src/Domain/Device/Platform.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export enum Platform {
|
||||
Ios = 1,
|
||||
Android = 2,
|
||||
MacWeb = 3,
|
||||
MacDesktop = 4,
|
||||
WindowsWeb = 5,
|
||||
WindowsDesktop = 6,
|
||||
LinuxWeb = 7,
|
||||
LinuxDesktop = 8,
|
||||
}
|
||||
@@ -28,6 +28,8 @@ export * from './Api/Subscription/Invitation'
|
||||
export * from './Api/Subscription/InvitationStatus'
|
||||
export * from './Api/Subscription/InviteeIdentifierType'
|
||||
export * from './Api/Subscription/InviterIdentifierType'
|
||||
export * from './Device/Environment'
|
||||
export * from './Device/Platform'
|
||||
export * from './Local/KeyParams/RootKeyParamsInterface'
|
||||
export * from './Local/RootKey/KeychainTypes'
|
||||
export * from './Local/RootKey/RootKeyContent'
|
||||
|
||||
Reference in New Issue
Block a user