@cbm-common/cbm-types 0.0.109 → 0.0.110
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.
- package/lib/domain/models/service-for-interest.domain.model.d.ts +1 -1
- package/lib/domain/repositories/service-for-interest.domain.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/service-for-interest.infrastructure.repository.d.ts +8 -8
- package/lib/infrastructure/services/service-for-interest.infrastructure.service.d.ts +9 -9
- package/package.json +1 -1
- package/lib/domain/repositories/service-for-interest.domian.repository.d.ts +0 -13
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CbmServiceForInterestDomainModel } from '../models/service-for-interest.domain.model';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
4
|
-
export declare class
|
|
3
|
+
import { ICbmServiceForInterestInfrastructureRepository } from '../../infrastructure/repositories/service-for-interest.infrastructure.repository';
|
|
4
|
+
export declare class CbmServiceForInterestDomainRepository implements ICbmServiceForInterestInfrastructureRepository {
|
|
5
5
|
private service;
|
|
6
|
-
constructor(service:
|
|
7
|
-
list(params:
|
|
8
|
-
getOne(id: string): Observable<
|
|
9
|
-
save(data:
|
|
10
|
-
update(id: string, data:
|
|
11
|
-
changeStatus(id: string, data:
|
|
12
|
-
delete(id: string): Observable<
|
|
6
|
+
constructor(service: ICbmServiceForInterestInfrastructureRepository);
|
|
7
|
+
list(params: CbmServiceForInterestDomainModel.ListParams): Observable<CbmServiceForInterestDomainModel.ListResponse>;
|
|
8
|
+
getOne(id: string): Observable<CbmServiceForInterestDomainModel.GetOneResponse>;
|
|
9
|
+
save(data: CbmServiceForInterestDomainModel.SaveBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
10
|
+
update(id: string, data: CbmServiceForInterestDomainModel.UpdateBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
11
|
+
changeStatus(id: string, data: CbmServiceForInterestDomainModel.ChangeStatusBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
12
|
+
delete(id: string): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
13
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
4
|
-
list(params:
|
|
5
|
-
getOne(id: string): Observable<
|
|
6
|
-
save(data:
|
|
7
|
-
update(id: string, data:
|
|
8
|
-
changeStatus(id: string, data:
|
|
9
|
-
delete(id: string): Observable<
|
|
2
|
+
import { CbmServiceForInterestDomainModel } from "../../domain/models/service-for-interest.domain.model";
|
|
3
|
+
export interface ICbmServiceForInterestInfrastructureRepository {
|
|
4
|
+
list(params: CbmServiceForInterestDomainModel.ListParams): Observable<CbmServiceForInterestDomainModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmServiceForInterestDomainModel.GetOneResponse>;
|
|
6
|
+
save(data: CbmServiceForInterestDomainModel.SaveBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, data: CbmServiceForInterestDomainModel.UpdateBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
8
|
+
changeStatus(id: string, data: CbmServiceForInterestDomainModel.ChangeStatusBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
9
|
+
delete(id: string): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
10
10
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export declare class
|
|
3
|
+
import { ICbmServiceForInterestInfrastructureRepository } from '../repositories/service-for-interest.infrastructure.repository';
|
|
4
|
+
import { CbmServiceForInterestDomainModel } from '../../domain/models/service-for-interest.domain.model';
|
|
5
|
+
export declare class CbmServiceForInterestInfrastructureService implements ICbmServiceForInterestInfrastructureRepository {
|
|
6
6
|
private http;
|
|
7
7
|
constructor(http: HttpClient);
|
|
8
8
|
private readonly url;
|
|
9
|
-
list(params:
|
|
10
|
-
getOne(id: string): Observable<
|
|
11
|
-
save(data:
|
|
12
|
-
update(id: string, data:
|
|
13
|
-
changeStatus(id: string, data:
|
|
14
|
-
delete(id: string): Observable<
|
|
9
|
+
list(params: CbmServiceForInterestDomainModel.ListParams): Observable<CbmServiceForInterestDomainModel.ListResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmServiceForInterestDomainModel.GetOneResponse>;
|
|
11
|
+
save(data: CbmServiceForInterestDomainModel.SaveBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
12
|
+
update(id: string, data: CbmServiceForInterestDomainModel.UpdateBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
13
|
+
changeStatus(id: string, data: CbmServiceForInterestDomainModel.ChangeStatusBody): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
14
|
+
delete(id: string): Observable<CbmServiceForInterestDomainModel.ConfirmResponse>;
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ServiceForInterestDomainModel } from '../models/service-for-interest.domain.model';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { IServiceForInterestInfrastructureRepository } from '../../infrastructure/repositories/service-for-interest.infrastructure.repository';
|
|
4
|
-
export declare class ServiceForInterestDomainRepository implements IServiceForInterestInfrastructureRepository {
|
|
5
|
-
private service;
|
|
6
|
-
constructor(service: IServiceForInterestInfrastructureRepository);
|
|
7
|
-
list(params: ServiceForInterestDomainModel.ListParams): Observable<ServiceForInterestDomainModel.ListResponse>;
|
|
8
|
-
getOne(id: string): Observable<ServiceForInterestDomainModel.GetOneResponse>;
|
|
9
|
-
save(data: ServiceForInterestDomainModel.SaveBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
|
|
10
|
-
update(id: string, data: ServiceForInterestDomainModel.UpdateBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
|
|
11
|
-
changeStatus(id: string, data: ServiceForInterestDomainModel.ChangeStatusBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
|
|
12
|
-
delete(id: string): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
|
|
13
|
-
}
|