Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,355 changes: 3,216 additions & 139 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["delta-sharing/*"]
members = ["delta-sharing/*", "app/src-tauri"]

[workspace.package]
edition = "2021"
Expand Down
7 changes: 6 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,16 @@ docker:
# generate delta-sharing types from proto files
generate:
buf generate proto
just delta-sharing/openfga/generate
npx -y @redocly/cli bundle --remove-unused-components delta-sharing/server/openapi.yaml > tmp.yaml
mv tmp.yaml delta-sharing/server/openapi.yaml
cargo clippy --fix --allow-dirty --allow-staged

generate-openfga:
just delta-sharing/openfga/generate

generate-app:
just app/generate

# load delta acceptance testing (dat) data from the release
load-dat:
rm -rf {{ dat_dir }}
Expand Down
24 changes: 24 additions & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
7 changes: 7 additions & 0 deletions app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Tauri + React + Typescript

This template should help get you started developing with Tauri, React and Typescript in Vite.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
9 changes: 9 additions & 0 deletions app/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: v2
managed:
enabled: true
plugins:
- remote: buf.build/bufbuild/es:v2.2.3
out: src/gen
include_imports: false
opt:
- target=ts
14 changes: 14 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri + React + Typescript</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
7 changes: 7 additions & 0 deletions app/justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
default:
@just --list

generate:
@buf generate buf.build/gnostic/gnostic --template {{ source_directory() }}/buf.gen.yaml
@buf generate buf.build/googleapis/googleapis --template {{ source_directory() }}/buf.gen.yaml
@buf generate buf.build/bufbuild/protovalidate --template {{ source_directory() }}/buf.gen.yaml
Loading
Loading