@axcode/axcloud-sdk 0.1.2 → 0.1.3
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.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -900,12 +900,16 @@ declare function useMySection(options?: {
|
|
|
900
900
|
* const { sections } = useSections()
|
|
901
901
|
* ```
|
|
902
902
|
*/
|
|
903
|
+
interface SectionsResponse {
|
|
904
|
+
sections: Section[];
|
|
905
|
+
total: number;
|
|
906
|
+
}
|
|
903
907
|
declare function useSections(): {
|
|
904
908
|
sections: Section[];
|
|
905
909
|
isLoading: boolean;
|
|
906
910
|
isError: boolean;
|
|
907
911
|
error: Error | null;
|
|
908
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<
|
|
912
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SectionsResponse, Error>>;
|
|
909
913
|
};
|
|
910
914
|
|
|
911
915
|
interface UseFormsOptions {
|
package/dist/index.d.ts
CHANGED
|
@@ -900,12 +900,16 @@ declare function useMySection(options?: {
|
|
|
900
900
|
* const { sections } = useSections()
|
|
901
901
|
* ```
|
|
902
902
|
*/
|
|
903
|
+
interface SectionsResponse {
|
|
904
|
+
sections: Section[];
|
|
905
|
+
total: number;
|
|
906
|
+
}
|
|
903
907
|
declare function useSections(): {
|
|
904
908
|
sections: Section[];
|
|
905
909
|
isLoading: boolean;
|
|
906
910
|
isError: boolean;
|
|
907
911
|
error: Error | null;
|
|
908
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<
|
|
912
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SectionsResponse, Error>>;
|
|
909
913
|
};
|
|
910
914
|
|
|
911
915
|
interface UseFormsOptions {
|