1 {"slug":"/references/api_key/interfaces/api_key.JoinerServiceConfigAlias","title":"JoinerServiceConfigAlias","frontmatter":{"displayed_sidebar":"apiKeyReference"},"toc":[],"blocks":[{"kind":"markdown","html":"Alias configuration for a joiner service entry point."},{"kind":"typeList","sectionTitle":"JoinerServiceConfigAlias","types":[{"name":"name","type":"`string` \\| `string`[]","description":"The alias name or list of alias names for the service entry point.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"entity","type":"`string`","description":"The entity name associated with this alias.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filterable","type":"`string`[]","description":"The list of fields that can be used as filters when querying through this alias.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__internal","type":"`object`","description":"Internal-only alias metadata used by the query layer.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"crossjoinable","type":"`string`[]","description":"Non-computed DML fields that can be used in cross-module SQL joins.\nUsed as an optimization layer to determine which fields are safe to\npush into EXISTS-based cross-module filters.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tableName","type":"`string`","description":"Physical table name (without PG schema) backing the alias entity.\nRequired to build cross-module SQL joins against the entity's table.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"schema","type":"`string`","description":"PG schema of the entity's table, when the DML definition specifies one.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`Record<string, object>`","description":"Module-internal DML relations of the alias entity, keyed by property\nname. Used to traverse own-model hops when building cross-module SQL\njoins (e.g. cart -&#62; items -&#62; product).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"entity","type":"`string`","description":"Entity the relation points to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"foreignKey","type":"`string`","description":"Join column name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"foreignKeyOwner","type":"`\"self\"` \\| `\"target\"`","description":"Which side of the relation holds the foreign key column: `self`\nfor belongsTo, `target` for hasMany.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isList","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"args","type":"`Record<string, any>`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}