ntk-cms-api 1.2.103 → 1.2.105
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/bundles/ntk-cms-api.umd.js +15 -2
- package/bundles/ntk-cms-api.umd.js.map +1 -1
- package/bundles/ntk-cms-api.umd.min.js +1 -1
- package/bundles/ntk-cms-api.umd.min.js.map +1 -1
- package/esm2015/lib/service/base/_export.js +2 -1
- package/esm2015/lib/service/base/apiCmsServerBase.service.js +16 -3
- package/esm2015/lib/service/base/iApiCmsServerBase.js +2 -0
- package/fesm2015/ntk-cms-api.js +14 -2
- package/fesm2015/ntk-cms-api.js.map +1 -1
- package/lib/service/base/_export.d.ts +1 -0
- package/lib/service/base/apiCmsServerBase.service.d.ts +5 -8
- package/lib/service/base/iApiCmsServerBase.d.ts +19 -0
- package/ntk-cms-api.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7,13 +7,9 @@ import { ErrorExceptionResultExportFile } from '../../models/entity/base/errorEx
|
|
|
7
7
|
import { EnumRecordStatus } from '../../models/enums/base/enumRecordStatus';
|
|
8
8
|
import { CoreModuleMemoDtoModel } from '../../models/dto/core-module/coreModuleMemoDtoModel';
|
|
9
9
|
import { CoreModuleEntityReportFileModel } from '../../models/entity/core-main/coreModuleEntityReportFileModel';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ServiceGetCount(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
14
|
-
ServiceGetExist(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
15
|
-
ServiceExportFile(model: FilterModel): Observable<ErrorExceptionResultExportFile>;
|
|
16
|
-
}
|
|
10
|
+
import { IApiCmsServerBase } from './iApiCmsServerBase';
|
|
11
|
+
import { CoreModuleLogMemoModel } from '../../models/entity/core-module-log/coreModuleLogMemoModel';
|
|
12
|
+
import { ExportFileModel } from '../../models/entity/base/exportFileModel';
|
|
17
13
|
export declare class ApiCmsServerBase<TModel, TKey> extends ApiServerBase implements IApiCmsServerBase {
|
|
18
14
|
ServiceViewModel(): Observable<ErrorExceptionResult<TModel>>;
|
|
19
15
|
ServiceGetAllReportFile(): Observable<ErrorExceptionResult<CoreModuleEntityReportFileModel>>;
|
|
@@ -24,11 +20,12 @@ export declare class ApiCmsServerBase<TModel, TKey> extends ApiServerBase implem
|
|
|
24
20
|
ServiceSetStatus(id: TKey, recordStatus: EnumRecordStatus): Observable<ErrorExceptionResult<TModel>>;
|
|
25
21
|
ServiceGetExist(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
26
22
|
ServiceExportFile(model: FilterModel): Observable<ErrorExceptionResultExportFile>;
|
|
27
|
-
ServiceExportFileGetOne(id: TKey, model:
|
|
23
|
+
ServiceExportFileGetOne(id: TKey, model: ExportFileModel): Observable<ErrorExceptionResultExportFile>;
|
|
28
24
|
ServiceAdd(model: TModel): Observable<ErrorExceptionResult<TModel>>;
|
|
29
25
|
ServiceEdit(model: TModel): Observable<ErrorExceptionResult<TModel>>;
|
|
30
26
|
ServiceDelete(id: TKey): Observable<ErrorExceptionResultBase>;
|
|
31
27
|
ServiceDeleteList(ids: TKey[]): Observable<ErrorExceptionResultBase>;
|
|
32
28
|
ServiceDeleteEntity(model: TModel): Observable<ErrorExceptionResultBase>;
|
|
33
29
|
ServiceMemoAdd(model: CoreModuleMemoDtoModel): Observable<ErrorExceptionResultBase>;
|
|
30
|
+
ServiceMemoGetAll(id: TKey): Observable<ErrorExceptionResult<CoreModuleLogMemoModel>>;
|
|
34
31
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ErrorExceptionResult } from '../../models/entity/base/errorExceptionResult';
|
|
3
|
+
import { FilterModel } from '../../models/entity/base/filterModel';
|
|
4
|
+
import { ErrorExceptionResultBase } from '../../models/entity/base/errorExceptionResultBase';
|
|
5
|
+
import { ErrorExceptionResultExportFile } from '../../models/entity/base/errorExceptionResultExportFile';
|
|
6
|
+
import { CoreModuleMemoDtoModel } from '../../models/dto/core-module/coreModuleMemoDtoModel';
|
|
7
|
+
import { CoreModuleEntityReportFileModel } from '../../models/entity/core-main/coreModuleEntityReportFileModel';
|
|
8
|
+
import { CoreModuleLogMemoModel } from '../../models/entity/core-module-log/coreModuleLogMemoModel';
|
|
9
|
+
import { ExportFileModel } from '../../models/entity/base/exportFileModel';
|
|
10
|
+
export interface IApiCmsServerBase {
|
|
11
|
+
ServiceMemoAdd(model: CoreModuleMemoDtoModel): Observable<ErrorExceptionResultBase>;
|
|
12
|
+
ServiceMemoGetAll(id: any): Observable<ErrorExceptionResult<CoreModuleLogMemoModel>>;
|
|
13
|
+
ServiceGetCount(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
14
|
+
ServiceGetExist(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
15
|
+
ServiceDelete(id: any): Observable<ErrorExceptionResultBase>;
|
|
16
|
+
ServiceGetAllReportFile(): Observable<ErrorExceptionResult<CoreModuleEntityReportFileModel>>;
|
|
17
|
+
ServiceExportFile(model: FilterModel): Observable<ErrorExceptionResultExportFile>;
|
|
18
|
+
ServiceExportFileGetOne(id: any, model: ExportFileModel): Observable<ErrorExceptionResultExportFile>;
|
|
19
|
+
}
|