@zeroin.earth/appwrite-graphql 0.15.5 → 0.15.7
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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +113 -1961
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +58 -1887
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -5257,10 +5257,11 @@ declare function useVerification(): {
|
|
|
5257
5257
|
type Document<T> = T & Models.Document;
|
|
5258
5258
|
type Collection<T> = Models.DocumentList<Document<T>>;
|
|
5259
5259
|
|
|
5260
|
-
declare function useCollection<TDocument>({ databaseId, collectionId, queries, }: {
|
|
5260
|
+
declare function useCollection<TDocument>({ databaseId, collectionId, queries, subscribe, }: {
|
|
5261
5261
|
databaseId: string;
|
|
5262
5262
|
collectionId: string;
|
|
5263
5263
|
queries: string[];
|
|
5264
|
+
subscribe?: boolean;
|
|
5264
5265
|
}): {
|
|
5265
5266
|
documents: Document<TDocument>[];
|
|
5266
5267
|
total: number;
|
|
@@ -5397,10 +5398,11 @@ declare function useCollection<TDocument>({ databaseId, collectionId, queries, }
|
|
|
5397
5398
|
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<Collection<TDocument>, AppwriteException>>;
|
|
5398
5399
|
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
5399
5400
|
};
|
|
5400
|
-
declare function useSuspenseCollection<TDocument>({ databaseId, collectionId, queries, }: {
|
|
5401
|
+
declare function useSuspenseCollection<TDocument>({ databaseId, collectionId, queries, subscribe, }: {
|
|
5401
5402
|
databaseId: string;
|
|
5402
5403
|
collectionId: string;
|
|
5403
5404
|
queries: string[];
|
|
5405
|
+
subscribe?: boolean;
|
|
5404
5406
|
}): {
|
|
5405
5407
|
documents: Document<TDocument>[];
|
|
5406
5408
|
total: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -5257,10 +5257,11 @@ declare function useVerification(): {
|
|
|
5257
5257
|
type Document<T> = T & Models.Document;
|
|
5258
5258
|
type Collection<T> = Models.DocumentList<Document<T>>;
|
|
5259
5259
|
|
|
5260
|
-
declare function useCollection<TDocument>({ databaseId, collectionId, queries, }: {
|
|
5260
|
+
declare function useCollection<TDocument>({ databaseId, collectionId, queries, subscribe, }: {
|
|
5261
5261
|
databaseId: string;
|
|
5262
5262
|
collectionId: string;
|
|
5263
5263
|
queries: string[];
|
|
5264
|
+
subscribe?: boolean;
|
|
5264
5265
|
}): {
|
|
5265
5266
|
documents: Document<TDocument>[];
|
|
5266
5267
|
total: number;
|
|
@@ -5397,10 +5398,11 @@ declare function useCollection<TDocument>({ databaseId, collectionId, queries, }
|
|
|
5397
5398
|
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<Collection<TDocument>, AppwriteException>>;
|
|
5398
5399
|
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
5399
5400
|
};
|
|
5400
|
-
declare function useSuspenseCollection<TDocument>({ databaseId, collectionId, queries, }: {
|
|
5401
|
+
declare function useSuspenseCollection<TDocument>({ databaseId, collectionId, queries, subscribe, }: {
|
|
5401
5402
|
databaseId: string;
|
|
5402
5403
|
collectionId: string;
|
|
5403
5404
|
queries: string[];
|
|
5405
|
+
subscribe?: boolean;
|
|
5404
5406
|
}): {
|
|
5405
5407
|
documents: Document<TDocument>[];
|
|
5406
5408
|
total: number;
|