type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
MethodDeclaration
async checkErrorMessage(stageName: string, errorType: string) { const stageRow: ElementFinder = await TestUtils.getElementByDataTestId(stageName); await new TestUtils().clickElement(TestUtils.getNestedElementByDataTestId(stageRow, 'show-more-details')); console.log('Show more info is clicked.'); await ...
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async expandMachineDetails(machineName: string) { const machineRow: ElementFinder = await this.getMachineRow(machineName); await new TestUtils().clickElement(TestUtils.getNestedElementByDataTestId(machineRow, 'target-machine-details')); await browser.sleep(700); expect(await this.machineDetailsSidePane...
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async deleteMachine(machineRow: ElementFinder) { await TestUtils.takeScreenshot(); const deleteBtn: ElementFinder = await machineRow.element(by.id('delete-target')); await new TestUtils().clickElement(deleteBtn); await browser.sleep(1000); console.log('Machine is deleted.'); }
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async countMachineOnTargetMachinesPage() { return element.all(by.css('[data-test-id="remote-machines-table"] tbody tr')).count(); }
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async countMachinesOnConfigurationWizard() { return element.all(by.css('[data-test-id="targets-table"] tbody tr')).count(); }
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async selectMachineRow(machineName: string) { const machineRow: ElementFinder = await this.getMachineRow(machineName); await new TestUtils().clickElement(machineRow); }
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async goToEdit(machineName: string) { const machineRow: ElementFinder = await this.getMachineRow(machineName); const editBtn: ElementFinder = await TestUtils.getNestedElementByDataTestId(machineRow, 'edit-machine-info'); await new TestUtils().clickElement(editBtn); console.log('Entered Edit.'); }
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async checkDevices(machineInfo) { const machineRow: ElementFinder = await this.getMachineRow(machineInfo.name); await new TestUtils().clickElement(machineRow); const deviceElements = await this.allDevices; for (let i = 0; i < deviceElements.length; i++) { const deviceName: string = await device...
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async getSystemInfoValue(itemData: ElementFinder) { const valueEl: ElementFinder = await TestUtils.getNestedElementByDataTestId(itemData, 'value'); return await valueEl.getText(); }
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async checkSystemResources() { const resourcesTestNames = ['cpu-usage', 'ram-usage', 'disk-usage']; for (const name of resourcesTestNames) { console.log(`Checking ${name}`); const resourceEl: ElementFinder = await TestUtils.getElementByDataTestId(name); const resourceVal = parseFloat(await t...
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
MethodDeclaration
async checkMachineDetails(machineInfo) { await this.expandMachineDetails(machineInfo.name); for (const detail of Object.keys(machineInfo.machineDetails)) { console.log(`Checking ${detail}.`); const detailEl: ElementFinder = await this.getMachineDetail(detail); const detailValue: string = awa...
apaniukov/workbench
client/e2e/src/pages/target-machines.po.ts
TypeScript
FunctionDeclaration
//#region 👉🏻 actions /** TODO: 👉🏻 Add tl;dr * TODO: 👉🏻 Add function description. */ // eslint-disable-next-line @typescript-eslint/require-await async function help(): Promise<string> { globalThis.console.info( "\x1b[2m├────\x1b[0m \x1b[7m🍫 Overview\x1b[0m\n\x1b[2m│\x1b[0m \x1b[2m│\x1b[0m\n", ) ...
starkpsmichael/ooopsh
src/node/@ooopsh/std/mod.ts
TypeScript
FunctionDeclaration
//#endregion /** TODO: 👉🏻 Add tl;dr * TODO: 👉🏻 Add function description. */ export default async function main(): Promise< string | import("../../../ecmascript/@ooopsh/std/CustomError.js").CustomError > { const { CustomError } = await import( "../../../ecmascript/@ooopsh/std/CustomError.js" ) const { ...
starkpsmichael/ooopsh
src/node/@ooopsh/std/mod.ts
TypeScript
FunctionDeclaration
/** Repeats given elements indefinitely with given interval in milliseconds. For example, `repeatedly(10, [1,2,3])` would lead to `1,2,3,1,2,3...` to be repeated indefinitely. @param delay between values, in milliseconds @param values array of values to repeat @typeparam V Type of stream elements */ export def...
MichaelMULLER/bacon.js
src/repeatedly.ts
TypeScript
ArrowFunction
(props: Props) => { const speechSessionStatus = useSelector((state: ReduxAppState) => state.speechRecognizerState.status) return <View style={Styles.bottomBarContainerStyle} removeClippedSubviews={false}> <SafeAreaView style={Styles.bottomBarInnerListStyle}> <BottomBarButton isOn={props.mo...
AbGhost-cyber/data-at-hand-mobile
src/components/pages/exploration/parts/main/BottomBar.tsx
TypeScript
ArrowFunction
(state: ReduxAppState) => state.speechRecognizerState.status
AbGhost-cyber/data-at-hand-mobile
src/components/pages/exploration/parts/main/BottomBar.tsx
TypeScript
ArrowFunction
(prop: { isOn: boolean, mode: ExplorationMode, title: string, onPress?: () => void }) => { //const color = prop.isOn === true ? Colors.primary : Colors.chartLightText const color = Colors.textGray const insets = useSafeAreaInsets() return <View style={[Styles.bottomBarButtonStyle, { paddingTo...
AbGhost-cyber/data-at-hand-mobile
src/components/pages/exploration/parts/main/BottomBar.tsx
TypeScript
InterfaceDeclaration
interface Props { mode: ExplorationMode, onModePressIn?: (mode: ExplorationMode) => void, onModePressOut?: (mode: ExplorationMode) => void, onModePress?: (mode: ExplorationMode) => void, onVoiceButtonPressIn?: () => void, onVoiceButtonPressOut?: () => void }
AbGhost-cyber/data-at-hand-mobile
src/components/pages/exploration/parts/main/BottomBar.tsx
TypeScript
ArrowFunction
(channelInfo: CursorChannel) => { this.availableChans.push( channelInfo.instrument + ' Ch ' + channelInfo.channel ); }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
ClassDeclaration
@Component({ templateUrl: 'cursor-popover.html' }) export class CursorPopoverComponent { @ViewChild('typeDropPop') typeDropPop: DropdownPopoverComponent; @ViewChild('c1DropPop') c1DropPop: DropdownPopoverComponent; @ViewChild('c2DropPop') c2DropPop: DropdownPopoverComponent; public cursorTyp...
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
InterfaceDeclaration
export interface CursorChannel { instrument: string, channel: number }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
InterfaceDeclaration
export interface CursorPassData extends CursorSelection { availableChannels: CursorChannel[] }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
InterfaceDeclaration
export interface CursorSelection { currentChannels: { c1: CursorChannel, c2: CursorChannel }, currentType: CursorType }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
TypeAliasDeclaration
export type CursorType = 'disabled' | 'time' | 'track' | 'voltage';
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
MethodDeclaration
private generateOptions() { this.passData.availableChannels.forEach((channelInfo: CursorChannel) => { this.availableChans.push( channelInfo.instrument + ' Ch ' + channelInfo.channel ); }); }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
MethodDeclaration
ngOnInit() { this.setCurrentValuesInDropdown(); }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
MethodDeclaration
setCurrentValuesInDropdown() { this.typeDropPop.setActiveSelection(this.selectedData.currentType); this.c1DropPop.setActiveSelection(this.selectedData.currentChannels.c1.instrument + ' Ch ' + this.selectedData.currentChannels.c1.channel); this.c2DropPop.setActiveSelection(this.selectedData.c...
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
MethodDeclaration
cursorTypeSelect(event) { console.log(event); this.selectedData.currentType = event; this.cursorSelection.next(this.selectedData); }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
MethodDeclaration
availableChannelSelect(event, channel: number) { let parsedData = this.extractInstrumentAndChannel(event); if (channel === 1) { this.selectedData.currentChannels.c1 = parsedData; } else { this.selectedData.currentChannels.c2 = parsedData; } ...
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
MethodDeclaration
private extractInstrumentAndChannel(selectionString: string): CursorChannel { let splitArray = selectionString.split(' '); return { instrument: splitArray.slice(0, splitArray.length - 2).join(' '), channel: parseInt(splitArray[splitArray.length - 1]) } }
Digilent/silverneedle
src/components/cursor-popover/cursor-popover.component.ts
TypeScript
ClassDeclaration
@Component({ selector: 'uxg-example-typography', templateUrl: './uxg-example-typography.component.html', styleUrls: ['./uxg-example-typography.component.scss'] }) export class UxgExampleTypographyComponent { constructor(public breadcrumbsService: UxgBreadcrumbsService) { // Here is generating breadcrumbs l...
narg1s1/gpnmarket
www/projects/uxg-examples/src/uxg-example-typography/uxg-example-typography.component.ts
TypeScript
FunctionDeclaration
export default function PlaylistCard({ title, id, videos }: any) { const navigate = useNavigate(); const { theme: { currentTheme }, } = useTheme(); return ( <div className={`${currentTheme}playlist-card`}
Pratham82/video-lib
src/components/playlist-card/index.tsx
TypeScript
MethodDeclaration
override name () { return 'puppet-test' }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override version () { return '1.0.0' }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async onStart () : Promise<void> { }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async onStop () : Promise<void> { }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async ding (data?: string) : Promise<void> { return data as any as void }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async logout () : Promise<void> { return {} as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * ContactSelf * * */ override async contactSelfQRCode () : Promise<string> { return '' }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactSelfName (name: string) : Promise<void> { void name }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactSelfSignature (signature: string) : Promise<void> { void signature }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Tag * */ override async tagContactAdd (tagId: string, contactId: string) : Promise<void> { void { contactId, tagId } }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async tagContactRemove (tagId: string, contactId: string) : Promise<void> { void { contactId, tagId } }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async tagContactDelete (tagId: string) : Promise<void> { void { tagId } }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async tagContactList (contactId?: string) : Promise<string[]> { return [contactId || ''] }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Contact * */ override async contactAlias (contactId: string) : Promise<string>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactAlias (contactId: string, alias: string | null) : Promise<void>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactAlias (contactId: string, alias?: string | null) : Promise<string | void> { return { alias, contactId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactAvatar (contactId: string) : Promise<FileBoxInterface>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactAvatar (contactId: string, file: FileBoxInterface) : Promise<void>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactAvatar (contactId: string, file?: FileBoxInterface) : Promise<void | FileBoxInterface> { return { contactId, file } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactPhone (contactId: string, phoneList: string[]): Promise<void> { return { contactId, phoneList } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactList () : Promise<string[]> { return {} as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactCorporationRemark (contactId: string, corporationRemark: string | null) : Promise<void> { return { contactId, corporationRemark } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactDescription (contactId: string, description: string | null): Promise<void> { return { contactId, description } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactRawPayload (id: string) : Promise<any> { return { id } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async contactRawPayloadParser (rawPayload: any) : Promise<PUPPET.payloads.Contact> { return { rawPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Friendship * */ override async friendshipRawPayload (id: string) : Promise<any> { return { id } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async friendshipRawPayloadParser (rawPayload: any) : Promise<PUPPET.payloads.Friendship> { return rawPayload }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async friendshipSearchPhone (phone: string) : Promise<null | string> { return phone }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async friendshipSearchHandle (handle: string) : Promise<null | string> { return handle }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async friendshipAdd (contactId: string, option?: FriendshipAddOptions) : Promise<void> { return { contactId, option } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async friendshipAccept (friendshipId: string) : Promise<void> { return { friendshipId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Message * */ override async messageContact (messageId: string) : Promise<string> { return { messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageFile (messageId: string) : Promise<FileBoxInterface> { return { messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageImage (messageId: string, imageType: PUPPET.types.Image) : Promise<FileBoxInterface> { return { imageType, messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageMiniProgram (messageId: string) : Promise<PUPPET.payloads.MiniProgram> { return { messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageUrl (messageId: string) : Promise<PUPPET.payloads.UrlLink> { return { messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageLocation (messageId: string) : Promise<PUPPET.payloads.Location> { return { messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageForward (conversationId: string, messageId: string) : Promise<void | string> { return { conversationId, messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendContact (conversationId: string, contactId: string) : Promise<void | string> { return { contactId, conversationId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendFile (conversationId: string, file: FileBoxInterface) : Promise<void | string> { return { conversationId, file } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendText (conversationId: string, text: string) : Promise<void | string> { return { conversationId, text } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendUrl (conversationId: string, urlLinkPayload: PUPPET.payloads.UrlLink) : Promise<void | string> { return { conversationId, urlLinkPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendMiniProgram (conversationId: string, miniProgramPayload: PUPPET.payloads.MiniProgram) : Promise<void | string> { return { conversationId, miniProgramPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendLocation (conversationId: string, locationPayload: PUPPET.payloads.Location) : Promise<void | string> { return { conversationId, locationPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageSendPost (conversationId: string, postPayload: PUPPET.payloads.Post) : Promise<void | string> { return { conversationId, postPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageRawPayload (id: string) : Promise<any> { return { id } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageRawPayloadParser (rawPayload: any) : Promise<PUPPET.payloads.Message> { return { rawPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async messageRecall (messageId: string) : Promise<boolean> { return { messageId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Conversation * */ override async conversationReadMark (conversationId: string, hasRead?: boolean): Promise<void | boolean> { void { conversationId, hasRead } }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Room Invitation * */ override async roomInvitationAccept (_: string): Promise<void> { }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomInvitationRawPayload (roomInvitationId: string) : Promise<any> { return { roomInvitationId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomInvitationRawPayloadParser (rawPayload: any) : Promise<PUPPET.payloads.RoomInvitation> { return rawPayload }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
/** * * Room * */ override async roomAnnounce (roomId: string) : Promise<string>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomAnnounce (roomId: string, text: string) : Promise<void>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomAnnounce (roomId: string, text?: string) : Promise<void | string> { return { roomId, text } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomAdd (roomId: string, contactId: string, inviteOnly?: boolean) : Promise<void> { return { contactId, inviteOnly, roomId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomAvatar (roomId: string) : Promise<FileBoxInterface> { return { roomId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomCreate (contactIdList: string[], topic?: string) : Promise<string> { return { contactIdList, topic } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomDel (roomId: string, contactId: string) : Promise<void> { return { contactId, roomId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomQuit (roomId: string) : Promise<void> { return { roomId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomQRCode (roomId: string) : Promise<string> { return { roomId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomTopic (roomId: string) : Promise<string>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomTopic (roomId: string, topic: string) : Promise<void>
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomTopic (roomId: string, topic?: string) : Promise<string | void> { return { roomId, topic } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomList () : Promise<string[]> { return {} as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomMemberList (roomId: string) : Promise<string[]> { return { roomId } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomRawPayload (id: string) : Promise<any> { return { id } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript
MethodDeclaration
override async roomRawPayloadParser (rawPayload: any) : Promise<PUPPET.payloads.Room> { return { rawPayload } as any }
hcfw007/puppet
tests/fixtures/puppet-test/puppet-test.ts
TypeScript