MCPcopy Create free account

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

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

↓ 4 callersMethodstart
* Main entrypoint for the function
servers/account-data-deleter/src/dataService/importers/OmnivoreImport.ts:73
↓ 4 callersMethodstorePocketMetadata
( input: PocketMetadataEntity, ttl: number, )
servers/parser-graphql-wrapper/src/databases/pocketMetadataStore.ts:20
↓ 4 callersFunctiontimeIt
( callback: AsyncFunction<any>, options: TimeItOptions, )
packages/backend-benchmarking/src/timeIt.ts:37
↓ 4 callersFunctiontinyPow
(b, e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:1862
↓ 4 callersFunctionunleash
()
servers/parser-graphql-wrapper/src/unleash.ts:7
↓ 4 callersFunctionunleash
()
servers/account-data-deleter/src/unleash.ts:7
↓ 4 callersMethodupdateListItemMany
* Build a query to update the `time_updated` field of many items * the list table, by item id. * @param itemIds The item IDS to update the `time
servers/list-api/src/dataService/savedItemsService.ts:494
↓ 4 callersMethodupdateStatus
* Update the status of an export request in dynamodb * @param payload * @returns updated attributes, or undefined if the update failed without e
servers/account-data-deleter/src/dataService/exportStateService.ts:215
↓ 4 callersFunctionupsertSavedItem
( db: Knex, status: number, date: Date, archived = false, )
servers/list-api/src/test/graphql/mutations/savedItemById/savedItemsMutationService-delete.integration.ts:10
↓ 4 callersFunctionvalidateApiKey
(key: string)
servers/braze-content-proxy/src/utils.ts:34
↓ 4 callersFunctionvalidateDate
(date: string)
servers/braze-content-proxy/src/utils.ts:15
↓ 4 callersMethodvalidatePagination
* Validates the pagination object to restrict how many records * can be fetched per query * @param pagination * @private
servers/user-list-search/src/datasource/SavedItemsDataSource.ts:33
↓ 4 callersMethodwriteToDatabase
* Writes the update to the database * If the value is not found, throws a NOT_FOUND error * Skips the row whose value is already set. * @para
servers/list-api/src/dataService/pocketSavesService.ts:251
↓ 4 callersFunctionyr
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 4 callersFunctionyt
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:18
↓ 3 callersFunction$t
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:17
↓ 3 callersMethod$transaction
(n,i)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:177
↓ 3 callersFunctionCi
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 3 callersFunctionDn
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 3 callersFunctionGi
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:1
↓ 3 callersFunctionGt
(e,t,r,n)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 3 callersFunctionJo
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:156
↓ 3 callersFunctionListItemTransformerComplete
( savedItem: SavedItemComplete, index: number, )
servers/v3-proxy-api/src/graph/get/toRest.ts:304
↓ 3 callersFunctionListItemTransformerSimple
( savedItem: SavedItemSimple, index: number, )
servers/v3-proxy-api/src/graph/get/toRest.ts:294
↓ 3 callersFunctionPr
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:18
↓ 3 callersFunctionQt
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 3 callersFunctionTi
(e={})
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 3 callersFunctionUi
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:1
↓ 3 callersFunctionXi
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 3 callersFunctionZi
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 3 callersFunctionZt
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:111
↓ 3 callersFunctionaccountDeleteHandler
(record: SQSRecord)
lambdas/account-delete-monitor/src/handlers/accountDeleteHandler.ts:16
↓ 3 callersFunctionaccountMergeHandler
(record: SQSRecord)
lambdas/account-delete-monitor/src/handlers/accountMergeHandler.ts:13
↓ 3 callersMethodaddMarginSymbol
(t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 3 callersMethodafterNextNewline
(t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 3 callersFunctionassertApiAndUserSchema
(eventContext: { [p: string]: any })
servers/shared-snowplow-consumer/src/snowplow/user/userEventHandler.integration.ts:65
↓ 3 callersFunctionassertShareableListItemSchema
(eventContext)
servers/shared-snowplow-consumer/src/snowplow/shareableListItem/shareableListItemEventHandler.integration.ts:43
↓ 3 callersFunctionassertValidSnowplowEventContext
(data)
servers/list-api/src/test/integrations/snowplowHandler.integration.ts:51
↓ 3 callersFunctionassertValidSnowplowObjectUpdateEvents
( events, triggers: ObjectUpdate['trigger'][], )
servers/shared-snowplow-consumer/src/snowplow/user/userEventHandler.integration.ts:20
↓ 3 callersMethodbatchWrite
* Retry logic for batch write operations * The sdk input is not typed well (so defaulting to any here for ease), * but needs to be a valid array
servers/annotations-api/src/dataservices/notes.ts:186
↓ 3 callersFunctionbuildCollectionUrl
(slug: string, langCode: string)
lambdas/user-list-search-corpus-parser-hydration/src/utils.ts:15
↓ 3 callersFunctionbuildCollectionUrl
(slug: string, langCode: string)
lambdas/user-list-search-corpus-indexing/src/utils.ts:13
↓ 3 callersMethodbuildCorpusSearchResultEvent
* Build the event for a corpus search result, with User and APIUser contexts.
servers/user-list-search/src/events/EventBus.ts:57
↓ 3 callersMethodbuildQueryError
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:102
↓ 3 callersFunctioncaptureException
(exception: any, breadcrumbs?: Map)
lambdas/sendgrid-data/src/sentry.ts:41
↓ 3 callersFunctionchunkArray
(array: any, batch_size: number)
lambdas/sendgrid-data/src/sendgrid/util.ts:1
↓ 3 callersFunctioncleanSearchTerm
(searchTerm: string)
servers/user-list-search/src/datasource/elasticsearch/elasticsearchSearch.ts:382
↓ 3 callersFunctioncompare
(a, b, aL, bL)
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:1225
↓ 3 callersFunctioncreateConnection
(dbConfig: { host: string; port: string; user: string; password: string; database: string; timezon
servers/user-list-search/src/datasource/clients/knexClient.ts:69
↓ 3 callersFunctioncreateDeadLetterQueueAlarm
( stack: Construct, snsTopic: dataAwsSnsTopic.DataAwsSnsTopic, queueName: string, alarmName: string,
infrastructure/pocket-event-bridge/src/event-rules/utils.ts:20
↓ 3 callersMethodcreateShare
( input: CreateShareEntity, )
servers/shares-api/src/datasources/shares.ts:30
↓ 3 callersFunctioncreateSuccessResponseMessage
( totalEvents: number, failedEvents: number, )
lambdas/fxa-webook-proxy-gateway/src/index.ts:66
↓ 3 callersFunctioncs
(e,t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:167
↓ 3 callersFunctiondaysSinceTodayInCentralTime
(days: number)
servers/feature-flags/src/unleashClient/strategy/accountAge.spec.ts:33
↓ 3 callersMethoddecodeCursor
* Decode the pagination cursor * @param cursor cursor (_*_ separated string of itemId and cursor value) * @returns [itemId, cursorValue]
servers/list-api/src/dataService/listPaginationService.ts:452
↓ 3 callersFunctiondeduplicateTagInput
( tagInputs: TagSaveAssociation[], )
servers/list-api/src/models/tag.ts:545
↓ 3 callersMethoddeleteByAnnotationIds
* Delete data by annotation ids and userId. * Typically used when a Pocket User deletes their account. * Called by the batchDelete handler. *
servers/annotations-api/src/dataservices/highlights.ts:320
↓ 3 callersMethoddeleteMessage
* Delete a message that has been handled from the * BatchDelete queue * @param message SQS Message recieved from BatchDelete queue
servers/annotations-api/src/server/aws/batchDeleteHandler.ts:71
↓ 3 callersFunctiondeleteShareableListItemsForUser
( listIds: number[] | bigint[], )
servers/shareable-lists-api/src/public/routes/deleteUserData.ts:44
↓ 3 callersMethoddeleteTagsByItemId
(itemId: string)
servers/list-api/src/dataService/tagDataService.ts:583
↓ 3 callersFunctiondeleteUsers
(dynamoUtils: BatchDeleteDyanmoClient)
lambdas/account-data-deleter-batch-delete/src/index.ts:31
↓ 3 callersMethodemail
()
servers/user-api/src/models/User.ts:114
↓ 3 callersFunctionensureHttpPrefix
(url: string)
servers/list-api/src/resolvers/utils.ts:12
↓ 3 callersFunctioneo
(e,t,r,n)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 3 callersFunctionfailCallback
( module: string, error: Error, dataType: string, userId: string, traceId: string, annotationId?:
servers/annotations-api/src/server/routes/helper.ts:13
↓ 3 callersMethodfetchFromEnv
* Gets the value from the environment or errors * @param key * @returns
packages/int-mask/src/intMask.ts:47
↓ 3 callersFunctionfetchParameter
( parameterName: string, )
packages/lambda-secrets/src/secrets.ts:24
↓ 3 callersMethodfindField
(t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:167
↓ 3 callersMethodfindUnique
* Find zero or one List that matches the filter. * @param {ListFindUniqueArgs} args - Arguments to find a List * @example * // Get one
servers/shareable-lists-api/prisma/src/generated/client/index.d.ts:1258
↓ 3 callersFunctionflatMapKey
(objects: T[], key: keyof T)
packages/backend-benchmarking/src/seeds/list.spec.ts:40
↓ 3 callersMethodfromEntity
* Convert DynamoDB entity to GraphQL Type
servers/shares-api/src/models/PocketShare.ts:55
↓ 3 callersMethodfromFxaId
* Alternate async constructor method from FxA ID * instead of Pocket User ID. Sets userId to the * Pocket UserID value. * @throws NotFoundErr
servers/user-api/src/dataService/userDataService.ts:50
↓ 3 callersFunctiongenerateJwt
( privateKey: PocketJWK, options: { sub?: string; issuer: string; aud: string; apiId: stri
packages/jwt-utils/src/jwt.ts:27
↓ 3 callersMethodgenerateRoute53Zone
( scope: Construct, domain: string, tags?: { [key: string]: string }, provider?: TerraformProv
packages/terraform-modules/src/base/ApplicationBaseDNS.ts:62
↓ 3 callersMethodgetAllClientExtensions
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 3 callersMethodgetAllComputedFields
(t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 3 callersMethodgetDeepField
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 3 callersMethodgetDeepSelectionParent
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 3 callersMethodgetErrorMessageWithLink
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:101
↓ 3 callersMethodgetEventBridge
()
packages/terraform-modules/src/pocket/PocketEventBridgeRuleWithMultipleTargets.ts:40
↓ 3 callersMethodgetExportUrl
( prefix: string, encodedId: string, )
servers/account-data-deleter/src/dataService/exportStateService.ts:76
↓ 3 callersFunctiongetFilterTerms
( filters: ElasticSearchParams['filters'], )
servers/user-list-search/src/datasource/elasticsearch/elasticsearchSearch.ts:176
↓ 3 callersMethodgetHighlightByIdQuery
* Get highlight by a given ID * @param id * @private
servers/annotations-api/src/dataservices/highlights.ts:247
↓ 3 callersFunctiongetId
(doc: BaseDocument)
servers/user-list-search/src/saves/elasticsearch.ts:16
↓ 3 callersMethodgetItems
* Gets item data for the given item ids * @param itemIds
servers/user-list-search/src/datasource/DataSourceInterface.ts:67
↓ 3 callersMethodgetPublicJwk
* Get public JWK from the auth server
lambdas/fxa-webook-proxy-gateway/src/jwt.ts:22
↓ 3 callersFunctiongetRedis
()
servers/image-api/src/cache/index.ts:27
↓ 3 callersFunctiongetRedisCache
()
servers/parser-graphql-wrapper/src/cache/index.ts:19
↓ 3 callersMethodgetSavedItemIds
* Get saved item IDs for a given user. * @param offset * @param limit
servers/list-api/src/dataService/savedItemsService.ts:527
↓ 3 callersFunctiongetSavedItemTagsMap
( input: SavedItemTagsInput[], )
servers/list-api/src/resolvers/utils.ts:52
↓ 3 callersMethodgetSelectionParent
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 3 callersFunctiongetSqsMessages
( queueUrl: string, )
servers/list-api/src/test/graphql/mutations/savedItemById/savedItemsMutationService-upsert.integration.ts:36
↓ 3 callersMethodgetSuggestedBySaveId
* Get paginated saved item tags * @param parent
servers/list-api/src/models/tag.ts:196
↓ 3 callersMethodgetTagByName
(tagName: string)
servers/list-api/src/dataService/tagDataService.ts:175
↓ 3 callersFunctionhandlerFn
(event: SQSEvent)
lambdas/account-data-deleter-events/src/index.ts:13
↓ 3 callersMethodhasField
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 3 callersFunctionii
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 3 callersFunctionisExtension
(apiId: number | undefined)
servers/v3-proxy-api/src/utils.ts:18
↓ 3 callersMethodloadImport
* Load an omnivore export archive file and extract all json metadata * records into a flat array * @returns an array of the json metadata record
servers/account-data-deleter/src/dataService/importers/OmnivoreImport.ts:29
↓ 3 callersMethodmapLines
(t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:111
← previousnext →401–500 of 2,695, ranked by callers