bfg-common 1.3.34 → 1.3.35
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/models/interfaces.ts
CHANGED
|
@@ -24,16 +24,3 @@ export interface UI_I_NotifyBodyMessage {
|
|
|
24
24
|
title: string
|
|
25
25
|
desc: string
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
export interface API_UI_I_Response<T> {
|
|
29
|
-
response: {
|
|
30
|
-
_data: T
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export interface UI_I_RequestBody {
|
|
34
|
-
method: string
|
|
35
|
-
params: {
|
|
36
|
-
target: string | number
|
|
37
|
-
args: string
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import type { UI_I_Pagination } from '~/lib/models/interfaces'
|
|
2
|
-
import type { UI_T_Schema } from '~/lib/models/types'
|
|
3
|
-
|
|
4
1
|
export interface UI_I_ErrorValidationField<T = string> {
|
|
5
2
|
error_message: string
|
|
6
3
|
field: T
|
|
7
4
|
}
|
|
8
5
|
|
|
6
|
+
export interface API_UI_I_Response<T> {
|
|
7
|
+
response: {
|
|
8
|
+
_data: T
|
|
9
|
+
}
|
|
10
|
+
}
|
|
9
11
|
export interface API_UI_I_Error {
|
|
10
12
|
data: {
|
|
11
13
|
error_code: number
|
|
@@ -13,6 +15,13 @@ export interface API_UI_I_Error {
|
|
|
13
15
|
name?: any
|
|
14
16
|
}
|
|
15
17
|
}
|
|
18
|
+
export interface UI_I_RequestBody {
|
|
19
|
+
method: string
|
|
20
|
+
params: {
|
|
21
|
+
target: string | number
|
|
22
|
+
args: string
|
|
23
|
+
}
|
|
24
|
+
}
|
|
16
25
|
|
|
17
26
|
export interface API_UI_I_Node {
|
|
18
27
|
id: string
|
|
@@ -22,16 +31,6 @@ export interface API_UI_I_Node {
|
|
|
22
31
|
console_type?: string
|
|
23
32
|
}
|
|
24
33
|
|
|
25
|
-
export interface UI_I_SchemaTablePayload {
|
|
26
|
-
schema: UI_T_Schema
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface UI_I_TablePayload extends UI_I_SchemaTablePayload {
|
|
30
|
-
pagination: UI_I_Pagination
|
|
31
|
-
type: any
|
|
32
|
-
sortBy: string | null
|
|
33
|
-
}
|
|
34
|
-
|
|
35
34
|
export interface UI_I_CommitOptions {
|
|
36
35
|
root: boolean
|
|
37
36
|
}
|
|
@@ -26,3 +26,13 @@ export interface UI_I_DataTableQuery extends UI_I_Pagination {
|
|
|
26
26
|
sortBy?: string
|
|
27
27
|
filter?: string
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
export interface UI_I_SchemaTablePayload {
|
|
31
|
+
schema: UI_T_Schema
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface UI_I_TablePayload extends UI_I_SchemaTablePayload {
|
|
35
|
+
pagination: UI_I_Pagination
|
|
36
|
+
type: any
|
|
37
|
+
sortBy: string | null
|
|
38
|
+
}
|