@@ -89,18 +89,18 @@ An owned, executable blueprint scoped to a specific database.
8989
9090## Functions
9191
92- ### construct_blueprint(p_blueprint_id, p_schema_id )
92+ ### construct_blueprint(blueprint_id, schema_id )
9393
9494Executes a draft blueprint, provisioning real database tables and relations.
9595
9696``` typescript
9797// ORM
9898const result = await db .mutation .constructBlueprint ({
99- input: { pBlueprintId : ' <UUID>' , pSchemaId : ' <UUID>' }
99+ input: { blueprintId : ' <UUID>' , schemaId : ' <UUID>' }
100100}).execute ();
101101
102102// CLI
103- constructive public :construct - blueprint -- input .pBlueprintId < UUID > -- input .pSchemaId < UUID >
103+ constructive public :construct - blueprint -- input .blueprintId < UUID > -- input .schemaId < UUID >
104104```
105105
106106** Behavior:**
@@ -117,27 +117,27 @@ constructive public:construct-blueprint --input.pBlueprintId <UUID> --input.pSch
117117
118118** Returns:** ` jsonb ` ref_map (e.g. ` {"products": "uuid", "categories": "uuid"} ` ) or NULL on failure.
119119
120- ### copy_template_to_blueprint(p_template_id, p_database_id, p_owner_id, p_name_override, p_display_name_override )
120+ ### copy_template_to_blueprint(template_id, database_id, owner_id, name_override, display_name_override )
121121
122122Creates a new blueprint by copying a template's definition.
123123
124124``` typescript
125125// ORM
126126const result = await db .mutation .copyTemplateToBlueprint ({
127127 input: {
128- pTemplateId : ' <UUID>' ,
129- pDatabaseId : ' <UUID>' ,
130- pOwnerId : ' <UUID>' ,
131- pNameOverride : ' my_store' , // optional
132- pDisplayNameOverride : ' My Store' // optional
128+ templateId : ' <UUID>' ,
129+ databaseId : ' <UUID>' ,
130+ ownerId : ' <UUID>' ,
131+ nameOverride : ' my_store' , // optional
132+ displayNameOverride : ' My Store' // optional
133133 }
134134}).execute ();
135135
136136// CLI
137137constructive public :copy - template - to - blueprint \
138- -- input .pTemplateId < UUID > \
139- -- input .pDatabaseId < UUID > \
140- -- input .pOwnerId < UUID >
138+ -- input .templateId < UUID > \
139+ -- input .databaseId < UUID > \
140+ -- input .ownerId < UUID >
141141```
142142
143143** Behavior:**
0 commit comments