MCPcopy Create free account

hub / github.com/3dugc/3D-Model-Optimizer / functions

Functions989 in github.com/3dugc/3D-Model-Optimizer

↓ 2 callersFunctionemptyFile
()
src/invoices/invoice-store.ts:47
↓ 2 callersMethodfetchText
(url: string)
src/cloud/tencent-credentials.ts:107
↓ 2 callersMethodfileExists
* Checks if a file exists
src/utils/storage.ts:370
↓ 2 callersMethodfindByProviderReference
(input: { providerApplyId?: string; outTradeNo?: string; })
src/invoices/invoice-service.ts:344
↓ 2 callersMethodfindInvoiceRequestByRechargeOrderId
(rechargeOrderId: string)
src/invoices/invoice-store.ts:17
↓ 2 callersMethodfinishJobCharge
(jobId: string, status: 'charged' | 'released', note?: string)
src/accounts/account-store.ts:356
↓ 2 callersMethodfinishJobCharge
(jobId: string, status: 'charged' | 'released', note?: string)
src/accounts/account-store.ts:792
↓ 2 callersMethodfinishJobCharge
(jobId: string, status: 'charged' | 'released', note?: string)
src/accounts/account-store.ts:1400
↓ 2 callersFunctionformatBytes
* Formats bytes into a human-readable string * * @param bytes - Number of bytes * @returns Formatted string (e.g., '10.5 MB')
src/utils/file-validator.ts:180
↓ 2 callersMethodget
(orderId: string)
src/billing/order-store.ts:12
↓ 2 callersFunctiongetApiKey
()
src/middleware/auth.ts:30
↓ 2 callersMethodgetDirectoryStats
* Gets statistics for a directory
src/utils/storage.ts:481
↓ 2 callersFunctiongetFileExtension
* Extracts the file extension from a filename * * @param filename - The filename to extract extension from * @returns The file extension including
src/utils/file-validator.ts:166
↓ 2 callersMethodgetFileMetadata
* Gets metadata for a file
src/utils/storage.ts:382
↓ 2 callersFunctiongetFileSize
* Get the file size in bytes (async).
src/components/optimization-pipeline.ts:233
↓ 2 callersMethodgetObjectUrl
(object: CosObjectRef, method: 'GET' | 'PUT', expiresInSeconds: number)
src/cloud/object-storage.ts:224
↓ 2 callersMethodgetRechargeOrderInvoice
(userId: string, orderId: string)
src/invoices/invoice-service.ts:319
↓ 2 callersMethodgetStorageStats
* Gets storage statistics * * @returns Object with storage statistics
src/utils/storage.ts:321
↓ 2 callersFunctiongetTenantId
(req: Request, bodyTenantId?: string)
src/routes/cloud-jobs.ts:44
↓ 2 callersMethodgetUploadedFileMetadata
* Gets metadata for an uploaded file * * @param taskId - The task identifier * @returns File metadata, or null if not found
src/utils/storage.ts:256
↓ 2 callersFunctionhandleFile
(file)
public/app.js:1089
↓ 2 callersMethodholdChargeForUser
(user: WebUser, jobId: string)
src/accounts/account-service.ts:311
↓ 2 callersFunctionignoreRecoverRace
(error: unknown)
src/jobs/job-store.ts:116
↓ 2 callersMethodinsertWalletRow
(client: MySqlQueryable, wallet: Wallet)
src/accounts/account-store.ts:870
↓ 2 callersMethodinsertWalletRow
(client: SqlQueryable, wallet: Wallet)
src/accounts/account-store.ts:1466
↓ 2 callersFunctionisLocalDevRequest
(req: Request)
src/routes/account.ts:320
↓ 2 callersFunctionisLoopbackValue
(value: string | undefined)
src/routes/account.ts:315
↓ 2 callersFunctionisNormalValid
(acc: Accessor)
src/components/geometry-fixer.ts:51
↓ 2 callersFunctionisProcessingLeaseExpired
(job: CloudJob, now: Date)
src/jobs/job-store.ts:60
↓ 2 callersFunctionisStepConverterAvailable
* Check if STEP conversion tools are available.
src/components/format-converter.ts:239
↓ 2 callersFunctionisStepEnabled
* Check if a step is enabled in the options. * * @param step - The step name to check * @param options - The optimization options * @returns True
src/components/optimization-pipeline.ts:120
↓ 2 callersFunctionisTangentValid
(acc: Accessor)
src/components/geometry-fixer.ts:38
↓ 2 callersFunctionisWechatOAuthConfigured
()
src/accounts/wechat-oauth.ts:132
↓ 2 callersFunctionjob
(overrides: Partial<CloudJob>)
tests/unit/business-monitor.test.ts:6
↓ 2 callersFunctionjobOutputObject
(job: CloudJob)
src/routes/account.ts:147
↓ 2 callersFunctionjobPayloadFilename
(job: CloudJob)
src/routes/account.ts:180
↓ 2 callersFunctionjobRetentionMs
(job: CloudJob, now = Date.now())
src/routes/account.ts:169
↓ 2 callersFunctionlistResultTasks
()
src/utils/storage.ts:616
↓ 2 callersMethodlistResultTasks
* Lists all task IDs with result files * * @returns Array of task IDs
src/utils/storage.ts:312
↓ 2 callersMethodlistTasksInDirectory
* Lists task IDs from files in a directory
src/utils/storage.ts:464
↓ 2 callersMethodlistUploadedTasks
* Lists all task IDs with uploaded files * * @returns Array of task IDs
src/utils/storage.ts:303
↓ 2 callersFunctionmakeMinimalGlb
()
tests/unit/model-input.test.ts:8
↓ 2 callersFunctionmapPaymentTradeStateToOrderStatus
(tradeState: string)
src/accounts/account-service.ts:60
↓ 2 callersMethodmarkInvoiceIssuedManually
( invoiceRequestId: string, input: MarkInvoiceIssuedManuallyInput )
src/invoices/invoice-service.ts:249
↓ 2 callersMethodmarkIssuedFromEvent
(event: WechatInvoiceNotification)
src/invoices/invoice-service.ts:282
↓ 2 callersMethodmarkPaid
(jobId: string, orderId: string)
src/jobs/job-service.ts:167
↓ 2 callersMethodmarkPaidByOutTradeNo
(outTradeNo: string, transactionId?: string)
src/billing/billing-service.ts:77
↓ 2 callersMethodmarkRechargePaid
(orderId: string, transactionId?: string)
src/accounts/account-service.ts:209
↓ 2 callersMethodmarkReversedFromEvent
(event: WechatInvoiceNotification)
src/invoices/invoice-service.ts:296
↓ 2 callersFunctionmatchesWebOptimizeJob
(job: CloudJob, input: { inputHash: string; inputExtension: string; optionsHash: string; })
src/routes/account.ts:207
↓ 2 callersFunctionnormalizeWalletChargeError
(error: unknown)
src/accounts/account-service.ts:51
↓ 2 callersFunctionnormalizedFileExtension
(filename: string | undefined)
src/routes/account.ts:187
↓ 2 callersFunctionnowIso
()
src/accounts/account-service.ts:21
↓ 2 callersFunctionnowIso
()
src/billing/billing-service.ts:7
↓ 2 callersFunctionnowSeconds
(nowMs = Date.now())
src/accounts/wechat-oauth.ts:77
↓ 2 callersFunctionparseCredentialTimestamp
(value: number | string | undefined)
src/cloud/tencent-credentials.ts:140
↓ 2 callersFunctionparseCsv
(value: string | undefined)
src/config/parsers.ts:36
↓ 2 callersFunctionplanPoolDesiredCapacities
(pools: ScalingPool[], targetInstances: number)
src/dispatcher/scaling.ts:57
↓ 2 callersFunctionprefixForObject
(key: string)
src/cloud/object-storage.ts:258
↓ 2 callersMethodpublish
(message: QueueJobMessage, options: PublishOptions = {})
src/cloud/queue.ts:65
↓ 2 callersFunctionrandomToken
()
public/app.js:95
↓ 2 callersFunctionreadGlbJson
* Read the JSON chunk from a GLB file.
tests/unit/optimization-pipeline.test.ts:163
↓ 2 callersFunctionreadLocalWorkers
(rootDir: string)
src/monitor/state-reader.ts:116
↓ 2 callersMethodreadObjectText
(object: CosObjectRef)
src/cloud/object-storage.ts:12
↓ 2 callersMethodreconcileOnce
(now: Date = new Date())
src/dispatcher/dispatcher.ts:80
↓ 2 callersMethodrecordProviderEvent
(event: InvoiceProviderEvent)
src/invoices/invoice-store.ts:22
↓ 2 callersMethodrecoverExpiredLeases
()
src/worker/cloud-worker.ts:261
↓ 2 callersFunctionrefreshAccount
()
public/app.js:219
↓ 2 callersFunctionrefreshResultRetention
(taskId: string, date = new Date())
src/utils/storage.ts:587
↓ 2 callersMethodrefreshResultRetention
* Refreshes the filesystem retention clock for a result and its metadata. * * @param taskId - The task identifier * @param date - Timestamp t
src/utils/storage.ts:193
↓ 2 callersMethodreleaseWalletCharge
(jobId: string, note: string)
src/worker/cloud-worker.ts:222
↓ 2 callersFunctionrenderPaidRecharge
(status, result)
public/app.js:408
↓ 2 callersFunctionrenderViewerStats
(side, stats)
public/app.js:782
↓ 2 callersMethodrenewLease
(jobId: string, input: RenewJobLeaseInput)
src/jobs/job-store.ts:25
↓ 2 callersFunctionresetServerPreview
()
public/app.js:904
↓ 2 callersFunctionresultFileExists
(taskId: string)
src/utils/storage.ts:636
↓ 2 callersMethodrun
(inputPath: string, outputPath: string, descriptor: HeavyTaskDescriptor<TPayload>)
src/tasks/types.ts:46
↓ 2 callersFunctionsafeEquals
(a: string, b: string)
src/middleware/auth.ts:55
↓ 2 callersFunctionsaveFile
(file)
public/app.js:1411
↓ 2 callersFunctionsaveResultFile
(taskId: string, buffer: Buffer)
src/utils/storage.ts:538
↓ 2 callersFunctionsaveResultMetadata
(metadata: ResultMetadata)
src/utils/storage.ts:567
↓ 2 callersMethodsaveResultMetadata
* Saves metadata for an optimized result. * * @param metadata - Result metadata to save
src/utils/storage.ts:167
↓ 2 callersFunctionsetOptimizationMode
(mode)
public/app.js:1217
↓ 2 callersFunctionsha256Hex
(value: string)
src/cloud/tencent-cloud-api.ts:75
↓ 2 callersFunctionsha256Hex
(value: string)
src/dispatcher/tencent-as-client.ts:171
↓ 2 callersFunctionshowWechatLoginModalSkeleton
(message)
public/app.js:529
↓ 2 callersFunctionsign
(value: string)
src/accounts/token.ts:18
↓ 2 callersFunctionsignState
(value: string, secret = config.webAuth.tokenSecret)
src/accounts/wechat-oauth.ts:66
↓ 2 callersFunctionsleep
(ms: number)
src/worker/cloud-worker.ts:49
↓ 2 callersMethodstop
()
src/dispatcher/dispatcher.ts:76
↓ 2 callersMethodstopJobLeaseRenewal
(jobId: string)
src/worker/cloud-worker.ts:304
↓ 2 callersFunctionsummarizeJobBacklog
( jobs: CloudJob[], now: Date = new Date(), taskType?: string )
src/dispatcher/scaling.ts:14
↓ 2 callersMethodsyncRechargeOrderByOutTradeNo
(userId: string, outTradeNo: string)
src/accounts/account-service.ts:201
↓ 2 callersMethodtick
()
src/monitor/business-monitor.ts:56
↓ 2 callersMethodtoUri
(object: CosObjectRef)
src/cloud/object-storage.ts:66
↓ 2 callersMethodupdate
(orderId: string, updates: Partial<BillingOrder>)
src/billing/order-store.ts:51
↓ 2 callersMethodupdateRechargeOrderRow
(client: MySqlQueryable, order: RechargeOrder)
src/accounts/account-store.ts:975
↓ 2 callersMethodupdateRechargeOrderRow
(client: SqlQueryable, order: RechargeOrder)
src/accounts/account-store.ts:1557
↓ 2 callersMethodupdateUserRow
(client: MySqlQueryable, user: WebUser)
src/accounts/account-store.ts:846
↓ 2 callersMethodupdateUserRow
(client: SqlQueryable, user: WebUser)
src/accounts/account-store.ts:1450
← previousnext →301–400 of 989, ranked by callers