@overmap-ai/core 1.0.38-component-fields.30 → 1.0.38-component-fields.32

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.
@@ -5660,12 +5660,9 @@ var __publicField = (obj, key, value) => {
5660
5660
  try {
5661
5661
  await this.enqueueRequest({
5662
5662
  description: "Attach form to component stage",
5663
- method: HttpMethod.PATCH,
5664
- url: `/forms/${formId2}/`,
5663
+ method: HttpMethod.POST,
5664
+ url: `/forms/${formId2}/associate-with-stage/`,
5665
5665
  payload: { component_stage: componentStageId },
5666
- queryParams: {
5667
- component_stage: componentStageId
5668
- },
5669
5666
  blockers: [formId2, componentStageId],
5670
5667
  blocks: [formId2]
5671
5668
  });
@@ -5680,12 +5677,8 @@ var __publicField = (obj, key, value) => {
5680
5677
  try {
5681
5678
  await this.enqueueRequest({
5682
5679
  description: "Remove form from component stage",
5683
- method: HttpMethod.PATCH,
5684
- url: `/forms/${formId2}/`,
5685
- payload: { component_stage: void 0 },
5686
- queryParams: {
5687
- component_stage: componentStageId
5688
- },
5680
+ method: HttpMethod.DELETE,
5681
+ url: `/forms/${formId2}/associate-with-stage/`,
5689
5682
  blockers: [formId2, componentStageId],
5690
5683
  blocks: [formId2]
5691
5684
  });