PersistencePropertyDescriptor: {
    childModel?: string;
    parentFk?: string;
    parentRelation?: string;
    properties?: Record<string, PersistencePropertyDescriptor>;
    representation: PersistenceRepresentation;
    valueType?: "String" | "Int" | "Float" | "Boolean";
}

Type declaration

  • OptionalchildModel?: string

    Prisma child model name when representation is childTable

  • OptionalparentFk?: string

    Parent FK field name on the child model (e.g. Item_id)

  • OptionalparentRelation?: string

    Parent relation field name on the child (e.g. Item)

  • Optionalproperties?: Record<string, PersistencePropertyDescriptor>

    Nested property descriptors (anonymous object fields / nested lists)

  • representation: PersistenceRepresentation
  • OptionalvalueType?: "String" | "Int" | "Float" | "Boolean"

    Primitive value column type for childTable of primitives