You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Combines direct ownership with entity scoping. Adds both owner_id and entity_id columns. Enables AuthzDirectOwner, AuthzEntityMembership, and AuthzOrgHierarchy authorization. Particularly useful for OrgHierarchy where a user owns a row (owner_id) within an entity (entity_id), and managers above can see subordinate-owned records via the hierarchy closure table. */
179
179
exportinterfaceDataOwnershipInEntityParams{
180
+
/* Column name for the owner reference */
181
+
owner_field_name?: string;
182
+
/* Column name for the entity reference */
183
+
entity_field_name?: string;
180
184
/* If true, also adds a UUID primary key column with auto-generation */
181
185
include_id?: boolean;
182
186
/* If true, adds foreign key constraints from owner_id and entity_id to the users table */
183
187
include_user_fk?: boolean;
184
188
}
185
189
/** Adds user tracking for creates/updates with created_by and updated_by columns. */
186
190
exportinterfaceDataPeoplestampsParams{
191
+
/* Column name for the creating user reference */
192
+
created_by_field?: string;
193
+
/* Column name for the last-updating user reference */
194
+
updated_by_field?: string;
187
195
/* If true, also adds a UUID primary key column with auto-generation */
188
196
include_id?: boolean;
189
197
/* If true, adds foreign key constraints from created_by and updated_by to the users table */
190
198
include_user_fk?: boolean;
191
199
}
192
200
/** Adds publish state columns (is_published, published_at) for content visibility. Enables AuthzPublishable and AuthzTemporal authorization. */
193
201
exportinterfaceDataPublishableParams{
202
+
/* Column name for the published boolean flag */
203
+
is_published_field?: string;
204
+
/* Column name for the publish timestamp */
205
+
published_at_field?: string;
194
206
/* If true, also adds a UUID primary key column with auto-generation */
0 commit comments