type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
<T>(relativeTo: string, paths: string[]): T | null => { const result = requireSearchRaw<PossibleModule<T>>(relativeTo, paths); return typeof result === 'object' && result && result.default ? result.default : result as (T | null); }
Brli/electron-forge
packages/api/core/src/util/require-search.ts
TypeScript
TypeAliasDeclaration
export type PossibleModule<T> = { default?: T; } & T;
Brli/electron-forge
packages/api/core/src/util/require-search.ts
TypeScript
InterfaceDeclaration
export interface Message { Version?: number; To: Address; From: Address; Nonce: Nonce; Value: BigNumber; GasLimit: number; GasFeeCap: BigNumber; GasPremium: BigNumber; Method: number; Params: string; }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
InterfaceDeclaration
export interface Signature { Data: string; Type: number; }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
InterfaceDeclaration
export interface SignedMessage { Message: Message; Signature: Signature; }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
EnumDeclaration
export enum ProtocolIndicator { ID, SECP256K1, ACTOR, BLS, }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
EnumDeclaration
export enum CodeCID { PaymentChannel = "fil/4/paymentchannel", Multisig = "fil/4/multisig", }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
EnumDeclaration
export enum INIT_ACTOR { mainnet = "f01", testnet = "t01", }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
EnumDeclaration
export enum InitMethod { None, Constructor, Exec, }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
EnumDeclaration
export enum PaymentChannelMethod { None, Construtor, UpdateChannelState, Settle, Collect, }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
EnumDeclaration
export enum MultisigMethod { None, Constructor, Propose, Approve, Cancel, AddSigner, RemoveSigner, SwapSigner, ChangeNumApprovalsThreshhold, }
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type PrivateKey = string;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type TokenAmount = BigNumber;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type Nonce = number;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type MsgParams = string;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type CID = | string | { "/": string; };
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type MessageReceipt = { ExitCode: number; Return: any; GasUsed: number; };
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type MsgLookup = { Message: CID; Receipt: MessageReceipt; ReturnDec: any; TipSet: CID[]; Height: number; };
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type MessageResponse = CID | MsgLookup;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type Network = "mainnet" | "testnet";
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type SignedVoucherBase64 = string;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type VoucherBase64 = string;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type HashedSecret = string;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type Voucher = string;
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
TypeAliasDeclaration
export type FilecoinNetwork = "f" | "t";
VladChernenko/filecoin-js-signer
src/core/types/types.ts
TypeScript
ArrowFunction
state => ({ inferencer: Constants.useBackend ? new AchievementInferencer(state.achievement.achievements, state.achievement.goals) : new AchievementInferencer(mockAchievements, mockGoals) })
Aulud/cadet-frontend
src/pages/achievement/control/AchievementControlContainer.ts
TypeScript
ArrowFunction
(dispatch: Dispatch) => bindActionCreators( { handleEditAchievement: editAchievement, handleEditGoal: editGoal, handleGetAchievements: getAchievements, handleGetOwnGoals: getOwnGoals, handleRemoveAchievement: removeAchievement, handleRemoveGoal: removeGoal, handleSaveAch...
Aulud/cadet-frontend
src/pages/achievement/control/AchievementControlContainer.ts
TypeScript
ArrowFunction
(map, jsonContentBlock) => { map[jsonContentBlock.content_path] = jsonContentBlock; return map; }
renuo/renuo-cms-client
src/app/data/services/data_converter.ts
TypeScript
ClassDeclaration
///<reference path="../models/content_block.ts"/> ///<reference path="../models/ajax_content_blocks.ts"/> ///<reference path="../models/ajax_content_block.ts"/> ///<reference path="../models/renuo_upload_credentials.ts"/> ///<reference path="../models/ajax_renuo_upload_credentials.ts"/> class DataConverter { convertJ...
renuo/renuo-cms-client
src/app/data/services/data_converter.ts
TypeScript
MethodDeclaration
convertJson(originalContentBlock:ContentBlock, cb:AjaxContentBlock):ContentBlock { return new ContentBlock(cb.content, cb.content_path, cb.api_key, originalContentBlock.apiHost, cb.created_at, cb.updated_at, originalContentBlock.defaultContent, cb.version); }
renuo/renuo-cms-client
src/app/data/services/data_converter.ts
TypeScript
MethodDeclaration
extractObjectFromHash(originalContentBlock:ContentBlock, rawAjaxArray:AjaxContentBlocksHash):ContentBlock { const rawData = rawAjaxArray[originalContentBlock.contentPath]; return rawData ? this.convertJson(originalContentBlock, rawData) : originalContentBlock; }
renuo/renuo-cms-client
src/app/data/services/data_converter.ts
TypeScript
MethodDeclaration
convertJsonObjectToHash(rawJsonObject:AjaxContentBlocks):AjaxContentBlocksHash { const hash:AjaxContentBlocksHash = {}; return rawJsonObject.content_blocks.reduce((map, jsonContentBlock) => { map[jsonContentBlock.content_path] = jsonContentBlock; return map; }, hash); }
renuo/renuo-cms-client
src/app/data/services/data_converter.ts
TypeScript
MethodDeclaration
convertJsonObjectToCredentials(credentials:AjaxRenuoUploadCredentials):RenuoUploadCredentials { const cred = credentials.renuo_upload_credentials; return new RenuoUploadCredentials(cred.api_key, cred.signing_url); }
renuo/renuo-cms-client
src/app/data/services/data_converter.ts
TypeScript
ArrowFunction
(value, key) => { const webviewSelector = `.show-file-icons .webview-${key}-name-file-icon::before`; if (URI.isUri(value)) { cssRules.push(`${webviewSelector} { content: ""; background-image: url(${value.toString()}); }`); } else { cssRules.push(`.vs ${webviewSelector} { content: ""; background-image:...
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
ArrowFunction
link => { if (this._events && this._events.onDidClickLink) { this._events.onDidClickLink(link, this._options); } }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
ArrowFunction
message => { if (this._events && this._events.onMessage) { this._events.onMessage(message); } }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
ArrowFunction
message => { this._scrollYPercentage = message.scrollYPercentage; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
ArrowFunction
newState => { this._state.state = newState; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
ClassDeclaration
export class RevivedWebviewEditorInput extends WebviewEditorInput { private _revived: boolean = false; constructor( viewType: string, id: number | undefined, name: string, options: WebviewInputOptions, state: any, events: WebviewEvents, extension: undefined | { readonly location: URI; readonly i...
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
private static updateStyleElement( id: number, iconPath: { light: URI, dark: URI } | undefined ) { if (!this._styleElement) { this._styleElement = dom.createStyleSheet(); this._styleElement.className = 'webview-icons'; } if (!iconPath) { this._icons.delete(id); } else { this._icons.set(id, ic...
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public getTypeId(): string { return WebviewEditorInput.typeId; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public getId(): number { return this._id; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public dispose() { this.disposeWebview(); if (this._container) { this._container.remove(); this._container = undefined; } if (this._events && this._events.onDispose) { this._events.onDispose(); } this._events = undefined; this._webview = undefined; super.dispose(); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public getResource(): URI { return URI.from({ scheme: 'webview-panel', path: `webview-panel/webview-${this._id}` }); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public getName(): string { return this._name; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public getTitle() { return this.getName(); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public getDescription() { return null; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public setName(value: string): void { this._name = value; this._onDidChangeLabel.fire(); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public matches(other: IEditorInput): boolean { return other === this || (other instanceof WebviewEditorInput && other._id === this._id); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public setOptions(value: WebviewOptions) { this._options = { ...this._options, ...value }; if (this._webview) { this._webview.options = { allowScripts: this._options.enableScripts, localResourceRoots: this._options.localResourceRoots, portMappings: this._options.portMapping, }; } }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public resolve(): Promise<IEditorModel> { return Promise.resolve(new EditorModel()); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public supportsSplitEditor() { return false; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public claimWebview(owner: any) { this._webviewOwner = owner; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public releaseWebview(owner: any) { if (this._webviewOwner === owner) { this._webviewOwner = undefined; if (this._options.retainContextWhenHidden && this._container) { this._container.style.visibility = 'hidden'; } else { this.disposeWebview(); } } }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public disposeWebview() { // The input owns the webview and its parent if (this._webview) { this._webview.dispose(); this._webview = undefined; } this._webviewDisposables = dispose(this._webviewDisposables); this._webviewOwner = undefined; if (this._container) { this._container.style.visibility...
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public updateGroup(group: GroupIdentifier): void { this._group = group; }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
MethodDeclaration
public async resolve(): Promise<IEditorModel> { if (!this._revived) { this._revived = true; await this.reviver(this); } return super.resolve(); }
jaouher77/VScode
src/vs/workbench/contrib/webview/electron-browser/webviewEditorInput.ts
TypeScript
FunctionDeclaration
/** * Gets the sprite type */ //% blockHidden=1 shim=ENUM_GET //% blockId=spritetype block="$kind" enumInitialMembers="Player,Projectile,Food,Enemy" //% enumName=SpriteKind enumMemberName=kind enumPromptHint="e.g. Coin, Fireball, Asteroid..." export function _spriteType(kind: number): number { return ...
ElectronicCats/pxt-common-packages
libs/game/spriteevents.ts
TypeScript
FunctionDeclaration
/** * Run code when a certain kind of sprite is created * @param kind * @param sprite */ //% group="Lifecycle" draggableParameters="reporter" weight=97 //% blockId=spritesoncreated block="on created $sprite of kind $kind=spritetype" //% help=sprites/on-created export function onCreated(kind: number,...
ElectronicCats/pxt-common-packages
libs/game/spriteevents.ts
TypeScript
FunctionDeclaration
/** * Run code when a certain kind of sprite is destroyed * @param kind * @param sprite */ //% group="Lifecycle" //% weight=96 draggableParameters="reporter" //% blockId=spritesondestroyed block="on destroyed $sprite of kind $kind=spritetype " //% help=sprites/on-destroyed export function onDestroye...
ElectronicCats/pxt-common-packages
libs/game/spriteevents.ts
TypeScript
FunctionDeclaration
/** * Run code when two kinds of sprites overlap */ //% group="Overlaps" //% weight=100 draggableParameters="reporter" //% blockId=spritesoverlap block="on $sprite of kind $kind=spritetype overlaps $otherSprite of kind $otherKind=spritetype" //% help=sprites/on-overlap //% blockGap=8 export function onOverlap...
ElectronicCats/pxt-common-packages
libs/game/spriteevents.ts
TypeScript
FunctionDeclaration
/** * Run code when a certain kind of sprite hits a tile * @param direction * @param tile * @param handler */ //% group="Collisions" //% weight=100 draggableParameters="reporter" //% blockId=spritesollisions block="on $sprite of kind $kind=spritetype hits wall $tile=colorindexpicker" //% help=s...
ElectronicCats/pxt-common-packages
libs/game/spriteevents.ts
TypeScript
ArrowFunction
() => { it("fallback to index when avatar don't have `key`", () => { const avatar: AvatarProps = { name: 'test_user', }; const key = composeUniqueKey(avatar, 0); expect(key).toEqual(0); }); it('use key for the unique key', () => { const avatar: AvatarProps = { name: 'test_user',...
pioug/atlassian-frontend-mirror
design-system/avatar-group/src/components/__tests__/unit/util.tsx
TypeScript
ArrowFunction
() => { const avatar: AvatarProps = { name: 'test_user', }; const key = composeUniqueKey(avatar, 0); expect(key).toEqual(0); }
pioug/atlassian-frontend-mirror
design-system/avatar-group/src/components/__tests__/unit/util.tsx
TypeScript
ArrowFunction
() => { const avatar: AvatarProps = { name: 'test_user', key: 'test@atlassian.com', }; const key = composeUniqueKey(avatar, 0); expect(key).toEqual('test@atlassian.com'); }
pioug/atlassian-frontend-mirror
design-system/avatar-group/src/components/__tests__/unit/util.tsx
TypeScript
ClassDeclaration
/** * Represents a Workspace definition. */ export class Workspace extends pulumi.CustomResource { /** * Get an existing Workspace resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. ...
pulumi/pulumi-azure-nextgen
sdk/nodejs/desktopvirtualization/v20191210preview/workspace.ts
TypeScript
InterfaceDeclaration
/** * The set of arguments for constructing a Workspace resource. */ export interface WorkspaceArgs { /** * List of applicationGroup resource Ids. */ readonly applicationGroupReferences?: pulumi.Input<pulumi.Input<string>[]>; /** * Description of Workspace. */ readonly description?...
pulumi/pulumi-azure-nextgen
sdk/nodejs/desktopvirtualization/v20191210preview/workspace.ts
TypeScript
MethodDeclaration
/** * Get an existing Workspace resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings...
pulumi/pulumi-azure-nextgen
sdk/nodejs/desktopvirtualization/v20191210preview/workspace.ts
TypeScript
MethodDeclaration
/** * Returns true if the given object is an instance of Workspace. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ public static isInstance(obj: any): obj is Workspace { if (obj === undefined || obj === null) { return...
pulumi/pulumi-azure-nextgen
sdk/nodejs/desktopvirtualization/v20191210preview/workspace.ts
TypeScript
ClassDeclaration
@Component({ selector: 'app-lessThan-fieldName-validator', templateUrl: './less-than-field-name.component.html' }) export class LessThanFieldNameValidatorComponent implements OnInit { userFormGroup: FormGroup constructor( private formBuilder: FormBuilder ) { } ngOnInit() { this.user...
DarshiL7/rxweb.io
Examples/angular/ExampleViewer/src/assets/examples/reactive-form-validators/validators/lessThan/fieldName/less-than-field-name.component.ts
TypeScript
MethodDeclaration
ngOnInit() { this.userFormGroup = this.formBuilder.group({ obtainedMarks:['',], otherActivityMarks:['', RxwebValidators.lessThan({fieldName:'obtainedMarks' })], }); }
DarshiL7/rxweb.io
Examples/angular/ExampleViewer/src/assets/examples/reactive-form-validators/validators/lessThan/fieldName/less-than-field-name.component.ts
TypeScript
InterfaceDeclaration
declare interface Menu { path: string; name?: string; meta: { icon?: string; title: string; show?: boolean; }; children?: Array<Menu>; }
kyon4sos/ani-nest
ani-vue/src/types/menu.d.ts
TypeScript
FunctionDeclaration
function boldify(s: string): React.ReactNode { const fragments = s.split('**'); return fragments.map((substr, index) => { return index % 2 === 0 ? substr : <b>{substr}</b>; }); }
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
ArrowFunction
(substr, index) => { return index % 2 === 0 ? substr : <b>{substr}</b>; }
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
ArrowFunction
() => { const worksheetUrl = getTablePublicUrl(tablesData[0].spreadsheetId, tablesData[0].sheetId); const email = 'cherebedov.sergey@gmail.com'; const github = 'https://github.com/sonic16x/interslavic'; const source = 'http://steen.free.fr/interslavic'; let version = `v${VERSION...
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutSmallTitle')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutInterslavic')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutJoinText')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutTranslationsTable')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('nonCommercialDisclaimer')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutDeveloper')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutAuthorSergeyCherebedov')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutDeveloperCoauthors')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutAuthorDenisShabalin')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutAuthorJaroslavSerhieiev')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutTranslators')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutTranslatorsText')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutSourceCode')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
MethodDeclaration
t('aboutOurFriends')
Zmicier21/interslavic
src/components/About/index.tsx
TypeScript
EnumDeclaration
export declare enum AuthenticationType { FINGERPRINT = 1, FACIAL_RECOGNITION = 2 }
2j2e/expo
packages/expo-local-authentication/build/LocalAuthentication.types.d.ts
TypeScript
TypeAliasDeclaration
export declare type LocalAuthenticationResult = { success: true; } | { success: false; error: string; };
2j2e/expo
packages/expo-local-authentication/build/LocalAuthentication.types.d.ts
TypeScript
TypeAliasDeclaration
export declare type AuthOptions = { promptMessage?: string; fallbackLabel?: string; };
2j2e/expo
packages/expo-local-authentication/build/LocalAuthentication.types.d.ts
TypeScript
ClassDeclaration
/** @doc_url https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html#cluster-reroute-api-request-body */ export class Command { /** * Cancel allocation of a shard (or recovery). Accepts index and shard for index name and shard number, and node for the node to cancel the shard allocatio...
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
export class CommandCancelAction { index: IndexName shard: integer node: string allow_primary?: boolean }
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
export class CommandAction { index: IndexName shard: integer node: string /** By default only replica shard allocations can be cancelled. If it is necessary to cancel the allocation of a primary shard then the allow_primary flag must also be included in the request. */ allow_primary?: boolean }
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
export class CommandMoveAction { index: IndexName shard: integer /** The node to move the shard from */ from_node: string /** The node to move the shard to */ to_node: string }
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
/** * @doc_url https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cluster.html */ export class CommandAllocateReplicaAction { index: IndexName shard: integer node: string }
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
export class CommandAllocatePrimaryAction { index: IndexName shard: integer node: string /** If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly se...
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
export class RerouteDecision { decider: string decision: string explanation: string }
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript
ClassDeclaration
export class RerouteExplanation { command: string decisions: RerouteDecision[] parameters: RerouteParameters }
dimitris-athanasiou/elasticsearch-specification
specification/cluster/reroute/types.ts
TypeScript