generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
11 lines (10 loc) • 839 B
TypeScript
import type { ValidationResult } from '../../base/api.js';
import type { Entity } from '../../../lib/types/application/entity.js';
import type { Relationship } from '../../../lib/types/application/relationship.js';
export declare const otherRelationshipType: (relationshipType: any) => any;
export declare const findOtherRelationshipInRelationships: (entityName: string, relationship: Relationship, inRelationships: Relationship[]) => Relationship<Entity<import("../index.js").Field, never>> | undefined;
export declare const loadEntitiesAnnotations: (entities: Entity[]) => void;
export declare const loadEntitiesOtherSide: (entities: Entity[], { application }?: {
application?: any;
}) => ValidationResult;
export declare const addOtherRelationship: (entity: Entity, otherEntity: Entity, relationship: Relationship) => Relationship;