@pol-studios/db 1.0.23 → 1.0.25

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.
Files changed (32) hide show
  1. package/dist/{DataLayerContext-ZmLPYR_s.d.ts → DataLayerContext-BnDyYvkg.d.ts} +2 -2
  2. package/dist/auth/context.js +2 -2
  3. package/dist/auth/hooks.js +3 -3
  4. package/dist/auth/index.js +3 -3
  5. package/dist/{chunk-TSXQTYUG.js → chunk-DJWC43OA.js} +4 -4
  6. package/dist/{chunk-3L4HOEXV.js → chunk-GXMSZ5S6.js} +3 -3
  7. package/dist/{chunk-MBU4KE3V.js → chunk-IZX7ZEUF.js} +2 -2
  8. package/dist/{chunk-Q7WJEOQ5.js → chunk-LVUK5USN.js} +139 -202
  9. package/dist/chunk-LVUK5USN.js.map +1 -0
  10. package/dist/{chunk-3UYBZHEV.js → chunk-PZLVL7DU.js} +2 -2
  11. package/dist/{chunk-KDORWXGS.js → chunk-U4NPP76X.js} +16 -7
  12. package/dist/chunk-U4NPP76X.js.map +1 -0
  13. package/dist/hooks/index.d.ts +5 -4
  14. package/dist/hooks/index.js +1 -1
  15. package/dist/{index-2YySlz7X.d.ts → index-B6xGmPRV.d.ts} +1 -1
  16. package/dist/index.d.ts +4 -4
  17. package/dist/index.js +6 -6
  18. package/dist/index.native.d.ts +5 -5
  19. package/dist/index.native.js +6 -6
  20. package/dist/index.web.d.ts +6 -6
  21. package/dist/index.web.js +5 -5
  22. package/dist/types/index.d.ts +2 -2
  23. package/dist/{useDbCount-s-aR9YeV.d.ts → useDbCount-Dn_1uI69.d.ts} +1 -1
  24. package/dist/{useResolveFeedback-DTGcHpCs.d.ts → useResolveFeedback-CBHY2Z1Q.d.ts} +3 -3
  25. package/dist/with-auth/index.js +4 -4
  26. package/package.json +1 -1
  27. package/dist/chunk-KDORWXGS.js.map +0 -1
  28. package/dist/chunk-Q7WJEOQ5.js.map +0 -1
  29. /package/dist/{chunk-TSXQTYUG.js.map → chunk-DJWC43OA.js.map} +0 -0
  30. /package/dist/{chunk-3L4HOEXV.js.map → chunk-GXMSZ5S6.js.map} +0 -0
  31. /package/dist/{chunk-MBU4KE3V.js.map → chunk-IZX7ZEUF.js.map} +0 -0
  32. /package/dist/{chunk-3UYBZHEV.js.map → chunk-PZLVL7DU.js.map} +0 -0
@@ -758,6 +758,8 @@ interface DataLayerCoreContextValue {
758
758
  queryClient: QueryClient;
759
759
  /** Database schema */
760
760
  schema: DatabaseSchema;
761
+ /** Sync controls (for PowerSync, no-op for Supabase-only) - stable reference */
762
+ syncControl: SyncControl;
761
763
  }
762
764
  /**
763
765
  * DYNAMIC status context - values that change during runtime
@@ -770,8 +772,6 @@ interface DataLayerStatusContextValue {
770
772
  status: DataLayerStatus;
771
773
  /** Sync status (for PowerSync, no-op for Supabase-only) */
772
774
  syncStatus: SyncStatus;
773
- /** Sync controls (for PowerSync, no-op for Supabase-only) */
774
- syncControl: SyncControl;
775
775
  }
