You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/npm/ng-packs/dist/tenant-management/lib/states/tenant-management.state.d.ts

17 lines
1.3 KiB

import { StateContext } from '@ngxs/store';
import { CreateTenant, DeleteTenant, GetTenants, GetTenantById, UpdateTenant } from '../actions/tenant-management.actions';
import { TenantManagement } from '../models/tenant-management';
import { TenantManagementService } from '../services/tenant-management.service';
import { ABP } from '@abp/ng.core';
export declare class TenantManagementState {
private tenantManagementService;
static get({ result }: TenantManagement.State): ABP.BasicItem[];
static getTenantsTotalCount({ result }: TenantManagement.State): number;
constructor(tenantManagementService: TenantManagementService);
get({ patchState }: StateContext<TenantManagement.State>, { payload }: GetTenants): import("rxjs").Observable<ABP.PagedResponse<TenantManagement.Item>>;
getById({ patchState }: StateContext<TenantManagement.State>, { payload }: GetTenantById): import("rxjs").Observable<ABP.BasicItem>;
delete({ dispatch }: StateContext<TenantManagement.State>, { payload }: DeleteTenant): import("rxjs").Observable<void>;
add({ dispatch }: StateContext<TenantManagement.State>, { payload }: CreateTenant): import("rxjs").Observable<void>;
update({ dispatch, getState }: StateContext<TenantManagement.State>, { payload }: UpdateTenant): import("rxjs").Observable<void>;
}