MCPcopy Create free account

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

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

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