type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
ArrowFunction |
(loggedIn, rawAccounts, time) => {
if (!loggedIn) {
return false;
}
return shouldUpdate(rawAccounts, {
staleTime: ms.minutes(10),
now: time,
});
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(accounts) => {
let restrictions: CashRestriction[] = [];
accounts.map((account: Account) => {
account.cash_restrictions.map((cashRestriction: CashRestriction) => {
restrictions.push(cashRestriction);
return null;
});
return null;
});
restrictions = restrictions.sort((a: CashRestriction... | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(account: Account) => {
account.cash_restrictions.map((cashRestriction: CashRestriction) => {
restrictions.push(cashRestriction);
return null;
});
return null;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(cashRestriction: CashRestriction) => {
restrictions.push(cashRestriction);
return null;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(a: CashRestriction, b: CashRestriction) =>
a.account > b.account ? 1 : 0 | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(state: AppState) => state.accountBalances | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(pathname) => {
let accountId = null;
if (pathname && pathname.split('/').length >= 6) {
accountId = pathname.split('/')[5];
}
return accountId;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(accountId, allBalances) => {
let balances = null;
if (
accountId &&
allBalances &&
allBalances[accountId] &&
allBalances[accountId].data
) {
balances = allBalances[accountId].data;
}
return balances;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(state: AppState) =>
state.accountPositions | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(accountId, allPositions) => {
let positions = null;
if (
accountId &&
allPositions &&
allPositions[accountId] &&
allPositions[accountId].data
) {
positions = allPositions[accountId].data;
}
return positions;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(accountId, allPositions) => {
let error = false;
if (
accountId &&
allPositions &&
allPositions[accountId] &&
allPositions[accountId].lastError
) {
error = true;
}
return error;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(accounts) => {
let hiddenAccounts = [];
hiddenAccounts = accounts.filter((a) => a.portfolio_group === null);
return hiddenAccounts;
} | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ArrowFunction |
(a) => a.portfolio_group === null | Gideonking/passiv-web | src/selectors/accounts.ts | TypeScript |
ClassDeclaration | /**
* Helper component for optional text properties.
*
* Accepts same props as Text component,
* and `component` which may be a string, a function, null or undefined.
*
* If it is null or undefined, will render nothing.
* If it is a function, will call it with props passed to this component.
* Otherwise, will r... | Full-stack-Web-Dev-BD/react-native-ui-kitten | src/components/devsupport/components/falsyText/falsyText.component.tsx | TypeScript |
InterfaceDeclaration |
export interface FalsyTextProps extends Omit<TextProps, 'children'> {
component?: RenderProp<TextProps> | React.ReactText;
} | Full-stack-Web-Dev-BD/react-native-ui-kitten | src/components/devsupport/components/falsyText/falsyText.component.tsx | TypeScript |
MethodDeclaration |
public render(): React.ReactElement {
const { component, ...textProps } = this.props;
if (!component) {
return null;
}
if (React.isValidElement(component)) {
return React.cloneElement(component, textProps as TextProps);
}
if (typeof component === 'function') {
return React.... | Full-stack-Web-Dev-BD/react-native-ui-kitten | src/components/devsupport/components/falsyText/falsyText.component.tsx | TypeScript |
FunctionDeclaration |
export function getBrowserFamily(): BrowserFamily {
const noWebRTC = +!('RTCDataChannel' in window)
const noPointerEvent = +!('PointerEvent' in window)
const noAudioBuffer = +!('AudioBuffer' in window)
const noWebGLSync = +!('noWebGLSync' in window)
if (noWebRTC + noPointerEvent + noAudioBuffer + noWebGLSyn... | Adrthegamedev/external-protocol-flooding | packages/client/src/detector/browser.ts | TypeScript |
ClassDeclaration | /**
* Cloud Filestore API
*
* The Cloud Filestore API is used for creating and managing cloud file
* servers.
*
* @example
* const {google} = require('googleapis');
* const file = google.file('v1beta1');
*
* @namespace file
* @type {Function}
* @version v1beta1
* @variation v1beta... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
ClassDeclaration |
export class Resource$Projects {
locations: Resource$Projects$Locations;
constructor() {
this.locations = new Resource$Projects$Locations();
}
} | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
ClassDeclaration |
export class Resource$Projects$Locations {
instances: Resource$Projects$Locations$Instances;
operations: Resource$Projects$Locations$Operations;
constructor() {
this.instances = new Resource$Projects$Locations$Instances();
this.operations = new Resource$Projects$Locations$Operations();
}
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Options extends GlobalOptions {
version: 'v1beta1';
} | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
interface StandardParameters {
/**
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
alt?: string;
/**
* JSONP
*/
callback?: string;
/**
* Selector specifying ... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* A generic empty message that you can re-use to avoid defining duplicated
* empty messages in your APIs. A typical example is to use it as the request
* or the response type of an API method. For instance: service Foo { rpc
* Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The J... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* File share configuration for the instance.
*/
export interface Schema$FileShareConfig {
/**
* File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as
* 1024^3 bytes.
*/
capacityGb?: string;
/**
* The name of the file share (must be 16 characters or less).
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* A Cloud Filestore instance.
*/
export interface Schema$Instance {
/**
* Output only. The time when the instance was created.
*/
createTime?: string;
/**
* Optional. A description of the instance (2048 characters or less).
*/
description?: string;
/**
* Server-spe... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* ListInstancesResponse is the result of ListInstancesRequest.
*/
export interface Schema$ListInstancesResponse {
/**
* A list of instances in the project for the specified location. If the
* {location} value in the request is "-", the response contains a
* list of instances from... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* The response message for Locations.ListLocations.
*/
export interface Schema$ListLocationsResponse {
/**
* A list of locations that matches the specified filter in the request.
*/
locations?: Schema$Location[];
/**
* The standard List next-page token.
*/
nextPageToken?: s... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* The response message for Operations.ListOperations.
*/
export interface Schema$ListOperationsResponse {
/**
* The standard List next-page token.
*/
nextPageToken?: string;
/**
* A list of operations that matches the specified filter in the request.
*/
operations?: Schema$... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* A resource that represents Google Cloud Platform location.
*/
export interface Schema$Location {
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*/
displayName?: string;
/**
* Cross-service attributes for the location... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* Network configuration for the instance.
*/
export interface Schema$NetworkConfig {
/**
* Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet
* 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block
* 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* This resource represents a long-running operation that is the result of a
* network API call.
*/
export interface Schema$Operation {
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* Represents the metadata of the long-running operation.
*/
export interface Schema$OperationMetadata {
/**
* [Output only] API version used to start the operation.
*/
apiVersion?: string;
/**
* [Output only] Identifies whether the user has requested cancellation of
* the opera... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration | /**
* The `Status` type defines a logical error model that is suitable for
* different programming environments, including REST APIs and RPC APIs. It is
* used by [gRPC](https://github.com/grpc). The error model is designed to be:
* - Simple to use and understand for most users - Flexible enough to meet
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Get extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* Resource name for the location.
*/
name?: string;
} | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$List extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The standard list filter.
*/
filter?: string;
/**
* The resource that... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Instances$Create extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The name of the instance to create. The name must be unique for the
* ... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Instances$Delete extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The instance resource name, in the format
* projects/{project_id}/loca... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Instances$Get extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The instance resource name, in the format
* projects/{project_id}/locatio... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Instances$List extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* List filter.
*/
filter?: string;
/**
* Sort results. Suppor... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Instances$Patch extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* Output only. The resource name of the instance, in the format
* project... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Operations$Cancel extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The name of the operation resource to be cancelled.
*/
name?: str... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Operations$Delete extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The name of the operation resource to be deleted.
*/
name?: strin... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Operations$Get extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The name of the operation resource.
*/
name?: string;
} | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
InterfaceDeclaration |
export interface Params$Resource$Projects$Locations$Operations$List extends
StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
/**
* The standard list filter.
*/
filter?: string;
/**
* The na... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.get
* @desc Gets information about a location.
* @alias file.projects.locations.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Resource name for the location.
* @param {object} [options] Optionally... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(params: Params$Resource$Projects$Locations$Get,
options: MethodOptions|BodyResponseCallback<Schema$Location>,
callback: BodyResponseCallback<Schema$Location>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(params: Params$Resource$Projects$Locations$Get,
callback: BodyResponseCallback<Schema$Location>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(paramsOrCallback?: Params$Resource$Projects$Locations$Get|
BodyResponseCallback<Schema$Location>,
optionsOrCallback?: MethodOptions|BodyResponseCallback<Schema$Location>,
callback?: BodyResponseCallback<Schema$Location>):
void|GaxiosPromise<Schema$Location> {
let params =
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.list
* @desc Lists information about the supported locations for this service.
* @alias file.projects.locations.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter The standard list filter.
* @param... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
params: Params$Resource$Projects$Locations$List,
options: MethodOptions|
BodyResponseCallback<Schema$ListLocationsResponse>,
callback: BodyResponseCallback<Schema$ListLocationsResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
params: Params$Resource$Projects$Locations$List,
callback: BodyResponseCallback<Schema$ListLocationsResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
paramsOrCallback?: Params$Resource$Projects$Locations$List|
BodyResponseCallback<Schema$ListLocationsResponse>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$ListLocationsResponse>,
callback?: BodyResponseCallback<Schema$ListLocationsResponse>):
vo... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.instances.create
* @desc Creates an instance.
* @alias file.projects.locations.instances.create
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.instanceId The name of the instance to create. The name must be uni... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
create(
params: Params$Resource$Projects$Locations$Instances$Create,
options: MethodOptions|BodyResponseCallback<Schema$Operation>,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
create(
params: Params$Resource$Projects$Locations$Instances$Create,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
create(
paramsOrCallback?: Params$Resource$Projects$Locations$Instances$Create|
BodyResponseCallback<Schema$Operation>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$Operation>,
callback?: BodyResponseCallback<Schema$Operation>):
void|GaxiosPromise<Schem... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.instances.delete
* @desc Deletes an instance.
* @alias file.projects.locations.instances.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name The instance resource name, in the format projects/{project_id}... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(
params: Params$Resource$Projects$Locations$Instances$Delete,
options: MethodOptions|BodyResponseCallback<Schema$Operation>,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(
params: Params$Resource$Projects$Locations$Instances$Delete,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(
paramsOrCallback?: Params$Resource$Projects$Locations$Instances$Delete|
BodyResponseCallback<Schema$Operation>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$Operation>,
callback?: BodyResponseCallback<Schema$Operation>):
void|GaxiosPromise<Schem... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.instances.get
* @desc Gets the details of a specific instance.
* @alias file.projects.locations.instances.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name The instance resource name, in the format project... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(params: Params$Resource$Projects$Locations$Instances$Get,
options: MethodOptions|BodyResponseCallback<Schema$Instance>,
callback: BodyResponseCallback<Schema$Instance>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(params: Params$Resource$Projects$Locations$Instances$Get,
callback: BodyResponseCallback<Schema$Instance>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(callback: BodyResponseCallback<Schema$Instance>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(paramsOrCallback?: Params$Resource$Projects$Locations$Instances$Get|
BodyResponseCallback<Schema$Instance>,
optionsOrCallback?: MethodOptions|BodyResponseCallback<Schema$Instance>,
callback?: BodyResponseCallback<Schema$Instance>):
void|GaxiosPromise<Schema$Instance> {
let par... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.instances.list
* @desc Lists all instances in a project for either a specified location or
* for all locations.
* @alias file.projects.locations.instances.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} param... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
params: Params$Resource$Projects$Locations$Instances$List,
options: MethodOptions|
BodyResponseCallback<Schema$ListInstancesResponse>,
callback: BodyResponseCallback<Schema$ListInstancesResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
params: Params$Resource$Projects$Locations$Instances$List,
callback: BodyResponseCallback<Schema$ListInstancesResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(callback: BodyResponseCallback<Schema$ListInstancesResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
paramsOrCallback?: Params$Resource$Projects$Locations$Instances$List|
BodyResponseCallback<Schema$ListInstancesResponse>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$ListInstancesResponse>,
callback?: BodyResponseCallback<Schema$ListInstancesResponse>):
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.instances.patch
* @desc Updates the settings of a specific instance.
* @alias file.projects.locations.instances.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Output only. The resource name of the ins... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
patch(
params: Params$Resource$Projects$Locations$Instances$Patch,
options: MethodOptions|BodyResponseCallback<Schema$Operation>,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
patch(
params: Params$Resource$Projects$Locations$Instances$Patch,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
patch(callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
patch(
paramsOrCallback?: Params$Resource$Projects$Locations$Instances$Patch|
BodyResponseCallback<Schema$Operation>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$Operation>,
callback?: BodyResponseCallback<Schema$Operation>):
void|GaxiosPromise<Schema$... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.operations.cancel
* @desc Starts asynchronous cancellation on a long-running operation. The
* server makes a best effort to cancel the operation, but success is not
* guaranteed. If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENT... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
cancel(
params: Params$Resource$Projects$Locations$Operations$Cancel,
options: MethodOptions|BodyResponseCallback<Schema$Empty>,
callback: BodyResponseCallback<Schema$Empty>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
cancel(
params: Params$Resource$Projects$Locations$Operations$Cancel,
callback: BodyResponseCallback<Schema$Empty>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
cancel(
paramsOrCallback?: Params$Resource$Projects$Locations$Operations$Cancel|
BodyResponseCallback<Schema$Empty>,
optionsOrCallback?: MethodOptions|BodyResponseCallback<Schema$Empty>,
callback?: BodyResponseCallback<Schema$Empty>):
void|GaxiosPromise<Schema$Empty> {
let... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.operations.delete
* @desc Deletes a long-running operation. This method indicates that the
* client is no longer interested in the operation result. It does not
* cancel the operation. If the server doesn't support this method, it
* returns `google.rpc.Code.UNIMPLE... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(
params: Params$Resource$Projects$Locations$Operations$Delete,
options: MethodOptions|BodyResponseCallback<Schema$Empty>,
callback: BodyResponseCallback<Schema$Empty>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(
params: Params$Resource$Projects$Locations$Operations$Delete,
callback: BodyResponseCallback<Schema$Empty>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
delete(
paramsOrCallback?: Params$Resource$Projects$Locations$Operations$Delete|
BodyResponseCallback<Schema$Empty>,
optionsOrCallback?: MethodOptions|BodyResponseCallback<Schema$Empty>,
callback?: BodyResponseCallback<Schema$Empty>):
void|GaxiosPromise<Schema$Empty> {
let... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.operations.get
* @desc Gets the latest state of a long-running operation. Clients can use
* this method to poll the operation result at intervals as recommended by
* the API service.
* @alias file.projects.locations.operations.get
* @memberOf! ()
*
... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(params: Params$Resource$Projects$Locations$Operations$Get,
options: MethodOptions|BodyResponseCallback<Schema$Operation>,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(params: Params$Resource$Projects$Locations$Operations$Get,
callback: BodyResponseCallback<Schema$Operation>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
get(paramsOrCallback?: Params$Resource$Projects$Locations$Operations$Get|
BodyResponseCallback<Schema$Operation>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$Operation>,
callback?: BodyResponseCallback<Schema$Operation>):
void|GaxiosPromise<Schema$Operation> {... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration | /**
* file.projects.locations.operations.list
* @desc Lists operations that match the specified filter in the request. If
* the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE:
* the `name` binding allows API services to override the binding to use
* different resource name... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
params: Params$Resource$Projects$Locations$Operations$List,
options: MethodOptions|
BodyResponseCallback<Schema$ListOperationsResponse>,
callback: BodyResponseCallback<Schema$ListOperationsResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
params: Params$Resource$Projects$Locations$Operations$List,
callback: BodyResponseCallback<Schema$ListOperationsResponse>): void; | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
MethodDeclaration |
list(
paramsOrCallback?: Params$Resource$Projects$Locations$Operations$List|
BodyResponseCallback<Schema$ListOperationsResponse>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$ListOperationsResponse>,
callback?: BodyResponseCallback<Schema$ListOperationsResponse... | AVaksman/google-api-nodejs-client | src/apis/file/v1beta1.ts | TypeScript |
FunctionDeclaration |
export default function (props: GraphDashboardProps) {
const { storeSources } = props;
return [
<LineGraph title="Slow Raft Proposals" sources={storeSources}>
<Axis label="proposals">
<Metric name="cr.store.requests.slow.raft" title="Slow Raft Proposals" downsampleMax />
</Axis>
</Line... | 123youyouer/cockroach | pkg/ui/src/views/cluster/containers/nodeGraphs/dashboards/requests.tsx | TypeScript |
ArrowFunction |
(props: {floating?: boolean; collapsed?: boolean}) => ({
flexShrink: 0,
padding: props.floating ? 10 : 0,
borderBottom: props.collapsed ? 'none' : BORDER,
}) | EricAtPlanGrid/flipper | src/ui/components/Panel.tsx | TypeScript |
ArrowFunction |
(props: {floating?: boolean; padded?: boolean}) => ({
backgroundColor: '#f6f7f9',
border: props.floating ? BORDER : 'none',
borderBottom: BORDER,
borderTopLeftRadius: 2,
borderTopRightRadius: 2,
justifyContent: 'space-between',
lineHeight: '27px',
fontWeight: 500,
... | EricAtPlanGrid/flipper | src/ui/components/Panel.tsx | TypeScript |
ArrowFunction |
(props: {floating?: boolean; padded?: boolean}) => ({
backgroundColor: '#fff',
border: props.floating ? BORDER : 'none',
borderBottomLeftRadius: 2,
borderBottomRightRadius: 2,
borderTop: 'none',
flexGrow: 1,
padding: props.padded ? 10 : 0,
overflow: 'visible',
}) | EricAtPlanGrid/flipper | src/ui/components/Panel.tsx | TypeScript |
ArrowFunction |
() => this.setState({collapsed: !this.state.collapsed}) | EricAtPlanGrid/flipper | src/ui/components/Panel.tsx | TypeScript |
ClassDeclaration | /**
* A Panel component.
*/
export default class Panel extends React.Component<
{
/**
* Class name to customise styling.
*/
className?: string;
/**
* Whether this panel is floating from the rest of the UI. ie. if it has
* margin and a border.
*/
floating?: boolean;
/**
... | EricAtPlanGrid/flipper | src/ui/components/Panel.tsx | TypeScript |
MethodDeclaration |
render() {
const {
padded,
children,
className,
grow,
floating,
heading,
collapsable,
accessory,
} = this.props;
const {collapsed} = this.state;
return (
<Panel.PanelContainer
className={className}
floating={floating}
grow={g... | EricAtPlanGrid/flipper | src/ui/components/Panel.tsx | TypeScript |
ArrowFunction |
_type => BoolFieldUpdateOperationsInput | ayushpandey8439/backend | graphql/generated/resolvers/inputs/Instructor_screeningUpdateWithoutScreenerInput.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.