UNPKG

@neo4j/graphql

Version:

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations

71 lines 2.53 kB
import type { ConcreteEntityAdapter } from "./ConcreteEntityAdapter"; import type { InterfaceEntityAdapter } from "./InterfaceEntityAdapter"; export type RootTypeFieldNames = { create: string; connection: string; read: string; update: string; delete: string; aggregate: string; }; type AggregateTypeNames = { selection: string; input: string; connection: string; node: string; }; type MutationResponseTypeNames = { create: string; update: string; }; type SubscriptionEvents = { create: string; update: string; delete: string; create_relationship: string; delete_relationship: string; }; type UpdateMutationArgumentNames = { connect: string; disconnect: string; create: string; update: string; delete: string; where: string; }; type CreateMutationArgumentNames = { input: string; }; /** ImplementingType refers to the common abstraction of an ObjectType (ConcreteEntity) and InterfaceType */ export declare class ImplementingEntityOperations<T extends InterfaceEntityAdapter | ConcreteEntityAdapter> { protected readonly pascalCasePlural: string; protected readonly pascalCaseSingular: string; protected readonly entityAdapter: T; constructor(entityAdapter: T); get whereInputTypeName(): string; get uniqueWhereInputTypeName(): string; get connectWhereInputTypeName(): string; get createInputTypeName(): string; get updateInputTypeName(): string; get deleteInputTypeName(): string; get sortInputTypeName(): string; get relationInputTypeName(): string; get connectInputTypeName(): string; get disconnectInputTypeName(): string; get onCreateInputTypeName(): string; get subscriptionWhereInputTypeName(): string; get subscriptionEventPayloadTypeName(): string; get implementationsSubscriptionWhereInputTypeName(): string; /** @deprecated use `getAggregateFieldTypename` instead */ getAggregationFieldTypename(): string; getAggregateFieldTypename(): string; get rootTypeFieldNames(): RootTypeFieldNames; get aggregateTypeNames(): AggregateTypeNames; get mutationResponseTypeNames(): MutationResponseTypeNames; get subscriptionEventTypeNames(): SubscriptionEvents; get subscriptionEventPayloadFieldNames(): SubscriptionEvents; get updateMutationArgumentNames(): UpdateMutationArgumentNames; get createMutationArgumentNames(): CreateMutationArgumentNames; } export {}; //# sourceMappingURL=ImplementingEntityOperations.d.ts.map