Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

config.json

295 lines7.6 KB

1{
2 "$schema": "https://raw.githubusercontent.com/TanStack/tanstack.com/main/tanstack-docs-config.schema.json",
3 "docSearch": {
4 "appId": "",
5 "apiKey": "",
6 "indexName": "tanstack-db"
7 },
8 "sections": [
9 {
10 "label": "Getting Started",
11 "children": [
12 {
13 "label": "Overview",
14 "to": "overview"
15 },
16 {
17 "label": "Quick Start",
18 "to": "quick-start"
19 },
20 {
21 "label": "Installation",
22 "to": "installation"
23 }
24 ]
25 },
26 {
27 "label": "Guides",
28 "children": [
29 {
30 "label": "Live Queries",
31 "to": "guides/live-queries"
32 },
33 {
34 "label": "SSR and Hydration",
35 "to": "guides/ssr"
36 },
37 {
38 "label": "Mutations",
39 "to": "guides/mutations"
40 },
41 {
42 "label": "SQLite Persistence",
43 "to": "guides/sqlite-persistence"
44 },
45 {
46 "label": "Offline Transactions",
47 "to": "guides/offline-transactions"
48 },
49 {
50 "label": "Schemas",
51 "to": "guides/schemas"
52 },
53 {
54 "label": "Error Handling",
55 "to": "guides/error-handling"
56 },
57 {
58 "label": "Error Codes",
59 "to": "errors"
60 },
61 {
62 "label": "Creating Collection Options Creators",
63 "to": "guides/collection-options-creator"
64 }
65 ]
66 },
67 {
68 "label": "Collections",
69 "children": [
70 {
71 "label": "Query Collection",
72 "to": "collections/query-collection"
73 },
74 {
75 "label": "Electric Collection",
76 "to": "collections/electric-collection"
77 },
78 {
79 "label": "TrailBase Collection",
80 "to": "collections/trailbase-collection"
81 },
82 {
83 "label": "RxDB Collection",
84 "to": "collections/rxdb-collection"
85 },
86 {
87 "label": "PowerSync Collection",
88 "to": "collections/powersync-collection"
89 },
90 {
91 "label": "IndexedDB Collection",
92 "to": "collections/indexed-db-collection"
93 },
94 {
95 "label": "LocalStorage Collection",
96 "to": "collections/local-storage-collection"
97 },
98 {
99 "label": "LocalOnly Collection",
100 "to": "collections/local-only-collection"
101 }
102 ]
103 },
104 {
105 "label": "Frameworks",
106 "children": [
107 {
108 "label": "React",
109 "to": "framework/react/overview"
110 },
111 {
112 "label": "Preact",
113 "to": "framework/preact/overview"
114 },
115 {
116 "label": "Vue",
117 "to": "framework/vue/overview"
118 },
119 {
120 "label": "Angular",
121 "to": "framework/angular/overview"
122 },
123 {
124 "label": "Solid",
125 "to": "framework/solid/overview"
126 },
127 {
128 "label": "Svelte",
129 "to": "framework/svelte/overview"
130 }
131 ]
132 },
133 {
134 "label": "Community",
135 "children": [
136 {
137 "label": "Resources & Packages",
138 "to": "community/resources"
139 }
140 ]
141 },
142 {
143 "label": "API Reference",
144 "children": [
145 {
146 "label": "Core API Reference",
147 "to": "reference/index"
148 },
149 {
150 "label": "Collection",
151 "to": "reference/interfaces/Collection"
152 },
153 {
154 "label": "createCollection",
155 "to": "reference/functions/createCollection"
156 },
157 {
158 "label": "liveQueryCollectionOptions",
159 "to": "reference/functions/liveQueryCollectionOptions"
160 },
161 {
162 "label": "createLiveQueryCollection",
163 "to": "reference/functions/createLiveQueryCollection"
164 },
165 {
166 "label": "createOptimisticAction",
167 "to": "reference/functions/createOptimisticAction"
168 },
169 {
170 "label": "createTransaction",
171 "to": "reference/functions/createTransaction"
172 },
173 {
174 "label": "Electric DB Collection",
175 "to": "reference/electric-db-collection/index"
176 },
177 {
178 "label": "electricCollectionOptions",
179 "to": "reference/electric-db-collection/functions/electricCollectionOptions"
180 },
181 {
182 "label": "Query DB Collection",
183 "to": "reference/query-db-collection/index"
184 },
185 {
186 "label": "queryCollectionOptions",
187 "to": "reference/query-db-collection/functions/queryCollectionOptions"
188 },
189 {
190 "label": "RxDB DB Collection",
191 "to": "reference/rxdb-db-collection/index"
192 },
193 {
194 "label": "rxdbCollectionOptions",
195 "to": "reference/rxdb-db-collection/functions/rxdbCollectionOptions"
196 },
197 {
198 "label": "PowerSync Collection",
199 "to": "reference/powersync-db-collection/index"
200 },
201 {
202 "label": "powerSyncCollectionOptions",
203 "to": "reference/powersync-db-collection/functions/powerSyncCollectionOptions"
204 },
205 {
206 "label": "createIndexedDB",
207 "to": "reference/functions/createIndexedDB"
208 },
209 {
210 "label": "indexedDBCollectionOptions",
211 "to": "reference/functions/indexedDBCollectionOptions"
212 }
213 ],
214 "frameworks": [
215 {
216 "label": "react",
217 "children": [
218 {
219 "label": "React Hooks",
220 "to": "framework/react/reference/index"
221 },
222 {
223 "label": "useLiveQuery",
224 "to": "framework/react/reference/functions/useLiveQuery"
225 }
226 ]
227 },
228 {
229 "label": "preact",
230 "children": [
231 {
232 "label": "Preact Hooks",
233 "to": "framework/preact/reference/index"
234 },
235 {
236 "label": "useLiveQuery",
237 "to": "framework/preact/reference/functions/useLiveQuery"
238 },
239 {
240 "label": "useLiveInfiniteQuery",
241 "to": "framework/preact/reference/functions/useLiveInfiniteQuery"
242 }
243 ]
244 },
245 {
246 "label": "solid",
247 "children": [
248 {
249 "label": "Solid Hooks",
250 "to": "framework/solid/reference/index"
251 },
252 {
253 "label": "useLiveQuery",
254 "to": "framework/solid/reference/functions/useLiveQuery"
255 }
256 ]
257 },
258 {
259 "label": "vue",
260 "children": [
261 {
262 "label": "Vue Composables",
263 "to": "framework/vue/reference/index"
264 },
265 {
266 "label": "useLiveQuery",
267 "to": "framework/vue/reference/functions/useLiveQuery"
268 },
269 {
270 "label": "UseLiveQueryReturn",
271 "to": "framework/vue/reference/interfaces/UseLiveQueryReturn"
272 },
273 {
274 "label": "UseLiveQueryReturnWithCollection",
275 "to": "framework/vue/reference/interfaces/UseLiveQueryReturnWithCollection"
276 }
277 ]
278 },
279 {
280 "label": "angular",
281 "children": [
282 {
283 "label": "Angular Functions",
284 "to": "framework/angular/reference/index"
285 },
286 {
287 "label": "injectLiveQuery",
288 "to": "framework/angular/reference/functions/injectLiveQuery"
289 }
290 ]
291 }
292 ]
293 }
294 ]