chore: buf format

This commit is contained in:
johnnyjoy 2024-08-17 21:26:25 +08:00
parent c356bc03e5
commit 8d6ad68d47
2 changed files with 13 additions and 9 deletions

View File

@ -79,14 +79,13 @@ message Shortcut {
message OpenGraphMetadata { message OpenGraphMetadata {
string title = 1; string title = 1;
string description = 2; string description = 2;
string image = 3; string image = 3;
} }
} }
message ListShortcutsRequest {} message ListShortcutsRequest {}
message ListShortcutsResponse { message ListShortcutsResponse {
@ -120,13 +119,14 @@ message GetShortcutAnalyticsRequest {
} }
message GetShortcutAnalyticsResponse { message GetShortcutAnalyticsResponse {
message AnalyticsItem {
string name = 1;
int32 count = 2;
}
repeated AnalyticsItem references = 1; repeated AnalyticsItem references = 1;
repeated AnalyticsItem devices = 2; repeated AnalyticsItem devices = 2;
repeated AnalyticsItem browsers = 3; repeated AnalyticsItem browsers = 3;
message AnalyticsItem {
string name = 1;
int32 count = 2;
}
} }

View File

@ -774,7 +774,9 @@ definitions:
expiresAt: expiresAt:
type: string type: string
format: date-time 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: apiv1Collection:
type: object type: object
properties: properties:
@ -1205,7 +1207,9 @@ definitions:
description: The custom style. description: The custom style.
owner: owner:
type: string type: string
title: "The owner name.\r\nFormat: \"users/{id}\"" title: |-
The owner name.
Format: "users/{id}"
branding: branding:
type: string type: string
format: byte format: byte