UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

19 lines 613 B
import { ModelUpdateCommand } from "../ModelUpdateCommand"; export class BaseItemsCommand extends ModelUpdateCommand { constructor(_productHandler, historyArgs, args) { super(args, historyArgs); this._productHandler = _productHandler; } _getTargetItems(items, query, queryOptions) { if (items != null) { return items; } else if (query != null) { return this._productHandler.queryItems(query, queryOptions); } else { return null; } } } //# sourceMappingURL=BaseItemsCommand.js.map