ntk-cms-api 20.25.42 → 20.25.44
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/fesm2022/ntk-cms-api.mjs +39 -11
- package/fesm2022/ntk-cms-api.mjs.map +1 -1
- package/index.d.ts +5 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1941,7 +1941,9 @@ declare class ApiServerBase {
|
|
|
1941
1941
|
setConfig(url: string, ver?: string, apiRetry?: number): void;
|
|
1942
1942
|
get Ver(): string;
|
|
1943
1943
|
cachApiResult: any[];
|
|
1944
|
-
|
|
1944
|
+
apiCallStatusInRunResult: any[];
|
|
1945
|
+
cashApiIsValid(serviceNameKay: string, cashApiSeconds?: number): Promise<boolean>;
|
|
1946
|
+
cashApiVlaueSet(serviceNameKay: string, ret: any): Promise<void>;
|
|
1945
1947
|
childConstructor(): any;
|
|
1946
1948
|
getBaseUrl(): string;
|
|
1947
1949
|
getModuleControllerUrl(): string;
|
|
@@ -2147,9 +2149,10 @@ declare class ApiCmsServerBase<TModel, TKey, TFilterModel> extends ApiServerBase
|
|
|
2147
2149
|
ServiceReportFileGetAll(): Observable<ErrorExceptionResult<CoreModuleEntityReportFileModel>>;
|
|
2148
2150
|
ServiceGetAll(model: TFilterModel): Observable<ErrorExceptionResult<TModel>>;
|
|
2149
2151
|
ServiceGetAllEditor(model: TFilterModel): Observable<ErrorExceptionResult<TModel>>;
|
|
2150
|
-
ServiceGetOneById(id: TKey, cashApiSeconds?: number): Observable<ErrorExceptionResult<TModel
|
|
2152
|
+
ServiceGetOneById(id: TKey, cashApiSeconds?: number): Promise<Observable<ErrorExceptionResult<TModel>>>;
|
|
2151
2153
|
ServiceGetCount(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
2152
2154
|
ServiceSetStatus(id: TKey, recordStatus: RecordStatusEnum): Observable<ErrorExceptionResult<TModel>>;
|
|
2155
|
+
ServiceSetAdminStatus(id: TKey, recordAdminStatus: RecordAdminStatusEnum): Observable<ErrorExceptionResult<TModel>>;
|
|
2153
2156
|
ServiceGetExist(model: FilterModel): Observable<ErrorExceptionResultBase>;
|
|
2154
2157
|
ServiceExportFile(model: FilterModel): Observable<ErrorExceptionResultExportFile>;
|
|
2155
2158
|
ServiceExportFileGetOne(id: TKey, model: ExportFileModel): Observable<ErrorExceptionResultExportFile>;
|