MCPcopy Index your code
hub / github.com/simstudioai/sim / buildAttachmentInfoUrl

Function buildAttachmentInfoUrl

apps/sim/tools/agiloft/utils.ts:121–125  ·  view source on GitHub ↗
(base: string, params: AgiloftAttachmentInfoParams)

Source from the content-addressed store, hash-verified

119}
120
121export function buildAttachmentInfoUrl(base: string, params: AgiloftAttachmentInfoParams): string {
122 const id = encodeURIComponent(params.recordId.trim())
123 const fieldName = encodeURIComponent(params.fieldName.trim())
124 return `${base}/ewws/EWAttachInfo/.json?${buildEwBaseQuery(params)}&id=${id}&field=${fieldName}`
125}
126
127export function buildLockRecordUrl(base: string, params: AgiloftLockRecordParams): string {
128 const id = encodeURIComponent(params.recordId.trim())

Callers 1

route.tsFile · 0.90

Calls 1

buildEwBaseQueryFunction · 0.85

Tested by

no test coverage detected