@msbci/form-server 1.3.5 → 1.4.0

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.
package/dist/index.d.mts CHANGED
@@ -352,6 +352,13 @@ declare class FormService {
352
352
  * {@link getFormDefinition}.
353
353
  */
354
354
  getResolvedFormDefinition(id: string): Promise<IFormDefinition>;
355
+ /**
356
+ * Editable domain form (scopeIds, parsed JSON, localized labels) WITHOUT
357
+ * resolving templates: variables keep their `templateId`/`templateOverrides`
358
+ * so the visual editor can round-trip them. This is the shape the editor
359
+ * adapter expects from a `loadForm` call.
360
+ */
361
+ getEditableFormDefinition(id: string): Promise<IFormDefinition>;
355
362
  deleteFormDefinition(id: string): Promise<{
356
363
  id: string;
357
364
  code: string;
package/dist/index.d.ts CHANGED
@@ -352,6 +352,13 @@ declare class FormService {
352
352
  * {@link getFormDefinition}.
353
353
  */
354
354
  getResolvedFormDefinition(id: string): Promise<IFormDefinition>;
355
+ /**
356
+ * Editable domain form (scopeIds, parsed JSON, localized labels) WITHOUT
357
+ * resolving templates: variables keep their `templateId`/`templateOverrides`
358
+ * so the visual editor can round-trip them. This is the shape the editor
359
+ * adapter expects from a `loadForm` call.
360
+ */
361
+ getEditableFormDefinition(id: string): Promise<IFormDefinition>;
355
362
  deleteFormDefinition(id: string): Promise<{
356
363
  id: string;
357
364
  code: string;