@kanda-libs/ks-component-ts 0.2.422 → 0.2.424
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 +13474 -13474
- 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/SearchHits.ts +3 -0
- package/src/generated/components/schemas/SearchIndex.ts +7 -1
- package/src/generated/widget/index.tsx +61033 -61032
package/package.json
CHANGED
|
@@ -3,12 +3,14 @@ import { Company } from "./Company";
|
|
|
3
3
|
import { Credit } from "./Credit";
|
|
4
4
|
import { Enterprise } from "./Enterprise";
|
|
5
5
|
import { Job } from "./Job";
|
|
6
|
+
import { Transaction } from "./Transaction";
|
|
6
7
|
|
|
7
8
|
export const SearchHits = t.type({
|
|
8
9
|
company: t.array(Company),
|
|
9
10
|
credit: t.array(Credit),
|
|
10
11
|
enterprise: t.array(Enterprise),
|
|
11
12
|
job: t.array(Job),
|
|
13
|
+
transaction: t.array(Transaction),
|
|
12
14
|
});
|
|
13
15
|
|
|
14
16
|
export interface SearchHits {
|
|
@@ -16,4 +18,5 @@ export interface SearchHits {
|
|
|
16
18
|
credit: Array<Credit>;
|
|
17
19
|
enterprise: Array<Enterprise>;
|
|
18
20
|
job: Array<Job>;
|
|
21
|
+
transaction: Array<Transaction>;
|
|
19
22
|
}
|
|
@@ -5,6 +5,12 @@ export const SearchIndex = t.union([
|
|
|
5
5
|
t.literal("credit"),
|
|
6
6
|
t.literal("enterprise"),
|
|
7
7
|
t.literal("job"),
|
|
8
|
+
t.literal("transaction"),
|
|
8
9
|
]);
|
|
9
10
|
|
|
10
|
-
export type SearchIndex =
|
|
11
|
+
export type SearchIndex =
|
|
12
|
+
| "company"
|
|
13
|
+
| "credit"
|
|
14
|
+
| "enterprise"
|
|
15
|
+
| "job"
|
|
16
|
+
| "transaction";
|