sgnm-neo4j
Version:
neo4j module for nestJs
26 lines (25 loc) • 2.06 kB
TypeScript
import { FilterPropertiesType } from "../constant/filter.properties.type.enum";
export declare function assignDtoPropToEntity(entity: any, dto: any): any;
export declare function createDynamicCyperCreateQuery(entity: object, labels?: Array<string>): string;
export declare function createDynamicCypherCreateWithDatesQuery(entity: object, dateParamKeys?: string[], dateTimesParamKeys?: string[], labels?: Array<string>): string;
export declare function createDynamicCyperObject(entity: any): {};
export declare function updateNodeQuery(id: any, dto: any): string;
export declare function dynamicLabelAdder(labels: Array<string>): string;
export declare function dynamicNotLabelAdder(queryNodeName: string, notLabels: Array<string>): string;
export declare function dynamicOrLabelAdder(queryNodeName: string, notLabels: Array<string>): string;
export declare function dynamicFilterPropertiesAdder(filterProperties: any, filterPropertiesType?: FilterPropertiesType): string;
export declare function dateFilterGenerator(nodeVariable: string, filterProperties: {
[key: string]: {
value: any;
comparisonOperator: string;
};
}): string;
export declare function dynamicUpdatePropertyAdder(queryNodeName: string, updateProperties: object): string;
export declare function changeObjectKeyName(obj1: object, addedToKeyString?: string): {
[k: string]: any;
};
export declare function dynamicUpdatePropertyAdderAndAddParameterKey(queryNodeName: string, updateProperties: object, parameterKey?: string): string;
export declare function dynamicFilterPropertiesAdderAndAddParameterKey(filterProperties: any, filterPropertiesType?: FilterPropertiesType, parameterKey?: string): string;
export declare function filterArrayForEmptyString(array: string[]): any;
export declare function dynamicOrderByColumnAdder(queryNodeName: string, orderByColumnArray: string[]): string;
export declare function dynamicFilterPropertiesAdderAndAddParameterKeyNew(filterProperties: any, filterPropertiesType?: FilterPropertiesType, parameterKey?: string): string;