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. */
185
185
exportinterfaceDataOwnershipInEntityParams{
186
+
/* Column name for the owner reference */
187
+
owner_field_name?: string;
188
+
/* Column name for the entity reference */
189
+
entity_field_name?: string;
186
190
/* If true, also adds a UUID primary key column with auto-generation */
187
191
include_id?: boolean;
188
192
/* If true, adds foreign key constraints from owner_id and entity_id to the users table */
189
193
include_user_fk?: boolean;
190
194
}
191
195
/** Adds user tracking for creates/updates with created_by and updated_by columns. */
192
196
exportinterfaceDataPeoplestampsParams{
197
+
/* Column name for the creating user reference */
198
+
created_by_field?: string;
199
+
/* Column name for the last-updating user reference */
200
+
updated_by_field?: string;
193
201
/* If true, also adds a UUID primary key column with auto-generation */
194
202
include_id?: boolean;
195
203
/* If true, adds foreign key constraints from created_by and updated_by to the users table */
196
204
include_user_fk?: boolean;
197
205
}
198
206
/** Adds publish state columns (is_published, published_at) for content visibility. Enables AuthzPublishable and AuthzTemporal authorization. */
199
207
exportinterfaceDataPublishableParams{
208
+
/* Column name for the published boolean flag */
209
+
is_published_field?: string;
210
+
/* Column name for the publish timestamp */
211
+
published_at_field?: string;
200
212
/* If true, also adds a UUID primary key column with auto-generation */
0 commit comments