@pol-studios/db 1.0.10 → 1.0.12
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-CL6alnkb.d.ts +755 -0
- package/dist/UserMetadataContext-B8gVWGMl.d.ts +35 -0
- package/dist/UserMetadataContext-DntmpK41.d.ts +33 -0
- package/dist/auth/context.d.ts +3 -2
- package/dist/auth/context.js +5 -4
- package/dist/auth/guards.js +2 -2
- package/dist/auth/hooks.d.ts +3 -3
- package/dist/auth/hooks.js +6 -5
- package/dist/auth/index.d.ts +3 -2
- package/dist/auth/index.js +8 -6
- package/dist/{canvas-UVNDA54X.node → canvas-C4TBBDUL.node} +0 -0
- package/dist/{canvas-75Y7XMF3.js → canvas-ZQNCL7JL.js} +2 -2
- package/dist/chunk-5EFDS7SR.js +205 -0
- package/dist/chunk-5EFDS7SR.js.map +1 -0
- package/dist/{chunk-BRTW7CO5.js → chunk-7SCJNYTE.js} +1 -9
- package/dist/chunk-7SCJNYTE.js.map +1 -0
- package/dist/chunk-DJ6VLEAL.js +247 -0
- package/dist/chunk-DJ6VLEAL.js.map +1 -0
- package/dist/{chunk-Y3INY2CS.js → chunk-GC3TBUWE.js} +1 -1
- package/dist/chunk-GC3TBUWE.js.map +1 -0
- package/dist/{chunk-7HG6G25H.js → chunk-H3LNH2NT.js} +169 -268
- package/dist/chunk-H3LNH2NT.js.map +1 -0
- package/dist/{chunk-USJYMRUO.js → chunk-HAWJTZCK.js} +2 -2
- package/dist/chunk-HAWJTZCK.js.map +1 -0
- package/dist/chunk-JAATANS3.js +429 -0
- package/dist/chunk-JAATANS3.js.map +1 -0
- package/dist/chunk-LNJ3WF7V.js +470 -0
- package/dist/chunk-LNJ3WF7V.js.map +1 -0
- package/dist/chunk-N26IEHZT.js +79 -0
- package/dist/chunk-N26IEHZT.js.map +1 -0
- package/dist/chunk-NSIAAYW3.js +1 -0
- package/dist/chunk-NSIAAYW3.js.map +1 -0
- package/dist/chunk-NZON56CB.js +3864 -0
- package/dist/chunk-NZON56CB.js.map +1 -0
- package/dist/{chunk-O3K7R32P.js → chunk-OQ7U6EQ3.js} +118 -123
- package/dist/chunk-OQ7U6EQ3.js.map +1 -0
- package/dist/chunk-SM73S2DY.js +11 -0
- package/dist/chunk-SM73S2DY.js.map +1 -0
- package/dist/{chunk-JUVE3DWY.js → chunk-TKWR5AAY.js} +47 -65
- package/dist/chunk-TKWR5AAY.js.map +1 -0
- package/dist/{chunk-2IFGILT3.js → chunk-U5UNPBKB.js} +76 -107
- package/dist/chunk-U5UNPBKB.js.map +1 -0
- package/dist/chunk-WGDJ4IXR.js +921 -0
- package/dist/chunk-WGDJ4IXR.js.map +1 -0
- package/dist/chunk-WVF7RUW5.js +186 -0
- package/dist/chunk-WVF7RUW5.js.map +1 -0
- package/dist/{chunk-ZTSBF536.js → chunk-X3HZLNBV.js} +637 -435
- package/dist/chunk-X3HZLNBV.js.map +1 -0
- package/dist/{chunk-EL45Z26M.js → chunk-XU3SBFAG.js} +1219 -208
- package/dist/chunk-XU3SBFAG.js.map +1 -0
- package/dist/chunk-ZVBHWU7O.js +1412 -0
- package/dist/chunk-ZVBHWU7O.js.map +1 -0
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +42 -23
- package/dist/client/index.js.map +1 -1
- package/dist/core/index.d.ts +19 -0
- package/dist/{index-BFu5_dS8.d.ts → database.types-ChFCG-4M.d.ts} +1 -177
- package/dist/gen/index.js +4 -2
- package/dist/hooks/index.d.ts +10 -3
- package/dist/hooks/index.js +8 -10
- package/dist/index-CQLyNG6A.d.ts +433 -0
- package/dist/index.d.ts +12 -8
- package/dist/index.js +92 -48
- package/dist/index.native.d.ts +373 -33
- package/dist/index.native.js +79 -47
- package/dist/index.web.d.ts +10 -7
- package/dist/index.web.js +83 -78
- package/dist/index.web.js.map +1 -1
- package/dist/mutation/index.d.ts +2 -2
- package/dist/mutation/index.js +307 -122
- package/dist/mutation/index.js.map +1 -1
- package/dist/parser/index.js +2 -2
- package/dist/{pdf-3TIGQRLA.js → pdf-PHXP7RHD.js} +2 -2
- package/dist/powersync-bridge/index.d.ts +284 -0
- package/dist/powersync-bridge/index.js +22 -0
- package/dist/powersync-bridge/index.js.map +1 -0
- package/dist/query/index.js +5 -5
- package/dist/realtime/index.js +252 -128
- package/dist/realtime/index.js.map +1 -1
- package/dist/{UserMetadataContext-BYYqA6LI.d.ts → setupAuthContext-Kv-THH-h.d.ts} +1 -29
- package/dist/types/index.d.ts +5 -1
- package/dist/types/index.js +10 -5
- package/dist/{useBatchUpsert-CSQVX7w8.d.ts → useBatchUpsert-9OYjibLh.d.ts} +1 -1
- package/dist/{useDbCount-RGCuHmHp.d.ts → useDbCount-BG356T9i.d.ts} +3 -719
- package/dist/{useReceiptAI-Bn0czE7C.d.ts → useReceiptAI-6HkRpRml.d.ts} +1 -1
- package/dist/{useResolveFeedback-CpZPP8Pw.d.ts → useResolveFeedback-BWmatBlE.d.ts} +26 -45
- package/dist/{useSupabase-pPhUZHcl.d.ts → useSupabase-DvWVuHHE.d.ts} +2 -1
- package/dist/with-auth/index.d.ts +704 -0
- package/dist/with-auth/index.js +1221 -0
- package/dist/with-auth/index.js.map +1 -0
- package/package.json +25 -10
- package/dist/chunk-2IFGILT3.js.map +0 -1
- package/dist/chunk-3M2U6TXH.js +0 -928
- package/dist/chunk-3M2U6TXH.js.map +0 -1
- package/dist/chunk-5ZYAEGCJ.js +0 -416
- package/dist/chunk-5ZYAEGCJ.js.map +0 -1
- package/dist/chunk-7HG6G25H.js.map +0 -1
- package/dist/chunk-7XT7K4QT.js +0 -2687
- package/dist/chunk-7XT7K4QT.js.map +0 -1
- package/dist/chunk-AWFMICFV.js +0 -158
- package/dist/chunk-AWFMICFV.js.map +0 -1
- package/dist/chunk-BRTW7CO5.js.map +0 -1
- package/dist/chunk-EL45Z26M.js.map +0 -1
- package/dist/chunk-ERGF2FCE.js +0 -903
- package/dist/chunk-ERGF2FCE.js.map +0 -1
- package/dist/chunk-GK7B66LY.js +0 -135
- package/dist/chunk-GK7B66LY.js.map +0 -1
- package/dist/chunk-GQI6WJGI.js +0 -172
- package/dist/chunk-GQI6WJGI.js.map +0 -1
- package/dist/chunk-JUVE3DWY.js.map +0 -1
- package/dist/chunk-O3K7R32P.js.map +0 -1
- package/dist/chunk-SEY5UO2T.js +0 -89
- package/dist/chunk-SEY5UO2T.js.map +0 -1
- package/dist/chunk-USJYMRUO.js.map +0 -1
- package/dist/chunk-XX3IWSPM.js +0 -189
- package/dist/chunk-XX3IWSPM.js.map +0 -1
- package/dist/chunk-Y3INY2CS.js.map +0 -1
- package/dist/chunk-ZTSBF536.js.map +0 -1
- /package/dist/{canvas-75Y7XMF3.js.map → canvas-ZQNCL7JL.js.map} +0 -0
- /package/dist/{pdf-3TIGQRLA.js.map → pdf-PHXP7RHD.js.map} +0 -0
package/dist/index.native.js
CHANGED
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ConflictContext,
|
|
3
|
+
ConflictProvider,
|
|
2
4
|
DataLayerProvider,
|
|
3
5
|
PowerSyncAdapter,
|
|
4
6
|
createPowerSyncAdapter,
|
|
5
7
|
sanitizeStorageKey,
|
|
8
|
+
useBulkConflictResolution,
|
|
9
|
+
useConflictCountByTable,
|
|
10
|
+
useConflictForRecord,
|
|
11
|
+
useConflictResolution,
|
|
12
|
+
useConflictState,
|
|
13
|
+
useConflictsForTable,
|
|
6
14
|
useDbAttachmentUpload,
|
|
15
|
+
useHasConflicts,
|
|
16
|
+
usePendingConflicts,
|
|
7
17
|
useSupabaseUpload
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
getOnlineStatus,
|
|
11
|
-
getOnlineStatusSync,
|
|
12
|
-
initializeNetworkMonitoring,
|
|
13
|
-
isReactNative,
|
|
14
|
-
subscribeToNetworkChanges,
|
|
15
|
-
useOnlineStatus,
|
|
16
|
-
useSyncControl,
|
|
17
|
-
useSyncStatus
|
|
18
|
-
} from "./chunk-XX3IWSPM.js";
|
|
18
|
+
} from "./chunk-XU3SBFAG.js";
|
|
19
19
|
import {
|
|
20
20
|
ADAPTER_STRATEGIES,
|
|
21
21
|
AdapterAutoDetector,
|
|
22
22
|
AdapterRegistry,
|
|
23
23
|
BUCKETS,
|
|
24
24
|
BackendStatus,
|
|
25
|
-
LiveChangeContext,
|
|
26
|
-
LiveChangeContextProvider,
|
|
27
25
|
SupabaseAdapter,
|
|
28
26
|
convertFilterToRealtimeQuery,
|
|
29
27
|
createAdapterAutoDetector,
|
|
@@ -72,7 +70,18 @@ import {
|
|
|
72
70
|
useUpsertChangelog,
|
|
73
71
|
useUpsertChangelogEntry,
|
|
74
72
|
useUpsertChangelogMedia
|
|
75
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-NZON56CB.js";
|
|
74
|
+
import {
|
|
75
|
+
LiveChangeContext,
|
|
76
|
+
LiveChangeContextProvider,
|
|
77
|
+
UserMetadataContextProvider,
|
|
78
|
+
useLiveChangesIndicator,
|
|
79
|
+
useSetUserMetadata,
|
|
80
|
+
useUserMetadata,
|
|
81
|
+
useUserMetadataState,
|
|
82
|
+
useUserMetadataValue,
|
|
83
|
+
userMetadataContext
|
|
84
|
+
} from "./chunk-LNJ3WF7V.js";
|
|
76
85
|
import {
|
|
77
86
|
PostgrestFilter,
|
|
78
87
|
binarySearch,
|
|
@@ -100,25 +109,13 @@ import {
|
|
|
100
109
|
removeAliasFromDeclaration,
|
|
101
110
|
removeFirstPathElement,
|
|
102
111
|
setFilterValue
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
DataLayerContext,
|
|
106
|
-
useAdvanceQuery,
|
|
107
|
-
useDataLayer,
|
|
108
|
-
useDbCount,
|
|
109
|
-
useDbDelete as useDbDelete2,
|
|
110
|
-
useDbInfiniteQuery,
|
|
111
|
-
useDbInsert as useDbInsert2,
|
|
112
|
-
useDbQuery as useDbQuery2,
|
|
113
|
-
useDbQueryById,
|
|
114
|
-
useDbUpdate as useDbUpdate2,
|
|
115
|
-
useDbUpsert as useDbUpsert2
|
|
116
|
-
} from "./chunk-3M2U6TXH.js";
|
|
112
|
+
} from "./chunk-U5UNPBKB.js";
|
|
117
113
|
import {
|
|
118
114
|
Constants,
|
|
115
|
+
createCombinedStatus,
|
|
119
116
|
normalizeFilter,
|
|
120
117
|
useDbAdvanceFilterQuery
|
|
121
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-H3LNH2NT.js";
|
|
122
119
|
import {
|
|
123
120
|
Accessory,
|
|
124
121
|
Address,
|
|
@@ -291,7 +288,6 @@ import {
|
|
|
291
288
|
TicketCommentAttachment,
|
|
292
289
|
TimeActivity,
|
|
293
290
|
TimeBankTransaction,
|
|
294
|
-
UserMetadata,
|
|
295
291
|
UserTimesheet,
|
|
296
292
|
WeeklyTimesheet,
|
|
297
293
|
WorkEstimation,
|
|
@@ -303,14 +299,35 @@ import {
|
|
|
303
299
|
WorkingPhaseDailySummary,
|
|
304
300
|
WorkingPhaseRoleRate,
|
|
305
301
|
WorkingPhaseSummary
|
|
306
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-7SCJNYTE.js";
|
|
303
|
+
import {
|
|
304
|
+
UserMetadata
|
|
305
|
+
} from "./chunk-SM73S2DY.js";
|
|
306
|
+
import "./chunk-NSIAAYW3.js";
|
|
307
|
+
import "./chunk-DJ6VLEAL.js";
|
|
307
308
|
import {
|
|
308
309
|
DEFAULT_QUERY_TIMEOUT,
|
|
309
310
|
TIMEOUT_ERROR_MESSAGE,
|
|
310
311
|
isTimeoutError,
|
|
311
|
-
useDbQuery
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
useDbQuery
|
|
313
|
+
} from "./chunk-WGDJ4IXR.js";
|
|
314
|
+
import {
|
|
315
|
+
DataLayerContext,
|
|
316
|
+
useAdvanceQuery,
|
|
317
|
+
useDataLayer,
|
|
318
|
+
useDbCount,
|
|
319
|
+
useDbDelete as useDbDelete2,
|
|
320
|
+
useDbInfiniteQuery,
|
|
321
|
+
useDbInsert as useDbInsert2,
|
|
322
|
+
useDbQuery as useDbQuery2,
|
|
323
|
+
useDbQueryById,
|
|
324
|
+
useDbUpdate as useDbUpdate2,
|
|
325
|
+
useDbUpsert,
|
|
326
|
+
useOnlineStatus,
|
|
327
|
+
useSyncControl,
|
|
328
|
+
useSyncStatus
|
|
329
|
+
} from "./chunk-ZVBHWU7O.js";
|
|
330
|
+
import "./chunk-HAWJTZCK.js";
|
|
314
331
|
import {
|
|
315
332
|
QueryExecutor,
|
|
316
333
|
RelationshipResolver,
|
|
@@ -333,15 +350,15 @@ import {
|
|
|
333
350
|
usePartialAdvancedQuery,
|
|
334
351
|
usePartialQuery,
|
|
335
352
|
useQuery
|
|
336
|
-
} from "./chunk-
|
|
353
|
+
} from "./chunk-X3HZLNBV.js";
|
|
337
354
|
import {
|
|
338
355
|
getSupabaseUrl,
|
|
339
356
|
setSupabaseUrl
|
|
340
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-GC3TBUWE.js";
|
|
341
358
|
import {
|
|
342
359
|
useBatchDelete,
|
|
343
360
|
useBatchUpsert
|
|
344
|
-
} from "./chunk-
|
|
361
|
+
} from "./chunk-WVF7RUW5.js";
|
|
345
362
|
import {
|
|
346
363
|
OPERATOR_MAP,
|
|
347
364
|
PostgrestParser,
|
|
@@ -355,19 +372,20 @@ import {
|
|
|
355
372
|
parseSelectParam,
|
|
356
373
|
parseValue,
|
|
357
374
|
sortSearchParams
|
|
358
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-TKWR5AAY.js";
|
|
359
376
|
import "./chunk-J4ZVCXZ4.js";
|
|
360
|
-
import "./chunk-
|
|
377
|
+
import "./chunk-OQ7U6EQ3.js";
|
|
361
378
|
import "./chunk-H6365JPC.js";
|
|
362
379
|
import "./chunk-3PJTNH2L.js";
|
|
363
380
|
import {
|
|
381
|
+
ClientInstanceId,
|
|
364
382
|
SupabaseProvider,
|
|
365
383
|
createNewSupabaseClient,
|
|
366
384
|
onSupabaseInitialized,
|
|
367
385
|
setDefaultOptions,
|
|
368
386
|
typedSupabase,
|
|
369
387
|
useSupabase
|
|
370
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-5EFDS7SR.js";
|
|
371
389
|
import "./chunk-P4UZ7IXC.js";
|
|
372
390
|
export {
|
|
373
391
|
ADAPTER_STRATEGIES,
|
|
@@ -389,6 +407,7 @@ export {
|
|
|
389
407
|
ChargeTable,
|
|
390
408
|
Circuit,
|
|
391
409
|
Client,
|
|
410
|
+
ClientInstanceId,
|
|
392
411
|
Comment,
|
|
393
412
|
CommentReaction,
|
|
394
413
|
CommentRead,
|
|
@@ -397,6 +416,8 @@ export {
|
|
|
397
416
|
CommonNote,
|
|
398
417
|
CommonNoteCategory,
|
|
399
418
|
CommonNoteSubCategory,
|
|
419
|
+
ConflictContext,
|
|
420
|
+
ConflictProvider,
|
|
400
421
|
Constants,
|
|
401
422
|
ControlComponent,
|
|
402
423
|
ControlComponentDatasheet,
|
|
@@ -567,6 +588,7 @@ export {
|
|
|
567
588
|
TimeActivity,
|
|
568
589
|
TimeBankTransaction,
|
|
569
590
|
UserMetadata,
|
|
591
|
+
UserMetadataContextProvider,
|
|
570
592
|
UserTimesheet,
|
|
571
593
|
WeeklyTimesheet,
|
|
572
594
|
WorkEstimation,
|
|
@@ -583,6 +605,7 @@ export {
|
|
|
583
605
|
convertFilterToRealtimeQuery,
|
|
584
606
|
createAdapterAutoDetector,
|
|
585
607
|
createAdapterRegistry,
|
|
608
|
+
createCombinedStatus,
|
|
586
609
|
createInCondition,
|
|
587
610
|
createNewSupabaseClient,
|
|
588
611
|
createPowerSyncAdapter,
|
|
@@ -604,15 +627,12 @@ export {
|
|
|
604
627
|
findLastIndex,
|
|
605
628
|
get,
|
|
606
629
|
getErrorBody,
|
|
607
|
-
getOnlineStatus,
|
|
608
|
-
getOnlineStatusSync,
|
|
609
630
|
getRelationSelect,
|
|
610
631
|
getSupabaseUrl,
|
|
611
632
|
getTable,
|
|
612
633
|
groupPathsRecursive,
|
|
613
634
|
hasRelation,
|
|
614
635
|
ifDateGetTime,
|
|
615
|
-
initializeNetworkMonitoring,
|
|
616
636
|
isAndFilter,
|
|
617
637
|
isAnyPostgrestResponse,
|
|
618
638
|
isFilterDefinition,
|
|
@@ -626,7 +646,6 @@ export {
|
|
|
626
646
|
isPostgrestHasMorePaginationResponse,
|
|
627
647
|
isPostgrestPaginationCacheData,
|
|
628
648
|
isPostgrestPaginationResponse,
|
|
629
|
-
isReactNative,
|
|
630
649
|
isTimeoutError,
|
|
631
650
|
newTimeActivity,
|
|
632
651
|
normalizeFilter,
|
|
@@ -643,7 +662,6 @@ export {
|
|
|
643
662
|
setSupabaseUrl,
|
|
644
663
|
sortSearchParams,
|
|
645
664
|
stringifySelect,
|
|
646
|
-
subscribeToNetworkChanges,
|
|
647
665
|
tokenizeTopLevel,
|
|
648
666
|
typedSupabase,
|
|
649
667
|
useAI,
|
|
@@ -654,11 +672,17 @@ export {
|
|
|
654
672
|
useAutosaveState,
|
|
655
673
|
useBatchDelete,
|
|
656
674
|
useBatchUpsert,
|
|
675
|
+
useBulkConflictResolution,
|
|
657
676
|
useChangelogById,
|
|
658
677
|
useChangelogBySlug,
|
|
659
678
|
useChangelogEntries,
|
|
660
679
|
useChangelogMedia,
|
|
661
680
|
useChangelogs,
|
|
681
|
+
useConflictCountByTable,
|
|
682
|
+
useConflictForRecord,
|
|
683
|
+
useConflictResolution,
|
|
684
|
+
useConflictState,
|
|
685
|
+
useConflictsForTable,
|
|
662
686
|
useDataLayer,
|
|
663
687
|
useDbAdvanceFilterQuery,
|
|
664
688
|
useDbAdvanceFilterQuery as useDbAdvanceQuery,
|
|
@@ -683,16 +707,18 @@ export {
|
|
|
683
707
|
useDbUpdate2 as useDbUpdateV3,
|
|
684
708
|
useDbAttachmentUpload as useDbUpload,
|
|
685
709
|
useDbUpsert,
|
|
686
|
-
|
|
710
|
+
useDbUpsert as useDbUpsertV3,
|
|
687
711
|
useDbDelete as useDelete,
|
|
688
712
|
useDeleteChangelog,
|
|
689
713
|
useDeleteChangelogEntry,
|
|
690
714
|
useDeleteChangelogMedia,
|
|
691
715
|
useFeedbackList,
|
|
716
|
+
useHasConflicts,
|
|
692
717
|
useInfiniteQuery,
|
|
693
718
|
useDbInsert as useInsert,
|
|
694
719
|
useLatestOperationLog,
|
|
695
720
|
useLiveChangeTracking,
|
|
721
|
+
useLiveChangesIndicator,
|
|
696
722
|
useMultiDeleteChangelogEntries,
|
|
697
723
|
useMultiUpsertChangelogEntries,
|
|
698
724
|
useMutationSuccess,
|
|
@@ -700,6 +726,7 @@ export {
|
|
|
700
726
|
useOnlineStatus,
|
|
701
727
|
usePartialAdvancedQuery,
|
|
702
728
|
usePartialQuery,
|
|
729
|
+
usePendingConflicts,
|
|
703
730
|
usePublishedChangelogs,
|
|
704
731
|
useQuery,
|
|
705
732
|
useDbRealtime as useRealtime,
|
|
@@ -707,6 +734,7 @@ export {
|
|
|
707
734
|
useResolveFeedback,
|
|
708
735
|
useSearchQuery,
|
|
709
736
|
useServerAvailability,
|
|
737
|
+
useSetUserMetadata,
|
|
710
738
|
useStoragePath,
|
|
711
739
|
useStorageUrl,
|
|
712
740
|
useSubmitFeedback,
|
|
@@ -720,6 +748,10 @@ export {
|
|
|
720
748
|
useDbUpsert as useUpsert,
|
|
721
749
|
useUpsertChangelog,
|
|
722
750
|
useUpsertChangelogEntry,
|
|
723
|
-
useUpsertChangelogMedia
|
|
751
|
+
useUpsertChangelogMedia,
|
|
752
|
+
useUserMetadata,
|
|
753
|
+
useUserMetadataState,
|
|
754
|
+
useUserMetadataValue,
|
|
755
|
+
userMetadataContext
|
|
724
756
|
};
|
|
725
757
|
//# sourceMappingURL=index.native.js.map
|
package/dist/index.web.d.ts
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
export {
|
|
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 {
|
|
3
|
+
export { r as BackendSelectionResult, B as BooleanOperator, k as ClarificationSuggestion, C as CombinedProviderStatus, j as ComputedSortConfig, n as DataLayerWithPowerSyncProps, D as DbChangeLog, a as EnhancedSyncControl, E 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, u as useDbAdvanceFilterQuery, u as useDbAdvanceQuery } from './index-CQLyNG6A.js';
|
|
4
|
+
export { A as AIOptions, B as AIResponse, P as AlertProps, K as BUCKETS, L as BucketName, I as CustomPageQueryResult, N as DEFAULT_QUERY_TIMEOUT, a9 as FeedbackListItem, aa as FeedbackListParams, Q as LiveChangeContext, R as LiveChangeContextProvider, D as ServerAvailabilityState, J as StorageObjectMetadata, ac as SubmitFeedbackParams, S as SupabaseAdapter, T as TIMEOUT_ERROR_MESSAGE, G as UpdateOptions, U as UseDbPartialAdvanceQueryResult, p as UseDbPartialQueryResult, r as UseDbRealtimeQueryResult, v as UseMutationSuccessOptions, t as convertFilterToRealtimeQuery, M as createInCondition, y as createSupabaseAdapter, H as executeAdvanceQuery, z as getErrorBody, k as getSupabaseUrl, O as isTimeoutError, n as newTimeActivity, s as setSupabaseUrl, C as useAI, ad as useApplyFeedback, g as useAutosaveState, a4 as useChangelogById, a5 as useChangelogBySlug, a6 as useChangelogEntries, a7 as useChangelogMedia, a2 as useChangelogs, c as useDbDelete, a as useDbInsert, l as useDbMultiDelete, m as useDbMultiUpsert, o as useDbPartialAdvanceQuery, q as useDbPartialQuery, u as useDbRealtime, d as useDbRealtimeQuery, b as useDbUpdate, c as useDelete, W as useDeleteChangelog, Z as useDeleteChangelogEntry, a0 as useDeleteChangelogMedia, a8 as useFeedbackList, a as useInsert, f as useLatestOperationLog, e as useLiveChangeTracking, _ as useMultiDeleteChangelogEntries, Y as useMultiUpsertChangelogEntries, w as useMutationSuccess, x as useMutationSuccessRN, a3 as usePublishedChangelogs, u as useRealtime, d as useRealtimeQuery, ae as useResolveFeedback, F as useSearchQuery, E as useServerAvailability, j as useStoragePath, i as useStorageUrl, ab as useSubmitFeedback, h as useToastError, b as useUpdate, a1 as useUploadChangelogMedia, V as useUpsertChangelog, X as useUpsertChangelogEntry, $ as useUpsertChangelogMedia } from './useResolveFeedback-BWmatBlE.js';
|
|
4
5
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
6
|
import { UseInfiniteQueryOptions, InfiniteData, QueryClient } from '@tanstack/react-query';
|
|
6
7
|
import { PostgrestSingleResponse, SupabaseClient } from '@supabase/supabase-js';
|
|
7
8
|
import { G as GenericTable, h as GenericView } from './types-CYr9JiUE.js';
|
|
8
9
|
export { F as Fetch, i as GenericFunction, g as GenericNonUpdatableView, j as GenericSchema, f as GenericUpdatableView, P as PostgrestError, d as PostgrestMaybeSingleResponse, e as PostgrestResponse, b as PostgrestResponseFailure, a as PostgrestResponseSuccess, c as PostgrestSingleResponse, k as Prettify } from './types-CYr9JiUE.js';
|
|
9
10
|
export { U as UseDbQuerySingleReturn, u as useDbQuery } from './useDbQuery-C-TL8jY1.js';
|
|
10
|
-
export {
|
|
11
|
+
export { C as ClarificationQuestion, D as DatabaseTypes, F as Filter, v as FilterGroup, w as FilterOperator, x as Pagination, P as PublicTableNames, Q as QueryState, R as ResolveRowType, S as SchemaNames, j as SchemaTableNames, y as Sort, T as TableIdentifier, p as UseAdvanceQueryOptions, q as UseAdvanceQueryResult, l as UseDbCountOptions, m as UseDbCountResult, I as UseDbDeleteOptions, J as UseDbDeleteResult, U as UseDbInfiniteQueryOptions, k as UseDbInfiniteQueryResult, z as UseDbInsertOptions, A as UseDbInsertResult, s as UseDbQueryByIdOptions, t as UseDbQueryByIdResult, o as UseDbQueryOptions, n as UseDbQueryResult, B as UseDbUpdateOptions, E as UseDbUpdateResult, G as UseDbUpsertOptions, H as UseDbUpsertResult, i as useAdvanceQuery, a as useDataLayer, r as useDataLayerOptional, h as useDbCount, h as useDbCountV3, b as useDbDeleteV3, g as useDbInfiniteQueryV3, c as useDbInsertV3, e as useDbQueryById, d as useDbQueryV3, f as useDbUpdateV3, u as useDbUpsert, u as useDbUpsertV3, u as useUpsert } from './useDbCount-BG356T9i.js';
|
|
11
12
|
import { DataLayerConfig } from './core/index.js';
|
|
12
13
|
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';
|
|
14
|
+
export { u as useBatchDelete, a as useBatchUpsert } from './useBatchUpsert-9OYjibLh.js';
|
|
13
15
|
export { UsePartialAdvancedQueryResult, UsePartialQueryResult, UseQuerySingleReturn, extractColumnNames, extractRelationNames, getRelationSelect, hasRelation, parseSelect, stringifySelect, tokenizeTopLevel, useAdvancedFilterQuery, useAdvancedQuery, useInfiniteQuery, usePartialAdvancedQuery, usePartialQuery, useQuery } from './query/index.js';
|
|
14
16
|
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';
|
|
15
|
-
import {
|
|
16
|
-
export {
|
|
17
|
+
import { n as DataLayerContextValue } from './DataLayerContext-CL6alnkb.js';
|
|
18
|
+
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, o as DataLayerStatus, T as TableDataAdapter, j as createAdapterAutoDetector, h as createAdapterRegistry } from './DataLayerContext-CL6alnkb.js';
|
|
17
19
|
import { ReactNode, JSX } from 'react';
|
|
18
|
-
export { 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-
|
|
19
|
-
export { B as BatchAnalysisProgress, E as ExtractedReceipt, P as PendingExpense, a as useReceiptAI, u as useSupabaseFunction } from './useReceiptAI-
|
|
20
|
+
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';
|
|
21
|
+
export { B as BatchAnalysisProgress, E as ExtractedReceipt, P as PendingExpense, a as useReceiptAI, u as useSupabaseFunction } from './useReceiptAI-6HkRpRml.js';
|
|
22
|
+
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';
|
|
20
23
|
export { AnyPostgrestResponse, FilterDefinition, FilterDefinitions, FilterFn, NestedPath, OPERATOR_MAP, OperatorFn, OrderDefinition, Path, PostgrestFilter, PostgrestFilterOperator, PostgrestHasMorePaginationCacheData, PostgrestHasMorePaginationResponse, PostgrestPaginationCacheData, PostgrestPaginationResponse, PostgrestParser, PostgrestQueryParser, PostgrestQueryParserOptions, SUPPORTED_OPERATORS, ValueType, binarySearch, buildSortedComparator, denormalize, encodeObject, extractPathsFromFilters, filterFilterDefinitionsByPaths, findFilters, findIndexOrdered, findLastIndex, get, getTable, groupPathsRecursive, ifDateGetTime, isAndFilter, isAnyPostgrestResponse, isFilterDefinition, isISODateString, isNestedPath, isNotNull, isObject, isOrFilter, isPostgrestBuilder, isPostgrestHasMorePaginationCacheData, isPostgrestHasMorePaginationResponse, isPostgrestPaginationCacheData, isPostgrestPaginationResponse, parseOrderByKey, parseSelectParam, parseValue, removeAliasFromDeclaration, removeFirstPathElement, setFilterValue, sortSearchParams } from './parser/index.js';
|
|
21
24
|
export { G as GetResult, S as SelectQueryError } from './select-query-parser-BwyHum1L.js';
|
|
22
25
|
export { Accessory, Address, AdvanceQuery, AdvanceQueryNotificationSetting, AdvancedQueryView, BillableService, BillingDetails, CachedEmbedding, Changelog, ChangelogEntry, ChangelogMedia, ChargeTable, Circuit, Client, Comment, CommentReaction, CommentRead, CommentSection, CommentTag, CommonNote, CommonNoteCategory, CommonNoteSubCategory, ControlComponent, ControlComponentDatasheet, Controller, CoreSavedQuery, CoreSavedQueryAccess, Currency, CurrencyUsdConversion, DataExchangeImport, Datasheet, Dimension, DimmerModule, DimmerRack, Embedding, EquipmentConfigurationGroup, EquipmentFixture, EquipmentFixtureConfiguration, EquipmentFixtureConfigurationAccessoryEntry, EquipmentFixtureConfigurationControlComponentEntry, EquipmentFixtureCost, EquipmentFixtureDatasheet, EquipmentFixtureDimension, EquipmentFixtureDocument, EquipmentFixtureLampConfiguration, EquipmentFixtureListing, EquipmentFixtureMode, EquipmentFixtureModeChannel, EquipmentFixturePreset, EquipmentFixtureUnit, EquipmentFixtureUnitControl, EquipmentFixtureUnitLocation, EquipmentFixtureUnitLocationTag, EquipmentFixtureUnitLocationTagValue, EquipmentFixtureUnitPatternEntry, EquipmentFixtureWeight, EquipmentType, EquipmentUnitMediaContent, Expense, ExpenseLineItem, ExpenseReport, Fixture, FixtureCatalog, FixtureCatalogItem, FixtureCategory, FixtureTag, GlobalExpenseReport, HighlightServer, HighlightServerInstance, HighlightServerInstanceLog, HighlightServerInstanceOptions, HighlightServerInstanceStatus, HighlightServerRequest, Invoice, InvoiceSummaryTable, InvoiceTerm, InvoiceTermCondition, Lamp, LampCategory, LampCurrentListing, LampType, LicenseAssignment, Logo, Manufacturer, ManufacturerTag, ManufacturerToTag, OperationLog, OrderHinted, Organization, OrganizationUser, OrganizationUserAccess, ParameterMappingProfile, ParameterMappingProfileAssignment, Pattern, PaymentCustomer, PaymentInvoice, PaymentPaymentIntents, PaymentPlan, PaymentProduct, PaymentProductFeature, PaymentSubscription, PaymentSubscriptionPlan, PhaseActivityBucket, ProfileConfig as Profile, ProfileConfig, ProfileTimeBank, Project, ProjectDatabase, ProjectDatabaseEquipmentConfigurationGroup, ProjectDatabaseExcelParameterAssignment, ProjectDatabaseGroup, ProjectDatabaseParameterMappingProfile, ProjectDefaultRateByTitle, ProjectDocument, ProjectDocumentLineItem, PunchList, PunchListAccess, PunchListItem, PunchListItemAssignment, PunchListItemAttachedEntity, PunchListItemAttachment, PunchListItemCheckListItem, PunchListPage, PunchListPageAccess, PunchListUserOrderHint, QrCode, RetainageItem, RevitEquipmentUnitChange, RevitImport, RevitValueChangedEvent, Role, Service, ServiceCosts, ServiceStorageHourly, SmartCode, SmartCodeTag, Subtask, SystemBroadcastChannel, SystemBroadcastChannelThrottle, SystemConfiguration, SystemEmailNotification, SystemEvent, SystemEventListener, SystemEventWorker, SystemGlobalVariables, SystemHealthCheck, SystemInAppNotification, SystemLog, SystemMutedTopic, SystemNotification, SystemPushNotification, SystemSubscriber, SystemSupportAccess, SystemSupportTeam, SystemTask, SystemTaskAttempt, SystemTaskAttemptAccess, SystemTemp, SystemTicket, SystemTicketAttachment, SystemTicketComment, SystemTicketCommentAttachment, SystemUserPushTokens, Tag, Task, TaxCategory, Ticket, TicketAttachment, TicketComment, TicketCommentAttachment, TimeActivity, TimeBankTransaction, UserMetadata, UserTimesheet, WeeklyTimesheet, WorkEstimation, WorkEstimationLineItem, WorkingPhase, WorkingPhaseBillingItemDailySummary, WorkingPhaseBillingItemLatestSummary, WorkingPhaseCategory, WorkingPhaseDailySummary, WorkingPhaseRoleRate, WorkingPhaseSummary } from './gen/index.js';
|