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
/** A membership type entry for Phase 0 of construct_blueprint(). Provisions a full entity type with its own entity table, membership modules, and security policies via entity_type_provision. */
800
+
exportinterfaceBlueprintMembershipType{
801
+
/** Entity type name (e.g., "data_room", "channel", "department"). Must be unique per database. */
802
+
name: string;
803
+
/** Short prefix for generated objects (e.g., "dr", "ch", "dept"). Used in table/trigger naming. */
804
+
prefix: string;
805
+
/** Human-readable description of this entity type. */
806
+
description?: string;
807
+
/** Parent entity type name. Defaults to "org". */
808
+
parent_entity?: string;
809
+
/** Custom table name for the entity table. Defaults to name-derived convention. */
810
+
table_name?: string;
811
+
/** Whether this entity type is visible in the API. Defaults to true. */
812
+
is_visible?: boolean;
813
+
/** Whether to provision a limits module for this entity type. Defaults to false. */
814
+
has_limits?: boolean;
815
+
/** Whether to provision a profiles module for this entity type. Defaults to false. */
816
+
has_profiles?: boolean;
817
+
/** Whether to provision a levels module for this entity type. Defaults to false. */
818
+
has_levels?: boolean;
819
+
/** Whether to skip creating default RLS policies on the entity table. Defaults to false. */
'Whether to skip creating default RLS policies on the entity table. Defaults to false.'
644
+
),
645
+
]),
646
+
'A membership type entry for Phase 0 of construct_blueprint(). Provisions a full entity type with its own entity table, membership modules, and security policies via entity_type_provision.'
0 commit comments