@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
21 lines • 748 B
TypeScript
import { type Annotations } from "../annotation/Annotation";
import type { Argument } from "../argument/Argument";
import type { AttributeType } from "./AttributeType";
export declare class Attribute {
readonly name: string;
readonly annotations: Partial<Annotations>;
readonly type: AttributeType;
readonly databaseName: string;
readonly description?: string;
readonly args: Argument[];
constructor({ name, annotations, type, args, databaseName, description, }: {
name: string;
annotations?: Partial<Annotations>;
type: AttributeType;
args: Argument[];
databaseName?: string;
description?: string;
});
clone(): Attribute;
}
//# sourceMappingURL=Attribute.d.ts.map