Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@lerna-lite/cli": "4.9.4",
"@lerna-lite/publish": "4.9.4",
"@lerna-lite/version": "4.9.4",
"@nx/eslint": "22.1.2",
"@nx/js": "22.1.2",
"@nx/eslint": "22.1.3",
"@nx/js": "22.1.3",
"@tsconfig/vite-react": "7.0.2",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
Expand All @@ -43,8 +43,8 @@
"husky": "9.1.7",
"jsdom": "27.2.0",
"markdownlint-cli2": "0.19.1",
"nx": "22.1.2",
"prettier": "3.6.2",
"nx": "22.1.3",
"prettier": "3.7.4",
"publint": "0.3.15",
"tsdown": "0.16.8",
"typescript": "5.9.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { sentryDocumentSnapshotListener } from '../sentry/sentryDocumentSnapshot
export interface UseSchemaDocumentStoreOptions<
TCollectionSchema extends CollectionSchema,
TOptions extends MetaOutputOptions,
> extends SchemaDocumentSnapshotStateListener<TCollectionSchema, TOptions>,
SnapshotListenOptions {
>
extends SchemaDocumentSnapshotStateListener<TCollectionSchema, TOptions>, SnapshotListenOptions {
factory: SchemaFirestoreFactory<TCollectionSchema>
id: string | null | undefined
metaOptions?: TOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import { sentrySchemaQuerySnapshotListener } from '../sentry/sentrySchemaQuerySn
export interface UseSchemaQueryStoreOptions<
TCollectionSchema extends CollectionSchema,
TOptions extends MetaOutputOptions,
> extends SchemaQuerySnapshotStateListener<TCollectionSchema, TOptions>,
SnapshotListenOptions {
>
extends SchemaQuerySnapshotStateListener<TCollectionSchema, TOptions>, SnapshotListenOptions {
factory: SchemaFirestoreQueryFactory<TCollectionSchema>
query: SchemaQuerySpecification<TCollectionSchema, TOptions> | null | undefined
metaOptions?: TOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ export interface SchemaDocumentSnapshotQueryOptions<
TData = SchemaDocumentSnapshotState<TCollectionSchema, TOptions>,
TQueryKey extends QueryKey = QueryKey,
> extends Omit<
DocumentSnapshotQueryOptions<
SchemaDocumentOutput<TCollectionSchema, TOptions>,
SchemaDocumentInput<TCollectionSchema>,
TError,
TData,
TQueryKey
>,
'ref' | 'refFn' | 'snapshotOptions'
> {
DocumentSnapshotQueryOptions<
SchemaDocumentOutput<TCollectionSchema, TOptions>,
SchemaDocumentInput<TCollectionSchema>,
TError,
TData,
TQueryKey
>,
'ref' | 'refFn' | 'snapshotOptions'
> {
factory: SchemaFirestoreFactory<TCollectionSchema>
id?: string | null
snapshotOptions?: TOptions & SnapshotListenOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export interface SchemaQuerySnapshotQueryOptions<
TData = SchemaQuerySnapshotState<TCollectionSchema, TOptions>,
TQueryKey extends QueryKey = QueryKey,
> extends Omit<
ObservableQueryOptions<SchemaQuerySnapshotState<TCollectionSchema, TOptions>, TError, TData, TQueryKey>,
'observableFn'
> {
ObservableQueryOptions<SchemaQuerySnapshotState<TCollectionSchema, TOptions>, TError, TData, TQueryKey>,
'observableFn'
> {
factory: SchemaFirestoreQueryFactory<TCollectionSchema>
query?: SchemaQuerySpecification<TCollectionSchema, TOptions> | null
snapshotOptions?: TOptions & SnapshotListenOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ export interface SchemaSingleDocumentSnapshotQueryOptions<
TData = SchemaDocumentSnapshotState<TCollectionSchema, TOptions>,
TQueryKey extends QueryKey = QueryKey,
> extends Omit<
DocumentSnapshotQueryOptions<
SchemaDocumentOutput<TCollectionSchema, TOptions>,
SchemaDocumentInput<TCollectionSchema>,
TError,
TData,
TQueryKey
>,
'ref' | 'refFn' | 'snapshotOptions'
> {
DocumentSnapshotQueryOptions<
SchemaDocumentOutput<TCollectionSchema, TOptions>,
SchemaDocumentInput<TCollectionSchema>,
TError,
TData,
TQueryKey
>,
'ref' | 'refFn' | 'snapshotOptions'
> {
factory: SingleDocumentCollectionFactory<TCollectionSchema>
snapshotOptions?: TOptions & SnapshotListenOptions
}
Expand Down
18 changes: 9 additions & 9 deletions packages/react-query-observable/src/observableQueryOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ export interface ObservableQueryOptions<
TData = TQueryFnData,
TQueryKey extends QueryKey = QueryKey,
> extends Omit<
UnusedSkipTokenOptions<TQueryFnData, TError, TData, TQueryKey>,
| 'queryFn'
| 'staleTime'
| 'refetchInterval'
| 'refetchIntervalInBackground'
| 'refetchOnWindowFocus'
| 'refetchOnMount'
| 'refetchOnReconnect'
> {
UnusedSkipTokenOptions<TQueryFnData, TError, TData, TQueryKey>,
| 'queryFn'
| 'staleTime'
| 'refetchInterval'
| 'refetchIntervalInBackground'
| 'refetchOnWindowFocus'
| 'refetchOnMount'
| 'refetchOnReconnect'
> {
observableFn: ObservableQueryFunction<TQueryFnData, TQueryKey>
}

Expand Down
3 changes: 1 addition & 2 deletions packages/zustand-firestore/src/hooks/useDocumentStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import { useSnapshotListenOptions } from './useSnapshotListenOptions'
export { type DocumentSnapshotStateListener } from '@valian/rxjs-firebase'

export interface UseDocumentStoreOptions<AppModelType = DocumentData, DbModelType extends DocumentData = DocumentData>
extends DocumentSnapshotStateListener<AppModelType, DbModelType>,
SnapshotListenOptions {
extends DocumentSnapshotStateListener<AppModelType, DbModelType>, SnapshotListenOptions {
ref: DocumentReference<AppModelType, DbModelType> | null | undefined
}

Expand Down
3 changes: 1 addition & 2 deletions packages/zustand-firestore/src/hooks/useQueryStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import { useSnapshotListenOptions } from './useSnapshotListenOptions'
export { type QuerySnapshotStateListener } from '@valian/rxjs-firebase'

export interface UseQueryStoreOptions<AppModelType = DocumentData, DbModelType extends DocumentData = DocumentData>
extends QuerySnapshotStateListener<AppModelType, DbModelType>,
SnapshotListenOptions {
extends QuerySnapshotStateListener<AppModelType, DbModelType>, SnapshotListenOptions {
query: Query<AppModelType, DbModelType> | null | undefined
}

Expand Down
Loading