Interface ResourceRelationship

A foreign-key relationship derived from a x-fk field, linking this resource to another resource.

interface ResourceRelationship {
    config: FKFieldConfig;
    fieldName: string;
    targetSchemaName: string;
}

Properties

Parsed x-fk configuration.

fieldName: string

Name of the FK field on this resource.

targetSchemaName: string

Name of the target resource schema.