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
↓ 1 callers
Function
stripTrailingSlash
(value: string)
src/config/parsers.ts:52
↓ 1 callers
Function
syncRechargeOrder
(orderId, status)
public/app.js:415
↓ 1 callers
Method
toUri
(object: CosObjectRef)
src/cloud/object-storage.ts:137
↓ 1 callers
Function
toWechatBuyerInformation
(buyer: InvoiceBuyer)
src/invoices/invoice-provider.ts:101
↓ 1 callers
Method
touchFileIfExists
* Updates a file mtime when it exists.
src/utils/storage.ts:417
↓ 1 callers
Method
transition
(jobId: string, status: CloudJobStatus, updates: Partial<CloudJob> = {})
src/jobs/job-store.ts:384
↓ 1 callers
Method
transition
(jobId: string, status: CloudJobStatus, updates: Partial<CloudJob> = {})
src/jobs/job-store.ts:618
↓ 1 callers
Method
transition
(orderId: string, status: OrderStatus, updates?: Partial<BillingOrder>)
src/billing/order-store.ts:15
↓ 1 callers
Method
transitionRechargeOrderByOutTradeNo
( outTradeNo: string, status: 'expired' | 'cancelled' | 'refunded' )
src/accounts/account-service.ts:219
↓ 1 callers
Function
triangulate_mesh
Convert polygon mesh to triangles.
scripts/usdz_to_glb.py:18
↓ 1 callers
Function
unixNow
()
src/cloud/tencent-sts.ts:60
↓ 1 callers
Function
updateHints
(a)
public/app.js:1171
↓ 1 callers
Method
updateJobChargeRow
(client: MySqlQueryable, charge: JobCharge)
src/accounts/account-store.ts:1028
↓ 1 callers
Method
updateJobChargeRow
(client: SqlQueryable, charge: JobCharge)
src/accounts/account-store.ts:1610
↓ 1 callers
Function
uploadedFileExists
(taskId: string)
src/utils/storage.ts:646
↓ 1 callers
Method
upsertAuthServiceUser
(input: UpsertAuthServiceUserInput)
src/accounts/account-store.ts:22
↓ 1 callers
Method
upsertWechatUser
(input: UpsertWechatUserInput)
src/accounts/account-store.ts:21
↓ 1 callers
Function
validateConfig
(current: ServerConfig = config)
src/config/index.ts:25
↓ 1 callers
Function
validateGlbFile
(filePath: string, originalFilename?: string)
src/utils/model-input.ts:133
↓ 1 callers
Function
validateOptions
* Validate simplification options. * * @param options - The options to validate * @throws OptimizationError if options are invalid
src/components/mesh-simplifier.ts:96
↓ 1 callers
Function
validateOptions
* Validate texture compression options.
src/components/texture-compressor.ts:93
↓ 1 callers
Function
validateOptions
* Validate Draco compression options. * * @param options - The options to validate * @throws OptimizationError if options are invalid
src/components/draco-compressor.ts:96
↓ 1 callers
Function
verifyWebUserToken
(token: string | undefined)
src/accounts/token.ts:39
↓ 1 callers
Method
writeHeartbeat
(heartbeat: WorkerHeartbeat)
src/worker/worker-store.ts:10
Function
authMiddleware
(req: Request, res: Response, next: NextFunction)
src/middleware/auth.ts:116
Method
baseUrl
()
src/cloud/tencent-credentials.ts:79
Method
checkWechatInvoiceSubMerchantStatus
(subMchid: string)
src/payments/http-payment-provider.ts:108
Method
checkWechatInvoiceSubMerchantStatus
(subMchid: string)
src/payments/types.ts:109
Method
claim
(jobId: string, input: ClaimJobInput)
src/jobs/job-store.ts:169
Method
claim
(jobId: string, input: ClaimJobInput)
src/jobs/job-store.ts:399
Method
claim
(jobId: string, input: ClaimJobInput)
src/jobs/job-store.ts:633
Method
claimNext
(input: ClaimJobInput)
src/cloud/queue.ts:43
Method
claimNext
(input: ClaimJobInput)
src/cloud/queue.ts:69
Method
claimNext
(input: ClaimJobInput)
src/jobs/job-store.ts:184
Method
claimNext
(input: ClaimJobInput)
src/jobs/job-store.ts:415
Method
claimNext
(input: ClaimJobInput)
src/jobs/job-store.ts:649
Method
claimNext
()
tests/unit/invoice-service.test.ts:21
Method
claimNext
()
tests/unit/external-api.test.ts:28
Method
claimNext
()
tests/unit/account-wallet.test.ts:22
Method
complete
(_job: CloudJob)
src/cloud/queue.ts:47
Method
complete
(job: CloudJob)
src/cloud/queue.ts:96
Method
complete
()
tests/unit/invoice-service.test.ts:25
Method
complete
()
tests/unit/external-api.test.ts:32
Method
complete
()
tests/unit/account-wallet.test.ts:26
Method
compress
(document: Document, options: TextureOptions)
src/components/texture-compressor.ts:49
Method
constructor
(code: string, message: string, details?: Record<string, unknown>)
src/components/mesh-simplifier.ts:29
Method
constructor
(code: string, message: string, details?: Record<string, unknown>)
src/components/texture-compressor.ts:37
Method
constructor
( code: string, message: string, step?: string, details?: Record<string, unknown> )
src/components/optimization-pipeline.ts:80
Method
constructor
(code: string, message: string, details?: Record<string, unknown>)
src/components/draco-compressor.ts:30
Method
constructor
* Creates a new StorageManager instance * * @param config - Optional storage configuration
src/utils/storage.ts:91
Method
constructor
( readonly statusCode: number, readonly code: string, message: string, readonly details?: Reco
src/utils/http-error.ts:2
Method
constructor
(private readonly rootDir: string = config.cloud.localObjectRoot)
src/cloud/object-storage.ts:64
Method
constructor
( private readonly cos: COS = requireTencentCosClient(), private readonly stsIssuer: TencentStsUploadG
src/cloud/object-storage.ts:132
Method
constructor
(private readonly store: JobStore = jobStore)
src/cloud/queue.ts:24
Method
constructor
( private readonly store: JobStore = jobStore, private readonly client: TencentCmqClient = createTence
src/cloud/queue.ts:60
Method
constructor
(private readonly options: TencentCloudApiClientOptions)
src/cloud/tencent-cloud-api.ts:26
Method
constructor
(private readonly options: TencentCmqClientOptions)
src/cloud/tencent-cmq-client.ts:75
Method
constructor
( private readonly client: TencentCloudApiClient = new TencentCloudApiClient({ host: 'sts.tencentclo
src/cloud/tencent-sts.ts:16
Method
constructor
(private readonly credentials: TencentCredentials)
src/cloud/tencent-credentials.ts:33
Method
constructor
( private readonly options: { roleName?: string; baseUrl?: string; timeoutMs?: number;
src/cloud/tencent-credentials.ts:43
Method
constructor
( private readonly runtime: DispatcherRuntimeConfig, private readonly scaler: ScalingBackend = createS
src/dispatcher/dispatcher.ts:45
Method
constructor
(private readonly options: TencentAsClientOptions)
src/dispatcher/tencent-as-client.ts:44
Method
constructor
( private readonly groupIds: string[], private readonly client: TencentAsClient = createTencentAsClien
src/dispatcher/tencent-as-client.ts:130
Method
constructor
( private readonly store: AccountStore = accountStore, private readonly jobs: CloudJobService = cloudJ
src/accounts/account-service.ts:76
Method
constructor
(private readonly filePath: string = config.billing.accountStorePath)
src/accounts/account-store.ts:99
Method
constructor
(private readonly client: MySqlQueryable = getMySqlPool())
src/accounts/account-store.ts:471
Method
constructor
(private readonly client: SqlQueryable = getPostgresPool())
src/accounts/account-store.ts:1090
Method
constructor
(from: CloudJobStatus, to: CloudJobStatus)
src/jobs/state-machine.ts:16
Method
constructor
(private readonly filePath: string = config.cloud.jobStorePath)
src/jobs/job-store.ts:121
Method
constructor
(private readonly client: SqlQueryable = getPostgresPool())
src/jobs/job-store.ts:315
Method
constructor
(private readonly client: MySqlQueryable = getMySqlPool())
src/jobs/job-store.ts:547
Method
constructor
( private readonly store: JobStore = jobStore, private readonly queue: QueueProvider = createQueueProv
src/jobs/job-service.ts:58
Method
constructor
( private readonly runtime: WorkerRuntimeConfig, private readonly queue: QueueProvider = createQueuePr
src/worker/cloud-worker.ts:65
Method
constructor
(private readonly rootDir = 'data/cloud/workers')
src/worker/worker-store.ts:14
Method
constructor
(private readonly client: SqlQueryable = getPostgresPool())
src/worker/worker-store.ts:24
Method
constructor
(private readonly client: MySqlQueryable = getMySqlPool())
src/worker/worker-store.ts:60
Method
constructor
(options: BusinessMonitorOptions = {})
src/monitor/business-monitor.ts:30
Method
constructor
* Creates a new OptimizationError. * * @param code - Error code from ERROR_CODES * @param message - Error message * @param details - Optio
src/models/error.ts:303
Method
constructor
( private readonly store: OrderStore = orderStore, private readonly jobs: CloudJobService = cloudJobSe
src/billing/billing-service.ts:22
Method
constructor
(private readonly filePath: string = config.billing.orderStorePath)
src/billing/order-store.ts:29
Method
constructor
(private readonly client: SqlQueryable = getPostgresPool())
src/billing/order-store.ts:148
Method
constructor
(private readonly client: MySqlQueryable = getMySqlPool())
src/billing/order-store.ts:290
Method
constructor
(private readonly filePath: string = config.invoice.storePath)
src/invoices/invoice-store.ts:67
Method
constructor
(private readonly client: MySqlQueryable = getMySqlPool())
src/invoices/invoice-store.ts:211
Method
constructor
(private readonly client: SqlQueryable = getPostgresPool())
src/invoices/invoice-store.ts:418
Method
constructor
( private readonly store: InvoiceStore = invoiceStore, private readonly accounts: AccountStore = accou
src/invoices/invoice-service.ts:81
Method
constructor
(private readonly payments: PaymentProvider = createPaymentProvider())
src/invoices/invoice-provider.ts:39
Method
constructor
( private readonly baseUrl: string, private readonly apiKey?: string )
src/payments/http-payment-provider.ts:29
Method
create
(job: CloudJob)
src/jobs/job-store.ts:123
Method
create
(job: CloudJob)
src/jobs/job-store.ts:317
Method
create
(job: CloudJob)
src/jobs/job-store.ts:549
Method
create
(order: BillingOrder)
src/billing/order-store.ts:31
Method
create
(order: BillingOrder)
src/billing/order-store.ts:150
Method
create
(order: BillingOrder)
src/billing/order-store.ts:292
Method
createDownloadUrl
(object: CosObjectRef, expiresInSeconds: number = config.cloud.cosDownloadUrlTtlSeconds)
src/cloud/object-storage.ts:118
Method
createDownloadUrl
(object: CosObjectRef, expiresInSeconds: number = config.cloud.cosDownloadUrlTtlSeconds)
src/cloud/object-storage.ts:214
Function
createFileTooLargeError
( fileSize: number, maxSize: number )
src/models/error.ts:185
Function
createInternalError
(message?: string)
src/models/error.ts:248
Function
createInvalidFileError
( message?: string, details?: Record<string, unknown> )
src/models/error.ts:171
Function
createInvalidOptionsError
( message?: string, details?: Record<string, unknown> )
src/models/error.ts:203
← previous
next →
701–800 of 989, ranked by callers