Skip to content

Commit

Permalink
Migration from sql to surrealdb
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenrhodes committed Oct 18, 2024
1 parent 45c92ed commit 8c1af5e
Show file tree
Hide file tree
Showing 119 changed files with 24,105 additions and 1,307 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"cSpell.words": ["Getx", "grey"]
"cSpell.words": ["Getx", "grey", "sabitou"]
}
21 changes: 14 additions & 7 deletions protos/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# A File controls how the **buf generate** command executes protoc plugins on a given module.
version: v1
version: v2
clean: true
managed:
enabled: true
plugins:
# Generated a DART specific code and place the output to gen/dart/models/lib/src directory.
- plugin: buf.build/protocolbuffers/dart:v21.1.2
out: gen/dart/lib
- remote: buf.build/protocolbuffers/dart:v21.1.2
out: gen/dart/lib/proto
opt:
- grpc
- plugin: buf.build/grpc/go:v1.5.1
out: gen/go
- remote: buf.build/grpc/go:v1.5.1
out: gen/go/proto
opt:
- paths=source_relative
# dependencies
- plugin: buf.build/protocolbuffers/go:v1.34.2
out: gen/go
- remote: buf.build/protocolbuffers/go:v1.35.1
out: gen/go/proto
opt:
- paths=source_relative
inputs:
- directory: src/sabitou
25 changes: 23 additions & 2 deletions protos/gen/dart/lib/models.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
export 'user/v1/user.pbgrpc.dart';
export 'user/v1/user.pb.dart';
export 'proto/user/v1/user.pbgrpc.dart';
export 'proto/user/v1/user.pb.dart';
export 'proto/article/v1/article.pbgrpc.dart';
export 'proto/article/v1/article.pb.dart';
export 'proto/business/v1/business.pbgrpc.dart';
export 'proto/business/v1/business.pb.dart';
export 'proto/media/v1/media.pbgrpc.dart';
export 'proto/media/v1/media.pb.dart';
export 'proto/payment/v1/payment.pbgrpc.dart';
export 'proto/payment/v1/payment.pb.dart';
export 'proto/business_article/v1/business_article.pbgrpc.dart';
export 'proto/business_article/v1/business_article.pb.dart';
export 'proto/order/v1/order.pbgrpc.dart';
export 'proto/order/v1/order.pb.dart';
export 'proto/business_user/v1/business_user.pb.dart';
export 'proto/business_user/v1/business_user.pbgrpc.dart';
export 'proto/inventory/v1/inventory.pb.dart';
export 'proto/inventory/v1/inventory.pbgrpc.dart';
export 'proto/article_category/v1/article_category.pb.dart';
export 'proto/article_category/v1/article_category.pbgrpc.dart';
export 'proto/store_user/v1/store_user.pbgrpc.dart';
export 'proto/store/v1/store.pb.dart';
export 'proto/store/v1/store.pbgrpc.dart';
Loading

0 comments on commit 8c1af5e

Please sign in to comment.