MCPcopy Create free account

hub / github.com/opral/inlang / functions

Functions1,233 in github.com/opral/inlang

↓ 135 callersMethodreplace
(target: any)
packages/parrot-figma/src/ui/compontents/translationEditor/blots/List.tsx:124
↓ 72 callersMethodsetPluginData
(node: BaseNodeMixin, dataKey: string, data: string)
packages/parrot-figma/src/lib/migrations/MigrationManager.ts:289
↓ 71 callersFunctionloadProjectInMemory
( args: { blob: Blob; lixKeyValues?: NewKeyValue[]; } & Omit<Parameters<typeof loadProject>[0], "sqlite"
packages/sdk/src/project/loadProjectInMemory.ts:8
↓ 65 callersFunctionnewProject
(args?: { settings?: ProjectSettings; })
packages/sdk/src/project/newProject.ts:15
↓ 57 callersFunctionparse
(sourceCode: string, _settings: PluginSettings)
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:36
↓ 49 callersFunctioncreateNodeishMemoryFs
()
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:93
↓ 42 callersMethodgetPluginData
(key: string)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManager.ts:1722
↓ 37 callersFunctiongetVariant
( message: Message, args: { where: { languageTag: string } } )
packages/plugins/next-intl/src/plugin.test.ts:25
↓ 37 callersFunctionloadProjectFromDirectory
( args: { /** * The path to the inlang project directory. */ path: string; /** * The file syst
packages/sdk/src/project/loadProjectFromDirectory.ts:30
↓ 33 callersFunctionparse
(sourceCode: string, settings: PluginSettings)
packages/plugins/i18next/src/ideExtension/messageReferenceMatchers.ts:255
↓ 31 callersFunctionsaveProjectToDirectory
(args: { /** * The file system module to use for writing files. * * Accepts either `node:fs` or `node:f
packages/sdk/src/project/saveProjectToDirectory.ts:62
↓ 27 callersFunctionfetch
( request: Request, _env: unknown, ctx: { waitUntil: (promise: Promise<unknown>) => void }, )
packages/website-v2/src/worker.ts:16
↓ 27 callersFunctionrunImportFiles
(json: Record<string, any>)
packages/plugins/inlang-message-format/src/import-export/roundtrip.test.ts:1119
↓ 26 callersFunctionrunExportFilesParsed
( imported: any, settings: Record<string, unknown> = {} )
packages/plugins/inlang-message-format/src/import-export/roundtrip.test.ts:1170
↓ 25 callersFunctionparse
(sourceCode: string)
packages/plugins/m-function-matcher/src/ideExtension/messageReferenceMatchers.ts:264
↓ 23 callersMethodgetMessage
(id: string)
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:206
↓ 23 callersFunctionrunExportFilesParsed
(imported: any, settings?: any)
packages/plugins/i18next/src/import-export/roundtrip.test.ts:1058
↓ 23 callersFunctionrunImportFiles
(json: Record<string, any>, settings?: any)
packages/plugins/i18next/src/import-export/roundtrip.test.ts:1010
↓ 17 callersMethodgetRefLanugage
()
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:187
↓ 17 callersFunctiontransformBundleId
(messageId: string)
packages/plugins/m-function-matcher/src/ideExtension/utils/transformBundleId.ts:1
↓ 16 callersFunctionparseMessage
(args: { messageSource: string; bundleId: string; locale: string; })
packages/plugins/icu1/src/parse.ts:52
↓ 16 callersFunctionrunExportFilesParsed
(imported: { bundles: any[]; messages: any[]; variants: any[]; })
packages/plugins/icu1/src/roundtrip.test.ts:263
↓ 16 callersFunctionrunImportFiles
( messagesByLocale: Record<string, Record<string, string>>, )
packages/plugins/icu1/src/roundtrip.test.ts:248
↓ 15 callersMethodupdateLabelProperties
( nodeId: string, changedProperties: { labelName?: string; messageState?: | { type: "linke
packages/parrot-figma/src/lib/localizedlabels/UILocalizedLabel.ts:26
↓ 14 callersMethodaddNode
(node: BaseNode, nodeId: string, parentNode?: BaseNode)
packages/parrot-figma/src/lib/localizedlabels/VirtualTree.ts:40
↓ 14 callersMethodimport
(messagesToImport: Message[], language: Locale)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:691
↓ 14 callersFunctionnormalPath
* Removes extraneous dots and slashes, resolves relative paths and ensures the * path begins and ends with '/'
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:356
↓ 14 callersFunctionreplaceAll
(str: string, find: string, replace: string)
packages/plugins/json/src/utilities.ts:7
↓ 13 callersFunctioninitDb
(args: { sqlite: SqliteWasmDatabase })
packages/sdk/src/database/initDb.ts:8
↓ 12 callersFunctionisCodeAt
(lexicalInfo: LexicalInfo, index: number)
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:826
↓ 12 callersFunctionparse
(sourceCode: string)
packages/plugins/t-function-matcher/src/ideExtension/messageReferenceMatchers.ts:86
↓ 12 callersMethodrefreshLabelMessageLinkCache
(textNodeId: string, messageId: string | undefined)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManager.ts:115
↓ 11 callersFunctionabsolutePathFromProject
( projectPath: string, filePath: string )
packages/sdk/src/project/path-helpers.ts:48
↓ 11 callersFunctionadd
(args: { fs: typeof import("node:fs/promises"); workingDirectory?: string; })
packages/recommendations/recommend-sherlock/src/index.ts:41
↓ 11 callersFunctioncreateChangeEvent
(detail: ChangeEventDetail)
packages/ui-components/editor-component/src/helper/event.ts:19
↓ 11 callersMethodgetRootPluginData
(key: string)
packages/parrot-figma/src/shared/FigmaUtil.ts:48
↓ 11 callersFunctionimportFiles
(args: { files: ImportFile[]; readonly pluginKey: string; readonly settings: ProjectSettings; readonly plu
packages/sdk/src/import-export/importFiles.ts:11
↓ 11 callersMethodregister
()
packages/parrot-figma/src/ui/compontents/translationEditor/blots/MyList.tsx:43
↓ 10 callersMethodformat
(name: string, value: any)
packages/parrot-figma/src/ui/compontents/translationEditor/blots/List.tsx:83
↓ 10 callersFunctiongetParaglideBlogRedirect
(slug: string)
packages/website-v2/src/blog/paraglideBlogRedirects.ts:6
↓ 10 callersFunctionloadMarketplacePage
({ uid, slug, splat, }: { uid: string; slug: string; splat?: string; })
packages/website-v2/src/marketplace/marketplaceData.ts:116
↓ 10 callersMethodtoLocalizedLabelOrUndefined
(node: TextNode)
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManager.ts:1236
↓ 9 callersFunctioncreateMessage
(args: { bundleId: string; locale: ProjectSettings["locales"][number]; text: string; matches?: Match[]; })
packages/sdk/src/helper.ts:59
↓ 9 callersFunctionserializeMessage
(args: { bundle: Bundle; message: Message; variants: Variant[]; })
packages/plugins/icu1/src/serialize.ts:14
↓ 9 callersFunctionskipWhitespace
( sourceCode: string, start: number, lexicalInfo: LexicalInfo )
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:753
↓ 8 callersFunctiondetectJsonFormatting
( file: string )
packages/sdk/src/utilities/detectJsonFormatting.ts:10
↓ 8 callersFunctionextractMarkdownDescription
(markdown: string)
packages/website-v2/src/marketplace/seo.ts:214
↓ 8 callersMethodgetSelection
(focus?: boolean)
packages/parrot-figma/src/lib/external/quill-react/index.tsx:67
↓ 8 callersMethodremove
()
packages/parrot-figma/src/ui/compontents/translationEditor/blots/List.tsx:24
↓ 8 callersFunctionselectBundleNested
(db: Kysely<InlangDatabaseSchema>)
packages/sdk/src/query-utilities/selectBundleNested.ts:20
↓ 8 callersFunctiontimeAgo
(dateString: string)
packages/fink/src/helper/timeAgo.ts:1
↓ 8 callersMethodupdateLabelProperties
* Updates the label with the given nodeId with provided changes and updates the cache * @param nodeId * @param changedProperties
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:557
↓ 7 callersFunctionbuildMessage
(messageSource: string)
packages/plugins/icu1/src/serialize.test.ts:11
↓ 7 callersMethodcommitUndo
()
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:502
↓ 7 callersFunctioncompareSemver
(left: string, right: string)
packages/sdk/src/project/meta.ts:51
↓ 7 callersFunctiongetBasename
(path: string)
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:343
↓ 7 callersFunctiongetDirname
(path: string)
packages/parrot-figma/src/lib/message/store/inlang/FigmaRootFs.ts:333
↓ 7 callersFunctiongetParaglideRedirectForPath
(pathname: string)
packages/website-v2/src/marketplace/legacyRedirects.ts:41
↓ 7 callersMethodinit
( sizeWrapperEl: HTMLElement, contentEl: HTMLElement, resizeHandelEl: HTMLElement, heightResizeHandleE
packages/parrot-figma/src/lib/windowManager/WindowManagerUI.ts:51
↓ 7 callersMethodnotifyError
(message: string)
packages/parrot-figma/src/shared/FigmaUtil.ts:86
↓ 7 callersFunctiononCancel
()
packages/parrot-figma/src/ui/compontents/textfield/TextField.tsx:52
↓ 7 callersFunctionpathExists
( filePath: string, nodeishFs: typeof import("node:fs/promises") )
packages/recommendations/recommend-sherlock/src/recommendation/utils/exists.ts:7
↓ 7 callersMethodrefreshCachedLabel
* @param label the label to create a cache entry for or refresh the existing one * @returns true if a refresh was needed
packages/parrot-figma/src/lib/localizedlabels/LocalizedLabelManagerUI.ts:64
↓ 7 callersMethodregisterInstance
(instance: any)
packages/parrot-figma/src/lib/rpc/AsyncFunctionProxy.ts:98
↓ 7 callersFunctionresolveRelativeUrl
( value: string, baseUrl: string, options: { appendMarkdownExtension?: boolean } = {}, )
packages/website-v2/src/marketplace/marketplaceData.ts:421
↓ 7 callersFunctionserializePattern
( pattern: Pattern, options: { inPlural: boolean }, )
packages/plugins/icu1/src/serialize.ts:394
↓ 7 callersMethodtoQueryObject
(searchString: string)
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:256
↓ 6 callersMethodcreateRuleForField
(styleField: string)
packages/parrot-figma/src/lib/localizedlabels/lint/rules/MixedStyleNotSupported.ts:11
↓ 6 callersFunctionfindMatchingDelimiter
( sourceCode: string, start: number, open: string, close: string, lexicalInfo: LexicalInfo )
packages/plugins/next-intl/src/ideExtension/messageReferenceMatchers.ts:732
↓ 6 callersMethodfindMessages
* what do we want to search * "emission" * - all messageNames with "emission" in their name * or * - all messageNames with "emission" in the
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:371
↓ 6 callersMethodfocus
()
packages/parrot-figma/src/lib/external/quill-react/index.tsx:518
↓ 6 callersFunctiongetMarketplaceSubpageTitle
(input: MarketplaceHeadInput)
packages/website-v2/src/marketplace/seo.ts:40
↓ 6 callersFunctionimportPlugins
(args: { lix: Lix; settings: ProjectSettings; preprocessPluginBeforeImport?: PreprocessPluginBeforeImportFu
packages/sdk/src/plugin/importPlugins.ts:16
↓ 6 callersFunctionisMarketplaceMirrorPage
( manifestId: string, pagePath: string, )
packages/website-v2/src/marketplace/marketplaceData.ts:109
↓ 6 callersMethodproxyAsyncMethods
* monkey patches all async method of the given instnce and proxies calls via figmas postMessage to * sandbox or / the ui * * @param instance
packages/parrot-figma/src/lib/rpc/AsyncFunctionProxy.ts:56
↓ 6 callersFunctionresolveHtmlAssetLinks
( html: string, baseUrl?: string, pageLinkMap?: PageLinkMap, )
packages/website-v2/src/marketplace/marketplaceData.ts:364
↓ 6 callersFunctionsetContainer
(pos: { height: number; top: number })
packages/parrot-figma/src/ui/compontents/select/select.tsx:225
↓ 6 callersFunctionskipWhitespace
(value: string, index: number)
packages/plugins/inlang-message-format/src/import-export/importFiles.ts:400
↓ 6 callersFunctiontoAbsolutePath
* Convert relative paths to absolute paths based on the manifest link. * @param {string} baseUrl - The base URL of the manifest. * @param {string} r
packages/marketplace-registry/buildRegistry.js:79
↓ 6 callersMethodupsertMessage
(message: Message, _defaultParameters: MessageParameterValues)
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:543
↓ 6 callersMethodupsertVariantPatternHtml
( message: Message, sourceLanguage: Locale | undefined, language: Locale, match: string[], patternHt
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:683
↓ 5 callersFunctionbuildMarketplaceSoftwareJsonLd
(input: SoftwareJsonLdInput)
packages/website-v2/src/marketplace/seo.ts:140
↓ 5 callersFunctionbuildMarketplaceTitle
(input: MarketplaceHeadInput)
packages/website-v2/src/marketplace/seo.ts:8
↓ 5 callersFunctiongetColor
(unformattedColor: string)
packages/ui-components/editor-component/src/helper/overridePrimitiveColors.ts:44
↓ 5 callersFunctiongetColor
(unformattedColor: string)
packages/ui-components/settings-component/src/helper/overridePrimitiveColors.ts:40
↓ 5 callersMethodgetLanugages
()
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:168
↓ 5 callersFunctiongetParaglideBlogRedirectForPath
(pathname: string)
packages/website-v2/src/blog/paraglideBlogRedirects.ts:14
↓ 5 callersMethodgetUser
(userId: string)
packages/parrot-figma/src/lib/usage/UsageManager.tsx:293
↓ 5 callersMethodhtmlForPattern
(message: Message, languageTag: string, match?: string[])
packages/parrot-figma/src/lib/message/store/MessageStoreMemory.ts:851
↓ 5 callersMethodpatternHtmlToPattern
(patternHtml: string)
packages/parrot-figma/src/lib/migrations/MigrationManager.ts:61
↓ 5 callersMethodpropagateState
(awaitLocalStateIntegrated = true)
packages/parrot-figma/src/lib/usage/UsageManager.tsx:165
↓ 5 callersFunctionreadIdentifier
( value: string, index: number )
packages/plugins/inlang-message-format/src/import-export/importFiles.ts:414
↓ 5 callersFunctionrunExportFiles
( imported: Awaited<ReturnType<typeof importFiles>>, settings: Record<string, unknown> = {} )
packages/plugins/inlang-message-format/src/import-export/roundtrip.test.ts:1132
↓ 5 callersFunctionrunExportFiles
( imported: Awaited<ReturnType<typeof importFiles>>, settings?: any )
packages/plugins/i18next/src/import-export/roundtrip.test.ts:1023
↓ 5 callersFunctionshouldRecommend
(args: { fs: typeof import("node:fs/promises"); workingDirectory?: string; })
packages/recommendations/recommend-sherlock/src/index.ts:13
↓ 5 callersFunctionupdateCurrentHighlightIndex
(newIndex: number | undefined)
packages/parrot-figma/src/ui/compontents/selectInput/inputselect.tsx:161
↓ 5 callersFunctionupdateEntities
(args: { entities: { bundles: Bundle[]; messages: Message[]; variants: Variant[]; }; change:
packages/ui-components/editor-component/src/mock/updateEntities.ts:4
↓ 5 callersFunctionwithCache
( moduleLoader: (uri: string) => Promise<string>, lix: Lix )
packages/sdk/src/plugin/cache.ts:60
↓ 5 callersFunctionwithLanguageTagToLocaleMigration
( settings: ProjectSettings )
packages/sdk/src/migrations/v2/withLanguageTagToLocaleMigration.ts:9
↓ 4 callersFunctionTranslatable
(type: T)
packages/marketplace-manifest/src/translatable.ts:49
next →1–100 of 1,233, ranked by callers