Skip to content

Commit

Permalink
refactor: path reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-Young committed Sep 2, 2024
1 parent b9ea94d commit afa9e8f
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions proto/action/contact.proto
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
syntax = 'proto3';
package Laana;

import 'proto/entity/message.proto';
import 'proto/entity/user.proto';
import 'proto/entity/group.proto';
import 'entity/message.proto';
import 'entity/user.proto';
import 'entity/group.proto';

message GetAllBuddiesPing {
}
Expand Down
2 changes: 1 addition & 1 deletion proto/action/file.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = 'proto3';
package Laana;

import 'proto/entity/file.proto';
import 'entity/file.proto';

message UploadCachePing {
bytes data = 1;
Expand Down
6 changes: 3 additions & 3 deletions proto/action/group.proto
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
syntax = 'proto3';
package Laana;

import 'proto/entity/file.proto';
import 'proto/entity/message.proto';
import 'proto/entity/user.proto';
import 'entity/file.proto';
import 'entity/message.proto';
import 'entity/user.proto';

message GetGroupMemberUinsPing {
string groupCode = 1;
Expand Down
4 changes: 2 additions & 2 deletions proto/action/message.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = 'proto3';
package Laana;

import 'proto/entity/file.proto';
import 'proto/entity/message.proto';
import 'entity/file.proto';
import 'entity/message.proto';

message OutgoingMessage {
oneof content {
Expand Down
2 changes: 1 addition & 1 deletion proto/action/request.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = 'proto3';
package Laana;

import 'proto/event/request.proto';
import 'event/request.proto';

message HandleBuddyAddRequestPing {
enum Operation {
Expand Down
10 changes: 5 additions & 5 deletions proto/action/wrapper.proto
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
syntax = 'proto3';
package Laana;

import 'proto/action/message.proto';
import 'proto/action/contact.proto';
import 'proto/action/group.proto';
import 'proto/action/request.proto';
import 'proto/action/file.proto';
import 'action/message.proto';
import 'action/contact.proto';
import 'action/group.proto';
import 'action/request.proto';
import 'action/file.proto';

message ActionPing {
string clientPingId = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/entity/message.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = 'proto3';
package Laana;

import 'proto/entity/file.proto';
import 'entity/file.proto';

message Peer {
enum Type {
Expand Down
4 changes: 2 additions & 2 deletions proto/laana.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = 'proto3';
package Laana;

import 'proto/action/wrapper.proto';
import 'proto/event/wrapper.proto';
import 'action/wrapper.proto';
import 'event/wrapper.proto';

message LannaDataWrapper {
oneof data {
Expand Down

0 comments on commit afa9e8f

Please sign in to comment.