MCPcopy Create free account

hub / github.com/keystonejs/keystone / functions

Functions2,041 in github.com/keystonejs/keystone

↓ 3 callersFunctiona
()
docs/public/assets/focus-visible-polyfill.js:2
↓ 3 callersFunctionauthenticateWithPassword
( gql: any, email: string, password: string )
tests/api-tests/auth.test.ts:63
↓ 3 callersFunctionconfirmPrompt
(message: string, initial: boolean = true)
packages/core/src/lib/prompts.ts:6
↓ 3 callersFunctioncreateAdminUIMiddlewareWithNextApp
( config: __ResolvedKeystoneConfig, commonContext: KeystoneContext, nextApp: ReturnType<typeof next> )
packages/core/src/lib/createAdminUIMiddleware.ts:13
↓ 3 callersFunctioncreateInitialData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/many-to-many-one-sided.test.ts:13
↓ 3 callersFunctioncreateInitialData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud/one-to-many-one-sided.test.ts:13
↓ 3 callersFunctioncreateInitialData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/many-to-many-one-sided.test.ts:13
↓ 3 callersFunctioncreateInitialData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/one-to-many-one-sided.test.ts:13
↓ 3 callersFunctioncreateItem
(context: any, filename: string)
tests/api-tests/fields/images.crud.test.disabled.ts:97
↓ 3 callersFunctioncreateReadData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/many-to-many-one-sided.test.ts:52
↓ 3 callersFunctioncreateReadData
(context: ContextFromRunner<typeof runner>)
tests/api-tests/relationships/crud-self-ref/many-to-many.test.ts:57
↓ 3 callersFunctioncreateSingle
( inputData: Record<string, unknown>, list: InitialisedList, context: KeystoneContext )
packages/core/src/lib/core/mutations/index.ts:72
↓ 3 callersFunctiondataGetterWithNoErrors
(data: any, path: Path)
packages/core/src/admin-ui/utils/dataGetter.ts:28
↓ 3 callersFunctiondeleteAllData
(projectDir: string)
tests/admin-ui-tests/utils.ts:47
↓ 3 callersFunctionenforceListLevelAccessControl
( context: KeystoneContext, operation: 'create' | 'update' | 'delete', list: InitialisedList, inputDat
packages/core/src/lib/core/access-control.ts:171
↓ 3 callersFunctionexit
()
tests/admin-ui-tests/live-reloading.test.ts:31
↓ 3 callersFunctionexpectDidSend
(lastSentDate: string | null)
packages/core/tests/telemetry.test.ts:142
↓ 3 callersFunctionfetchGraphQL
(query: string, variables?: Record<string, any>)
examples/document-field-customisation/nextjs-frontend/src/graphql.ts:5
↓ 3 callersFunctionfetchGraphQL
(query: string, variables?: Record<string, any>)
examples/framework-nextjs-two-servers/nextjs-frontend/src/graphql.ts:5
↓ 3 callersMethodfiles
()
packages/fields-document/src/DocumentEditor/pasting/data-transfer.ts:26
↓ 3 callersFunctionfilterTestRunner
(field: FieldTypeFunc<BaseListTypeInfo>)
tests/api-tests/fields/types/utils.ts:11
↓ 3 callersFunctionfindChildPropPaths
( value: Record<string, any>, props: Record<string, ComponentSchema> )
packages/fields-document/src/DocumentEditor/component-blocks/utils.ts:47
↓ 3 callersFunctionfixNodesForBlockChildren
(deserializedNodes: DeserializedNode[])
packages/fields-document/src/DocumentEditor/pasting/html.ts:217
↓ 3 callersFunctionformat
(decimal)
packages/core/src/fields/types/decimal/views/index.tsx:28
↓ 3 callersFunctiongenerateAdminUI
( config: __ResolvedKeystoneConfig, graphQLSchema: GraphQLSchema, adminMeta: AdminMetaRootVal, project
packages/core/src/admin-ui/system/generateAdminUI.ts:68
↓ 3 callersFunctiongenerateDataArray
(map: (key: number) => any, range: number)
tests/admin-ui-tests/utils.ts:43
↓ 3 callersFunctiongetArtifacts
(system: System)
packages/core/src/artifacts.ts:62
↓ 3 callersFunctiongetAuthTokenErrorMessage
({ code }: { code: AuthTokenRedemptionErrorCode })
packages/auth/src/lib/getErrorMessage.ts:3
↓ 3 callersFunctiongetConfig
()
tests/api-tests/fields/files.test.ts:115
↓ 3 callersFunctiongetDefault
(telemetry: Telemetry)
packages/core/src/lib/telemetry.ts:90
↓ 3 callersFunctiongetGqlNames
({ listKey, pluralGraphQLName, }: { listKey: string pluralGraphQLName: string })
packages/core/src/types/utils.ts:20
↓ 3 callersFunctiongetInitialMemoState
( schema: Schema, value: ValueForComponentSchema<Schema>, onChange: ( cb: (val: ValueForComp
packages/fields-document/src/DocumentEditor/component-blocks/preview-props.ts:276
↓ 3 callersFunctiongetNode
()
packages/fields-document/src/DocumentEditor/component-blocks/update-element.ts:29
↓ 3 callersFunctiongetNormalizedFormat
(format: string)
packages/fields-document/src/DocumentEditor/pasting/data-transfer.ts:34
↓ 3 callersFunctiongetRunner
({ storage, fields, }: { storage: Record<string, StorageConfig> fields: KeystoneConfig['lists'][string
tests/api-tests/fields/files.test.ts:47
↓ 3 callersFunctiongetSecretFieldImpl
(schema: GraphQLSchema, listKey: string, fieldKey: string)
packages/auth/src/schema.ts:41
↓ 3 callersFunctiongetTypeNodeForType
(type: GraphQLType)
packages/core/src/lib/context/executeGraphQLFieldToRootVal.ts:47
↓ 3 callersFunctiongql
([content]: TemplateStringsArray)
examples/document-field-customisation/nextjs-frontend/src/graphql.ts:3
↓ 3 callersFunctionhasInitFirstItemConditions
( context: KeystoneContext<TypeInfo> )
packages/auth/src/index.ts:194
↓ 3 callersFunctioni
(e)
docs/public/assets/focus-visible-polyfill.js:2
↓ 3 callersFunctioninitFirstItemTest
(getPage: () => playwright.Page)
tests/examples-smoke-tests/utils.ts:38
↓ 3 callersFunctioninitialiseLists
(config: __ResolvedKeystoneConfig)
packages/core/src/lib/core/initialise-lists.ts:892
↓ 3 callersFunctioninsertFragmentButDifferent
(editor: Editor, nodes: Descendant[])
packages/fields-document/src/DocumentEditor/pasting/index.ts:15
↓ 3 callersFunctionisAdmin
({ session }: { session?: Session })
examples/auth/schema.ts:47
↓ 3 callersFunctionisNonChildFieldPreviewProps
( props: GenericPreviewProps<ComponentSchema, unknown> )
packages/fields-document/src/DocumentEditor/component-blocks/form-from-preview.tsx:180
↓ 3 callersFunctionisSetText
(isSet: null | undefined | boolean)
packages/core/src/fields/types/password/views/index.tsx:55
↓ 3 callersFunctionjwtSign
(claims: OurJWTClaims)
examples/custom-session-jwt/keystone.ts:17
↓ 3 callersFunctionlogin
( gqlSuper: any, email: string, password: string )
tests/api-tests/auth-header.test.ts:51
↓ 3 callersFunctionmakeList
({ fields, isFilterable, isOrderable, omit, }: { fields: typeof fieldsMatrix isFilterable: boolean
tests/api-tests/omit.test.ts:71
↓ 3 callersFunctionmoveChildren
( editor: Editor, parent: NodeEntry | Path, to: Path, shouldMoveNode: (node: Node) => boolean = () =>
packages/fields-document/src/DocumentEditor/utils.ts:59
↓ 3 callersFunctionnonNullList
(type: T)
packages/core/src/fields/types/multiselect/index.ts:193
↓ 3 callersFunctiononCancelRelatedLink
()
examples/custom-field-view/fields/related-links/components.tsx:112
↓ 3 callersFunctiononChange
(value)
packages/fields-document/src/DocumentEditor/relationship.tsx:103
↓ 3 callersFunctionpasteText
(editor: Editor, text: string)
packages/fields-document/src/DocumentEditor/pasting/links.test.tsx:8
↓ 3 callersFunctionprepareFile
(_filePath: string, kind: 'image' | 'file')
tests/api-tests/fields/files.test.ts:18
↓ 3 callersFunctionprintIndex
(fieldPath: string, index: undefined | 'index' | 'unique')
packages/core/src/lib/core/prisma-schema-printer.ts:18
↓ 3 callersFunctionprintPrismaSchema
( config: __ResolvedKeystoneConfig, lists: Record<string, InitialisedList>, )
packages/core/src/lib/core/prisma-schema-printer.ts:185
↓ 3 callersFunctionprintTypeReference
(type: GraphQLType)
packages/core/src/lib/typescript-schema-printer.ts:33
↓ 3 callersFunctionprintValidationError
(error: ValidateError)
docs/markdoc/index.ts:9
↓ 3 callersFunctionpromisesButSettledWhenAllSettledAndInOrder
(promises: T)
packages/core/src/lib/core/mutations/index.ts:592
↓ 3 callersFunctionrandom
(n = 100)
tests/api-tests/access.test.ts:13
↓ 3 callersFunctionresolve
(_rootVal, args, context)
packages/core/src/lib/core/queries/index.ts:16
↓ 3 callersFunctionresolveCreateMutation
(value: any, context: KeystoneContext, foreignListKey: string)
packages/fields-document/src/structure-graphql-input.ts:460
↓ 3 callersFunctionresolveDbNullable
( validation: undefined | { isRequired?: boolean }, db: undefined | { isNullable?: boolean } )
packages/core/src/fields/non-null-graphql.ts:9
↓ 3 callersFunctionresolveInput
(value: PairInput | null | undefined)
examples/custom-field/3-pair-field/index.ts:27
↓ 3 callersFunctionresolveInput
(value: PairInput | null | undefined)
examples/custom-field/3-pair-field-nested/index.ts:45
↓ 3 callersFunctionresolveInput
(value: PairInput | null | undefined)
examples/custom-field/3-pair-field-json/index.ts:45
↓ 3 callersFunctionstructure
({ schema, ...config }: StructureFieldConfig<ListTypeInfo>)
packages/fields-document/src/structure.ts:27
↓ 3 callersFunctiontestOmit
(listName_: string, d: ReturnType<typeof introspectSchema>, expected: { type: boolean meta: boolean
tests/api-tests/omit.test.ts:244
↓ 3 callersFunctionupdate
(cache, { data })
packages/core/src/admin-ui/utils/useCreateItem.ts:106
↓ 3 callersFunctionupdateValue
(schema: ComponentSchema, currentValue: any, updater: any)
packages/fields-document/src/DocumentEditor/component-blocks/initial-values.ts:96
↓ 3 callersFunctionuseHeaderContext
()
docs/components/Header.tsx:40
↓ 3 callersFunctionuseIndicatorTokens
({ size: sizeKey, type, }: IndicatorTokensProps)
design-system/packages/fields/src/hooks/indicators.ts:30
↓ 3 callersFunctionuseInputStyles
({ invalid, tokens }: InputStylesProps)
design-system/packages/fields/src/hooks/inputs.ts:111
↓ 3 callersFunctionuseMediaQuery
()
design-system/packages/core/src/hooks/useMediaQuery.ts:34
↓ 3 callersFunctionuseSort
(list: ListMeta, orderableFields: Set<string>)
packages/core/src/___internal-do-not-use-will-break-in-patch/admin-ui/pages/ListPage/useSort.tsx:5
↓ 3 callersFunctionvalidateAuthToken
( listKey: string, secretFieldImpl: SecretFieldImpl, tokenType: 'passwordReset' | 'magicAuth', identit
packages/auth/src/lib/validateAuthToken.ts:12
↓ 3 callersFunctionwithAccessCheck
( access: boolean | ((...args: Args) => boolean), resolver: (...args: Args) => T )
tests/api-tests/extend-graphql-schema.test.ts:10
↓ 3 callersFunctionwrapGraphQLFieldInResolver
( inputField: graphql.Field< { value: InputSource }, Record<string, graphql.Arg<graphql.InputType, b
packages/fields-document/src/structure-graphql-output.ts:6
↓ 2 callersFunction__getNames
(listKey: string, list: __ResolvedKeystoneConfig['lists'][string])
packages/core/src/types/utils.ts:65
↓ 2 callersFunctionaddMarksToChildren
(marks: Set<Mark>, cb: () => T)
packages/fields-document/src/DocumentEditor/pasting/utils.ts:39
↓ 2 callersFunctionaddRelationshipDataToComponentProps
( schema: ComponentSchema, val: any, fetchData: (relationship: RelationshipField<boolean>, data: any) =>
packages/fields-document/src/relationship-data.ts:148
↓ 2 callersFunctionambiguousHeadingError
(node: Node)
docs/markdoc/config.ts:115
↓ 2 callersFunctionareArraysEqual
(a: readonly unknown[], b: readonly unknown[])
packages/core/src/lib/core/utils.ts:35
↓ 2 callersFunctionassert
(condition: boolean)
packages/fields-document/src/DocumentEditor/component-blocks/insertion-and-preview-props.test.tsx:407
↓ 2 callersFunctionassertDbFieldIsValidForIdField
( listKey: string, isSingleton: boolean, field: ResolvedDBField )
packages/core/src/lib/core/prisma-schema-printer.ts:155
↓ 2 callersFunctionassertReadIsNonNullAllowed
( meta: FieldData, config: { graphql?: { isNonNull?: { read?: boolean } } },
packages/core/src/fields/non-null-graphql.ts:74
↓ 2 callersFunctionassertValidView
(view: string, location: string)
packages/core/src/lib/create-admin-meta.ts:282
↓ 2 callersFunctionblah
()
packages/fields-document/src/DocumentEditor/component-blocks/field-assertions.test.ts:101
↓ 2 callersFunctionbuild
( cwd: string, { frozen, prisma, ui }: Pick<Flags, 'frozen' | 'prisma' | 'ui'> )
packages/core/src/scripts/build.ts:17
↓ 2 callersFunctioncheckUniqueItemExists
( uniqueInput: UniqueInputFilter, foreignList: InitialisedList, context: KeystoneContext, operation: s
packages/core/src/lib/core/mutations/access-control.ts:10
↓ 2 callersFunctioncheckUniqueItemExists
( uniqueInput: Record<string, unknown>, listKey: string, context: KeystoneContext, operation: string )
packages/fields-document/src/structure-graphql-input.ts:433
↓ 2 callersFunctionclearFormatting
(editor: Editor)
packages/fields-document/src/DocumentEditor/utils.ts:52
↓ 2 callersFunctioncli
(cwd: string, argv: string[])
packages/core/src/scripts/cli.ts:43
↓ 2 callersFunctioncloudinaryImage
({ cloudinary: cloudinaryConfig, ...config }: CloudinaryImageFieldConfig<ListTypeInfo>)
packages/cloudinary/src/index.ts:105
↓ 2 callersFunctioncreateAdminMeta
( config: __ResolvedKeystoneConfig, initialisedLists: Record<string, InitialisedList> )
packages/core/src/lib/create-admin-meta.ts:88
↓ 2 callersFunctioncreateAuthToken
( identityField: string, identity: string, dbItemAPI: KeystoneDbAPI<any>[string] )
packages/auth/src/lib/createAuthToken.ts:4
↓ 2 callersFunctioncreateGraphQLSchema
( config: __ResolvedKeystoneConfig, lists: Record<string, InitialisedList>, adminMeta: AdminMetaRootVal
packages/core/src/lib/createGraphQLSchema.ts:100
↓ 2 callersFunctioncreateToolbarState
( editor: Editor, componentBlocks: Record<string, ComponentBlock>, editorDocumentFeatures: DocumentFeatu
packages/fields-document/src/DocumentEditor/toolbar-state-shared.ts:77
↓ 2 callersFunctiondataGetterWithErrors
( data: any, errors: readonly [GraphQLError, ...GraphQLError[]], path: Path )
packages/core/src/admin-ui/utils/dataGetter.ts:38
← previousnext →301–400 of 2,041, ranked by callers