@pol-studios/db 1.0.19 → 1.0.21
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 +825 -0
- package/dist/EntityPermissions-DwFt4tUd.d.ts +35 -0
- package/dist/FilterConfig-Bt2Ek74z.d.ts +99 -0
- package/dist/UserMetadataContext-B8gVWGMl.d.ts +35 -0
- package/dist/UserMetadataContext-DntmpK41.d.ts +33 -0
- package/dist/auth/context.d.ts +48 -0
- package/dist/auth/guards.d.ts +180 -0
- package/dist/auth/hooks.d.ts +312 -0
- package/dist/auth/index.d.ts +11 -0
- package/dist/client/index.d.ts +16 -0
- package/dist/core/index.d.ts +539 -0
- package/dist/database.types-ChFCG-4M.d.ts +8604 -0
- package/dist/executor-CB4KHyYG.d.ts +507 -0
- package/dist/gen/index.d.ts +1099 -0
- package/dist/hooks/index.d.ts +100 -0
- package/dist/index-BNKhgDdC.d.ts +433 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.native.d.ts +793 -0
- package/dist/index.web.d.ts +321 -0
- package/dist/mutation/index.d.ts +58 -0
- package/dist/parser/index.d.ts +366 -0
- package/dist/powersync-bridge/index.d.ts +284 -0
- package/dist/query/index.d.ts +723 -0
- package/dist/realtime/index.d.ts +44 -0
- package/dist/select-query-parser-BwyHum1L.d.ts +352 -0
- package/dist/setupAuthContext-Kv-THH-h.d.ts +61 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types-CYr9JiUE.d.ts +62 -0
- package/dist/useBatchUpsert-9OYjibLh.d.ts +24 -0
- package/dist/useDbCount-Id14x_1P.d.ts +1082 -0
- package/dist/useDbQuery-C-TL8jY1.d.ts +19 -0
- package/dist/useReceiptAI-6HkRpRml.d.ts +58 -0
- package/dist/useResolveFeedback-Ca2rh_Bs.d.ts +997 -0
- package/dist/useSupabase-DvWVuHHE.d.ts +28 -0
- package/dist/with-auth/index.d.ts +704 -0
- package/package.json +61 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pol-studios/db",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "Database layer for React applications with Supabase and PowerSync support",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -95,6 +95,55 @@
|
|
|
95
95
|
"files": [
|
|
96
96
|
"dist"
|
|
97
97
|
],
|
|
98
|
+
"typesVersions": {
|
|
99
|
+
"*": {
|
|
100
|
+
"client": [
|
|
101
|
+
"./dist/client/index.d.ts"
|
|
102
|
+
],
|
|
103
|
+
"core": [
|
|
104
|
+
"./dist/core/index.d.ts"
|
|
105
|
+
],
|
|
106
|
+
"query": [
|
|
107
|
+
"./dist/query/index.d.ts"
|
|
108
|
+
],
|
|
109
|
+
"mutation": [
|
|
110
|
+
"./dist/mutation/index.d.ts"
|
|
111
|
+
],
|
|
112
|
+
"realtime": [
|
|
113
|
+
"./dist/realtime/index.d.ts"
|
|
114
|
+
],
|
|
115
|
+
"parser": [
|
|
116
|
+
"./dist/parser/index.d.ts"
|
|
117
|
+
],
|
|
118
|
+
"hooks": [
|
|
119
|
+
"./dist/hooks/index.d.ts"
|
|
120
|
+
],
|
|
121
|
+
"types": [
|
|
122
|
+
"./dist/types/index.d.ts"
|
|
123
|
+
],
|
|
124
|
+
"gen": [
|
|
125
|
+
"./dist/gen/index.d.ts"
|
|
126
|
+
],
|
|
127
|
+
"auth": [
|
|
128
|
+
"./dist/auth/index.d.ts"
|
|
129
|
+
],
|
|
130
|
+
"auth/context": [
|
|
131
|
+
"./dist/auth/context.d.ts"
|
|
132
|
+
],
|
|
133
|
+
"auth/hooks": [
|
|
134
|
+
"./dist/auth/hooks.d.ts"
|
|
135
|
+
],
|
|
136
|
+
"auth/guards": [
|
|
137
|
+
"./dist/auth/guards.d.ts"
|
|
138
|
+
],
|
|
139
|
+
"with-auth": [
|
|
140
|
+
"./dist/with-auth/index.d.ts"
|
|
141
|
+
],
|
|
142
|
+
"powersync-bridge": [
|
|
143
|
+
"./dist/powersync-bridge/index.d.ts"
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
},
|
|
98
147
|
"keywords": [
|
|
99
148
|
"database",
|
|
100
149
|
"supabase",
|
|
@@ -104,20 +153,14 @@
|
|
|
104
153
|
"offline-first",
|
|
105
154
|
"sync"
|
|
106
155
|
],
|
|
107
|
-
"scripts": {
|
|
108
|
-
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
|
|
109
|
-
"dev": "tsup --watch",
|
|
110
|
-
"typecheck": "tsc --noEmit",
|
|
111
|
-
"prepublishOnly": "pnpm build"
|
|
112
|
-
},
|
|
113
156
|
"peerDependencies": {
|
|
114
|
-
"@pol-studios/powersync": "workspace:*",
|
|
115
157
|
"@powersync/react-native": ">=1.0.8",
|
|
116
158
|
"@react-native-community/netinfo": ">=9.0.0",
|
|
117
159
|
"@supabase/supabase-js": ">=2.0.0",
|
|
118
160
|
"@tanstack/react-query": ">=5.0.0",
|
|
119
161
|
"react": ">=18.0.0",
|
|
120
|
-
"react-native": ">=0.70.0"
|
|
162
|
+
"react-native": ">=0.70.0",
|
|
163
|
+
"@pol-studios/powersync": "1.0.5"
|
|
121
164
|
},
|
|
122
165
|
"peerDependenciesMeta": {
|
|
123
166
|
"@pol-studios/powersync": {
|
|
@@ -139,16 +182,21 @@
|
|
|
139
182
|
},
|
|
140
183
|
"devDependencies": {
|
|
141
184
|
"@babel/core": "^7.28.0",
|
|
142
|
-
"@pol-studios/hooks": "workspace:*",
|
|
143
|
-
"@pol-studios/utils": "workspace:*",
|
|
144
185
|
"@supabase-cache-helpers/postgrest-core": "^0.12.3",
|
|
145
186
|
"@supabase-cache-helpers/postgrest-react-query": "^1.0.0",
|
|
146
187
|
"@types/flat": "^5.0.5",
|
|
147
188
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
148
189
|
"tsup": "^8.0.0",
|
|
149
|
-
"typescript": "^5.0.0"
|
|
190
|
+
"typescript": "^5.0.0",
|
|
191
|
+
"@pol-studios/hooks": "1.0.9",
|
|
192
|
+
"@pol-studios/utils": "1.0.9"
|
|
150
193
|
},
|
|
151
194
|
"publishConfig": {
|
|
152
195
|
"access": "public"
|
|
196
|
+
},
|
|
197
|
+
"scripts": {
|
|
198
|
+
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
|
|
199
|
+
"dev": "tsup --watch",
|
|
200
|
+
"typecheck": "tsc --noEmit"
|
|
153
201
|
}
|
|
154
|
-
}
|
|
202
|
+
}
|