@kanda-libs/ks-component-ts 0.2.412 → 0.2.413
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/dist/index.d.ts +11618 -11613
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/schemas/InfoSearch.ts +3 -7
- package/src/generated/components/schemas/SearchIndex.ts +10 -0
- package/src/generated/components/schemas/index.ts +1 -0
- package/src/generated/widget/index.tsx +61604 -61565
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
import { SearchHits } from "./SearchHits";
|
|
3
|
+
import { SearchIndex } from "./SearchIndex";
|
|
3
4
|
|
|
4
5
|
export const InfoSearch = t.intersection([
|
|
5
6
|
t.type({
|
|
7
|
+
index: t.array(SearchIndex),
|
|
6
8
|
q: t.string,
|
|
7
9
|
}),
|
|
8
10
|
t.partial({
|
|
9
|
-
index: t.union([
|
|
10
|
-
t.literal("company"),
|
|
11
|
-
t.literal("credit"),
|
|
12
|
-
t.literal("enterprise"),
|
|
13
|
-
t.literal("job"),
|
|
14
|
-
]),
|
|
15
11
|
filter: t.string,
|
|
16
12
|
sort: t.array(t.string),
|
|
17
13
|
offset: t.number,
|
|
@@ -22,7 +18,7 @@ export const InfoSearch = t.intersection([
|
|
|
22
18
|
]);
|
|
23
19
|
|
|
24
20
|
export interface InfoSearch {
|
|
25
|
-
index
|
|
21
|
+
index: Array<SearchIndex>;
|
|
26
22
|
q: string;
|
|
27
23
|
filter?: string;
|
|
28
24
|
sort?: Array<string>;
|
|
@@ -103,6 +103,7 @@ export * from "./Reward";
|
|
|
103
103
|
export * from "./SatNote";
|
|
104
104
|
export * from "./SatNoteTimeline";
|
|
105
105
|
export * from "./SearchHits";
|
|
106
|
+
export * from "./SearchIndex";
|
|
106
107
|
export * from "./SelfEmployedDetails";
|
|
107
108
|
export * from "./Signature";
|
|
108
109
|
export * from "./SignDocument";
|