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
ensureParentDir
(filePath: string)
src/accounts/account-store.ts:94
↓ 1 callers
Function
ensureParentDir
(filePath: string)
src/jobs/job-store.ts:34
↓ 1 callers
Function
ensureParentDir
(filePath: string)
src/billing/order-store.ts:24
↓ 1 callers
Function
ensureParentDir
(filePath: string)
src/invoices/invoice-store.ts:62
↓ 1 callers
Function
exchangeAuthServiceAuthorizationCode
( code: string, codeVerifier: string, runtimeConfig = getAuthServiceRuntimeConfig() )
src/accounts/auth-service.ts:113
↓ 1 callers
Function
exchangeWechatOAuthCode
( code: string, runtimeConfig = getWechatOAuthRuntimeConfig() )
src/accounts/wechat-oauth.ts:171
↓ 1 callers
Function
executeStep
* Execute a single optimization step. * * @param step - The step name to execute * @param document - The gltf-transform Document * @param options
src/components/optimization-pipeline.ts:158
↓ 1 callers
Function
extractAppId
(bucket: string)
src/cloud/tencent-sts.ts:82
↓ 1 callers
Function
extractHeaderValue
(header: string, name: string)
tests/unit/payment-provider.test.ts:5
↓ 1 callers
Function
extractZipAndFindModel
(zipPath: string, scratchDir: string)
src/utils/model-input.ts:103
↓ 1 callers
Function
fetchAuthServiceWechatWidgetConfig
( input: { state: string; codeChallenge: string; returnTo?: string }, runtimeConfig = getAuthServiceRuntim
src/accounts/auth-service.ts:181
↓ 1 callers
Method
fetchRoleName
()
src/cloud/tencent-credentials.ts:89
↓ 1 callers
Method
findByIdempotencyKey
(tenantId: string, idempotencyKey: string)
src/jobs/job-store.ts:20
↓ 1 callers
Method
findByOutTradeNo
(outTradeNo: string)
src/billing/order-store.ts:13
↓ 1 callers
Function
findExistingWebOptimizeJob
(input: { userId: string; inputHash: string; inputExtension: string; optionsHash: string; })
src/routes/account.ts:223
↓ 1 callers
Method
findInvoiceRequestByOutTradeNo
(outTradeNo: string)
src/invoices/invoice-store.ts:18
↓ 1 callers
Method
findInvoiceRequestByProviderApplyId
(providerApplyId: string)
src/invoices/invoice-store.ts:19
↓ 1 callers
Function
findModelFile
(dir: string, rootDir = dir, seen = { files: 0, bytes: 0 })
src/utils/model-input.ts:68
↓ 1 callers
Function
formatRemainingTime
(ms)
public/app.js:300
↓ 1 callers
Method
get
(orderId: string)
src/billing/order-store.ts:41
↓ 1 callers
Function
getAccessorAttributeType
* Get the attribute type from an accessor by checking its usage in primitives. * * @param accessor - The accessor to check * @param document - The
src/components/vertex-quantizer.ts:67
↓ 1 callers
Function
getAttributesToQuantize
* Determine which attributes will be quantized based on options. * * @param document - The gltf-transform Document * @param options - Quantization
src/components/vertex-quantizer.ts:93
↓ 1 callers
Function
getAutoSimplifyRecommendation
(totalTriangles)
public/app.js:925
↓ 1 callers
Function
getDracoModules
()
src/components/draco-singleton.ts:26
↓ 1 callers
Function
getGltfExtensions
(options: GltfIOOptions = {})
src/components/gltf-io.ts:16
↓ 1 callers
Function
getHttpStatusForError
(code: ErrorCode)
src/models/error.ts:258
↓ 1 callers
Method
getInvoiceRequest
(invoiceRequestId: string)
src/invoices/invoice-store.ts:16
↓ 1 callers
Function
getOptimizationFailureNote
(result: { steps?: Array<{ success: boolean; error?: string }> })
src/components/paid-optimization-runner.ts:35
↓ 1 callers
Function
getOptions
()
public/app.js:1433
↓ 1 callers
Method
getOrder
(orderId: string)
src/billing/billing-service.ts:58
↓ 1 callers
Method
getQueueAttributes
()
src/cloud/tencent-cmq-client.ts:107
↓ 1 callers
Method
getRechargeOrder
(userId: string, orderId: string)
src/accounts/account-service.ts:172
↓ 1 callers
Method
getRechargeOrderInvoiceDownloadUrl
(userId: string, orderId: string)
src/invoices/invoice-service.ts:325
↓ 1 callers
Function
getRequestToken
(req: Request)
src/middleware/auth.ts:37
↓ 1 callers
Function
getResultFile
(taskId: string)
src/utils/storage.ts:558
↓ 1 callers
Method
getResultFileMetadata
* Gets metadata for a result file * * @param taskId - The task identifier * @returns File metadata, or null if not found
src/utils/storage.ts:267
↓ 1 callers
Method
getResultMetadata
* Retrieves metadata for an optimized result. * * @param taskId - The task identifier * @returns Result metadata, or null if not found
src/utils/storage.ts:181
↓ 1 callers
Function
getStatusCode
* Get HTTP status code for an error code. * @param errorCode - The error code * @returns HTTP status code
src/middleware/error-handler.ts:33
↓ 1 callers
Function
getSupportedUploadExtensions
(allowZip = true)
src/utils/model-input.ts:205
↓ 1 callers
Function
getTexturesToProcess
(document: Document, slots?: string[])
src/components/texture-compressor.ts:124
↓ 1 callers
Function
getUploadedFile
(taskId: string)
src/utils/storage.ts:548
↓ 1 callers
Method
getUser
(userId: string)
src/accounts/account-store.ts:23
↓ 1 callers
Method
getWallet
(userId: string)
src/accounts/account-store.ts:195
↓ 1 callers
Function
getWebToken
(req: Request)
src/middleware/web-auth.ts:16
↓ 1 callers
Method
getWechatInvoiceFiles
(fapiaoApplyId: string, fapiaoId?: string)
src/payments/types.ts:108
↓ 1 callers
Method
getWechatInvoiceUserTitle
( fapiaoApplyId: string, scene?: 'WITH_WECHATPAY' | 'WITHOUT_WECHATPAY' )
src/payments/types.ts:101
↓ 1 callers
Method
handlePaymentNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/accounts/account-service.ts:230
↓ 1 callers
Method
handleWechatIssuedNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/invoices/invoice-service.ts:241
↓ 1 callers
Method
handleWechatNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/invoices/invoice-service.ts:102
↓ 1 callers
Method
handleWechatReverseNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/invoices/invoice-service.ts:245
↓ 1 callers
Method
handleWechatTitleNotification
(headers: Record<string, unknown>, rawBody: Buffer | string)
src/invoices/invoice-service.ts:88
↓ 1 callers
Function
hashFile
(filePath: string)
src/utils/optimization-metadata.ts:51
↓ 1 callers
Method
holdJobCharge
(input: { user: WebUser; jobId: string; amountCents: number })
src/accounts/account-store.ts:32
↓ 1 callers
Function
init
()
src/components/draco-singleton.ts:14
↓ 1 callers
Function
initViewers
()
public/app.js:714
↓ 1 callers
Method
initialize
* Initializes storage directories * Creates the uploads and results directories if they don't exist
src/utils/storage.ts:101
↓ 1 callers
Method
insertInvoiceRequest
(request: InvoiceRequest)
src/invoices/invoice-store.ts:330
↓ 1 callers
Method
insertInvoiceRequest
(request: InvoiceRequest)
src/invoices/invoice-store.ts:537
↓ 1 callers
Method
insertJobChargeRow
(client: MySqlQueryable, charge: JobCharge)
src/accounts/account-store.ts:1001
↓ 1 callers
Method
insertJobChargeRow
(client: SqlQueryable, charge: JobCharge)
src/accounts/account-store.ts:1583
↓ 1 callers
Method
insertRechargeOrderRow
(client: MySqlQueryable, order: RechargeOrder)
src/accounts/account-store.ts:945
↓ 1 callers
Method
insertRechargeOrderRow
(client: SqlQueryable, order: RechargeOrder)
src/accounts/account-store.ts:1527
↓ 1 callers
Method
installSignalHandlers
()
src/dispatcher/dispatcher.ts:130
↓ 1 callers
Method
installSignalHandlers
()
src/worker/cloud-worker.ts:324
↓ 1 callers
Function
isBinarySTL
* Check if STL is binary format.
src/components/format-converter.ts:121
↓ 1 callers
Function
isBrowserPreviewFormat
(ext: string)
src/routes/analyze.ts:193
↓ 1 callers
Function
isCollada2gltfAvailable
* Check if COLLADA2GLTF is available.
src/components/format-converter.ts:191
↓ 1 callers
Function
isEmptyQueueResponse
(response: TencentCmqResponse)
src/cloud/tencent-cmq-client.ts:66
↓ 1 callers
Function
isFbx2gltfAvailable
* Check if FBX2glTF is available.
src/components/format-converter.ts:380
↓ 1 callers
Function
isHttpError
(error: unknown)
src/utils/http-error.ts:13
↓ 1 callers
Function
isManifestObjectKey
(key: string)
src/jobs/cos-manifest.ts:23
↓ 1 callers
Function
isProcessingLeaseExpired
(job: CloudJob, now: Date)
src/dispatcher/scaling.ts:8
↓ 1 callers
Function
isRetryReady
(job: CloudJob, now: Date)
src/dispatcher/scaling.ts:4
↓ 1 callers
Function
isRetryReady
(job: CloudJob, now: Date)
src/jobs/job-store.ts:56
↓ 1 callers
Function
isSameOrigin
(value: string, originSource: string)
src/accounts/auth-service.ts:243
↓ 1 callers
Function
isToktxAvailable
* Check if toktx is available
src/components/texture-compressor.ts:81
↓ 1 callers
Function
isUsdAvailable
* Check if USD Python tools are available.
src/components/format-converter.ts:421
↓ 1 callers
Function
isWechatCallbackProbe
(req: Request)
src/routes/invoices.ts:21
↓ 1 callers
Function
isWechatSignatureValidationProbe
(req: Request, error: unknown)
src/routes/invoices.ts:27
↓ 1 callers
Method
issue
(object: CosObjectRef, expiresInSeconds: number)
src/cloud/tencent-sts.ts:25
↓ 1 callers
Method
issueRechargeInvoice
(input: IssueRechargeInvoiceInput)
src/invoices/invoice-provider.ts:21
↓ 1 callers
Function
jobOptionsHash
(job: CloudJob)
src/routes/account.ts:203
↓ 1 callers
Function
jobOriginalExtension
(job: CloudJob)
src/routes/account.ts:191
↓ 1 callers
Function
jobReportObject
(job: CloudJob)
src/routes/account.ts:158
↓ 1 callers
Method
listJobs
()
src/jobs/job-service.ts:135
↓ 1 callers
Method
listPaidWebJobs
(userId: string)
src/accounts/account-service.ts:266
↓ 1 callers
Function
listZipEntries
(zipPath: string)
src/utils/model-input.ts:54
↓ 1 callers
Function
loadAccountProviders
()
public/app.js:189
↓ 1 callers
Function
loadBuildInfo
()
src/index.ts:61
↓ 1 callers
Function
loadWechatLoginScript
()
public/app.js:515
↓ 1 callers
Function
main
()
src/dispatcher/run-dispatcher.ts:4
↓ 1 callers
Function
main
()
src/worker/run-worker.ts:4
↓ 1 callers
Function
main
()
src/monitor/run-monitor.ts:4
↓ 1 callers
Function
main
()
scripts/usdz_to_glb.py:267
↓ 1 callers
Method
markIssuedFromWechatNotification
(input: MarkInvoiceIssuedInput)
src/invoices/invoice-service.ts:213
↓ 1 callers
Method
markPaid
(orderId: string, transactionId?: string)
src/billing/billing-service.ts:62
↓ 1 callers
Method
markRechargePaidByOutTradeNo
(outTradeNo: string, transactionId?: string)
src/accounts/account-service.ts:213
↓ 1 callers
Method
markWalletChargeHeld
(jobId: string, chargeId: string)
src/jobs/job-service.ts:181
↓ 1 callers
Function
maskEmail
(value?: string)
src/invoices/invoice-service.ts:28
↓ 1 callers
Function
maskPhone
(value?: string)
src/invoices/invoice-service.ts:22
← previous
next →
501–600 of 989, ranked by callers