Skip to content

Commit

Permalink
Merge pull request #11 from teogor/release/1.0.0-alpha02
Browse files Browse the repository at this point in the history
 Prepare for 1.0.0-alpha02: Updated Docs, and Latest Dependencies
  • Loading branch information
teogor authored Feb 15, 2024
2 parents 4de1c04 + afa829b commit cbc2c89
Show file tree
Hide file tree
Showing 26 changed files with 1,145 additions and 83 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:

- name: Relocate API References
run: |
mkdir -p build/docs/${{ env.REPOSITORY }}/reference
cp -r build/dokka/htmlMultiModule/* build/docs/${{ env.REPOSITORY }}/reference
mkdir -p build/docs/${{ env.REPOSITORY }}/html
cp -r build/dokka/htmlMultiModule/* build/docs/${{ env.REPOSITORY }}/html
- id: publish-docs
name: Deploy Documentation
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Overview
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Maven Central](https://img.shields.io/maven-central/v/dev.teogor.stitch/bom.svg?label=Maven%20Central)](https://central.sonatype.com/search?q=g%3Adev.teogor.stitch+a%3Aapi&smo=true)
[![Maven Central](https://img.shields.io/maven-central/v/dev.teogor.stitch/common.svg?label=Maven%20Central)](https://central.sonatype.com/search?q=g%3Adev.teogor.stitch+a%3Acommon&smo=true)
[![API](https://img.shields.io/badge/API-24%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=24)
[![Profile](https://source.teogor.dev/badges/teogor-github.svg)](https://github.com/teogor)
[![Portfolio](https://source.teogor.dev/badges/teogor-dev.svg)](https://source.teogor.dev/stitch)
Expand Down Expand Up @@ -39,8 +39,6 @@ Tired of writing repetitive Room boilerplate code? Stitch, your friendly Kotlin
* **Coroutine-friendly Operations:** Stitch supports asynchronous data access using coroutines, ensuring a responsive and efficient user experience.
* **Efficient KSP Integration:** Leverages Kotlin Symbol Processing for accurate and optimized code generation based on your project's specific setup.



## Documentation and Community:

* **Website:** [https://source.teogor.dev/stitch](https://source.teogor.dev/stitch)
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ plugins {
alias(libs.plugins.ceres.android.room)
alias(libs.plugins.ceres.android.hilt)
alias(libs.plugins.ksp)
// id("dev.teogor.stitch")
}

ksp {
arg("stitch.addDocumentation", "true")
arg("stitch.generateOperations", "true")
arg("stitch.enableOperationGeneration", "true")
arg("stitch.operationGenerationLevel", "explicit")
arg("stitch.generatedPackageName", "dev.teogor.stitch")
}

Expand Down
299 changes: 299 additions & 0 deletions app/schemas/com.zeoowl.beatifyd.core.data.AppDatabase/2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
{
"formatVersion": 1,
"database": {
"version": 2,
"identityHash": "faf6eea4a0a81680ed4dfed8c6fe0ba8",
"entities": [
{
"tableName": "BlackListStoreEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`path` TEXT NOT NULL, PRIMARY KEY(`path`))",
"fields": [
{
"fieldPath": "path",
"columnName": "path",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"path"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "History",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `title` TEXT NOT NULL, `track_number` INTEGER NOT NULL, `year` INTEGER NOT NULL, `duration` INTEGER NOT NULL, `data` TEXT NOT NULL, `date_modified` INTEGER NOT NULL, `album_id` INTEGER NOT NULL, `album_name` TEXT NOT NULL, `artist_id` INTEGER NOT NULL, `artist_name` TEXT NOT NULL, `composer` TEXT, `album_artist` TEXT, `time_played` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "trackNumber",
"columnName": "track_number",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "year",
"columnName": "year",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "duration",
"columnName": "duration",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "data",
"columnName": "data",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "dateModified",
"columnName": "date_modified",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "albumId",
"columnName": "album_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "albumName",
"columnName": "album_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "artistId",
"columnName": "artist_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "artistName",
"columnName": "artist_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "composer",
"columnName": "composer",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "albumArtist",
"columnName": "album_artist",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "timePlayed",
"columnName": "time_played",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "Lyrics",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`songId` INTEGER NOT NULL, `lyrics` TEXT NOT NULL, PRIMARY KEY(`songId`))",
"fields": [
{
"fieldPath": "songId",
"columnName": "songId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "lyrics",
"columnName": "lyrics",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"songId"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "Playlist",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`playlist_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `playlist_name` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "playListId",
"columnName": "playlist_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "playlistName",
"columnName": "playlist_name",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"playlist_id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "Song",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`song_key` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `playlist_creator_id` INTEGER NOT NULL, `id` INTEGER NOT NULL, `title` TEXT NOT NULL, `track_number` INTEGER NOT NULL, `year` INTEGER NOT NULL, `duration` INTEGER NOT NULL, `data` TEXT NOT NULL, `date_modified` INTEGER NOT NULL, `album_id` INTEGER NOT NULL, `album_name` TEXT NOT NULL, `artist_id` INTEGER NOT NULL, `artist_name` TEXT NOT NULL, `composer` TEXT, `album_artist` TEXT)",
"fields": [
{
"fieldPath": "songPrimaryKey",
"columnName": "song_key",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "playlistCreatorId",
"columnName": "playlist_creator_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "trackNumber",
"columnName": "track_number",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "year",
"columnName": "year",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "duration",
"columnName": "duration",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "data",
"columnName": "data",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "dateModified",
"columnName": "date_modified",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "albumId",
"columnName": "album_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "albumName",
"columnName": "album_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "artistId",
"columnName": "artist_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "artistName",
"columnName": "artist_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "composer",
"columnName": "composer",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "albumArtist",
"columnName": "album_artist",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"song_key"
]
},
"indices": [
{
"name": "index_Song_playlist_creator_id_id",
"unique": true,
"columnNames": [
"playlist_creator_id",
"id"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_Song_playlist_creator_id_id` ON `${TABLE_NAME}` (`playlist_creator_id`, `id`)"
}
],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'faf6eea4a0a81680ed4dfed8c6fe0ba8')"
]
}
}
Loading

0 comments on commit cbc2c89

Please sign in to comment.