776
776
  /**
777
777
  * Context value for the data layer (combines core and status)
@@ -12,8 +12,8 @@ import {
12
12
  useUserMetadataState,
13
13
  useUserMetadataValue,
14
14
  userMetadataContext
15
- } from "../chunk-3UYBZHEV.js";
16
- import "../chunk-Q7WJEOQ5.js";
15
+ } from "../chunk-PZLVL7DU.js";
16
+ import "../chunk-LVUK5USN.js";
17
17
  import "../chunk-GC3TBUWE.js";
18
18
  import "../chunk-J4ZVCXZ4.js";
19
19
  import "../chunk-OQ7U6EQ3.js";
@@ -11,14 +11,14 @@ import {
11
11
  usePermissionLoading,
12
12
  usePermissionsBatch,
13
13
  useSetupAuth
14
- } from "../chunk-MBU4KE3V.js";
14
+ } from "../chunk-IZX7ZEUF.js";
15
15
  import {
16
16
  useSetUserMetadata,
17
17
  useUserMetadata,
18
18
  useUserMetadataState,
19
19
  useUserMetadataValue
20
- } from "../chunk-3UYBZHEV.js";
21
- import "../chunk-Q7WJEOQ5.js";
20
+ } from "../chunk-PZLVL7DU.js";
21
+ import "../chunk-LVUK5USN.js";
22
22
  import "../chunk-GC3TBUWE.js";
23
23
  import "../chunk-J4ZVCXZ4.js";
24
24
  import "../chunk-OQ7U6EQ3.js";
@@ -12,7 +12,7 @@ import {
12
12
  usePermissionLoading,
13
13
  usePermissionsBatch,
14
14
  useSetupAuth
15
- } from "../chunk-MBU4KE3V.js";
15
+ } from "../chunk-IZX7ZEUF.js";
16
16
  import {
17
17
  AuthProvider,
18
18
  PermissionProvider,
@@ -27,8 +27,8 @@ import {
27
27
  useUserMetadataState,
28
28
  useUserMetadataValue,
29
29
  userMetadataContext
30
- } from "../chunk-3UYBZHEV.js";
31
- import "../chunk-Q7WJEOQ5.js";
30
+ } from "../chunk-PZLVL7DU.js";
31
+ import "../chunk-LVUK5USN.js";
32
32
  import {
33
33
  hasAccess,
34
34
  hasAllAccess,
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-SM73S2DY.js";
4
4
  import {
5
5
  useSetupAuth
6
- } from "./chunk-MBU4KE3V.js";
6
+ } from "./chunk-IZX7ZEUF.js";
7
7
  import {
8
8
  useDbQuery
9
- } from "./chunk-3UYBZHEV.js";
9
+ } from "./chunk-PZLVL7DU.js";
10
10
  import {
11
11
  useDbUpsert
12
- } from "./chunk-Q7WJEOQ5.js";
12
+ } from "./chunk-LVUK5USN.js";
13
13
  import {
14
14
  delay,
15
15
  isNullOrWhitespace,
@@ -467,4 +467,4 @@ export {
467
467
  useSetUserMetadata,
468
468
  useUserMetadataState
469
469
  };
470
- //# sourceMappingURL=chunk-TSXQTYUG.js.map
470
+ //# sourceMappingURL=chunk-DJWC43OA.js.map
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-7SCJNYTE.js";
7
7
  import {
8
8
  useDbQuery
9
- } from "./chunk-3UYBZHEV.js";
9
+ } from "./chunk-PZLVL7DU.js";
10
10
  import {
11
11
  useDbUpsert
12
- } from "./chunk-Q7WJEOQ5.js";
12
+ } from "./chunk-LVUK5USN.js";
13
13
  import {
14
14
  getSupabaseUrl
15
15
  } from "./chunk-GC3TBUWE.js";
@@ -3388,4 +3388,4 @@ export {
3388
3388
  useApplyFeedback,
3389
3389
  useResolveFeedback
3390
3390
  };
3391
- //# sourceMappingURL=chunk-3L4HOEXV.js.map
3391
+ //# sourceMappingURL=chunk-GXMSZ5S6.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  permissionContext,
3
3
  setupAuthContext
4
- } from "./chunk-3UYBZHEV.js";
4
+ } from "./chunk-PZLVL7DU.js";
5
5
  import {
6
6
  isUsable
7
7
  } from "./chunk-OQ7U6EQ3.js";
@@ -244,4 +244,4 @@ export {
244
244
  useInvalidatePermission,
245
245
  usePermissionLoading
246
246
  };
247
- //# sourceMappingURL=chunk-MBU4KE3V.js.map
247
+ //# sourceMappingURL=chunk-IZX7ZEUF.js.map