@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.
@@ -1810,6 +1810,19 @@ class UserService extends GraphQLPlusService {
1810
1810
  loading: true,
1811
1811
  });
1812
1812
  }
1813
+ /**
1814
+ * Delete user by id
1815
+ *
1816
+ * @param id
1817
+ */
1818
+ delete(id) {
1819
+ return this.graphQl('deleteUser', {
1820
+ arguments: { id },
1821
+ fields: ['id'],
1822
+ type: GraphQLRequestType.MUTATION,
1823
+ loading: true,
1824
+ });
1825
+ }
1813
1826
  }
1814
1827
  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 });
1815
1828
  UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: UserService, providedIn: 'root' });