MCPcopy Create free account

hub / github.com/satisfactory-factories/application / functions

Functions2,620 in github.com/satisfactory-factories/application

↓ 249 callersFunctiondescribe
(error: unknown)
web/src/stores/rooms-store.ts:29
↓ 226 callersFunctionit
()
web/public/assets/js/fa.min.js:5
↓ 155 callersFunctionnewFactory
(name = 'A new factory', order?: number, id?: number)
web/src/utils/factory-management/factory.ts:105
↓ 144 callersMethodget
(nowMs: number)
backend/src/metrics/cached-query.ts:36
↓ 106 callersFunctionaddProductToFactory
( factory: Factory, options: { id?: string, amount?: number, recipe?: string, requirements
web/src/utils/factory-management/products.ts:25
↓ 89 callersFunctioncalculateFactories
( factories: Factory[], gameData: DataInterface, modes: CalculationModes = {} )
web/src/utils/factory-management/factory.ts:467
↓ 81 callersMethodsend
(data: string)
web/src/sync/ws-client.ts:27
↓ 75 callersMethodemit
(name: K, payload: RoomEventMap[K])
backend/src/rooms/room-events.service.ts:44
↓ 63 callersMethodgetItem
(key: string)
web/src/setup-vitest.ts:28
↓ 60 callersMethodclear
()
web/src/setup-vitest.ts:24
↓ 53 callersMethodsetItem
(key: string, value: string)
web/src/setup-vitest.ts:40
↓ 52 callersFunctionmount
()
web/src/components/SplashV7.spec.ts:57
↓ 50 callersFunctioncall
(app: INestApplication, method: Method, path: string, as?: TestUser)
backend/test/utils/rooms.ts:26
↓ 49 callersMethodjoin
(roomId: string, options: JoinOptions = {})
web/src/sync/ws-client.ts:150
↓ 47 callersMethodadd
(connection: Connection)
backend/src/realtime/connection-registry.ts:13
↓ 43 callersFunctionaddInputToFactory
( factory: Factory, options: { factoryId: number | null, outputPart: string | null, amount: numb
web/src/utils/factory-management/inputs.ts:28
↓ 37 callersMethodon
(name: K, listener: RoomEventListener<K>)
backend/src/rooms/room-events.service.ts:53
↓ 35 callersFunctionaddPowerProducerToFactory
( factory: Factory, options: { building?: string, buildingAmount?: number, powerAmount?: numbe
web/src/utils/factory-management/power.ts:10
↓ 33 callersFunctioncreateTestApp
(options: TestAppOptions = {})
backend/test/utils/test-app.ts:70
↓ 33 callersFunctiondestroyTestApp
({ app }: TestContext)
backend/test/utils/test-app.ts:101
↓ 31 callersFunctionformatNumberFully
(value: any, precision = 3, snap = false)
web/src/utils/numberFormatter.ts:57
↓ 30 callersFunctionawaitConnection
(app: INestApplication)
backend/test/utils/test-app.ts:106
↓ 30 callersMethodclose
(code?: number, reason?: string)
web/src/sync/ws-client.ts:28
↓ 30 callersMethodresolve
* 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 callersMethodnow
()
backend/test/utils/rooms.ts:114
↓ 27 callersFunctionapiRequest
(path: string, options: RequestOptions = {})
web/src/api/client.ts:132
↓ 27 callersMethodget
(socket: WebSocket)
backend/src/realtime/connection-registry.ts:17
↓ 27 callersMethodnext
(type: T, timeoutMs = DEFAULT_TIMEOUT_MS)
backend/test/utils/ws-client.ts:75
↓ 26 callersFunctioncalculateFactory
( factory: Factory, allFactories: Factory[], gameData: DataInterface, options: CalculationOptions = {}
web/src/utils/factory-management/factory.ts:417
↓ 26 callersFunctionfetchGameData
()
web/src/utils/gameDataService.ts:7
↓ 25 callersFunctionmakeFactory
(overrides: Partial<Factory> = {})
common/src/testing/fixtures.ts:5
↓ 25 callersFunctionresetRooms
(app: INestApplication)
backend/test/utils/rooms.ts:55
↓ 24 callersMethodall
()
backend/src/realtime/connection-registry.ts:66
↓ 24 callersFunctionregisterAndLogin
( app: INestApplication, username: string, )
backend/test/utils/rooms.ts:31
↓ 24 callersFunctionrequest
(method: 'get' | 'post' | 'put' | 'delete', path: string)
backend/test/visitor-token-boundary.spec.ts:19
↓ 22 callersFunctionaddFactory
(page: Page, edit: FactoryEdit)
web/e2e/helpers/planner.ts:359
↓ 22 callersFunctionbuildIndexes
(app: INestApplication)
backend/test/utils/rooms.ts:48
↓ 22 callersMethoddispatchEvent
()
web/src/setup-vitest.ts:135
↓ 22 callersMethodnow
()
backend/src/realtime/field-lock.service.ts:111
↓ 22 callersFunctionopenPlanner
( context: BrowserContext, path = '/', /** Runs before the first navigation, for routing that must be in
web/e2e/helpers/planner.ts:22
↓ 19 callersFunctionregisterUser
(request: APIRequestContext)
web/e2e/helpers/accounts.ts:42
↓ 19 callersFunctionstableStringify
(value: unknown)
web/src/sync/room-state.ts:89
↓ 18 callersFunctiongetRecipe
(recipeId: any, gameData: DataInterface)
web/src/utils/factory-management/common.ts:143
↓ 18 callersMethodoff
(name: K, listener: RoomEventListener<K>)
backend/src/rooms/room-events.service.ts:57
↓ 18 callersMethodreset
Back to real time; the sweeper cases each need their own window.
backend/test/utils/rooms.ts:123
↓ 17 callersFunctiongetTab
(roomId: string)
web/src/stores/room-sync-store.ts:310
↓ 17 callersMethodremoveItem
(key: string)
web/src/setup-vitest.ts:36
↓ 16 callersFunctionmirroredFactories
(page: Page, tabId: string)
web/e2e/helpers/planner.ts:259
↓ 15 callersMethodcatch
(exception: unknown, host: ArgumentsHost)
backend/src/event-counters/http-error.filter.ts:52
↓ 15 callersMethodcreate
( @CurrentUser() user: AuthTokenPayload, @Body() body: unknown, )
backend/src/rooms/rooms.controller.ts:57
↓ 15 callersFunctionfindFacByName
(name: string, factories: Factory[])
web/src/utils/factory-management/factory.ts:51
↓ 15 callersFunctionsettle
(page: Page)
web/e2e/helpers/planner.ts:43
↓ 15 callersFunctionvuetifyRender
(component: any, options: Record<string, any> = {})
web/src/utils/ui-test-bootstrap.ts:44
↓ 14 callersFunctionblocked
()
web/src/stores/rooms-store.ts:73
↓ 14 callersFunctioncreateSyncedTab
(page: Page)
web/e2e/helpers/planner.ts:138
↓ 14 callersMethodgreet
Opens, says hello and waits for `hello_ok`; the start of nearly every test.
backend/test/utils/ws-client.ts:51
↓ 14 callersFunctionselectTab
(page: Page, tabId: string)
web/e2e/helpers/planner.ts:170
↓ 14 callersFunctionsleep
web/testing/gifs/record.mjs:23
↓ 14 callersMethodstop
* 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 callersFunctioncloseAll
(clients: TestClient[])
backend/test/utils/ws-client.ts:157
↓ 13 callersMethodrun
(_step: EnsureStep, work: () => Promise<T>)
backend/src/rooms/ensure-step.runner.ts:23
↓ 13 callersFunctionsidebarFactoryRows
(page: Page)
web/e2e/helpers/planner.ts:803
↓ 12 callersFunctiongetItemBuilding
(item: FactoryItem | FactoryPowerProducer, groupType: ItemType)
web/src/utils/factory-management/building-groups/common.ts:207
↓ 12 callersFunctionmarkFactoryEdited
(factory: Factory)
web/src/utils/sync-intent.ts:14
↓ 12 callersFunctionroomError
( code: RoomErrorCode, message: string, status: HttpStatus, extra: Record<string, unknown> = {}, )
backend/src/rooms/room-errors.ts:4
↓ 11 callersMethodaddEventListener
()
web/src/setup-vitest.ts:133
↓ 11 callersFunctioncomplexDemoPlan
()
web/src/utils/factory-setups/complex-demo-plan.ts:32
↓ 11 callersFunctioncontentOfTab
(tab: FactoryTab)
web/src/sync/room-state.ts:156
↓ 11 callersFunctiongetPowerRecipe
(id: string, gameData: DataInterface)
web/src/utils/factory-management/common.ts:173
↓ 11 callersMethodrecord
( roomId: string, actor: string, kind: RoomActivityKind, summary?: string, options: { tall
backend/src/rooms/room-activity.service.ts:30
↓ 11 callersFunctionschedulePersist
()
web/src/stores/app-store.ts:326
↓ 11 callersFunctionshowPlan
(page: Page, user: TestUser, roomId: string)
web/e2e/helpers/rooms.ts:26
↓ 10 callersFunctionaddBuildingGroup
( item: FactoryItem | FactoryPowerProducer, type: ItemType, factory: Factory, )
web/src/utils/factory-management/building-groups/common.ts:48
↓ 10 callersFunctionbody
()
web/src/components/sync/NewTabDialog.spec.ts:14
↓ 10 callersFunctioncaptureOrder
(factories: Factory[])
web/src/utils/sync-intent.ts:27
↓ 10 callersFunctionclampTier
(tier: unknown)
web/src/composables/useDepotResearch.ts:121
↓ 10 callersFunctioncollectGroups
(factories: Factory[], tab?: FactoryTab)
web/src/utils/factory-management/factory-groups.ts:50
↓ 10 callersFunctioncreateNewPart
(factory: Factory, part: string)
web/src/utils/factory-management/common.ts:119
↓ 10 callersFunctionexpectQuiesced
(pages: Page[], tabId: string)
web/e2e/helpers/planner.ts:307
↓ 10 callersMethodexpectSilence
Asserts nothing of `type` arrives within the window.
backend/test/utils/ws-client.ts:113
↓ 10 callersFunctionhttpRequest
(context: ExecutionContext)
backend/src/config/throttling.ts:65
↓ 10 callersFunctionisExtractionRecipe
(recipeId?: string)
web/src/utils/factory-management/building-groups/extraction.ts:31
↓ 10 callersFunctionlatest
()
web/src/stores/room-sync-store.spec.ts:96
↓ 10 callersFunctionreadTabBar
(page: Page)
web/e2e/helpers/planner.ts:78
↓ 10 callersFunctionreadTabMirrorMeta
()
web/src/sync/tab-mirror-meta.ts:62
↓ 10 callersFunctionwire
(value: T)
web/src/stores/room-sync-store.spec.ts:80
↓ 10 callersFunctionwriteLocalStorage
(key: string, value: string)
web/src/utils/safe-storage.ts:11
↓ 9 callersFunctioncaptureFrame
(page, ctx, repeat = HOLD_REPEAT)
web/testing/gifs/record.mjs:399
↓ 9 callersMethoddeliver
One unwritable socket must not cost the others their message, or the sender its ack.
backend/src/realtime/room.gateway.ts:632
↓ 9 callersFunctionexpectFactoryNames
( page: Page, names: string[], options: { timeout?: number, message?: string } = {}, )
web/e2e/helpers/planner.ts:492
↓ 9 callersFunctionfactories
()
web/src/composables/useFactoryGroups.ts:45
↓ 9 callersFunctionfactoryNames
(page: Page)
web/e2e/helpers/planner.ts:488
↓ 9 callersFunctiongetGroupOutputMultiplier
( group: BuildingGroup, building: string, recipeId?: string )
web/src/utils/factory-management/building-groups/common.ts:40
↓ 9 callersFunctiongetPartDisplayName
(part: string | number | null)
web/src/utils/helpers.ts:10
↓ 9 callersFunctiongetProduct
( factory: Factory, productId: string, productOnly = false, byProductOnly = false )
web/src/utils/factory-management/products.ts:325
↓ 9 callersFunctiongetRequestsForFactory
(factory: Factory)
web/src/utils/factory-management/exports.ts:6
↓ 9 callersMethodjoin
(userId: string, roomId: string, visitorToken?: string)
backend/src/rooms/rooms.service.ts:297
↓ 9 callersFunctionpersistMeta
(roomId: string)
web/src/stores/room-sync-store.ts:470
↓ 9 callersFunctionsample
(body: string, name: string, labels?: string)
backend/test/utils/metrics.ts:25
↓ 9 callersMethodwaitForClose
(timeoutMs = DEFAULT_TIMEOUT_MS)
backend/test/utils/ws-client.ts:101
next →1–100 of 2,620, ranked by callers