tsdf 9.2.0 → 9.3.0
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/main.d.ts +6 -5
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -168,11 +168,12 @@ type TSFDUseListItemReturn<Selected, NError, ItemPayload> = {
|
|
|
168
168
|
error: NError | null;
|
|
169
169
|
isLoading: boolean;
|
|
170
170
|
};
|
|
171
|
+
type FetchListFnReturnItem<ItemPayload extends ValidPayload, ItemState extends ValidStoreState> = {
|
|
172
|
+
itemPayload: ItemPayload;
|
|
173
|
+
data: ItemState;
|
|
174
|
+
};
|
|
171
175
|
type FetchListFnReturn<ItemState extends ValidStoreState, ItemPayload extends ValidPayload> = {
|
|
172
|
-
items:
|
|
173
|
-
itemPayload: ItemPayload;
|
|
174
|
-
data: ItemState;
|
|
175
|
-
}[];
|
|
176
|
+
items: FetchListFnReturnItem<ItemPayload, ItemState>[];
|
|
176
177
|
hasMore: boolean;
|
|
177
178
|
};
|
|
178
179
|
type ListQueryStoreInitialData<ItemState extends ValidStoreState, QueryPayload extends ValidPayload, ItemPayload extends ValidPayload> = {
|
|
@@ -303,4 +304,4 @@ declare function newTSDFListQueryStore<ItemState extends ValidStoreState, NError
|
|
|
303
304
|
};
|
|
304
305
|
type TSFDListQueryStore<ItemState extends ValidStoreState, NError, QueryPayload extends ValidPayload, ItemPayload extends ValidPayload> = ReturnType<typeof newTSDFListQueryStore<ItemState, NError, QueryPayload, ItemPayload>>;
|
|
305
306
|
|
|
306
|
-
export { CollectionInitialStateItem, FetchListFnReturn, ListQueryStoreInitialData, TSDFCollectionStore, TSDFDocumentStore, TSDFDocumentStoreState, TSDFItemQuery, TSDFStatus, TSDFUseDocumentReturn, TSFDCollectionItem, TSFDCollectionState, TSFDListQuery, TSFDListQueryState, TSFDListQueryStore, TSFDUseCollectionItemReturn, TSFDUseListItemReturn, TSFDUseListQueryReturn, ValidPayload, ValidStoreState, newTSDFCollectionStore, newTSDFDocumentStore, newTSDFListQueryStore };
|
|
307
|
+
export { CollectionInitialStateItem, FetchListFnReturn, FetchListFnReturnItem, ListQueryStoreInitialData, TSDFCollectionStore, TSDFDocumentStore, TSDFDocumentStoreState, TSDFItemQuery, TSDFStatus, TSDFUseDocumentReturn, TSFDCollectionItem, TSFDCollectionState, TSFDListQuery, TSFDListQueryState, TSFDListQueryStore, TSFDUseCollectionItemReturn, TSFDUseListItemReturn, TSFDUseListQueryReturn, ValidPayload, ValidStoreState, newTSDFCollectionStore, newTSDFDocumentStore, newTSDFListQueryStore };
|