Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/satisfactory-factories/application
/ functions
Functions
2,620 in github.com/satisfactory-factories/application
⨍
Functions
2,620
◇
Types & classes
438
↓ 249 callers
Function
describe
(error: unknown)
web/src/stores/rooms-store.ts:29
↓ 226 callers
Function
it
()
web/public/assets/js/fa.min.js:5
↓ 155 callers
Function
newFactory
(name = 'A new factory', order?: number, id?: number)
web/src/utils/factory-management/factory.ts:105
↓ 144 callers
Method
get
(nowMs: number)
backend/src/metrics/cached-query.ts:36
↓ 106 callers
Function
addProductToFactory
( factory: Factory, options: { id?: string, amount?: number, recipe?: string, requirements
web/src/utils/factory-management/products.ts:25
↓ 89 callers
Function
calculateFactories
( factories: Factory[], gameData: DataInterface, modes: CalculationModes = {} )
web/src/utils/factory-management/factory.ts:467
↓ 81 callers
Method
send
(data: string)
web/src/sync/ws-client.ts:27
↓ 75 callers
Method
emit
(name: K, payload: RoomEventMap[K])
backend/src/rooms/room-events.service.ts:44
↓ 63 callers
Method
getItem
(key: string)
web/src/setup-vitest.ts:28
↓ 60 callers
Method
clear
()
web/src/setup-vitest.ts:24
↓ 53 callers
Method
setItem
(key: string, value: string)
web/src/setup-vitest.ts:40
↓ 52 callers
Function
mount
()
web/src/components/SplashV7.spec.ts:57
↓ 50 callers
Function
call
(app: INestApplication, method: Method, path: string, as?: TestUser)
backend/test/utils/rooms.ts:26
↓ 49 callers
Method
join
(roomId: string, options: JoinOptions = {})
web/src/sync/ws-client.ts:150
↓ 47 callers
Method
add
(connection: Connection)
backend/src/realtime/connection-registry.ts:13
↓ 43 callers
Function
addInputToFactory
( factory: Factory, options: { factoryId: number | null, outputPart: string | null, amount: numb
web/src/utils/factory-management/inputs.ts:28
↓ 37 callers
Method
on
(name: K, listener: RoomEventListener<K>)
backend/src/rooms/room-events.service.ts:53
↓ 35 callers
Function
addPowerProducerToFactory
( factory: Factory, options: { building?: string, buildingAmount?: number, powerAmount?: numbe
web/src/utils/factory-management/power.ts:10
↓ 33 callers
Function
createTestApp
(options: TestAppOptions = {})
backend/test/utils/test-app.ts:70
↓ 33 callers
Function
destroyTestApp
({ app }: TestContext)
backend/test/utils/test-app.ts:101
↓ 31 callers
Function
formatNumberFully
(value: any, precision = 3, snap = false)
web/src/utils/numberFormatter.ts:57
↓ 30 callers
Function
awaitConnection
(app: INestApplication)
backend/test/utils/test-app.ts:106
↓ 30 callers
Method
close
(code?: number, reason?: string)
web/src/sync/ws-client.ts:28
↓ 30 callers
Method
resolve
* The rules themselves, against one copy of the room. Not an authorization on its * own — only `authorize` knows whether that copy still stands — s
backend/src/realtime/room-access.service.ts:116
↓ 29 callers
Method
now
()
backend/test/utils/rooms.ts:114
↓ 27 callers
Function
apiRequest
(path: string, options: RequestOptions = {})
web/src/api/client.ts:132
↓ 27 callers
Method
get
(socket: WebSocket)
backend/src/realtime/connection-registry.ts:17
↓ 27 callers
Method
next
(type: T, timeoutMs = DEFAULT_TIMEOUT_MS)
backend/test/utils/ws-client.ts:75
↓ 26 callers
Function
calculateFactory
( factory: Factory, allFactories: Factory[], gameData: DataInterface, options: CalculationOptions = {}
web/src/utils/factory-management/factory.ts:417
↓ 26 callers
Function
fetchGameData
()
web/src/utils/gameDataService.ts:7
↓ 25 callers
Function
makeFactory
(overrides: Partial<Factory> = {})
common/src/testing/fixtures.ts:5
↓ 25 callers
Function
resetRooms
(app: INestApplication)
backend/test/utils/rooms.ts:55
↓ 24 callers
Method
all
()
backend/src/realtime/connection-registry.ts:66
↓ 24 callers
Function
registerAndLogin
( app: INestApplication, username: string, )
backend/test/utils/rooms.ts:31
↓ 24 callers
Function
request
(method: 'get' | 'post' | 'put' | 'delete', path: string)
backend/test/visitor-token-boundary.spec.ts:19
↓ 22 callers
Function
addFactory
(page: Page, edit: FactoryEdit)
web/e2e/helpers/planner.ts:359
↓ 22 callers
Function
buildIndexes
(app: INestApplication)
backend/test/utils/rooms.ts:48
↓ 22 callers
Method
dispatchEvent
()
web/src/setup-vitest.ts:135
↓ 22 callers
Method
now
()
backend/src/realtime/field-lock.service.ts:111
↓ 22 callers
Function
openPlanner
( context: BrowserContext, path = '/', /** Runs before the first navigation, for routing that must be in
web/e2e/helpers/planner.ts:22
↓ 19 callers
Function
registerUser
(request: APIRequestContext)
web/e2e/helpers/accounts.ts:42
↓ 19 callers
Function
stableStringify
(value: unknown)
web/src/sync/room-state.ts:89
↓ 18 callers
Function
getRecipe
(recipeId: any, gameData: DataInterface)
web/src/utils/factory-management/common.ts:143
↓ 18 callers
Method
off
(name: K, listener: RoomEventListener<K>)
backend/src/rooms/room-events.service.ts:57
↓ 18 callers
Method
reset
Back to real time; the sweeper cases each need their own window.
backend/test/utils/rooms.ts:123
↓ 17 callers
Function
getTab
(roomId: string)
web/src/stores/room-sync-store.ts:310
↓ 17 callers
Method
removeItem
(key: string)
web/src/setup-vitest.ts:36
↓ 16 callers
Function
mirroredFactories
(page: Page, tabId: string)
web/e2e/helpers/planner.ts:259
↓ 15 callers
Method
catch
(exception: unknown, host: ArgumentsHost)
backend/src/event-counters/http-error.filter.ts:52
↓ 15 callers
Method
create
( @CurrentUser() user: AuthTokenPayload, @Body() body: unknown, )
backend/src/rooms/rooms.controller.ts:57
↓ 15 callers
Function
findFacByName
(name: string, factories: Factory[])
web/src/utils/factory-management/factory.ts:51
↓ 15 callers
Function
settle
(page: Page)
web/e2e/helpers/planner.ts:43
↓ 15 callers
Function
vuetifyRender
(component: any, options: Record<string, any> = {})
web/src/utils/ui-test-bootstrap.ts:44
↓ 14 callers
Function
blocked
()
web/src/stores/rooms-store.ts:73
↓ 14 callers
Function
createSyncedTab
(page: Page)
web/e2e/helpers/planner.ts:138
↓ 14 callers
Method
greet
Opens, says hello and waits for `hello_ok`; the start of nearly every test.
backend/test/utils/ws-client.ts:51
↓ 14 callers
Function
selectTab
(page: Page, tabId: string)
web/e2e/helpers/planner.ts:170
↓ 14 callers
Function
sleep
web/testing/gifs/record.mjs:23
↓ 14 callers
Method
stop
* Hard stop. No reconnect until `connect()` is called again, which is exactly * what offline mode needs: total silence, not quieter retrying.
web/src/sync/ws-client.ts:130
↓ 13 callers
Function
closeAll
(clients: TestClient[])
backend/test/utils/ws-client.ts:157
↓ 13 callers
Method
run
(_step: EnsureStep, work: () => Promise<T>)
backend/src/rooms/ensure-step.runner.ts:23
↓ 13 callers
Function
sidebarFactoryRows
(page: Page)
web/e2e/helpers/planner.ts:803
↓ 12 callers
Function
getItemBuilding
(item: FactoryItem | FactoryPowerProducer, groupType: ItemType)
web/src/utils/factory-management/building-groups/common.ts:207
↓ 12 callers
Function
markFactoryEdited
(factory: Factory)
web/src/utils/sync-intent.ts:14
↓ 12 callers
Function
roomError
( code: RoomErrorCode, message: string, status: HttpStatus, extra: Record<string, unknown> = {}, )
backend/src/rooms/room-errors.ts:4
↓ 11 callers
Method
addEventListener
()
web/src/setup-vitest.ts:133
↓ 11 callers
Function
complexDemoPlan
()
web/src/utils/factory-setups/complex-demo-plan.ts:32
↓ 11 callers
Function
contentOfTab
(tab: FactoryTab)
web/src/sync/room-state.ts:156
↓ 11 callers
Function
getPowerRecipe
(id: string, gameData: DataInterface)
web/src/utils/factory-management/common.ts:173
↓ 11 callers
Method
record
( roomId: string, actor: string, kind: RoomActivityKind, summary?: string, options: { tall
backend/src/rooms/room-activity.service.ts:30
↓ 11 callers
Function
schedulePersist
()
web/src/stores/app-store.ts:326
↓ 11 callers
Function
showPlan
(page: Page, user: TestUser, roomId: string)
web/e2e/helpers/rooms.ts:26
↓ 10 callers
Function
addBuildingGroup
( item: FactoryItem | FactoryPowerProducer, type: ItemType, factory: Factory, )
web/src/utils/factory-management/building-groups/common.ts:48
↓ 10 callers
Function
body
()
web/src/components/sync/NewTabDialog.spec.ts:14
↓ 10 callers
Function
captureOrder
(factories: Factory[])
web/src/utils/sync-intent.ts:27
↓ 10 callers
Function
clampTier
(tier: unknown)
web/src/composables/useDepotResearch.ts:121
↓ 10 callers
Function
collectGroups
(factories: Factory[], tab?: FactoryTab)
web/src/utils/factory-management/factory-groups.ts:50
↓ 10 callers
Function
createNewPart
(factory: Factory, part: string)
web/src/utils/factory-management/common.ts:119
↓ 10 callers
Function
expectQuiesced
(pages: Page[], tabId: string)
web/e2e/helpers/planner.ts:307
↓ 10 callers
Method
expectSilence
Asserts nothing of `type` arrives within the window.
backend/test/utils/ws-client.ts:113
↓ 10 callers
Function
httpRequest
(context: ExecutionContext)
backend/src/config/throttling.ts:65
↓ 10 callers
Function
isExtractionRecipe
(recipeId?: string)
web/src/utils/factory-management/building-groups/extraction.ts:31
↓ 10 callers
Function
latest
()
web/src/stores/room-sync-store.spec.ts:96
↓ 10 callers
Function
readTabBar
(page: Page)
web/e2e/helpers/planner.ts:78
↓ 10 callers
Function
readTabMirrorMeta
()
web/src/sync/tab-mirror-meta.ts:62
↓ 10 callers
Function
wire
(value: T)
web/src/stores/room-sync-store.spec.ts:80
↓ 10 callers
Function
writeLocalStorage
(key: string, value: string)
web/src/utils/safe-storage.ts:11
↓ 9 callers
Function
captureFrame
(page, ctx, repeat = HOLD_REPEAT)
web/testing/gifs/record.mjs:399
↓ 9 callers
Method
deliver
One unwritable socket must not cost the others their message, or the sender its ack.
backend/src/realtime/room.gateway.ts:632
↓ 9 callers
Function
expectFactoryNames
( page: Page, names: string[], options: { timeout?: number, message?: string } = {}, )
web/e2e/helpers/planner.ts:492
↓ 9 callers
Function
factories
()
web/src/composables/useFactoryGroups.ts:45
↓ 9 callers
Function
factoryNames
(page: Page)
web/e2e/helpers/planner.ts:488
↓ 9 callers
Function
getGroupOutputMultiplier
( group: BuildingGroup, building: string, recipeId?: string )
web/src/utils/factory-management/building-groups/common.ts:40
↓ 9 callers
Function
getPartDisplayName
(part: string | number | null)
web/src/utils/helpers.ts:10
↓ 9 callers
Function
getProduct
( factory: Factory, productId: string, productOnly = false, byProductOnly = false )
web/src/utils/factory-management/products.ts:325
↓ 9 callers
Function
getRequestsForFactory
(factory: Factory)
web/src/utils/factory-management/exports.ts:6
↓ 9 callers
Method
join
(userId: string, roomId: string, visitorToken?: string)
backend/src/rooms/rooms.service.ts:297
↓ 9 callers
Function
persistMeta
(roomId: string)
web/src/stores/room-sync-store.ts:470
↓ 9 callers
Function
sample
(body: string, name: string, labels?: string)
backend/test/utils/metrics.ts:25
↓ 9 callers
Method
waitForClose
(timeoutMs = DEFAULT_TIMEOUT_MS)
backend/test/utils/ws-client.ts:101
next →
1–100 of 2,620, ranked by callers