Extract data handling classes to extension sdk
- The package
@shopware-ag/admin-extension-sdkwill be referred to as sdk
- The ts/js implementation of the Administration is referred to as administration
Previously the administration held the implementation of the classes
Criteria. This led to the problem, that the sdk was unable to identify instances of this classes easily. Since the administration is not a standalone package which could be imported in the sdk. Also, the sdk would need to copy the implementation since we want to copy the administration datahandling in the sdk.
Move the implementation of
Criteriato the sdk. The corresponding files in the administration simply forward the default export of the sdk.
This will result in the same behaviour for current implementations. On the other hand it provides the benefit of having these basic classes in an external package anybody can use.