@lenne.tech/ng-base 14.6.0 → 14.7.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.
@@ -1768,6 +1768,19 @@ class UserService extends GraphQLPlusService {
1768
1768
  loading: true,
1769
1769
  });
1770
1770
  }
1771
+ /**
1772
+ * Delete user by id
1773
+ *
1774
+ * @param id
1775
+ */
1776
+ delete(id) {
1777
+ return this.graphQl('deleteUser', {
1778
+ arguments: { id },
1779
+ fields: ['id'],
1780
+ type: GraphQLRequestType.MUTATION,
1781
+ loading: true,
1782
+ });
1783
+ }
1771
1784
  }
1772
1785
  UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: UserService, deps: [{ token: i1.Apollo }, { token: GraphQLMetaService }, { token: LoaderService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
1773
1786
  UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: UserService, providedIn: 'root' });