Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/scripts/fix-new-thread-types.js
// @flow | // @flow | ||||
import bots from 'lib/facts/bots.json'; | import bots from 'lib/facts/bots'; | ||||
import { threadTypes, assertThreadType } from 'lib/types/thread-types'; | import { threadTypes, assertThreadType } from 'lib/types/thread-types'; | ||||
import { dbQuery, SQL } from '../database/database'; | import { dbQuery, SQL } from '../database/database'; | ||||
import { createScriptViewer } from '../session/scripts'; | import { createScriptViewer } from '../session/scripts'; | ||||
import { updateThread } from '../updaters/thread-updaters'; | import { updateThread } from '../updaters/thread-updaters'; | ||||
import { main } from './utils'; | import { main } from './utils'; | ||||
const batchSize = 10; | const batchSize = 10; | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |