MCPcopy
hub / github.com/tolgee/tolgee-platform / build

Method build

webapp/src/constants/links.tsx:33–39  ·  view source on GitHub ↗
(params: { [key: string]: string | number } = {})

Source from the content-addressed store, hash-verified

31 }
32
33 public build(params: { [key: string]: string | number } = {}): string {
34 let link = this.template;
35 for (const param of Object.keys(params)) {
36 link = link.replace(`:${param}`, params[param].toString());
37 }
38 return link;
39 }
40
41 buildWithOrigin(params?: { [key: string]: string | number }) {
42 return window.origin + this.build(params);

Callers 15

buildWithOriginMethod · 0.95
EmailNotVerifiedViewFunction · 0.80
GoToBillingFunction · 0.80
ProjectLinkFunction · 0.80
useAfterLoginRedirectFunction · 0.80
AfterLoginRedirectFunction · 0.80
QuickStartStepFunction · 0.80
MfaDisabledItemFunction · 0.80
MfaEnabledItemFunction · 0.80
PasswordChangedItemFunction · 0.80
NotificationsPopupFunction · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected