jslib file to get rid of ts errors without linking
This commit is contained in:
parent
7d45b8f924
commit
5f87bf3e28
|
@ -0,0 +1,59 @@
|
||||||
|
import { CipherType } from 'jslib/enums/cipherType';
|
||||||
|
import { DeviceType } from 'jslib/enums/deviceType';
|
||||||
|
import { EncryptionType } from 'jslib/enums/encryptionType';
|
||||||
|
import { FieldType } from 'jslib/enums/fieldType';
|
||||||
|
import { SecureNoteType } from 'jslib/enums/secureNoteType';
|
||||||
|
import { TwoFactorProviderType } from 'jslib/enums/twoFactorProviderType';
|
||||||
|
|
||||||
|
import { AttachmentData } from 'jslib/models/data/attachmentData';
|
||||||
|
import { CardData } from 'jslib/models/data/cardData';
|
||||||
|
import { CipherData } from 'jslib/models/data/cipherData';
|
||||||
|
import { CollectionData } from 'jslib/models/data/collectionData';
|
||||||
|
import { FieldData } from 'jslib/models/data/fieldData';
|
||||||
|
import { FolderData } from 'jslib/models/data/folderData';
|
||||||
|
import { IdentityData } from 'jslib/models/data/identityData';
|
||||||
|
import { LoginData } from 'jslib/models/data/loginData';
|
||||||
|
import { SecureNoteData } from 'jslib/models/data/secureNoteData';
|
||||||
|
|
||||||
|
import { Attachment } from 'jslib/models/domain/attachment';
|
||||||
|
import { AuthResult } from 'jslib/models/domain/authResult';
|
||||||
|
import { Card } from 'jslib/models/domain/card';
|
||||||
|
import { Cipher } from 'jslib/models/domain/cipher';
|
||||||
|
import { CipherString } from 'jslib/models/domain/cipherString';
|
||||||
|
import { Collection } from 'jslib/models/domain/collection';
|
||||||
|
import Domain from 'jslib/models/domain/domain';
|
||||||
|
import { EncryptedObject } from 'jslib/models/domain/encryptedObject';
|
||||||
|
import { EnvironmentUrls } from 'jslib/models/domain/environmentUrls';
|
||||||
|
import { Field } from 'jslib/models/domain/field';
|
||||||
|
import { Folder } from 'jslib/models/domain/folder';
|
||||||
|
import { Identity } from 'jslib/models/domain/identity';
|
||||||
|
import { Login } from 'jslib/models/domain/login';
|
||||||
|
import { PasswordHistory } from 'jslib/models/domain/passwordHistory';
|
||||||
|
import { SecureNote } from 'jslib/models/domain/secureNote';
|
||||||
|
import { SymmetricCryptoKey } from 'jslib/models/domain/symmetricCryptoKey';
|
||||||
|
import { SymmetricCryptoKeyBuffers } from 'jslib/models/domain/symmetricCryptoKeyBuffers';
|
||||||
|
|
||||||
|
import { CipherRequest } from 'jslib/models/request/cipherRequest';
|
||||||
|
import { DeviceRequest } from 'jslib/models/request/deviceRequest';
|
||||||
|
import { DeviceTokenRequest } from 'jslib/models/request/deviceTokenRequest';
|
||||||
|
import { FolderRequest } from 'jslib/models/request/folderRequest';
|
||||||
|
import { PasswordHintRequest } from 'jslib/models/request/passwordHintRequest';
|
||||||
|
import { RegisterRequest } from 'jslib/models/request/registerRequest';
|
||||||
|
import { TokenRequest } from 'jslib/models/request/tokenRequest';
|
||||||
|
import { TwoFactorEmailRequest } from 'jslib/models/request/twoFactorEmailRequest';
|
||||||
|
|
||||||
|
import { AttachmentResponse } from 'jslib/models/response/attachmentResponse';
|
||||||
|
import { CipherResponse } from 'jslib/models/response/cipherResponse';
|
||||||
|
import { CollectionResponse } from 'jslib/models/response/collectionResponse';
|
||||||
|
import { DeviceResponse } from 'jslib/models/response/deviceResponse';
|
||||||
|
import { DomainsResponse } from 'jslib/models/response/domainsResponse';
|
||||||
|
import { ErrorResponse } from 'jslib/models/response/errorResponse';
|
||||||
|
import { FolderResponse } from 'jslib/models/response/folderResponse';
|
||||||
|
import { GlobalDomainResponse } from 'jslib/models/response/globalDomainResponse';
|
||||||
|
import { IdentityTokenResponse } from 'jslib/models/response/identityTokenResponse';
|
||||||
|
import { IdentityTwoFactorResponse } from 'jslib/models/response/identityTwoFactorResponse';
|
||||||
|
import { KeysResponse } from 'jslib/models/response/keysResponse';
|
||||||
|
import { ListResponse } from 'jslib/models/response/listResponse';
|
||||||
|
import { ProfileOrganizationResponse } from 'jslib/models/response/profileOrganizationResponse';
|
||||||
|
import { ProfileResponse } from 'jslib/models/response/profileResponse';
|
||||||
|
import { SyncResponse } from 'jslib/models/response/syncResponse';
|
|
@ -117,7 +117,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@bitwarden/jslib": {
|
"@bitwarden/jslib": {
|
||||||
"version": "git+https://github.com/bitwarden/jslib.git#80cd30d7d8b1566d7ecedcf71d381b0e897280d0",
|
"version": "git+https://github.com/bitwarden/jslib.git#5b63336347ad9597ed65d907b1bdb804d8b4f39a",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/node-forge": "0.7.1",
|
"@types/node-forge": "0.7.1",
|
||||||
"@types/webcrypto": "0.0.28",
|
"@types/webcrypto": "0.0.28",
|
||||||
|
|
|
@ -155,8 +155,8 @@
|
||||||
"angulartics2": "5.0.1",
|
"angulartics2": "5.0.1",
|
||||||
"core-js": "2.4.1",
|
"core-js": "2.4.1",
|
||||||
"desktop-idle": "1.1.1",
|
"desktop-idle": "1.1.1",
|
||||||
"electron-updater": "2.20.1",
|
|
||||||
"electron-store": "1.3.0",
|
"electron-store": "1.3.0",
|
||||||
|
"electron-updater": "2.20.1",
|
||||||
"keytar": "4.1.0",
|
"keytar": "4.1.0",
|
||||||
"rxjs": "5.5.6",
|
"rxjs": "5.5.6",
|
||||||
"zone.js": "0.8.19"
|
"zone.js": "0.8.19"
|
||||||
|
|
|
@ -21,51 +21,49 @@ import { ValidationService } from './validation.service';
|
||||||
|
|
||||||
import { Analytics } from 'jslib/misc/analytics';
|
import { Analytics } from 'jslib/misc/analytics';
|
||||||
|
|
||||||
import {
|
import { ApiService } from 'jslib/services/api.service';
|
||||||
ApiService,
|
import { AppIdService } from 'jslib/services/appId.service';
|
||||||
AppIdService,
|
import { AuthService } from 'jslib/services/auth.service';
|
||||||
AuthService,
|
import { CipherService } from 'jslib/services/cipher.service';
|
||||||
CipherService,
|
import { CollectionService } from 'jslib/services/collection.service';
|
||||||
CollectionService,
|
import { ConstantsService } from 'jslib/services/constants.service';
|
||||||
ConstantsService,
|
import { ContainerService } from 'jslib/services/container.service';
|
||||||
ContainerService,
|
import { CryptoService } from 'jslib/services/crypto.service';
|
||||||
CryptoService,
|
import { EnvironmentService } from 'jslib/services/environment.service';
|
||||||
EnvironmentService,
|
import { FolderService } from 'jslib/services/folder.service';
|
||||||
FolderService,
|
import { LockService } from 'jslib/services/lock.service';
|
||||||
LockService,
|
import { PasswordGenerationService } from 'jslib/services/passwordGeneration.service';
|
||||||
PasswordGenerationService,
|
import { SettingsService } from 'jslib/services/settings.service';
|
||||||
SettingsService,
|
import { StateService } from 'jslib/services/state.service';
|
||||||
StateService,
|
import { SyncService } from 'jslib/services/sync.service';
|
||||||
SyncService,
|
import { TokenService } from 'jslib/services/token.service';
|
||||||
TokenService,
|
import { TotpService } from 'jslib/services/totp.service';
|
||||||
TotpService,
|
import { UserService } from 'jslib/services/user.service';
|
||||||
UserService,
|
import { UtilsService } from 'jslib/services/utils.service';
|
||||||
UtilsService,
|
|
||||||
} from 'jslib/services';
|
|
||||||
|
|
||||||
|
import { ApiService as ApiServiceAbstraction } from 'jslib/abstractions/api.service';
|
||||||
|
import { AppIdService as AppIdServiceAbstraction } from 'jslib/abstractions/appId.service';
|
||||||
|
import { AuthService as AuthServiceAbstraction } from 'jslib/abstractions/auth.service';
|
||||||
|
import { CipherService as CipherServiceAbstraction } from 'jslib/abstractions/cipher.service';
|
||||||
|
import { CollectionService as CollectionServiceAbstraction } from 'jslib/abstractions/collection.service';
|
||||||
|
import { CryptoService as CryptoServiceAbstraction } from 'jslib/abstractions/crypto.service';
|
||||||
|
import { EnvironmentService as EnvironmentServiceAbstraction } from 'jslib/abstractions/environment.service';
|
||||||
|
import { FolderService as FolderServiceAbstraction } from 'jslib/abstractions/folder.service';
|
||||||
|
import { I18nService as I18nServiceAbstraction } from 'jslib/abstractions/i18n.service';
|
||||||
|
import { LockService as LockServiceAbstraction } from 'jslib/abstractions/lock.service';
|
||||||
|
import { MessagingService as MessagingServiceAbstraction } from 'jslib/abstractions/messaging.service';
|
||||||
import {
|
import {
|
||||||
ApiService as ApiServiceAbstraction,
|
|
||||||
AppIdService as AppIdServiceAbstraction,
|
|
||||||
AuthService as AuthServiceAbstraction,
|
|
||||||
CipherService as CipherServiceAbstraction,
|
|
||||||
CollectionService as CollectionServiceAbstraction,
|
|
||||||
CryptoService as CryptoServiceAbstraction,
|
|
||||||
EnvironmentService as EnvironmentServiceAbstraction,
|
|
||||||
FolderService as FolderServiceAbstraction,
|
|
||||||
I18nService as I18nServiceAbstraction,
|
|
||||||
LockService as LockServiceAbstraction,
|
|
||||||
MessagingService as MessagingServiceAbstraction,
|
|
||||||
PasswordGenerationService as PasswordGenerationServiceAbstraction,
|
PasswordGenerationService as PasswordGenerationServiceAbstraction,
|
||||||
PlatformUtilsService as PlatformUtilsServiceAbstraction,
|
} from 'jslib/abstractions/passwordGeneration.service';
|
||||||
SettingsService as SettingsServiceAbstraction,
|
import { PlatformUtilsService as PlatformUtilsServiceAbstraction } from 'jslib/abstractions/platformUtils.service';
|
||||||
StateService as StateServiceAbstraction,
|
import { SettingsService as SettingsServiceAbstraction } from 'jslib/abstractions/settings.service';
|
||||||
StorageService as StorageServiceAbstraction,
|
import { StateService as StateServiceAbstraction } from 'jslib/abstractions/state.service';
|
||||||
SyncService as SyncServiceAbstraction,
|
import { StorageService as StorageServiceAbstraction } from 'jslib/abstractions/storage.service';
|
||||||
TokenService as TokenServiceAbstraction,
|
import { SyncService as SyncServiceAbstraction } from 'jslib/abstractions/sync.service';
|
||||||
TotpService as TotpServiceAbstraction,
|
import { TokenService as TokenServiceAbstraction } from 'jslib/abstractions/token.service';
|
||||||
UserService as UserServiceAbstraction,
|
import { TotpService as TotpServiceAbstraction } from 'jslib/abstractions/totp.service';
|
||||||
UtilsService as UtilsServiceAbstraction,
|
import { UserService as UserServiceAbstraction } from 'jslib/abstractions/user.service';
|
||||||
} from 'jslib/abstractions';
|
import { UtilsService as UtilsServiceAbstraction } from 'jslib/abstractions/utils.service';
|
||||||
|
|
||||||
webFrame.registerURLSchemeAsPrivileged('file');
|
webFrame.registerURLSchemeAsPrivileged('file');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue