type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
EnumDeclaration
enum HTTP_RES_DATA_TYPE { JSON = 0, RAW_DATA = 1 }
sunwenteng/bgserver
src/lib/util/game_util.ts
TypeScript
MethodDeclaration
run() { if (this._isForceQuit || this.terminateCallBack()) { return; } setTimeout(() => { this._isRunning = true; this.promise.apply(this.promiseScope) .then(() => { this._isRunning = false; this.run();...
sunwenteng/bgserver
src/lib/util/game_util.ts
TypeScript
MethodDeclaration
async stop() { this._isForceQuit = true; return new Promise<void>(((resolve) => { if (this._isRunning) { setTimeout(() => { this.stop().then(resolve); }, 100); } else { resolve(); } ...
sunwenteng/bgserver
src/lib/util/game_util.ts
TypeScript
ClassDeclaration
@Component({ moduleId: module.id, selector: "schema-type", templateUrl: "schema-type.component.html" }) export class SchemaTypeComponent { @Input() type: SimplifiedType; public displayType(): string { if (ObjectUtils.isNullOrUndefined(this.type) || ObjectUtils.isNullOrUndefined(this.type....
gigaga/apicurio-studio
front-end/studio/src/app/pages/apis/{apiId}/editor/_components/common/schema-type.component.ts
TypeScript
MethodDeclaration
public displayType(): string { if (ObjectUtils.isNullOrUndefined(this.type) || ObjectUtils.isNullOrUndefined(this.type.type)) { return "No Type"; } if (this.type.isArray()) { if (this.type.of && this.type.of.as) { return "Array of: " + this.type.of.type +...
gigaga/apicurio-studio
front-end/studio/src/app/pages/apis/{apiId}/editor/_components/common/schema-type.component.ts
TypeScript
MethodDeclaration
public hasType(): boolean { return !ObjectUtils.isNullOrUndefined(this.type.type); }
gigaga/apicurio-studio
front-end/studio/src/app/pages/apis/{apiId}/editor/_components/common/schema-type.component.ts
TypeScript
FunctionDeclaration
export function bytesToHuman (bytes: number): string { if (bytes === 0) { return '0 kB'; } const i = Math.floor(Math.log(bytes) / Math.log(1000)); // @ts-ignore return `${(bytes / Math.pow(1000, i)).toFixed(2) * 1} ${['Bytes', 'kB', 'MB', 'GB', 'TB'][i]}`; }
BirkhoffLee/panel
resources/scripts/helpers.ts
TypeScript
ArrowFunction
(bytes: number) => Math.floor(bytes / 1000 / 1000)
BirkhoffLee/panel
resources/scripts/helpers.ts
TypeScript
ClassDeclaration
@Injectable() export class StudentMobileNoValidatorPipe implements PipeTransform { private logger: Logger = new Logger(StudentMobileNoValidatorPipe.name); transform(value: any, metadata: ArgumentMetadata) { const regex = new RegExp(/^0\d{9}$/); if (!regex.test(value.mobile_no)) { this.logger.error( ...
pavitran10/ramp-graphql-service
src/student/pipes/student-mobile-no-validator.pipe.ts
TypeScript
MethodDeclaration
transform(value: any, metadata: ArgumentMetadata) { const regex = new RegExp(/^0\d{9}$/); if (!regex.test(value.mobile_no)) { this.logger.error( `${value.mobile_no} is not a correct mobile number type`, ); throw new BadRequestException( `${value.mobile_no} is not a correct mob...
pavitran10/ramp-graphql-service
src/student/pipes/student-mobile-no-validator.pipe.ts
TypeScript
ClassDeclaration
export declare class Producer extends EnhancedEventEmitter { private readonly _internal; private readonly _data; private readonly _channel; private readonly _payloadChannel; private _closed; private readonly _appData?; private _paused; private _score; private readonly _observer; ...
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
export declare type ProducerOptions = { /** * Producer id (just for Router.pipeToRouter() method). */ id?: string; /** * Media kind ('audio' or 'video'). */ kind: MediaKind; /** * RTP parameters defining what the endpoint is sending. */ rtpParameters: RtpParameters...
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
/** * Valid types for 'trace' event. */ export declare type ProducerTraceEventType = 'rtp' | 'keyframe' | 'nack' | 'pli' | 'fir';
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
/** * 'trace' event data. */ export declare type ProducerTraceEventData = { /** * Trace type. */ type: ProducerTraceEventType; /** * Event timestamp. */ timestamp: number; /** * Event direction. */ direction: 'in' | 'out'; /** * Per type information. ...
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
export declare type ProducerScore = { /** * SSRC of the RTP stream. */ ssrc: number; /** * RID of the RTP stream. */ rid?: string; /** * The score of the RTP stream. */ score: number; };
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
export declare type ProducerVideoOrientation = { /** * Whether the source is a video camera. */ camera: boolean; /** * Whether the video source is flipped. */ flip: boolean; /** * Rotation degrees (0, 90, 180 or 270). */ rotation: number; };
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
export declare type ProducerStat = { type: string; timestamp: number; ssrc: number; rtxSsrc?: number; rid?: string; kind: string; mimeType: string; packetsLost: number; fractionLost: number; packetsDiscarded: number; packetsRetransmitted: number; packetsRepaired: number;...
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
TypeAliasDeclaration
/** * Producer type. */ export declare type ProducerType = 'simple' | 'simulcast' | 'svc';
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Close the Producer. */ close(): void;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Transport was closed. * * @private */ transportClosed(): void;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Dump Producer. */ dump(): Promise<any>;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Get Producer stats. */ getStats(): Promise<ProducerStat[]>;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Pause the Producer. */ pause(): Promise<void>;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Resume the Producer. */ resume(): Promise<void>;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Enable 'trace' event. */ enableTraceEvent(types?: ProducerTraceEventType[]): Promise<void>;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
MethodDeclaration
/** * Send RTP packet (just valid for Producers created on a DirectTransport). */ send(rtpPacket: Buffer): void;
aidanaden/nus-clubhouse
voice-backend/node_modules/mediasoup/lib/Producer.d.ts
TypeScript
FunctionDeclaration
export function initStore() { const anyWindow = window as any const composeEnhancers = isDevelopment && anyWindow.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? anyWindow.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ stateSanitizer: (state: RootState) => { const { tile, proximity, ...sanitized } ...
Axodus/Marketplace
webapp/src/modules/store.ts
TypeScript
ArrowFunction
(state: RootState) => { const { tile, proximity, ...sanitized } = { ...state } return sanitized }
Axodus/Marketplace
webapp/src/modules/store.ts
TypeScript
ArrowFunction
(_: any, action) => isDevelopment || action.type.includes('Failure')
Axodus/Marketplace
webapp/src/modules/store.ts
TypeScript
ArrowFunction
({ rowData }: ExtraParamsType) => rowData?.props?.event.sortableTime + rowData?.props?.event.message
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
ArrowFunction
(severity: Event['severity']) => { switch (severity) { case 'info': return 'blue'; case 'warning': return 'orange'; case 'error': return 'red'; case 'critical': return 'purple'; } }
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
ArrowFunction
(severity: Event['severity']) => { switch (severity) { case 'info': return <InfoCircleIcon />; case 'warning': return <WarningTriangleIcon />; case 'error': case 'critical': return <ExclamationCircleIcon />; } }
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
ArrowFunction
({ events }) => { if (events.length === 0) { return ( <EmptyState icon={SearchIcon} title="No events found" content="There are no events found." />
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
ArrowFunction
(event) => ({ ...event, sortableTime: new Date(event.eventTime).getTime(), })
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
ArrowFunction
// Descending order (a, b) => b.sortableTime - a.sortableTime
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
ArrowFunction
(event) => ({ cells: [ { title: <strong>{getHumanizedDateTime(event.eventTime)
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
TypeAliasDeclaration
export type EventsListProps = { events: EventList; };
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
MethodDeclaration
getHumanizedDateTime(event
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
MethodDeclaration
getLabelIcon(event
irosenzw/assisted-ui-lib
src/components/ui/EventsList.tsx
TypeScript
FunctionDeclaration
/** * Checks for a label with a colon, e.g. * "label:", " label:" or "init.label_1:". * But not ".label:". * Capture groups: * 1 = preceding spaces * 2 = the label itself e.g. "init.label_1 * Used by findLabelsWithNoReference, provideCodeLenses. */ export function regexLabelColon(): RegExp { return /(^\s*...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Checks for a label without a colon, i.e. a * label used by sjasmplus. * E.g. "label" or "init.label_1". * But not ".label". * Capture groups: * 1 = '' * 2 = the label itself e.g. "init.label_1 * Used by findLabelsWithNoReference, provideCodeLenses. */ export function regexLabelWithoutColon(): RegExp { ...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Checks for a label followed by MACRO or EQU. * E.g. "label: MACRO" or "label2: equ" or "label equ". * Capture groups: * None. * Used by findLabelsWithNoReference. */ export function regexLabelEquOrMacro(): RegExp { return /^[\w\.]+:?\s*\b(equ|macro)/i; }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Checks for an INCLUDE directive. * E.g. 'include "something"' or ' include "something"'. * Capture groups: * 1 = what is included, i.e. what is inside the "" * Used by DefinitionProvider, RenameProvider. */ export function regexInclude(): RegExp { return /\s*INCLUDE\s+"(.*)"/i; }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Checks for a MODULE or STRUCT directive. * Used by getModule. */ export function regexModuleStruct(): RegExp { return /^\s+(MODULE|STRUCT)\s+([\w\.]+)/i; }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Checks for a ENDMODULE or ENDS directive. * Used by getModule. */ export function regexEndModuleStruct(): RegExp { return /^\s+(ENDMODULE|ENDS)\b/i; }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for labels that contain the given word. * Checks for a label with a colon. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by DefinitionProvider. */ export function regexLabelColonForWord(searchWord: string): RegExp { return new RegExp('^(\\s*)([^0-9\\s][\\w\\.]*)?\\b'...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for labels that contains the given word. * Checks for a label without a colon. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by DefinitionProvider. */ export function regexLabelWithoutColonForWord(searchWord: string): RegExp { return new RegExp('^()([^0-9\\s][\\w\\.]...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for a (sjasmplus) MODULE that contains the given word. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by DefinitionProvider. */ export function regexModuleForWord(searchWord: string): RegExp { return new RegExp('^(\\s+(module|MODULE)\\s+)' + searchWord + '\\b'); }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for a (sjasmplus) MACRO that contains the given word. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by DefinitionProvider. */ export function regexMacroForWord(searchWord: string): RegExp { return new RegExp('^(\\s+(macro|MACRO)\\s+)' + searchWord + '\\b'); }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for a (sjasmplus) STRUCT that contains the given word. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by DefinitionProvider. */ export function regexStructForWord(searchWord: string): RegExp { return new RegExp('^(\\s+(struct|STRUCT)\\s+)' + searchWord + '\\b'); }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches any reference for a given word (label). * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by resolveCodeLens. */ export function regexAnyReferenceForWord(searchWord: string): RegExp { return new RegExp('^([^"]*)\\b' + searchWord + '\\b'); }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches any reference for a given word (label). * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by RenameProvider. */ export function regexAnyReferenceForWordGlobal(searchWord: string): RegExp { return new RegExp('(.*?)\\b' + searchWord + '\\b', 'g'); }
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Prepares a string for fuzzy search. * I.e. allows to input a string like "snd" and it will find * with a regular expression also "sound", "sounds", "snd" etc. * but not e.g. "sn". * Used by CompletionProposalsProvider. */ export function regexPrepareFuzzy(searchWord: string): string { const replaced = s...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for labels that contains the given word. * Checks for a label with a colon. * The label can be everywhere. I.e. it can be a middle part of a dot * notated label. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by CompletionProposalsProvider. */ export function regexEvery...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for labels that contains the given word. * Checks for a label without a colon. * The label can be everywhere. I.e. it can be a middle part of a dot * notated label. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by CompletionProposalsProvider. */ export function regexEv...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for a (sjasmplus) MODULE that contains the given word. * The label can be everywhere. I.e. it can be a middle part of a dot * notated label. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by CompletionProposalsProvider. */ export function regexEveryModuleForWord(searchWo...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
FunctionDeclaration
/** * Searches for a (sjasmplus) MACRO that contains the given word. * The label can be everywhere. I.e. it can be a middle part of a dot * notated label. * Capture groups: * 1 = preceding characters before 'searchWord'. * Used by CompletionProposalsProvider. */ export function regexEveryMacroForWord(searchWord...
vchirikov/asm-code-lens
src/regexes.ts
TypeScript
ArrowFunction
() => { it('should show spinner when loading required data', () => { renderWithProviders( <MemoryRouter> <Confirm /> </MemoryRouter>, ); const title = screen.queryByText('Se over svarene dine før du sender inn'); expect(title).not.toBeInTheDocument(); const contentLoader = sc...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { renderWithProviders( <MemoryRouter> <Confirm /> </MemoryRouter>, ); const title = screen.queryByText('Se over svarene dine før du sender inn'); expect(title).not.toBeInTheDocument(); const contentLoader = screen.getByText('Loading...'); expect(contentLoader).toBeInT...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { renderWithProviders( <MemoryRouter> <Confirm /> </MemoryRouter>, { preloadedState: getInitialStateMock({ attachments: { attachments: {} }, }), }, ); const title = screen.getByText('Se over svarene dine før du sender inn'); expect(title)....
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { renderWithProviders( <MemoryRouter> <Confirm /> </MemoryRouter>, { preloadedState: getInitialStateMock({ attachments: { attachments: {} }, }), }, ); const pdf = screen.getByText('mockApp.pdf'); expect(pdf).toBeInTheDocument(); const...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
async () => { renderWithProviders( <MemoryRouter> <Confirm /> </MemoryRouter>, { preloadedState: getInitialStateMock({ attachments: { attachments: {} }, }), }, ); const submitBtnText = /send inn/i; const loadingText = /laster innhold/i; co...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { it('should return sender with ssn prefix when ssn is present', () => { const result = returnConfirmSummaryObject({ languageData: {}, instanceOwnerParty: { partyId: '50001', name: 'Ola Privatperson', ssn: '01017512345', } as IParty, }); ...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { const result = returnConfirmSummaryObject({ languageData: {}, instanceOwnerParty: { partyId: '50001', name: 'Ola Privatperson', ssn: '01017512345', } as IParty, }); expect(result).toEqual({ 'confirm.sender': '01017512345-Ola Priva...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { const result = returnConfirmSummaryObject({ languageData: {}, instanceOwnerParty: { partyId: '50001', name: 'Ola Privatperson', ssn: '01017512345', orgNumber: 987654321, } as IParty, }); expect(result).toEqual({ 'confirm...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { const result = returnConfirmSummaryObject({ languageData: {}, instanceOwnerParty: { partyId: '50001', name: 'Ola Bedrift', orgNumber: 987654321, } as IParty, }); expect(result).toEqual({ 'confirm.sender': '987654321-Ola Bedrift', ...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { const result = returnConfirmSummaryObject({ languageData: {}, instanceOwnerParty: { partyId: '50001', name: 'Ola Bedrift', } as IParty, }); expect(result).toEqual({ 'confirm.sender': '', }); }
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { const result = returnConfirmSummaryObject({ languageData: {}, }); expect(result).toEqual({ 'confirm.sender': '', }); }
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
ArrowFunction
() => { const result = returnConfirmSummaryObject({ languageData: {}, textResources: [{ id: 'confirm.sender', value: 'Some custom value'}], instanceOwnerParty: { partyId: '50001', name: 'Ola Privatperson', ssn: '01017512345', } as IParty, }); ...
Altinn/app-frontend-react
src/altinn-app-frontend/src/features/confirm/containers/Confirm.test.tsx
TypeScript
FunctionDeclaration
export function ProjectExplorerContextMenu(props: ProjectExplorerContextMenuProps) { const options = []; switch (props.node.type) { case ProjectExplorerNodeType.ProjectNode: options.push(<div>Refresh</div>); break; case ProjectExplorerNodeType.AssetFolder: o...
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
FunctionDeclaration
function newFolder() { props.node.open.update(true); const newNode: ProjectExplorerNode = { children: new ArrayDataSource(), permissions: { rename: true }, name: new DataSource('New folder'), open: new DataSource(false), ...
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
FunctionDeclaration
function newNode(props: ProjectExplorerContextMenuProps, defaultName: string, newNodeType: ProjectExplorerNodeType, defaultContent: string = '') { props.node.open.update(true); const newNode: ProjectExplorerNode = { children: new ArrayDataSource(), permissions: { rename: true ...
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
ArrowFunction
async () => { const name = await props.onRename(newNode); currentProject.value.addFolder(props.node, name); }
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
ArrowFunction
async () => { const name = await props.onRename(newNode); currentProject.value.addFile(props.node, name, defaultContent); }
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
InterfaceDeclaration
export interface ProjectExplorerContextMenuProps { node: ProjectExplorerNode; onRename(node: ProjectExplorerNode): Promise<string>; }
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
newNode(props, 'New File', ProjectExplorerNodeType
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
newNode(props, 'New Scene', ProjectExplorerNodeType
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
newNode(props, 'New Globals', ProjectExplorerNodeType
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
newNode(props, 'New Stylesheet', ProjectExplorerNodeType
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
newNode( props, 'New Entity template', ProjectExplorerNodeType
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
newFolder();
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
MethodDeclaration
if (props
CyberPhoenix90/aurum
packages/aurum-game-engine-editor/src/components/project_explorer/project_explorer_context_menu.tsx
TypeScript
ArrowFunction
() => PgDatabase
Ginden/typeorm-information-schema
src/postgres/10/pg_catalog/pg_locks.entity.ts
TypeScript
ClassDeclaration
/** * Comments in this file were automatically generated from Postgres files */ @ViewEntity({ schema: 'pg_catalog', name: 'pg_locks', synchronize: false, }) export class PgLocks { @ViewColumn({ name: 'locktype' }) public readonly locktype!: string | null /* text */; @ViewColumn({ name: 'database' }) pub...
Ginden/typeorm-information-schema
src/postgres/10/pg_catalog/pg_locks.entity.ts
TypeScript
FunctionDeclaration
function SvgPanoramaEnlarge( props: React.SVGProps<SVGSVGElement>, svgRef?: React.Ref<SVGSVGElement> ) { return ( <svg width="1.5em" height="1.5em" strokeWidth={1.5} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" ref={sv...
Bloc67/iconoir
packages/iconoir-react/src/PanoramaEnlarge.tsx
TypeScript
TypeAliasDeclaration
/** * The network traffic is allowed or denied. */ export type Access = (typeof Access)[keyof typeof Access];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. */ export type ClusterUpgradeCadence = (typeof ClusterUpgradeCadence)[keyof typeof ClusterUpgradeCadence];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * Network security rule direction. */ export type Direction = (typeof Direction)[keyof typeof Direction];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgr...
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The type of managed identity for the resource. */ export type ManagedIdentityType = (typeof ManagedIdentityType)[keyof typeof ManagedIdentityType];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * Specifies the move cost for the service. */ export type MoveCost = (typeof MoveCost)[keyof typeof MoveCost];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * Network protocol this rule applies to. */ export type NsgProtocol = (typeof NsgProtocol)[keyof typeof NsgProtocol];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * Specifies how the service is partitioned. */ export type PartitionScheme = (typeof PartitionScheme)[keyof typeof PartitionScheme];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * the reference to the load balancer probe used by the load balancing rule. */ export type ProbeProtocol = (typeof ProbeProtocol)[keyof typeof ProbeProtocol];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The reference to the transport protocol used by the load balancing rule. */ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto. */ export type RollingUpgradeMode = (typeof RollingUpgradeMode)[keyof typeof RollingUpgradeMode];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. */ export type ServiceCorrelationScheme = (typeof ServiceCorrelationScheme)[keyof typeof ServiceCorrelationScheme];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The kind of service (Stateless or Stateful). */ export type ServiceKind = (typeof ServiceKind)[keyof typeof ServiceKind];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The service load metric relative weight, compared to other metrics configured for this service, as a number. */ export type ServiceLoadMetricWeight = (typeof ServiceLoadMetricWeight)[keyof typeof ServiceLoadMetricWeight];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript
TypeAliasDeclaration
/** * The activation Mode of the service package */ export type ServicePackageActivationMode = (typeof ServicePackageActivationMode)[keyof typeof ServicePackageActivationMode];
polivbr/pulumi-azure-native
sdk/nodejs/types/enums/servicefabric/v20210101preview/index.ts
TypeScript