Skip to content

Commit 97f351e

Browse files
authored
Periods may not follow anchors (#28)
1 parent b9ddcd2 commit 97f351e

File tree

10 files changed

+32
-32
lines changed

10 files changed

+32
-32
lines changed

client-sdk-references/flutter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class MyBackendConnector extends PowerSyncBackendConnector {
172172
// Implement uploadData to send local changes to your backend service
173173
// You can omit this method if you only want to sync data from the server to the client
174174
175-
// See example implementation here: https://docs.powersync.com/client-sdk-references/flutter#id-3.-integrate-with-your-backend
175+
// See example implementation here: https://docs.powersync.com/client-sdk-references/flutter#3-integrate-with-your-backend
176176
}
177177
}
178178

client-sdk-references/javascript-web.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class Connector {
198198
// Implement uploadData to send local changes to your backend service.
199199
// You can omit this method if you only want to sync data from the database to the client
200200

201-
// See example implementation here: https://docs.powersync.com/client-sdk-references/javascript-web#id-3.-integrate-with-your-backend
201+
// See example implementation here: https://docs.powersync.com/client-sdk-references/javascript-web#3-integrate-with-your-backend
202202
}
203203
```
204204

client-sdk-references/kotlin-multiplatform.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ Once the PowerSync instance is configured you can start using the SQLite DB func
194194
The most commonly used CRUD functions to interact with your SQLite data are:
195195

196196
* [PowerSyncDatabase.get](/client-sdk-references/kotlin-multiplatform#fetching-a-single-item) \- get (SELECT) a single row from a table.
197-
* [PowerSyncDatabase.getAll](/client-sdk-references/kotlin-multiplatform#querying-items-powersync.getall) \- get (SELECT) a set of rows from a table.
198-
* [PowerSyncDatabase.watch](/client-sdk-references/kotlin-multiplatform#watching-queries-powersync.watch) \- execute a read query every time source tables are modified.
199-
* [PowerSyncDatabase.execute](/client-sdk-references/kotlin-multiplatform#mutations-powersync.execute) \- execute a write (INSERT/UPDATE/DELETE) query.
197+
* [PowerSyncDatabase.getAll](/client-sdk-references/kotlin-multiplatform#querying-items-powersync-getall) \- get (SELECT) a set of rows from a table.
198+
* [PowerSyncDatabase.watch](/client-sdk-references/kotlin-multiplatform#watching-queries-powersync-watch) \- execute a read query every time source tables are modified.
199+
* [PowerSyncDatabase.execute](/client-sdk-references/kotlin-multiplatform#mutations-powersync-execute) \- execute a write (INSERT/UPDATE/DELETE) query.
200200

201201
### Fetching a Single Item
202202

client-sdk-references/react-native-and-expo.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class Connector {
216216
// Implement uploadData to send local changes to your backend service.
217217
// You can omit this method if you only want to sync data from the database to the client
218218

219-
// See example implementation here:https://docs.powersync.com/client-sdk-references/react-native-and-expo#id-3.-integrate-with-your-backend
219+
// See example implementation here:https://docs.powersync.com/client-sdk-references/react-native-and-expo#3-integrate-with-your-backend
220220
}
221221
```
222222
@@ -227,9 +227,9 @@ Once the PowerSync instance is configured you can start using the SQLite DB func
227227
The most commonly used CRUD functions to interact with your SQLite data are:
228228
229229
* [PowerSyncDatabase.get](/client-sdk-references/react-native-and-expo#fetching-a-single-item) \- get (SELECT) a single row from a table.
230-
* [PowerSyncDatabase.getAll](/client-sdk-references/react-native-and-expo#querying-items-powersync.getall) \- get (SELECT) a set of rows from a table.
231-
* [PowerSyncDatabase.watch](/client-sdk-references/react-native-and-expo#watching-queries-powersync.watch) \- execute a read query every time source tables are modified.
232-
* [PowerSyncDatabase.execute](/client-sdk-references/react-native-and-expo#mutations-powersync.execute) \- execute a write (INSERT/UPDATE/DELETE) query.
230+
* [PowerSyncDatabase.getAll](/client-sdk-references/react-native-and-expo#querying-items-powersync-getall) \- get (SELECT) a set of rows from a table.
231+
* [PowerSyncDatabase.watch](/client-sdk-references/react-native-and-expo#watching-queries-powersync-watch) \- execute a read query every time source tables are modified.
232+
* [PowerSyncDatabase.execute](/client-sdk-references/react-native-and-expo#mutations-powersync-execute) \- execute a write (INSERT/UPDATE/DELETE) query.
233233
234234
### Fetching a Single Item
235235

client-sdk-references/swift.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ The most commonly used CRUD functions to interact with your SQLite data are:
229229

230230
* [PowerSyncDatabase.get](/client-sdk-references/swift#fetching-a-single-item) \- get (SELECT) a single row from a table.
231231
* [PowerSyncDatabase.getOptional](/client-sdk-references/swift#fetching-a-single-item) \- get (SELECT) a single row from a table and return `null` if not found.
232-
* [PowerSyncDatabase.getAll](/client-sdk-references/swift#querying-items-powersync.getall) \- get (SELECT) a set of rows from a table.
233-
* [PowerSyncDatabase.watch](/client-sdk-references/swift#watching-queries-powersync.watch) \- execute a read query every time source tables are modified.
234-
* [PowerSyncDatabase.execute](/client-sdk-references/swift#mutations-powersync.execute) \- execute a write (INSERT/UPDATE/DELETE) query.
232+
* [PowerSyncDatabase.getAll](/client-sdk-references/swift#querying-items-powersync-getall) \- get (SELECT) a set of rows from a table.
233+
* [PowerSyncDatabase.watch](/client-sdk-references/swift#watching-queries-powersync-watch) \- execute a read query every time source tables are modified.
234+
* [PowerSyncDatabase.execute](/client-sdk-references/swift#mutations-powersync-execute) \- execute a write (INSERT/UPDATE/DELETE) query.
235235

236236
### Fetching a Single Item ( PowerSync.get / PowerSync.getOptional)
237237

installation/client-side-setup/define-your-schema.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ For an example implementation of the client-side schema, see the _Getting Starte
2121

2222
### <Icon icon="flutter" iconType="solid" size="24"/> Flutter
2323

24-
* [1\. Define the Schema](/client-sdk-references/flutter#id-1.-define-the-schema)
24+
* [1\. Define the Schema](/client-sdk-references/flutter#1-define-the-schema)
2525

2626
### <Icon icon="react" iconType="solid" size="24"/> React Native & Expo
2727

28-
* [1\. Define the Schema](/client-sdk-references/react-native-and-expo#id-1.-define-the-schema)
28+
* [1\. Define the Schema](/client-sdk-references/react-native-and-expo#1-define-the-schema)
2929

3030
### <Icon icon="js" iconType="solid" size="24"/> JavaScript Web
3131

32-
* [1\. Define the Schema](/client-sdk-references/javascript-web#id-1.-define-the-schema)
32+
* [1\. Define the Schema](/client-sdk-references/javascript-web#1-define-the-schema)
3333

3434
### <Icon icon="flag" iconType="solid" size="24"/> Kotlin Multiplatform
3535

36-
* [1\. Define the Schema](/client-sdk-references/kotlin-multiplatform#id-1.-define-the-schema)
36+
* [1\. Define the Schema](/client-sdk-references/kotlin-multiplatform#1-define-the-schema)
3737

3838
### <Icon icon="swift" iconType="solid" size="24"/> Swift
3939

40-
* [1\. Define the Schema](/client-sdk-references/swift#id-1.-define-the-schema)
40+
* [1\. Define the Schema](/client-sdk-references/swift#1-define-the-schema)
4141

4242
## ORM Support
4343

installation/client-side-setup/instantiate-powersync-database.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ For an example implementation of instantiating the client-side database, see the
1111

1212
### <Icon icon="flutter" iconType="solid" size="24"/> Flutter
1313

14-
* [2\. Instantiate the PowerSync Database](/client-sdk-references/flutter#id-2.-instantiate-the-powersync-database)
14+
* [2\. Instantiate the PowerSync Database](/client-sdk-references/flutter#2-instantiate-the-powersync-database)
1515

1616
### <Icon icon="react" iconType="solid" size="24"/> React Native & Expo
1717

18-
* [2\. Instantiate the PowerSync Database](/client-sdk-references/react-native-and-expo#id-2.-instantiate-the-powersync-database)
18+
* [2\. Instantiate the PowerSync Database](/client-sdk-references/react-native-and-expo#2-instantiate-the-powersync-database)
1919

2020
### <Icon icon="js" iconType="solid" size="24"/> JavaScript Web
2121

22-
* [2\. Instantiate the PowerSync Database](/client-sdk-references/javascript-web#id-2.-instantiate-the-powersync-database)
22+
* [2\. Instantiate the PowerSync Database](/client-sdk-references/javascript-web#2-instantiate-the-powersync-database)
2323

2424
### <Icon icon="flag" iconType="solid" size="24"/> Kotlin Multiplatform
2525

26-
* [2\. Instantiate the PowerSync Database](/client-sdk-references/kotlin-multiplatform#id-2.-instantiate-the-powersync-database)
26+
* [2\. Instantiate the PowerSync Database](/client-sdk-references/kotlin-multiplatform#2-instantiate-the-powersync-database)
2727

2828
### <Icon icon="swift" iconType="solid" size="24"/> Swift
2929

30-
* [2\. Instantiate the PowerSync Database](/client-sdk-references/swift#id-2.-instantiate-the-powersync-database)
30+
* [2\. Instantiate the PowerSync Database](/client-sdk-references/swift#2-instantiate-the-powersync-database)
3131

3232
## Additional Examples
3333

installation/client-side-setup/integrating-with-your-backend.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ For an example implementation of a PowerSync 'backend connector', see the _Getti
2121

2222
### <Icon icon="flutter" iconType="solid" size="24"/> Flutter
2323

24-
* [3\. Integrate with your Backend](/client-sdk-references/flutter#id-3.-integrate-with-your-backend)
24+
* [3\. Integrate with your Backend](/client-sdk-references/flutter#3-integrate-with-your-backend)
2525

2626
### <Icon icon="react" iconType="solid" size="24"/> React Native & Expo
2727

28-
* [3\. Integrate with your Backend](/client-sdk-references/react-native-and-expo#id-3.-integrate-with-your-backend)
28+
* [3\. Integrate with your Backend](/client-sdk-references/react-native-and-expo#3-integrate-with-your-backend)
2929

3030
### <Icon icon="js" iconType="solid" size="24"/> JavaScript Web
3131

32-
* [3\. Integrate with your Backend](/client-sdk-references/javascript-web#id-3.-integrate-with-your-backend)
32+
* [3\. Integrate with your Backend](/client-sdk-references/javascript-web#3-integrate-with-your-backend)
3333

3434
### <Icon icon="flag" iconType="solid" size="24"/> Kotlin Multiplatform
3535

36-
* [3\. Integrate with your Backend](/client-sdk-references/kotlin-multiplatform#id-3.-integrate-with-your-backend)
36+
* [3\. Integrate with your Backend](/client-sdk-references/kotlin-multiplatform#3-integrate-with-your-backend)
3737

3838
### <Icon icon="swift" iconType="solid" size="24"/> Swift
3939

40-
* [3\. Integrate with your Backend](/client-sdk-references/swift#id-3.-integrate-with-your-backend)
40+
* [3\. Integrate with your Backend](/client-sdk-references/swift#3-integrate-with-your-backend)
4141

4242
## More Examples
4343

self-hosting/installation/client-side-setup.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ title: "Client-Side Setup"
55
We recommend splitting up your client-side implementation into four phases:
66

77
<CardGroup>
8-
<Card title="Generate development token" icon="key" href="/self-hosting/installation/client-side-setup#id-1.-generate-development-token" horizontal/> <Card title="Run Diagnostics app" icon="bug" href="/self-hosting/installation/client-side-setup#id-2.-run-the-diagnostics-app-using-a-development-token" horizontal/>
9-
<Card title="Use client SDK with token" icon="code" href="/self-hosting/installation/client-side-setup#id-3.-use-the-client-sdk-with-development-token" horizontal/>
10-
<Card title="Implement authentication" icon="lock" href="/self-hosting/installation/client-side-setup#id-4.-implement-authentication" horizontal/>
8+
<Card title="Generate development token" icon="key" href="/self-hosting/installation/client-side-setup#1-generate-development-token" horizontal/> <Card title="Run Diagnostics app" icon="bug" href="/self-hosting/installation/client-side-setup#2-run-the-diagnostics-app-using-a-development-token" horizontal/>
9+
<Card title="Use client SDK with token" icon="code" href="/self-hosting/installation/client-side-setup#3-use-the-client-sdk-with-development-token" horizontal/>
10+
<Card title="Implement authentication" icon="lock" href="/self-hosting/installation/client-side-setup#4-implement-authentication" horizontal/>
1111
</CardGroup>
1212

1313
## 1\. Generate Development Token
@@ -80,7 +80,7 @@ Enter your PowerSync Service endpoint (see the port number specified in your con
8080
<Info>
8181
**Checkpoint:**
8282

83-
Inspect your global bucket and synced table (from the [PowerSync Service Setup](/self-hosting/installation/powersync-service-setup) section) in the diagnostics app — these should match the sync rules you [defined previously](/self-hosting/installation/powersync-service-setup#sync-rules).
83+
Inspect your global bucket and synced table (from the [PowerSync Service Setup](/self-hosting/installation/powersync-service-setup) section) in the diagnostics app — these should match the sync rules you [defined previously](/self-hosting/installation/powersync-service-setup#1.sync-rules).
8484
</Info>
8585

8686
## 3\. Use the Client SDK with a development token

usage/sync-rules/advanced-topics/client-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Client parameters are parameters that are passed to the PowerSync Service instan
1515

1616
PowerSync already supports using **token parameters** in parameter queries. An example of a token parameter is a user ID, and this is commonly used to filter synced data by the user. These parameters are embedded in the JWT [authentication token](/installation/authentication-setup/custom), and therefore can be considered trusted and can be used for access control purposes.
1717

18-
**Client parameters** are specified directly by the client (i.e. not through the JWT authentication token). The advantage of client parameters is that they give client-side control over what data to sync, and can therefore be used to further filter or limit synced data. A common use case is [lazy-loading](/usage/use-case-examples/infinite-scrolling#id-2-control-data-sync-using-client-parameters), where data is split into pages and a client parameter can be used to specify which page(s) to sync to a user, and this can update dynamically as the user paginates (or reaches the end of an infinite-scrolling feed).
18+
**Client parameters** are specified directly by the client (i.e. not through the JWT authentication token). The advantage of client parameters is that they give client-side control over what data to sync, and can therefore be used to further filter or limit synced data. A common use case is [lazy-loading](/usage/use-case-examples/infinite-scrolling#2-control-data-sync-using-client-parameters), where data is split into pages and a client parameter can be used to specify which page(s) to sync to a user, and this can update dynamically as the user paginates (or reaches the end of an infinite-scrolling feed).
1919

2020
### Usage
2121

0 commit comments

Comments
 (0)