type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
MethodDeclaration
fromBuffer(bytes:Buffer, offset:number = 0):number { this.codecid = bintools.copyFrom(bytes, offset, offset + 2).readUInt16BE(0); offset += 2; const txtype:number = bintools.copyFrom(bytes, offset, offset + 4).readUInt32BE(0); offset += 4; this.transaction = SelectTxClass(txtype); return this.t...
Dijets-Inc/dijetsJS
src/apis/avm/tx.ts
TypeScript
MethodDeclaration
/** * Signs this [[UnsignedTx]] and returns signed [[StandardTx]] * * @param kc An [[KeyChain]] used in signing * * @returns A signed [[StandardTx]] */ sign(kc:KeyChain):Tx { const txbuff = this.toBuffer(); const msg:Buffer = Buffer.from(createHash('sha256').update(txbuff).digest()); const...
Dijets-Inc/dijetsJS
src/apis/avm/tx.ts
TypeScript
MethodDeclaration
//serialize is inherited deserialize(fields:object, encoding:SerializedEncoding = "hex") { super.deserialize(fields, encoding); this.unsignedTx = new UnsignedTx(); this.unsignedTx.deserialize(fields["unsignedTx"], encoding); this.credentials = []; for(let i = 0; i < fields["credentials"].length; i++...
Dijets-Inc/dijetsJS
src/apis/avm/tx.ts
TypeScript
MethodDeclaration
/** * Takes a {@link https://github.com/feross/buffer|Buffer} containing an [[Tx]], parses it, populates the class, and returns the length of the Tx in bytes. * * @param bytes A {@link https://github.com/feross/buffer|Buffer} containing a raw [[Tx]] * @param offset A number representing the starting point o...
Dijets-Inc/dijetsJS
src/apis/avm/tx.ts
TypeScript
ArrowFunction
(predeterminado: 127.0.0.1)
Dancecoindev/Dance-coin
src/qt/locale/bitcoin_es_DO.ts
TypeScript
ArrowFunction
(predeterminado: 100)
Dancecoindev/Dance-coin
src/qt/locale/bitcoin_es_DO.ts
TypeScript
FunctionDeclaration
/** * Returns whether the given Space is reserved or not. * * @param space the space * @returns boolean */ export function isReservedSpace(space?: Partial<Space> | null): boolean { return get(space, '_reserved', false); }
LeckerDuplo/kibana
x-pack/plugins/spaces/common/is_reserved_space.ts
TypeScript
ArrowFunction
() => { const visibleEditor = _editors.getVisibleTextEditors(); for (const value of this._insets.values()) { if (visibleEditor.indexOf(value.editor) < 0) { value.inset.dispose(); // will remove from `this._insets` } } }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
ArrowFunction
value => value.inset.dispose()
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
ClassDeclaration
export class ExtHostEditorInsets implements ExtHostEditorInsetsShape { private _handlePool = 0; private _disposables = new DisposableStore(); private _insets = new Map<number, { editor: vscode.TextEditor, inset: vscode.WebviewEditorInset, onDidReceiveMessage: Emitter<any> }>(); constructor( private readonly _p...
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
dispose(): void { this._insets.forEach(value => value.inset.dispose()); this._disposables.dispose(); }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
createWebviewEditorInset(editor: vscode.TextEditor, line: number, height: number, options: vscode.WebviewOptions | undefined, extension: IExtensionDescription): vscode.WebviewEditorInset { let apiEditor: ExtHostTextEditor | undefined; for (const candidate of this._editors.getVisibleTextEditors(true)) { if (can...
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
asWebviewUri(resource: vscode.Uri): vscode.Uri { const remoteAuthority = that._initData.remote.isRemote ? that._initData.remote.authority : undefined; return asWebviewUri(this._uuid, resource, remoteAuthority); }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
postMessage(message: any): Thenable<boolean> { return that._proxy.$postMessage(handle, message); }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
dispose(): void { if (that._insets.has(handle)) { that._insets.delete(handle); that._proxy.$disposeEditorInset(handle); onDidDispose.fire(); // final cleanup onDidDispose.dispose(); onDidReceiveMessage.dispose(); } }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
$onDidDispose(handle: number): void { const value = this._insets.get(handle); if (value) { value.inset.dispose(); } }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
MethodDeclaration
$onDidReceiveMessage(handle: number, message: any): void { const value = this._insets.get(handle); if (value) { value.onDidReceiveMessage.fire(message); } }
huszkacs/vscode
src/vs/workbench/api/common/extHostCodeInsets.ts
TypeScript
ArrowFunction
(resolve) => { $.ajax({ headers: headers, url: Constants.apiRoot + 'order/customer/number', method: 'get', dataType: 'json', success: (result) => { resolve(result); }, error: ...
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
ArrowFunction
(result) => { resolve(result); }
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
ArrowFunction
(xhr, error) => { resolve(false); }
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
ArrowFunction
(resolve) => { const headers: any = { 'X-Auth-Token': user.getToken() }; $.ajax({ headers: headers, url: Constants.apiRoot + 'order/customer', method: 'get', dataType: 'json', success: (r...
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
ArrowFunction
(result: Array<any>) => { const orders: Array<OrderModel> = result.map((order: any) => { return (new OrderModel()).deserialize(order); }) resolve(orders); }
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
ArrowFunction
(order: any) => { return (new OrderModel()).deserialize(order); }
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
ClassDeclaration
export class OrderService { public constructor() {} public getOrdersNumber(user: UserModel): Promise<any> { const headers: any = { 'X-Auth-Token': user.getToken() }; return new Promise((resolve) => { $.ajax({ headers: headers, url...
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
MethodDeclaration
public getOrdersNumber(user: UserModel): Promise<any> { const headers: any = { 'X-Auth-Token': user.getToken() }; return new Promise((resolve) => { $.ajax({ headers: headers, url: Constants.apiRoot + 'order/customer/number', ...
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
MethodDeclaration
public getCustomerOrders(user: UserModel): Promise<any> { return new Promise((resolve) => { const headers: any = { 'X-Auth-Token': user.getToken() }; $.ajax({ headers: headers, url: Constants.apiRoot + 'order/customer', ...
dacodemaniak/www_theiere
web/src/services/order.service.ts
TypeScript
FunctionDeclaration
/** * Creates a polyhedron mesh * * The parameter `type` (positive integer, max 14, default 0) sets the polyhedron type to build among the 15 embbeded types. Please refer to the type sheet in the tutorial to choose the wanted type * * The parameter `size` (positive float, default 1) sets the polygon size * * Yo...
jokester/Babylon.js
packages/dev/core/src/Meshes/Builders/polyhedronBuilder.ts
TypeScript
ArrowFunction
( name: string, options: { type?: number; size?: number; sizeX?: number; sizeY?: number; sizeZ?: number; custom?: any; faceUV?: Vector4[]; faceColors?: Color4[]; updatable?: boolean; sideOrientation?: number; }, ...
jokester/Babylon.js
packages/dev/core/src/Meshes/Builders/polyhedronBuilder.ts
TypeScript
ClassDeclaration
export default class LoaderIndicator extends React.Component<Props, State> { constructor(props: Props); render(): JSX.Element | null; renderWaiting(): JSX.Element | null; renderPending(): JSX.Element | null; renderError(): JSX.Element | null; renderCanceled(): JSX.Element | null; renderDone...
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
InterfaceDeclaration
interface Props { loadingInformation: LoaderRequest.Informations; waiting?: string | false; pending?: string | false; error?: string | false; canceled?: string | false; done?: string | false; contentStrategy?: ContentStrategy; }
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
InterfaceDeclaration
interface State { }
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
MethodDeclaration
render(): JSX.Element | null;
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
MethodDeclaration
renderWaiting(): JSX.Element | null;
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
MethodDeclaration
renderPending(): JSX.Element | null;
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
MethodDeclaration
renderError(): JSX.Element | null;
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
MethodDeclaration
renderCanceled(): JSX.Element | null;
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
MethodDeclaration
renderDone(): JSX.Element | null;
MeuhMeuhConcept/react-mobx-loader
build/loader-indicator.d.ts
TypeScript
ClassDeclaration
@Injectable() export class RethinkService { constructor(private rethinkRepository: RethinkRepository) {} async createTable(nameTable: string) { const result = await this.rethinkRepository.createTable(nameTable); return result; } }
CristianMacha/cab-rest-api
src/rethink/rethink.service.ts
TypeScript
MethodDeclaration
async createTable(nameTable: string) { const result = await this.rethinkRepository.createTable(nameTable); return result; }
CristianMacha/cab-rest-api
src/rethink/rethink.service.ts
TypeScript
MethodDeclaration
/** * 创建托管域名 */ async CreateHostingDomain( req: CreateHostingDomainRequest, cb?: (error: string, rep: CreateHostingDomainResponse) => void ): Promise<CreateHostingDomainResponse> { return this.request("CreateHostingDomain", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取终端用户列表 */ async DescribeEndUsers( req: DescribeEndUsersRequest, cb?: (error: string, rep: DescribeEndUsersResponse) => void ): Promise<DescribeEndUsersResponse> { return this.request("DescribeEndUsers", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询后付费短信资源量 1 有免费包的返回SmsFreeQuota结构所有字段 2 没有免费包,有付费包,付费返回复用SmsFreeQuota结构,其中只有 TodayUsedQuota 字段有效 3 都没有返回为空数组 */ async DescribeSmsQuotas( req: DescribeSmsQuotasRequest, cb?: (error: string, rep: DescribeSmsQuotasResponse) => void ): Promise<DescribeSmsQuotasResponse> { return this.request(...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数 */ async DescribeEnvs( req: DescribeEnvsRequest, cb?: (error: string, rep: DescribeEnvsResponse) => void ): Promise<DescribeEnvsResponse> { return this.request("DescribeEnvs", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 增加安全域名 */ async CreateAuthDomain( req: CreateAuthDomainRequest, cb?: (error: string, rep: CreateAuthDomainResponse) => void ): Promise<CreateAuthDomainResponse> { return this.request("CreateAuthDomain", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 创建服务版本 */ async CreateCloudBaseRunServerVersion( req: CreateCloudBaseRunServerVersionRequest, cb?: (error: string, rep: CreateCloudBaseRunServerVersionResponse) => void ): Promise<CreateCloudBaseRunServerVersionResponse> { return this.request("CreateCloudBaseRunServerVersion", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询服务版本的详情,CPU和MEM 请使用CPUSize和MemSize */ async DescribeCloudBaseRunServerVersion( req: DescribeCloudBaseRunServerVersionRequest, cb?: (error: string, rep: DescribeCloudBaseRunServerVersionResponse) => void ): Promise<DescribeCloudBaseRunServerVersionResponse> { return this.request("DescribeClo...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取安全域名列表 */ async DescribeAuthDomains( req: DescribeAuthDomainsRequest, cb?: (error: string, rep: DescribeAuthDomainsResponse) => void ): Promise<DescribeAuthDomainsResponse> { return this.request("DescribeAuthDomains", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 开通后付费资源 */ async CreatePostpayPackage( req: CreatePostpayPackageRequest, cb?: (error: string, rep: CreatePostpayPackageResponse) => void ): Promise<CreatePostpayPackageResponse> { return this.request("CreatePostpayPackage", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查看容器托管的集群状态 */ async DescribeCloudBaseRunResource( req: DescribeCloudBaseRunResourceRequest, cb?: (error: string, rep: DescribeCloudBaseRunResourceResponse) => void ): Promise<DescribeCloudBaseRunResourceResponse> { return this.request("DescribeCloudBaseRunResource", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取云开发项目列表 */ async DescribeCloudBaseProjectLatestVersionList( req: DescribeCloudBaseProjectLatestVersionListRequest, cb?: (error: string, rep: DescribeCloudBaseProjectLatestVersionListResponse) => void ): Promise<DescribeCloudBaseProjectLatestVersionListResponse> { return this.request("Describ...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 针对已隔离的免费环境,可以通过本接口将其恢复访问。 */ async ReinstateEnv( req: ReinstateEnvRequest, cb?: (error: string, rep: ReinstateEnvResponse) => void ): Promise<ReinstateEnvResponse> { return this.request("ReinstateEnv", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取终端用户总量与平台分布情况 */ async DescribeEndUserStatistic( req: DescribeEndUserStatisticRequest, cb?: (error: string, rep: DescribeEndUserStatisticResponse) => void ): Promise<DescribeEndUserStatisticResponse> { return this.request("DescribeEndUserStatistic", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查看容器托管的集群状态扩展使用 */ async DescribeCloudBaseRunResourceForExtend( req: DescribeCloudBaseRunResourceForExtendRequest, cb?: (error: string, rep: DescribeCloudBaseRunResourceForExtendResponse) => void ): Promise<DescribeCloudBaseRunResourceForExtendResponse> { return this.request("DescribeCloudBase...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 管理终端用户 */ async ModifyEndUser( req: ModifyEndUserRequest, cb?: (error: string, rep: ModifyEndUserResponse) => void ): Promise<ModifyEndUserResponse> { return this.request("ModifyEndUser", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取增值包计费相关信息 */ async DescribeExtraPkgBillingInfo( req: DescribeExtraPkgBillingInfoRequest, cb?: (error: string, rep: DescribeExtraPkgBillingInfoResponse) => void ): Promise<DescribeExtraPkgBillingInfoResponse> { return this.request("DescribeExtraPkgBillingInfo", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取后付费免费额度 */ async DescribePostpayPackageFreeQuotas( req: DescribePostpayPackageFreeQuotasRequest, cb?: (error: string, rep: DescribePostpayPackageFreeQuotasResponse) => void ): Promise<DescribePostpayPackageFreeQuotasResponse> { return this.request("DescribePostpayPackageFreeQuotas", req, cb)...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 创建云应用服务 */ async EstablishCloudBaseRunServer( req: EstablishCloudBaseRunServerRequest, cb?: (error: string, rep: EstablishCloudBaseRunServerResponse) => void ): Promise<EstablishCloudBaseRunServerResponse> { return this.request("EstablishCloudBaseRunServer", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * TCB云API统一入口 */ async CommonServiceAPI( req: CommonServiceAPIRequest, cb?: (error: string, rep: CommonServiceAPIResponse) => void ): Promise<CommonServiceAPIResponse> { return this.request("CommonServiceAPI", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 创建云开发项目 */ async CreateAndDeployCloudBaseProject( req: CreateAndDeployCloudBaseProjectRequest, cb?: (error: string, rep: CreateAndDeployCloudBaseProjectResponse) => void ): Promise<CreateAndDeployCloudBaseProjectResponse> { return this.request("CreateAndDeployCloudBaseProject", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 检查是否开通Tcb服务 */ async CheckTcbService( req?: CheckTcbServiceRequest, cb?: (error: string, rep: CheckTcbServiceResponse) => void ): Promise<CheckTcbServiceResponse> { return this.request("CheckTcbService", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 删除终端用户 */ async DeleteEndUser( req: DeleteEndUserRequest, cb?: (error: string, rep: DeleteEndUserResponse) => void ): Promise<DeleteEndUserResponse> { return this.request("DeleteEndUser", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取环境终端用户新增与登录信息 */ async DescribeEndUserLoginStatistic( req: DescribeEndUserLoginStatisticRequest, cb?: (error: string, rep: DescribeEndUserLoginStatisticResponse) => void ): Promise<DescribeEndUserLoginStatisticResponse> { return this.request("DescribeEndUserLoginStatistic", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询指定指标的配额使用量 */ async DescribeQuotaData( req: DescribeQuotaDataRequest, cb?: (error: string, rep: DescribeQuotaDataResponse) => void ): Promise<DescribeQuotaDataResponse> { return this.request("DescribeQuotaData", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 开通容器托管的资源,包括集群创建,VPC配置,异步任务创建,镜像托管,Coding等,查看创建结果需要根据DescribeCloudBaseRunResource接口来查看 */ async CreateCloudBaseRunResource( req: CreateCloudBaseRunResourceRequest, cb?: (error: string, rep: CreateCloudBaseRunResourceResponse) => void ): Promise<CreateCloudBaseRunResourceResponse> { return this...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 删除云项目 */ async DeleteCloudBaseProjectLatestVersion( req: DeleteCloudBaseProjectLatestVersionRequest, cb?: (error: string, rep: DeleteCloudBaseProjectLatestVersionResponse) => void ): Promise<DeleteCloudBaseProjectLatestVersionResponse> { return this.request("DeleteCloudBaseProjectLatestVersion...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取下载文件信息 */ async DescribeDownloadFile( req: DescribeDownloadFileRequest, cb?: (error: string, rep: DescribeDownloadFileResponse) => void ): Promise<DescribeDownloadFileResponse> { return this.request("DescribeDownloadFile", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 更新环境信息 */ async ModifyEnv( req: ModifyEnvRequest, cb?: (error: string, rep: ModifyEnvResponse) => void ): Promise<ModifyEnvResponse> { return this.request("ModifyEnv", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取数据库权限 */ async DescribeDatabaseACL( req: DescribeDatabaseACLRequest, cb?: (error: string, rep: DescribeDatabaseACLResponse) => void ): Promise<DescribeDatabaseACLResponse> { return this.request("DescribeDatabaseACL", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 销毁环境 */ async DestroyEnv( req: DestroyEnvRequest, cb?: (error: string, rep: DestroyEnvResponse) => void ): Promise<DestroyEnvResponse> { return this.request("DestroyEnv", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 获取云托管代码上传url */ async DescribeCloudBaseBuildService( req: DescribeCloudBaseBuildServiceRequest, cb?: (error: string, rep: DescribeCloudBaseBuildServiceResponse) => void ): Promise<DescribeCloudBaseBuildServiceResponse> { return this.request("DescribeCloudBaseBuildService", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询版本历史 */ async DescribeCloudBaseRunVersionSnapshot( req: DescribeCloudBaseRunVersionSnapshotRequest, cb?: (error: string, rep: DescribeCloudBaseRunVersionSnapshotResponse) => void ): Promise<DescribeCloudBaseRunVersionSnapshotResponse> { return this.request("DescribeCloudBaseRunVersionSnapsho...
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 销毁静态托管资源,该接口创建异步销毁任务,资源最终状态可从DestroyStaticStore接口查看 */ async DestroyStaticStore( req: DestroyStaticStoreRequest, cb?: (error: string, rep: DestroyStaticStoreResponse) => void ): Promise<DestroyStaticStoreResponse> { return this.request("DestroyStaticStore", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 修改数据库权限 */ async ModifyDatabaseACL( req: ModifyDatabaseACLRequest, cb?: (error: string, rep: ModifyDatabaseACLResponse) => void ): Promise<ModifyDatabaseACLResponse> { return this.request("ModifyDatabaseACL", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 创建静态托管资源,包括COS和CDN,异步任务创建,查看创建结果需要根据DescribeStaticStore接口来查看 */ async CreateStaticStore( req: CreateStaticStoreRequest, cb?: (error: string, rep: CreateStaticStoreResponse) => void ): Promise<CreateStaticStoreResponse> { return this.request("CreateStaticStore", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询环境个数上限 */ async DescribeEnvLimit( req?: DescribeEnvLimitRequest, cb?: (error: string, rep: DescribeEnvLimitResponse) => void ): Promise<DescribeEnvLimitResponse> { return this.request("DescribeEnvLimit", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询后付费资源免费量 */ async DescribePostpayFreeQuotas( req: DescribePostpayFreeQuotasRequest, cb?: (error: string, rep: DescribePostpayFreeQuotasResponse) => void ): Promise<DescribePostpayFreeQuotasResponse> { return this.request("DescribePostpayFreeQuotas", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
MethodDeclaration
/** * 查询后付费免费配额信息 */ async DescribeEnvFreeQuota( req: DescribeEnvFreeQuotaRequest, cb?: (error: string, rep: DescribeEnvFreeQuotaResponse) => void ): Promise<DescribeEnvFreeQuotaResponse> { return this.request("DescribeEnvFreeQuota", req, cb) }
WANGMUXIAN/tencentcloud-sdk-nodejs
src/services/tcb/v20180608/tcb_client.ts
TypeScript
ArrowFunction
() => { let wrapper: ShallowWrapper<any, Readonly<{}>, React.Component<{}, {}, any>>; afterEach(() => { wrapper && wrapper.unmount(); }); it('should change input value after change props', () => { wrapper = shallow(<RangeDatePicker value={ null } onValueChange=...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { wrapper && wrapper.unmount(); }
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { wrapper = shallow(<RangeDatePicker value={ null } onValueChange={ () => { } }
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { wrapper = shallow(<RangeDatePicker value={ null } onValueChange={ () => { } }
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let newState: any = {}; wrapper = shallow(<RangeDatePicker value={ null } onValueChange={ (nV: any) => newState = nV }
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-10-47', to: '2019-10-07' }; const onValueChangeSpy = jest.fn((nV: any) => null); wrapper = shallow(<RangeDatePicker value={ baseValue } onValueChange={ onValueChangeSpy } />, {}); (wrapper.instance() as any).handleBl...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
(nV: any) => null
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-09-10', to: '2019-09-12' }; const onValueChangeSpy = jest.fn((nV: any) => null); const setStateSpy = jest.fn((nextState) => null); const pickerSetState = RangeDatePicker.prototype.setState; RangeDatePicker.prototype.setState = setStateSpy;...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
(nextState) => null
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let inputValue = { from: 'Sep 11, 2019', to: 'Sep 20, 2019' }; let value = { from: '2019-09-14', to: '2019-09-15' }; const setValueSpy = jest.fn((nV: any) => null); const pickerSetValue = RangeDatePicker.prototype.setValue; wrapper = shallow(<RangeDatePicker ...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-09-10', to: '2019-10-10' }; const setStateSpy = jest.fn((nextState) => null); const pickerSetState = RangeDatePicker.prototype.setState; RangeDatePicker.prototype.setState = setStateSpy; wrapper = shallow(<RangeDatePicker valu...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-09-10', to: '2019-09-12' }; const onValueChangeSpy = jest.fn((nV: any) => null); const setStateSpy = jest.fn((nextState) => null); const pickerSetState = RangeDatePicker.prototype.setState; RangeDatePicker.prototype.setState = setStateSpy;...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-09-10', to: '2019-09-12' }; wrapper = shallow(<RangeDatePicker value={ baseValue } onValueChange={ () => { } }
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-09-10', to: '2019-09-12' }; let inputValue = { from: 'Sep 10, 2019', to: 'Sep 12, 2019' }; const setValueSpy = jest.fn((nV: any) => null); const focusSpy = jest.fn((nV: any) => null); const pickerSetValue = RangeDatePicker.prototype.setValu...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { wrapper = shallow(<RangeDatePicker value={ { from: null, to: null } }
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
ArrowFunction
() => { let baseValue = { from: '2019-09-10', to: '2019-09-10' }; const onValueChangeSpy = jest.fn((nV: any) => null); const setStateSpy = jest.fn((nextState) => null); const pickerSetState = RangeDatePicker.prototype.setState; RangeDatePicker.prototype.setState = setStateSpy;...
AndreiMarhatau/UUI
loveship/components/datePickers/__tests__/RangeDataPicker.test.tsx
TypeScript
FunctionDeclaration
export async function* listDistributionConfigurationsPaginate( config: ImagebuilderPaginationConfiguration, input: ListDistributionConfigurationsCommandInput, ...additionalArguments: any ): Paginator<ListDistributionConfigurationsCommandOutput> { let token: string | undefined = config.startingToken || undefine...
brmur/aws-sdk-js-v3
clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts
TypeScript
ArrowFunction
async ( client: ImagebuilderClient, input: ListDistributionConfigurationsCommandInput, ...args: any ): Promise<ListDistributionConfigurationsCommandOutput> => { // @ts-ignore return await client.send(new ListDistributionConfigurationsCommand(input, ...args)); }
brmur/aws-sdk-js-v3
clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts
TypeScript
ArrowFunction
async ( client: Imagebuilder, input: ListDistributionConfigurationsCommandInput, ...args: any ): Promise<ListDistributionConfigurationsCommandOutput> => { // @ts-ignore return await client.listDistributionConfigurations(input, ...args); }
brmur/aws-sdk-js-v3
clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts
TypeScript
ArrowFunction
({ element, children, scale }) => ( <g> <path style={
ls1intum/Apollon
src/main/packages/uml-class-diagram/uml-class-package/uml-class-package-component.tsx
TypeScript
InterfaceDeclaration
interface Props { element: UMLClassPackage; scale: number; }
ls1intum/Apollon
src/main/packages/uml-class-diagram/uml-class-package/uml-class-package-component.tsx
TypeScript
ClassDeclaration
export class TeamMembershipTeam extends pulumi.CustomResource { /** * Get an existing TeamMembershipTeam 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 _uniqu...
RichardWLaub/pulumi-github
sdk/nodejs/teamMembershipTeam.ts
TypeScript
InterfaceDeclaration
/** * Input properties used for looking up and filtering TeamMembershipTeam resources. */ export interface TeamMembershipTeamState { readonly etag?: pulumi.Input<string>; readonly role?: pulumi.Input<string>; readonly teamId?: pulumi.Input<string>; readonly username?: pulumi.Input<string>; }
RichardWLaub/pulumi-github
sdk/nodejs/teamMembershipTeam.ts
TypeScript