Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3dugc/3D-Model-Optimizer
/ functions
Functions
989 in github.com/3dugc/3D-Model-Optimizer
⨍
Functions
989
◇
Types & classes
311
Method
markRechargePaid
(orderId: string, transactionId?: string)
src/accounts/account-store.ts:655
Method
markRechargePaid
(orderId: string, transactionId?: string)
src/accounts/account-store.ts:1273
Function
markTaskCompleted
( task: Task, outputFile: string, result: OptimizationResult )
src/models/task.ts:134
Function
markTaskFailed
(task: Task, error: string)
src/models/task.ts:155
Function
markTaskProcessing
(task: Task)
src/models/task.ts:119
Function
needsConversion
(filename: string)
src/components/format-converter.ts:580
Function
notFoundHandler
(req: Request, res: Response)
src/middleware/error-handler.ts:152
Method
objectExists
(object: CosObjectRef)
src/cloud/object-storage.ts:96
Method
objectExists
(object: CosObjectRef)
src/cloud/object-storage.ts:179
Function
onError
(error)
public/app.js:791
Method
parsePaymentNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/payments/http-payment-provider.ts:52
Method
parsePaymentNotification
(_headers: Record<string, unknown>, rawBody: Buffer | string)
src/payments/mock-payment-provider.ts:24
Method
parsePaymentNotification
()
tests/unit/account-wallet.test.ts:53
Method
parseWechatInvoiceNotification
( headers: Record<string, unknown>, rawBody: Buffer | string )
src/payments/http-payment-provider.ts:64
Method
parseWechatInvoiceNotification
( _headers: Record<string, unknown>, rawBody: Buffer | string )
src/payments/mock-payment-provider.ts:37
Method
publish
(message: QueueJobMessage, options: PublishOptions = {})
src/cloud/queue.ts:26
Method
publish
(_message: QueueJobMessage, _options?: PublishOptions)
tests/unit/invoice-service.test.ts:17
Method
publish
(message: QueueJobMessage, _options?: PublishOptions)
tests/unit/external-api.test.ts:24
Method
publish
(message: QueueJobMessage, _options?: PublishOptions)
tests/unit/account-wallet.test.ts:18
Method
quantize
* Quantize vertex attributes in a gltf-transform Document. * * @param document - The gltf-transform Document to process * @param options - Qu
src/components/vertex-quantizer.ts:27
Method
queryOrderByOutTradeNo
(outTradeNo: string)
src/payments/http-payment-provider.ts:43
Method
queryOrderByOutTradeNo
(outTradeNo: string)
src/payments/mock-payment-provider.ts:17
Method
queryOrderByOutTradeNo
(outTradeNo: string)
tests/unit/account-wallet.test.ts:44
Function
readJson
(response: Response)
src/accounts/auth-service.ts:72
Method
readObjectText
(object: CosObjectRef)
src/cloud/object-storage.ts:80
Method
readObjectText
(object: CosObjectRef)
src/cloud/object-storage.ts:158
Method
recordProviderEvent
(event: InvoiceProviderEvent)
src/invoices/invoice-store.ts:122
Method
recoverExpiredLeases
(input: RecoverExpiredJobLeasesInput = {})
src/jobs/job-store.ts:214
Method
recoverExpiredLeases
(input: RecoverExpiredJobLeasesInput = {})
src/jobs/job-store.ts:458
Method
recoverExpiredLeases
(input: RecoverExpiredJobLeasesInput = {})
src/jobs/job-store.ts:692
Method
refreshDownloadUrl
(request: InvoiceRequest)
src/invoices/invoice-provider.ts:89
Method
release
(_job: CloudJob, _options: PublishOptions = {})
src/cloud/queue.ts:51
Method
release
(job: CloudJob, options: PublishOptions = {})
src/cloud/queue.ts:100
Method
release
()
tests/unit/invoice-service.test.ts:29
Method
release
()
tests/unit/external-api.test.ts:36
Method
release
()
tests/unit/account-wallet.test.ts:30
Method
releaseJobCharge
(jobId: string, note = 'Job fee released')
src/accounts/account-store.ts:347
Method
releaseJobCharge
(jobId: string, note?: string)
src/accounts/account-store.ts:779
Method
releaseJobCharge
(jobId: string, note?: string)
src/accounts/account-store.ts:1387
Method
renew
()
src/worker/cloud-worker.ts:287
Method
renewLease
(jobId: string, input: RenewJobLeaseInput)
src/jobs/job-store.ts:197
Method
renewLease
(jobId: string, input: RenewJobLeaseInput)
src/jobs/job-store.ts:440
Method
renewLease
(jobId: string, input: RenewJobLeaseInput)
src/jobs/job-store.ts:674
Method
request
(action: string, payload: Record<string, unknown>)
src/cloud/tencent-cloud-api.ts:31
Method
request
(path: string, init: RequestInit)
src/payments/http-payment-provider.ts:117
Function
requireWebUser
(req: Request, _res: Response, next: NextFunction)
src/middleware/web-auth.ts:34
Function
run
( inputPath: string, outputPath: string, descriptor: HeavyTaskDescriptor<ModelOptimizeTaskPayload>
src/tasks/model-optimize.ts:29
Method
run
(inputPath: string, outputPath: string, descriptor: HeavyTaskDescriptor)
src/tasks/registry.ts:15
Function
runPaidOptimization
(input: PaidOptimizationInput)
src/components/paid-optimization-runner.ts:39
Method
send
()
src/monitor/tencent-custom-alarm.ts:9
Method
send
(title: string, description: string)
src/monitor/tencent-custom-alarm.ts:22
Method
setDesiredCapacity
(targetInstances: number)
src/dispatcher/dispatcher.ts:36
Method
setDesiredCapacity
(targetInstances: number)
src/dispatcher/tencent-as-client.ts:139
Method
settleJobCharge
(jobId: string)
src/accounts/account-service.ts:287
Method
settleJobCharge
(jobId: string)
src/accounts/account-store.ts:343
Method
settleJobCharge
(jobId: string)
src/accounts/account-store.ts:775
Method
settleJobCharge
(jobId: string)
src/accounts/account-store.ts:1383
Function
stop
()
src/monitor/run-monitor.ts:6
Function
storeTask
(task: Task)
src/routes/status.ts:24
Method
toResponse
* Converts the error to an ErrorResponse object. * * @returns ErrorResponse representation of this error
src/models/error.ts:324
Method
transition
(jobId: string, status: CloudJobStatus, updates: Partial<CloudJob> = {})
src/jobs/job-store.ts:155
Method
transition
(orderId: string, status: OrderStatus, updates: Partial<BillingOrder> = {})
src/billing/order-store.ts:61
Method
transition
(orderId: string, status: OrderStatus, updates: Partial<BillingOrder> = {})
src/billing/order-store.ts:217
Method
transition
(orderId: string, status: OrderStatus, updates: Partial<BillingOrder> = {})
src/billing/order-store.ts:360
Method
transitionRechargeOrder
(orderId: string, status: Exclude<RechargeOrderStatus, 'paid'>)
src/accounts/account-store.ts:275
Method
transitionRechargeOrder
(orderId: string, status: Exclude<RechargeOrderStatus, 'paid'>)
src/accounts/account-store.ts:703
Method
transitionRechargeOrder
(orderId: string, status: Exclude<RechargeOrderStatus, 'paid'>)
src/accounts/account-store.ts:1311
Method
update
(jobId: string, updates: Partial<CloudJob>)
src/jobs/job-store.ts:143
Method
update
(jobId: string, updates: Partial<CloudJob>)
src/jobs/job-store.ts:371
Method
update
(jobId: string, updates: Partial<CloudJob>)
src/jobs/job-store.ts:605
Method
update
(orderId: string, updates: Partial<BillingOrder>)
src/billing/order-store.ts:14
Method
update
(orderId: string, updates: Partial<BillingOrder>)
src/billing/order-store.ts:206
Method
update
(orderId: string, updates: Partial<BillingOrder>)
src/billing/order-store.ts:348
Method
updateInvoiceRequest
(request: InvoiceRequest)
src/invoices/invoice-store.ts:113
Method
updateInvoiceRequest
(request: InvoiceRequest)
src/invoices/invoice-store.ts:283
Method
updateInvoiceRequest
(request: InvoiceRequest)
src/invoices/invoice-store.ts:489
Function
updateTask
(taskId: string, updates: Partial<Task>)
src/routes/status.ts:42
Method
uploadObject
(sourcePath: string, object: CosObjectRef)
src/cloud/object-storage.ts:90
Method
uploadObject
(sourcePath: string, object: CosObjectRef)
src/cloud/object-storage.ts:169
Method
upsertAuthServiceUser
(input: UpsertAuthServiceUserInput)
src/accounts/account-store.ts:140
Method
upsertAuthServiceUser
(input: UpsertAuthServiceUserInput)
src/accounts/account-store.ts:535
Method
upsertAuthServiceUser
(input: UpsertAuthServiceUserInput)
src/accounts/account-store.ts:1154
Method
upsertWechatUser
(input: UpsertWechatUserInput)
src/accounts/account-store.ts:101
Method
upsertWechatUser
(input: UpsertWechatUserInput)
src/accounts/account-store.ts:473
Method
upsertWechatUser
(input: UpsertWechatUserInput)
src/accounts/account-store.ts:1092
Function
validateConfig
(current: ServerConfig)
src/config/validation.ts:3
Method
writeHeartbeat
(heartbeat: WorkerHeartbeat)
src/worker/worker-store.ts:16
Method
writeHeartbeat
(heartbeat: WorkerHeartbeat)
src/worker/worker-store.ts:26
Method
writeHeartbeat
(heartbeat: WorkerHeartbeat)
src/worker/worker-store.ts:62
← previous
901–989 of 989, ranked by callers