mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-18 21:19:44 +00:00
chore: buf generate
This commit is contained in:
parent
8af0675247
commit
b638d9cdf4
25
proto/gen/api/v2/common_pb.d.ts
vendored
25
proto/gen/api/v2/common_pb.d.ts
vendored
@ -1,25 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file api/v2/common.proto (package slash.api.v2, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.api.v2.RowStatus
|
|
||||||
*/
|
|
||||||
export declare enum RowStatus {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: ROW_STATUS_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
ROW_STATUS_UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: NORMAL = 1;
|
|
||||||
*/
|
|
||||||
NORMAL = 1,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: ARCHIVED = 2;
|
|
||||||
*/
|
|
||||||
ARCHIVED = 2,
|
|
||||||
}
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file api/v2/common.proto (package slash.api.v2, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import { proto3 } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.api.v2.RowStatus
|
|
||||||
*/
|
|
||||||
export const RowStatus = proto3.makeEnum(
|
|
||||||
"slash.api.v2.RowStatus",
|
|
||||||
[
|
|
||||||
{no: 0, name: "ROW_STATUS_UNSPECIFIED"},
|
|
||||||
{no: 1, name: "NORMAL"},
|
|
||||||
{no: 2, name: "ARCHIVED"},
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
336
proto/gen/api/v2/user_service_pb.d.ts
vendored
336
proto/gen/api/v2/user_service_pb.d.ts
vendored
@ -1,336 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file api/v2/user_service.proto (package slash.api.v2, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
||||||
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
||||||
import type { RowStatus } from "./common_pb.js";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.api.v2.Role
|
|
||||||
*/
|
|
||||||
export declare enum Role {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: ROLE_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
ROLE_UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: ADMIN = 1;
|
|
||||||
*/
|
|
||||||
ADMIN = 1,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: USER = 2;
|
|
||||||
*/
|
|
||||||
USER = 2,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.User
|
|
||||||
*/
|
|
||||||
export declare class User extends Message<User> {
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 id = 1;
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.api.v2.RowStatus row_status = 2;
|
|
||||||
*/
|
|
||||||
rowStatus: RowStatus;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int64 created_ts = 3;
|
|
||||||
*/
|
|
||||||
createdTs: bigint;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int64 updated_ts = 4;
|
|
||||||
*/
|
|
||||||
updatedTs: bigint;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.api.v2.Role role = 6;
|
|
||||||
*/
|
|
||||||
role: Role;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string email = 7;
|
|
||||||
*/
|
|
||||||
email: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string nickname = 8;
|
|
||||||
*/
|
|
||||||
nickname: string;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<User>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.User";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
|
|
||||||
|
|
||||||
static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.GetUserRequest
|
|
||||||
*/
|
|
||||||
export declare class GetUserRequest extends Message<GetUserRequest> {
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 id = 1;
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<GetUserRequest>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.GetUserRequest";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserRequest;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserRequest;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserRequest;
|
|
||||||
|
|
||||||
static equals(a: GetUserRequest | PlainMessage<GetUserRequest> | undefined, b: GetUserRequest | PlainMessage<GetUserRequest> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.GetUserResponse
|
|
||||||
*/
|
|
||||||
export declare class GetUserResponse extends Message<GetUserResponse> {
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.api.v2.User user = 1;
|
|
||||||
*/
|
|
||||||
user?: User;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<GetUserResponse>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.GetUserResponse";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserResponse;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserResponse;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserResponse;
|
|
||||||
|
|
||||||
static equals(a: GetUserResponse | PlainMessage<GetUserResponse> | undefined, b: GetUserResponse | PlainMessage<GetUserResponse> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.ListUserAccessTokensRequest
|
|
||||||
*/
|
|
||||||
export declare class ListUserAccessTokensRequest extends Message<ListUserAccessTokensRequest> {
|
|
||||||
/**
|
|
||||||
* id is the user id.
|
|
||||||
*
|
|
||||||
* @generated from field: int32 id = 1;
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<ListUserAccessTokensRequest>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.ListUserAccessTokensRequest";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUserAccessTokensRequest;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUserAccessTokensRequest;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUserAccessTokensRequest;
|
|
||||||
|
|
||||||
static equals(a: ListUserAccessTokensRequest | PlainMessage<ListUserAccessTokensRequest> | undefined, b: ListUserAccessTokensRequest | PlainMessage<ListUserAccessTokensRequest> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.ListUserAccessTokensResponse
|
|
||||||
*/
|
|
||||||
export declare class ListUserAccessTokensResponse extends Message<ListUserAccessTokensResponse> {
|
|
||||||
/**
|
|
||||||
* @generated from field: repeated slash.api.v2.UserAccessToken access_tokens = 1;
|
|
||||||
*/
|
|
||||||
accessTokens: UserAccessToken[];
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<ListUserAccessTokensResponse>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.ListUserAccessTokensResponse";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUserAccessTokensResponse;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUserAccessTokensResponse;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUserAccessTokensResponse;
|
|
||||||
|
|
||||||
static equals(a: ListUserAccessTokensResponse | PlainMessage<ListUserAccessTokensResponse> | undefined, b: ListUserAccessTokensResponse | PlainMessage<ListUserAccessTokensResponse> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.CreateUserAccessTokenRequest
|
|
||||||
*/
|
|
||||||
export declare class CreateUserAccessTokenRequest extends Message<CreateUserAccessTokenRequest> {
|
|
||||||
/**
|
|
||||||
* id is the user id.
|
|
||||||
*
|
|
||||||
* @generated from field: int32 id = 1;
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* description is the title/description of the access token.
|
|
||||||
*
|
|
||||||
* @generated from field: string description = 2;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* expiration is the expires duration of the access token.
|
|
||||||
*
|
|
||||||
* @generated from field: google.protobuf.Duration expiration = 3;
|
|
||||||
*/
|
|
||||||
expiration?: Duration;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<CreateUserAccessTokenRequest>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.CreateUserAccessTokenRequest";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateUserAccessTokenRequest;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateUserAccessTokenRequest;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateUserAccessTokenRequest;
|
|
||||||
|
|
||||||
static equals(a: CreateUserAccessTokenRequest | PlainMessage<CreateUserAccessTokenRequest> | undefined, b: CreateUserAccessTokenRequest | PlainMessage<CreateUserAccessTokenRequest> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.CreateUserAccessTokenResponse
|
|
||||||
*/
|
|
||||||
export declare class CreateUserAccessTokenResponse extends Message<CreateUserAccessTokenResponse> {
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.api.v2.UserAccessToken access_token = 1;
|
|
||||||
*/
|
|
||||||
accessToken?: UserAccessToken;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<CreateUserAccessTokenResponse>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.CreateUserAccessTokenResponse";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateUserAccessTokenResponse;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateUserAccessTokenResponse;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateUserAccessTokenResponse;
|
|
||||||
|
|
||||||
static equals(a: CreateUserAccessTokenResponse | PlainMessage<CreateUserAccessTokenResponse> | undefined, b: CreateUserAccessTokenResponse | PlainMessage<CreateUserAccessTokenResponse> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.DeleteUserAccessTokenRequest
|
|
||||||
*/
|
|
||||||
export declare class DeleteUserAccessTokenRequest extends Message<DeleteUserAccessTokenRequest> {
|
|
||||||
/**
|
|
||||||
* id is the user id.
|
|
||||||
*
|
|
||||||
* @generated from field: int32 id = 1;
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* access_token is the access token to delete.
|
|
||||||
*
|
|
||||||
* @generated from field: string access_token = 2;
|
|
||||||
*/
|
|
||||||
accessToken: string;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<DeleteUserAccessTokenRequest>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.DeleteUserAccessTokenRequest";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserAccessTokenRequest;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserAccessTokenRequest;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserAccessTokenRequest;
|
|
||||||
|
|
||||||
static equals(a: DeleteUserAccessTokenRequest | PlainMessage<DeleteUserAccessTokenRequest> | undefined, b: DeleteUserAccessTokenRequest | PlainMessage<DeleteUserAccessTokenRequest> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.DeleteUserAccessTokenResponse
|
|
||||||
*/
|
|
||||||
export declare class DeleteUserAccessTokenResponse extends Message<DeleteUserAccessTokenResponse> {
|
|
||||||
constructor(data?: PartialMessage<DeleteUserAccessTokenResponse>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.DeleteUserAccessTokenResponse";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserAccessTokenResponse;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserAccessTokenResponse;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserAccessTokenResponse;
|
|
||||||
|
|
||||||
static equals(a: DeleteUserAccessTokenResponse | PlainMessage<DeleteUserAccessTokenResponse> | undefined, b: DeleteUserAccessTokenResponse | PlainMessage<DeleteUserAccessTokenResponse> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.UserAccessToken
|
|
||||||
*/
|
|
||||||
export declare class UserAccessToken extends Message<UserAccessToken> {
|
|
||||||
/**
|
|
||||||
* @generated from field: string access_token = 1;
|
|
||||||
*/
|
|
||||||
accessToken: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string description = 2;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: google.protobuf.Timestamp issued_at = 3;
|
|
||||||
*/
|
|
||||||
issuedAt?: Timestamp;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
||||||
*/
|
|
||||||
expiresAt?: Timestamp;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<UserAccessToken>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.api.v2.UserAccessToken";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserAccessToken;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserAccessToken;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserAccessToken;
|
|
||||||
|
|
||||||
static equals(a: UserAccessToken | PlainMessage<UserAccessToken> | undefined, b: UserAccessToken | PlainMessage<UserAccessToken> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
@ -1,130 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file api/v2/user_service.proto (package slash.api.v2, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import { Duration, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
||||||
import { RowStatus } from "./common_pb.js";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.api.v2.Role
|
|
||||||
*/
|
|
||||||
export const Role = proto3.makeEnum(
|
|
||||||
"slash.api.v2.Role",
|
|
||||||
[
|
|
||||||
{no: 0, name: "ROLE_UNSPECIFIED"},
|
|
||||||
{no: 1, name: "ADMIN"},
|
|
||||||
{no: 2, name: "USER"},
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.User
|
|
||||||
*/
|
|
||||||
export const User = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.User",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
{ no: 2, name: "row_status", kind: "enum", T: proto3.getEnumType(RowStatus) },
|
|
||||||
{ no: 3, name: "created_ts", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
||||||
{ no: 4, name: "updated_ts", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
||||||
{ no: 6, name: "role", kind: "enum", T: proto3.getEnumType(Role) },
|
|
||||||
{ no: 7, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 8, name: "nickname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.GetUserRequest
|
|
||||||
*/
|
|
||||||
export const GetUserRequest = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.GetUserRequest",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.GetUserResponse
|
|
||||||
*/
|
|
||||||
export const GetUserResponse = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.GetUserResponse",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "user", kind: "message", T: User },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.ListUserAccessTokensRequest
|
|
||||||
*/
|
|
||||||
export const ListUserAccessTokensRequest = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.ListUserAccessTokensRequest",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.ListUserAccessTokensResponse
|
|
||||||
*/
|
|
||||||
export const ListUserAccessTokensResponse = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.ListUserAccessTokensResponse",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "access_tokens", kind: "message", T: UserAccessToken, repeated: true },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.CreateUserAccessTokenRequest
|
|
||||||
*/
|
|
||||||
export const CreateUserAccessTokenRequest = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.CreateUserAccessTokenRequest",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 3, name: "expiration", kind: "message", T: Duration },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.CreateUserAccessTokenResponse
|
|
||||||
*/
|
|
||||||
export const CreateUserAccessTokenResponse = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.CreateUserAccessTokenResponse",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "access_token", kind: "message", T: UserAccessToken },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.DeleteUserAccessTokenRequest
|
|
||||||
*/
|
|
||||||
export const DeleteUserAccessTokenRequest = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.DeleteUserAccessTokenRequest",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
{ no: 2, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.DeleteUserAccessTokenResponse
|
|
||||||
*/
|
|
||||||
export const DeleteUserAccessTokenResponse = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.DeleteUserAccessTokenResponse",
|
|
||||||
[],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.api.v2.UserAccessToken
|
|
||||||
*/
|
|
||||||
export const UserAccessToken = proto3.makeMessageType(
|
|
||||||
"slash.api.v2.UserAccessToken",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 3, name: "issued_at", kind: "message", T: Timestamp },
|
|
||||||
{ no: 4, name: "expires_at", kind: "message", T: Timestamp },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
25
proto/gen/store/common_pb.d.ts
vendored
25
proto/gen/store/common_pb.d.ts
vendored
@ -1,25 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file store/common.proto (package slash.store, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.store.RowStatus
|
|
||||||
*/
|
|
||||||
export declare enum RowStatus {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: ROW_STATUS_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
ROW_STATUS_UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: NORMAL = 1;
|
|
||||||
*/
|
|
||||||
NORMAL = 1,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: ARCHIVED = 2;
|
|
||||||
*/
|
|
||||||
ARCHIVED = 2,
|
|
||||||
}
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file store/common.proto (package slash.store, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import { proto3 } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.store.RowStatus
|
|
||||||
*/
|
|
||||||
export const RowStatus = proto3.makeEnum(
|
|
||||||
"slash.store.RowStatus",
|
|
||||||
[
|
|
||||||
{no: 0, name: "ROW_STATUS_UNSPECIFIED"},
|
|
||||||
{no: 1, name: "NORMAL"},
|
|
||||||
{no: 2, name: "ARCHIVED"},
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
147
proto/gen/store/shortcut_pb.d.ts
vendored
147
proto/gen/store/shortcut_pb.d.ts
vendored
@ -1,147 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file store/shortcut.proto (package slash.store, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
||||||
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
||||||
import type { RowStatus } from "./common_pb.js";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.store.Visibility
|
|
||||||
*/
|
|
||||||
export declare enum Visibility {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
VISIBILITY_UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: PRIVATE = 1;
|
|
||||||
*/
|
|
||||||
PRIVATE = 1,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: WORKSPACE = 2;
|
|
||||||
*/
|
|
||||||
WORKSPACE = 2,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: PUBLIC = 3;
|
|
||||||
*/
|
|
||||||
PUBLIC = 3,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.Shortcut
|
|
||||||
*/
|
|
||||||
export declare class Shortcut extends Message<Shortcut> {
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 id = 1;
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 creator_id = 2;
|
|
||||||
*/
|
|
||||||
creatorId: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int64 created_ts = 3;
|
|
||||||
*/
|
|
||||||
createdTs: bigint;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: int64 updated_ts = 4;
|
|
||||||
*/
|
|
||||||
updatedTs: bigint;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.store.RowStatus row_status = 5;
|
|
||||||
*/
|
|
||||||
rowStatus: RowStatus;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string name = 6;
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string link = 7;
|
|
||||||
*/
|
|
||||||
link: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string title = 8;
|
|
||||||
*/
|
|
||||||
title: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: repeated string tags = 9;
|
|
||||||
*/
|
|
||||||
tags: string[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string description = 10;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.store.Visibility visibility = 11;
|
|
||||||
*/
|
|
||||||
visibility: Visibility;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.store.OpenGraphMetadata og_metadata = 12;
|
|
||||||
*/
|
|
||||||
ogMetadata?: OpenGraphMetadata;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<Shortcut>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.store.Shortcut";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Shortcut;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Shortcut;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Shortcut;
|
|
||||||
|
|
||||||
static equals(a: Shortcut | PlainMessage<Shortcut> | undefined, b: Shortcut | PlainMessage<Shortcut> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.OpenGraphMetadata
|
|
||||||
*/
|
|
||||||
export declare class OpenGraphMetadata extends Message<OpenGraphMetadata> {
|
|
||||||
/**
|
|
||||||
* @generated from field: string title = 1;
|
|
||||||
*/
|
|
||||||
title: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string description = 2;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string image = 3;
|
|
||||||
*/
|
|
||||||
image: string;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<OpenGraphMetadata>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.store.OpenGraphMetadata";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpenGraphMetadata;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpenGraphMetadata;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpenGraphMetadata;
|
|
||||||
|
|
||||||
static equals(a: OpenGraphMetadata | PlainMessage<OpenGraphMetadata> | undefined, b: OpenGraphMetadata | PlainMessage<OpenGraphMetadata> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file store/shortcut.proto (package slash.store, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import { proto3 } from "@bufbuild/protobuf";
|
|
||||||
import { RowStatus } from "./common_pb.js";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.store.Visibility
|
|
||||||
*/
|
|
||||||
export const Visibility = proto3.makeEnum(
|
|
||||||
"slash.store.Visibility",
|
|
||||||
[
|
|
||||||
{no: 0, name: "VISIBILITY_UNSPECIFIED"},
|
|
||||||
{no: 1, name: "PRIVATE"},
|
|
||||||
{no: 2, name: "WORKSPACE"},
|
|
||||||
{no: 3, name: "PUBLIC"},
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.Shortcut
|
|
||||||
*/
|
|
||||||
export const Shortcut = proto3.makeMessageType(
|
|
||||||
"slash.store.Shortcut",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
{ no: 2, name: "creator_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
{ no: 3, name: "created_ts", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
||||||
{ no: 4, name: "updated_ts", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
||||||
{ no: 5, name: "row_status", kind: "enum", T: proto3.getEnumType(RowStatus) },
|
|
||||||
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 7, name: "link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 8, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 9, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
||||||
{ no: 10, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 11, name: "visibility", kind: "enum", T: proto3.getEnumType(Visibility) },
|
|
||||||
{ no: 12, name: "og_metadata", kind: "message", T: OpenGraphMetadata },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.OpenGraphMetadata
|
|
||||||
*/
|
|
||||||
export const OpenGraphMetadata = proto3.makeMessageType(
|
|
||||||
"slash.store.OpenGraphMetadata",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 3, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
116
proto/gen/store/user_setting_pb.d.ts
vendored
116
proto/gen/store/user_setting_pb.d.ts
vendored
@ -1,116 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file store/user_setting.proto (package slash.store, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
||||||
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.store.UserSettingKey
|
|
||||||
*/
|
|
||||||
export declare enum UserSettingKey {
|
|
||||||
/**
|
|
||||||
* @generated from enum value: USER_SETTING_KEY_UNSPECIFIED = 0;
|
|
||||||
*/
|
|
||||||
USER_SETTING_KEY_UNSPECIFIED = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum value: USER_SETTING_ACCESS_TOKENS = 1;
|
|
||||||
*/
|
|
||||||
USER_SETTING_ACCESS_TOKENS = 1,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.UserSetting
|
|
||||||
*/
|
|
||||||
export declare class UserSetting extends Message<UserSetting> {
|
|
||||||
/**
|
|
||||||
* @generated from field: int32 user_id = 1;
|
|
||||||
*/
|
|
||||||
userId: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.store.UserSettingKey key = 2;
|
|
||||||
*/
|
|
||||||
key: UserSettingKey;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from oneof slash.store.UserSetting.value
|
|
||||||
*/
|
|
||||||
value: {
|
|
||||||
/**
|
|
||||||
* @generated from field: slash.store.AccessTokensUserSetting access_tokens_user_setting = 3;
|
|
||||||
*/
|
|
||||||
value: AccessTokensUserSetting;
|
|
||||||
case: "accessTokensUserSetting";
|
|
||||||
} | { case: undefined; value?: undefined };
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<UserSetting>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.store.UserSetting";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserSetting;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserSetting;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserSetting;
|
|
||||||
|
|
||||||
static equals(a: UserSetting | PlainMessage<UserSetting> | undefined, b: UserSetting | PlainMessage<UserSetting> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.AccessTokensUserSetting
|
|
||||||
*/
|
|
||||||
export declare class AccessTokensUserSetting extends Message<AccessTokensUserSetting> {
|
|
||||||
/**
|
|
||||||
* @generated from field: repeated slash.store.AccessTokensUserSetting.AccessToken access_tokens = 1;
|
|
||||||
*/
|
|
||||||
accessTokens: AccessTokensUserSetting_AccessToken[];
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<AccessTokensUserSetting>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.store.AccessTokensUserSetting";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AccessTokensUserSetting;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AccessTokensUserSetting;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AccessTokensUserSetting;
|
|
||||||
|
|
||||||
static equals(a: AccessTokensUserSetting | PlainMessage<AccessTokensUserSetting> | undefined, b: AccessTokensUserSetting | PlainMessage<AccessTokensUserSetting> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.AccessTokensUserSetting.AccessToken
|
|
||||||
*/
|
|
||||||
export declare class AccessTokensUserSetting_AccessToken extends Message<AccessTokensUserSetting_AccessToken> {
|
|
||||||
/**
|
|
||||||
* @generated from field: string access_token = 1;
|
|
||||||
*/
|
|
||||||
accessToken: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from field: string description = 2;
|
|
||||||
*/
|
|
||||||
description: string;
|
|
||||||
|
|
||||||
constructor(data?: PartialMessage<AccessTokensUserSetting_AccessToken>);
|
|
||||||
|
|
||||||
static readonly runtime: typeof proto3;
|
|
||||||
static readonly typeName = "slash.store.AccessTokensUserSetting.AccessToken";
|
|
||||||
static readonly fields: FieldList;
|
|
||||||
|
|
||||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AccessTokensUserSetting_AccessToken;
|
|
||||||
|
|
||||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AccessTokensUserSetting_AccessToken;
|
|
||||||
|
|
||||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AccessTokensUserSetting_AccessToken;
|
|
||||||
|
|
||||||
static equals(a: AccessTokensUserSetting_AccessToken | PlainMessage<AccessTokensUserSetting_AccessToken> | undefined, b: AccessTokensUserSetting_AccessToken | PlainMessage<AccessTokensUserSetting_AccessToken> | undefined): boolean;
|
|
||||||
}
|
|
||||||
|
|
@ -1,52 +0,0 @@
|
|||||||
// @generated by protoc-gen-es v1.3.0
|
|
||||||
// @generated from file store/user_setting.proto (package slash.store, syntax proto3)
|
|
||||||
/* eslint-disable */
|
|
||||||
// @ts-nocheck
|
|
||||||
|
|
||||||
import { proto3 } from "@bufbuild/protobuf";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from enum slash.store.UserSettingKey
|
|
||||||
*/
|
|
||||||
export const UserSettingKey = proto3.makeEnum(
|
|
||||||
"slash.store.UserSettingKey",
|
|
||||||
[
|
|
||||||
{no: 0, name: "USER_SETTING_KEY_UNSPECIFIED"},
|
|
||||||
{no: 1, name: "USER_SETTING_ACCESS_TOKENS"},
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.UserSetting
|
|
||||||
*/
|
|
||||||
export const UserSetting = proto3.makeMessageType(
|
|
||||||
"slash.store.UserSetting",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "user_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
||||||
{ no: 2, name: "key", kind: "enum", T: proto3.getEnumType(UserSettingKey) },
|
|
||||||
{ no: 3, name: "access_tokens_user_setting", kind: "message", T: AccessTokensUserSetting, oneof: "value" },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.AccessTokensUserSetting
|
|
||||||
*/
|
|
||||||
export const AccessTokensUserSetting = proto3.makeMessageType(
|
|
||||||
"slash.store.AccessTokensUserSetting",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "access_tokens", kind: "message", T: AccessTokensUserSetting_AccessToken, repeated: true },
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from message slash.store.AccessTokensUserSetting.AccessToken
|
|
||||||
*/
|
|
||||||
export const AccessTokensUserSetting_AccessToken = proto3.makeMessageType(
|
|
||||||
"slash.store.AccessTokensUserSetting.AccessToken",
|
|
||||||
() => [
|
|
||||||
{ no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
||||||
],
|
|
||||||
{localName: "AccessTokensUserSetting_AccessToken"},
|
|
||||||
);
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user