From 4ea7515241248dbd7b59b457e0a90200092aa225 Mon Sep 17 00:00:00 2001 From: nenoNaninu Date: Tue, 31 May 2022 01:51:52 +0900 Subject: [PATCH] update samples --- .../App.Interfaces.Chat.ts | 28 +++++++++++++++++++ .../App.Interfaces.WhiteBoard.ts | 26 +++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.Chat.ts b/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.Chat.ts index d106601..1fe2a6f 100644 --- a/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.Chat.ts +++ b/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.Chat.ts @@ -1,15 +1,43 @@ import { Message } from '../App.Interfaces.Chat'; export type IChatHub = { + /** + * @param username Transpied from string + * @returns Transpied from System.Threading.Tasks.Task + */ join(username: string): Promise; + /** + * @returns Transpied from System.Threading.Tasks.Task + */ leave(): Promise; + /** + * @returns Transpied from System.Threading.Tasks.Task> + */ getParticipants(): Promise; + /** + * @param message Transpied from string + * @returns Transpied from System.Threading.Tasks.Task + */ sendMessage(message: string): Promise; } export type IChatReceiver = { + /** + * @param message Transpied from App.Interfaces.Chat.Message + * @returns Transpied from System.Threading.Tasks.Task + */ onReceiveMessage(message: Message): Promise; + /** + * @param username Transpied from string + * @param dateTime Transpied from System.DateTime + * @returns Transpied from System.Threading.Tasks.Task + */ onLeave(username: string, dateTime: (Date | string)): Promise; + /** + * @param username Transpied from string + * @param dateTime Transpied from System.DateTime + * @returns Transpied from System.Threading.Tasks.Task + */ onJoin(username: string, dateTime: (Date | string)): Promise; } diff --git a/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.WhiteBoard.ts b/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.WhiteBoard.ts index a7b42fb..a503fa7 100644 --- a/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.WhiteBoard.ts +++ b/samples/console.typescript/generated/TypedSignalR.Client/App.Interfaces.WhiteBoard.ts @@ -1,13 +1,39 @@ import { ShapeType } from '../App.Interfaces.WhiteBoard'; export type IWhiteboardHub = { + /** + * @param shapeType Transpied from App.Interfaces.WhiteBoard.ShapeType + * @param x Transpied from float + * @param y Transpied from float + * @returns Transpied from System.Threading.Tasks.Task + */ add(shapeType: ShapeType, x: number, y: number): Promise; + /** + * @param shapeId Transpied from System.Guid + * @returns Transpied from System.Threading.Tasks.Task + */ move(shapeId: string): Promise; + /** + * @param x Transpied from float + * @param y Transpied from float + * @returns Transpied from System.Threading.Tasks.Task + */ writeLine(x: number, y: number): Promise; } export type IWhiteboardReceiver = { + /** + * @param shapeId Transpied from System.Guid + * @param x Transpied from float + * @param y Transpied from float + * @returns Transpied from System.Threading.Tasks.Task + */ onMove(shapeId: string, x: number, y: number): Promise; + /** + * @param x Transpied from float + * @param y Transpied from float + * @returns Transpied from System.Threading.Tasks.Task + */ onWriteLine(x: number, y: number): Promise; }