@ai-matrx/records 0.81.0 → 0.81.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6120,6 +6120,7 @@ var TEMPLATE_PLAN_DOORS = [
6120
6120
  "table_dimensions_set",
6121
6121
  "view_declare",
6122
6122
  "form_declare",
6123
+ "anon_publish",
6123
6124
  "booking_declare",
6124
6125
  "dashboard_declare",
6125
6126
  "pipeline_declare",
@@ -6352,6 +6353,13 @@ function compileInstallPlan(written) {
6352
6353
  save: { [`forms.${f.token}`]: [] },
6353
6354
  made: [{ kind: "form", ref: `forms.${f.token}`, title: f.name, table: `tables.${f.table}` }]
6354
6355
  });
6356
+ if (spec.publishForms !== false) {
6357
+ steps.push({
6358
+ label: `forms.${f.token}.publish`,
6359
+ door: "anon_publish",
6360
+ args: { p_organization_id: "${org}", p_form_id: ref(`forms.${f.token}`), p_published: true }
6361
+ });
6362
+ }
6355
6363
  }
6356
6364
  const actionsByTable = /* @__PURE__ */ new Map();
6357
6365
  const formRefs = Object.fromEntries(spec.forms.map((f) => [f.token, ref(`forms.${f.token}`)]));