@zeroin.earth/appwrite-graphql 0.16.2 → 0.16.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 +21 -5
- package/dist/index.d.ts +21 -5
- package/dist/index.js +107 -105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +52 -50
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/react-native/index.d.ts +21 -5
- package/react-native/index.js +107 -105
package/package.json
CHANGED
package/react-native/index.d.ts
CHANGED
|
@@ -2734,8 +2734,8 @@ declare function useListSessions(): {
|
|
|
2734
2734
|
|
|
2735
2735
|
type OAuthLoginProps = {
|
|
2736
2736
|
provider: OAuthProvider;
|
|
2737
|
-
success
|
|
2738
|
-
failure
|
|
2737
|
+
success?: string;
|
|
2738
|
+
failure?: string;
|
|
2739
2739
|
};
|
|
2740
2740
|
declare function useLogin(): {
|
|
2741
2741
|
login: _tanstack_react_query.UseMutationResult<{
|
|
@@ -5955,11 +5955,27 @@ type Props = {
|
|
|
5955
5955
|
};
|
|
5956
5956
|
declare function useFunction(): {
|
|
5957
5957
|
executeFunction: _tanstack_react_query.UseMutationResult<Record<string, unknown>, AppwriteException[], Props, unknown>;
|
|
5958
|
-
currentExecution:
|
|
5958
|
+
currentExecution: {
|
|
5959
|
+
run: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
|
|
5960
|
+
__typename?: "Execution";
|
|
5961
|
+
status?: string;
|
|
5962
|
+
errors?: string;
|
|
5963
|
+
duration?: number;
|
|
5964
|
+
responseBody?: string;
|
|
5965
|
+
requestPath?: string;
|
|
5966
|
+
}, AppwriteException[]>>;
|
|
5967
|
+
query: _tanstack_react_query.UseQueryResult<{
|
|
5968
|
+
__typename?: "Execution";
|
|
5969
|
+
status?: string;
|
|
5970
|
+
errors?: string;
|
|
5971
|
+
duration?: number;
|
|
5972
|
+
responseBody?: string;
|
|
5973
|
+
requestPath?: string;
|
|
5974
|
+
}, AppwriteException[]>;
|
|
5975
|
+
};
|
|
5959
5976
|
};
|
|
5960
5977
|
declare function useSuspenseFunction({ functionId, body, async, path, method, }: Props): {
|
|
5961
|
-
executeFunction: _tanstack_react_query.
|
|
5962
|
-
currentExecution: _tanstack_react_query.UseQueryResult<unknown, unknown>;
|
|
5978
|
+
executeFunction: _tanstack_react_query.UseQueryResult<Record<string, unknown>, AppwriteException[]>;
|
|
5963
5979
|
};
|
|
5964
5980
|
|
|
5965
5981
|
type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<infer TType, any> ? [TType] extends [{
|