@posx/core 5.5.186 → 5.5.187

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/build/index.d.ts CHANGED
@@ -621,6 +621,14 @@ declare module '@posx/core/services/app.service' {
621
621
  modifierCategory: ICoreCategory;
622
622
  modifiers: ICoreItem[];
623
623
  }>;
624
+ /**
625
+ * Copy a modifier group (category) and its modifiers to multiple items
626
+ * @param sourceModifierCategory - The modifier category to copy
627
+ * @param sourceModifiers - Array of modifiers belonging to the category
628
+ * @param targetItems - Array of items to copy the modifier group to
629
+ * @returns Promise resolving to array of updated items
630
+ */
631
+ copyModifierGroupToItems(sourceModifierCategory: ICoreCategory, sourceModifiers: ICoreItem[], targetItems: IItem[]): Promise<IItem[]>;
624
632
  }
625
633
  export class ItemService extends AppRemoteService<IItem> implements IItemService {
626
634
  readonly http: AxiosInstance;
@@ -649,6 +657,7 @@ declare module '@posx/core/services/app.service' {
649
657
  modifierCategory: ICoreCategory;
650
658
  modifiers: ICoreItem[];
651
659
  }>;
660
+ copyModifierGroupToItems(sourceModifierCategory: ICoreCategory, sourceModifiers: ICoreItem[], targetItems: IItem[]): Promise<IItem[]>;
652
661
  }
653
662
  /**
654
663
  * Represents a service for managing categories.