2020-06-21 19:41:00 +03:00
<!doctype html>
< html class = "minimal no-js" >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< title > DeleteBuilder | etcd3< / title >
2020-11-29 07:10:17 +03:00
< meta name = "description" content = "Documentation for etcd3" >
2020-06-21 19:41:00 +03:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2020-11-29 07:10:17 +03:00
< style type = "text/css" > / * ! n o r m a l i z e . c s s v 1 . 1 . 3 | M I T L i c e n s e | g i t . i o / n o r m a l i z e * / a r t i c l e , a s i d e , d e t a i l s , f i g c a p t i o n , f i g u r e , f o o t e r , h e a d e r , h g r o u p , m a i n , n a v , s e c t i o n , s u m m a r y { d i s p l a y : b l o c k } a u d i o , c a n v a s , v i d e o { d i s p l a y : i n l i n e - b l o c k ; * d i s p l a y : i n l i n e ; * z o o m : 1 } a u d i o : n o t ( [ c o n t r o l s ] ) { d i s p l a y : n o n e ; h e i g h t : 0 } [ h i d d e n ] { d i s p l a y : n o n e } h t m l { f o n t - s i z e : 1 0 0 % ; - m s - t e x t - s i z e - a d j u s t : 1 0 0 % ; - w e b k i t - t e x t - s i z e - a d j u s t : 1 0 0 % ; f o n t - f a m i l y : s a n s - s e r i f } b u t t o n , i n p u t , s e l e c t , t e x t a r e a { f o n t - f a m i l y : s a n s - s e r i f } b o d y { m a r g i n : 0 } a : f o c u s { o u t l i n e : t h i n d o t t e d } a : a c t i v e , a : h o v e r { o u t l i n e : 0 } h 1 { f o n t - s i z e : 2 e m ; m a r g i n : . 6 7 e m 0 } h 2 { f o n t - s i z e : 1 . 5 e m ; m a r g i n : . 8 3 e m 0 } h 3 { f o n t - s i z e : 1 . 1 7 e m ; m a r g i n : 1 e m 0 } h 4 , . t s d - i n d e x - p a n e l h 3 { f o n t - s i z e : 1 e m ; m a r g i n : 1 . 3 3 e m 0 } h 5 { f o n t - s i z e : . 8 3 e m ; m a r g i n : 1 . 6 7 e m 0 } h 6 { f o n t - s i z e : . 6 7 e m ; m a r g i n : 2 . 3 3 e m 0 } a b b r [ t i t l e ] { b o r d e r - b o t t o m : 1 p x d o t t e d } b , s t r o n g { f o n t - w e i g h t : b o l d } b l o c k q u o t e { m a r g i n : 1 e m 4 0 p x } d f n { f o n t - s t y l e : i t a l i c } h r { - m o z - b o x - s i z i n g : c o n t e n t - b o x ; b o x - s i z i n g : c o n t e n t - b o x ; h e i g h t : 0 } m a r k { b a c k g r o u n d : # f f 0 ; c o l o r : # 0 0 0 } p , p r e { m a r g i n : 1 e m 0 } c o d e , k b d , p r e , s a m p { f o n t - f a m i l y : m o n o s p a c e , s e r i f ; _ f o n t - f a m i l y : " c o u r i e r n e w " , m o n o s p a c e ; f o n t - s i z e : 1 e m } p r e { w h i t e - s p a c e : p r e ; w h i t e - s p a c e : p r e - w r a p ; w o r d - w r a p : b r e a k - w o r d } q { q u o t e s : n o n e } q : b e f o r e , q : a f t e r { c o n t e n t : " " ; c o n t e n t : n o n e } s m a l l { f o n t - s i z e : 8 0 % } s u b { f o n t - s i z e : 7 5 % ; l i n e - h e i g h t : 0 ; p o s i t i o n : r e l a t i v e ; v e r t i c a l - a l i g n : b a s e l i n e } s u p { f o n t - s i z e : 7 5 % ; l i n e - h e i g h t : 0 ; p o s i t i o n : r e l a t i v e ; v e r t i c a l - a l i g n : b a s e l i n e ; t o p : - 0 . 5 e m } s u b { b o t t o m : - 0 . 2 5 e m } d l , m e n u , o l , u l { m a r g i n : 1 e m 0 } d d { m a r g i n : 0 0 0 4 0 p x } m e n u , o l , u l { p a d d i n g : 0 0 0 4 0 p x } n a v u l , n a v o l { l i s t - s t y l e : n o n e ; l i s t - s t y l e - i m a g e : n o n e } i m g { b o r d e r : 0 ; - m s - i n t e r p o l a t i o n - m o d e : b i c u b i c } s v g : n o t ( : r o o t ) { o v e r f l o w : h i d d e n } f i g u r e , f o r m { m a r g i n : 0 } f i e l d s e t { b o r d e r : 1 p x s o l i d s i l v e r ; m a r g i n : 0 2 p x ; p a d d i n g : . 3 5 e m . 6 2 5 e m . 7 5 e m } l e g e n d { b o r d e r : 0 ; p a d d i n g : 0 ; w h i t e - s p a c e : n o r m a l ; * m a r g i n - l e f t : - 7 p x } b u t t o n , i n p u t , s e l e c t , t e x t a r e a { f o n t - s i z e : 1 0 0 % ; m a r g i n : 0 ; v e r t i c a l - a l i g n : b a s e l i n e ; * v e r t i c a l - a l i g n : m i d d l e } b u t t o n , i n p u t { l i n e - h e i g h t : n o r m a l } b u t t o n , s e l e c t { t e x t - t r a n s f o r m : n o n e } b u t t o n , h t m l i n p u t [ t y p e = b u t t o n ] { - w e b k i t - a p p e a r a n c e : b u t t o n ; c u r s o r : p o i n t e r ; * o v e r f l o w : v i s i b l e } i n p u t [ t y p e = r e s e t ] , i n p u t [ t y p e = s u b m i t ] { - w e b k i t - a p p e a r a n c e : b u t t o n ; c u r s o r : p o i n t e r ; * o v e r f l o w : v i s i b l e } b u t t o n [ d i s a b l e d ] , h t m l i n p u t [ d i s a b l e d ] { c u r s o r : d e f a u l t } i n p u t [ t y p e = c h e c k b o x ] , i n p u t [ t y p e = r a d i o ] { b o x - s i z i n g : b o r d e r - b o x ; p a d d i n g : 0 ; * h e i g h t : 1 3 p x ; * w i d t h : 1 3 p x } i n p u t [ t y p e = s e a r c h ] { - w e b k i t - a p p e a r a n c e : t e x t f i e l d ; - m o z - b o x - s i z i n g : c o n t e n t - b o x ; - w e b k i t - b o x - s i z i n g : c o n t e n t - b o x ; b o x - s i z i n g : c o n t e n t - b o x } i n p u t [ t y p e = s e a r c h ] : : - w e b k i t - s e a r c h - c a n c e l - b u t t o n , i n p u t [ t y p e = s e a r c h ] : : - w e b k i t - s e a r c h - d e c o r a t i o n { - w e b k i t - a p p e a r a n c e : n o n e } b u t t o n : : - m o z - f o c u s - i n n e r , i n p u t : : - m o z - f o c u s - i n n e r { b o r d e r : 0 ; p a d d i n g : 0 } t e x t a r e a { o v e r f l o w : a u t o ; v e r t i c a l - a l i g n : t o p } t a b l e { b o r d e r - c o l l a p s e : c o l l a p s e ; b o r d e r - s p a c i n g : 0 } . h l j s { d i s p l a y : i n l i n e - b l o c k ; p a d d i n g : . 5 e m ; b a c k g r o u n d : # f f f ; c o l o r : # 0 0 0 } . h l j s - c o m m e n t , . h l j s - a n n o t a t i o n , . h l j s - t e m p l a t e _ c o m m e n t , . d i f f . h l j s - h e a d e r , . h l j s - c h u n k , . a p a c h e . h l j s - c b r a c k e t { c o l o r : g r e e n } . h l j s - k e y w o r d , . h l j s - i d , . h l j s - b u i l t _ i n , . c s s . s m a l l t a l k . h l j s - c l a s s , . h l j s - w i n u t i l s , . b a s h . h l j s - v a r i a b l e , . t e x . h l j s - c o m m a n d , . h l j s - r e q u e s t , . h l j s - s t a t u s , . n g i n x . h l j s - t i t l e { c o l o r : b l u e } . x m l . h l j s - t a g { c o l o r : b l u e } . x m l . h l j s - t a g . h l j s - v a l u e { c o l o r : b l u e } . h l j s - s t r i n g , . h l j s - t i t l e , . h l j s - p a r e n t , . h l j s - t a g . h l j s - v a l u e , . h l j s - r u l e s . h l j s - v a l u e { c o l o r : # a 3 1 5 1 5 } . r u b y . h l j s - s y m b o l { c o l o r : # a 3 1 5 1 5 } . r u b y . h l j s - s y m b o l . h l j s - s t r i n g { c o l o r : # a 3 1 5 1 5 } . h l j s - t e m p l a t e _ t a g , . d j a n g o . h l j s - v a r i a b l e , . h l j s - a d d i t i o n , . h l j s - f l o w , . h l j s - s t r e a m , . a p a c h e . h l j s - t a g , . h l j s - d a t e , . t e x . h l j s - f o r m u l a , . c o f f e e s c r i p t . h l j s - a t t r i b u t e { c o l o r : # a 3 1 5 1 5 } . r u b y . h l j s - s t r i n g , . h l j s - d e c o r a t o r , . h l j s - f i l t e r . h l j s - a r g u m e n t , . h l j s - l o c a l v a r s , . h l j s - a r r a y , . h l j s - a t t r _ s e l e c t o r , . h l j s - p s e u d o , . h l j s - p i , . h l j s - d o c t y p e , . h l j s - d e l e t i o n , . h l j s - e n v v a r , . h l j s - s h e b a n g , . h l j s - p r e p r o c e s s o r , . h l j s - p r a g m a , . u s e r T y p e , . a p a c h e . h l j s - s q b r a c k e t , . n g i n x . h l j s - b u i l t _ i n , . t e x . h l j s - s p e c i a l , . h l j s - p r o m p t { c o l o r : # 2 b 9 1 a f } . h l j s - p h p d o c , . h l j s - j a v a d o c , . h l j s - x m l D o c T a g { c o l o r : g r a y } . v h d l . h l j s - t y p e n a m e { f o n t - w e i g h t : b o l d } . v h d l . h l j s - s t r i n g { c o l o r : # 6 6 6 } . v h d l . h l j s - l i t e r a l { c o l o r : # a 3 1 5 1 5 } . v h d l . h l j s - a t t r i b u t e { c o l o r : # 0 0 b 0 e 8 } . x m l . h l j s - a t t r i b u t e { c o l o r : r e d } u l . t s d - d e s c r i p t i o n s > l i > : f i r s t - c h i l d , . t s d - p a n e l > : f i r s t - c h i l d , . c o l > : f i r s t - c h i l d , . c o l - 1 1 > : f i r s t - c h i l d , . c o l - 1 0
2020-06-21 19:41:00 +03:00
< / style >
< / head >
< body >
< header >
< div class = "tsd-page-toolbar" >
< div class = "container" >
< div class = "table-wrap" >
< div class = "table-cell" >
< strong > < a href = "../index.html" > etcd3< / a > < / strong >
< / div >
< div class = "table-cell" id = "tsd-widgets" >
< div id = "tsd-filter" >
< a href = "#" class = "tsd-widget options no-caption" data-toggle = "options" > Options< / a >
< div class = "tsd-filter-group" >
< div class = "tsd-select" id = "tsd-filter-visibility" >
< span class = "tsd-select-label" > All< / span >
< ul class = "tsd-select-list" >
< li data-value = "public" > Public< / li >
< li data-value = "protected" > Public/Protected< / li >
< li data-value = "private" class = "selected" > All< / li >
< / ul >
< / div >
< input type = "checkbox" id = "tsd-filter-inherited" checked / >
< label class = "tsd-widget" for = "tsd-filter-inherited" > Inherited< / label >
< input type = "checkbox" id = "tsd-filter-externals" checked / >
< label class = "tsd-widget" for = "tsd-filter-externals" > Externals< / label >
< input type = "checkbox" id = "tsd-filter-only-exported" / >
< label class = "tsd-widget" for = "tsd-filter-only-exported" > Only exported< / label >
< / div >
< / div >
< a href = "#typedoc-main-index" class = "tsd-widget menu no-caption" > Menu< / a >
< / div >
< / div >
< / div >
< / div >
< / header >
< nav class = "tsd-navigation secondary" >
< ul >
2020-11-29 07:10:17 +03:00
< li class = "current tsd-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html" class = "tsd-kind-icon" > Delete< wbr > Builder< / a >
< ul >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-constructor tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#constructor" class = "tsd-kind-icon" > constructor< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#all" class = "tsd-kind-icon" > all< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#catch" class = "tsd-kind-icon" > catch< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#createpromise" class = "tsd-kind-icon" > create< wbr > Promise< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#exec" class = "tsd-kind-icon" > exec< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#getprevious" class = "tsd-kind-icon" > get< wbr > Previous< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#inrange" class = "tsd-kind-icon" > in< wbr > Range< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#key" class = "tsd-kind-icon" > key< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#op" class = "tsd-kind-icon" > op< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#options" class = "tsd-kind-icon" > options< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#prefix" class = "tsd-kind-icon" > prefix< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#range" class = "tsd-kind-icon" > range< / a >
< / li >
2020-11-29 07:10:17 +03:00
< li class = " tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a href = "deletebuilder.html#then" class = "tsd-kind-icon" > then< / a >
< / li >
< / ul >
< / li >
< / ul >
< / nav >
< div class = "container container-main" >
< div class = "content-wrap" >
< section class = "tsd-panel tsd-comment" >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > DeleteBuilder builds a deletion.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-hierarchy" >
< h3 > Hierarchy< / h3 >
< ul class = "tsd-hierarchy" >
< li >
2020-11-29 07:10:17 +03:00
< a href = "promisewrap.html" class = "tsd-signature-type" > PromiseWrap< / a > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > > < / span >
2020-06-21 19:41:00 +03:00
< ul class = "tsd-hierarchy" >
< li >
< span class = "target" > DeleteBuilder< / span >
< / li >
< / ul >
< / li >
< / ul >
< / section >
< section class = "tsd-panel" >
< h3 > Implements< / h3 >
< ul class = "tsd-hierarchy" >
< li > < span class = "tsd-signature-type" > PromiseLike< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< / section >
< section class = "tsd-panel-group tsd-index-group" >
< h2 > Index< / h2 >
< section class = "tsd-panel tsd-index-panel" >
< div class = "tsd-index-content" >
2020-11-29 07:10:17 +03:00
< section class = "tsd-index-section tsd-is-external" >
2020-06-21 19:41:00 +03:00
< h3 > Constructors< / h3 >
< ul class = "tsd-index-list" >
2020-11-29 07:10:17 +03:00
< li class = "tsd-kind-constructor tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#constructor" class = "tsd-kind-icon" > constructor< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-index-section tsd-is-external" >
2020-06-21 19:41:00 +03:00
< h3 > Methods< / h3 >
< ul class = "tsd-index-list" >
2020-11-29 07:10:17 +03:00
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#all" class = "tsd-kind-icon" > all< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" > < a href = "deletebuilder.html#catch" class = "tsd-kind-icon" > catch< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected tsd-is-external" > < a href = "deletebuilder.html#createpromise" class = "tsd-kind-icon" > create< wbr > Promise< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#exec" class = "tsd-kind-icon" > exec< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#getprevious" class = "tsd-kind-icon" > get< wbr > Previous< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#inrange" class = "tsd-kind-icon" > in< wbr > Range< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#key" class = "tsd-kind-icon" > key< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#op" class = "tsd-kind-icon" > op< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#options" class = "tsd-kind-icon" > options< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#prefix" class = "tsd-kind-icon" > prefix< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-external" > < a href = "deletebuilder.html#range" class = "tsd-kind-icon" > range< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" > < a href = "deletebuilder.html#then" class = "tsd-kind-icon" > then< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / section >
< / div >
< / section >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel-group tsd-member-group tsd-is-external" >
2020-06-21 19:41:00 +03:00
< h2 > Constructors< / h2 >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "constructor" class = "tsd-anchor" > < / a >
< h3 > constructor< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-external" >
< li class = "tsd-signature tsd-kind-icon" > new < wbr > Delete< wbr > Builder< span class = "tsd-signature-symbol" > (< / span > kv< span class = "tsd-signature-symbol" > : < / span > < a href = "kvclient.html" class = "tsd-signature-type" > KVClient< / a > , namespace< span class = "tsd-signature-symbol" > : < / span > < a href = "nsapplicator.html" class = "tsd-signature-type" > NSApplicator< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < a href = "deletebuilder.html" class = "tsd-signature-type" > DeleteBuilder< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L354" > src/builder.ts:354< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > kv: < a href = "kvclient.html" class = "tsd-signature-type" > KVClient< / a > < / h5 >
< / li >
< li >
2020-11-29 07:10:17 +03:00
< h5 > namespace: < a href = "nsapplicator.html" class = "tsd-signature-type" > NSApplicator< / a > < / h5 >
2020-06-21 19:41:00 +03:00
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < a href = "deletebuilder.html" class = "tsd-signature-type" > DeleteBuilder< / a > < / h4 >
< / li >
< / ul >
< / section >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel-group tsd-member-group tsd-is-external" >
2020-06-21 19:41:00 +03:00
< h2 > Methods< / h2 >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "all" class = "tsd-anchor" > < / a >
< h3 > all< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > all< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > this< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L388" > src/builder.ts:388< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > All will instruct etcd to wipe all keys.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "catch" class = "tsd-anchor" > < / a >
< h3 > catch< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > catch< R> < span class = "tsd-signature-symbol" > (< / span > onRejected< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > err< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2020-11-29 07:10:17 +03:00
< p > Inherited from < a href = "promisewrap.html" > PromiseWrap< / a > .< a href = "promisewrap.html#catch" > catch< / a > < / p >
2020-06-21 19:41:00 +03:00
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/util.ts#L234" > src/util.ts:234< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > catch implements Promiselike.catch()< / p >
< / div >
< / div >
< h4 class = "tsd-type-parameters-title" > Type parameters< / h4 >
< ul class = "tsd-type-parameters" >
< li >
< h4 > R< / h4 >
< / li >
< / ul >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > onRejected: < span class = "tsd-signature-symbol" > (< / span > err< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > err< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > err: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "createpromise" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagProtected" > Protected< / span > create< wbr > Promise< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > create< wbr > Promise< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2020-11-29 07:10:17 +03:00
< p > Overrides < a href = "promisewrap.html" > PromiseWrap< / a > .< a href = "promisewrap.html#createpromise" > createPromise< / a > < / p >
2020-06-21 19:41:00 +03:00
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L439" > src/builder.ts:439< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< dl class = "tsd-comment-tags" >
< dt > override< / dt >
< dd > < / dd >
< / dl >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "exec" class = "tsd-anchor" > < / a >
< h3 > exec< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > exec< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L423" > src/builder.ts:423< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > exec runs the delete put request.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "getprevious" class = "tsd-anchor" > < / a >
< h3 > get< wbr > Previous< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > get< wbr > Previous< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ikeyvalue.html" class = "tsd-signature-type" > IKeyValue< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L407" > src/builder.ts:407< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > getPrevious instructs etcd to < em > try< / em > to get the previous value of the
key before setting it. One may not always be available if a compaction
takes place.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/ikeyvalue.html" class = "tsd-signature-type" > IKeyValue< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "inrange" class = "tsd-anchor" > < / a >
< h3 > in< wbr > Range< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > in< wbr > Range< span class = "tsd-signature-symbol" > (< / span > r< span class = "tsd-signature-symbol" > : < / span > < a href = "../globals.html#rangable" class = "tsd-signature-type" > Rangable< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > this< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L395" > src/builder.ts:395< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > inRange instructs the builder to delete keys in the specified byte range.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > r: < a href = "../globals.html#rangable" class = "tsd-signature-type" > Rangable< / a > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "key" class = "tsd-anchor" > < / a >
< h3 > key< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > key< span class = "tsd-signature-symbol" > (< / span > value< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Buffer< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > this< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L363" > src/builder.ts:363< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > key sets a single key to be deleted.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > value: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Buffer< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "op" class = "tsd-anchor" > < / a >
< h3 > op< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > op< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/irequestop.html" class = "tsd-signature-type" > IRequestOp< / a > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L430" > src/builder.ts:430< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Returns the request op for this builder, used in transactions.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/irequestop.html" class = "tsd-signature-type" > IRequestOp< / a > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "options" class = "tsd-anchor" > < / a >
< h3 > options< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > options< span class = "tsd-signature-symbol" > (< / span > options< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > CallOptions< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > this< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L415" > src/builder.ts:415< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Sets the GRPC call options for this request.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > options: < span class = "tsd-signature-type" > CallOptions< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "prefix" class = "tsd-anchor" > < / a >
< h3 > prefix< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > prefix< span class = "tsd-signature-symbol" > (< / span > value< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Buffer< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > this< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L372" > src/builder.ts:372< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > key sets a single key to be deleted.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > value: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Buffer< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "range" class = "tsd-anchor" > < / a >
< h3 > range< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > range< span class = "tsd-signature-symbol" > (< / span > range< span class = "tsd-signature-symbol" > : < / span > < a href = "range.html" class = "tsd-signature-type" > Range< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > this< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/builder.ts#L379" > src/builder.ts:379< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Sets the byte range of values to delete.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > range: < a href = "range.html" class = "tsd-signature-type" > Range< / a > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 >
< / li >
< / ul >
< / section >
2020-11-29 07:10:17 +03:00
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" >
2020-06-21 19:41:00 +03:00
< a name = "then" class = "tsd-anchor" > < / a >
< h3 > then< / h3 >
2020-11-29 07:10:17 +03:00
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-external" >
2020-06-21 19:41:00 +03:00
< li class = "tsd-signature tsd-kind-icon" > then< R, V> < span class = "tsd-signature-symbol" > (< / span > onFulfilled< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > value< span class = "tsd-signature-symbol" > : < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > , onRejected< span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > (< / span > err< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > V< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > V< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > V< / span > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2020-11-29 07:10:17 +03:00
< p > Inherited from < a href = "promisewrap.html" > PromiseWrap< / a > .< a href = "promisewrap.html#then" > then< / a > < / p >
2020-06-21 19:41:00 +03:00
< ul >
2020-11-29 07:10:17 +03:00
< li > Defined in < a href = "https://github.com/microsoft/etcd3/blob/4b92eed/src/util.ts#L224" > src/util.ts:224< / a > < / li >
2020-06-21 19:41:00 +03:00
< / ul >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > then implements Promiselike.then()< / p >
< / div >
< / div >
< h4 class = "tsd-type-parameters-title" > Type parameters< / h4 >
< ul class = "tsd-type-parameters" >
< li >
< h4 > R< / h4 >
< / li >
< li >
< h4 > V< / h4 >
< / li >
< / ul >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > onFulfilled: < span class = "tsd-signature-symbol" > (< / span > value< span class = "tsd-signature-symbol" > : < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > value< span class = "tsd-signature-symbol" > : < / span > < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > value: < a href = "../interfaces/ideleterangeresponse.html" class = "tsd-signature-type" > IDeleteRangeResponse< / a > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li >
< h5 > < span class = "tsd-flag ts-flagOptional" > Optional< / span > onRejected: < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > (< / span > err< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > V< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > V< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > )< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > R< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > V< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
< / section >
< footer class = "with-border-bottom" >
< div class = "container" >
< h2 > Legend< / h2 >
< div class = "tsd-legend-group" >
< ul class = "tsd-legend" >
< li class = "tsd-kind-constructor tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Constructor< / span > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Method< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < span class = "tsd-kind-icon" > Inherited method< / span > < / li >
< / ul >
< / div >
< / div >
< / footer >
< div class = "container tsd-generator" >
< p > Generated using < a href = "https://typedoc.org/" target = "_blank" > TypeDoc< / a > < / p >
< / div >
< / div >
< / div >
< script type = "text/javascript" >
2020-11-29 07:10:17 +03:00
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol& & Symbol.toStringTag& & Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1& t& & (e=r(e)),8& t)return e;if(4& t& & "object"==typeof e& & e& & e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2& t& & "string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e& & e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}([function(e,t,r){var n,i;
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/!function(){var s,o,a,u,l,c,h,d,f,p,y,m,v,g,x,w,L,E,b,S,k,Q,O,P,T,_,C=function(e){var t=new C.Builder;return t.pipeline.add(C.trimmer,C.stopWordFilter,C.stemmer),t.searchPipeline.add(C.stemmer),e.call(t,t),t.build()};C.version="2.3.9"
/*!
* lunr.utils
* Copyright (C) 2020 Oliver Nightingale
*/,C.utils={},C.utils.warn=(s=this,function(e){s.console& & console.warn& & console.warn(e)}),C.utils.asString=function(e){return null==e?"":e.toString()},C.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),r=Object.keys(e),n=0;n< r.length ; n + + ) { var i = r[n],s=e[i];if(Array.isArray(s))t[i]=s.slice();else{if("string"!=typeof s & & " number " ! = typeof s & & " boolean " ! = typeof s ) throw new TypeError ( " clone is not deep and does not support nested objects " ) ; t [ i ] = s } } return t } , C . FieldRef = function(e,t,r){this.docRef=e,this.fieldName=t,this._stringValue=r},C.FieldRef.joiner="/",C.FieldRef.fromString=function(e){var t = e.indexOf(C.FieldRef.joiner);if(-1===t)throw"malformed field ref string " ; var r = e.slice(0,t),n=e.slice(t+1);return new C . FieldRef ( n , r , e ) } , C . FieldRef . prototype . toString = function(){return null = =this._stringValue&&(this._stringValue=this.fieldName+C.FieldRef.joiner+this.docRef),this._stringValue}
/*!
* lunr.Set
* Copyright (C) 2020 Oliver Nightingale
*/,C.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t< this.length ; t + + ) this . elements [ e [ t ] ] = ! 0 } else this . length = 0},C.Set.complete={intersect:function(e){return e } , union:function ( ) { return this } , contains:function ( ) { return ! 0 } } , C . Set . empty = {intersect:function(){return this } , union:function ( e ) { return e } , contains:function ( ) { return ! 1 } } , C . Set . prototype . contains = function(e){return!!this.elements[e]},C.Set.prototype.intersect=function(e){var t , r , n , i = [];if(e===C.Set.complete)return this ; if ( e = ==C.Set.empty)return e ; this . length < e . length ? ( t = this,r=e):(t=e,r=this),n=Object.keys(t.elements);for(var s = 0;s<n.length;s++){var o = n[s];o in r . elements & & i . push ( o ) } return new C . Set ( i ) } , C . Set . prototype . union = function(e){return e = ==C.Set.complete?C.Set.complete:e===C.Set.empty?this:new C . Set ( Object . keys ( this . elements ) . concat ( Object . keys ( e . elements ) ) ) } , C . idf = function(e,t){var r = 0;for(var n in e ) " _index " ! = n & & ( r + = Object . keys ( e [ n ] ) . length ) ; var i = (t-r+.5)/(r+.5);return Math . log ( 1 + Math . abs ( i ) ) } , C . Token = function(e,t){this.str=e||"",this.metadata=t||{}},C.Token.prototype.toString=function(){return this . str } , C . Token . prototype . update = function(e){return this . str = e(this.str,this.metadata),this},C.Token.prototype.clone=function(e){return e = e||function(e){return e } , new C . Token ( e ( this . str , this . metadata ) , this . metadata ) }
/*!
* lunr.tokenizer
* Copyright (C) 2020 Oliver Nightingale
*/,C.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new C.Token(C.utils.asString(e).toLowerCase(),C.utils.clone(t))}));for(var r=e.toString().toLowerCase(),n=r.length,i=[],s=0,o=0;s< =n;s++){var a=s-o;if(r.charAt(s).match(C.tokenizer.separator)||s==n){if(a>0){var u=C.utils.clone(t)||{};u.position=[o,a],u.index=i.length,i.push(new C.Token(r.slice(o,s),u))}o=s+1}}return i},C.tokenizer.separator=/[\s\-]+/
/*!
* lunr.Pipeline
* Copyright (C) 2020 Oliver Nightingale
*/,C.Pipeline=function(){this._stack=[]},C.Pipeline.registeredFunctions=Object.create(null),C.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions& & C.utils.warn("Overwriting existing registered function: "+t),e.label=t,C.Pipeline.registeredFunctions[e.label]=e},C.Pipeline.warnIfFunctionNotRegistered=function(e){e.label& & e.label in this.registeredFunctions||C.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},C.Pipeline.load=function(e){var t=new C.Pipeline;return e.forEach((function(e){var r=C.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)})),t},C.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){C.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},C.Pipeline.prototype.after=function(e,t){C.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},C.Pipeline.prototype.before=function(e,t){C.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},C.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t& & this._stack.splice(t,1)},C.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r< t ; r + + ) { for ( var n = this._stack[r],i=[],s=0;s<e.length;s++){var o = n(e[s],s,e);if(null!=o&&""!==o)if(Array.isArray(o))for(var a = 0;a<o.length;a++)i.push(o[a]);else i . push ( o ) } e = i}return e } , C . Pipeline . prototype . runString = function(e,t){var r = new C . Token ( e , t ) ; return this . run ( [ r ] ) . map ( ( function ( e ) { return e . toString ( ) } ) ) } , C . Pipeline . prototype . reset = function(){this._stack=[]},C.Pipeline.prototype.toJSON=function(){return this . _stack . map ( ( function ( e ) { return C . Pipeline . warnIfFunctionNotRegistered ( e ) , e . label } ) ) }
/*!
* lunr.Vector
* Copyright (C) 2020 Oliver Nightingale
*/,C.Vector=function(e){this._magnitude=0,this.elements=e||[]},C.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,r=this.elements.length/2,n=r-t,i=Math.floor(n/2),s=this.elements[2*i];n>1&&(s<e&&(t=i),s>e&&(r=i),s!=e); )n=r-t,i=t+Math.floor(n/2),s=this.elements[2*i];return s==e||s>e?2*i:s< e ? 2 * ( i + 1 ) :void 0 } , C . Vector . prototype . insert = function(e,t){this.upsert(e,t,(function(){throw"duplicate index " } ) ) } , C . Vector . prototype . upsert = function(e,t,r){this._magnitude=0;var n = this.positionForIndex(e);this.elements[n]==e?this.elements[n+1]=r(this.elements[n+1],t):this.elements.splice(n,0,e,t)},C.Vector.prototype.magnitude=function(){if(this._magnitude)return this . _magnitude ; for ( var e = 0,t=this.elements.length,r=1;r<t;r+=2){var n = this.elements[r];e+=n*n}return this . _magnitude = Math.sqrt(e)},C.Vector.prototype.dot=function(e){for(var t = 0,r=this.elements,n=e.elements,i=r.length,s=n.length,o=0,a=0,u=0,l=0;u<i&&l<s;)(o=r[u])<(a=n[l])?u+=2:o > a?l+=2:o==a&&(t+=r[u+1]*n[l+1],u+=2,l+=2); return t},C.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},C.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t< this.elements.length ; t + = 2 , r + + ) e [ r ] = this . elements [ t ] ; return e } , C . Vector . prototype . toJSON = function(){return this . elements }
/*!
* lunr.stemmer
* Copyright (C) 2020 Oliver Nightingale
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/,C.stemmer=(o={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},a={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},u="[aeiouy]",l="[^aeiou][^aeiouy]*",c=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),p=/^(.+?)(ss|i)es$/,y=/^(.+?)([^s])s$/,m=/^(.+?)eed$/,v=/^(.+?)(ed|ing)$/,g=/.$/,x=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),L=new RegExp("^"+l+u+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,S=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,k=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,Q=/^(.+?)(s|t)(ion)$/,O=/^(.+?)e$/,P=/ll$/,T=new RegExp("^"+l+u+"[^aeiouwxy]$"),_=function(e){var t,r,n,i,s,u,l;if(e.length< 3 ) return e ; if ( " y " = = ( n = e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),s=y,(i=p).test(e)?e=e.replace(i,"$1$2"):s.test(e)&&(e=e.replace(s,"$1$2")),s=v,(i=m).test(e)){var _ = i.exec(e);(i=c).test(_[1])&&(i=g,e=e.replace(i,""))}else s . test ( e ) & & ( t = (_=s.exec(e))[1],(s=f).test(t)&&(u=w,l=L,(s=x).test(e=t)?e+="e":u.test(e)?(i=g,e=e.replace(i,"")):l.test(e)&&(e+="e")));return(i=E).test(e)&&(e=(t=(_=i.exec(e))[1])+"i"),(i=b).test(e)&&(t=(_=i.exec(e))[1],r=_[2],(i=c).test(t)&&(e=t+o[r])),(i=S).test(e)&&(t=(_=i.exec(e))[1],r=_[2],(i=c).test(t)&&(e=t+a[r])),s=Q,(i=k).test(e)?(t=(_=i.exec(e))[1],(i=h).test(t)&&(e=t)):s.test(e)&&(t=(_=s.exec(e))[1]+_[2],(s=h).test(t)&&(e=t)),(i=O).test(e)&&(t=(_=i.exec(e))[1],s=d,u=T,((i=h).test(t)||s.test(t)&&!u.test(t))&&(e=t)),s=h,(i=P).test(e)&&s.test(e)&&(i=g,e=e.replace(i,"")),"y"==n&&(e=n.toLowerCase()+e.substr(1)),e},function(e){return e . update ( _ ) } ) , C . Pipeline . registerFunction ( C . stemmer , " stemmer " )
/*!
* lunr.stopWordFilter
* Copyright (C) 2020 Oliver Nightingale
*/,C.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e& & t[e.toString()]!==e.toString())return e}},C.stopWordFilter=C.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),C.Pipeline.registerFunction(C.stopWordFilter,"stopWordFilter")
/*!
* lunr.trimmer
* Copyright (C) 2020 Oliver Nightingale
*/,C.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},C.Pipeline.registerFunction(C.trimmer,"trimmer")
/*!
* lunr.TokenSet
* Copyright (C) 2020 Oliver Nightingale
*/,C.TokenSet=function(){this.final=!1,this.edges={},this.id=C.TokenSet._nextId,C.TokenSet._nextId+=1},C.TokenSet._nextId=1,C.TokenSet.fromArray=function(e){for(var t=new C.TokenSet.Builder,r=0,n=e.length;r< n ; r + + ) t . insert ( e [ r ] ) ; return t . finish ( ) , t . root } , C . TokenSet . fromClause = function(e){return"editDistance"in e ? C . TokenSet . fromFuzzyString ( e . term , e . editDistance ) :C . TokenSet . fromString ( e . term ) } , C . TokenSet . fromFuzzyString = function(e,t){for(var r = new C . TokenSet , n = [{node:r,editsRemaining:t,str:e}];n.length;){var i = n.pop();if(i.str.length > 0){var s,o=i.str.charAt(0);o in i.node.edges?s=i.node.edges[o]:(s=new C.TokenSet,i.node.edges[o]=s),1==i.str.length& & (s.final=!0),n.push({node:s,editsRemaining:i.editsRemaining,str:i.str.slice(1)})}if(0!=i.editsRemaining){if("*"in i.node.edges)var a=i.node.edges["*"];else{a=new C.TokenSet;i.node.edges["*"]=a}if(0==i.str.length& & (a.final=!0),n.push({node:a,editsRemaining:i.editsRemaining-1,str:i.str}),i.str.length>1& & n.push({node:i.node,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)}),1==i.str.length& & (i.node.final=!0),i.str.length>=1){if("*"in i.node.edges)var u=i.node.edges["*"];else{u=new C.TokenSet;i.node.edges["*"]=u}1==i.str.length& & (u.final=!0),n.push({node:u,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)})}if(i.str.length>1){var l,c=i.str.charAt(0),h=i.str.charAt(1);h in i.node.edges?l=i.node.edges[h]:(l=new C.TokenSet,i.node.edges[h]=l),1==i.str.length& & (l.final=!0),n.push({node:l,editsRemaining:i.editsRemaining-1,str:c+i.str.slice(2)})}}}return r},C.TokenSet.fromString=function(e){for(var t=new C.TokenSet,r=t,n=0,i=e.length;n< i ; n + + ) { var s = e[n],o=n==i-1;if("*"==s)t.edges[s]=t,t.final=o;else{var a = new C . TokenSet ; a . final = o,t.edges[s]=a,t=a}}return r } , C . TokenSet . prototype . toArray = function(){for(var e = [],t=[{prefix:"",node:this}];t.length;){var r = t.pop(),n=Object.keys(r.node.edges),i=n.length;r.node.final&&(r.prefix.charAt(0),e.push(r.prefix));for(var s = 0;s<i;s++){var o = n[s];t.push({prefix:r.prefix.concat(o),node:r.node.edges[o]})}}return e } , C . TokenSet . prototype . toString = function(){if(this._str)return this . _str ; for ( var e = this.final?"1":"0",t=Object.keys(this.edges).sort(),r=t.length,n=0;n<r;n++){var i = t[n];e=e+i+this.edges[i].id}return e } , C . TokenSet . prototype . intersect = function(e){for(var t = new C . TokenSet , r = void 0 , n = [{qNode:e,output:t,node:this}];n.length;){r=n.pop();for(var i = Object.keys(r.qNode.edges),s=i.length,o=Object.keys(r.node.edges),a=o.length,u=0;u<s;u++)for(var l = i[u],c=0;c<a;c++){var h = o[c];if(h==l||"*"==l){var d = r.node.edges[h],f=r.qNode.edges[l],p=d.final&&f.final,y=void 0 ; h in r . output . edges ? ( y = r.output.edges[h]).final=y.final||p:((y=new C . TokenSet ) . final = p,r.output.edges[h]=y),n.push({qNode:f,output:y,node:d})}}}return t } , C . TokenSet . Builder = function(){this.previousWord="",this.root=new C . TokenSet , this . uncheckedNodes = [],this.minimizedNodes={}},C.TokenSet.Builder.prototype.insert=function(e){var t , r = 0;if(e<this.previousWord)throw new Error ( " Out of order word insertion " ) ; for ( var n = 0;n<e.length&&n<this.previousWord.length&&e[n]==this.previousWord[n];n++)r++;this.minimize(r),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(n=r;n<e.length;n++){var i = new C . TokenSet , s = e[n];t.edges[s]=i,this.uncheckedNodes.push({parent:t,char:s,child:i}),t=i}t.final=!0,this.previousWord=e},C.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},C.TokenSet.Builder.prototype.minimize=function(e){for(var t = this.uncheckedNodes.length-1;t > =e;t--){var r=this.uncheckedNodes[t],n=r.child.toString();n in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[n]:(r.child._str=n,this.minimizedNodes[n]=r.child),this.uncheckedNodes.pop()}}
/*!
* lunr.Index
* Copyright (C) 2020 Oliver Nightingale
*/,C.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},C.Index.prototype.search=function(e){return this.query((function(t){new C.QueryParser(e,t).parse()}))},C.Index.prototype.query=function(e){for(var t=new C.Query(this.fields),r=Object.create(null),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a< this.fields.length ; a + + ) n [ this . fields [ a ] ] = new C . Vector ; e . call ( t , t ) ; for ( a = 0;a<t.clauses.length;a++){var u = t.clauses[a],l=null,c=C.Set.empty;l=u.usePipeline?this.pipeline.runString(u.term,{fields:u.fields}):[u.term];for(var h = 0;h<l.length;h++){var d = l[h];u.term=d;var f = C.TokenSet.fromClause(u),p=this.tokenSet.intersect(f).toArray();if(0===p.length&&u.presence===C.Query.presence.REQUIRED){for(var y = 0;y<u.fields.length;y++){s[R=u.fields[y]]=C.Set.empty}break}for(var m = 0;m<p.length;m++){var v = p[m],g=this.invertedIndex[v],x=g._index;for(y=0;y<u.fields.length;y++){var w = g[R=u.fields[y]],L=Object.keys(w),E=v+"/"+R,b=new C . Set ( L ) ; if ( u . presence = =C.Query.presence.REQUIRED&&(c=c.union(b),void 0 = ==s[R]&&(s[R]=C.Set.complete)),u.presence!=C.Query.presence.PROHIBITED){if(n[R].upsert(x,u.boost,(function(e,t){return e + t } ) ) , ! i [ E ] ) { for ( var S = 0;S<L.length;S++){var k , Q = L[S],O=new C . FieldRef ( Q , R ) , P = w[Q];void 0 = ==(k=r[O])?r[O]=new C . MatchData ( v , R , P ) :k . add ( v , R , P ) } i [ E ] = ! 0 } } else void 0 = ==o[R]&&(o[R]=C.Set.empty),o[R]=o[R].union(b)}}}if(u.presence===C.Query.presence.REQUIRED)for(y=0;y<u.fields.length;y++){s[R=u.fields[y]]=s[R].intersect(c)}}var T = C.Set.complete,_=C.Set.empty;for(a=0;a<this.fields.length;a++){var R ; s [ R = this.fields[a]]&&(T=T.intersect(s[R])),o[R]&&(_=_.union(o[R]))}var I = Object.keys(r),j=[],F=Object.create(null);if(t.isNegated()){I=Object.keys(this.fieldVectors);for(a=0;a<I.length;a++){O=I[a];var N = C.FieldRef.fromString(O);r[O]=new C . MatchData } } for ( a = 0;a<I.length;a++){var D = (N=C.FieldRef.fromString(I[a])).docRef;if(T.contains(D)&&!_.contains(D)){var A , z = this.fieldVectors[N],q=n[N.fieldName].similarity(z);if(void 0 ! = = ( A = F[D]))A.score+=q,A.matchData.combine(r[N]);else{var V = {ref:D,score:q,matchData:r[N]};F[D]=V,j.push(V)}}}return j . sort ( ( function ( e , t ) { return t . score-e . score } ) ) } , C . Index . prototype . toJSON = function(){var e = Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:C.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},C.Index.load=function(e){var t = {},r={},n=e.fieldVectors,i=Object.create(null),s=e.invertedIndex,o=new C . TokenSet . Builder , a = C.Pipeline.load(e.pipeline);e.version!=C.version&&C.utils.warn("Version mismatch when loading serialised index . Current version of lunr ' " + C . version + " ' does not match serialized index ' " + e . version + " ' " ) ; for ( var u = 0;u<n.length;u++){var l = (h=n[u])[0],c=h[1];r[l]=new C . Vector ( c ) } for ( u = 0;u<s.length;u++){var h , d = (h=s[u])[0],f=h[1];o.insert(d),i[d]=f}return o . finish ( ) , t . fields = e.fields,t.fieldVectors=r,t.invertedIndex=i,t.tokenSet=o.root,t.pipeline=a,new C . Index ( t ) }
/*!
* lunr.Builder
* Copyright (C) 2020 Oliver Nightingale
*/,C.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=C.tokenizer,this.pipeline=new C.Pipeline,this.searchPipeline=new C.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},C.Builder.prototype.ref=function(e){this._ref=e},C.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},C.Builder.prototype.b=function(e){this._b=e< 0 ? 0:e > 1?1:e},C.Builder.prototype.k1=function(e){this._k1=e},C.Builder.prototype.add=function(e,t){var r=e[this._ref],n=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var i=0;i< n.length ; i + + ) { var s = n[i],o=this._fields[s].extractor,a=o?o(e):e[s],u=this.tokenizer(a,{fields:[s]}),l=this.pipeline.run(u),c=new C . FieldRef ( r , s ) , h = Object.create(null);this.fieldTermFrequencies[c]=h,this.fieldLengths[c]=0,this.fieldLengths[c]+=l.length;for(var d = 0;d<l.length;d++){var f = l[d];if(null==h[f]&&(h[f]=0),h[f]+=1,null==this.invertedIndex[f]){var p = Object.create(null);p._index=this.termIndex,this.termIndex+=1;for(var y = 0;y<n.length;y++)p[n[y]]=Object.create(null);this.invertedIndex[f]=p}null==this.invertedIndex[f][s][r]&&(this.invertedIndex[f][s][r]=Object.create(null));for(var m = 0;m<this.metadataWhitelist.length;m++){var v = this.metadataWhitelist[m],g=f.metadata[v];null==this.invertedIndex[f][s][r][v]&&(this.invertedIndex[f][s][r][v]=[]),this.invertedIndex[f][s][r][v].push(g)}}}},C.Builder.prototype.calculateAverageFieldLengths=function(){for(var e = Object.keys(this.fieldLengths),t=e.length,r={},n={},i=0;i<t;i++){var s = C.FieldRef.fromString(e[i]),o=s.fieldName;n[o]||(n[o]=0),n[o]+=1,r[o]||(r[o]=0),r[o]+=this.fieldLengths[s]}var a = Object.keys(this._fields);for(i=0;i<a.length;i++){var u = a[i];r[u]=r[u]/n[u]}this.averageFieldLength=r},C.Builder.prototype.createFieldVectors=function(){for(var e = {},t=Object.keys(this.fieldTermFrequencies),r=t.length,n=Object.create(null),i=0;i<r;i++){for(var s = C.FieldRef.fromString(t[i]),o=s.fieldName,a=this.fieldLengths[s],u=new C . Vector , l = this.fieldTermFrequencies[s],c=Object.keys(l),h=c.length,d=this._fields[o].boost||1,f=this._documents[s.docRef].boost||1,p=0;p<h;p++){var y , m , v , g = c[p],x=l[g],w=this.invertedIndex[g]._index;void 0 = ==n[g]?(y=C.idf(this.invertedIndex[g],this.documentCount),n[g]=y):y=n[g],m=y*((this._k1+1)*x)/(this._k1*(1-this._b+this._b*(a/this.averageFieldLength[o]))+x),m*=d,m*=f,v=Math.round(1e3*m)/1e3,u.insert(w,v)}e[s]=u}this.fieldVectors=e},C.Builder.prototype.createTokenSet=function(){this.tokenSet=C.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},C.Builder.prototype.build=function(){return this . calculateAverageFieldLengths ( ) , this . createFieldVectors ( ) , this . createTokenSet ( ) , new C . Index ( { invertedIndex:this . invertedIndex , fieldVectors:this . fieldVectors , tokenSet:this . tokenSet , fields:Object . keys ( this . _fields ) , pipeline:this . searchPipeline } ) } , C . Builder . prototype . use = function(e){var t = Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},C.MatchData=function(e,t,r){for(var n = Object.create(null),i=Object.keys(r||{}),s=0;s<i.length;s++){var o = i[s];n[o]=r[o].slice()}this.metadata=Object.create(null),void 0 ! = = e & & ( this . metadata [ e ] = Object . create ( null ) , this . metadata [ e ] [ t ] = n ) } , C . MatchData . prototype . combine = function(e){for(var t = Object.keys(e.metadata),r=0;r<t.length;r++){var n = t[r],i=Object.keys(e.metadata[n]);null==this.metadata[n]&&(this.metadata[n]=Object.create(null));for(var s = 0;s<i.length;s++){var o = i[s],a=Object.keys(e.metadata[n][o]);null==this.metadata[n][o]&&(this.metadata[n][o]=Object.create(null));for(var u = 0;u<a.length;u++){var l = a[u];null==this.metadata[n][o][l]?this.metadata[n][o][l]=e.metadata[n][o][l]:this.metadata[n][o][l]=this.metadata[n][o][l].concat(e.metadata[n][o][l])}}}},C.MatchData.prototype.add=function(e,t,r){if(!(e in this . metadata ) ) return this . metadata [ e ] = Object . create ( null ) , void ( this . metadata [ e ] [ t ] = r ) ; if ( t in t
2020-06-21 19:41:00 +03:00
< / script >
< / body >
< / html >