Skip to content

Commit

Permalink
renaming and initial website
Browse files Browse the repository at this point in the history
  • Loading branch information
krizzu committed Feb 15, 2024
1 parent 830ae83 commit c21fdd0
Show file tree
Hide file tree
Showing 29 changed files with 47 additions and 38 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>SQLiteStorageKMP.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>SQLiteStorageKMP.framework/SQLiteStorageKMP</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SQLiteStorageKMP.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ public typealias Entry = EntryKMP
public typealias Unit = KotlinUnit
public typealias StorageAsyncSequence<T, E: Error> = NativeFlowAsyncSequence<T, E, Unit>

/**
todo: retrieve items via kotlin flow
*/

public struct AsyncStorageSQLite {

public let name: String
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Async Storage SQLite

Multiplatform SQLite storage for React Native Async Storage
Multiplatform native wrapper of SQLite for React Native Async Storage

## Installation

Expand Down
Binary file added docs/assets/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# SQLite Storage
# Async Storage SQLite

Todo
Multiplatform native wrapper of SQLite for React Native Async Storage

!!! warning
Page in progress

3 changes: 3 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
!!! warning
Page in progress

27 changes: 20 additions & 7 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
site_name: Async Storage Sqlite
repo_url: https://github.com/react-native-async-storage/sqlite-storage
site_name: Async Storage SQLite
repo_url: https://github.com/react-native-async-storage/sqlite-storage-kmp

nav:
- Home: index.md
- Getting started: index.md
- Usage: usage.md

theme:
name: material
palette:
primary: green
accent: teal
primary: deep purple
accent: orange
icon:
repo: fontawesome/brands/github
logo: octicons/database-16
favicon: assets/favicon.png
feature:
- navigation.tabs
- navigation.footer
- content.code.copy

markdown_extensions:
- admonition
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.details
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.highlight:
use_pygments: true
anchor_linenums: true
line_spans: __span
pygments_lang_class: true

extra:
social:
- icon: fontawesome/brands/github
name: AsyncStorage
name: Async Storage
link: https://github.com/react-native-async-storage/async-storage
10 changes: 5 additions & 5 deletions package_info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "Async Storage SQLite",
"version": "0.0.1",
"description": "Multiplatform sqlite storage for React Native Async Storage",
"description": "Multiplatform native wrapper of SQLite for React Native Async Storage",
"author": "Krzysztof Borowy",
"homepage": "https://github.com/react-native-async-storage/sqlite-storage-kmp",
"repository": "https://github.com/react-native-async-storage/sqlite-storage-kmp.git",
"homepage": "https://github.com/react-native-async-storage/sqlite-storage-native",
"repository": "https://github.com/react-native-async-storage/sqlite-storage-native.git",
"license": {
"type": "MIT",
"url": "https://github.com/react-native-async-storage/sqlite-storage-kmp/blob/main/LICENSE.md",
"url": "https://github.com/react-native-async-storage/sqlite-storage-native/blob/main/LICENSE.md",
"date": "2023"
},
"darwin": {
"podspec_name": "AsyncStorageSQLiteKMP",
"podspec_name": "AsyncStorageSQLite",
"xcframework_name": "SQLiteStorageKMP"
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion samples/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ target 'iosExample' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

pod 'AsyncStorageSQLiteKMP', :path => '../../'
pod 'AsyncStorageSQLite', :path => '../../'

end
2 changes: 1 addition & 1 deletion samples/ios/iosExample/Basic/BasicPage.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import AsyncStorageSQLiteKMP
import AsyncStorageSQLite


struct BasicPage: View {
Expand Down
10 changes: 1 addition & 9 deletions samples/ios/iosExample/Basic/BasicView.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
//
// OperationsView.swift
// iosExample
//
// Created by Krzysztof Borowy on 07/02/2024.
// Copyright © 2024 orgName. All rights reserved.
//

import SwiftUI
import AsyncStorageSQLiteKMP
import AsyncStorageSQLite


private let KEY = "random"
Expand Down
2 changes: 1 addition & 1 deletion samples/ios/iosExample/Basic/DatabaseSelectorView.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import AsyncStorageSQLiteKMP
import AsyncStorageSQLite

struct DatabaseSelector: View {
@Binding private var db: AsyncStorageSQLite?
Expand Down
2 changes: 1 addition & 1 deletion samples/ios/iosExample/Keys/KeysPage.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import AsyncStorageSQLiteKMP
import AsyncStorageSQLite

struct KeysPage: View {

Expand Down
2 changes: 1 addition & 1 deletion samples/ios/iosExample/Merge/MergePage.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import AsyncStorageSQLiteKMP
import AsyncStorageSQLite


struct MergePage: View {
Expand Down
2 changes: 1 addition & 1 deletion samples/ios/iosExample/Multi/MultiPage.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import AsyncStorageSQLiteKMP
import AsyncStorageSQLite


private let DatabaseName = "multiple-example.db"
Expand Down

0 comments on commit c21fdd0

Please sign in to comment.