type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
ArrowFunction |
(buttonStateDisabled: boolean): void => {
setIsButtonDisabled(buttonStateDisabled);
} | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
ArrowFunction |
(): ReactElement => {
if (readOnly) {
return null;
}
return (
<>
<Divider hidden/>
<PrimaryButton
onClick={ handleUpdateClick }
data-testid={ `${ testId }-update-button` }
disab... | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
InterfaceDeclaration | /**
* Proptypes for the sign in methods customization entry point component.
*/
interface SignInMethodCustomizationPropsInterface extends SBACInterface<FeatureConfigInterface>,
TestableComponentInterface {
/**
* ID of the application.
*/
appId: string;
/**
* All authenticators in the s... | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
MethodDeclaration |
as <Code> | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
MethodDeclaration |
for< | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
MethodDeclaration |
t("console:develop.features.applications.edit.sections.signOnMethod.sections." | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
MethodDeclaration |
map(authenticator => {
return {
label: authenticator | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
MethodDeclaration |
t("common:update") | Anandi-K/identity-apps | apps/console/src/features/applications/components/settings/sign-on-methods/sign-in-method-customization.tsx | TypeScript |
ClassDeclaration | /**
* 横扫,对目标造成[0]倍普通攻击的物理伤害,对目标周围[1]格的目标造成[2]倍普通攻击的物理伤害
*/
export class Sweep extends BaseSkillEffect {
constructor() {
super();
}
public get effectId(): number {
return SkillEffectEnum.sweep;
}
public get effName(): string {
return "sweep";
}
public play(data: Eff... | pumpkye/AutoChessBattle | SkillEffect/Sweep.ts | TypeScript |
MethodDeclaration |
public play(data: EffData): boolean {
super.play(data);
let per1 = data.skillEff.effArr[0];
let range = data.skillEff.effArr[1];
let per2 = data.skillEff.effArr[2];
let damage1 = data.attacker.damage * per1;
let damage2 = data.attacker.damage * per2;
let effInf... | pumpkye/AutoChessBattle | SkillEffect/Sweep.ts | TypeScript |
FunctionDeclaration |
export function resolveOrder(parent: any, args: any, context: any) {
return resolvePrimary({
context,
selectSql: createSelectSql({
from: Sql.from,
fields: Sql.fields,
where: Sql.createWhereId(args),
}),
});
} | hiroyky/graphql_api_sample | src/resolvers/order-resolver.ts | TypeScript |
FunctionDeclaration |
export async function resolveOrders(parent: any, args: any, context: any) {
const result = await resolveItems({
context,
selectSql: createSelectSql({
from: Sql.from,
fields: Sql.fields,
where: Sql.createWhere(args),
}),
selectCountSql: createSelec... | hiroyky/graphql_api_sample | src/resolvers/order-resolver.ts | TypeScript |
ArrowFunction |
(props: Props) => (
<a
href={props.href} | ansballard/packagephobia | src/components/LinkedLogo.tsx | TypeScript |
InterfaceDeclaration |
interface Props {
name: string;
icon: keyof typeof icons;
color: string;
title: string;
href: string;
} | ansballard/packagephobia | src/components/LinkedLogo.tsx | TypeScript |
ArrowFunction |
async (deployContractSolidityBytecodeV1Request?: DeployContractSolidityBytecodeV1Request, options: any = {}): Promise<RequestArgs> => {
const localVarPath = `/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode`;
// use dummy base URL string becau... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ArrowFunction |
async (invokeContractV1Request?: InvokeContractV1Request, options: any = {}): Promise<RequestArgs> => {
const localVarPath = `/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ArrowFunction |
async (runTransactionRequest?: RunTransactionRequest, options: any = {}): Promise<RequestArgs> => {
const localVarPath = `/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ArrowFunction |
(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
return axios.request(axiosRequestArgs);
} | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ArrowFunction |
(request) => request(axios, basePath) | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ArrowFunction |
(request) => request(this.axios, this.basePath) | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ClassDeclaration | /**
* DefaultApi - object-oriented interface
* @export
* @class DefaultApi
* @extends {BaseAPI}
*/
export class DefaultApi extends BaseAPI {
/**
*
* @summary Deploys the bytecode of a Solidity contract.
* @param {DeployContractSolidityBytecodeV1Request} [deployContractSolidityBytecodeV1Request]... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface DeployContractSolidityBytecodeV1Request
*/
export interface DeployContractSolidityBytecodeV1Request {
/**
*
* @type {Web3SigningCredential}
* @memberof DeployContractSolidityBytecodeV1Request
*/
web3SigningCredential: Web3SigningCredential;
/**
* S... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface DeployContractSolidityBytecodeV1Response
*/
export interface DeployContractSolidityBytecodeV1Response {
/**
*
* @type {Web3TransactionReceipt}
* @memberof DeployContractSolidityBytecodeV1Response
*/
transactionReceipt: Web3TransactionReceipt;
} | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface InvokeContractV1Request
*/
export interface InvokeContractV1Request {
/**
*
* @type {Web3SigningCredential}
* @memberof InvokeContractV1Request
*/
web3SigningCredential: Web3SigningCredential;
/**
* The application binary interface of the solidity ... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface InvokeContractV1Response
*/
export interface InvokeContractV1Response {
/**
*
* @type {Web3TransactionReceipt}
* @memberof InvokeContractV1Response
*/
transactionReceipt?: Web3TransactionReceipt;
/**
*
* @type {any}
* @memberof InvokeCon... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface QuorumTransactionConfig
*/
export interface QuorumTransactionConfig {
[key: string]: object | any;
/**
*
* @type {string}
* @memberof QuorumTransactionConfig
*/
rawTransaction?: string;
/**
*
* @type {string | number}
* @memberof Qu... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface RunTransactionRequest
*/
export interface RunTransactionRequest {
/**
*
* @type {Web3SigningCredential}
* @memberof RunTransactionRequest
*/
web3SigningCredential: Web3SigningCredential;
/**
*
* @type {QuorumTransactionConfig}
* @membero... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface RunTransactionResponse
*/
export interface RunTransactionResponse {
/**
*
* @type {Web3TransactionReceipt}
* @memberof RunTransactionResponse
*/
transactionReceipt: Web3TransactionReceipt;
} | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface SolidityContractJsonArtifact
*/
export interface SolidityContractJsonArtifact {
/**
*
* @type {string}
* @memberof SolidityContractJsonArtifact
*/
contractName: string;
/**
*
* @type {string}
* @memberof SolidityContractJsonArtifact
... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface Web3SigningCredentialCactusKeychainRef
*/
export interface Web3SigningCredentialCactusKeychainRef {
/**
*
* @type {Web3SigningCredentialType}
* @memberof Web3SigningCredentialCactusKeychainRef
*/
type: Web3SigningCredentialType;
/**
* The ethereum ... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface Web3SigningCredentialGethKeychainPassword
*/
export interface Web3SigningCredentialGethKeychainPassword {
/**
*
* @type {Web3SigningCredentialType}
* @memberof Web3SigningCredentialGethKeychainPassword
*/
type: Web3SigningCredentialType;
/**
* The ... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
* Using this denotes that there is no signing required because the transaction is pre-signed.
* @export
* @interface Web3SigningCredentialNone
*/
export interface Web3SigningCredentialNone {
/**
*
* @type {Web3SigningCredentialType}
* @memberof Web3SigningCredentialNone
*/
type: Web... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface Web3SigningCredentialPrivateKeyHex
*/
export interface Web3SigningCredentialPrivateKeyHex {
/**
*
* @type {Web3SigningCredentialType}
* @memberof Web3SigningCredentialPrivateKeyHex
*/
type: Web3SigningCredentialType;
/**
* The ethereum account (pub... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
InterfaceDeclaration | /**
*
* @export
* @interface Web3TransactionReceipt
*/
export interface Web3TransactionReceipt {
[key: string]: object | any;
/**
*
* @type {boolean}
* @memberof Web3TransactionReceipt
*/
status: boolean;
/**
*
* @type {string}
* @memberof Web3TransactionReceip... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
EnumDeclaration | /**
*
* @export
* @enum {string}
*/
export enum EthContractInvocationType {
SEND = 'SEND',
CALL = 'CALL'
} | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
EnumDeclaration | /**
*
* @export
* @enum {string}
*/
export enum Web3SigningCredentialType {
CACTUSKEYCHAINREF = 'CACTUS_KEYCHAIN_REF',
GETHKEYCHAINPASSWORD = 'GETH_KEYCHAIN_PASSWORD',
PRIVATEKEYHEX = 'PRIVATE_KEY_HEX',
NONE = 'NONE'
} | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
TypeAliasDeclaration | /**
* @type Web3SigningCredential
* @export
*/
export type Web3SigningCredential = Web3SigningCredentialCactusKeychainRef | Web3SigningCredentialGethKeychainPassword | Web3SigningCredentialNone | Web3SigningCredentialPrivateKeyHex; | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Deploys the bytecode of a Solidity contract.
* @param {DeployContractSolidityBytecodeV1Request} [deployContractSolidityBytecodeV1Request]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async apiV1QuorumDeployCont... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Invokeds a contract on a quorum ledger
* @param {InvokeContractV1Request} [invokeContractV1Request]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async apiV1QuorumInvokeContract(invokeContractV1Request?: InvokeC... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Executes a transaction on a quorum ledger
* @param {RunTransactionRequest} [runTransactionRequest]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async apiV1QuorumRunTransaction(runTransactionRequest?: RunTransac... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Deploys the bytecode of a Solidity contract.
* @param {DeployContractSolidityBytecodeV1Request} [deployContractSolidityBytecodeV1Request]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV1QuorumDeployContractSo... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Invokeds a contract on a quorum ledger
* @param {InvokeContractV1Request} [invokeContractV1Request]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV1QuorumInvokeContract(invokeContractV1Request?: InvokeContrac... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Executes a transaction on a quorum ledger
* @param {RunTransactionRequest} [runTransactionRequest]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV1QuorumRunTransaction(runTransactionRequest?: RunTransactionRe... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Deploys the bytecode of a Solidity contract.
* @param {DeployContractSolidityBytecodeV1Request} [deployContractSolidityBytecodeV1Request]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
public apiV1QuorumDeplo... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Invokeds a contract on a quorum ledger
* @param {InvokeContractV1Request} [invokeContractV1Request]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
public apiV1QuorumInvokeContract(invokeContractV1Request?: In... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
MethodDeclaration | /**
*
* @summary Executes a transaction on a quorum ledger
* @param {RunTransactionRequest} [runTransactionRequest]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
public apiV1QuorumRunTransaction(runTransactionRequest?: RunTr... | CatarinaPedreira/cactus | packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/api.ts | TypeScript |
ArrowFunction |
async () => {
if (await this.test7.isReady()) {
await this.test7.doSomething()
}
} | EibrielInv/explorer | kernel/packages/decentraland-rpc/test/fixtures/7.3.Interval.ts | TypeScript |
ClassDeclaration |
export default class Interval extends TestableScript {
@inject('Test7') test7: any = null
async doTest() {
setInterval(async () => {
if (await this.test7.isReady()) {
await this.test7.doSomething()
}
}, 100)
}
} | EibrielInv/explorer | kernel/packages/decentraland-rpc/test/fixtures/7.3.Interval.ts | TypeScript |
MethodDeclaration |
async doTest() {
setInterval(async () => {
if (await this.test7.isReady()) {
await this.test7.doSomething()
}
}, 100)
} | EibrielInv/explorer | kernel/packages/decentraland-rpc/test/fixtures/7.3.Interval.ts | TypeScript |
ArrowFunction |
(props) => {
const { t } = useTranslation();
const { handleSubmit, cancel, isSubmitting, status } = props;
return (
<form className="modal-content" onSubmit={handleSubmit}>
<ModalTitle>{t('knative-plugin~Set Traffic Distribution')}</ModalTitle>
<ModalBody>
<p>
{t('knative-plugin... | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
InterfaceDeclaration |
interface TrafficSplittingModalProps {
revisionItems: RevisionItems;
} | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
TypeAliasDeclaration |
type Props = FormikProps<FormikValues> & TrafficSplittingModalProps & ModalComponentProps; | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
MethodDeclaration |
t('knative-plugin~Set Traffic Distribution') | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
MethodDeclaration |
t('knative-plugin~Set traffic distribution for the Revisions of the Knative Service') | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
MethodDeclaration |
t('knative-plugin~Save') | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
MethodDeclaration |
t('knative-plugin~Cancel') | cwilkers/console | frontend/packages/knative-plugin/src/components/traffic-splitting/TrafficSplittingModal.tsx | TypeScript |
FunctionDeclaration |
function getIndex (text: string)
{
if (text.startsWith('@import'))
{
return 0;
}
else if (text.startsWith(':root'))
{
return 1;
}
else if (text.startsWith('*'))
{
return 2;
}
else if (text.startsWith('html'))
{
return 3.1;
}
else if (text.startsWith('body'))
{
return 3.2... | wirunekaewjai/css | _temp/css-tools [0.3.7]/css/sort-selectors.ts | TypeScript |
FunctionDeclaration |
function sortCSSSelectors (selectors: string[])
{
return selectors.sort((a, b) =>
{
const ai = getIndex(a);
const bi = getIndex(b);
if (ai === bi)
{
return a.localeCompare(b);
}
return ai - bi;
});
} | wirunekaewjai/css | _temp/css-tools [0.3.7]/css/sort-selectors.ts | TypeScript |
ArrowFunction |
(a, b) =>
{
const ai = getIndex(a);
const bi = getIndex(b);
if (ai === bi)
{
return a.localeCompare(b);
}
return ai - bi;
} | wirunekaewjai/css | _temp/css-tools [0.3.7]/css/sort-selectors.ts | TypeScript |
ArrowFunction |
async (data, next) => next() | jaredjj3/string-sync | api/src/resolvers/middlewares/Identity.ts | TypeScript |
FunctionDeclaration |
export function Routes() {
return (
<>
<HashRouter basename={"/"}>
<ConnectionProvider>
<WalletProvider>
<AccountsProvider>
<AppLayout>
<Switch>
<Route exact path="/" component={() => <HomeView />} />
</... | alexandercrypto/degen_apes_stealer | src/routes.tsx | TypeScript |
InterfaceDeclaration | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* A snapshot of a parallel perf test run at a given period of time.
*/
export interface Snapshot {
/**
* Tracks the number of completed operations during a given parallel call.
*/
completedOperations: number;
/**
* Tracks ho... | AikoBB/azure-sdk-for-js | sdk/test-utils/perf/src/snapshot.ts | TypeScript |
FunctionDeclaration |
export function getDataFromTree(
tree: React.ReactNode,
context: { [key: string]: any } = {}
) {
return getMarkupFromTree({
tree,
context,
// If you need to configure this renderFunction, call getMarkupFromTree
// directly instead of getDataFromTree.
renderFunction: require('react-dom/server'... | SeanRoberts/react-apollo | packages/ssr/src/getDataFromTree.ts | TypeScript |
FunctionDeclaration |
export function getMarkupFromTree({
tree,
context = {},
// The rendering function is configurable! We use renderToStaticMarkup as
// the default, because it's a little less expensive than renderToString,
// and legacy usage of getDataFromTree ignores the return value anyway.
renderFunction = require('react... | SeanRoberts/react-apollo | packages/ssr/src/getDataFromTree.ts | TypeScript |
FunctionDeclaration |
function process(): Promise<string> | string {
// Always re-render from the rootElement, even though it might seem
// better to render the children of the component responsible for the
// promise, because it is not possible to reconstruct the full context
// of the original rendering (including all unk... | SeanRoberts/react-apollo | packages/ssr/src/getDataFromTree.ts | TypeScript |
TypeAliasDeclaration |
export type GetMarkupFromTreeOptions = {
tree: React.ReactNode;
context?: { [key: string]: any };
renderFunction?: (tree: React.ReactElement<any>) => string;
}; | SeanRoberts/react-apollo | packages/ssr/src/getDataFromTree.ts | TypeScript |
ClassDeclaration |
export default abstract class IndexedPacket extends BasePacket {
private _index;
private _indexFlags;
protected resetIndexes(write: boolean): void;
protected abstract getIndexSize(): number;
protected readIndexedInt8(): number | undefined;
protected writeIndexedInt8(value?: number): void;
p... | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected resetIndexes(write: boolean): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected abstract getIndexSize(): number; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedInt8(): number | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedInt8(value?: number): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedUint8(): number | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedUint8(value?: number): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedUint16(): number | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedUint16(value?: number): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedUint32(): number | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedUint32(value?: number): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedFloat64(): number | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedFloat64(value?: number): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedBool(): boolean | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedBool(value?: boolean): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedUint8Array(): Uint8Array | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedUint8Array(value?: Uint8Array): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedUint32NumberArray(): number[] | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedUint32NumberArray(value?: number[]): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedString(): string | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedString(value?: string): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedStringArray(): string[] | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedStringArray(value?: string[]): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedVector2(): IVector2 | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedVector2(value?: IVector2): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedVector3(): IVector3 | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedVector3(value?: IVector3): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedContainer(): IContainer | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedContainer(value?: IContainer): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedCreature(): ICreature | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedCreature(value?: ICreature): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedPlayer(): IPlayer | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected writeIndexedPlayer(value?: IPlayer): void; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
MethodDeclaration |
protected readIndexedDoodad(): IDoodad | undefined; | WaywardGameKorean/addContents | mod-reference/definitions/multiplayer/packets/IndexedPacket.d.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.