@pol-studios/db 1.0.22 → 1.0.24
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/{DataLayerContext-ZmLPYR_s.d.ts → DataLayerContext-BnDyYvkg.d.ts} +2 -2
- package/dist/auth/context.js +2 -2
- package/dist/auth/hooks.js +3 -3
- package/dist/auth/index.js +3 -3
- package/dist/{chunk-3FHAKRDV.js → chunk-2DOYFTN4.js} +32 -31
- package/dist/chunk-2DOYFTN4.js.map +1 -0
- package/dist/{chunk-I4BDZDHX.js → chunk-7OLNKLII.js} +3 -3
- package/dist/{chunk-FKRACEHV.js → chunk-BXSOHOQ2.js} +53 -24
- package/dist/chunk-BXSOHOQ2.js.map +1 -0
- package/dist/{chunk-WP6TIVPH.js → chunk-LABTYQOJ.js} +4 -4
- package/dist/{chunk-LPC64MD4.js → chunk-VWPLASGY.js} +2 -2
- package/dist/{chunk-OUUQSI3Y.js → chunk-VZMZXL37.js} +2 -2
- package/dist/{chunk-3EVWXMUV.js → chunk-WHJJDWFT.js} +33 -8
- package/dist/chunk-WHJJDWFT.js.map +1 -0
- package/dist/hooks/index.d.ts +5 -4
- package/dist/hooks/index.js +1 -1
- package/dist/{index-2YySlz7X.d.ts → index-B6xGmPRV.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/index.native.d.ts +5 -5
- package/dist/index.native.js +7 -7
- package/dist/index.web.d.ts +6 -6
- package/dist/index.web.js +6 -6
- package/dist/query/index.js +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/{useDbCount-s-aR9YeV.d.ts → useDbCount-Dn_1uI69.d.ts} +1 -1
- package/dist/{useResolveFeedback-DTGcHpCs.d.ts → useResolveFeedback-CBHY2Z1Q.d.ts} +3 -3
- package/dist/with-auth/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-3EVWXMUV.js.map +0 -1
- package/dist/chunk-3FHAKRDV.js.map +0 -1
- package/dist/chunk-FKRACEHV.js.map +0 -1
- /package/dist/{chunk-I4BDZDHX.js.map → chunk-7OLNKLII.js.map} +0 -0
- /package/dist/{chunk-WP6TIVPH.js.map → chunk-LABTYQOJ.js.map} +0 -0
- /package/dist/{chunk-LPC64MD4.js.map → chunk-VWPLASGY.js.map} +0 -0
- /package/dist/{chunk-OUUQSI3Y.js.map → chunk-VZMZXL37.js.map} +0 -0
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, x as FilterGroup, y as FilterOperator, z as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, A as Sort, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, K as UseDbDeleteOptions, L as UseDbDeleteResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, B as UseDbInsertOptions, E as UseDbInsertResult, v as UseDbQueryByIdOptions, w as UseDbQueryByIdResult, r as UseDbQueryOptions, s as UseDbQueryResult, G as UseDbUpdateOptions, H as UseDbUpdateResult, I as UseDbUpsertOptions, J as UseDbUpsertResult, u as useAdvanceQuery, a as useDataLayer, b as useDataLayerCore, t as useDataLayerOptional, c as useDataLayerStatus, d as useDbCount, e as useDbDelete, f as useDbInfiniteQuery, g as useDbInsert, h as useDbQuery, i as useDbQueryById, j as useDbUpdate, k as useDbUpsert } from '../useDbCount-
|
|
1
|
+
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, x as FilterGroup, y as FilterOperator, z as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, A as Sort, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, K as UseDbDeleteOptions, L as UseDbDeleteResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, B as UseDbInsertOptions, E as UseDbInsertResult, v as UseDbQueryByIdOptions, w as UseDbQueryByIdResult, r as UseDbQueryOptions, s as UseDbQueryResult, G as UseDbUpdateOptions, H as UseDbUpdateResult, I as UseDbUpsertOptions, J as UseDbUpsertResult, u as useAdvanceQuery, a as useDataLayer, b as useDataLayerCore, t as useDataLayerOptional, c as useDataLayerStatus, d as useDbCount, e as useDbDelete, f as useDbInfiniteQuery, g as useDbInsert, h as useDbQuery, i as useDbQueryById, j as useDbUpdate, k as useDbUpsert } from '../useDbCount-Dn_1uI69.js';
|
|
2
2
|
import { SyncStatus, SyncControl } from '../core/index.js';
|
|
3
|
-
import '../DataLayerContext-
|
|
3
|
+
import '../DataLayerContext-BnDyYvkg.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@supabase/supabase-js';
|
|
6
6
|
import '@tanstack/react-query';
|
|
@@ -46,8 +46,9 @@ declare function useSyncStatus(): SyncStatus;
|
|
|
46
46
|
*
|
|
47
47
|
* When PowerSync is not available, all methods are no-ops that log a warning.
|
|
48
48
|
*
|
|
49
|
-
* This hook
|
|
50
|
-
*
|
|
49
|
+
* PERFORMANCE: This hook only subscribes to DataLayerCoreContext (stable values),
|
|
50
|
+
* NOT DataLayerStatusContext. This means components using useSyncControl() will
|
|
51
|
+
* NOT re-render when network status or sync status changes.
|
|
51
52
|
*
|
|
52
53
|
* @example
|
|
53
54
|
* const { triggerSync, startLiveSync, stopLiveSync } = useSyncControl();
|
package/dist/hooks/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { PostgrestSingleResponse, SupabaseClient } from '@supabase/supabase-js';
|
|
|
5
5
|
import { Dispatch, SetStateAction } from 'react';
|
|
6
6
|
import { UseQueryOptions, DefinedUseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { SyncControl, SyncStatus, DataLayerConfig } from './core/index.js';
|
|
8
|
-
import { s as DataLayerStatus, p as DataLayerContextValue } from './DataLayerContext-
|
|
8
|
+
import { s as DataLayerStatus, p as DataLayerContextValue } from './DataLayerContext-BnDyYvkg.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents a change log entry for database records.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { C as CompositeTypes, c as Constants, D as Database, E as Enums, J as Json, T as Tables, a as TablesInsert, b as TablesUpdate } from './database.types-ChFCG-4M.js';
|
|
2
2
|
export { a as FilterConfig, F as FilterConfigOption, G as Group, P as PropertyType, S as SortConfig, T as TableInfo, V as ValueForPropertyType, W as WhereFilter } from './FilterConfig-Bt2Ek74z.js';
|
|
3
|
-
export { r as BackendSelectionResult, B as BooleanOperator, l as ClarificationQuestion, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, e as Filter, d as FilterConditionType, m as FilterContextType, f as FilterGroup, g as FilterInput, F as FilterOperator, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, i as Pagination, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, Q as QueryState, S as Sort, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus } from './index-
|
|
4
|
-
export { A as AIOptions, k as AIResponse, y as AlertProps, B as BUCKETS, v as BucketName, C as CustomPageQueryResult, D as DEFAULT_QUERY_TIMEOUT, Y as FeedbackListItem, Z as FeedbackListParams, L as LiveChangeContext, z as LiveChangeContextProvider, m as ServerAvailabilityState, t as StorageObjectMetadata, $ as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, q as UpdateOptions, U as UseMutationSuccessOptions, w as createInCondition, i as createSupabaseAdapter, r as executeAdvanceQuery, j as getErrorBody, g as getSupabaseUrl, x as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, l as useAI, a0 as useApplyFeedback, b as useAutosaveState, Q as useChangelogById, R as useChangelogBySlug, V as useChangelogEntries, W as useChangelogMedia, O as useChangelogs, F as useDeleteChangelog, I as useDeleteChangelogEntry, M as useDeleteChangelogMedia, X as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, J as useMultiDeleteChangelogEntries, H as useMultiUpsertChangelogEntries, f as useMutationSuccess, h as useMutationSuccessRN, P as usePublishedChangelogs, a1 as useResolveFeedback, p as useSearchQuery, o as useServerAvailability, e as useStoragePath, d as useStorageUrl, _ as useSubmitFeedback, c as useToastError, N as useUploadChangelogMedia, E as useUpsertChangelog, G as useUpsertChangelogEntry, K as useUpsertChangelogMedia } from './useResolveFeedback-
|
|
3
|
+
export { r as BackendSelectionResult, B as BooleanOperator, l as ClarificationQuestion, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, e as Filter, d as FilterConditionType, m as FilterContextType, f as FilterGroup, g as FilterInput, F as FilterOperator, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, i as Pagination, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, Q as QueryState, S as Sort, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus } from './index-B6xGmPRV.js';
|
|
4
|
+
export { A as AIOptions, k as AIResponse, y as AlertProps, B as BUCKETS, v as BucketName, C as CustomPageQueryResult, D as DEFAULT_QUERY_TIMEOUT, Y as FeedbackListItem, Z as FeedbackListParams, L as LiveChangeContext, z as LiveChangeContextProvider, m as ServerAvailabilityState, t as StorageObjectMetadata, $ as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, q as UpdateOptions, U as UseMutationSuccessOptions, w as createInCondition, i as createSupabaseAdapter, r as executeAdvanceQuery, j as getErrorBody, g as getSupabaseUrl, x as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, l as useAI, a0 as useApplyFeedback, b as useAutosaveState, Q as useChangelogById, R as useChangelogBySlug, V as useChangelogEntries, W as useChangelogMedia, O as useChangelogs, F as useDeleteChangelog, I as useDeleteChangelogEntry, M as useDeleteChangelogMedia, X as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, J as useMultiDeleteChangelogEntries, H as useMultiUpsertChangelogEntries, f as useMutationSuccess, h as useMutationSuccessRN, P as usePublishedChangelogs, a1 as useResolveFeedback, p as useSearchQuery, o as useServerAvailability, e as useStoragePath, d as useStorageUrl, _ as useSubmitFeedback, c as useToastError, N as useUploadChangelogMedia, E as useUpsertChangelog, G as useUpsertChangelogEntry, K as useUpsertChangelogMedia } from './useResolveFeedback-CBHY2Z1Q.js';
|
|
5
5
|
export { u as useBatchDelete, a as useBatchUpsert } from './useBatchUpsert-9OYjibLh.js';
|
|
6
6
|
export { AdapterRegistry as AdapterRegistryInterface, AutoStrategy, BuiltQuery, CachedStrategy, ColumnInfo, ColumnType, ConnectionConfig, DataAdapter, DataLayerConfig, DataLayerHooks, DatabaseSchema, DeleteMutationResult, ExtractInsert, ExtractRow, ExtractUpdate, FailedUpload, HybridStrategy, MutationHookResult, MutationResult, OrderBy, ParsedSelect, PowerSyncStrategy, QueryOptions, QueryResult, QuerySingleResult, RelationshipInfo, RelationshipType, ResolvedRelationship, ScopeDefinition, SelectColumn, SelectRelation, SupabaseStrategy, SyncControl, SyncMode, SyncScope, SyncStatus, TableNames, TableSchema, TableStrategy, UseDbMutationHook, UseDbQueryByIdHook, UseDbQueryHook, WhereClause, WhereOperators } from './core/index.js';
|
|
7
|
-
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, c as AdapterCapabilities, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, A as AdapterQueryResult, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, C as CapableDataAdapter, D as DataLayerContext, p as DataLayerContextValue, n as DataLayerCoreContext, q as DataLayerCoreContextValue, s as DataLayerStatus, o as DataLayerStatusContext, r as DataLayerStatusContextValue, S as SyncStatusInfo, T as TableDataAdapter, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-
|
|
7
|
+
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, c as AdapterCapabilities, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, A as AdapterQueryResult, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, C as CapableDataAdapter, D as DataLayerContext, p as DataLayerContextValue, n as DataLayerCoreContext, q as DataLayerCoreContextValue, s as DataLayerStatus, o as DataLayerStatusContext, r as DataLayerStatusContextValue, S as SyncStatusInfo, T as TableDataAdapter, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-BnDyYvkg.js';
|
|
8
8
|
export { ConflictCheckResult, ConflictContext, ConflictContextValue, ConflictProvider, ConflictProviderProps, ConflictResolution, DataLayerProvider, DataLayerProviderProps, FieldConflict, PowerSyncAdapter, UseConflictResolutionReturn, UseSupabaseUploadOptions, UseSupabaseUploadReturn, createPowerSyncAdapter, useBulkConflictResolution, useConflictCountByTable, useConflictForRecord, useConflictResolution, useConflictState, useConflictsForTable, useHasConflicts, usePendingConflicts, useSupabaseUpload } from './index.native.js';
|
|
9
|
-
export { D as DatabaseTypes, P as PublicTableNames, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, r as UseDbQueryOptions, s as UseDbQueryResult, u as useAdvanceQuery, a as useDataLayer, b as useDataLayerCore, c as useDataLayerStatus, d as useDbCount, d as useDbCountV3, e as useDbDelete, f as useDbInfiniteQuery, f as useDbInfiniteQueryV3, g as useDbInsert, h as useDbQuery, i as useDbQueryById, j as useDbUpdate, k as useDbUpsert } from './useDbCount-
|
|
9
|
+
export { D as DatabaseTypes, P as PublicTableNames, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, r as UseDbQueryOptions, s as UseDbQueryResult, u as useAdvanceQuery, a as useDataLayer, b as useDataLayerCore, c as useDataLayerStatus, d as useDbCount, d as useDbCountV3, e as useDbDelete, f as useDbInfiniteQuery, f as useDbInfiniteQueryV3, g as useDbInsert, h as useDbQuery, i as useDbQueryById, j as useDbUpdate, k as useDbUpsert } from './useDbCount-Dn_1uI69.js';
|
|
10
10
|
export { useOnlineStatus, useSyncControl, useSyncStatus } from './hooks/index.js';
|
|
11
11
|
export { C as ClientInstanceId, S as SupabaseDatabaseTypes, a as SupabaseProvider, T as TypedSupabaseClient, U as UserSessionId, c as createNewSupabaseClient, u as default, o as onSupabaseInitialized, s as setDefaultOptions, t as typedSupabase, u as useSupabase } from './useSupabase-DvWVuHHE.js';
|
|
12
12
|
export { B as BatchAnalysisProgress, E as ExtractedReceipt, P as PendingExpense, a as useReceiptAI, u as useSupabaseFunction } from './useReceiptAI-6HkRpRml.js';
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useHasConflicts,
|
|
25
25
|
usePendingConflicts,
|
|
26
26
|
useSupabaseUpload
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WHJJDWFT.js";
|
|
28
28
|
import {
|
|
29
29
|
ADAPTER_STRATEGIES,
|
|
30
30
|
AdapterAutoDetector,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
useUpsertChangelog,
|
|
70
70
|
useUpsertChangelogEntry,
|
|
71
71
|
useUpsertChangelogMedia
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-7OLNKLII.js";
|
|
73
73
|
import {
|
|
74
74
|
LiveChangeContext,
|
|
75
75
|
LiveChangeContextProvider,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
useUserMetadataState,
|
|
81
81
|
useUserMetadataValue,
|
|
82
82
|
userMetadataContext
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-LABTYQOJ.js";
|
|
84
84
|
import {
|
|
85
85
|
PostgrestFilter,
|
|
86
86
|
binarySearch,
|
|
@@ -301,12 +301,12 @@ import {
|
|
|
301
301
|
UserMetadata
|
|
302
302
|
} from "./chunk-SM73S2DY.js";
|
|
303
303
|
import "./chunk-NSIAAYW3.js";
|
|
304
|
-
import "./chunk-
|
|
304
|
+
import "./chunk-VWPLASGY.js";
|
|
305
305
|
import {
|
|
306
306
|
DEFAULT_QUERY_TIMEOUT,
|
|
307
307
|
TIMEOUT_ERROR_MESSAGE,
|
|
308
308
|
isTimeoutError
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-VZMZXL37.js";
|
|
310
310
|
import {
|
|
311
311
|
DataLayerContext,
|
|
312
312
|
DataLayerCoreContext,
|
|
@@ -326,9 +326,9 @@ import {
|
|
|
326
326
|
useOnlineStatus,
|
|
327
327
|
useSyncControl,
|
|
328
328
|
useSyncStatus
|
|
329
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-2DOYFTN4.js";
|
|
330
330
|
import "./chunk-HAWJTZCK.js";
|
|
331
|
-
import "./chunk-
|
|
331
|
+
import "./chunk-BXSOHOQ2.js";
|
|
332
332
|
import {
|
|
333
333
|
getSupabaseUrl,
|
|
334
334
|
setSupabaseUrl
|
package/dist/index.native.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { C as CompositeTypes, c as Constants, D as Database, E as Enums, J as Json, T as Tables, a as TablesInsert, b as TablesUpdate } from './database.types-ChFCG-4M.js';
|
|
2
2
|
export { a as FilterConfig, F as FilterConfigOption, G as Group, P as PropertyType, S as SortConfig, T as TableInfo, V as ValueForPropertyType, W as WhereFilter } from './FilterConfig-Bt2Ek74z.js';
|
|
3
|
-
export { r as BackendSelectionResult, B as BooleanOperator, l as ClarificationQuestion, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, e as Filter, d as FilterConditionType, m as FilterContextType, f as FilterGroup, g as FilterInput, F as FilterOperator, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, i as Pagination, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, Q as QueryState, S as Sort, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus } from './index-
|
|
4
|
-
export { A as AIOptions, k as AIResponse, y as AlertProps, B as BUCKETS, v as BucketName, C as CustomPageQueryResult, D as DEFAULT_QUERY_TIMEOUT, Y as FeedbackListItem, Z as FeedbackListParams, L as LiveChangeContext, z as LiveChangeContextProvider, m as ServerAvailabilityState, t as StorageObjectMetadata, $ as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, q as UpdateOptions, U as UseMutationSuccessOptions, w as createInCondition, i as createSupabaseAdapter, r as executeAdvanceQuery, j as getErrorBody, g as getSupabaseUrl, x as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, l as useAI, a0 as useApplyFeedback, b as useAutosaveState, Q as useChangelogById, R as useChangelogBySlug, V as useChangelogEntries, W as useChangelogMedia, O as useChangelogs, F as useDeleteChangelog, I as useDeleteChangelogEntry, M as useDeleteChangelogMedia, X as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, J as useMultiDeleteChangelogEntries, H as useMultiUpsertChangelogEntries, f as useMutationSuccess, h as useMutationSuccessRN, P as usePublishedChangelogs, a1 as useResolveFeedback, p as useSearchQuery, o as useServerAvailability, e as useStoragePath, d as useStorageUrl, _ as useSubmitFeedback, c as useToastError, N as useUploadChangelogMedia, E as useUpsertChangelog, G as useUpsertChangelogEntry, K as useUpsertChangelogMedia } from './useResolveFeedback-
|
|
5
|
-
export { D as DatabaseTypes, P as PublicTableNames, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, r as UseDbQueryOptions, s as UseDbQueryResult, u as useAdvanceQuery, a as useDataLayer, d as useDbCount, d as useDbCountV3, e as useDbDeleteV3, f as useDbInfiniteQuery, f as useDbInfiniteQueryV3, g as useDbInsertV3, i as useDbQueryById, h as useDbQueryV3, j as useDbUpdateV3, k as useDbUpsert, k as useDbUpsertV3, k as useUpsert } from './useDbCount-
|
|
3
|
+
export { r as BackendSelectionResult, B as BooleanOperator, l as ClarificationQuestion, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, e as Filter, d as FilterConditionType, m as FilterContextType, f as FilterGroup, g as FilterInput, F as FilterOperator, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, i as Pagination, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, Q as QueryState, S as Sort, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus } from './index-B6xGmPRV.js';
|
|
4
|
+
export { A as AIOptions, k as AIResponse, y as AlertProps, B as BUCKETS, v as BucketName, C as CustomPageQueryResult, D as DEFAULT_QUERY_TIMEOUT, Y as FeedbackListItem, Z as FeedbackListParams, L as LiveChangeContext, z as LiveChangeContextProvider, m as ServerAvailabilityState, t as StorageObjectMetadata, $ as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, q as UpdateOptions, U as UseMutationSuccessOptions, w as createInCondition, i as createSupabaseAdapter, r as executeAdvanceQuery, j as getErrorBody, g as getSupabaseUrl, x as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, l as useAI, a0 as useApplyFeedback, b as useAutosaveState, Q as useChangelogById, R as useChangelogBySlug, V as useChangelogEntries, W as useChangelogMedia, O as useChangelogs, F as useDeleteChangelog, I as useDeleteChangelogEntry, M as useDeleteChangelogMedia, X as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, J as useMultiDeleteChangelogEntries, H as useMultiUpsertChangelogEntries, f as useMutationSuccess, h as useMutationSuccessRN, P as usePublishedChangelogs, a1 as useResolveFeedback, p as useSearchQuery, o as useServerAvailability, e as useStoragePath, d as useStorageUrl, _ as useSubmitFeedback, c as useToastError, N as useUploadChangelogMedia, E as useUpsertChangelog, G as useUpsertChangelogEntry, K as useUpsertChangelogMedia } from './useResolveFeedback-CBHY2Z1Q.js';
|
|
5
|
+
export { D as DatabaseTypes, P as PublicTableNames, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, r as UseDbQueryOptions, s as UseDbQueryResult, u as useAdvanceQuery, a as useDataLayer, d as useDbCount, d as useDbCountV3, e as useDbDeleteV3, f as useDbInfiniteQuery, f as useDbInfiniteQueryV3, g as useDbInsertV3, i as useDbQueryById, h as useDbQueryV3, j as useDbUpdateV3, k as useDbUpsert, k as useDbUpsertV3, k as useUpsert } from './useDbCount-Dn_1uI69.js';
|
|
6
6
|
export { useOnlineStatus, useSyncControl, useSyncStatus } from './hooks/index.js';
|
|
7
7
|
export { u as useBatchDelete, a as useBatchUpsert } from './useBatchUpsert-9OYjibLh.js';
|
|
8
8
|
import { DatabaseSchema, QueryOptions, DataLayerConfig } from './core/index.js';
|
|
9
9
|
export { AdapterRegistry as AdapterRegistryInterface, AutoStrategy, BuiltQuery, CachedStrategy, ColumnInfo, ColumnType, ConnectionConfig, DataAdapter, DataLayerHooks, DeleteMutationResult, ExtractInsert, ExtractRow, ExtractUpdate, FailedUpload, HybridStrategy, MutationHookResult, MutationResult, OrderBy, ParsedSelect, PowerSyncStrategy, QueryResult, QuerySingleResult, RelationshipInfo, RelationshipType, ResolvedRelationship, ScopeDefinition, SelectColumn, SelectRelation, SupabaseStrategy, SyncControl, SyncMode, SyncScope, SyncStatus, TableNames, TableSchema, TableStrategy, UseDbMutationHook, UseDbQueryByIdHook, UseDbQueryHook, WhereClause, WhereOperators } from './core/index.js';
|
|
10
|
-
import { T as TableDataAdapter, C as CapableDataAdapter, c as AdapterCapabilities, A as AdapterQueryResult, p as DataLayerContextValue, S as SyncStatusInfo } from './DataLayerContext-
|
|
11
|
-
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, D as DataLayerContext, n as DataLayerCoreContext, q as DataLayerCoreContextValue, s as DataLayerStatus, o as DataLayerStatusContext, r as DataLayerStatusContextValue, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-
|
|
10
|
+
import { T as TableDataAdapter, C as CapableDataAdapter, c as AdapterCapabilities, A as AdapterQueryResult, p as DataLayerContextValue, S as SyncStatusInfo } from './DataLayerContext-BnDyYvkg.js';
|
|
11
|
+
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, D as DataLayerContext, n as DataLayerCoreContext, q as DataLayerCoreContextValue, s as DataLayerStatus, o as DataLayerStatusContext, r as DataLayerStatusContextValue, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-BnDyYvkg.js';
|
|
12
12
|
import { Q as QueryExecutor, P as PowerSyncDatabase$1 } from './executor-CB4KHyYG.js';
|
|
13
13
|
import * as react from 'react';
|
|
14
14
|
import react__default, { ReactNode, JSX } from 'react';
|
package/dist/index.native.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
useHasConflicts,
|
|
14
14
|
usePendingConflicts,
|
|
15
15
|
useSupabaseUpload
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WHJJDWFT.js";
|
|
17
17
|
import {
|
|
18
18
|
ADAPTER_STRATEGIES,
|
|
19
19
|
AdapterAutoDetector,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
useUpsertChangelog,
|
|
59
59
|
useUpsertChangelogEntry,
|
|
60
60
|
useUpsertChangelogMedia
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-7OLNKLII.js";
|
|
62
62
|
import {
|
|
63
63
|
LiveChangeContext,
|
|
64
64
|
LiveChangeContextProvider,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
useUserMetadataState,
|
|
70
70
|
useUserMetadataValue,
|
|
71
71
|
userMetadataContext
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-LABTYQOJ.js";
|
|
73
73
|
import {
|
|
74
74
|
PostgrestFilter,
|
|
75
75
|
binarySearch,
|
|
@@ -290,12 +290,12 @@ import {
|
|
|
290
290
|
UserMetadata
|
|
291
291
|
} from "./chunk-SM73S2DY.js";
|
|
292
292
|
import "./chunk-NSIAAYW3.js";
|
|
293
|
-
import "./chunk-
|
|
293
|
+
import "./chunk-VWPLASGY.js";
|
|
294
294
|
import {
|
|
295
295
|
DEFAULT_QUERY_TIMEOUT,
|
|
296
296
|
TIMEOUT_ERROR_MESSAGE,
|
|
297
297
|
isTimeoutError
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-VZMZXL37.js";
|
|
299
299
|
import {
|
|
300
300
|
DataLayerContext,
|
|
301
301
|
DataLayerCoreContext,
|
|
@@ -313,9 +313,9 @@ import {
|
|
|
313
313
|
useOnlineStatus,
|
|
314
314
|
useSyncControl,
|
|
315
315
|
useSyncStatus
|
|
316
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-2DOYFTN4.js";
|
|
317
317
|
import "./chunk-HAWJTZCK.js";
|
|
318
|
-
import "./chunk-
|
|
318
|
+
import "./chunk-BXSOHOQ2.js";
|
|
319
319
|
import {
|
|
320
320
|
getSupabaseUrl,
|
|
321
321
|
setSupabaseUrl
|
package/dist/index.web.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { C as CompositeTypes, c as Constants, D as Database, E as Enums, J as Json, T as Tables, a as TablesInsert, b as TablesUpdate } from './database.types-ChFCG-4M.js';
|
|
2
2
|
export { a as FilterConfig, F as FilterConfigOption, G as Group, P as PropertyType, S as SortConfig, T as TableInfo, V as ValueForPropertyType, W as WhereFilter } from './FilterConfig-Bt2Ek74z.js';
|
|
3
|
-
import { u as useDbAdvanceFilterQuery, Q as QueryState } from './index-
|
|
4
|
-
export { r as BackendSelectionResult, B as BooleanOperator, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, d as FilterConditionType, m as FilterContextType, g as FilterInput, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus, s as normalizeFilter } from './index-
|
|
5
|
-
export { A as AIOptions, k as AIResponse, y as AlertProps, B as BUCKETS, v as BucketName, C as CustomPageQueryResult, D as DEFAULT_QUERY_TIMEOUT, Y as FeedbackListItem, Z as FeedbackListParams, L as LiveChangeContext, z as LiveChangeContextProvider, m as ServerAvailabilityState, t as StorageObjectMetadata, $ as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, q as UpdateOptions, a2 as UseDbPartialQueryResult, U as UseMutationSuccessOptions, w as createInCondition, i as createSupabaseAdapter, r as executeAdvanceQuery, j as getErrorBody, g as getSupabaseUrl, x as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, l as useAI, a0 as useApplyFeedback, b as useAutosaveState, Q as useChangelogById, R as useChangelogBySlug, V as useChangelogEntries, W as useChangelogMedia, O as useChangelogs, a3 as useDbPartialQuery, F as useDeleteChangelog, I as useDeleteChangelogEntry, M as useDeleteChangelogMedia, X as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, J as useMultiDeleteChangelogEntries, H as useMultiUpsertChangelogEntries, f as useMutationSuccess, h as useMutationSuccessRN, P as usePublishedChangelogs, a1 as useResolveFeedback, p as useSearchQuery, o as useServerAvailability, e as useStoragePath, d as useStorageUrl, _ as useSubmitFeedback, c as useToastError, N as useUploadChangelogMedia, E as useUpsertChangelog, G as useUpsertChangelogEntry, K as useUpsertChangelogMedia } from './useResolveFeedback-
|
|
3
|
+
import { u as useDbAdvanceFilterQuery, Q as QueryState } from './index-B6xGmPRV.js';
|
|
4
|
+
export { r as BackendSelectionResult, B as BooleanOperator, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, d as FilterConditionType, m as FilterContextType, g as FilterInput, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus, s as normalizeFilter } from './index-B6xGmPRV.js';
|
|
5
|
+
export { A as AIOptions, k as AIResponse, y as AlertProps, B as BUCKETS, v as BucketName, C as CustomPageQueryResult, D as DEFAULT_QUERY_TIMEOUT, Y as FeedbackListItem, Z as FeedbackListParams, L as LiveChangeContext, z as LiveChangeContextProvider, m as ServerAvailabilityState, t as StorageObjectMetadata, $ as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, q as UpdateOptions, a2 as UseDbPartialQueryResult, U as UseMutationSuccessOptions, w as createInCondition, i as createSupabaseAdapter, r as executeAdvanceQuery, j as getErrorBody, g as getSupabaseUrl, x as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, l as useAI, a0 as useApplyFeedback, b as useAutosaveState, Q as useChangelogById, R as useChangelogBySlug, V as useChangelogEntries, W as useChangelogMedia, O as useChangelogs, a3 as useDbPartialQuery, F as useDeleteChangelog, I as useDeleteChangelogEntry, M as useDeleteChangelogMedia, X as useFeedbackList, a as useLatestOperationLog, u as useLiveChangeTracking, J as useMultiDeleteChangelogEntries, H as useMultiUpsertChangelogEntries, f as useMutationSuccess, h as useMutationSuccessRN, P as usePublishedChangelogs, a1 as useResolveFeedback, p as useSearchQuery, o as useServerAvailability, e as useStoragePath, d as useStorageUrl, _ as useSubmitFeedback, c as useToastError, N as useUploadChangelogMedia, E as useUpsertChangelog, G as useUpsertChangelogEntry, K as useUpsertChangelogMedia } from './useResolveFeedback-CBHY2Z1Q.js';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseInfiniteQueryOptions, InfiniteData, UseQueryOptions, QueryClient } from '@tanstack/react-query';
|
|
8
8
|
import { D as Database } from './useSupabase-DvWVuHHE.js';
|
|
@@ -16,14 +16,14 @@ import { useInsertMutation, useUpdateMutation } from '@supabase-cache-helpers/po
|
|
|
16
16
|
import { U as UseDbQuerySingleReturn } from './useDbQuery-C-TL8jY1.js';
|
|
17
17
|
export { u as useDbQuery } from './useDbQuery-C-TL8jY1.js';
|
|
18
18
|
import { ItemType as ItemType$5 } from '@pol-studios/utils';
|
|
19
|
-
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, x as FilterGroup, y as FilterOperator, z as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, A as Sort, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, K as UseDbDeleteOptions, L as UseDbDeleteResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, B as UseDbInsertOptions, E as UseDbInsertResult, v as UseDbQueryByIdOptions, w as UseDbQueryByIdResult, r as UseDbQueryOptions, s as UseDbQueryResult, G as UseDbUpdateOptions, H as UseDbUpdateResult, I as UseDbUpsertOptions, J as UseDbUpsertResult, u as useAdvanceQuery, a as useDataLayer, t as useDataLayerOptional, d as useDbCount, d as useDbCountV3, e as useDbDeleteV3, f as useDbInfiniteQueryV3, g as useDbInsertV3, i as useDbQueryById, h as useDbQueryV3, j as useDbUpdateV3, k as useDbUpsert, k as useDbUpsertV3, k as useUpsert } from './useDbCount-
|
|
19
|
+
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, x as FilterGroup, y as FilterOperator, z as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, l as SchemaTableNames, A as Sort, T as TableIdentifier, U as UseAdvanceQueryOptions, m as UseAdvanceQueryResult, n as UseDbCountOptions, o as UseDbCountResult, K as UseDbDeleteOptions, L as UseDbDeleteResult, p as UseDbInfiniteQueryOptions, q as UseDbInfiniteQueryResult, B as UseDbInsertOptions, E as UseDbInsertResult, v as UseDbQueryByIdOptions, w as UseDbQueryByIdResult, r as UseDbQueryOptions, s as UseDbQueryResult, G as UseDbUpdateOptions, H as UseDbUpdateResult, I as UseDbUpsertOptions, J as UseDbUpsertResult, u as useAdvanceQuery, a as useDataLayer, t as useDataLayerOptional, d as useDbCount, d as useDbCountV3, e as useDbDeleteV3, f as useDbInfiniteQueryV3, g as useDbInsertV3, i as useDbQueryById, h as useDbQueryV3, j as useDbUpdateV3, k as useDbUpsert, k as useDbUpsertV3, k as useUpsert } from './useDbCount-Dn_1uI69.js';
|
|
20
20
|
import { DataLayerConfig } from './core/index.js';
|
|
21
21
|
export { AdapterRegistry as AdapterRegistryInterface, AutoStrategy, BuiltQuery, CachedStrategy, ColumnInfo, ColumnType, ConnectionConfig, DataAdapter, DataLayerHooks, DatabaseSchema, DeleteMutationResult, ExtractInsert, ExtractRow, ExtractUpdate, HybridStrategy, MutationHookResult, MutationResult, OrderBy, ParsedSelect, PowerSyncStrategy, QueryOptions, QueryResult, QuerySingleResult, RelationshipInfo, RelationshipType, ResolvedRelationship, ScopeDefinition, SelectColumn, SelectRelation, SupabaseStrategy, SyncControl, SyncMode, SyncScope, SyncStatus, TableNames, TableSchema, TableStrategy, UseDbMutationHook, UseDbQueryByIdHook, UseDbQueryHook, WhereClause, WhereOperators } from './core/index.js';
|
|
22
22
|
export { u as useBatchDelete, a as useBatchUpsert } from './useBatchUpsert-9OYjibLh.js';
|
|
23
23
|
export { UsePartialAdvancedQueryResult, UsePartialQueryResult, UseQuerySingleReturn, extractColumnNames, extractRelationNames, getRelationSelect, hasRelation, parseSelect, stringifySelect, tokenizeTopLevel, useAdvancedFilterQuery, useAdvancedQuery, useInfiniteQuery, usePartialAdvancedQuery, usePartialQuery, useQuery } from './query/index.js';
|
|
24
24
|
export { P as PowerSyncDatabase, Q as QueryExecutor, e as RelationJoinData, R as RelationshipResolver, b as ResultJoiner, S as SQLBuilder, f as createQueryExecutor, c as createRelationshipResolver, d as createResultJoiner, a as createSQLBuilder } from './executor-CB4KHyYG.js';
|
|
25
|
-
import { p as DataLayerContextValue } from './DataLayerContext-
|
|
26
|
-
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, c as AdapterCapabilities, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, A as AdapterQueryResult, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, C as CapableDataAdapter, D as DataLayerContext, s as DataLayerStatus, T as TableDataAdapter, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-
|
|
25
|
+
import { p as DataLayerContextValue } from './DataLayerContext-BnDyYvkg.js';
|
|
26
|
+
export { f as ADAPTER_STRATEGIES, i as AdapterAutoDetector, c as AdapterCapabilities, a as AdapterConfig, d as AdapterDependencies, b as AdapterFactory, A as AdapterQueryResult, g as AdapterRegistry, e as AdapterStrategyType, k as AutoDetectionResult, l as AutoDetectorOptions, m as BackendChangeListener, B as BackendStatus, C as CapableDataAdapter, D as DataLayerContext, s as DataLayerStatus, T as TableDataAdapter, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-BnDyYvkg.js';
|
|
27
27
|
import { ReactNode, JSX } from 'react';
|
|
28
28
|
export { B as BatchAnalysisProgress, E as ExtractedReceipt, P as PendingExpense, a as useReceiptAI, u as useSupabaseFunction } from './useReceiptAI-6HkRpRml.js';
|
|
29
29
|
export { e as UserMetadataContextProvider, c as UserMetadataContextType, a as UserMetadataInsert, U as UserMetadataRow, b as UserMetadataUpdate, u as useLiveChangesIndicator, h as useSetUserMetadata, f as useUserMetadata, i as useUserMetadataState, g as useUserMetadataValue, d as userMetadataContext } from './UserMetadataContext-B8gVWGMl.js';
|
package/dist/index.web.js
CHANGED
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
useUpsertChangelog,
|
|
53
53
|
useUpsertChangelogEntry,
|
|
54
54
|
useUpsertChangelogMedia
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-7OLNKLII.js";
|
|
56
56
|
import {
|
|
57
57
|
LiveChangeContext,
|
|
58
58
|
LiveChangeContextProvider,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
useUserMetadataState,
|
|
64
64
|
useUserMetadataValue,
|
|
65
65
|
userMetadataContext
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-LABTYQOJ.js";
|
|
67
67
|
import {
|
|
68
68
|
PostgrestFilter,
|
|
69
69
|
binarySearch,
|
|
@@ -286,13 +286,13 @@ import {
|
|
|
286
286
|
UserMetadata
|
|
287
287
|
} from "./chunk-SM73S2DY.js";
|
|
288
288
|
import "./chunk-NSIAAYW3.js";
|
|
289
|
-
import "./chunk-
|
|
289
|
+
import "./chunk-VWPLASGY.js";
|
|
290
290
|
import {
|
|
291
291
|
DEFAULT_QUERY_TIMEOUT,
|
|
292
292
|
TIMEOUT_ERROR_MESSAGE,
|
|
293
293
|
isTimeoutError,
|
|
294
294
|
useDbQuery as useDbQuery2
|
|
295
|
-
} from "./chunk-
|
|
295
|
+
} from "./chunk-VZMZXL37.js";
|
|
296
296
|
import {
|
|
297
297
|
DataLayerContext,
|
|
298
298
|
useAdvanceQuery,
|
|
@@ -306,7 +306,7 @@ import {
|
|
|
306
306
|
useDbQueryById,
|
|
307
307
|
useDbUpdate,
|
|
308
308
|
useDbUpsert
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-2DOYFTN4.js";
|
|
310
310
|
import "./chunk-HAWJTZCK.js";
|
|
311
311
|
import {
|
|
312
312
|
useAdvancedFilterQuery,
|
|
@@ -332,7 +332,7 @@ import {
|
|
|
332
332
|
parseSelect,
|
|
333
333
|
stringifySelect,
|
|
334
334
|
tokenizeTopLevel
|
|
335
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-BXSOHOQ2.js";
|
|
336
336
|
import {
|
|
337
337
|
getSupabaseUrl,
|
|
338
338
|
setSupabaseUrl
|
package/dist/query/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { a as FilterConfig, F as FilterConfigOption, G as Group, P as PropertyType, S as SortConfig, T as TableInfo, V as ValueForPropertyType, b as WhereClause, W as WhereFilter } from '../FilterConfig-Bt2Ek74z.js';
|
|
2
|
-
export { r as BackendSelectionResult, B as BooleanOperator, l as ClarificationQuestion, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, e as Filter, d as FilterConditionType, m as FilterContextType, f as FilterGroup, g as FilterInput, F as FilterOperator, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, i as Pagination, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, Q as QueryState, S as Sort, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus } from '../index-
|
|
2
|
+
export { r as BackendSelectionResult, B as BooleanOperator, l as ClarificationQuestion, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, E as EnhancedSyncControl, a as EnhancedSyncStatus, e as Filter, d as FilterConditionType, m as FilterContextType, f as FilterGroup, g as FilterInput, F as FilterOperator, h as FilterState, H as HasPowerSyncConfig, O as OrderColumn, i as Pagination, P as PowerSyncEnabledConfig, b as PowerSyncEnabledContextValue, q as PowerSyncTables, Q as QueryState, S as Sort, U as UseDataLayerWithPowerSync, p as UseSyncControlWithPowerSync, o as UseSyncStatusWithPowerSync, V as ValueOrArrayForPropertyType, c as createCombinedStatus } from '../index-B6xGmPRV.js';
|
|
3
3
|
export { D as Database } from '../database.types-ChFCG-4M.js';
|
|
4
4
|
import 'moment';
|
|
5
5
|
import '@supabase/supabase-js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '@tanstack/react-query';
|
|
8
8
|
import '../core/index.js';
|
|
9
|
-
import '../DataLayerContext-
|
|
9
|
+
import '../DataLayerContext-BnDyYvkg.js';
|
|
10
10
|
import '../executor-CB4KHyYG.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as DataLayerContextValue, q as DataLayerCoreContextValue, r as DataLayerStatusContextValue } from './DataLayerContext-
|
|
1
|
+
import { p as DataLayerContextValue, q as DataLayerCoreContextValue, r as DataLayerStatusContextValue } from './DataLayerContext-BnDyYvkg.js';
|
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { QueryOptions, WhereClause } from './core/index.js';
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationResult, UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
|
3
3
|
import { SupabaseClient, PostgrestSingleResponse as PostgrestSingleResponse$1, PostgrestError } from '@supabase/supabase-js';
|
|
4
|
-
import { T as TableDataAdapter, C as CapableDataAdapter, c as AdapterCapabilities, A as AdapterQueryResult } from './DataLayerContext-
|
|
4
|
+
import { T as TableDataAdapter, C as CapableDataAdapter, c as AdapterCapabilities, A as AdapterQueryResult } from './DataLayerContext-BnDyYvkg.js';
|
|
5
5
|
import { DatabaseSchema, QueryOptions } from './core/index.js';
|
|
6
6
|
import { FunctionsResponse } from '@supabase/functions-js';
|
|
7
7
|
import * as _supabase_postgrest_js from '@supabase/postgrest-js';
|
|
@@ -9,9 +9,9 @@ import { PostgrestSingleResponse } from '@supabase/postgrest-js';
|
|
|
9
9
|
import { G as GetResult } from './select-query-parser-BwyHum1L.js';
|
|
10
10
|
import { G as GenericTable } from './types-CYr9JiUE.js';
|
|
11
11
|
import { D as Database } from './useSupabase-DvWVuHHE.js';
|
|
12
|
-
import { D as DbChangeLog, Q as QueryState } from './index-
|
|
12
|
+
import { D as DbChangeLog, Q as QueryState } from './index-B6xGmPRV.js';
|
|
13
13
|
import { U as UseDbQuerySingleReturn } from './useDbQuery-C-TL8jY1.js';
|
|
14
|
-
import { J as UseDbUpsertResult } from './useDbCount-
|
|
14
|
+
import { J as UseDbUpsertResult } from './useDbCount-Dn_1uI69.js';
|
|
15
15
|
import { Moment } from 'moment';
|
|
16
16
|
import * as react from 'react';
|
|
17
17
|
import { ReactNode } from 'react';
|
package/dist/with-auth/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
useUserMetadataState,
|
|
6
6
|
useUserMetadataValue,
|
|
7
7
|
userMetadataContext
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-LABTYQOJ.js";
|
|
9
9
|
import "../chunk-SM73S2DY.js";
|
|
10
10
|
import "../chunk-NSIAAYW3.js";
|
|
11
11
|
import {
|
|
12
12
|
useAuth,
|
|
13
13
|
useSetupAuth
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-VWPLASGY.js";
|
|
15
15
|
import {
|
|
16
16
|
useDbQuery
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-VZMZXL37.js";
|
|
18
18
|
import {
|
|
19
19
|
useDbUpsert
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-2DOYFTN4.js";
|
|
21
21
|
import "../chunk-HAWJTZCK.js";
|
|
22
22
|
import {
|
|
23
23
|
getSupabaseUrl
|