MCPcopy Create free account

hub / github.com/Pocket/pocket-monorepo / functions

Functions2,695 in github.com/Pocket/pocket-monorepo

↓ 6 callersFunctionMt
(e,t,r,n,i)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 6 callersFunctionUserFirefoxAccountSeed
( input?: Partial<db.UserFirefoxAccount>, )
servers/user-api/src/test/functional/seeds.ts:132
↓ 6 callersMethodaddSuggestion
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 6 callersFunctionar
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:177
↓ 6 callersFunctionatLeastOneOf
( obj: T, keys: K[], )
servers/list-api/src/resolvers/utils.ts:118
↓ 6 callersMethodbatchDeleteUserInformation
* Deletes rows provided for the given table and columnName:columnValue * pairs. * Sleep between deletes so replication lags can catch up. * I
servers/account-data-deleter/src/dataService/accountDeleteDataService.ts:126
↓ 6 callersMethodbatchGetSavedItemsByGivenIds
* Fetch all SavedItems via a list of unique ids from a user's list * @param itemIds the id of the items to fetch
servers/list-api/src/dataService/savedItemsService.ts:180
↓ 6 callersFunctionbuildSearchBody
({ term, fields, from, size, sort, filters, highlightFields, functionalBoosts, }: ElasticSearc
servers/user-list-search/src/datasource/elasticsearch/elasticsearchSearch.ts:300
↓ 6 callersFunctioncontactHash
(contact: string, contactType: number)
servers/user-api/src/utils/email.ts:41
↓ 6 callersFunctioncontextConnection
(query: string)
servers/list-api/src/server/apollo.ts:43
↓ 6 callersFunctioncountAncestors
(node: Node, nodeName: string)
servers/parser-graphql-wrapper/src/marticle/utils.ts:11
↓ 6 callersMethoddeduplicateTagHotfix
* Revert after POCKET-10777
servers/list-api/src/dataService/tagDataService.ts:610
↓ 6 callersMethoddeleteMany
* Delete zero or more Lists. * @param {ListDeleteManyArgs} args - Arguments to filter Lists to delete. * @example * // Delete a few Lis
servers/shareable-lists-api/prisma/src/generated/client/index.d.ts:1412
↓ 6 callersMethoddeleteStripeCustomers
* Make a request to delete stripe customer data * @param stripeIds array of stripe customer IDs to delete * @returns an array of successfully de
servers/account-data-deleter/src/dataService/stripeDataDeleter.ts:47
↓ 6 callersFunctiondeliver
( events: any[], parameters: any, batchSize = 500, )
lambdas/sendgrid-data/src/sendgrid/firehose.ts:27
↓ 6 callersFunctiondynamoClient
()
servers/parser-graphql-wrapper/src/datasources/dynamoClient.ts:23
↓ 6 callersFunctionfetchSecret
( secretName: string, )
packages/lambda-secrets/src/secrets.ts:10
↓ 6 callersMethodgenerateAutoScalingTarget
* Creates an Auto Scaling Target * @param resource * @param config * @returns appautoscalingTarget.AppautoscalingTarget
packages/terraform-modules/src/base/ApplicationAutoscaling.ts:96
↓ 6 callersMethodgenerateAutoSclaingPolicy
* Creates an Autoscaling Policy * @param resource * @param config * @param target * @param type * @returns appautoscalingPolicy.Appauto
packages/terraform-modules/src/base/ApplicationAutoscaling.ts:122
↓ 6 callersFunctiongenerateEvents
(data: FxaPayload)
lambdas/fxa-webook-proxy-gateway/src/index.ts:43
↓ 6 callersFunctiongetClient
(localMocks?: FeatureInterface[])
servers/list-api/src/featureFlags/client.ts:8
↓ 6 callersFunctiongetContentType
(item: ParserItem)
servers/user-list-search/src/saves/elasticsearch.ts:48
↓ 6 callersMethodgetDeepFieldValue
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 6 callersFunctiongetRootDomain
(inputDomain: string)
packages/terraform-modules/src/utilities.ts:7
↓ 6 callersFunctionheadingTransformer
* Transformer for heading tags * @param headingRoot the root node for the heading (h1, ... h6) * @param level the level of the heading * @returns M
servers/parser-graphql-wrapper/src/marticle/marticleParser.ts:340
↓ 6 callersFunctionitemFromUrl
( url: string, { dataLoaders, dataSources, databases }: IContext, )
servers/parser-graphql-wrapper/src/apollo/resolvers.ts:340
↓ 6 callersFunctionloadItemExtended
(db, seedData: SeedData)
servers/user-list-search/src/test/utils/searchIntegrationTestHelpers.ts:49
↓ 6 callersFunctionloadList
(db: Knex, seedData: SeedData)
servers/user-list-search/src/test/utils/searchIntegrationTestHelpers.ts:83
↓ 6 callersFunctionnormalizeDate
(date?: string)
servers/parser-graphql-wrapper/src/datasources/parserApiUtils.ts:125
↓ 6 callersFunctionnormalizeDate
(date: Date)
servers/user-list-search/src/shared/util.ts:20
↓ 6 callersFunctionnormalizeEmail
(email: string)
servers/user-api/src/utils/email.ts:9
↓ 6 callersMethodobjectExists
* Check whether object exists in a Bucket with the given key. * Will return false if an error (repeatedly) prevents accessing * the file, even i
packages/aws-utils/src/S3Bucket.ts:308
↓ 6 callersFunctionparseFieldToInt
(field: string)
servers/shareable-lists-api/src/shared/resolvers/fields/PrismaBigInt.ts:18
↓ 6 callersFunctionparseIntOrNull
(val: any)
servers/parser-graphql-wrapper/src/datasources/parserApiUtils.ts:62
↓ 6 callersMethodrevokeToken
* Revoke an FxA access token, removing Pocket from integrated * apps in Mozilla account, and delete the database record * associated with Mozill
servers/account-data-deleter/src/dataService/FxaRevoker.ts:46
↓ 6 callersFunctionsanitizeTagName
(name: string)
servers/list-api/src/models/tag.ts:488
↓ 6 callersFunctionseedDb
(opts: SeedConfig)
servers/user-list-search/src/test/utils/saveSeeder.ts:248
↓ 6 callersMethodsort
* Convert the sort options passed into the GraphQL * resolver into ES/opensearch request syntax.
servers/user-list-search/src/corpus/CorpusSearchQueryBuilder.ts:185
↓ 6 callersFunctiontaylorSeries
(Ctor, n, x, y, isHyperbolic)
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:1835
↓ 6 callersFunctiontestSavedItemFragment
( mockInput: SavedItemFragment = mockSavedItemFragment, )
servers/v3-proxy-api/src/test/fixtures/fixtures.ts:81
↓ 6 callersFunctiontimeSeconds
(time: number)
servers/v3-proxy-api/src/routes/validations/shared.ts:6
↓ 6 callersFunctiontr
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:163
↓ 6 callersMethodtrackObjectUpdate
( ...[tracker, objectUpdate]: Parameters<typeof baseTrackObjectUpdate<T>> )
servers/shared-snowplow-consumer/src/snowplow/EventHandler.ts:11
↓ 6 callersMethodwriteDb
()
servers/user-api/src/dataService/userDataService.ts:40
↓ 5 callersMethod$on
(n,i)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:177
↓ 5 callersFunctionAddItemTransformer
( savedItem: SavedItemWithParserMetadata, )
servers/v3-proxy-api/src/graph/add/toRest.ts:8
↓ 5 callersFunctionDr
(e,t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 5 callersFunctionIt
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callersFunctionNr
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:21
↓ 5 callersFunctionSr
(e,t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:18
↓ 5 callersFunctionTe
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:111
↓ 5 callersFunctionVe
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 5 callersFunctionbulkIndex
( records: EventPayload[], )
lambdas/user-list-search-corpus-indexing/src/index.ts:66
↓ 5 callersFunctionc
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:6
↓ 5 callersFunctioncheckRoundingDigits
(d, i, rm, repeating)
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:1133
↓ 5 callersMethodcollectErrors
(t="select")
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:155
↓ 5 callersFunctioncreateContextWithUserModels
(userModels: string[])
servers/feature-flags/src/unleashClient/strategy/hasUserModel.spec.ts:91
↓ 5 callersFunctioncreateMockHandler
()
servers/account-data-deleter/src/server.spec.ts:13
↓ 5 callersFunctiondocFromMarkdown
(doc: string)
servers/notes-api/src/models/ProseMirrorDoc.ts:42
↓ 5 callersFunctiondt
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 5 callersFunctiondynamoClient
()
servers/annotations-api/src/database/client.ts:17
↓ 5 callersFunctioneventBridgeClient
()
servers/account-data-deleter/src/dataService/clients.ts:47
↓ 5 callersFunctionextractCodeFromShortUrl
(url: string)
servers/parser-graphql-wrapper/src/shortUrl/shortUrl.ts:220
↓ 5 callersFunctionf
(m,h,g,b)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callersMethodgenerateAcmCertificate
( scope: Construct, domain: string, tags?: { [key: string]: string }, provider?: TerraformProv
packages/terraform-modules/src/base/ApplicationCertificate.ts:79
↓ 5 callersMethodget
* Fetch a note attached to a highlight * @param id the highlight's id (annotation_id in the Pocket db) * @returns HighlightNote, or null if one
servers/annotations-api/src/dataservices/notes.ts:77
↓ 5 callersFunctiongetAllShareableListIdsForUser
( userId: number | bigint, )
servers/shareable-lists-api/src/public/routes/deleteUserData.ts:23
↓ 5 callersMethodgetBySave
* Resolve Item/Pending Item on a Save. If the Item has been fully * processed by the Parser, the Save parent will have a resolvedId * for the It
servers/list-api/src/models/item.ts:17
↓ 5 callersFunctiongetCleanedupDomainName
(domain: string)
servers/user-list-search/src/datasource/elasticsearch/elasticsearchSearch.ts:494
↓ 5 callersFunctiongetContext
* This will return a context after the initialize() function has been called. * * Both the constructor and the initialize evaluate the transfersub a
servers/user-api/src/context.spec.ts:118
↓ 5 callersMethodgetKey
* Generates a cache key from key input * @param key
packages/apollo-utils/src/cache/interface.ts:17
↓ 5 callersMethodgetOrCreate
(t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:111
↓ 5 callersFunctiongetShortCodeForId
(id: number)
servers/parser-graphql-wrapper/src/shortUrl/shortUrl.ts:65
↓ 5 callersMethodguid
* The numeric GUID of the end user
packages/apollo-utils/src/context/pocketContextManager.ts:46
↓ 5 callersMethodinstallHook
(t,r=!1)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:99
↓ 5 callersFunctionknexDbWriteClient
()
servers/user-list-search/src/datasource/clients/knexClient.ts:30
↓ 5 callersFunctionkt
(e,t=!1)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callersFunctionloadUserItem
( item: { item_id: number; url: string; favorite: boolean; title: string; date_added: st
servers/user-list-search/src/saves/premiumSearch.integration.ts:34
↓ 5 callersFunctionloadUserItem
( item: { item_id: number; url: string; favorite: boolean; title: string; date_added: st
servers/user-list-search/src/saves/premiumSearchByOffset.integration.ts:36
↓ 5 callersFunctionmakeResponseForParserTextEndpoint
(options: { url: string; html: string; isArticle: boolean; videoness: Videoness; })
servers/parser-graphql-wrapper/src/test/queries/marticleParser.integration.ts:27
↓ 5 callersFunctionn
(p,f)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:6
↓ 5 callersFunctionnonEmptyStringPropOrError
* Throws if the property `key` is in the object `input` and is an empty string.
servers/v3-proxy-api/src/routes/validations/SendActionValidators.ts:491
↓ 5 callersFunctionp
(m,h,g)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callersMethodparseEngineResponse
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:101
↓ 5 callersFunctionpr
(e,t,r,n)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callersFunctionrandDate
()
servers/account-data-deleter/src/testUtils.ts:11
↓ 5 callersMethodrequest
* Essentially a wrapper over `GraphQLClient.request`, but not all * overloads are implemented since we don't use them all. * Creates a new insta
servers/v3-proxy-api/src/graph/graphQLClient.ts:123
↓ 5 callersFunctionrt
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:19
↓ 5 callersFunctionsanitizeMutationInput
(input: InputType)
servers/shareable-lists-api/src/public/resolvers/utils.ts:51
↓ 5 callersFunctionsavedItemsCompleteToRest
( response: SavedItemsCompleteQuery, options?: { withAnnotations?: boolean }, )
servers/v3-proxy-api/src/graph/get/toRest.ts:490
↓ 5 callersFunctionsetSavedItemsVariables
( requestParams: V3GetParams, )
servers/v3-proxy-api/src/graph/get/toGraphQL.ts:197
↓ 5 callersFunctionsn
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:166
↓ 5 callersFunctionsr
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:167
↓ 5 callersFunctionstartServer
(port: number)
servers/braze-content-proxy/src/server.ts:13
↓ 5 callersFunctionstartServer
(port: number)
servers/shares-api/src/apollo/server.ts:19
↓ 5 callersFunctiontestAlarmValidation
(alarmType: string)
packages/terraform-modules/src/pocket/PocketVersionedLambda.spec.ts:266
↓ 5 callersFunctiontestItemFragment
(mockInput: { itemId: string; __typename: 'PendingItem' | 'Item'; })
servers/v3-proxy-api/src/test/fixtures/fixtures.ts:93
↓ 5 callersMethodtoGraphQl
(response: HighlightNoteEntity)
servers/annotations-api/src/dataservices/notes.ts:51
↓ 5 callersMethodtoString
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:44
↓ 5 callersMethodtransformListRow
* Transform List Row into PocketSave * @param row the List Table Row to transform
servers/list-api/src/models/pocketSave.ts:17
← previousnext →201–300 of 2,695, ranked by callers