-
Notifications
You must be signed in to change notification settings - Fork 15
API Reference #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
API Reference #163
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4c2c13b
initial api ref
stevensJourney 694524c
Merge remote-tracking branch 'origin/main' into api-ref
stevensJourney c2a0115
multi module
stevensJourney 6c06237
docs
stevensJourney 9534ae8
Merge remote-tracking branch 'origin/main' into api-ref
stevensJourney 130e5c3
update build
stevensJourney 1693149
docs
stevensJourney d5461c3
update action
stevensJourney a1ce985
update images
stevensJourney d7fb5b9
update images
stevensJourney 6f5d36b
Merge remote-tracking branch 'origin/main' into api-ref
stevensJourney a3696bd
add schema comment
stevensJourney c0f666a
update icon
stevensJourney 49d694c
update branch
stevensJourney 6402b3f
Add compose module to docs. Test pages again. Fix image trailing sla…
stevensJourney 4269441
revert test docs deploy
stevensJourney File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Deploy Docs | ||
|
||
on: | ||
push: | ||
branches: [ 'main' ] | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.konan | ||
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }} | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
- name: Build Docs | ||
run: | | ||
./gradlew \ | ||
-PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} \ | ||
dokkaGenerate | ||
shell: bash | ||
- name: Upload static files as artifact | ||
id: deployment | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: build/dokka/html | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
:root { | ||
--dokka-logo-image-url: url('../images/powersync-logo.png'); | ||
} | ||
|
||
.footer-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
gap: 8px; | ||
margin-top: auto; | ||
box-sizing: border-box; | ||
background-color: var(--footer-background); | ||
color: var(--footer-font-color); | ||
} | ||
|
||
.footer-title { | ||
margin-bottom: 8px; | ||
} | ||
|
||
.footer-column { | ||
flex: 1 1 0; | ||
align-items: center; | ||
text-align: center; | ||
min-width: 300px; | ||
padding: 8px; | ||
} | ||
|
||
.footer-icon-row { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 8px; | ||
flex-wrap: wrap; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<#macro display> | ||
<@template_cmd name="pathToRoot"> | ||
<div style="margin-top:auto"> | ||
<div class="footer-container"> | ||
<div class="footer-column"> | ||
<strong class="footer-title">Community</strong> | ||
<div class="footer-icon-row"> | ||
<a href="https://discord.gg/powersync" target="_blank"> | ||
<img src="./${pathToRoot}/images/discord.svg" loading="lazy" alt="Discord" height="24"> | ||
</a> | ||
<a href="https://twitter.com/powersync_" target="_blank"> | ||
<img src="./${pathToRoot}/images/x.svg" loading="lazy" alt="Twitter" height="20"> | ||
</a> | ||
<a href="https://www.youtube.com/@powersync_" target="_blank"> | ||
<img src="./${pathToRoot}/images/youtube.svg" loading="lazy" alt="YouTube" width="32" height="28"> | ||
</a> | ||
<a href="https://www.linkedin.com/showcase/journeyapps-powersync/" target="_blank"> | ||
<img src="./${pathToRoot}/images/linkedin.svg" loading="lazy" alt="LinkedIn" height="24"> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="footer-column"> | ||
<strong class="footer-title">More</strong> | ||
<div class="footer-icon-row"> | ||
<a href="https://github.com/powersync-ja" target="_blank"> | ||
<img src="./${pathToRoot}/images/github.svg" loading="lazy" alt="GitHub" height="24"> | ||
</a> | ||
<a href="https://www.powersync.com/" target="_blank"> | ||
<img src="./${pathToRoot}/images/web.svg" loading="lazy" alt="Website" height="30"> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="footer-container"> | ||
<span>© 2025 Journey Mobile, Inc.</span> | ||
<span class="pull-right"> | ||
<span>Generated by </span> | ||
<a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka"> | ||
<span>dokka</span> | ||
</a> | ||
</span> | ||
</div> | ||
|
||
</div> | ||
</@template_cmd> | ||
</#macro> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,5 @@ POM_DEVELOPER_ID=powersync | |
POM_DEVELOPER_NAME=PowerSync SDK Team | ||
POM_DEVELOPER_URL=https://powersync.com/ | ||
[email protected] | ||
#Dokka | ||
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.