Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/deleters/thread-deleters.js
// @flow | // @flow | ||||
import { permissionLookup } from 'lib/permissions/thread-permissions.js'; | import { permissionLookup } from 'lib/permissions/thread-permissions.js'; | ||||
import { hasMinCodeVersion } from 'lib/shared/version-utils.js'; | import { hasMinCodeVersion } from 'lib/shared/version-utils.js'; | ||||
import { threadPermissions } from 'lib/types/thread-permission-types.js'; | |||||
import { | import { | ||||
type ThreadDeletionRequest, | type ThreadDeletionRequest, | ||||
type LeaveThreadResult, | type LeaveThreadResult, | ||||
threadPermissions, | |||||
} from 'lib/types/thread-types.js'; | } from 'lib/types/thread-types.js'; | ||||
import { updateTypes } from 'lib/types/update-types.js'; | import { updateTypes } from 'lib/types/update-types.js'; | ||||
import { ServerError } from 'lib/utils/errors.js'; | import { ServerError } from 'lib/utils/errors.js'; | ||||
import { createUpdates } from '../creators/update-creator.js'; | import { createUpdates } from '../creators/update-creator.js'; | ||||
import { dbQuery, SQL } from '../database/database.js'; | import { dbQuery, SQL } from '../database/database.js'; | ||||
import { | import { | ||||
fetchThreadInfos, | fetchThreadInfos, | ||||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |