/** * The rules that turn an attribute's logical name into the physical database * identifiers it maps to. This is the only place those rules live: the metadata * loader (`metadata.ts`, `relations.ts`) uses them when registering models, and * callers that need to predict a name for an attribute that is not registered * yet — e.g. the Content-Type Builder computing the *new* side of a rename * migration before the server reloads — use them too, so the two can never * drift apart. * * Components, dynamic zones and media do not derive a physical identifier from * the attribute name: the name itself is stored as a value in the link table's * `field` column (`identifiers.FIELD_COLUMN`). */ export declare const attributeNaming: { /** * Column on the model's own table for a scalar attribute. */ columnName(attributeName: string): string; /** * Column on the model's own table for a relation stored as a join column * (`_id`, i.e. `useJoinTable: false` or an owning x-to-one). */ joinColumnName(attributeName: string): string; /** * Join/link table for a relation owned by `attributeName` on the model whose * table is `tableName`. */ joinTableName(tableName: string, attributeName: string): string; }; export type AttributeNaming = typeof attributeNaming; //# sourceMappingURL=attribute-naming.d.ts.map