@tagsamurai/fats-api-services 1.0.3-alpha.14 → 1.0.3-alpha.15
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/api-services.es.js
CHANGED
|
@@ -95,10 +95,10 @@ const API$K = createAxiosInstance({
|
|
|
95
95
|
prefix: "/utility/v2"
|
|
96
96
|
});
|
|
97
97
|
const ChangelogServices$1 = {
|
|
98
|
-
|
|
98
|
+
getChangelogList: (params) => {
|
|
99
99
|
return API$K.get("/change-log", { params });
|
|
100
100
|
},
|
|
101
|
-
|
|
101
|
+
getChangelogListOptions: () => {
|
|
102
102
|
return API$K.get("/change-log/options");
|
|
103
103
|
},
|
|
104
104
|
getSessionLogList: (params) => {
|
package/api-services.system.js
CHANGED
|
@@ -102,10 +102,10 @@ System.register(["axios"], function(exports, module) {
|
|
|
102
102
|
prefix: "/utility/v2"
|
|
103
103
|
});
|
|
104
104
|
const ChangelogServices$1 = {
|
|
105
|
-
|
|
105
|
+
getChangelogList: (params) => {
|
|
106
106
|
return API$K.get("/change-log", { params });
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
getChangelogListOptions: () => {
|
|
109
109
|
return API$K.get("/change-log/options");
|
|
110
110
|
},
|
|
111
111
|
getSessionLogList: (params) => {
|
package/package.json
CHANGED
package/src/dto/log.dto.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FetchListResponse, FetchResponse } from '../types/fetchResponse.type';
|
|
|
3
3
|
import { SessionLog, SystemLog } from '../types/log.type';
|
|
4
4
|
import { Option } from '../types/options.type';
|
|
5
5
|
import { BaseFilterQueryParams } from './settingsAssetName.dto';
|
|
6
|
-
export type
|
|
6
|
+
export type GetChangeLogListQueryParams = BaseFilterQueryParams & {
|
|
7
7
|
object?: string[];
|
|
8
8
|
createdAt?: string[];
|
|
9
9
|
action?: string[];
|
|
@@ -14,7 +14,7 @@ export type ActionLogParams = BaseFilterQueryParams & {
|
|
|
14
14
|
objectId?: string[];
|
|
15
15
|
userId?: string[];
|
|
16
16
|
};
|
|
17
|
-
export type ActionLogFilterParams = Partial<Record<keyof
|
|
17
|
+
export type ActionLogFilterParams = Partial<Record<keyof GetChangeLogListQueryParams, string>>;
|
|
18
18
|
export type ActionLogOptionFilter = {
|
|
19
19
|
actionOptions?: Option[];
|
|
20
20
|
fieldOptions?: Option[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { FetchDetailResponse, FetchListResponse, FetchOptionResponse } from '../types/fetchResponse.type';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { GetChangeLogListQueryParams, GetSessionLogListResponse, GetUserSystemLogListResponse, GetUserSystemLogOptionsResponse, SessionLogFetchParams, SessionOptionsQueryParams, SystemLogFetchParams, SystemLogLoadingFilters } from '../dto/log.dto';
|
|
4
|
+
import { ChangelogList, ChangelogListOptions } from '../types/log.type';
|
|
5
5
|
import { GetUserLogAssignmentOptionsResponse, GetUserLogBorrowingOptionsResponse, UserLogAssignmentFetchParams, UserLogAssignmentLoadingFilters, UserLogBorrowingFetchParams, UserLogBorrowingLoadingFilters } from '../dto/user.dto';
|
|
6
6
|
import { UserLogAssignment, UserLogBorrowing } from '../types/userLog.type';
|
|
7
7
|
import { TransactionLogFilterParams } from '../dto/transactionLog.dto';
|
|
@@ -9,8 +9,8 @@ import { BasicAssetTransactionLogOptionBoolean, BasicAssetTransactionLogOptionFi
|
|
|
9
9
|
import { TransactionDataType } from '../types/assetDetail.type';
|
|
10
10
|
import { FetchOptionFn } from '@fewangsit/wangsvue-fats/components/filtercontainer/FilterContainer.vue';
|
|
11
11
|
declare const ChangelogServices: {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
getChangelogList: (params?: GetChangeLogListQueryParams) => Promise<AxiosResponse<FetchListResponse<ChangelogList>>>;
|
|
13
|
+
getChangelogListOptions: () => Promise<AxiosResponse<FetchDetailResponse<ChangelogListOptions>>>;
|
|
14
14
|
getSessionLogList: (params: SessionLogFetchParams) => Promise<AxiosResponse<GetSessionLogListResponse>>;
|
|
15
15
|
getSessionLogListOptions: <T = SessionOptionsQueryParams>(params: T) => FetchOptionFn<T>;
|
|
16
16
|
getTransactionLog: (params?: TransactionLogFilterParams) => Promise<AxiosResponse<FetchListResponse<TransactionDataType>>>;
|