UNPKG

generator-jhipster

Version:

Spring Boot + Angular/React/Vue in one handy generator

19 lines (18 loc) 973 B
import type { Application as LiquibaseApplication, Entity as LiquibaseEntity, Relationship as LiquibaseRelationship } from '../types.ts'; /** * Whether the two relationships are absolutely equal * @param relationshipA * @param relationshipB */ export declare function relationshipEquals(relationshipA: LiquibaseRelationship, relationshipB: LiquibaseRelationship): boolean; /** * Whether the two relationships are equal, except for the foreign key on handlers, indicating that foreign key recreation is sufficient * @param relationshipA * @param relationshipB */ export declare function relationshipNeedsForeignKeyRecreationOnly(relationshipA: LiquibaseRelationship, relationshipB: LiquibaseRelationship): boolean; export declare function prepareRelationshipForLiquibase({ application, entity, relationship, }: { application: LiquibaseApplication<LiquibaseEntity>; entity: LiquibaseEntity; relationship: LiquibaseRelationship; }): LiquibaseRelationship;