Skip to content

Commit

Permalink
chore: buf format
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Aug 17, 2024
1 parent c356bc0 commit 8d6ad68
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 7 additions & 7 deletions proto/api/v1/shortcut_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,13 @@ message Shortcut {

message OpenGraphMetadata {
string title = 1;

string description = 2;

string image = 3;
}
}


message ListShortcutsRequest {}

message ListShortcutsResponse {
Expand Down Expand Up @@ -120,13 +119,14 @@ message GetShortcutAnalyticsRequest {
}

message GetShortcutAnalyticsResponse {
message AnalyticsItem {
string name = 1;
int32 count = 2;
}
repeated AnalyticsItem references = 1;

repeated AnalyticsItem devices = 2;

repeated AnalyticsItem browsers = 3;

message AnalyticsItem {
string name = 1;
int32 count = 2;
}
}
8 changes: 6 additions & 2 deletions proto/gen/apidocs.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,9 @@ definitions:
expiresAt:
type: string
format: date-time
description: "expires_at is the expiration time of the access token.\r\nIf expires_at is not set, the access token will never expire."
description: |-
expires_at is the expiration time of the access token.
If expires_at is not set, the access token will never expire.
apiv1Collection:
type: object
properties:
Expand Down Expand Up @@ -1205,7 +1207,9 @@ definitions:
description: The custom style.
owner:
type: string
title: "The owner name.\r\nFormat: \"users/{id}\""
title: |-
The owner name.
Format: "users/{id}"
branding:
type: string
format: byte
Expand Down

0 comments on commit 8d6ad68

Please sign in to comment.