MCPcopy Create free account

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

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

↓ 3 callersFunctionhideDownloadList
()
public/app.js:294
↓ 3 callersMethodholdOptimizationCharge
(userId: string, jobId: string)
src/accounts/account-service.ts:278
↓ 3 callersMethodinsertLedgerRow
(client: MySqlQueryable, entry: WalletLedgerEntry)
src/accounts/account-store.ts:916
↓ 3 callersMethodinsertLedgerRow
(client: SqlQueryable, entry: WalletLedgerEntry)
src/accounts/account-store.ts:1498
↓ 3 callersFunctionisAuthEnabled
()
src/middleware/auth.ts:32
↓ 3 callersFunctionisAuthServiceConfigured
()
src/accounts/auth-service.ts:109
↓ 3 callersFunctionisSupportedFormat
(ext: string)
src/components/format-converter.ts:30
↓ 3 callersFunctionisTerminalJobStatus
(status: CloudJobStatus)
src/jobs/state-machine.ts:29
↓ 3 callersFunctionloadDownloadList
()
public/app.js:347
↓ 3 callersMethodlockWallet
(client: MySqlQueryable, userId: string)
src/accounts/account-store.ts:889
↓ 3 callersMethodlockWallet
(client: SqlQueryable, userId: string)
src/accounts/account-store.ts:1478
↓ 3 callersMethodloginWithLocalTestAccount
()
src/accounts/account-service.ts:94
↓ 3 callersFunctionmakeTempDir
()
tests/unit/model-input.test.ts:85
↓ 3 callersMethodmaybeSendCallback
(job: CloudJob)
src/worker/cloud-worker.ts:208
↓ 3 callersFunctionnormalizeBuyer
(input: InvoiceBuyer)
src/invoices/invoice-service.ts:35
↓ 3 callersFunctionnormalizeLimit
(limit?: number)
src/accounts/account-store.ts:85
↓ 3 callersFunctionnormalizeLimit
(limit?: number)
src/invoices/invoice-store.ts:57
↓ 3 callersFunctionnormalizeObjectKey
(key: unknown)
src/jobs/cos-manifest.ts:128
↓ 3 callersFunctiononLoad
(obj)
public/app.js:795
↓ 3 callersFunctiononResize
()
public/app.js:741
↓ 3 callersFunctionparseApiKeyDefinitions
(raw: string | undefined = process.env.API_KEYS)
src/middleware/auth.ts:62
↓ 3 callersFunctionparseCosJobManifest
( raw: string, manifestObject: CosObjectRef, principal?: ApiPrincipal )
src/jobs/cos-manifest.ts:28
↓ 3 callersMethodpublish
(message: QueueJobMessage, options?: PublishOptions)
src/cloud/queue.ts:15
↓ 3 callersMethodreadFileIfExists
* Reads a file if it exists
src/utils/storage.ts:356
↓ 3 callersMethodreceiveMessage
()
src/cloud/tencent-cmq-client.ts:88
↓ 3 callersFunctionrecoverExpiredLeaseJob
(job: CloudJob, now: Date, reason?: string)
src/jobs/job-store.ts:97
↓ 3 callersMethodrelease
(job: CloudJob, options?: PublishOptions)
src/cloud/queue.ts:18
↓ 3 callersMethodrequestDrain
(reason: string)
src/worker/cloud-worker.ts:335
↓ 3 callersFunctionrequireTenantId
(value: unknown)
src/jobs/cos-manifest.ts:94
↓ 3 callersFunctionresolveRecoveryLimit
(value?: number)
src/jobs/job-store.ts:46
↓ 3 callersFunctionsaveUploadedFile
(taskId: string, buffer: Buffer)
src/utils/storage.ts:527
↓ 3 callersFunctionsetOptionsEditable
(editable)
public/app.js:1210
↓ 3 callersFunctionsetServerPreviewStatus
(statusText, { loading = false, keepButton = true } = {})
public/app.js:918
↓ 3 callersFunctionsetViewMode
(mode)
public/app.js:874
↓ 3 callersMethodsyncRechargeOrder
(userId: string, orderId: string)
src/accounts/account-service.ts:178
↓ 3 callersFunctiontempFile
(name: string)
tests/unit/external-api.test.ts:41
↓ 3 callersFunctiontoProviderEvent
(input: { eventType: string; dedupeKey: string; payload?: unknown; invoiceRequestId?: string; rechar
src/invoices/invoice-service.ts:59
↓ 3 callersMethodtoUri
(object: CosObjectRef)
src/cloud/object-storage.ts:11
↓ 3 callersMethodtransitionRechargeOrder
(orderId: string, status: Exclude<RechargeOrderStatus, 'paid'>)
src/accounts/account-store.ts:31
↓ 3 callersFunctionupdateAutoSimplifyFromTriangles
(totalTriangles)
public/app.js:1001
↓ 3 callersFunctionupdateMySqlOrderRow
(client: MySqlQueryable, order: BillingOrder)
src/billing/order-store.ts:245
↓ 3 callersMethodupdateWalletRow
(client: MySqlQueryable, wallet: Wallet)
src/accounts/account-store.ts:895
↓ 3 callersMethodupdateWalletRow
(client: SqlQueryable, wallet: Wallet)
src/accounts/account-store.ts:1484
↓ 3 callersMethoduploadObject
(sourcePath: string, object: CosObjectRef)
src/cloud/object-storage.ts:14
↓ 3 callersFunctionupsertOrderRow
(client: SqlQueryable, order: BillingOrder)
src/billing/order-store.ts:102
↓ 3 callersFunctionvalidateOptions
(raw: OptimizationOptions)
src/utils/options-validator.ts:25
↓ 3 callersMethodwrite
(data: InvoiceStoreFile)
src/invoices/invoice-store.ts:150
↓ 2 callersFunctionaddMinutes
(date: Date, minutes: number)
src/accounts/account-service.ts:31
↓ 2 callersFunctionapplyModelDrivenSimplifyOptions
({ preserveOtherOptions = activeOptimizationMode === 'custom' } = {})
public/app.js:992
↓ 2 callersFunctionapplySimplifyOptionFields
(options)
public/app.js:968
↓ 2 callersFunctionassertInside
(parentDir: string, candidatePath: string)
src/utils/model-input.ts:35
↓ 2 callersFunctionauthenticateApiKey
(token: string | undefined)
src/middleware/auth.ts:89
↓ 2 callersFunctionbase64Url
(buffer)
public/app.js:89
↓ 2 callersFunctionbuildEffectiveOptimizeOptions
(preset: PresetName | undefined, options: OptimizationOptions)
src/routes/account.ts:137
↓ 2 callersFunctionbuildRelativeRedirectUrl
(returnTo: string, params: Record<string, string>)
src/routes/account.ts:109
↓ 2 callersFunctionbuildWebOptimizeResult
(job: CloudJob)
src/routes/account.ts:270
↓ 2 callersFunctionbuildWechatApiUrl
(path: string, apiBaseUrl: string, params: Record<string, string>)
src/accounts/wechat-oauth.ts:163
↓ 2 callersFunctionbuildWechatOAuthAuthorizeUrl
(runtimeConfig: WechatOAuthRuntimeConfig, state: string)
src/accounts/wechat-oauth.ts:136
↓ 2 callersFunctionbuyerFromNotification
(event: WechatInvoiceNotification)
src/invoices/invoice-service.ts:54
↓ 2 callersFunctioncalculateAccessorSize
* Calculate the total byte size of all accessors in a document. * * @param document - The gltf-transform Document * @returns Total size in bytes
src/components/vertex-quantizer.ts:47
↓ 2 callersFunctioncanonicalizeOptimizationOptions
(options: OptimizationOptions)
src/utils/optimization-metadata.ts:41
↓ 2 callersMethodcleanupDirectory
* Cleans up old files in a directory
src/utils/storage.ts:432
↓ 2 callersFunctioncleanupOldFiles
(maxAgeMs: number)
src/utils/storage.ts:607
↓ 2 callersFunctionclearAuthServiceSession
()
public/app.js:156
↓ 2 callersFunctioncollectMeshStats
(model)
public/app.js:766
↓ 2 callersMethodcompletePaidWebJobUpload
(userId: string, jobId: string)
src/accounts/account-service.ts:272
↓ 2 callersFunctionconsumeAuthServiceCallbackFromUrl
(callbackHref)
public/app.js:145
↓ 2 callersFunctioncountMaterials
* Count the number of materials in a document. * * @param document - The gltf-transform Document * @returns Number of materials
src/components/resource-cleaner.ts:46
↓ 2 callersFunctioncountMeshes
* Count the number of meshes in a document. * * @param document - The gltf-transform Document * @returns Number of meshes
src/components/mesh-merger.ts:34
↓ 2 callersFunctioncountNodes
* Count the number of nodes in a document. * * @param document - The gltf-transform Document * @returns Number of nodes
src/components/resource-cleaner.ts:36
↓ 2 callersFunctioncountTextures
* Count the number of textures in a document. * * @param document - The gltf-transform Document * @returns Number of textures
src/components/resource-cleaner.ts:56
↓ 2 callersFunctioncountTriangles
* Count the total number of triangles in a document. * * @param document - The gltf-transform Document * @returns Total number of triangles across
src/components/mesh-simplifier.ts:58
↓ 2 callersFunctioncreateBasicMesh
* Helper function to create a basic mesh with position and normal attributes.
tests/unit/draco-compressor.test.ts:10
↓ 2 callersFunctioncreateDocumentWithBasicMesh
()
tests/unit/vertex-quantizer.test.ts:29
↓ 2 callersFunctioncreateDocumentWithMixedMaterials
* Creates a document with mixed materials - some shared, some unique.
tests/unit/mesh-merger.test.ts:87
↓ 2 callersFunctioncreateDocumentWithMultipleTextures
* Helper function to create a document with multiple textures.
tests/unit/texture-compressor.test.ts:85
↓ 2 callersFunctioncreateDocumentWithUsedResources
* Creates a simple document with a mesh that uses a material and texture. * All resources are used.
tests/unit/resource-cleaner.test.ts:19
↓ 2 callersFunctioncreateDracoCompressor
()
src/components/draco-compressor.ts:273
↓ 2 callersFunctioncreateGltfLoader
(side)
public/app.js:748
↓ 2 callersFunctioncreateIndexedMesh
* Creates a document with indexed geometry for better simplification testing.
tests/unit/mesh-simplifier.test.ts:112
↓ 2 callersFunctioncreateInvalidMagicBuffer
* Creates an invalid buffer with wrong magic number
tests/unit/file-validator.test.ts:41
↓ 2 callersFunctioncreateMeshMerger
()
src/components/mesh-merger.ts:103
↓ 2 callersFunctioncreateMeshSimplifier
()
src/components/mesh-simplifier.ts:285
↓ 2 callersFunctioncreateModelUpload
(options: ModelUploadOptions = {})
src/utils/model-upload.ts:17
↓ 2 callersFunctioncreateOptimizationResult
(params: { taskId: string; success: boolean; processingTime: number; originalSize: number; optimized
src/models/result.ts:395
↓ 2 callersFunctioncreateOutTradeNo
(prefix: string)
src/accounts/account-service.ts:25
↓ 2 callersFunctioncreateQueueProvider
()
src/cloud/queue.ts:163
↓ 2 callersFunctioncreateResourceCleaner
()
src/components/resource-cleaner.ts:156
↓ 2 callersFunctioncreateScene
(container)
public/app.js:686
↓ 2 callersFunctioncreateSimplePngBuffer
* Helper function to create a simple 2x2 PNG image buffer. * This creates a minimal valid PNG for testing purposes.
tests/unit/texture-compressor.test.ts:15
↓ 2 callersFunctioncreateUnlitTestGlbFile
* Create a test GLB file with KHR_materials_unlit.
tests/unit/optimization-pipeline.test.ts:132
↓ 2 callersFunctioncreateWebUserToken
(userId: string, tenantId: string)
src/accounts/token.ts:29
↓ 2 callersFunctioncreateWrongVersionBuffer
* Creates a buffer with wrong version
tests/unit/file-validator.test.ts:53
↓ 2 callersFunctiondefaultLeaseDurationMs
()
src/jobs/job-store.ts:38
↓ 2 callersMethoddeferWatchdogMessage
(receiptHandle: string, job: CloudJob)
src/cloud/queue.ts:123
↓ 2 callersMethoddeleteReceipt
(jobId: string)
src/cloud/queue.ts:116
↓ 2 callersMethoddescribe
()
src/dispatcher/types.ts:36
↓ 2 callersFunctiondisplayResult
(data)
public/app.js:1387
↓ 2 callersMethoddownloadObject
(object: CosObjectRef, destinationPath: string)
src/cloud/object-storage.ts:13
↓ 2 callersFunctionemptyFile
()
src/accounts/account-store.ts:46
← previousnext →201–300 of 989, ranked by callers