1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

fix model imports

This commit is contained in:
Kyle Spearrin 2018-01-24 11:33:02 -05:00
parent 60ad39aa7a
commit 9c25e2a123

View File

@ -37,25 +37,33 @@ window.U2f = U2f;
// Model imports // Model imports
import { Attachment } from '../../../node_modules/@bitwarden/jslib/src/models/domain/attachment'; import { Attachment } from '../../../node_modules/@bitwarden/jslib/src/models/domain/attachment';
window.Attachment = Attachment;
import { Card } from '../../../node_modules/@bitwarden/jslib/src/models/domain/card'; import { Card } from '../../../node_modules/@bitwarden/jslib/src/models/domain/card';
window.Card = Card;
import { Cipher } from '../../../node_modules/@bitwarden/jslib/src/models/domain/cipher'; import { Cipher } from '../../../node_modules/@bitwarden/jslib/src/models/domain/cipher';
window.Cipher = Cipher;
import { CipherString } from '../../../node_modules/@bitwarden/jslib/src/models/domain/cipherString'; import { CipherString } from '../../../node_modules/@bitwarden/jslib/src/models/domain/cipherString';
window.CipherString = CipherString;
import { Field } from '../../../node_modules/@bitwarden/jslib/src/models/domain/field'; import { Field } from '../../../node_modules/@bitwarden/jslib/src/models/domain/field';
window.Field = Field;
import { Folder } from '../../../node_modules/@bitwarden/jslib/src/models/domain/folder'; import { Folder } from '../../../node_modules/@bitwarden/jslib/src/models/domain/folder';
window.Folder = Folder;
import { Identity } from '../../../node_modules/@bitwarden/jslib/src/models/domain/identity'; import { Identity } from '../../../node_modules/@bitwarden/jslib/src/models/domain/identity';
window.Identity = Identity;
import { Login } from '../../../node_modules/@bitwarden/jslib/src/models/domain/login'; import { Login } from '../../../node_modules/@bitwarden/jslib/src/models/domain/login';
window.Login = Login;
import { SecureNote } from '../../../node_modules/@bitwarden/jslib/src/models/domain/secureNote'; import { SecureNote } from '../../../node_modules/@bitwarden/jslib/src/models/domain/secureNote';
window.Attachment = Attachment;
window.Card = Card;
window.Cipher = Cipher;
window.CipherString = CipherString;
window.Field = Field;
window.Folder = Folder;
window.Identity = Identity;
window.Login = Login;
window.SecureNote = SecureNote; window.SecureNote = SecureNote;
import * as Data from '../../../node_modules/@bitwarden/jslib/src/models/data'; import { AttachmentData } from '../../../node_modules/@bitwarden/jslib/src/models/data/attachmentData';
import { CardData } from '../../../node_modules/@bitwarden/jslib/src/models/data/cardData';
import { CipherData } from '../../../node_modules/@bitwarden/jslib/src/models/data/cipherData';
import { CollectionData } from '../../../node_modules/@bitwarden/jslib/src/models/data/collectionData';
import { FieldData } from '../../../node_modules/@bitwarden/jslib/src/models/data/fieldData';
import { FolderData } from '../../../node_modules/@bitwarden/jslib/src/models/data/folderData';
import { IdentityData } from '../../../node_modules/@bitwarden/jslib/src/models/data/identityData';
import { LoginData } from '../../../node_modules/@bitwarden/jslib/src/models/data/loginData';
import { SecureNoteData } from '../../../node_modules/@bitwarden/jslib/src/models/data/secureNoteData';
window.AttachmentData = AttachmentData; window.AttachmentData = AttachmentData;
window.CardData = CardData; window.CardData = CardData;
window.CipherData = CipherData; window.CipherData = CipherData;
@ -65,7 +73,15 @@ window.FolderData = FolderData;
window.IdentityData = IdentityData; window.IdentityData = IdentityData;
window.LoginData = LoginData; window.LoginData = LoginData;
window.SecureNoteData = SecureNoteData; window.SecureNoteData = SecureNoteData;
import * as Request from '../../../node_modules/@bitwarden/jslib/src/models/request';
import { CipherRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/cipherRequest';
import { DeviceRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/deviceRequest';
import { DeviceTokenRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/deviceTokenRequest';
import { FolderRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/folderRequest';
import { PasswordHintRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/passwordHintRequest';
import { RegisterRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/registerRequest';
import { TokenRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/tokenRequest';
import { TwoFactorEmailRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/twoFactorEmailRequest';
window.CipherRequest = CipherRequest; window.CipherRequest = CipherRequest;
window.DeviceRequest = DeviceRequest; window.DeviceRequest = DeviceRequest;
window.DeviceTokenRequest = DeviceTokenRequest; window.DeviceTokenRequest = DeviceTokenRequest;
@ -74,7 +90,21 @@ window.PasswordHintRequest = PasswordHintRequest;
window.RegisterRequest = RegisterRequest; window.RegisterRequest = RegisterRequest;
window.TokenRequest = TokenRequest; window.TokenRequest = TokenRequest;
window.TwoFactorEmailRequest = TwoFactorEmailRequest; window.TwoFactorEmailRequest = TwoFactorEmailRequest;
import * as Response from '../../../node_modules/@bitwarden/jslib/src/models/response';
import { AttachmentResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/attachmentResponse';
import { CipherResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/cipherResponse';
import { CollectionResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/collectionResponse';
import { DeviceResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/deviceResponse';
import { DomainsResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/domainsResponse';
import { ErrorResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/errorResponse';
import { FolderResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/folderResponse';
import { GlobalDomainResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/globalDomainResponse';
import { IdentityTokenResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/identityTokenResponse';
import { KeysResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/keysResponse';
import { ListResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/listResponse';
import { ProfileOrganizationResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/profileOrganizationResponse';
import { ProfileResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/profileResponse';
import { SyncResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/syncResponse';
window.AttachmentResponse = AttachmentResponse; window.AttachmentResponse = AttachmentResponse;
window.CipherResponse = CipherResponse; window.CipherResponse = CipherResponse;
window.CollectionResponse = CollectionResponse; window.CollectionResponse = CollectionResponse;