MCPcopy Create free account

hub / github.com/Axinom/mosaic-media-template / functions

Functions1,868 in github.com/Axinom/mosaic-media-template

↓ 190 callersMethodexecuteOwnerSql
( user: AuthenticatedManagementSubject, callback: (client: TxnClient<IsolationLevel>) => Promise<T>,
services/channel/service/src/tests/test-utils/test-context.ts:138
↓ 158 callersMethodrunGqlQuery
( query: string | DocumentNode, variables?: Dict<any>, requestContext?: TestRequestContext, op
services/channel/service/src/tests/test-utils/test-context.ts:128
↓ 100 callersMethodrunGqlQuery
( query: string | DocumentNode, variables?: Dict<any>, requestContext?: TestRequestContext, )
services/catalog/service/src/tests/test-utils/test-context.ts:124
↓ 90 callersFunctiontransformAjvErrors
( errors: TErrorObject[] | null | undefined, data: string | unknown, objectName = 'document', )
services/media/service/src/common/utils/validation-utils.ts:9
↓ 72 callersMethodhandleMessage
( { payload, metadata }: TypedTransactionalMessage<DeleteEntityCommand>, ownerClient: ClientBase, )
services/media/service/src/domains/common/handlers/delete-entity-handler.ts:39
↓ 70 callersFunctioncreateTestContext
( configOverrides: Dict<string> = {}, storeOutboxMsg?: StoreOutboxMessage, storeInboxMsg?: StoreInboxMes
services/media/service/src/tests/test-utils/test-context.ts:166
↓ 65 callersFunctioncreateDocument
(data: Record<string, unknown>)
services/media/service/src/tests/ingest/ingest-validation-schema.spec.ts:11
↓ 50 callersMethodgenerate
(originalEvent: ChannelPublishedEvent)
services/vod-to-live/service/src/domains/smil/generator/channel-smil-generator.ts:28
↓ 43 callersMethodexecuteGqlSql
( user: AuthenticatedManagementSubject, callback: (client: TxnClient<IsolationLevel>) => Promise<T>,
services/media/service/src/tests/test-utils/test-context.ts:137
↓ 41 callersFunctioncommonPublishValidator
( data: SnapshotAggregationResults, jsonSchema?: Record<string, unknown>, customValidation?: (json: unkn
services/media/service/src/publishing/utils/common-publish-validator.ts:13
↓ 39 callersMethodexecuteOwnerSql
( callback: (client: TxnClient<IsolationLevel>) => Promise<T>, )
services/catalog/service/src/tests/test-utils/test-context.ts:129
↓ 39 callersFunctiongetUpdatedTime
()
services/media/service/src/tests/movies/update-propogation.db.spec.ts:27
↓ 34 callersFunctioncreateTestUser
( serviceId: string, overrides?: Partial<AuthenticatedManagementSubject>, )
services/media/service/src/tests/test-utils/test-user.ts:8
↓ 33 callersFunctioncreateHeaderMetadata
( name: string, content: string | boolean | number | undefined | null, )
services/vod-to-live/service/src/domains/smil/models/utils.ts:76
↓ 31 callersFunctioncreateTestContext
( configOverrides: Dict<string> = {}, )
services/catalog/service/src/tests/test-utils/test-context.ts:134
↓ 30 callersFunctiontransformSecondsToWallClock
( seconds?: number | undefined, )
services/vod-to-live/service/src/domains/smil/models/utils.ts:30
↓ 29 callersFunctiongetUpsertMessageData
( serviceId: string, entityType: string, entityId: number, fields: Record<string, unknown>, entityTi
services/media/service/src/domains/common/utils/localization-utils.ts:8
↓ 26 callersFunctioncreateTestConfig
( overrides: Dict<string> = {}, testFilePath?: string, )
services/media/service/src/tests/test-utils/test-config.ts:10
↓ 26 callersFunctioncreateTestRequestContext
( serviceId: string, subject?: AuthenticatedManagementSubject, )
services/media/service/src/tests/test-utils/test-context.ts:154
↓ 26 callersFunctioncreateValidationError
( message: string, context: PublishValidationContextEnum, postfix?: string, )
services/channel/service/src/publishing/models/publish-validation-message.ts:33
↓ 26 callersFunctioncreateValidationWarning
( message: string, context: PublishValidationContextEnum, postfix?: string, )
services/channel/service/src/publishing/models/publish-validation-message.ts:21
↓ 26 callersMethodhandleMessage
( { payload, metadata, id, aggregateId, }: TypedTransactionalMessage<EnsureVid
services/media/service/src/ingest/handlers/video-failed-handler.ts:27
↓ 24 callersFunctioncreateTestVideo
( isDrmProtected: boolean, id?: string, duration?: number, )
services/vod-to-live/service/src/tests/test-utils.ts:21
↓ 24 callersMethodmapError
(error: unknown)
services/media/service/src/ingest/handlers/video-failed-handler.ts:52
↓ 24 callersFunctionresolve
( _parent: unknown, input: { [argName: string]: unknown }, context:
services/media/service/src/graphql/plugins/bulk-mutation-plugin-factory.ts:309
↓ 23 callersFunctionbuildDisplayTitle
(...args: any[])
services/media/service/src/domains/common/utils/build-display-title.ts:32
↓ 23 callersFunctionsyncInMemoryLocales
( input: { language_tag: string; is_default_locale: boolean }[], queryable: Queryable, )
services/catalog/service/src/common/db/in-memory-locales.ts:46
↓ 22 callersFunctiongetVideosMetadata
( videoServiceBaseUrl: string, authToken: string, mainVideoId: string | null, trailers: TrailerJSONSel
services/media/service/src/domains/common/utils/get-videos-metadata.ts:146
↓ 20 callersMethodupdateMetadata
( content: UpdateMetadataCommand, ctx: Queryable, ingestItemId?: number, )
services/media/service/src/ingest/models/ingest-entity-processor.ts:65
↓ 19 callersFunctionbuildPublishingId
( table: Table, entityId: number | string, )
services/media/service/src/publishing/utils/publishing-common.ts:27
↓ 19 callersFunctiongetTimestamp
()
services/media/service/scripts/ingest-gen.ts:77
↓ 19 callersMethodhandleMessage
({ payload, }: TypedTransactionalMessage<CheckChannelJobStatusFailedEvent>)
services/channel/service/src/domains/channel/messaging/check-channel-job-status-failed-event-handler.ts:22
↓ 17 callersFunctioncreateTestUser
( serviceId: string, overrides?: Partial<AuthenticatedManagementSubject>, permissions: string[] = ['ADMI
services/channel/service/src/tests/test-utils/test-user.ts:7
↓ 17 callersFunctiongetUpdatedTime
()
services/media/service/src/tests/collections/update-propogation.db.spec.ts:19
↓ 17 callersFunctiongetValidatedExtendedContext
( value: unknown, )
services/media/service/src/graphql/plugins/extended-graphql-context.ts:29
↓ 16 callersFunctioncreateSearchableFilter
( label: string, property: keyof T, items: K[] | undefined, labelSelector: (item: K) => string, plac
services/media/workflows/src/Util/FilterUtils.ts:19
↓ 16 callersFunctioncreateTestContext
( configOverrides: Dict<string> = {}, storeOutboxMsg?: StoreOutboxMessage, )
services/channel/service/src/tests/test-utils/test-context.ts:161
↓ 16 callersFunctioncustomIngestValidation
( document: IngestDocument, )
services/media/service/src/ingest/utils/ingest-validation.ts:15
↓ 16 callersFunctiongenerateChannelFilePath
( channelId: string, fileName: string, )
services/vod-to-live/service/src/domains/live-stream/utils.ts:20
↓ 16 callersFunctiongetLongLivedToken
( subjectToken: string, config: Pick< Config, | 'idServiceAuthBaseUrl' | 'serviceAccountClient
services/media/service/src/common/utils/token-utils.ts:53
↓ 16 callersMethodhandleMessage
( { payload }: TypedTransactionalMessage<SeasonPublishedEvent>, txnClient: ClientBase, )
services/catalog/service/src/domains/tvshows/handlers/season-published-event-handler.ts:36
↓ 16 callersFunctionsetIsLocalizationEnabledDbFunction
( isLocalizationEnabled: boolean, pool: OwnerPgPool, )
services/media/service/src/common/db/set-is-localization-enabled-db-function.ts:15
↓ 15 callersFunctioncreateSnapshotWithRelation
( entityType: EntityTypeEnum, entityId: number, jobId: string, queryable: Queryable, )
services/media/service/src/publishing/utils/snapshot-utils.ts:71
↓ 15 callersFunctiongetEnumLabel
(input: string)
services/media/workflows/src/Util/StringEnumMapper/StringEnumMapper.ts:3
↓ 15 callersFunctiongetImagesMetadata
( imageServiceBaseUrl: string, authToken: string, images: ImageJSONSelectable[], )
services/media/service/src/domains/common/utils/get-images-metadata.ts:38
↓ 15 callersFunctionuseNotification
()
services/media/workflows/src/Util/Notifications/NotificationContext.tsx:10
↓ 14 callersFunctioncreateApiObject
(nodes: GqlVideo[])
services/media/service/src/domains/common/utils/get-videos-metadata.spec.ts:23
↓ 14 callersFunctioncreateTextFilter
( label: string, property: keyof T, )
services/media/workflows/src/Util/FilterUtils.ts:8
↓ 14 callersFunctiongenerateSnapshotJobId
()
services/media/service/src/publishing/utils/publishing-common.ts:17
↓ 13 callersFunctioncreateEventStream
( outOfNetworkIndicator: OutOfNetworkIndicator, spliceEventId?: string | undefined, )
services/vod-to-live/service/src/domains/smil/models/utils.ts:86
↓ 13 callersMethodhandleErrorMessage
( error: Error, { metadata }: TypedTransactionalMessage<EnsureVideoExistsFailedEvent>, ownerClient
services/media/service/src/ingest/handlers/video-failed-handler.ts:60
↓ 12 callersFunctioncreateDateRangeFilters
( property: keyof T, fromLabel: string, toLabel: string, createFromValidator: (key: keyof T) => Filter
services/media/workflows/src/Util/FilterUtils.ts:37
↓ 12 callersFunctioncreateMessageBody
( element: { id: number; external_id: string | null }, data: Record<string, unknown>, type: MediaE
services/media/service/src/domains/movies/handlers/ingest-movie-processor-update-metadata.db.spec.ts:51
↓ 12 callersFunctiongetValidationAndImages
( imageServiceBaseUrl: string, authToken: string, imageIds: string[], expectSingleImage: boolean, )
services/channel/service/src/publishing/common/image/get-validation-and-images.ts:14
↓ 11 callersFunctionconvertObjectToXml
( expandedObject: string | ExpandObject, )
services/vod-to-live/service/src/domains/common/utils.ts:10
↓ 11 callersFunctioncreateParallel
( reference: ParallelReference, eventStream?: EventStream | undefined, clipBegin?: number | undefined,
services/vod-to-live/service/src/domains/smil/models/utils.ts:17
↓ 11 callersFunctioncreateTestCpixSettings
(isDrmProtected: boolean)
services/vod-to-live/service/src/domains/smil/generator/playlist-smil-generator.spec.ts:195
↓ 11 callersFunctiongetExpectedMetadataHeaders
( isDrmProtected: boolean, playlistId: string, startDateTime: string, )
services/vod-to-live/service/src/domains/smil/generator/playlist-smil-generator.spec.ts:203
↓ 10 callersFunctiongetValidationAndVideos
( videoServiceBaseUrl: string, authToken: string, selectedVideos: SelectedVideo[], exactlyOneVideo: bo
services/channel/service/src/publishing/common/video/get-validation-and-videos.ts:26
↓ 10 callersMethodhandleMessage
( { payload }: TypedTransactionalMessage<MoviePublishedEvent>, txnClient: ClientBase, )
services/catalog/service/src/domains/movies/handlers/movie-published-event-handler.ts:36
↓ 10 callersMethodhandleMessage
( { payload }: TypedTransactionalMessage<ChannelPublishedEvent>, txnClient: ClientBase, )
services/catalog/service/src/domains/channels/handlers/channel-published-event-handler.ts:30
↓ 10 callersFunctionpublishNowNotification
({ link, snapshotNo, }: { link: string; snapshotNo?: number; })
services/media/workflows/src/Util/Notifications/PublishNowNotification.tsx:4
↓ 10 callersFunctionunpublishNotification
()
services/media/workflows/src/Util/Notifications/UnpublishNotification.tsx:1
↓ 10 callersFunctionvideoToSmilParallelReferences
( video: DetailedVideo, formats: StreamParams[], )
services/vod-to-live/service/src/domains/smil/generator/utils.ts:117
↓ 9 callersFunctioncreateListSnapshot
( info: EntityListInfo, jobId: string, queryable: Queryable, )
services/media/service/src/publishing/utils/snapshot-utils.ts:141
↓ 9 callersFunctioncreateLocalizations
()
services/channel/service/src/domains/channel/publishing/publish-channel.db.spec.ts:95
↓ 9 callersFunctioncreateTestConfig
( overrides: Dict<string> = {}, testFilePath?: string, )
services/channel/service/src/tests/test-utils/test-config.ts:4
↓ 9 callersFunctioncreateValidationObject
( messages: GqlValidationMessage[], hash?: string, )
services/channel/service/src/publishing/common/localization/get-validation-and-localizations.spec.ts:34
↓ 9 callersFunctiongetBulkEditImageSelectField
(type, scope, maxItems)
services/media/workflows/src/Util/BulkEdit/ImageSelectField.tsx:10
↓ 9 callersMethodhandleMessage
( { payload, metadata }: TypedTransactionalMessage<PublishEntityCommand>, ownerClient: ClientBase, )
services/media/service/src/publishing/handlers/publish-entity-handler.ts:44
↓ 9 callersFunctionloadInMemoryLocales
( queryable: Queryable, logger: Logger, )
services/catalog/service/src/common/db/in-memory-locales.ts:81
↓ 9 callersFunctionrequestServiceAccountToken
( config: Pick< Config, | 'idServiceAuthBaseUrl' | 'serviceAccountClientId' | 'serviceAccoun
services/media/service/src/common/utils/token-utils.ts:19
↓ 8 callersFunctionaction
()
services/catalog/service/src/messaging/utils/utils.spec.ts:58
↓ 8 callersFunctionbuildPublishingId
( entityType: 'CHANNEL' | 'PLAYLIST' | 'PROGRAM' | 'MOVIE' | 'EPISODE', entityId: number | string, )
services/channel/service/src/publishing/common/utils.ts:6
↓ 8 callersFunctioncreateMessage
( payload: LocalizableCollectionImageDbEvent, messageContext?: unknown, )
services/media/service/src/domains/collections/localization/localizable-collection-image-db-message-handlers.spec.ts:64
↓ 8 callersFunctioncreateMessage
( payload: LocalizableMovieImageDbEvent, messageContext?: unknown, )
services/media/service/src/domains/movies/localization/localizable-movie-image-db-message-handlers.spec.ts:64
↓ 8 callersFunctioncreateMessage
( payload: LocalizableSeasonImageDbEvent, messageContext?: unknown, )
services/media/service/src/domains/tvshows/localization/localizable-season-image-db-message-handlers.spec.ts:64
↓ 8 callersFunctioncreateMessage
( payload: LocalizableEpisodeImageDbEvent, messageContext?: unknown, )
services/media/service/src/domains/tvshows/localization/localizable-episode-image-db-message-handlers.spec.ts:64
↓ 8 callersFunctioncreateMessage
( payload: LocalizableTvshowImageDbEvent, messageContext?: unknown, )
services/media/service/src/domains/tvshows/localization/localizable-tvshow-image-db-message-handlers.spec.ts:64
↓ 8 callersFunctioncreateMessage
( payload: T, )
services/catalog/service/src/tests/test-utils/messaging-utils.ts:453
↓ 8 callersFunctioncreateOptionsFilter
( label: string, property: keyof T, options: { label: string; value: string | number | boolean }[], )
services/media/workflows/src/Util/FilterUtils.ts:71
↓ 8 callersFunctioncreateVideos
(videoIds: string[])
services/channel/service/src/domains/channel/publishing/publish-channel.db.spec.ts:62
↓ 8 callersFunctiongetLicenseEndSchema
( startProperty = 'licenseStart', )
services/media/workflows/src/Util/LicenseDateSchema/LicenseDateSchema.ts:11
↓ 8 callersFunctiongetLicenseStartSchema
()
services/media/workflows/src/Util/LicenseDateSchema/LicenseDateSchema.ts:6
↓ 8 callersFunctiongetMigrationSettings
( config: DbConfig, logger?: MigrateLogger, )
services/media/service/src/common/db/migration-settings.ts:10
↓ 8 callersFunctiongetMigrationSettings
( config: DbConfig, logger?: MigrateLogger, )
services/entitlement/service/src/common/db/migration-settings.ts:9
↓ 8 callersFunctiongetMigrationSettings
( config: DbConfig, logger?: MigrateLogger, )
services/channel/service/src/common/db/migration-settings.ts:9
↓ 8 callersFunctiongetMigrationSettings
( config: DbConfig, logger?: MigrateLogger, )
services/catalog/service/src/common/db/migration-settings.ts:14
↓ 8 callersFunctiongetReadablePath
(path: string)
services/media/service/src/publishing/utils/common-yup-publish-validators.ts:14
↓ 8 callersFunctiongetSnapshotPgField
( id: number, { pgSql }: Build, // eslint-disable-next-line @typescript-eslint/no-explicit-any graphil
services/media/service/src/publishing/utils/postgraphile-utils.ts:125
↓ 8 callersFunctiongetValidationAndLocalizations
( localizationServiceBaseUrl: string, authToken: string, entityId: string, entityType: string, servi
services/channel/service/src/publishing/common/localization/get-validation-and-localizations.ts:116
↓ 8 callersFunctionrequestServiceAccountToken
( config: Pick< Config, | 'idServiceAuthBaseUrl' | 'serviceAccountClientId' | 'serviceAccoun
services/channel/service/src/common/utils/token-utils.ts:15
↓ 8 callersFunctionresolve
(resolver, source, args, context, resolveInfo)
services/catalog/service/src/domains/tvshows/plugins/extend-episode-query-with-country-code-plugin.ts:16
↓ 7 callersFunctionSnapshotDetailsCrumb
( entityType, params, paramKey, )
services/media/workflows/src/Stations/Publishing/PublishingSnapshotDetails/PublishingSnapshotDetails.tsx:256
↓ 7 callersFunctioncallback
({ graphQLContext, entityIds, entityType, primaryKeyName, tableName, graphQLAdditional
services/media/service/src/graphql/plugins/media-bulk-plugin-factory.ts:17
↓ 7 callersFunctioncreateMessage
(payload: PublishEntityCommand)
services/media/service/src/publishing/handlers/publish-entity-handler.db.spec.ts:34
↓ 7 callersFunctioncreateMessage
( payload: LocalizableChannelImageDbEvent, messageContext?: unknown, )
services/channel/service/src/domains/channel/localization/localizable-channel-image-db-message-handlers.spec.ts:56
↓ 7 callersFunctioncreatePlaylistPublishPayload
( dto: LocalizedPlaylistPublishDto, images: DetailedImage[], videos: DetailedVideo[], )
services/channel/service/src/domains/playlist/publishing/create-playlist-publish-payload.ts:9
↓ 7 callersFunctioncreatePublishObject
(localizations: GqlLocalization[])
services/channel/service/src/publishing/common/localization/get-validation-and-localizations.spec.ts:56
↓ 7 callersFunctiongetDeleteMessageData
( serviceId: string, entityType: string, entityId: number, )
services/media/service/src/domains/common/utils/localization-utils.ts:31
next →1–100 of 1,868, ranked by callers