Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
c401a079
Commit
c401a079
authored
Oct 02, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update dependencies
parent
f0d43c95
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
236 additions
and
104 deletions
+236
-104
backend-tests.yml
.github/workflows/backend-tests.yml
+0
-1
frontend-tests.yml
.github/workflows/frontend-tests.yml
+0
-1
proto-linter.yml
.github/workflows/proto-linter.yml
+1
-2
buf.gen.yaml
proto/buf.gen.yaml
+16
-20
buf.lock
proto/buf.lock
+5
-9
buf.yaml
proto/buf.yaml
+13
-7
apidocs.swagger.yaml
proto/gen/apidocs.swagger.yaml
+201
-64
No files found.
.github/workflows/backend-tests.yml
View file @
c401a079
...
...
@@ -6,7 +6,6 @@ on:
pull_request
:
branches
:
-
main
-
"
release/*.*.*"
paths
:
-
"
go.mod"
-
"
go.sum"
...
...
.github/workflows/frontend-tests.yml
View file @
c401a079
...
...
@@ -6,7 +6,6 @@ on:
pull_request
:
branches
:
-
main
-
"
release/*.*.*"
paths
:
-
"
web/**"
...
...
.github/workflows/proto-linter.yml
View file @
c401a079
...
...
@@ -6,7 +6,6 @@ on:
pull_request
:
branches
:
-
main
-
"
release/*.*.*"
paths
:
-
"
proto/**"
...
...
@@ -29,6 +28,6 @@ jobs:
-
name
:
buf format
run
:
|
if [[ $(buf format -d) ]]; then
echo "Run 'buf format -
w
'"
echo "Run 'buf format -
d
'"
exit 1
fi
proto/buf.gen.yaml
View file @
c401a079
version
:
v
1
version
:
v
2
managed
:
enabled
:
true
go_package_prefix
:
default
:
github.com/usememos/memos/proto/gen
except
:
-
buf.build/googleapis/googleapis
disable
:
-
file_option
:
go_package
module
:
buf.build/googleapis/googleapis
override
:
-
file_option
:
go_package_prefix
value
:
github.com/usememos/memos/proto/gen
plugins
:
-
plugin
:
buf.build/protocolbuffers/go
-
remote
:
buf.build/protocolbuffers/go
out
:
gen
opt
:
-
paths=source_relative
-
plugin
:
buf.build/grpc/go
opt
:
paths=source_relative
-
remote
:
buf.build/grpc/go
out
:
gen
opt
:
-
paths=source_relative
-
plugin
:
buf.build/grpc-ecosystem/gateway
opt
:
paths=source_relative
-
remote
:
buf.build/grpc-ecosystem/gateway
out
:
gen
opt
:
-
paths=source_relative
-
plugin
:
buf.build/grpc-ecosystem/openapiv2
opt
:
paths=source_relative
-
remote
:
buf.build/grpc-ecosystem/openapiv2
out
:
gen
opt
:
-
output_format=yaml,allow_merge=true
# Build the TypeScript definitions for the web.
-
plugin
:
buf.build/community/stephenh-ts-proto
opt
:
output_format=yaml,allow_merge=true
-
remote
:
buf.build/community/stephenh-ts-proto
out
:
../web/src/types/proto
# reference: https://github.com/deeplay-io/nice-grpc/blob/master/packages/nice-grpc-web/README.md#using-ts-proto
opt
:
-
env=browser
-
useOptionals=messages
...
...
proto/buf.lock
View file @
c401a079
# Generated by buf. DO NOT EDIT.
version: v
1
version: v
2
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
- name: buf.build/googleapis/googleapis
commit: a86849a25cc04f4dbe9b15ddddfbc488
digest: shake256:e19143328f8cbfe13fc226aeee5e63773ca494693a72740a7560664270039a380d94a1344234b88c7691311460df9a9b1c2982190d0a2612eae80368718e1943
- remote: buf.build
owner: grpc-ecosystem
repository: grpc-gateway
digest: b5:a77a2082c596ee6800a23d8cecd021d316eb10565d6cb94532f2d7c567fe6c9a177b5bb123b51a3acb4f1f18d4f54a6da883afcb682919a137a8a37c020509a2
- name: buf.build/grpc-ecosystem/grpc-gateway
commit: 3f42134f4c564983838425bc43c7a65f
digest:
shake256:3d11d4c0fe5e05fda0131afefbce233940e27f0c31c5d4e385686aea58ccd30f72053f61af432fa83f1fc11cda57f5f18ca3da26a29064f73c5a0d076bba8d92
digest:
b5:291b947d8ac09492517557e4e72e294788cb8201afc7d0df7bda80fa10931adb60d4d669208a7696bf24f1ecb2a33a16d4c1e766e6f31809248b00343119569b
proto/buf.yaml
View file @
c401a079
version
:
v
1
version
:
v
2
name
:
buf.build/yourselfhosted/memos
breaking
:
use
:
-
FILE
deps
:
-
buf.build/googleapis/googleapis
-
buf.build/grpc-ecosystem/grpc-gateway
lint
:
use
:
-
BASIC
except
:
-
ENUM_VALUE_PREFIX
-
FIELD_NOT_REQUIRED
-
PACKAGE_DIRECTORY_MATCH
-
PACKAGE_NO_IMPORT_CYCLE
-
PACKAGE_VERSION_SUFFIX
deps
:
-
buf.build/googleapis/googleapis
-
buf.build/grpc-ecosystem/grpc-gateway
disallow_comment_ignores
:
true
breaking
:
use
:
-
FILE
except
:
-
EXTENSION_NO_DELETE
-
FIELD_SAME_DEFAULT
proto/gen/apidocs.swagger.yaml
View file @
c401a079
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment