@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.
@@ -1,4 +1,4 @@
1
- export declare namespace ServiceForInterestDomainModel {
1
+ export declare namespace CbmServiceForInterestDomainModel {
2
2
  interface ListParams {
3
3
  page: number;
4
4
  size: number;
@@ -1,13 +1,13 @@
1
- import { ServiceForInterestDomainModel } from '../models/service-for-interest.domain.model';
1
+ import { CbmServiceForInterestDomainModel } from '../models/service-for-interest.domain.model';
2
2
  import { Observable } from 'rxjs';
3
- import { IServiceForInterestInfrastructureRepository } from '../../infrastructure/repositories/service-for-interest.infrastructure.repository';
4
- export declare class ServiceForInterestDomainRepository implements IServiceForInterestInfrastructureRepository {
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: 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>;
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 { ServiceForInterestDomainModel } from "../../domain/models/service-for-interest.domain.model";
3
- export interface IServiceForInterestInfrastructureRepository {
4
- list(params: ServiceForInterestDomainModel.ListParams): Observable<ServiceForInterestDomainModel.ListResponse>;
5
- getOne(id: string): Observable<ServiceForInterestDomainModel.GetOneResponse>;
6
- save(data: ServiceForInterestDomainModel.SaveBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
7
- update(id: string, data: ServiceForInterestDomainModel.UpdateBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
8
- changeStatus(id: string, data: ServiceForInterestDomainModel.ChangeStatusBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
9
- delete(id: string): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
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 { IServiceForInterestInfrastructureRepository } from '../repositories/service-for-interest.infrastructure.repository';
4
- import { ServiceForInterestDomainModel } from '../../domain/models/service-for-interest.domain.model';
5
- export declare class ServiceForInterestInfrastructureService implements IServiceForInterestInfrastructureRepository {
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: ServiceForInterestDomainModel.ListParams): Observable<ServiceForInterestDomainModel.ListResponse>;
10
- getOne(id: string): Observable<ServiceForInterestDomainModel.GetOneResponse>;
11
- save(data: ServiceForInterestDomainModel.SaveBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
12
- update(id: string, data: ServiceForInterestDomainModel.UpdateBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
13
- changeStatus(id: string, data: ServiceForInterestDomainModel.ChangeStatusBody): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
14
- delete(id: string): Observable<ServiceForInterestDomainModel.ConfirmResponse>;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {
@@ -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
- }