MCPcopy Create free account

hub / github.com/keystonejs/keystone / functions

Functions2,041 in github.com/keystonejs/keystone

↓ 10 callersFunctionisElementActive
( editor: Editor, format: Exclude<ElementFromValidation, { text: string }>['type'] )
packages/fields-document/src/DocumentEditor/utils.ts:41
↓ 10 callersFunctionmakeGqlRequest
(query: string, variables?: Record<string, any>)
tests/admin-ui-tests/utils.ts:31
↓ 10 callersFunctionmakeValidateHook
( meta: FieldData, config: { label?: string db?: { isNullable?: boolean } graphql?:
packages/core/src/fields/non-null-graphql.ts:20
↓ 10 callersFunctionmatch
( context: KeystoneContext, where: Record<string, any> | undefined, expected: any[] )
tests/api-tests/fields/types/fixtures/id/test-fixtures.ts:25
↓ 10 callersFunctionrecordConsole
()
tests/cli-tests/utils.ts:27
↓ 10 callersFunctionsetValue
(v: V, e: E)
design-system/packages/core/src/hooks/useManagedState.ts:26
↓ 10 callersFunctionuseControlledPopover
( { isOpen, onClose }: { isOpen: boolean, onClose: () => void }, popperOptions: Partial<Options> = {}, p
design-system/packages/popover/src/Popover.tsx:33
↓ 9 callersFunctionblockContainer
(args: { allowedChildren: readonly [TypesWhichHaveNoExtraRequiredProps, ...Block['type'][]] invalidPositio
packages/fields-document/src/DocumentEditor/editor-shared.ts:195
↓ 9 callersFunctioncreateCompanyAndLocation
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-one.test.ts:32
↓ 9 callersFunctioncreateLocationAndCompany
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-one.test.ts:53
↓ 9 callersFunctiongetUserAndFriend
(context: KeystoneContext, userId: IdType, friendId: IdType)
tests/api-tests/relationships/crud-self-ref/one-to-one.test.ts:43
↓ 9 callersFunctionmakeDataGetter
( data: Data, errors: readonly GraphQLFormattedError[] | undefined )
packages/core/src/admin-ui/utils/dataGetter.ts:65
↓ 9 callersFunctionmakeThrower
(suffix: string)
tests/api-tests/hooks.test.ts:11
↓ 9 callersFunctionsetup
(create: (...args: any) => Promise<any>)
tests/api-tests/queries/relationships.test.ts:91
↓ 9 callersFunctionuseId
(idFromProps?: string | null)
design-system/packages/core/src/utils.ts:123
↓ 8 callersFunctionbigInt
(config: BigIntFieldConfig<ListTypeInfo> = {})
packages/core/src/fields/types/bigInt/index.ts:36
↓ 8 callersFunctioncheckFile
( filename: string, config: { matrixValue: 's3' } | { matrixValue: 'local', folder: string } )
tests/api-tests/fields/files.test.ts:86
↓ 8 callersFunctioncontroller
( config: FieldControllerConfig<TimestampFieldMeta> )
packages/core/src/fields/types/timestamp/views/index.tsx:230
↓ 8 callersFunctiondeserializeMarkdown
(markdown: string)
packages/fields-document/src/DocumentEditor/pasting/markdown.test.tsx:8
↓ 8 callersFunctionexpectAccessReturnError
( errors: readonly any[] | undefined, args: { path: any[], errors: { tag: string, returned: string }[] }[]
tests/api-tests/utils.ts:127
↓ 8 callersFunctionforUsers
({ admin, moderator, contributor, default: _default, }: { admin?: ({ session }: { session: Session &
examples/usecase-blog-moderated/schema.ts:31
↓ 8 callersFunctiongetAccessFilters
( list: InitialisedList, context: KeystoneContext, operation: keyof typeof list.access.filter )
packages/core/src/lib/core/access-control.ts:126
↓ 8 callersFunctiongetCompanyAndLocation
( context: KeystoneContext, companyId: IdType, locationId: IdType )
tests/api-tests/relationships/crud/many-to-many-one-sided.test.ts:48
↓ 8 callersFunctiongetIDs
(context: KeystoneContext)
tests/api-tests/fields/types/fixtures/id/test-fixtures.ts:19
↓ 8 callersFunctiongetUserAndFriend
(context: KeystoneContext, userId: IdType, friendId: IdType)
tests/api-tests/relationships/crud-self-ref/many-to-many-one-sided.test.ts:40
↓ 8 callersFunctionimportBuiltKeystoneConfiguration
(cwd: string)
packages/core/src/scripts/utils.ts:13
↓ 8 callersFunctioninitialise
({ context }: { context: KeystoneContext })
tests/api-tests/queries/singletons.test.ts:22
↓ 8 callersFunctionmerge
(a?: A, b?: B)
packages/core/src/fields/resolve-hooks.ts:12
↓ 8 callersFunctionorderableFilterTests
( match: Match, valuesInAscendingOrder: readonly [unknown, unknown, unknown, unknown, unknown], isNullab
tests/api-tests/fields/types/utils.ts:103
↓ 8 callersFunctionrange
tests/benchmarks/lib/utils.js:21
↓ 8 callersFunctiontest
(val)
docs/markdoc/index.test.ts:29
↓ 8 callersFunctiontoStr
(items: any[])
tests/api-tests/relationships/nested-mutations/two-way-backreference/to-many.test.ts:12
↓ 8 callersFunctiontransform
(node, config)
docs/markdoc/config.ts:52
↓ 8 callersFunctionuniqueEqualityFilterTest
( field: FieldTypeFunc<BaseListTypeInfo>, values: readonly unknown[], isNullable: boolean )
tests/api-tests/fields/types/utils.ts:138
↓ 8 callersFunctionweakMemoize
(cb: (arg: Arg) => Return)
packages/core/src/lib/core/queries/output-field.ts:62
↓ 7 callersFunctionaddShortcut
( text: string, insert: () => void, shouldBeEnabledInComponentBlock: ( locationDocumentFeatu
packages/fields-document/src/DocumentEditor/block-markdown-shortcuts.ts:31
↓ 7 callersFunctioncapitalise
(s: string)
design-system/website/utils.ts:1
↓ 7 callersFunctioncontextFunctionField
( key: Key, type: ScalarType<Type> | EnumType<Record<string, EnumValue<Type>>> )
packages/core/src/lib/resolve-admin-meta.ts:340
↓ 7 callersFunctioncreateReadData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-many.test.ts:70
↓ 7 callersFunctionexpectBadUserInput
( errors: readonly any[] | undefined, args: { path: any[], message: string }[] )
tests/api-tests/utils.ts:113
↓ 7 callersFunctionexpectFilterDenied
( errors: readonly any[] | undefined, args: { path: any[], message: string }[] )
tests/api-tests/utils.ts:142
↓ 7 callersFunctiongetCompanyAndLocation
( context: KeystoneContext, companyId: IdType, locationId: IdType )
tests/api-tests/relationships/crud/one-to-many-one-sided.test.ts:84
↓ 7 callersFunctiongetInlineNodes
( text: string )
packages/fields-document/src/DocumentEditor/pasting/utils.ts:82
↓ 7 callersFunctiongetUserAndFriend
(context: KeystoneContext, userId: IdType, friendId: IdType)
tests/api-tests/relationships/crud-self-ref/one-to-many-one-sided.test.ts:68
↓ 7 callersFunctionmakeEditorWithChildField
( childField: ChildField, children: Children, normalization: 'disallow-non-normalized' | 'normalize' | '
packages/fields-document/src/DocumentEditor/component-blocks/document-features-normalization.test.tsx:224
↓ 7 callersFunctionmakeEditorWithComplexComponentBlock
()
packages/fields-document/src/DocumentEditor/component-blocks/insertion-and-preview-props.test.tsx:181
↓ 7 callersFunctionprepareFile
(path_: string)
packages/cloudinary/src/test-fixtures.skip.ts:14
↓ 7 callersFunctionprepareFile
(_filePath: string)
tests/api-tests/fields/types/fixtures/image/test-fixtures-skip.ts:10
↓ 7 callersFunctionprepareFile
(_filePath: string)
tests/api-tests/fields/types/fixtures/file/test-fixtures.ts:10
↓ 7 callersFunctionprintTypeReferenceWithoutNullable
( type: GraphQLNamedType | GraphQLList<GraphQLType>, )
packages/core/src/lib/typescript-schema-printer.ts:38
↓ 7 callersFunctionreadOnlyBy
(f: ({ session }: { session?: Session }) => boolean)
examples/usecase-blog-moderated/schema.ts:69
↓ 7 callersFunctionseedMany
(listKey: string, context: any)
tests/api-tests/access.test.ts:249
↓ 7 callersFunctionsetup
(options?: any)
tests/api-tests/auth-header.test.ts:16
↓ 7 callersFunctiontransformContent
(errorReportingFilepath: string, content: string)
docs/markdoc/index.ts:63
↓ 7 callersFunctionunpackErrors
(errors: readonly any[] | undefined)
tests/api-tests/utils.ts:48
↓ 7 callersFunctionuseToasts
()
design-system/packages/toast/src/context.tsx:19
↓ 7 callersFunctionwithAuth
* withAuth * * Automatically extends your configuration with a prescriptive implementation.
packages/auth/src/index.ts:249
↓ 6 callersFunctioncalendarDay
(config: CalendarDayFieldConfig<ListTypeInfo> = {})
packages/core/src/fields/types/calendarDay/index.ts:28
↓ 6 callersFunctioncheckFile
( filename: string, config: { matrixValue: 's3' } | { matrixValue: 'local', folder: string } )
tests/api-tests/fields/images.crud.test.disabled.ts:88
↓ 6 callersFunctioncheckFilterOrderAccess
( things: { fieldKey: string, list: InitialisedList }[], context: KeystoneContext, operation: 'filter' |
packages/core/src/lib/core/filter-order-access.ts:5
↓ 6 callersFunctioncreateReadData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/many-to-many-one-sided.test.ts:66
↓ 6 callersFunctioncreateReadData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/many-to-many.test.ts:70
↓ 6 callersFunctioncreateReadData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/one-to-many.test.ts:59
↓ 6 callersFunctiondecimal
(config: DecimalFieldConfig<ListTypeInfo> = {})
packages/core/src/fields/types/decimal/index.ts:58
↓ 6 callersFunctiondefaultFlags
(flags: Partial<Flags>, defaults: Partial<Flags>)
packages/core/src/scripts/cli.ts:20
↓ 6 callersFunctiondeserializeValue
( fields: Record<string, FieldMeta>, itemGetter: DataGetter<ItemData> )
packages/core/src/admin-ui/utils/serialization.tsx:14
↓ 6 callersFunctionfloat
(config: FloatFieldConfig<ListTypeInfo> = {})
packages/core/src/fields/types/float/index.ts:30
↓ 6 callersMethodgetData
(format: string)
packages/fields-document/src/DocumentEditor/pasting/data-transfer.ts:17
↓ 6 callersFunctiongetFiles
( dir: string, glob: string[] = ['**', '!node_modules/**'], encoding: 'utf8' | null = 'utf8' )
tests/cli-tests/utils.ts:162
↓ 6 callersFunctiongetSchemaAtPropPath
( path: ReadonlyPropPath, value: Record<string, unknown>, props: Record<string, ComponentSchema> )
packages/fields-document/src/DocumentEditor/component-blocks/utils.ts:183
↓ 6 callersFunctiongetTelemetryConfig
()
packages/core/src/lib/telemetry.ts:35
↓ 6 callersFunctiongroup
(config: { label: string description?: string fields: BaseFields<ListTypeInfo> })
packages/core/src/schema.ts:14
↓ 6 callersFunctioninitData
({ context }: { context: ContextFromRunner<typeof runner> })
tests/api-tests/fields/types/document.test.ts:59
↓ 6 callersFunctioninlineContainer
(args: { invalidPositionHandleMode: 'unwrap' | 'move' })
packages/fields-document/src/DocumentEditor/editor-shared.ts:99
↓ 6 callersFunctionisKind
( props: GenericPreviewProps<ComponentSchema, unknown>, kind: Kind )
packages/fields-document/src/DocumentEditor/component-blocks/get-value.ts:122
↓ 6 callersFunctionmakeValidate
(context: string)
tests/api-tests/hooks.test.ts:29
↓ 6 callersFunctiononChange
(timeValue)
packages/core/src/fields/types/timestamp/views/index.tsx:67
↓ 6 callersFunctionresolve
(val)
packages/core/src/lib/id-field.ts:176
↓ 6 callersFunctionresolve
()
tests/sandbox/configs/all-the-things.ts:97
↓ 6 callersFunctionseed
(listKey: string, context: any)
tests/api-tests/access.test.ts:244
↓ 6 callersFunctiontext
({ isIndexed, ...config }: TextFieldConfig<ListTypeInfo> = {})
examples/custom-field/1-text-field/index.ts:14
↓ 6 callersFunctiontryRequest
(app: express.Express, size: number)
tests/api-tests/body-parser.test.ts:28
↓ 6 callersFunctionwithHelpers
( wrappedFn: (args: { context: KeystoneContext listKey: string i
tests/api-tests/fields/crud.test.ts:118
↓ 6 callersFunctionyn
(x: boolean)
tests/api-tests/omit.test.ts:11
↓ 5 callersFunctionEditorAfterButIgnoringingPointsWithNoContent
( editor: Editor, at: Location, { distance = 1, }: { distance?: number } = {} )
packages/fields-document/src/DocumentEditor/utils.ts:108
↓ 5 callersFunctionaccessReturnError
(things: { tag: string, returned: string }[])
packages/core/src/lib/core/graphql-errors.ts:49
↓ 5 callersFunctionaddFixtures
(context: ContextFromRunner<typeof runner>)
tests/api-tests/queries/cache-hints.test.ts:80
↓ 5 callersFunctionadminUITests
( pathToTest: string, tests: (browser: playwright.BrowserType<playwright.Browser>) => void )
tests/admin-ui-tests/utils.ts:65
↓ 5 callersFunctionareArraysEqual
(a: readonly unknown[], b: readonly unknown[])
packages/fields-document/src/DocumentEditor/document-features-normalization.ts:5
↓ 5 callersFunctionassertInRuntimeContext
( context: KeystoneContext | { isAdminUIBuildProcess: true }, { parentType, fieldName }: GraphQLResolveInf
packages/core/src/lib/resolve-admin-meta.ts:331
↓ 5 callersFunctionconstructTimestamp
({ dateValue, timeValue, }: { dateValue: string timeValue: string })
packages/core/src/fields/types/timestamp/views/utils.ts:30
↓ 5 callersFunctioncreateCompanyAndLocation
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/many-to-many-one-sided.test.ts:31
↓ 5 callersFunctioncreateCompanyAndLocation
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-many.test.ts:31
↓ 5 callersFunctioncreateCompanyAndLocation
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/many-to-many.test.ts:31
↓ 5 callersFunctioncreateComplexData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-many-one-sided.test.ts:48
↓ 5 callersFunctioncreateComplexData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/one-to-many-one-sided.test.ts:39
↓ 5 callersFunctioncreateDocumentEditor
( documentFeatures: DocumentFeatures, componentBlocks: Record<string, ComponentBlock>, relationships: Re
packages/fields-document/src/DocumentEditor/editor-shared.ts:134
↓ 5 callersFunctioncreateInitialData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-many.test.ts:13
↓ 5 callersFunctioncreateItem
(context: any)
tests/api-tests/fields/files.test.ts:100
↓ 5 callersFunctioncreateUserAndFriend
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/many-to-many-one-sided.test.ts:25
← previousnext →101–200 of 2,041, ranked by callers