chore: retire access token field in extension

This commit is contained in:
johnnyjoy
2024-08-22 16:46:42 +08:00
parent 966e1d9ce3
commit 080929faed
16 changed files with 26 additions and 889 deletions

View File

@ -30,18 +30,6 @@ plugins:
- useExactTypes=false
- esModuleInterop=true
- stringEnums=true
# Generate types for the extension client.
- plugin: buf.build/community/stephenh-ts-proto
out: ../frontend/extension/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
- outputServices=generic-definitions
- outputJsonMethods=false
- useExactTypes=false
- esModuleInterop=true
- stringEnums=true
- plugin: buf.build/community/pseudomuto-doc
out: gen
opt:

View File

@ -777,9 +777,7 @@ definitions:
expiresAt:
type: string
format: date-time
description: |-
expires_at is the expiration time of the access token.
If expires_at is not set, the access token will never expire.
description: "expires_at is the expiration time of the access token.\r\nIf expires_at is not set, the access token will never expire."
apiv1Collection:
type: object
properties:
@ -1154,9 +1152,7 @@ definitions:
description: The custom style.
owner:
type: string
title: |-
The owner name.
Format: "users/{id}"
title: "The owner name.\r\nFormat: \"users/{id}\""
branding:
type: string
format: byte