feat: widget sdk

This commit is contained in:
Tristan Yang
2022-10-27 21:21:54 +08:00
parent 23320ab637
commit 1987c257ba
25 changed files with 456 additions and 96 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { createSlice, PayloadAction } from "@reduxjs/toolkit";
export interface State {
ids: number[];
// todo: check object type
byId: { [id: number]: any };
byId: { [id: number]: number[] };
}
const initialState: State = {