forked from Ivasoft/mattermost-mobile
Ensure no unresolved types in the definition files (#6521)
* Ensure no unresolved types in the definition files * Address feedback and general cleanup * Move import from @constants/x to @constants where relevant * Remove unneeded "import as"
This commit is contained in:
committed by
GitHub
parent
aec0ccb105
commit
f4e6917185
@@ -1,9 +1,8 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
import {MM_TABLES} from '@constants/database';
|
||||
import {MM_TABLES, OperationType} from '@constants/database';
|
||||
import {prepareBaseRecord} from '@database/operator/server_data_operator/transformers';
|
||||
import {OperationType} from '@typings/database/enums';
|
||||
|
||||
import type {Model} from '@nozbe/watermelondb';
|
||||
import type {TransformerArgs} from '@typings/database/database';
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
import {OperationType} from '@constants/database';
|
||||
import DatabaseManager from '@database/manager';
|
||||
import {
|
||||
transformInfoRecord,
|
||||
transformGlobalRecord,
|
||||
} from '@database/operator/app_data_operator/transformers/index';
|
||||
import {OperationType} from '@typings/database/enums';
|
||||
|
||||
describe('** APP DATA TRANSFORMER **', () => {
|
||||
beforeAll(async () => {
|
||||
|
||||
Reference in New Issue
Block a user