UNPKG

@compas/code-gen

Version:

Generate various boring parts of your server

20 lines (19 loc) 617 B
/** * Adds the fields that are added by relations * * @param {import("../../generated/common/types").CodeGenContext} context */ export function addFieldsOfRelations( context: import("../../generated/common/types").CodeGenContext, ): void; /** * @param {import("../../generated/common/types").CodeGenContext} context * @param {CodeGenObjectType} type * @param {CodeGenRelationType} relation */ export function addFieldsForRelation( context: import("../../generated/common/types").CodeGenContext, type: CodeGenObjectType, relation: CodeGenRelationType, ): void; //# sourceMappingURL=add-fields.d.ts.map