mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-20 20:04:26 +00:00
feat: impl delete shortcut apiv2
This commit is contained in:
@@ -284,3 +284,46 @@ export declare class CreateShortcutResponse extends Message<CreateShortcutRespon
|
||||
static equals(a: CreateShortcutResponse | PlainMessage<CreateShortcutResponse> | undefined, b: CreateShortcutResponse | PlainMessage<CreateShortcutResponse> | undefined): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteShortcutRequest
|
||||
*/
|
||||
export declare class DeleteShortcutRequest extends Message<DeleteShortcutRequest> {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
constructor(data?: PartialMessage<DeleteShortcutRequest>);
|
||||
|
||||
static readonly runtime: typeof proto3;
|
||||
static readonly typeName = "slash.api.v2.DeleteShortcutRequest";
|
||||
static readonly fields: FieldList;
|
||||
|
||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteShortcutRequest;
|
||||
|
||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteShortcutRequest;
|
||||
|
||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteShortcutRequest;
|
||||
|
||||
static equals(a: DeleteShortcutRequest | PlainMessage<DeleteShortcutRequest> | undefined, b: DeleteShortcutRequest | PlainMessage<DeleteShortcutRequest> | undefined): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteShortcutResponse
|
||||
*/
|
||||
export declare class DeleteShortcutResponse extends Message<DeleteShortcutResponse> {
|
||||
constructor(data?: PartialMessage<DeleteShortcutResponse>);
|
||||
|
||||
static readonly runtime: typeof proto3;
|
||||
static readonly typeName = "slash.api.v2.DeleteShortcutResponse";
|
||||
static readonly fields: FieldList;
|
||||
|
||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteShortcutResponse;
|
||||
|
||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteShortcutResponse;
|
||||
|
||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteShortcutResponse;
|
||||
|
||||
static equals(a: DeleteShortcutResponse | PlainMessage<DeleteShortcutResponse> | undefined, b: DeleteShortcutResponse | PlainMessage<DeleteShortcutResponse> | undefined): boolean;
|
||||
}
|
||||
|
||||
|
@@ -110,3 +110,21 @@ export const CreateShortcutResponse = proto3.makeMessageType(
|
||||
],
|
||||
);
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteShortcutRequest
|
||||
*/
|
||||
export const DeleteShortcutRequest = proto3.makeMessageType(
|
||||
"slash.api.v2.DeleteShortcutRequest",
|
||||
() => [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
||||
],
|
||||
);
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteShortcutResponse
|
||||
*/
|
||||
export const DeleteShortcutResponse = proto3.makeMessageType(
|
||||
"slash.api.v2.DeleteShortcutResponse",
|
||||
[],
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user