dff-util 1.4.3 → 1.4.4
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/README.md +9 -3
- package/dist/main/const-type.d.ts +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Select a topic below to view its reference and examples.
|
|
|
45
45
|
| :--- | :--- | :--- | :--- | :--- |
|
|
46
46
|
| [LangDirType](#common-types) | [OrderType](#common-types) | [ThemeType](#common-types) | [UnixTimestampType](#common-types) | [OptionType](#common-types) |
|
|
47
47
|
| [FileType](#common-types) | [ResponseType](#request-and-response-types) | [SearchType](#request-and-response-types) | [KeyValueType](#request-and-response-types) | [JsonValueType](#request-and-response-types) |
|
|
48
|
-
| [RequestBodyType](#request-and-response-types) | [
|
|
48
|
+
| [RequestBodyType](#request-and-response-types) | [RequestParamType](#request-and-response-types) | [RequestByIdType](#request-and-response-types) | [SessionUser](#session-user-sessionuser) | [SessionInfo](#session-information-sessioninfo) |
|
|
49
49
|
|
|
50
50
|
**[Constants and validation](#constants-and-validation)**
|
|
51
51
|
|
|
@@ -1213,9 +1213,15 @@ export type KeyValueType = {
|
|
|
1213
1213
|
|
|
1214
1214
|
export type JsonValueType = string | number | boolean | null | JsonValueType[] | { [key: string]: JsonValueType };
|
|
1215
1215
|
export type RequestBodyType = Record<string, JsonValueType>;
|
|
1216
|
-
export type
|
|
1216
|
+
export type RequestParamType = Record<string, string | number | boolean | null>;
|
|
1217
1217
|
export type RequestByIdType = {
|
|
1218
|
-
id: string
|
|
1218
|
+
id: string;
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
export type PubSubEventType = {
|
|
1222
|
+
id: string;
|
|
1223
|
+
name?: string;
|
|
1224
|
+
raw?: string;
|
|
1219
1225
|
};
|
|
1220
1226
|
|
|
1221
1227
|
```
|
|
@@ -50,9 +50,14 @@ export type JsonValueType = string | number | boolean | null | JsonValueType[] |
|
|
|
50
50
|
[key: string]: JsonValueType;
|
|
51
51
|
};
|
|
52
52
|
export type RequestBodyType = Record<string, JsonValueType>;
|
|
53
|
-
export type
|
|
53
|
+
export type RequestParamType = Record<string, string | number | boolean | null>;
|
|
54
54
|
export type RequestByIdType = {
|
|
55
|
-
id: string
|
|
55
|
+
id: string;
|
|
56
|
+
};
|
|
57
|
+
export type PubSubEventType = {
|
|
58
|
+
id: string;
|
|
59
|
+
name?: string;
|
|
60
|
+
raw?: string;
|
|
56
61
|
};
|
|
57
62
|
export type CountryType = {
|
|
58
63
|
code: string;
|