diff --git a/.gitignore b/.gitignore index 691b1df..5634740 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ /builds # node-gyp /build -/prebuilds +/prebuild /prepublishOnly # Logs diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index a135412..262bff7 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -1,19 +1,15 @@ :root { - --light-hl-0: #000000; - --dark-hl-0: #D4D4D4; - --light-hl-1: #A31515; - --dark-hl-1: #CE9178; - --light-hl-2: #001080; - --dark-hl-2: #9CDCFE; - --light-hl-3: #008000; - --dark-hl-3: #6A9955; - --light-hl-4: #795E26; - --dark-hl-4: #DCDCAA; - --light-hl-5: #AF00DB; - --dark-hl-5: #C586C0; - --light-hl-6: #0451A5; - --dark-hl-6: #9CDCFE; - --light-code-background: #F5F5F5; + --light-hl-0: #795E26; + --dark-hl-0: #DCDCAA; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #008000; + --dark-hl-4: #6A9955; + --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @@ -23,8 +19,6 @@ --hl-2: var(--light-hl-2); --hl-3: var(--light-hl-3); --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); --code-background: var(--light-code-background); } } @@ -34,30 +28,24 @@ --hl-2: var(--dark-hl-2); --hl-3: var(--dark-hl-3); --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); --code-background: var(--dark-code-background); } } -body.light { +:root[data-theme='light'] { --hl-0: var(--light-hl-0); --hl-1: var(--light-hl-1); --hl-2: var(--light-hl-2); --hl-3: var(--light-hl-3); --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); --code-background: var(--light-code-background); } -body.dark { +:root[data-theme='dark'] { --hl-0: var(--dark-hl-0); --hl-1: var(--dark-hl-1); --hl-2: var(--dark-hl-2); --hl-3: var(--dark-hl-3); --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); --code-background: var(--dark-code-background); } @@ -66,6 +54,4 @@ body.dark { .hl-2 { color: var(--hl-2); } .hl-3 { color: var(--hl-3); } .hl-4 { color: var(--hl-4); } -.hl-5 { color: var(--hl-5); } -.hl-6 { color: var(--hl-6); } pre, code { background: var(--code-background); } diff --git a/docs/assets/icons.css b/docs/assets/icons.css deleted file mode 100644 index 776a356..0000000 --- a/docs/assets/icons.css +++ /dev/null @@ -1,1043 +0,0 @@ -.tsd-kind-icon { - display: block; - position: relative; - padding-left: 20px; - text-indent: -20px; -} -.tsd-kind-icon:before { - content: ""; - display: inline-block; - vertical-align: middle; - width: 17px; - height: 17px; - margin: 0 3px 2px 0; - background-image: url(./icons.png); -} -@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { - .tsd-kind-icon:before { - background-image: url(./icons@2x.png); - background-size: 238px 204px; - } -} - -.tsd-signature.tsd-kind-icon:before { - background-position: 0 -153px; -} - -.tsd-kind-object-literal > .tsd-kind-icon:before { - background-position: 0px -17px; -} -.tsd-kind-object-literal.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -17px; -} -.tsd-kind-object-literal.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -17px; -} - -.tsd-kind-class > .tsd-kind-icon:before { - background-position: 0px -34px; -} -.tsd-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -34px; -} -.tsd-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -34px; -} - -.tsd-kind-class.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: 0px -51px; -} -.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -17px -51px; -} -.tsd-kind-class.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -51px; -} - -.tsd-kind-interface > .tsd-kind-icon:before { - background-position: 0px -68px; -} -.tsd-kind-interface.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -68px; -} -.tsd-kind-interface.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -68px; -} - -.tsd-kind-interface.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: 0px -85px; -} -.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -17px -85px; -} -.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private - > .tsd-kind-icon:before { - background-position: -34px -85px; -} - -.tsd-kind-namespace > .tsd-kind-icon:before { - background-position: 0px -102px; -} -.tsd-kind-namespace.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -102px; -} -.tsd-kind-namespace.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -102px; -} - -.tsd-kind-module > .tsd-kind-icon:before { - background-position: 0px -102px; -} -.tsd-kind-module.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -102px; -} -.tsd-kind-module.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -102px; -} - -.tsd-kind-enum > .tsd-kind-icon:before { - background-position: 0px -119px; -} -.tsd-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -119px; -} -.tsd-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -119px; -} - -.tsd-kind-enum-member > .tsd-kind-icon:before { - background-position: 0px -136px; -} -.tsd-kind-enum-member.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -136px; -} -.tsd-kind-enum-member.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -136px; -} - -.tsd-kind-signature > .tsd-kind-icon:before { - background-position: 0px -153px; -} -.tsd-kind-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -153px; -} -.tsd-kind-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -153px; -} - -.tsd-kind-type-alias > .tsd-kind-icon:before { - background-position: 0px -170px; -} -.tsd-kind-type-alias.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -170px; -} -.tsd-kind-type-alias.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -170px; -} - -.tsd-kind-type-alias.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: 0px -187px; -} -.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -17px -187px; -} -.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private - > .tsd-kind-icon:before { - background-position: -34px -187px; -} - -.tsd-kind-variable > .tsd-kind-icon:before { - background-position: -136px -0px; -} -.tsd-kind-variable.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -0px; -} -.tsd-kind-variable.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-variable.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -0px; -} -.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -0px; -} -.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-variable.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -0px; -} -.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -0px; -} - -.tsd-kind-property > .tsd-kind-icon:before { - background-position: -136px -0px; -} -.tsd-kind-property.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -0px; -} -.tsd-kind-property.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-property.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-property.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -0px; -} -.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -0px; -} -.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-property.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -0px; -} -.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -0px; -} - -.tsd-kind-get-signature > .tsd-kind-icon:before { - background-position: -136px -17px; -} -.tsd-kind-get-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -17px; -} -.tsd-kind-get-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -17px; -} - -.tsd-kind-set-signature > .tsd-kind-icon:before { - background-position: -136px -34px; -} -.tsd-kind-set-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -34px; -} -.tsd-kind-set-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -34px; -} - -.tsd-kind-accessor > .tsd-kind-icon:before { - background-position: -136px -51px; -} -.tsd-kind-accessor.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -51px; -} -.tsd-kind-accessor.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -51px; -} - -.tsd-kind-function > .tsd-kind-icon:before { - background-position: -136px -68px; -} -.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -68px; -} -.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -68px; -} -.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -68px; -} -.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -68px; -} -.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -68px; -} - -.tsd-kind-method > .tsd-kind-icon:before { - background-position: -136px -68px; -} -.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -68px; -} -.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -68px; -} -.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -68px; -} -.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -68px; -} -.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -68px; -} - -.tsd-kind-call-signature > .tsd-kind-icon:before { - background-position: -136px -68px; -} -.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -68px; -} -.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -68px; -} - -.tsd-kind-function.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: -136px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -153px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class - > .tsd-kind-icon:before { - background-position: -51px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum - > .tsd-kind-icon:before { - background-position: -170px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -85px; -} - -.tsd-kind-method.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: -136px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -153px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class - > .tsd-kind-icon:before { - background-position: -51px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum - > .tsd-kind-icon:before { - background-position: -170px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -85px; -} - -.tsd-kind-constructor > .tsd-kind-icon:before { - background-position: -136px -102px; -} -.tsd-kind-constructor.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -102px; -} -.tsd-kind-constructor.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -102px; -} - -.tsd-kind-constructor-signature > .tsd-kind-icon:before { - background-position: -136px -102px; -} -.tsd-kind-constructor-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -102px; -} -.tsd-kind-constructor-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -102px; -} - -.tsd-kind-index-signature > .tsd-kind-icon:before { - background-position: -136px -119px; -} -.tsd-kind-index-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -119px; -} -.tsd-kind-index-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -119px; -} - -.tsd-kind-event > .tsd-kind-icon:before { - background-position: -136px -136px; -} -.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -136px; -} -.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -136px; -} -.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -136px; -} -.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -136px; -} -.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -136px; -} -.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -136px; -} -.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -136px; -} -.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -136px; -} - -.tsd-is-static > .tsd-kind-icon:before { - background-position: -136px -153px; -} -.tsd-is-static.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -153px; -} -.tsd-is-static.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -153px; -} -.tsd-is-static.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -153px; -} -.tsd-is-static.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -153px; -} -.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -153px; -} -.tsd-is-static.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -153px; -} -.tsd-is-static.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -153px; -} -.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -153px; -} - -.tsd-is-static.tsd-kind-function > .tsd-kind-icon:before { - background-position: -136px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -170px; -} - -.tsd-is-static.tsd-kind-method > .tsd-kind-icon:before { - background-position: -136px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -170px; -} - -.tsd-is-static.tsd-kind-call-signature > .tsd-kind-icon:before { - background-position: -136px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -153px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class - > .tsd-kind-icon:before { - background-position: -51px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum - > .tsd-kind-icon:before { - background-position: -170px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -170px; -} - -.tsd-is-static.tsd-kind-event > .tsd-kind-icon:before { - background-position: -136px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -68px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -85px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -102px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected - > .tsd-kind-icon:before { - background-position: -187px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private - > .tsd-kind-icon:before { - background-position: -119px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface - > .tsd-kind-icon:before { - background-position: -204px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited - > .tsd-kind-icon:before { - background-position: -221px -187px; -} diff --git a/docs/assets/icons.png b/docs/assets/icons.png deleted file mode 100644 index 3836d5f..0000000 Binary files a/docs/assets/icons.png and /dev/null differ diff --git a/docs/assets/icons@2x.png b/docs/assets/icons@2x.png deleted file mode 100644 index 5a209e2..0000000 Binary files a/docs/assets/icons@2x.png and /dev/null differ diff --git a/docs/assets/main.js b/docs/assets/main.js index bd45452..4c8fa61 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,52 +1,58 @@ -(()=>{var Ce=Object.create;var ue=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,_e=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var De=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!_e.call(t,i)&&i!==r&&ue(t,i,{get:()=>e[i],enumerable:!(n=Pe(e,i))||n.enumerable});return t};var Fe=(t,e,r)=>(r=t!=null?Ce(Re(t)):{},De(e||!t||!t.__esModule?ue(r,"default",{value:t,enumerable:!0}):r,t));var pe=Me((de,fe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var h=t.utils.clone(r)||{};h.position=[a,u],h.index=s.length,s.push(new t.Token(n.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?h+=2:a==l&&(r+=n[u+1]*i[h+1],u+=2,h+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof de=="object"?fe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ce=[];function N(t,e){ce.push({selector:e,constructor:t})}var Y=class{constructor(){this.createComponents(document.body)}createComponents(e){ce.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n}),n.dataset.hasInstance=String(!0))})})}};var k=class{constructor(e){this.el=e.el}};var J=class{constructor(){this.listeners={}}addEventListener(e,r){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(r)}removeEventListener(e,r){if(!(e in this.listeners))return;let n=this.listeners[e];for(let i=0,s=n.length;i{let r=Date.now();return(...n)=>{r+e-Date.now()<0&&(t(...n),r=Date.now())}};var ie=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.secondaryNav=document.querySelector(".tsd-navigation.secondary"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.onResize(),this.onScroll()}triggerResize(){let r=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(r)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let r=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(r)}onScroll(){this.scrollTop=window.scrollY||0;let r=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(r),this.hideShowToolbar()}hideShowToolbar(){var n;let r=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0,r!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),(n=this.secondaryNav)==null||n.classList.toggle("tsd-navigation--toolbar-hide")),this.lastY=this.scrollTop}},Q=ie;Q.instance=new ie;var X=class extends k{constructor(r){super(r);this.anchors=[];this.index=-1;Q.instance.addEventListener("resize",()=>this.onResize()),Q.instance.addEventListener("scroll",n=>this.onScroll(n)),this.createAnchors()}createAnchors(){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substr(0,r.indexOf("#"))),this.el.querySelectorAll("a").forEach(n=>{let i=n.href;if(i.indexOf("#")==-1||i.substr(0,r.length)!=r)return;let s=i.substr(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=n.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let r;for(let i=0,s=this.anchors.length;ii.position-s.position);let n=new CustomEvent("scroll",{detail:{scrollTop:Q.instance.scrollTop}});this.onScroll(n)}onScroll(r){let n=r.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>n;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var he=(t,e=100)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>t(n),e)}};var ge=Fe(pe());function ye(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Ae(t,n,r,s)}function Ae(t,e,r,n){r.addEventListener("input",he(()=>{He(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?ze(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?me(e,-1):s.key==="ArrowDown"?me(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function Ve(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ge.Index.load(window.searchData.index))}function He(t,e,r,n){var o,a;if(Ve(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let l=0;lu.score-l.score);for(let l=0,u=Math.min(10,s.length);l${ve(h.parent,i)}.${f}`);let p=document.createElement("li");p.classList.value=(a=h.classes)!=null?a:"";let E=document.createElement("a");E.href=n.base+h.url,E.classList.add("tsd-kind-icon"),E.innerHTML=f,p.append(E),e.appendChild(p)}}function me(t,e){var n,i;let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let s=r;if(e===1)do s=(n=s.nextElementSibling)!=null?n:void 0;while(s instanceof HTMLElement&&s.offsetParent==null);else do s=(i=s.previousElementSibling)!=null?i:void 0;while(s instanceof HTMLElement&&s.offsetParent==null);s&&(r.classList.remove("current"),s.classList.add("current"))}}function ze(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function ve(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(se(t.substring(s,o)),`${se(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(se(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function se(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var oe=class{constructor(e,r){this.signature=e,this.description=r}addClass(e){return this.signature.classList.add(e),this.description.classList.add(e),this}removeClass(e){return this.signature.classList.remove(e),this.description.classList.remove(e),this}},Z=class extends k{constructor(r){super(r);this.groups=[];this.index=-1;this.createGroups(),this.container&&(this.el.classList.add("active"),Array.from(this.el.children).forEach(n=>{n.addEventListener("touchstart",i=>this.onClick(i)),n.addEventListener("click",i=>this.onClick(i))}),this.container.classList.add("active"),this.setIndex(0))}setIndex(r){if(r<0&&(r=0),r>this.groups.length-1&&(r=this.groups.length-1),this.index==r)return;let n=this.groups[r];if(this.index>-1){let i=this.groups[this.index];i.removeClass("current").addClass("fade-out"),n.addClass("current"),n.addClass("fade-in"),Q.instance.triggerResize(),setTimeout(()=>{i.removeClass("fade-out"),n.removeClass("fade-in")},300)}else n.addClass("current"),Q.instance.triggerResize();this.index=r}createGroups(){let r=this.el.children;if(r.length<2)return;this.container=this.el.nextElementSibling;let n=this.container.children;this.groups=[];for(let i=0;i{n.signature===r.currentTarget&&this.setIndex(i)})}};var C="mousedown",Le="mousemove",_="mouseup",K={x:0,y:0},xe=!1,ae=!1,je=!1,A=!1,Ee=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Ee?"is-mobile":"not-mobile");Ee&&"ontouchstart"in document.documentElement&&(je=!0,C="touchstart",Le="touchmove",_="touchend");document.addEventListener(C,t=>{ae=!0,A=!1;let e=C=="touchstart"?t.targetTouches[0]:t;K.y=e.pageY||0,K.x=e.pageX||0});document.addEventListener(Le,t=>{if(!!ae&&!A){let e=C=="touchstart"?t.targetTouches[0]:t,r=K.x-(e.pageX||0),n=K.y-(e.pageY||0);A=Math.sqrt(r*r+n*n)>10}});document.addEventListener(_,()=>{ae=!1});document.addEventListener("click",t=>{xe&&(t.preventDefault(),t.stopImmediatePropagation(),xe=!1)});var ee=class extends k{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(_,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(C,n=>this.onDocumentPointerDown(n)),document.addEventListener(_,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){A||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!A&&this.active&&r.target.closest(".col-menu")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substr(0,i.indexOf("#"))),n.href.substr(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te=class{constructor(e,r){this.key=e,this.value=r,this.defaultValue=r,this.initialize(),window.localStorage[this.key]&&this.setValue(this.fromLocalStorage(window.localStorage[this.key]))}initialize(){}setValue(e){if(this.value==e)return;let r=this.value;this.value=e,window.localStorage[this.key]=this.toLocalStorage(e),this.handleValueChange(r,e)}},re=class extends te{initialize(){let r=document.querySelector("#tsd-filter-"+this.key);!r||(this.checkbox=r,this.checkbox.addEventListener("change",()=>{this.setValue(this.checkbox.checked)}))}handleValueChange(r,n){!this.checkbox||(this.checkbox.checked=this.value,document.documentElement.classList.toggle("toggle-"+this.key,this.value!=this.defaultValue))}fromLocalStorage(r){return r=="true"}toLocalStorage(r){return r?"true":"false"}},le=class extends te{initialize(){document.documentElement.classList.add("toggle-"+this.key+this.value);let r=document.querySelector("#tsd-filter-"+this.key);if(!r)return;this.select=r;let n=()=>{this.select.classList.add("active")},i=()=>{this.select.classList.remove("active")};this.select.addEventListener(C,n),this.select.addEventListener("mouseover",n),this.select.addEventListener("mouseleave",i),this.select.querySelectorAll("li").forEach(s=>{s.addEventListener(_,o=>{r.classList.remove("active"),this.setValue(o.target.dataset.value||"")})}),document.addEventListener(C,s=>{this.select.contains(s.target)||this.select.classList.remove("active")})}handleValueChange(r,n){this.select.querySelectorAll("li.selected").forEach(o=>{o.classList.remove("selected")});let i=this.select.querySelector('li[data-value="'+n+'"]'),s=this.select.querySelector(".tsd-select-label");i&&s&&(i.classList.add("selected"),s.textContent=i.textContent),document.documentElement.classList.remove("toggle-"+r),document.documentElement.classList.add("toggle-"+n)}fromLocalStorage(r){return r}toLocalStorage(r){return r}},j=class extends k{constructor(r){super(r);this.optionVisibility=new le("visibility","private"),this.optionInherited=new re("inherited",!0),this.optionExternals=new re("externals",!0)}static isSupported(){try{return typeof window.localStorage!="undefined"}catch{return!1}}};function we(t){let e=localStorage.getItem("tsd-theme")||"os";t.value=e,be(e),t.addEventListener("change",()=>{localStorage.setItem("tsd-theme",t.value),be(t.value)})}function be(t){switch(t){case"os":document.body.classList.remove("light","dark");break;case"light":document.body.classList.remove("dark"),document.body.classList.add("light");break;case"dark":document.body.classList.remove("light"),document.body.classList.add("dark");break}}ye();N(X,".menu-highlight");N(Z,".tsd-signatures");N(ee,"a[data-toggle]");j.isSupported()?N(j,"#tsd-filter"):document.documentElement.classList.add("no-filter");var Te=document.getElementById("theme");Te&&we(Te);var Be=new Y;Object.defineProperty(window,"app",{value:Be});})(); -/*! - * lunr.Builder - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.Index - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.Pipeline - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.Set - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.TokenSet - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.Vector - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.stemmer - * Copyright (C) 2020 Oliver Nightingale - * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt - */ -/*! - * lunr.stopWordFilter - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.tokenizer - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.trimmer - * Copyright (C) 2020 Oliver Nightingale - */ -/*! - * lunr.utils - * Copyright (C) 2020 Oliver Nightingale - */ -/** - * 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 - */ +"use strict"; +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let r;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(r),r=setTimeout(()=>{e.classList.remove("visible"),r=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("tsd-search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("tsd-theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});document.querySelectorAll("summary a").forEach(t=>{t.addEventListener("click",()=>{location.assign(t.href)})});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * 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 + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/docs/assets/search.js b/docs/assets/search.js index 981f8ee..077f7f2 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\"},\"rows\":[{\"id\":0,\"kind\":128,\"name\":\"Library\",\"url\":\"classes/Library.html\",\"classes\":\"tsd-kind-class\"},{\"id\":1,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Library.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Library\"},{\"id\":2,\"kind\":1024,\"name\":\"someParam\",\"url\":\"classes/Library.html#someParam\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Library\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,1.335]],[\"parent/0\",[]],[\"name/1\",[1,9.808]],[\"parent/1\",[0,0.111]],[\"name/2\",[2,9.808]],[\"parent/2\",[0,0.111]]],\"invertedIndex\":[[\"constructor\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{}}],[\"library\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{\"1\":{},\"2\":{}}}],[\"someparam\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"MDNS\",\"url\":\"classes/MDNS.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MDNS.html#constructor\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"logger\",\"url\":\"classes/MDNS.html#logger\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"getNetworkInterfaces\",\"url\":\"classes/MDNS.html#getNetworkInterfaces\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MDNS.html#getNetworkInterfaces.__type\",\"classes\":\"\",\"parent\":\"MDNS.getNetworkInterfaces\"},{\"kind\":1024,\"name\":\"localRecordCache\",\"url\":\"classes/MDNS.html#localRecordCache\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"localRecordCacheDirty\",\"url\":\"classes/MDNS.html#localRecordCacheDirty\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_localServices\",\"url\":\"classes/MDNS.html#_localServices\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"networkRecordCache\",\"url\":\"classes/MDNS.html#networkRecordCache\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_networkServices\",\"url\":\"classes/MDNS.html#_networkServices\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"sockets\",\"url\":\"classes/MDNS.html#sockets\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"socketMap\",\"url\":\"classes/MDNS.html#socketMap\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"socketHostTable\",\"url\":\"classes/MDNS.html#socketHostTable\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_port\",\"url\":\"classes/MDNS.html#_port\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_groups\",\"url\":\"classes/MDNS.html#_groups\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_hostname\",\"url\":\"classes/MDNS.html#_hostname\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_unicast\",\"url\":\"classes/MDNS.html#_unicast\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"_id\",\"url\":\"classes/MDNS.html#_id\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"queries\",\"url\":\"classes/MDNS.html#queries\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"advertisements\",\"url\":\"classes/MDNS.html#advertisements\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":1024,\"name\":\"runningTasks\",\"url\":\"classes/MDNS.html#runningTasks\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"port\",\"url\":\"classes/MDNS.html#port\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"groups\",\"url\":\"classes/MDNS.html#groups\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"unicast\",\"url\":\"classes/MDNS.html#unicast\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"hostname\",\"url\":\"classes/MDNS.html#hostname\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"id\",\"url\":\"classes/MDNS.html#id\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"localServices\",\"url\":\"classes/MDNS.html#localServices\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":262144,\"name\":\"networkServices\",\"url\":\"classes/MDNS.html#networkServices\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"start\",\"url\":\"classes/MDNS.html#start\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"advertise\",\"url\":\"classes/MDNS.html#advertise\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"sendMulticastPacket\",\"url\":\"classes/MDNS.html#sendMulticastPacket\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"sendPacket\",\"url\":\"classes/MDNS.html#sendPacket\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"findSocketHost\",\"url\":\"classes/MDNS.html#findSocketHost\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"handleSocketMessage\",\"url\":\"classes/MDNS.html#handleSocketMessage\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"handleSocketMessageQuery\",\"url\":\"classes/MDNS.html#handleSocketMessageQuery\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"handleSocketMessageResponse\",\"url\":\"classes/MDNS.html#handleSocketMessageResponse\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"processIncomingResourceRecords\",\"url\":\"classes/MDNS.html#processIncomingResourceRecords\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"handleEventResourceRecordCacheExpired\",\"url\":\"classes/MDNS.html#handleEventResourceRecordCacheExpired\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"extractRelatedFqdns\",\"url\":\"classes/MDNS.html#extractRelatedFqdns\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"handleSocketError\",\"url\":\"classes/MDNS.html#handleSocketError\",\"classes\":\"tsd-is-protected\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"stop\",\"url\":\"classes/MDNS.html#stop\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"registerService\",\"url\":\"classes/MDNS.html#registerService\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"unregisterService\",\"url\":\"classes/MDNS.html#unregisterService\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"startQuery\",\"url\":\"classes/MDNS.html#startQuery\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":2048,\"name\":\"stopQuery\",\"url\":\"classes/MDNS.html#stopQuery\",\"classes\":\"\",\"parent\":\"MDNS\"},{\"kind\":4,\"name\":\"utils\",\"url\":\"modules/utils.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isPort\",\"url\":\"functions/utils.isPort.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"isIPv4\",\"url\":\"functions/utils.isIPv4.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"isIPv6\",\"url\":\"functions/utils.isIPv6.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"isIPv4MappedIPv6\",\"url\":\"functions/utils.isIPv4MappedIPv6.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"fromIPv4MappedIPv6\",\"url\":\"functions/utils.fromIPv4MappedIPv6.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"getNetworkInterfaces\",\"url\":\"functions/utils.getNetworkInterfaces.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"getHostname\",\"url\":\"functions/utils.getHostname.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"getPlatform\",\"url\":\"functions/utils.getPlatform.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"promisify\",\"url\":\"functions/utils.promisify.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/utils.promisify.html#promisify.__type\",\"classes\":\"\",\"parent\":\"utils.promisify.promisify\"},{\"kind\":64,\"name\":\"promise\",\"url\":\"functions/utils.promise.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"toHostResourceRecords\",\"url\":\"functions/utils.toHostResourceRecords.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"isService\",\"url\":\"functions/utils.isService.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"toServiceResourceRecords\",\"url\":\"functions/utils.toServiceResourceRecords.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"bindSocket\",\"url\":\"functions/utils.bindSocket.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"getRandomPacketId\",\"url\":\"functions/utils.getRandomPacketId.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"toServiceDomain\",\"url\":\"functions/utils.toServiceDomain.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":64,\"name\":\"toFqdn\",\"url\":\"functions/utils.toFqdn.html\",\"classes\":\"\",\"parent\":\"utils\"},{\"kind\":4,\"name\":\"errors\",\"url\":\"modules/errors.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"ErrorMDNS\",\"url\":\"classes/errors.ErrorMDNS.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNS.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNS\"},{\"kind\":128,\"name\":\"ErrorMDNSRunning\",\"url\":\"classes/errors.ErrorMDNSRunning.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSRunning.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSRunning\"},{\"kind\":128,\"name\":\"ErrorMDNSNotRunning\",\"url\":\"classes/errors.ErrorMDNSNotRunning.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSNotRunning.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSNotRunning\"},{\"kind\":128,\"name\":\"ErrorMDNSInterfaceRange\",\"url\":\"classes/errors.ErrorMDNSInterfaceRange.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSInterfaceRange.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSInterfaceRange\"},{\"kind\":128,\"name\":\"ErrorMDNSInvalidMulticastAddress\",\"url\":\"classes/errors.ErrorMDNSInvalidMulticastAddress.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSInvalidMulticastAddress.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSInvalidMulticastAddress\"},{\"kind\":128,\"name\":\"ErrorMDNSPacket\",\"url\":\"classes/errors.ErrorMDNSPacket.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSPacket.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSPacket\"},{\"kind\":128,\"name\":\"ErrorMDNSPacketParse\",\"url\":\"classes/errors.ErrorMDNSPacketParse.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSPacketParse.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSPacketParse\"},{\"kind\":128,\"name\":\"ErrorMDNSPacketGenerate\",\"url\":\"classes/errors.ErrorMDNSPacketGenerate.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSPacketGenerate.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSPacketGenerate\"},{\"kind\":128,\"name\":\"ErrorMDNSSocket\",\"url\":\"classes/errors.ErrorMDNSSocket.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSSocket.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSSocket\"},{\"kind\":128,\"name\":\"ErrorMDNSSocketInternal\",\"url\":\"classes/errors.ErrorMDNSSocketInternal.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSSocketInternal.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSSocketInternal\"},{\"kind\":128,\"name\":\"ErrorMDNSSocketInvalidBindAddress\",\"url\":\"classes/errors.ErrorMDNSSocketInvalidBindAddress.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSSocketInvalidBindAddress.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSSocketInvalidBindAddress\"},{\"kind\":128,\"name\":\"ErrorMDNSSocketInvalidSendAddress\",\"url\":\"classes/errors.ErrorMDNSSocketInvalidSendAddress.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSSocketInvalidSendAddress.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSSocketInvalidSendAddress\"},{\"kind\":128,\"name\":\"ErrorMDNSSocketInvalidReceiveAddress\",\"url\":\"classes/errors.ErrorMDNSSocketInvalidReceiveAddress.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSSocketInvalidReceiveAddress.html#description\",\"classes\":\"\",\"parent\":\"errors.ErrorMDNSSocketInvalidReceiveAddress\"},{\"kind\":128,\"name\":\"ErrorMDNSSocketSendFailed\",\"url\":\"classes/errors.ErrorMDNSSocketSendFailed.html\",\"classes\":\"\",\"parent\":\"errors\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/errors.ErrorMDNSSocketSendFailed.html#description\",\"classes\":\"tsd-is-inherited\",\"parent\":\"errors.ErrorMDNSSocketSendFailed\"},{\"kind\":4,\"name\":\"events\",\"url\":\"modules/events.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"EventMDNS\",\"url\":\"classes/events.EventMDNS.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSStart\",\"url\":\"classes/events.EventMDNSStart.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSStarted\",\"url\":\"classes/events.EventMDNSStarted.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSStop\",\"url\":\"classes/events.EventMDNSStop.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSStopped\",\"url\":\"classes/events.EventMDNSStopped.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSService\",\"url\":\"classes/events.EventMDNSService.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSServiceRemoved\",\"url\":\"classes/events.EventMDNSServiceRemoved.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":128,\"name\":\"EventMDNSError\",\"url\":\"classes/events.EventMDNSError.html\",\"classes\":\"\",\"parent\":\"events\"},{\"kind\":4,\"name\":\"dns\",\"url\":\"modules/dns.html\",\"classes\":\"\"},{\"kind\":8,\"name\":\"PacketOpCode\",\"url\":\"enums/dns.PacketOpCode.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"QUERY\",\"url\":\"enums/dns.PacketOpCode.html#QUERY\",\"classes\":\"\",\"parent\":\"dns.PacketOpCode\"},{\"kind\":8,\"name\":\"PacketType\",\"url\":\"enums/dns.PacketType.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"QUERY\",\"url\":\"enums/dns.PacketType.html#QUERY\",\"classes\":\"\",\"parent\":\"dns.PacketType\"},{\"kind\":16,\"name\":\"RESPONSE\",\"url\":\"enums/dns.PacketType.html#RESPONSE\",\"classes\":\"\",\"parent\":\"dns.PacketType\"},{\"kind\":8,\"name\":\"RType\",\"url\":\"enums/dns.RType.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"A\",\"url\":\"enums/dns.RType.html#A\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"CNAME\",\"url\":\"enums/dns.RType.html#CNAME\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"PTR\",\"url\":\"enums/dns.RType.html#PTR\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"TXT\",\"url\":\"enums/dns.RType.html#TXT\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"AAAA\",\"url\":\"enums/dns.RType.html#AAAA\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"SRV\",\"url\":\"enums/dns.RType.html#SRV\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"OPT\",\"url\":\"enums/dns.RType.html#OPT\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":16,\"name\":\"NSEC\",\"url\":\"enums/dns.RType.html#NSEC\",\"classes\":\"\",\"parent\":\"dns.RType\"},{\"kind\":8,\"name\":\"RCode\",\"url\":\"enums/dns.RCode.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"NoError\",\"url\":\"enums/dns.RCode.html#NoError\",\"classes\":\"\",\"parent\":\"dns.RCode\"},{\"kind\":8,\"name\":\"RClass\",\"url\":\"enums/dns.RClass.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"IN\",\"url\":\"enums/dns.RClass.html#IN\",\"classes\":\"\",\"parent\":\"dns.RClass\"},{\"kind\":8,\"name\":\"QType\",\"url\":\"enums/dns.QType.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"A\",\"url\":\"enums/dns.QType.html#A\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"CNAME\",\"url\":\"enums/dns.QType.html#CNAME\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"PTR\",\"url\":\"enums/dns.QType.html#PTR\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"TXT\",\"url\":\"enums/dns.QType.html#TXT\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"AAAA\",\"url\":\"enums/dns.QType.html#AAAA\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"SRV\",\"url\":\"enums/dns.QType.html#SRV\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"OPT\",\"url\":\"enums/dns.QType.html#OPT\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"NSEC\",\"url\":\"enums/dns.QType.html#NSEC\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":16,\"name\":\"ANY\",\"url\":\"enums/dns.QType.html#ANY\",\"classes\":\"\",\"parent\":\"dns.QType\"},{\"kind\":8,\"name\":\"QClass\",\"url\":\"enums/dns.QClass.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":16,\"name\":\"IN\",\"url\":\"enums/dns.QClass.html#IN\",\"classes\":\"\",\"parent\":\"dns.QClass\"},{\"kind\":16,\"name\":\"ANY\",\"url\":\"enums/dns.QClass.html#ANY\",\"classes\":\"\",\"parent\":\"dns.QClass\"},{\"kind\":64,\"name\":\"concatUInt8Array\",\"url\":\"functions/dns.concatUInt8Array.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"encodeUInt16BE\",\"url\":\"functions/dns.encodeUInt16BE.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"encodeUInt32BE\",\"url\":\"functions/dns.encodeUInt32BE.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parseLabels\",\"url\":\"functions/dns.parseLabels.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateLabels\",\"url\":\"functions/dns.generateLabels.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parseIPv6\",\"url\":\"functions/dns.parseIPv6.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateIPv6\",\"url\":\"functions/dns.generateIPv6.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parsePacket\",\"url\":\"functions/dns.parsePacket.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parsePacketFlags\",\"url\":\"functions/dns.parsePacketFlags.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generatePacket\",\"url\":\"functions/dns.generatePacket.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generatePacketFlags\",\"url\":\"functions/dns.generatePacketFlags.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parseQuestionRecords\",\"url\":\"functions/dns.parseQuestionRecords.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parseQuestionRecord\",\"url\":\"functions/dns.parseQuestionRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateQuestionRecords\",\"url\":\"functions/dns.generateQuestionRecords.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateQuestionRecord\",\"url\":\"functions/dns.generateQuestionRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parseResourceRecords\",\"url\":\"functions/dns.parseResourceRecords.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"parseResourceRecord\",\"url\":\"functions/dns.parseResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateResourceRecords\",\"url\":\"functions/dns.generateResourceRecords.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateResourceRecord\",\"url\":\"functions/dns.generateResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateTXTRecordData\",\"url\":\"functions/dns.generateTXTRecordData.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"generateSRVRecordData\",\"url\":\"functions/dns.generateSRVRecordData.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"isStringResourceRecord\",\"url\":\"functions/dns.isStringResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":64,\"name\":\"isCachableResourceRecord\",\"url\":\"functions/dns.isCachableResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":256,\"name\":\"Parsed\",\"url\":\"interfaces/dns.Parsed.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"interfaces/dns.Parsed.html#data\",\"classes\":\"\",\"parent\":\"dns.Parsed\"},{\"kind\":1024,\"name\":\"remainder\",\"url\":\"interfaces/dns.Parsed.html#remainder\",\"classes\":\"\",\"parent\":\"dns.Parsed\"},{\"kind\":4194304,\"name\":\"Packet\",\"url\":\"types/dns.Packet.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/dns.Packet.html#__type\",\"classes\":\"\",\"parent\":\"dns.Packet\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"types/dns.Packet.html#__type.id\",\"classes\":\"\",\"parent\":\"dns.Packet.__type\"},{\"kind\":1024,\"name\":\"flags\",\"url\":\"types/dns.Packet.html#__type.flags\",\"classes\":\"\",\"parent\":\"dns.Packet.__type\"},{\"kind\":1024,\"name\":\"questions\",\"url\":\"types/dns.Packet.html#__type.questions\",\"classes\":\"\",\"parent\":\"dns.Packet.__type\"},{\"kind\":1024,\"name\":\"answers\",\"url\":\"types/dns.Packet.html#__type.answers\",\"classes\":\"\",\"parent\":\"dns.Packet.__type\"},{\"kind\":1024,\"name\":\"authorities\",\"url\":\"types/dns.Packet.html#__type.authorities\",\"classes\":\"\",\"parent\":\"dns.Packet.__type\"},{\"kind\":1024,\"name\":\"additionals\",\"url\":\"types/dns.Packet.html#__type.additionals\",\"classes\":\"\",\"parent\":\"dns.Packet.__type\"},{\"kind\":4194304,\"name\":\"PacketHeader\",\"url\":\"types/dns.PacketHeader.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/dns.PacketHeader.html#__type\",\"classes\":\"\",\"parent\":\"dns.PacketHeader\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"types/dns.PacketHeader.html#__type.id\",\"classes\":\"\",\"parent\":\"dns.PacketHeader.__type\"},{\"kind\":1024,\"name\":\"flags\",\"url\":\"types/dns.PacketHeader.html#__type.flags\",\"classes\":\"\",\"parent\":\"dns.PacketHeader.__type\"},{\"kind\":1024,\"name\":\"qdcount\",\"url\":\"types/dns.PacketHeader.html#__type.qdcount\",\"classes\":\"\",\"parent\":\"dns.PacketHeader.__type\"},{\"kind\":1024,\"name\":\"ancount\",\"url\":\"types/dns.PacketHeader.html#__type.ancount\",\"classes\":\"\",\"parent\":\"dns.PacketHeader.__type\"},{\"kind\":1024,\"name\":\"nscount\",\"url\":\"types/dns.PacketHeader.html#__type.nscount\",\"classes\":\"\",\"parent\":\"dns.PacketHeader.__type\"},{\"kind\":1024,\"name\":\"arcount\",\"url\":\"types/dns.PacketHeader.html#__type.arcount\",\"classes\":\"\",\"parent\":\"dns.PacketHeader.__type\"},{\"kind\":4194304,\"name\":\"PacketFlags\",\"url\":\"types/dns.PacketFlags.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/dns.PacketFlags.html#__type\",\"classes\":\"\",\"parent\":\"dns.PacketFlags\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"types/dns.PacketFlags.html#__type.type\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"opcode\",\"url\":\"types/dns.PacketFlags.html#__type.opcode\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"rcode\",\"url\":\"types/dns.PacketFlags.html#__type.rcode\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"authoritativeAnswer\",\"url\":\"types/dns.PacketFlags.html#__type.authoritativeAnswer\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"truncation\",\"url\":\"types/dns.PacketFlags.html#__type.truncation\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"recursionDesired\",\"url\":\"types/dns.PacketFlags.html#__type.recursionDesired\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"recursionAvailable\",\"url\":\"types/dns.PacketFlags.html#__type.recursionAvailable\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"zero\",\"url\":\"types/dns.PacketFlags.html#__type.zero\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"authenticData\",\"url\":\"types/dns.PacketFlags.html#__type.authenticData\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":1024,\"name\":\"checkingDisabled\",\"url\":\"types/dns.PacketFlags.html#__type.checkingDisabled\",\"classes\":\"\",\"parent\":\"dns.PacketFlags.__type\"},{\"kind\":4194304,\"name\":\"QuestionRecord\",\"url\":\"types/dns.QuestionRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/dns.QuestionRecord.html#__type\",\"classes\":\"\",\"parent\":\"dns.QuestionRecord\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"types/dns.QuestionRecord.html#__type.name\",\"classes\":\"\",\"parent\":\"dns.QuestionRecord.__type\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"types/dns.QuestionRecord.html#__type.type\",\"classes\":\"\",\"parent\":\"dns.QuestionRecord.__type\"},{\"kind\":1024,\"name\":\"class\",\"url\":\"types/dns.QuestionRecord.html#__type.class\",\"classes\":\"\",\"parent\":\"dns.QuestionRecord.__type\"},{\"kind\":1024,\"name\":\"unicast\",\"url\":\"types/dns.QuestionRecord.html#__type.unicast\",\"classes\":\"\",\"parent\":\"dns.QuestionRecord.__type\"},{\"kind\":4194304,\"name\":\"CachableResourceRecord\",\"url\":\"types/dns.CachableResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"ResourceRecord\",\"url\":\"types/dns.ResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"BaseResourceRecord\",\"url\":\"types/dns.BaseResourceRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/dns.BaseResourceRecord.html#__type\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"types/dns.BaseResourceRecord.html#__type.name\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord.__type\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"types/dns.BaseResourceRecord.html#__type.type\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord.__type\"},{\"kind\":1024,\"name\":\"class\",\"url\":\"types/dns.BaseResourceRecord.html#__type.class\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord.__type\"},{\"kind\":1024,\"name\":\"flush\",\"url\":\"types/dns.BaseResourceRecord.html#__type.flush\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord.__type\"},{\"kind\":1024,\"name\":\"ttl\",\"url\":\"types/dns.BaseResourceRecord.html#__type.ttl\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord.__type\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"types/dns.BaseResourceRecord.html#__type.data\",\"classes\":\"\",\"parent\":\"dns.BaseResourceRecord.__type\"},{\"kind\":4194304,\"name\":\"HostRecord\",\"url\":\"types/dns.HostRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"HostnameRecord\",\"url\":\"types/dns.HostnameRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"StringRecord\",\"url\":\"types/dns.StringRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"TXTRecord\",\"url\":\"types/dns.TXTRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"TXTRecordValue\",\"url\":\"types/dns.TXTRecordValue.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"SRVRecord\",\"url\":\"types/dns.SRVRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"SRVRecordValue\",\"url\":\"types/dns.SRVRecordValue.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/dns.SRVRecordValue.html#__type\",\"classes\":\"\",\"parent\":\"dns.SRVRecordValue\"},{\"kind\":1024,\"name\":\"port\",\"url\":\"types/dns.SRVRecordValue.html#__type.port\",\"classes\":\"\",\"parent\":\"dns.SRVRecordValue.__type\"},{\"kind\":1024,\"name\":\"target\",\"url\":\"types/dns.SRVRecordValue.html#__type.target\",\"classes\":\"\",\"parent\":\"dns.SRVRecordValue.__type\"},{\"kind\":1024,\"name\":\"priority\",\"url\":\"types/dns.SRVRecordValue.html#__type.priority\",\"classes\":\"\",\"parent\":\"dns.SRVRecordValue.__type\"},{\"kind\":1024,\"name\":\"weight\",\"url\":\"types/dns.SRVRecordValue.html#__type.weight\",\"classes\":\"\",\"parent\":\"dns.SRVRecordValue.__type\"},{\"kind\":4194304,\"name\":\"OPTRecord\",\"url\":\"types/dns.OPTRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":4194304,\"name\":\"NSECRecord\",\"url\":\"types/dns.NSECRecord.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":128,\"name\":\"ErrorDNS\",\"url\":\"classes/dns.ErrorDNS.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/dns.ErrorDNS.html#description\",\"classes\":\"\",\"parent\":\"dns.ErrorDNS\"},{\"kind\":128,\"name\":\"ErrorDNSParse\",\"url\":\"classes/dns.ErrorDNSParse.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/dns.ErrorDNSParse.html#description\",\"classes\":\"\",\"parent\":\"dns.ErrorDNSParse\"},{\"kind\":128,\"name\":\"ErrorDNSGenerate\",\"url\":\"classes/dns.ErrorDNSGenerate.html\",\"classes\":\"\",\"parent\":\"dns\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/dns.ErrorDNSGenerate.html#description\",\"classes\":\"\",\"parent\":\"dns.ErrorDNSGenerate\"},{\"kind\":4,\"name\":\"cache\",\"url\":\"modules/cache.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"ResourceRecordCache\",\"url\":\"classes/cache.ResourceRecordCache.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":2048,\"name\":\"createResourceRecordCache\",\"url\":\"classes/cache.ResourceRecordCache.html#createResourceRecordCache\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/cache.ResourceRecordCache.html#constructor\",\"classes\":\"tsd-is-inherited\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":1024,\"name\":\"resourceRecordCache\",\"url\":\"classes/cache.ResourceRecordCache.html#resourceRecordCache\",\"classes\":\"tsd-is-protected\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":1024,\"name\":\"resourceRecordCacheIndexesByExpiration\",\"url\":\"classes/cache.ResourceRecordCache.html#resourceRecordCacheIndexesByExpiration\",\"classes\":\"tsd-is-protected\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":1024,\"name\":\"resourceRecordCacheTimer\",\"url\":\"classes/cache.ResourceRecordCache.html#resourceRecordCacheTimer\",\"classes\":\"tsd-is-protected\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":1024,\"name\":\"_max\",\"url\":\"classes/cache.ResourceRecordCache.html#_max\",\"classes\":\"tsd-is-protected\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":1024,\"name\":\"_timerDisabled\",\"url\":\"classes/cache.ResourceRecordCache.html#_timerDisabled\",\"classes\":\"tsd-is-protected\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":262144,\"name\":\"max\",\"url\":\"classes/cache.ResourceRecordCache.html#max\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":262144,\"name\":\"timerDisabled\",\"url\":\"classes/cache.ResourceRecordCache.html#timerDisabled\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":262144,\"name\":\"count\",\"url\":\"classes/cache.ResourceRecordCache.html#count\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/cache.ResourceRecordCache.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"set\",\"url\":\"classes/cache.ResourceRecordCache.html#set\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/cache.ResourceRecordCache.html#delete\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"where\",\"url\":\"classes/cache.ResourceRecordCache.html#where\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/cache.ResourceRecordCache.html#get\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"whereGet\",\"url\":\"classes/cache.ResourceRecordCache.html#whereGet\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"getHostnameRelatedResourceRecords\",\"url\":\"classes/cache.ResourceRecordCache.html#getHostnameRelatedResourceRecords\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/cache.ResourceRecordCache.html#has\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"clear\",\"url\":\"classes/cache.ResourceRecordCache.html#clear\",\"classes\":\"\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":2048,\"name\":\"resourceRecordCacheTimerReset\",\"url\":\"classes/cache.ResourceRecordCache.html#resourceRecordCacheTimerReset\",\"classes\":\"tsd-is-protected\",\"parent\":\"cache.ResourceRecordCache\"},{\"kind\":64,\"name\":\"insertionSort\",\"url\":\"functions/cache.insertionSort.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":64,\"name\":\"toCachableResourceRecordRow\",\"url\":\"functions/cache.toCachableResourceRecordRow.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":64,\"name\":\"fromCachableResourceRecordRow\",\"url\":\"functions/cache.fromCachableResourceRecordRow.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":4194304,\"name\":\"CachableResourceRecordRow\",\"url\":\"types/cache.CachableResourceRecordRow.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":128,\"name\":\"ErrorCache\",\"url\":\"classes/cache.ErrorCache.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/cache.ErrorCache.html#description\",\"classes\":\"\",\"parent\":\"cache.ErrorCache\"},{\"kind\":128,\"name\":\"ErrorCacheDestroyed\",\"url\":\"classes/cache.ErrorCacheDestroyed.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/cache.ErrorCacheDestroyed.html#description\",\"classes\":\"\",\"parent\":\"cache.ErrorCacheDestroyed\"},{\"kind\":128,\"name\":\"EventResourceRecordCache\",\"url\":\"classes/cache.EventResourceRecordCache.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":128,\"name\":\"EventResourceRecordCacheDestroy\",\"url\":\"classes/cache.EventResourceRecordCacheDestroy.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":128,\"name\":\"EventResourceRecordCacheDestroyed\",\"url\":\"classes/cache.EventResourceRecordCacheDestroyed.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":128,\"name\":\"EventResourceRecordCacheExpired\",\"url\":\"classes/cache.EventResourceRecordCacheExpired.html\",\"classes\":\"\",\"parent\":\"cache\"},{\"kind\":32,\"name\":\"brand\",\"url\":\"variables/brand.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Opaque\",\"url\":\"types/Opaque.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Callback\",\"url\":\"types/Callback.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Callback.html#__type\",\"classes\":\"\",\"parent\":\"Callback\"},{\"kind\":4194304,\"name\":\"PromiseDeconstructed\",\"url\":\"types/PromiseDeconstructed.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/PromiseDeconstructed.html#__type\",\"classes\":\"\",\"parent\":\"PromiseDeconstructed\"},{\"kind\":1024,\"name\":\"p\",\"url\":\"types/PromiseDeconstructed.html#__type.p\",\"classes\":\"\",\"parent\":\"PromiseDeconstructed.__type\"},{\"kind\":1024,\"name\":\"resolveP\",\"url\":\"types/PromiseDeconstructed.html#__type.resolveP\",\"classes\":\"\",\"parent\":\"PromiseDeconstructed.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/PromiseDeconstructed.html#__type.resolveP.__type-3\",\"classes\":\"\",\"parent\":\"PromiseDeconstructed.__type.resolveP\"},{\"kind\":1024,\"name\":\"rejectP\",\"url\":\"types/PromiseDeconstructed.html#__type.rejectP\",\"classes\":\"\",\"parent\":\"PromiseDeconstructed.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/PromiseDeconstructed.html#__type.rejectP.__type-1\",\"classes\":\"\",\"parent\":\"PromiseDeconstructed.__type.rejectP\"},{\"kind\":4194304,\"name\":\"Host\",\"url\":\"types/Host.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Hostname\",\"url\":\"types/Hostname.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"FQDN\",\"url\":\"types/FQDN.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Port\",\"url\":\"types/Port.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Address\",\"url\":\"types/Address.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Service\",\"url\":\"types/Service.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Service.html#__type\",\"classes\":\"\",\"parent\":\"Service\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"types/Service.html#__type.name\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"types/Service.html#__type.type\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":1024,\"name\":\"protocol\",\"url\":\"types/Service.html#__type.protocol\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":1024,\"name\":\"port\",\"url\":\"types/Service.html#__type.port\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":1024,\"name\":\"txt\",\"url\":\"types/Service.html#__type.txt\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":1024,\"name\":\"hostname\",\"url\":\"types/Service.html#__type.hostname\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":1024,\"name\":\"hosts\",\"url\":\"types/Service.html#__type.hosts\",\"classes\":\"\",\"parent\":\"Service.__type\"},{\"kind\":4194304,\"name\":\"ServicePOJO\",\"url\":\"types/ServicePOJO.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ServicePOJO.html#__type\",\"classes\":\"\",\"parent\":\"ServicePOJO\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"types/ServicePOJO.html#__type.name\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"types/ServicePOJO.html#__type.type\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":1024,\"name\":\"protocol\",\"url\":\"types/ServicePOJO.html#__type.protocol\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":1024,\"name\":\"port\",\"url\":\"types/ServicePOJO.html#__type.port\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":1024,\"name\":\"txt\",\"url\":\"types/ServicePOJO.html#__type.txt\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":1024,\"name\":\"hostname\",\"url\":\"types/ServicePOJO.html#__type.hostname\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":1024,\"name\":\"hosts\",\"url\":\"types/ServicePOJO.html#__type.hosts\",\"classes\":\"\",\"parent\":\"ServicePOJO.__type\"},{\"kind\":4194304,\"name\":\"NetworkAddress\",\"url\":\"types/NetworkAddress.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"NetworkInterfaces\",\"url\":\"types/NetworkInterfaces.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"RemoteInfo\",\"url\":\"types/RemoteInfo.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RemoteInfo.html#__type\",\"classes\":\"\",\"parent\":\"RemoteInfo\"},{\"kind\":1024,\"name\":\"address\",\"url\":\"types/RemoteInfo.html#__type.address\",\"classes\":\"\",\"parent\":\"RemoteInfo.__type\"},{\"kind\":1024,\"name\":\"family\",\"url\":\"types/RemoteInfo.html#__type.family\",\"classes\":\"\",\"parent\":\"RemoteInfo.__type\"},{\"kind\":1024,\"name\":\"port\",\"url\":\"types/RemoteInfo.html#__type.port\",\"classes\":\"\",\"parent\":\"RemoteInfo.__type\"},{\"kind\":1024,\"name\":\"size\",\"url\":\"types/RemoteInfo.html#__type.size\",\"classes\":\"\",\"parent\":\"RemoteInfo.__type\"},{\"kind\":4194304,\"name\":\"BaseSocketInfo\",\"url\":\"types/BaseSocketInfo.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/BaseSocketInfo.html#__type\",\"classes\":\"\",\"parent\":\"BaseSocketInfo\"},{\"kind\":1024,\"name\":\"close\",\"url\":\"types/BaseSocketInfo.html#__type.close\",\"classes\":\"\",\"parent\":\"BaseSocketInfo.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/BaseSocketInfo.html#__type.close.__type-1\",\"classes\":\"\",\"parent\":\"BaseSocketInfo.__type.close\"},{\"kind\":1024,\"name\":\"send\",\"url\":\"types/BaseSocketInfo.html#__type.send\",\"classes\":\"\",\"parent\":\"BaseSocketInfo.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/BaseSocketInfo.html#__type.send.__type-3\",\"classes\":\"\",\"parent\":\"BaseSocketInfo.__type.send\"},{\"kind\":1024,\"name\":\"udpType\",\"url\":\"types/BaseSocketInfo.html#__type.udpType\",\"classes\":\"\",\"parent\":\"BaseSocketInfo.__type\"},{\"kind\":1024,\"name\":\"unicast\",\"url\":\"types/BaseSocketInfo.html#__type.unicast\",\"classes\":\"\",\"parent\":\"BaseSocketInfo.__type\"},{\"kind\":4194304,\"name\":\"UnicastSocketInfo\",\"url\":\"types/UnicastSocketInfo.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"MulticastSocketInfo\",\"url\":\"types/MulticastSocketInfo.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"SocketInfo\",\"url\":\"types/SocketInfo.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"SocketHostRow\",\"url\":\"types/SocketHostRow.html\",\"classes\":\"\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,53.407]],[\"comment/0\",[]],[\"name/1\",[1,48.299]],[\"comment/1\",[]],[\"name/2\",[2,53.407]],[\"comment/2\",[]],[\"name/3\",[3,48.299]],[\"comment/3\",[]],[\"name/4\",[4,28.284]],[\"comment/4\",[]],[\"name/5\",[5,53.407]],[\"comment/5\",[]],[\"name/6\",[6,53.407]],[\"comment/6\",[]],[\"name/7\",[7,53.407]],[\"comment/7\",[]],[\"name/8\",[8,53.407]],[\"comment/8\",[]],[\"name/9\",[9,53.407]],[\"comment/9\",[]],[\"name/10\",[10,53.407]],[\"comment/10\",[]],[\"name/11\",[11,53.407]],[\"comment/11\",[]],[\"name/12\",[12,53.407]],[\"comment/12\",[]],[\"name/13\",[13,53.407]],[\"comment/13\",[]],[\"name/14\",[14,53.407]],[\"comment/14\",[]],[\"name/15\",[15,53.407]],[\"comment/15\",[]],[\"name/16\",[16,53.407]],[\"comment/16\",[]],[\"name/17\",[17,53.407]],[\"comment/17\",[]],[\"name/18\",[18,53.407]],[\"comment/18\",[]],[\"name/19\",[19,53.407]],[\"comment/19\",[]],[\"name/20\",[20,53.407]],[\"comment/20\",[]],[\"name/21\",[21,38.744]],[\"comment/21\",[]],[\"name/22\",[22,53.407]],[\"comment/22\",[]],[\"name/23\",[23,44.934]],[\"comment/23\",[]],[\"name/24\",[24,42.421]],[\"comment/24\",[]],[\"name/25\",[25,44.934]],[\"comment/25\",[]],[\"name/26\",[26,53.407]],[\"comment/26\",[]],[\"name/27\",[27,53.407]],[\"comment/27\",[]],[\"name/28\",[28,53.407]],[\"comment/28\",[]],[\"name/29\",[29,53.407]],[\"comment/29\",[]],[\"name/30\",[30,53.407]],[\"comment/30\",[]],[\"name/31\",[31,53.407]],[\"comment/31\",[]],[\"name/32\",[32,53.407]],[\"comment/32\",[]],[\"name/33\",[33,53.407]],[\"comment/33\",[]],[\"name/34\",[34,53.407]],[\"comment/34\",[]],[\"name/35\",[35,53.407]],[\"comment/35\",[]],[\"name/36\",[36,53.407]],[\"comment/36\",[]],[\"name/37\",[37,53.407]],[\"comment/37\",[]],[\"name/38\",[38,53.407]],[\"comment/38\",[]],[\"name/39\",[39,53.407]],[\"comment/39\",[]],[\"name/40\",[40,53.407]],[\"comment/40\",[]],[\"name/41\",[41,53.407]],[\"comment/41\",[]],[\"name/42\",[42,53.407]],[\"comment/42\",[]],[\"name/43\",[43,53.407]],[\"comment/43\",[]],[\"name/44\",[44,53.407]],[\"comment/44\",[]],[\"name/45\",[45,53.407]],[\"comment/45\",[]],[\"name/46\",[46,53.407]],[\"comment/46\",[]],[\"name/47\",[47,53.407]],[\"comment/47\",[]],[\"name/48\",[48,53.407]],[\"comment/48\",[]],[\"name/49\",[49,53.407]],[\"comment/49\",[]],[\"name/50\",[50,53.407]],[\"comment/50\",[]],[\"name/51\",[3,48.299]],[\"comment/51\",[]],[\"name/52\",[51,53.407]],[\"comment/52\",[]],[\"name/53\",[52,53.407]],[\"comment/53\",[]],[\"name/54\",[53,53.407]],[\"comment/54\",[]],[\"name/55\",[4,28.284]],[\"comment/55\",[]],[\"name/56\",[54,53.407]],[\"comment/56\",[]],[\"name/57\",[55,53.407]],[\"comment/57\",[]],[\"name/58\",[56,53.407]],[\"comment/58\",[]],[\"name/59\",[57,53.407]],[\"comment/59\",[]],[\"name/60\",[58,53.407]],[\"comment/60\",[]],[\"name/61\",[59,53.407]],[\"comment/61\",[]],[\"name/62\",[60,53.407]],[\"comment/62\",[]],[\"name/63\",[61,53.407]],[\"comment/63\",[]],[\"name/64\",[62,53.407]],[\"comment/64\",[]],[\"name/65\",[63,53.407]],[\"comment/65\",[]],[\"name/66\",[64,27.758]],[\"comment/66\",[]],[\"name/67\",[65,53.407]],[\"comment/67\",[]],[\"name/68\",[64,27.758]],[\"comment/68\",[]],[\"name/69\",[66,53.407]],[\"comment/69\",[]],[\"name/70\",[64,27.758]],[\"comment/70\",[]],[\"name/71\",[67,53.407]],[\"comment/71\",[]],[\"name/72\",[64,27.758]],[\"comment/72\",[]],[\"name/73\",[68,53.407]],[\"comment/73\",[]],[\"name/74\",[64,27.758]],[\"comment/74\",[]],[\"name/75\",[69,53.407]],[\"comment/75\",[]],[\"name/76\",[64,27.758]],[\"comment/76\",[]],[\"name/77\",[70,53.407]],[\"comment/77\",[]],[\"name/78\",[64,27.758]],[\"comment/78\",[]],[\"name/79\",[71,53.407]],[\"comment/79\",[]],[\"name/80\",[64,27.758]],[\"comment/80\",[]],[\"name/81\",[72,53.407]],[\"comment/81\",[]],[\"name/82\",[64,27.758]],[\"comment/82\",[]],[\"name/83\",[73,53.407]],[\"comment/83\",[]],[\"name/84\",[64,27.758]],[\"comment/84\",[]],[\"name/85\",[74,53.407]],[\"comment/85\",[]],[\"name/86\",[64,27.758]],[\"comment/86\",[]],[\"name/87\",[75,53.407]],[\"comment/87\",[]],[\"name/88\",[64,27.758]],[\"comment/88\",[]],[\"name/89\",[76,53.407]],[\"comment/89\",[]],[\"name/90\",[64,27.758]],[\"comment/90\",[]],[\"name/91\",[77,53.407]],[\"comment/91\",[]],[\"name/92\",[64,27.758]],[\"comment/92\",[]],[\"name/93\",[78,53.407]],[\"comment/93\",[]],[\"name/94\",[79,53.407]],[\"comment/94\",[]],[\"name/95\",[80,53.407]],[\"comment/95\",[]],[\"name/96\",[81,53.407]],[\"comment/96\",[]],[\"name/97\",[82,53.407]],[\"comment/97\",[]],[\"name/98\",[83,53.407]],[\"comment/98\",[]],[\"name/99\",[84,53.407]],[\"comment/99\",[]],[\"name/100\",[85,53.407]],[\"comment/100\",[]],[\"name/101\",[86,53.407]],[\"comment/101\",[]],[\"name/102\",[87,53.407]],[\"comment/102\",[]],[\"name/103\",[88,53.407]],[\"comment/103\",[]],[\"name/104\",[89,48.299]],[\"comment/104\",[]],[\"name/105\",[90,53.407]],[\"comment/105\",[]],[\"name/106\",[89,48.299]],[\"comment/106\",[]],[\"name/107\",[91,53.407]],[\"comment/107\",[]],[\"name/108\",[92,53.407]],[\"comment/108\",[]],[\"name/109\",[93,48.299]],[\"comment/109\",[]],[\"name/110\",[94,48.299]],[\"comment/110\",[]],[\"name/111\",[95,48.299]],[\"comment/111\",[]],[\"name/112\",[96,42.421]],[\"comment/112\",[]],[\"name/113\",[97,48.299]],[\"comment/113\",[]],[\"name/114\",[98,48.299]],[\"comment/114\",[]],[\"name/115\",[99,48.299]],[\"comment/115\",[]],[\"name/116\",[100,48.299]],[\"comment/116\",[]],[\"name/117\",[101,48.299]],[\"comment/117\",[]],[\"name/118\",[102,53.407]],[\"comment/118\",[]],[\"name/119\",[103,53.407]],[\"comment/119\",[]],[\"name/120\",[104,48.299]],[\"comment/120\",[]],[\"name/121\",[105,53.407]],[\"comment/121\",[]],[\"name/122\",[93,48.299]],[\"comment/122\",[]],[\"name/123\",[94,48.299]],[\"comment/123\",[]],[\"name/124\",[95,48.299]],[\"comment/124\",[]],[\"name/125\",[96,42.421]],[\"comment/125\",[]],[\"name/126\",[97,48.299]],[\"comment/126\",[]],[\"name/127\",[98,48.299]],[\"comment/127\",[]],[\"name/128\",[99,48.299]],[\"comment/128\",[]],[\"name/129\",[100,48.299]],[\"comment/129\",[]],[\"name/130\",[106,48.299]],[\"comment/130\",[]],[\"name/131\",[107,53.407]],[\"comment/131\",[]],[\"name/132\",[104,48.299]],[\"comment/132\",[]],[\"name/133\",[106,48.299]],[\"comment/133\",[]],[\"name/134\",[108,53.407]],[\"comment/134\",[]],[\"name/135\",[109,53.407]],[\"comment/135\",[]],[\"name/136\",[110,53.407]],[\"comment/136\",[]],[\"name/137\",[111,53.407]],[\"comment/137\",[]],[\"name/138\",[112,53.407]],[\"comment/138\",[]],[\"name/139\",[113,53.407]],[\"comment/139\",[]],[\"name/140\",[114,53.407]],[\"comment/140\",[]],[\"name/141\",[115,53.407]],[\"comment/141\",[]],[\"name/142\",[116,53.407]],[\"comment/142\",[]],[\"name/143\",[117,53.407]],[\"comment/143\",[]],[\"name/144\",[118,53.407]],[\"comment/144\",[]],[\"name/145\",[119,53.407]],[\"comment/145\",[]],[\"name/146\",[120,53.407]],[\"comment/146\",[]],[\"name/147\",[121,53.407]],[\"comment/147\",[]],[\"name/148\",[122,53.407]],[\"comment/148\",[]],[\"name/149\",[123,53.407]],[\"comment/149\",[]],[\"name/150\",[124,53.407]],[\"comment/150\",[]],[\"name/151\",[125,53.407]],[\"comment/151\",[]],[\"name/152\",[126,53.407]],[\"comment/152\",[]],[\"name/153\",[127,53.407]],[\"comment/153\",[]],[\"name/154\",[128,53.407]],[\"comment/154\",[]],[\"name/155\",[129,53.407]],[\"comment/155\",[]],[\"name/156\",[130,53.407]],[\"comment/156\",[]],[\"name/157\",[131,53.407]],[\"comment/157\",[]],[\"name/158\",[132,48.299]],[\"comment/158\",[]],[\"name/159\",[133,53.407]],[\"comment/159\",[]],[\"name/160\",[134,53.407]],[\"comment/160\",[]],[\"name/161\",[4,28.284]],[\"comment/161\",[]],[\"name/162\",[25,44.934]],[\"comment/162\",[]],[\"name/163\",[135,48.299]],[\"comment/163\",[]],[\"name/164\",[136,53.407]],[\"comment/164\",[]],[\"name/165\",[137,53.407]],[\"comment/165\",[]],[\"name/166\",[138,53.407]],[\"comment/166\",[]],[\"name/167\",[139,53.407]],[\"comment/167\",[]],[\"name/168\",[140,53.407]],[\"comment/168\",[]],[\"name/169\",[4,28.284]],[\"comment/169\",[]],[\"name/170\",[25,44.934]],[\"comment/170\",[]],[\"name/171\",[135,48.299]],[\"comment/171\",[]],[\"name/172\",[141,53.407]],[\"comment/172\",[]],[\"name/173\",[142,53.407]],[\"comment/173\",[]],[\"name/174\",[143,53.407]],[\"comment/174\",[]],[\"name/175\",[144,53.407]],[\"comment/175\",[]],[\"name/176\",[145,53.407]],[\"comment/176\",[]],[\"name/177\",[4,28.284]],[\"comment/177\",[]],[\"name/178\",[146,40.415]],[\"comment/178\",[]],[\"name/179\",[147,53.407]],[\"comment/179\",[]],[\"name/180\",[101,48.299]],[\"comment/180\",[]],[\"name/181\",[148,53.407]],[\"comment/181\",[]],[\"name/182\",[149,53.407]],[\"comment/182\",[]],[\"name/183\",[150,53.407]],[\"comment/183\",[]],[\"name/184\",[151,53.407]],[\"comment/184\",[]],[\"name/185\",[152,53.407]],[\"comment/185\",[]],[\"name/186\",[153,53.407]],[\"comment/186\",[]],[\"name/187\",[154,53.407]],[\"comment/187\",[]],[\"name/188\",[155,53.407]],[\"comment/188\",[]],[\"name/189\",[4,28.284]],[\"comment/189\",[]],[\"name/190\",[156,42.421]],[\"comment/190\",[]],[\"name/191\",[146,40.415]],[\"comment/191\",[]],[\"name/192\",[157,48.299]],[\"comment/192\",[]],[\"name/193\",[23,44.934]],[\"comment/193\",[]],[\"name/194\",[158,53.407]],[\"comment/194\",[]],[\"name/195\",[159,53.407]],[\"comment/195\",[]],[\"name/196\",[160,53.407]],[\"comment/196\",[]],[\"name/197\",[4,28.284]],[\"comment/197\",[]],[\"name/198\",[156,42.421]],[\"comment/198\",[]],[\"name/199\",[146,40.415]],[\"comment/199\",[]],[\"name/200\",[157,48.299]],[\"comment/200\",[]],[\"name/201\",[161,53.407]],[\"comment/201\",[]],[\"name/202\",[162,53.407]],[\"comment/202\",[]],[\"name/203\",[132,48.299]],[\"comment/203\",[]],[\"name/204\",[163,53.407]],[\"comment/204\",[]],[\"name/205\",[164,53.407]],[\"comment/205\",[]],[\"name/206\",[165,53.407]],[\"comment/206\",[]],[\"name/207\",[166,53.407]],[\"comment/207\",[]],[\"name/208\",[167,53.407]],[\"comment/208\",[]],[\"name/209\",[168,53.407]],[\"comment/209\",[]],[\"name/210\",[169,53.407]],[\"comment/210\",[]],[\"name/211\",[4,28.284]],[\"comment/211\",[]],[\"name/212\",[21,38.744]],[\"comment/212\",[]],[\"name/213\",[170,53.407]],[\"comment/213\",[]],[\"name/214\",[171,53.407]],[\"comment/214\",[]],[\"name/215\",[172,53.407]],[\"comment/215\",[]],[\"name/216\",[173,53.407]],[\"comment/216\",[]],[\"name/217\",[174,53.407]],[\"comment/217\",[]],[\"name/218\",[175,53.407]],[\"comment/218\",[]],[\"name/219\",[64,27.758]],[\"comment/219\",[]],[\"name/220\",[176,53.407]],[\"comment/220\",[]],[\"name/221\",[64,27.758]],[\"comment/221\",[]],[\"name/222\",[177,53.407]],[\"comment/222\",[]],[\"name/223\",[64,27.758]],[\"comment/223\",[]],[\"name/224\",[178,53.407]],[\"comment/224\",[]],[\"name/225\",[179,48.299]],[\"comment/225\",[]],[\"name/226\",[180,53.407]],[\"comment/226\",[]],[\"name/227\",[1,48.299]],[\"comment/227\",[]],[\"name/228\",[179,48.299]],[\"comment/228\",[]],[\"name/229\",[181,53.407]],[\"comment/229\",[]],[\"name/230\",[182,53.407]],[\"comment/230\",[]],[\"name/231\",[183,53.407]],[\"comment/231\",[]],[\"name/232\",[184,53.407]],[\"comment/232\",[]],[\"name/233\",[185,53.407]],[\"comment/233\",[]],[\"name/234\",[186,53.407]],[\"comment/234\",[]],[\"name/235\",[187,53.407]],[\"comment/235\",[]],[\"name/236\",[188,53.407]],[\"comment/236\",[]],[\"name/237\",[189,53.407]],[\"comment/237\",[]],[\"name/238\",[190,53.407]],[\"comment/238\",[]],[\"name/239\",[191,53.407]],[\"comment/239\",[]],[\"name/240\",[192,53.407]],[\"comment/240\",[]],[\"name/241\",[193,53.407]],[\"comment/241\",[]],[\"name/242\",[194,53.407]],[\"comment/242\",[]],[\"name/243\",[195,53.407]],[\"comment/243\",[]],[\"name/244\",[196,53.407]],[\"comment/244\",[]],[\"name/245\",[197,53.407]],[\"comment/245\",[]],[\"name/246\",[198,53.407]],[\"comment/246\",[]],[\"name/247\",[199,53.407]],[\"comment/247\",[]],[\"name/248\",[200,53.407]],[\"comment/248\",[]],[\"name/249\",[201,53.407]],[\"comment/249\",[]],[\"name/250\",[202,53.407]],[\"comment/250\",[]],[\"name/251\",[64,27.758]],[\"comment/251\",[]],[\"name/252\",[203,53.407]],[\"comment/252\",[]],[\"name/253\",[64,27.758]],[\"comment/253\",[]],[\"name/254\",[204,53.407]],[\"comment/254\",[]],[\"name/255\",[205,53.407]],[\"comment/255\",[]],[\"name/256\",[206,53.407]],[\"comment/256\",[]],[\"name/257\",[207,53.407]],[\"comment/257\",[]],[\"name/258\",[208,53.407]],[\"comment/258\",[]],[\"name/259\",[209,53.407]],[\"comment/259\",[]],[\"name/260\",[210,53.407]],[\"comment/260\",[]],[\"name/261\",[4,28.284]],[\"comment/261\",[]],[\"name/262\",[211,53.407]],[\"comment/262\",[]],[\"name/263\",[4,28.284]],[\"comment/263\",[]],[\"name/264\",[212,53.407]],[\"comment/264\",[]],[\"name/265\",[213,53.407]],[\"comment/265\",[]],[\"name/266\",[4,28.284]],[\"comment/266\",[]],[\"name/267\",[214,53.407]],[\"comment/267\",[]],[\"name/268\",[4,28.284]],[\"comment/268\",[]],[\"name/269\",[215,53.407]],[\"comment/269\",[]],[\"name/270\",[24,42.421]],[\"comment/270\",[]],[\"name/271\",[216,53.407]],[\"comment/271\",[]],[\"name/272\",[21,38.744]],[\"comment/272\",[]],[\"name/273\",[217,48.299]],[\"comment/273\",[]],[\"name/274\",[218,53.407]],[\"comment/274\",[]],[\"name/275\",[4,28.284]],[\"comment/275\",[]],[\"name/276\",[156,42.421]],[\"comment/276\",[]],[\"name/277\",[146,40.415]],[\"comment/277\",[]],[\"name/278\",[219,48.299]],[\"comment/278\",[]],[\"name/279\",[21,38.744]],[\"comment/279\",[]],[\"name/280\",[96,42.421]],[\"comment/280\",[]],[\"name/281\",[24,42.421]],[\"comment/281\",[]],[\"name/282\",[220,48.299]],[\"comment/282\",[]],[\"name/283\",[221,53.407]],[\"comment/283\",[]],[\"name/284\",[4,28.284]],[\"comment/284\",[]],[\"name/285\",[156,42.421]],[\"comment/285\",[]],[\"name/286\",[146,40.415]],[\"comment/286\",[]],[\"name/287\",[219,48.299]],[\"comment/287\",[]],[\"name/288\",[21,38.744]],[\"comment/288\",[]],[\"name/289\",[96,42.421]],[\"comment/289\",[]],[\"name/290\",[24,42.421]],[\"comment/290\",[]],[\"name/291\",[220,48.299]],[\"comment/291\",[]],[\"name/292\",[222,53.407]],[\"comment/292\",[]],[\"name/293\",[223,53.407]],[\"comment/293\",[]],[\"name/294\",[224,53.407]],[\"comment/294\",[]],[\"name/295\",[4,28.284]],[\"comment/295\",[]],[\"name/296\",[217,48.299]],[\"comment/296\",[]],[\"name/297\",[225,53.407]],[\"comment/297\",[]],[\"name/298\",[21,38.744]],[\"comment/298\",[]],[\"name/299\",[226,53.407]],[\"comment/299\",[]],[\"name/300\",[227,53.407]],[\"comment/300\",[]],[\"name/301\",[4,28.284]],[\"comment/301\",[]],[\"name/302\",[228,53.407]],[\"comment/302\",[]],[\"name/303\",[4,28.284]],[\"comment/303\",[]],[\"name/304\",[229,53.407]],[\"comment/304\",[]],[\"name/305\",[4,28.284]],[\"comment/305\",[]],[\"name/306\",[230,53.407]],[\"comment/306\",[]],[\"name/307\",[23,44.934]],[\"comment/307\",[]],[\"name/308\",[231,53.407]],[\"comment/308\",[]],[\"name/309\",[232,53.407]],[\"comment/309\",[]],[\"name/310\",[233,53.407]],[\"comment/310\",[]],[\"name/311\",[234,53.407]],[\"comment/311\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":4,\"name\":{\"4\":{},\"55\":{},\"161\":{},\"169\":{},\"177\":{},\"189\":{},\"197\":{},\"211\":{},\"261\":{},\"263\":{},\"266\":{},\"268\":{},\"275\":{},\"284\":{},\"295\":{},\"301\":{},\"303\":{},\"305\":{}},\"comment\":{}}],[\"_groups\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"_hostname\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"_id\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"_localservices\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"_max\",{\"_index\":183,\"name\":{\"231\":{}},\"comment\":{}}],[\"_networkservices\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"_port\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"_timerdisabled\",{\"_index\":184,\"name\":{\"232\":{}},\"comment\":{}}],[\"_unicast\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"a\",{\"_index\":93,\"name\":{\"109\":{},\"122\":{}},\"comment\":{}}],[\"aaaa\",{\"_index\":97,\"name\":{\"113\":{},\"126\":{}},\"comment\":{}}],[\"additionals\",{\"_index\":139,\"name\":{\"167\":{}},\"comment\":{}}],[\"address\",{\"_index\":217,\"name\":{\"273\":{},\"296\":{}},\"comment\":{}}],[\"advertise\",{\"_index\":29,\"name\":{\"29\":{}},\"comment\":{}}],[\"advertisements\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"ancount\",{\"_index\":142,\"name\":{\"173\":{}},\"comment\":{}}],[\"answers\",{\"_index\":137,\"name\":{\"165\":{}},\"comment\":{}}],[\"any\",{\"_index\":106,\"name\":{\"130\":{},\"133\":{}},\"comment\":{}}],[\"arcount\",{\"_index\":144,\"name\":{\"175\":{}},\"comment\":{}}],[\"authenticdata\",{\"_index\":153,\"name\":{\"186\":{}},\"comment\":{}}],[\"authoritativeanswer\",{\"_index\":148,\"name\":{\"181\":{}},\"comment\":{}}],[\"authorities\",{\"_index\":138,\"name\":{\"166\":{}},\"comment\":{}}],[\"baseresourcerecord\",{\"_index\":160,\"name\":{\"196\":{}},\"comment\":{}}],[\"basesocketinfo\",{\"_index\":227,\"name\":{\"300\":{}},\"comment\":{}}],[\"bindsocket\",{\"_index\":58,\"name\":{\"60\":{}},\"comment\":{}}],[\"brand\",{\"_index\":208,\"name\":{\"258\":{}},\"comment\":{}}],[\"cachableresourcerecord\",{\"_index\":158,\"name\":{\"194\":{}},\"comment\":{}}],[\"cachableresourcerecordrow\",{\"_index\":201,\"name\":{\"249\":{}},\"comment\":{}}],[\"cache\",{\"_index\":178,\"name\":{\"224\":{}},\"comment\":{}}],[\"callback\",{\"_index\":210,\"name\":{\"260\":{}},\"comment\":{}}],[\"checkingdisabled\",{\"_index\":154,\"name\":{\"187\":{}},\"comment\":{}}],[\"class\",{\"_index\":157,\"name\":{\"192\":{},\"200\":{}},\"comment\":{}}],[\"clear\",{\"_index\":196,\"name\":{\"244\":{}},\"comment\":{}}],[\"close\",{\"_index\":228,\"name\":{\"302\":{}},\"comment\":{}}],[\"cname\",{\"_index\":94,\"name\":{\"110\":{},\"123\":{}},\"comment\":{}}],[\"concatuint8array\",{\"_index\":108,\"name\":{\"134\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"227\":{}},\"comment\":{}}],[\"count\",{\"_index\":187,\"name\":{\"235\":{}},\"comment\":{}}],[\"createresourcerecordcache\",{\"_index\":180,\"name\":{\"226\":{}},\"comment\":{}}],[\"data\",{\"_index\":132,\"name\":{\"158\":{},\"203\":{}},\"comment\":{}}],[\"delete\",{\"_index\":190,\"name\":{\"238\":{}},\"comment\":{}}],[\"description\",{\"_index\":64,\"name\":{\"66\":{},\"68\":{},\"70\":{},\"72\":{},\"74\":{},\"76\":{},\"78\":{},\"80\":{},\"82\":{},\"84\":{},\"86\":{},\"88\":{},\"90\":{},\"92\":{},\"219\":{},\"221\":{},\"223\":{},\"251\":{},\"253\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":188,\"name\":{\"236\":{}},\"comment\":{}}],[\"dns\",{\"_index\":87,\"name\":{\"102\":{}},\"comment\":{}}],[\"encodeuint16be\",{\"_index\":109,\"name\":{\"135\":{}},\"comment\":{}}],[\"encodeuint32be\",{\"_index\":110,\"name\":{\"136\":{}},\"comment\":{}}],[\"errorcache\",{\"_index\":202,\"name\":{\"250\":{}},\"comment\":{}}],[\"errorcachedestroyed\",{\"_index\":203,\"name\":{\"252\":{}},\"comment\":{}}],[\"errordns\",{\"_index\":175,\"name\":{\"218\":{}},\"comment\":{}}],[\"errordnsgenerate\",{\"_index\":177,\"name\":{\"222\":{}},\"comment\":{}}],[\"errordnsparse\",{\"_index\":176,\"name\":{\"220\":{}},\"comment\":{}}],[\"errormdns\",{\"_index\":63,\"name\":{\"65\":{}},\"comment\":{}}],[\"errormdnsinterfacerange\",{\"_index\":67,\"name\":{\"71\":{}},\"comment\":{}}],[\"errormdnsinvalidmulticastaddress\",{\"_index\":68,\"name\":{\"73\":{}},\"comment\":{}}],[\"errormdnsnotrunning\",{\"_index\":66,\"name\":{\"69\":{}},\"comment\":{}}],[\"errormdnspacket\",{\"_index\":69,\"name\":{\"75\":{}},\"comment\":{}}],[\"errormdnspacketgenerate\",{\"_index\":71,\"name\":{\"79\":{}},\"comment\":{}}],[\"errormdnspacketparse\",{\"_index\":70,\"name\":{\"77\":{}},\"comment\":{}}],[\"errormdnsrunning\",{\"_index\":65,\"name\":{\"67\":{}},\"comment\":{}}],[\"errormdnssocket\",{\"_index\":72,\"name\":{\"81\":{}},\"comment\":{}}],[\"errormdnssocketinternal\",{\"_index\":73,\"name\":{\"83\":{}},\"comment\":{}}],[\"errormdnssocketinvalidbindaddress\",{\"_index\":74,\"name\":{\"85\":{}},\"comment\":{}}],[\"errormdnssocketinvalidreceiveaddress\",{\"_index\":76,\"name\":{\"89\":{}},\"comment\":{}}],[\"errormdnssocketinvalidsendaddress\",{\"_index\":75,\"name\":{\"87\":{}},\"comment\":{}}],[\"errormdnssocketsendfailed\",{\"_index\":77,\"name\":{\"91\":{}},\"comment\":{}}],[\"errors\",{\"_index\":62,\"name\":{\"64\":{}},\"comment\":{}}],[\"eventmdns\",{\"_index\":79,\"name\":{\"94\":{}},\"comment\":{}}],[\"eventmdnserror\",{\"_index\":86,\"name\":{\"101\":{}},\"comment\":{}}],[\"eventmdnsservice\",{\"_index\":84,\"name\":{\"99\":{}},\"comment\":{}}],[\"eventmdnsserviceremoved\",{\"_index\":85,\"name\":{\"100\":{}},\"comment\":{}}],[\"eventmdnsstart\",{\"_index\":80,\"name\":{\"95\":{}},\"comment\":{}}],[\"eventmdnsstarted\",{\"_index\":81,\"name\":{\"96\":{}},\"comment\":{}}],[\"eventmdnsstop\",{\"_index\":82,\"name\":{\"97\":{}},\"comment\":{}}],[\"eventmdnsstopped\",{\"_index\":83,\"name\":{\"98\":{}},\"comment\":{}}],[\"eventresourcerecordcache\",{\"_index\":204,\"name\":{\"254\":{}},\"comment\":{}}],[\"eventresourcerecordcachedestroy\",{\"_index\":205,\"name\":{\"255\":{}},\"comment\":{}}],[\"eventresourcerecordcachedestroyed\",{\"_index\":206,\"name\":{\"256\":{}},\"comment\":{}}],[\"eventresourcerecordcacheexpired\",{\"_index\":207,\"name\":{\"257\":{}},\"comment\":{}}],[\"events\",{\"_index\":78,\"name\":{\"93\":{}},\"comment\":{}}],[\"extractrelatedfqdns\",{\"_index\":38,\"name\":{\"38\":{}},\"comment\":{}}],[\"family\",{\"_index\":225,\"name\":{\"297\":{}},\"comment\":{}}],[\"findsockethost\",{\"_index\":32,\"name\":{\"32\":{}},\"comment\":{}}],[\"flags\",{\"_index\":135,\"name\":{\"163\":{},\"171\":{}},\"comment\":{}}],[\"flush\",{\"_index\":161,\"name\":{\"201\":{}},\"comment\":{}}],[\"fqdn\",{\"_index\":216,\"name\":{\"271\":{}},\"comment\":{}}],[\"fromcachableresourcerecordrow\",{\"_index\":200,\"name\":{\"248\":{}},\"comment\":{}}],[\"fromipv4mappedipv6\",{\"_index\":50,\"name\":{\"50\":{}},\"comment\":{}}],[\"generateipv6\",{\"_index\":114,\"name\":{\"140\":{}},\"comment\":{}}],[\"generatelabels\",{\"_index\":112,\"name\":{\"138\":{}},\"comment\":{}}],[\"generatepacket\",{\"_index\":117,\"name\":{\"143\":{}},\"comment\":{}}],[\"generatepacketflags\",{\"_index\":118,\"name\":{\"144\":{}},\"comment\":{}}],[\"generatequestionrecord\",{\"_index\":122,\"name\":{\"148\":{}},\"comment\":{}}],[\"generatequestionrecords\",{\"_index\":121,\"name\":{\"147\":{}},\"comment\":{}}],[\"generateresourcerecord\",{\"_index\":126,\"name\":{\"152\":{}},\"comment\":{}}],[\"generateresourcerecords\",{\"_index\":125,\"name\":{\"151\":{}},\"comment\":{}}],[\"generatesrvrecorddata\",{\"_index\":128,\"name\":{\"154\":{}},\"comment\":{}}],[\"generatetxtrecorddata\",{\"_index\":127,\"name\":{\"153\":{}},\"comment\":{}}],[\"get\",{\"_index\":192,\"name\":{\"240\":{}},\"comment\":{}}],[\"gethostname\",{\"_index\":51,\"name\":{\"52\":{}},\"comment\":{}}],[\"gethostnamerelatedresourcerecords\",{\"_index\":194,\"name\":{\"242\":{}},\"comment\":{}}],[\"getnetworkinterfaces\",{\"_index\":3,\"name\":{\"3\":{},\"51\":{}},\"comment\":{}}],[\"getplatform\",{\"_index\":52,\"name\":{\"53\":{}},\"comment\":{}}],[\"getrandompacketid\",{\"_index\":59,\"name\":{\"61\":{}},\"comment\":{}}],[\"groups\",{\"_index\":22,\"name\":{\"22\":{}},\"comment\":{}}],[\"handleeventresourcerecordcacheexpired\",{\"_index\":37,\"name\":{\"37\":{}},\"comment\":{}}],[\"handlesocketerror\",{\"_index\":39,\"name\":{\"39\":{}},\"comment\":{}}],[\"handlesocketmessage\",{\"_index\":33,\"name\":{\"33\":{}},\"comment\":{}}],[\"handlesocketmessagequery\",{\"_index\":34,\"name\":{\"34\":{}},\"comment\":{}}],[\"handlesocketmessageresponse\",{\"_index\":35,\"name\":{\"35\":{}},\"comment\":{}}],[\"has\",{\"_index\":195,\"name\":{\"243\":{}},\"comment\":{}}],[\"host\",{\"_index\":215,\"name\":{\"269\":{}},\"comment\":{}}],[\"hostname\",{\"_index\":24,\"name\":{\"24\":{},\"270\":{},\"281\":{},\"290\":{}},\"comment\":{}}],[\"hostnamerecord\",{\"_index\":164,\"name\":{\"205\":{}},\"comment\":{}}],[\"hostrecord\",{\"_index\":163,\"name\":{\"204\":{}},\"comment\":{}}],[\"hosts\",{\"_index\":220,\"name\":{\"282\":{},\"291\":{}},\"comment\":{}}],[\"id\",{\"_index\":25,\"name\":{\"25\":{},\"162\":{},\"170\":{}},\"comment\":{}}],[\"in\",{\"_index\":104,\"name\":{\"120\":{},\"132\":{}},\"comment\":{}}],[\"insertionsort\",{\"_index\":198,\"name\":{\"246\":{}},\"comment\":{}}],[\"iscachableresourcerecord\",{\"_index\":130,\"name\":{\"156\":{}},\"comment\":{}}],[\"isipv4\",{\"_index\":47,\"name\":{\"47\":{}},\"comment\":{}}],[\"isipv4mappedipv6\",{\"_index\":49,\"name\":{\"49\":{}},\"comment\":{}}],[\"isipv6\",{\"_index\":48,\"name\":{\"48\":{}},\"comment\":{}}],[\"isport\",{\"_index\":46,\"name\":{\"46\":{}},\"comment\":{}}],[\"isservice\",{\"_index\":56,\"name\":{\"58\":{}},\"comment\":{}}],[\"isstringresourcerecord\",{\"_index\":129,\"name\":{\"155\":{}},\"comment\":{}}],[\"localrecordcache\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"localrecordcachedirty\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"localservices\",{\"_index\":26,\"name\":{\"26\":{}},\"comment\":{}}],[\"logger\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"max\",{\"_index\":185,\"name\":{\"233\":{}},\"comment\":{}}],[\"mdns\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"multicastsocketinfo\",{\"_index\":232,\"name\":{\"309\":{}},\"comment\":{}}],[\"name\",{\"_index\":156,\"name\":{\"190\":{},\"198\":{},\"276\":{},\"285\":{}},\"comment\":{}}],[\"networkaddress\",{\"_index\":222,\"name\":{\"292\":{}},\"comment\":{}}],[\"networkinterfaces\",{\"_index\":223,\"name\":{\"293\":{}},\"comment\":{}}],[\"networkrecordcache\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"networkservices\",{\"_index\":27,\"name\":{\"27\":{}},\"comment\":{}}],[\"noerror\",{\"_index\":102,\"name\":{\"118\":{}},\"comment\":{}}],[\"nscount\",{\"_index\":143,\"name\":{\"174\":{}},\"comment\":{}}],[\"nsec\",{\"_index\":100,\"name\":{\"116\":{},\"129\":{}},\"comment\":{}}],[\"nsecrecord\",{\"_index\":174,\"name\":{\"217\":{}},\"comment\":{}}],[\"opaque\",{\"_index\":209,\"name\":{\"259\":{}},\"comment\":{}}],[\"opcode\",{\"_index\":147,\"name\":{\"179\":{}},\"comment\":{}}],[\"opt\",{\"_index\":99,\"name\":{\"115\":{},\"128\":{}},\"comment\":{}}],[\"optrecord\",{\"_index\":173,\"name\":{\"216\":{}},\"comment\":{}}],[\"p\",{\"_index\":212,\"name\":{\"264\":{}},\"comment\":{}}],[\"packet\",{\"_index\":134,\"name\":{\"160\":{}},\"comment\":{}}],[\"packetflags\",{\"_index\":145,\"name\":{\"176\":{}},\"comment\":{}}],[\"packetheader\",{\"_index\":140,\"name\":{\"168\":{}},\"comment\":{}}],[\"packetopcode\",{\"_index\":88,\"name\":{\"103\":{}},\"comment\":{}}],[\"packettype\",{\"_index\":90,\"name\":{\"105\":{}},\"comment\":{}}],[\"parsed\",{\"_index\":131,\"name\":{\"157\":{}},\"comment\":{}}],[\"parseipv6\",{\"_index\":113,\"name\":{\"139\":{}},\"comment\":{}}],[\"parselabels\",{\"_index\":111,\"name\":{\"137\":{}},\"comment\":{}}],[\"parsepacket\",{\"_index\":115,\"name\":{\"141\":{}},\"comment\":{}}],[\"parsepacketflags\",{\"_index\":116,\"name\":{\"142\":{}},\"comment\":{}}],[\"parsequestionrecord\",{\"_index\":120,\"name\":{\"146\":{}},\"comment\":{}}],[\"parsequestionrecords\",{\"_index\":119,\"name\":{\"145\":{}},\"comment\":{}}],[\"parseresourcerecord\",{\"_index\":124,\"name\":{\"150\":{}},\"comment\":{}}],[\"parseresourcerecords\",{\"_index\":123,\"name\":{\"149\":{}},\"comment\":{}}],[\"port\",{\"_index\":21,\"name\":{\"21\":{},\"212\":{},\"272\":{},\"279\":{},\"288\":{},\"298\":{}},\"comment\":{}}],[\"priority\",{\"_index\":171,\"name\":{\"214\":{}},\"comment\":{}}],[\"processincomingresourcerecords\",{\"_index\":36,\"name\":{\"36\":{}},\"comment\":{}}],[\"promise\",{\"_index\":54,\"name\":{\"56\":{}},\"comment\":{}}],[\"promisedeconstructed\",{\"_index\":211,\"name\":{\"262\":{}},\"comment\":{}}],[\"promisify\",{\"_index\":53,\"name\":{\"54\":{}},\"comment\":{}}],[\"protocol\",{\"_index\":219,\"name\":{\"278\":{},\"287\":{}},\"comment\":{}}],[\"ptr\",{\"_index\":95,\"name\":{\"111\":{},\"124\":{}},\"comment\":{}}],[\"qclass\",{\"_index\":107,\"name\":{\"131\":{}},\"comment\":{}}],[\"qdcount\",{\"_index\":141,\"name\":{\"172\":{}},\"comment\":{}}],[\"qtype\",{\"_index\":105,\"name\":{\"121\":{}},\"comment\":{}}],[\"queries\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"query\",{\"_index\":89,\"name\":{\"104\":{},\"106\":{}},\"comment\":{}}],[\"questionrecord\",{\"_index\":155,\"name\":{\"188\":{}},\"comment\":{}}],[\"questions\",{\"_index\":136,\"name\":{\"164\":{}},\"comment\":{}}],[\"rclass\",{\"_index\":103,\"name\":{\"119\":{}},\"comment\":{}}],[\"rcode\",{\"_index\":101,\"name\":{\"117\":{},\"180\":{}},\"comment\":{}}],[\"recursionavailable\",{\"_index\":151,\"name\":{\"184\":{}},\"comment\":{}}],[\"recursiondesired\",{\"_index\":150,\"name\":{\"183\":{}},\"comment\":{}}],[\"registerservice\",{\"_index\":41,\"name\":{\"41\":{}},\"comment\":{}}],[\"rejectp\",{\"_index\":214,\"name\":{\"267\":{}},\"comment\":{}}],[\"remainder\",{\"_index\":133,\"name\":{\"159\":{}},\"comment\":{}}],[\"remoteinfo\",{\"_index\":224,\"name\":{\"294\":{}},\"comment\":{}}],[\"resolvep\",{\"_index\":213,\"name\":{\"265\":{}},\"comment\":{}}],[\"resourcerecord\",{\"_index\":159,\"name\":{\"195\":{}},\"comment\":{}}],[\"resourcerecordcache\",{\"_index\":179,\"name\":{\"225\":{},\"228\":{}},\"comment\":{}}],[\"resourcerecordcacheindexesbyexpiration\",{\"_index\":181,\"name\":{\"229\":{}},\"comment\":{}}],[\"resourcerecordcachetimer\",{\"_index\":182,\"name\":{\"230\":{}},\"comment\":{}}],[\"resourcerecordcachetimerreset\",{\"_index\":197,\"name\":{\"245\":{}},\"comment\":{}}],[\"response\",{\"_index\":91,\"name\":{\"107\":{}},\"comment\":{}}],[\"rtype\",{\"_index\":92,\"name\":{\"108\":{}},\"comment\":{}}],[\"runningtasks\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"send\",{\"_index\":229,\"name\":{\"304\":{}},\"comment\":{}}],[\"sendmulticastpacket\",{\"_index\":30,\"name\":{\"30\":{}},\"comment\":{}}],[\"sendpacket\",{\"_index\":31,\"name\":{\"31\":{}},\"comment\":{}}],[\"service\",{\"_index\":218,\"name\":{\"274\":{}},\"comment\":{}}],[\"servicepojo\",{\"_index\":221,\"name\":{\"283\":{}},\"comment\":{}}],[\"set\",{\"_index\":189,\"name\":{\"237\":{}},\"comment\":{}}],[\"size\",{\"_index\":226,\"name\":{\"299\":{}},\"comment\":{}}],[\"sockethostrow\",{\"_index\":234,\"name\":{\"311\":{}},\"comment\":{}}],[\"sockethosttable\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"socketinfo\",{\"_index\":233,\"name\":{\"310\":{}},\"comment\":{}}],[\"socketmap\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"sockets\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"srv\",{\"_index\":98,\"name\":{\"114\":{},\"127\":{}},\"comment\":{}}],[\"srvrecord\",{\"_index\":168,\"name\":{\"209\":{}},\"comment\":{}}],[\"srvrecordvalue\",{\"_index\":169,\"name\":{\"210\":{}},\"comment\":{}}],[\"start\",{\"_index\":28,\"name\":{\"28\":{}},\"comment\":{}}],[\"startquery\",{\"_index\":43,\"name\":{\"43\":{}},\"comment\":{}}],[\"stop\",{\"_index\":40,\"name\":{\"40\":{}},\"comment\":{}}],[\"stopquery\",{\"_index\":44,\"name\":{\"44\":{}},\"comment\":{}}],[\"stringrecord\",{\"_index\":165,\"name\":{\"206\":{}},\"comment\":{}}],[\"target\",{\"_index\":170,\"name\":{\"213\":{}},\"comment\":{}}],[\"timerdisabled\",{\"_index\":186,\"name\":{\"234\":{}},\"comment\":{}}],[\"tocachableresourcerecordrow\",{\"_index\":199,\"name\":{\"247\":{}},\"comment\":{}}],[\"tofqdn\",{\"_index\":61,\"name\":{\"63\":{}},\"comment\":{}}],[\"tohostresourcerecords\",{\"_index\":55,\"name\":{\"57\":{}},\"comment\":{}}],[\"toservicedomain\",{\"_index\":60,\"name\":{\"62\":{}},\"comment\":{}}],[\"toserviceresourcerecords\",{\"_index\":57,\"name\":{\"59\":{}},\"comment\":{}}],[\"truncation\",{\"_index\":149,\"name\":{\"182\":{}},\"comment\":{}}],[\"ttl\",{\"_index\":162,\"name\":{\"202\":{}},\"comment\":{}}],[\"txt\",{\"_index\":96,\"name\":{\"112\":{},\"125\":{},\"280\":{},\"289\":{}},\"comment\":{}}],[\"txtrecord\",{\"_index\":166,\"name\":{\"207\":{}},\"comment\":{}}],[\"txtrecordvalue\",{\"_index\":167,\"name\":{\"208\":{}},\"comment\":{}}],[\"type\",{\"_index\":146,\"name\":{\"178\":{},\"191\":{},\"199\":{},\"277\":{},\"286\":{}},\"comment\":{}}],[\"udptype\",{\"_index\":230,\"name\":{\"306\":{}},\"comment\":{}}],[\"unicast\",{\"_index\":23,\"name\":{\"23\":{},\"193\":{},\"307\":{}},\"comment\":{}}],[\"unicastsocketinfo\",{\"_index\":231,\"name\":{\"308\":{}},\"comment\":{}}],[\"unregisterservice\",{\"_index\":42,\"name\":{\"42\":{}},\"comment\":{}}],[\"utils\",{\"_index\":45,\"name\":{\"45\":{}},\"comment\":{}}],[\"weight\",{\"_index\":172,\"name\":{\"215\":{}},\"comment\":{}}],[\"where\",{\"_index\":191,\"name\":{\"239\":{}},\"comment\":{}}],[\"whereget\",{\"_index\":193,\"name\":{\"241\":{}},\"comment\":{}}],[\"zero\",{\"_index\":152,\"name\":{\"185\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 6127b27..18b4f8f 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -1,155 +1,256 @@ -@import url("./icons.css"); - :root { /* Light */ - --light-color-background: #fcfcfc; - --light-color-secondary-background: #fff; + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); --light-color-text: #222; - --light-color-text-aside: #707070; - --light-color-link: #4da6ff; - --light-color-menu-divider: #eee; - --light-color-menu-divider-focus: #000; - --light-color-menu-label: #707070; - --light-color-panel: var(--light-color-secondary-background); - --light-color-panel-divider: #eee; - --light-color-comment-tag: #707070; - --light-color-comment-tag-text: #fff; - --light-color-ts: #9600ff; - --light-color-ts-interface: #647f1b; - --light-color-ts-enum: #937210; - --light-color-ts-class: #0672de; - --light-color-ts-private: #707070; - --light-color-toolbar: #fff; - --light-color-toolbar-text: #333; - --light-icon-filter: invert(0); + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; /* Dark */ - --dark-color-background: #36393f; - --dark-color-secondary-background: #2f3136; - --dark-color-text: #ffffff; - --dark-color-text-aside: #e6e4e4; + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; --dark-color-link: #00aff4; - --dark-color-menu-divider: #eee; - --dark-color-menu-divider-focus: #000; - --dark-color-menu-label: #707070; - --dark-color-panel: var(--dark-color-secondary-background); - --dark-color-panel-divider: #818181; - --dark-color-comment-tag: #dcddde; - --dark-color-comment-tag-text: #2f3136; - --dark-color-ts: #c97dff; - --dark-color-ts-interface: #9cbe3c; - --dark-color-ts-enum: #d6ab29; - --dark-color-ts-class: #3695f3; - --dark-color-ts-private: #e2e2e2; - --dark-color-toolbar: #34373c; - --dark-color-toolbar-text: #ffffff; - --dark-icon-filter: invert(1); + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; } @media (prefers-color-scheme: light) { :root { --color-background: var(--light-color-background); - --color-secondary-background: var(--light-color-secondary-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); --color-text: var(--light-color-text); --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); - --color-menu-divider: var(--light-color-menu-divider); - --color-menu-divider-focus: var(--light-color-menu-divider-focus); - --color-menu-label: var(--light-color-menu-label); - --color-panel: var(--light-color-panel); - --color-panel-divider: var(--light-color-panel-divider); - --color-comment-tag: var(--light-color-comment-tag); - --color-comment-tag-text: var(--light-color-comment-tag-text); - --color-ts: var(--light-color-ts); - --color-ts-interface: var(--light-color-ts-interface); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); --color-ts-class: var(--light-color-ts-class); - --color-ts-private: var(--light-color-ts-private); - --color-toolbar: var(--light-color-toolbar); - --color-toolbar-text: var(--light-color-toolbar-text); - --icon-filter: var(--light-icon-filter); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); } } @media (prefers-color-scheme: dark) { :root { --color-background: var(--dark-color-background); - --color-secondary-background: var(--dark-color-secondary-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); --color-text: var(--dark-color-text); --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); - --color-menu-divider: var(--dark-color-menu-divider); - --color-menu-divider-focus: var(--dark-color-menu-divider-focus); - --color-menu-label: var(--dark-color-menu-label); - --color-panel: var(--dark-color-panel); - --color-panel-divider: var(--dark-color-panel-divider); - --color-comment-tag: var(--dark-color-comment-tag); - --color-comment-tag-text: var(--dark-color-comment-tag-text); - --color-ts: var(--dark-color-ts); - --color-ts-interface: var(--dark-color-ts-interface); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); --color-ts-class: var(--dark-color-ts-class); - --color-ts-private: var(--dark-color-ts-private); - --color-toolbar: var(--dark-color-toolbar); - --color-toolbar-text: var(--dark-color-toolbar-text); - --icon-filter: var(--dark-icon-filter); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); } } +html { + color-scheme: var(--color-scheme); +} + body { margin: 0; } -body.light { +:root[data-theme="light"] { --color-background: var(--light-color-background); - --color-secondary-background: var(--light-color-secondary-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); --color-text: var(--light-color-text); --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); - --color-menu-divider: var(--light-color-menu-divider); - --color-menu-divider-focus: var(--light-color-menu-divider-focus); - --color-menu-label: var(--light-color-menu-label); - --color-panel: var(--light-color-panel); - --color-panel-divider: var(--light-color-panel-divider); - --color-comment-tag: var(--light-color-comment-tag); - --color-comment-tag-text: var(--light-color-comment-tag-text); - --color-ts: var(--light-color-ts); - --color-ts-interface: var(--light-color-ts-interface); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); --color-ts-class: var(--light-color-ts-class); - --color-ts-private: var(--light-color-ts-private); - --color-toolbar: var(--light-color-toolbar); - --color-toolbar-text: var(--light-color-toolbar-text); - --icon-filter: var(--light-icon-filter); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); } -body.dark { +:root[data-theme="dark"] { --color-background: var(--dark-color-background); - --color-secondary-background: var(--dark-color-secondary-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); --color-text: var(--dark-color-text); --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); - --color-menu-divider: var(--dark-color-menu-divider); - --color-menu-divider-focus: var(--dark-color-menu-divider-focus); - --color-menu-label: var(--dark-color-menu-label); - --color-panel: var(--dark-color-panel); - --color-panel-divider: var(--dark-color-panel-divider); - --color-comment-tag: var(--dark-color-comment-tag); - --color-comment-tag-text: var(--dark-color-comment-tag-text); - --color-ts: var(--dark-color-ts); - --color-ts-interface: var(--dark-color-ts-interface); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); --color-ts-class: var(--dark-color-ts-class); - --color-ts-private: var(--dark-color-ts-private); - --color-toolbar: var(--dark-color-toolbar); - --color-toolbar-text: var(--dark-color-toolbar-text); - --icon-filter: var(--dark-icon-filter); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; } h1, @@ -161,41 +262,48 @@ h6 { line-height: 1.2; } +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + h1 { - font-size: 2em; - margin: 0.67em 0; + font-size: 1.875rem; + margin: 0.67rem 0; } h2 { - font-size: 1.5em; - margin: 0.83em 0; + font-size: 1.5rem; + margin: 0.83rem 0; } h3 { - font-size: 1.17em; - margin: 1em 0; + font-size: 1.25rem; + margin: 1rem 0; } -h4, -.tsd-index-panel h3 { - font-size: 1em; - margin: 1.33em 0; +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; } h5 { - font-size: 0.83em; - margin: 1.67em 0; + font-size: 1rem; + margin: 1.5rem 0; } h6 { - font-size: 0.67em; - margin: 2.33em 0; + font-size: 0.875rem; + margin: 2.33rem 0; } -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; +.uppercase { + text-transform: uppercase; } dl, @@ -210,74 +318,28 @@ dd { } .container { - max-width: 1200px; - margin: 0 auto; - padding: 0 40px; -} -@media (max-width: 640px) { - .container { - padding: 0 20px; - } -} - -.container-main { - padding-bottom: 200px; -} - -.row { - display: flex; - position: relative; - margin: 0 -10px; -} -.row:after { - visibility: hidden; - display: block; - content: ""; - clear: both; - height: 0; -} - -.col-4, -.col-8 { - box-sizing: border-box; - float: left; - padding: 0 10px; + max-width: 1700px; + padding: 0 2rem; } -.col-4 { - width: 33.3333333333%; -} -.col-8 { - width: 66.6666666667%; +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; } -ul.tsd-descriptions > li > :first-child, -.tsd-panel > :first-child, -.col-8 > :first-child, -.col-4 > :first-child, -ul.tsd-descriptions > li > :first-child > :first-child, -.tsd-panel > :first-child > :first-child, -.col-8 > :first-child > :first-child, -.col-4 > :first-child > :first-child, -ul.tsd-descriptions > li > :first-child > :first-child > :first-child, -.tsd-panel > :first-child > :first-child > :first-child, -.col-8 > :first-child > :first-child > :first-child, -.col-4 > :first-child > :first-child > :first-child { +.tsd-generator > p { margin-top: 0; -} -ul.tsd-descriptions > li > :last-child, -.tsd-panel > :last-child, -.col-8 > :last-child, -.col-4 > :last-child, -ul.tsd-descriptions > li > :last-child > :last-child, -.tsd-panel > :last-child > :last-child, -.col-8 > :last-child > :last-child, -.col-4 > :last-child > :last-child, -ul.tsd-descriptions > li > :last-child > :last-child > :last-child, -.tsd-panel > :last-child > :last-child > :last-child, -.col-8 > :last-child > :last-child > :last-child, -.col-4 > :last-child > :last-child > :last-child { margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); } @keyframes fade-in { @@ -320,22 +382,6 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child, opacity: 0; } } -@keyframes shift-to-left { - from { - transform: translate(0, 0); - } - to { - transform: translate(-25%, 0); - } -} -@keyframes unshift-to-left { - from { - transform: translate(-25%, 0); - } - to { - transform: translate(0, 0); - } -} @keyframes pop-in-from-right { from { transform: translate(100%, 0); @@ -379,16 +425,34 @@ pre { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; padding: 0.2em; margin: 0; - font-size: 14px; + font-size: 0.875rem; + border-radius: 0.8em; } pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; padding: 10px; + border: 1px solid var(--color-accent); } pre code { padding: 0; font-size: 100%; } +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} blockquote { margin: 1em 0; @@ -422,109 +486,6 @@ blockquote { margin: 1em 0; } -@media (min-width: 901px) and (max-width: 1024px) { - html .col-content { - width: 72%; - } - html .col-menu { - width: 28%; - } - html .tsd-navigation { - padding-left: 10px; - } -} -@media (max-width: 900px) { - html .col-content { - float: none; - width: 100%; - } - html .col-menu { - position: fixed !important; - overflow: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - width: 100%; - padding: 20px 20px 0 0; - max-width: 450px; - visibility: hidden; - background-color: var(--color-panel); - transform: translate(100%, 0); - } - html .col-menu > *:last-child { - padding-bottom: 20px; - } - html .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - - .to-has-menu .overlay { - animation: fade-in 0.4s; - } - - .to-has-menu :is(header, footer, .col-content) { - animation: shift-to-left 0.4s; - } - - .to-has-menu .col-menu { - animation: pop-in-from-right 0.4s; - } - - .from-has-menu .overlay { - animation: fade-out 0.4s; - } - - .from-has-menu :is(header, footer, .col-content) { - animation: unshift-to-left 0.4s; - } - - .from-has-menu .col-menu { - animation: pop-out-to-right 0.4s; - } - - .has-menu body { - overflow: hidden; - } - .has-menu .overlay { - visibility: visible; - } - .has-menu :is(header, footer, .col-content) { - transform: translate(-25%, 0); - } - .has-menu .col-menu { - visibility: visible; - transform: translate(0, 0); - display: grid; - grid-template-rows: auto 1fr; - max-height: 100vh; - } - .has-menu .tsd-navigation { - max-height: 100%; - } -} - -.tsd-page-title { - padding: 70px 0 20px 0; - margin: 0 0 40px 0; - background: var(--color-panel); - box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); -} -.tsd-page-title h1 { - margin: 0; -} - .tsd-breadcrumb { margin: 0; padding: 0; @@ -544,32 +505,44 @@ blockquote { content: " / "; } -dl.tsd-comment-tags { +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; overflow: hidden; + margin: 0.5em 0; } -dl.tsd-comment-tags dt { - float: left; - padding: 1px 5px; - margin: 0 10px 0 0; - border-radius: 4px; - border: 1px solid var(--color-comment-tag); - color: var(--color-comment-tag); - font-size: 0.8em; +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; font-weight: normal; } -dl.tsd-comment-tags dd { - margin: 0 0 10px 0; +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; } -dl.tsd-comment-tags dd:before, -dl.tsd-comment-tags dd:after { - display: table; + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { content: " "; } -dl.tsd-comment-tags dd pre, -dl.tsd-comment-tags dd:after { +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { clear: both; } -dl.tsd-comment-tags p { +dl.tsd-comment-tag-group p { margin: 0; } @@ -582,187 +555,115 @@ dl.tsd-comment-tags p { margin-bottom: 0; } -.toggle-protected .tsd-is-private { - display: none; -} - -.toggle-public .tsd-is-private, -.toggle-public .tsd-is-protected, -.toggle-public .tsd-is-private-protected { - display: none; +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; } - -.toggle-inherited .tsd-is-inherited { - display: none; +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; } - -.toggle-externals .tsd-is-external { - display: none; +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; } - -#tsd-filter { - position: relative; - display: inline-block; - height: 40px; - vertical-align: bottom; +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; } -.no-filter #tsd-filter { - display: none; +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; } -#tsd-filter .tsd-filter-group { - display: inline-block; - height: 40px; - vertical-align: bottom; - white-space: nowrap; +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; } -#tsd-filter input { - display: none; +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); } -@media (max-width: 900px) { - #tsd-filter .tsd-filter-group { - display: block; - position: absolute; - top: 40px; - right: 20px; - height: auto; - background-color: var(--color-panel); - visibility: hidden; - transform: translate(50%, 0); - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); - } - .has-options #tsd-filter .tsd-filter-group { - visibility: visible; - } - .to-has-options #tsd-filter .tsd-filter-group { - animation: fade-in 0.2s; - } - .from-has-options #tsd-filter .tsd-filter-group { - animation: fade-out 0.2s; - } - #tsd-filter label, - #tsd-filter .tsd-select { - display: block; - padding-right: 20px; - } +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); } - -footer { - border-top: 1px solid var(--color-panel-divider); - background-color: var(--color-panel); +.tsd-checkbox-background { + fill: var(--color-accent); } -footer:after { - content: ""; - display: table; +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); } -footer.with-border-bottom { - border-bottom: 1px solid var(--color-panel-divider); +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; } -footer .tsd-legend-group { - font-size: 0; +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); } -footer .tsd-legend { - display: inline-block; - width: 25%; - padding: 0; - font-size: 16px; - list-style: none; - line-height: 1.333em; - vertical-align: top; + +.tsd-theme-toggle { + padding-top: 0.75rem; } -@media (max-width: 900px) { - footer .tsd-legend { - width: 50%; - } +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; } .tsd-hierarchy { list-style: square; - padding: 0 0 0 20px; margin: 0; } .tsd-hierarchy .target { font-weight: bold; } -.tsd-index-panel .tsd-index-content { - margin-bottom: -30px !important; -} -.tsd-index-panel .tsd-index-section { - margin-bottom: 30px !important; -} -.tsd-index-panel h3 { - margin: 0 -20px 10px -20px; - padding: 0 20px 10px 20px; - border-bottom: 1px solid var(--color-panel-divider); -} -.tsd-index-panel ul.tsd-index-list { - -webkit-column-count: 3; - -moz-column-count: 3; - -ms-column-count: 3; - -o-column-count: 3; - column-count: 3; - -webkit-column-gap: 20px; - -moz-column-gap: 20px; - -ms-column-gap: 20px; - -o-column-gap: 20px; - column-gap: 20px; - padding: 0; +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { list-style: none; line-height: 1.333em; -} -@media (max-width: 900px) { - .tsd-index-panel ul.tsd-index-list { - -webkit-column-count: 1; - -moz-column-count: 1; - -ms-column-count: 1; - -o-column-count: 1; - column-count: 1; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); } } -@media (min-width: 901px) and (max-width: 1024px) { - .tsd-index-panel ul.tsd-index-list { - -webkit-column-count: 2; - -moz-column-count: 2; - -ms-column-count: 2; - -o-column-count: 2; - column-count: 2; +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); } } -.tsd-index-panel ul.tsd-index-list li { +.tsd-index-panel .tsd-index-list li { -webkit-page-break-inside: avoid; -moz-page-break-inside: avoid; -ms-page-break-inside: avoid; -o-page-break-inside: avoid; page-break-inside: avoid; } -.tsd-index-panel a, -.tsd-index-panel .tsd-parent-kind-module a { - color: var(--color-ts); -} -.tsd-index-panel .tsd-parent-kind-interface a { - color: var(--color-ts-interface); -} -.tsd-index-panel .tsd-parent-kind-enum a { - color: var(--color-ts-enum); -} -.tsd-index-panel .tsd-parent-kind-class a { - color: var(--color-ts-class); -} -.tsd-index-panel .tsd-kind-module a { - color: var(--color-ts); -} -.tsd-index-panel .tsd-kind-interface a { - color: var(--color-ts-interface); -} -.tsd-index-panel .tsd-kind-enum a { - color: var(--color-ts-enum); -} -.tsd-index-panel .tsd-kind-class a { - color: var(--color-ts-class); -} -.tsd-index-panel .tsd-is-private a { - color: var(--color-ts-private); -} .tsd-flag { display: inline-block; @@ -777,7 +678,7 @@ footer .tsd-legend { } .tsd-anchor { - position: absolute; + position: relative; top: -100px; } @@ -785,154 +686,145 @@ footer .tsd-legend { position: relative; } .tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; margin-top: 0; margin-bottom: 0; border-bottom: none; } -.tsd-member [data-tsd-kind] { - color: var(--color-ts); -} -.tsd-member [data-tsd-kind="Interface"] { - color: var(--color-ts-interface); -} -.tsd-member [data-tsd-kind="Enum"] { - color: var(--color-ts-enum); -} -.tsd-member [data-tsd-kind="Class"] { - color: var(--color-ts-class); -} -.tsd-member [data-tsd-kind="Private"] { - color: var(--color-ts-private); -} -.tsd-navigation { - margin: 0 0 0 40px; +.tsd-navigation.settings { + margin: 1rem 0; } -.tsd-navigation a { - display: block; - padding-top: 2px; - padding-bottom: 2px; - border-left: 2px solid transparent; +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; color: var(--color-text); text-decoration: none; - transition: border-left-color 0.1s; + box-sizing: border-box; } -.tsd-navigation a:hover { +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { text-decoration: underline; } -.tsd-navigation ul { - margin: 0; +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; padding: 0; list-style: none; } -.tsd-navigation li { +.tsd-navigation li, +.tsd-page-navigation li { padding: 0; + max-width: 100%; } - -.tsd-navigation.primary { - padding-bottom: 40px; +.tsd-nested-navigation { + margin-left: 3rem; } -.tsd-navigation.primary a { - display: block; - padding-top: 6px; - padding-bottom: 6px; -} -.tsd-navigation.primary ul li a { - padding-left: 5px; -} -.tsd-navigation.primary ul li li a { - padding-left: 25px; -} -.tsd-navigation.primary ul li li li a { - padding-left: 45px; -} -.tsd-navigation.primary ul li li li li a { - padding-left: 65px; +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; } -.tsd-navigation.primary ul li li li li li a { - padding-left: 85px; +.tsd-small-nested-navigation { + margin-left: 1.5rem; } -.tsd-navigation.primary ul li li li li li li a { - padding-left: 105px; -} -.tsd-navigation.primary > ul { - border-bottom: 1px solid var(--color-panel-divider); -} -.tsd-navigation.primary li { - border-top: 1px solid var(--color-panel-divider); -} -.tsd-navigation.primary li.current > a { - font-weight: bold; +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; } -.tsd-navigation.primary li.label span { - display: block; - padding: 20px 0 6px 5px; - color: var(--color-menu-label); + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); } -.tsd-navigation.primary li.globals + li > span, -.tsd-navigation.primary li.globals + li > a { - padding-top: 20px; + +.tsd-page-navigation ul { + padding-left: 1.75rem; } -.tsd-navigation.secondary { - max-height: calc(100vh - 1rem - 40px); - overflow: auto; - position: sticky; - top: calc(0.5rem + 40px); - transition: 0.3s; +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; } -.tsd-navigation.secondary.tsd-navigation--toolbar-hide { - max-height: calc(100vh - 1rem); - top: 0.5rem; +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; } -.tsd-navigation.secondary ul { - transition: opacity 0.2s; + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); } -.tsd-navigation.secondary ul li a { - padding-left: 25px; +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ } -.tsd-navigation.secondary ul li li a { - padding-left: 45px; +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ } -.tsd-navigation.secondary ul li li li a { - padding-left: 65px; +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; } -.tsd-navigation.secondary ul li li li li a { - padding-left: 85px; +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); } -.tsd-navigation.secondary ul li li li li li a { - padding-left: 105px; +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; } -.tsd-navigation.secondary ul li li li li li li a { - padding-left: 125px; +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; } -.tsd-navigation.secondary ul.current a { - border-left-color: var(--color-panel-divider); +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; } -.tsd-navigation.secondary li.focus > a, -.tsd-navigation.secondary ul.current li.focus > a { - border-left-color: var(--color-menu-divider-focus); +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; } -.tsd-navigation.secondary li.current { - margin-top: 20px; - margin-bottom: 20px; - border-left-color: var(--color-panel-divider); + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } -.tsd-navigation.secondary li.current > a { - font-weight: bold; +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); } - -@media (min-width: 901px) { - .menu-sticky-wrap { - position: static; - } +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; } .tsd-panel { - margin: 20px 0; - padding: 20px; - background-color: var(--color-panel); - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; } .tsd-panel:empty { display: none; @@ -940,48 +832,24 @@ footer .tsd-legend { .tsd-panel > h1, .tsd-panel > h2, .tsd-panel > h3 { - margin: 1.5em -20px 10px -20px; - padding: 0 20px 10px 20px; - border-bottom: 1px solid var(--color-panel-divider); + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; } .tsd-panel > h1.tsd-before-signature, .tsd-panel > h2.tsd-before-signature, .tsd-panel > h3.tsd-before-signature { margin-bottom: 0; - border-bottom: 0; -} -.tsd-panel table { - display: block; - width: 100%; - overflow: auto; - margin-top: 10px; - word-break: normal; - word-break: keep-all; - border-collapse: collapse; -} -.tsd-panel table th { - font-weight: bold; -} -.tsd-panel table th, -.tsd-panel table td { - padding: 6px 13px; - border: 1px solid var(--color-panel-divider); -} -.tsd-panel table tr { - background: var(--color-background); -} -.tsd-panel table tr:nth-child(even) { - background: var(--color-secondary-background); + border-bottom: none; } .tsd-panel-group { - margin: 60px 0; + margin: 4rem 0; } -.tsd-panel-group > h1, -.tsd-panel-group > h2, -.tsd-panel-group > h3 { - padding-left: 20px; - padding-right: 20px; +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; } #tsd-search { @@ -995,8 +863,8 @@ footer .tsd-legend { position: absolute; left: 0; top: 0; - right: 40px; - height: 40px; + right: 2.5rem; + height: 100%; } #tsd-search .field input { box-sizing: border-box; @@ -1017,7 +885,8 @@ footer .tsd-legend { right: -40px; } #tsd-search .field input, -#tsd-search .title { +#tsd-search .title, +#tsd-toolbar-links a { transition: opacity 0.2s; } #tsd-search .results { @@ -1035,14 +904,14 @@ footer .tsd-legend { background-color: var(--color-background); } #tsd-search .results li:nth-child(even) { - background-color: var(--color-panel); + background-color: var(--color-background-secondary); } #tsd-search .results li.state { display: none; } #tsd-search .results li.current, #tsd-search .results li:hover { - background-color: var(--color-panel-divider); + background-color: var(--color-accent); } #tsd-search .results a { display: block; @@ -1055,13 +924,14 @@ footer .tsd-legend { font-weight: normal; } #tsd-search.has-focus { - background-color: var(--color-panel-divider); + background-color: var(--color-accent); } #tsd-search.has-focus .field input { top: 0; opacity: 1; } -#tsd-search.has-focus .title { +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { z-index: 0; opacity: 0; } @@ -1075,32 +945,30 @@ footer .tsd-legend { display: block; } +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + .tsd-signature { - margin: 0 0 1em 0; - padding: 10px; - border: 1px solid var(--color-panel-divider); + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 14px; overflow-x: auto; } -.tsd-signature.tsd-kind-icon { - padding-left: 30px; -} -.tsd-signature.tsd-kind-icon:before { - top: 10px; - left: 10px; -} -.tsd-panel > .tsd-signature { - margin-left: -20px; - margin-right: -20px; - border-width: 1px 0; -} -.tsd-panel > .tsd-signature.tsd-kind-icon { - padding-left: 40px; -} -.tsd-panel > .tsd-signature.tsd-kind-icon:before { - left: 20px; -} .tsd-signature-symbol { color: var(--color-text-aside); @@ -1115,123 +983,60 @@ footer .tsd-legend { .tsd-signatures { padding: 0; margin: 0 0 1em 0; - border: 1px solid var(--color-panel-divider); + list-style-type: none; } .tsd-signatures .tsd-signature { margin: 0; - border-width: 1px 0 0 0; - transition: background-color 0.1s; -} -.tsd-signatures .tsd-signature:first-child { - border-top-width: 0; -} -.tsd-signatures .tsd-signature.current { - background-color: var(--color-panel-divider); -} -.tsd-signatures.active > .tsd-signature { - cursor: pointer; -} -.tsd-panel > .tsd-signatures { - margin-left: -20px; - margin-right: -20px; + border-color: var(--color-accent); border-width: 1px 0; + transition: background-color 0.1s; } -.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon { - padding-left: 40px; -} -.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before { - left: 20px; -} -.tsd-panel > a.anchor + .tsd-signatures { - border-top-width: 0; - margin-top: -20px; -} - -ul.tsd-descriptions { - position: relative; - overflow: hidden; - padding: 0; - list-style: none; -} -ul.tsd-descriptions.active > .tsd-description { - display: none; -} -ul.tsd-descriptions.active > .tsd-description.current { - display: block; -} -ul.tsd-descriptions.active > .tsd-description.fade-in { - animation: fade-in-delayed 0.3s; -} -ul.tsd-descriptions.active > .tsd-description.fade-out { - animation: fade-out-delayed 0.3s; - position: absolute; - display: block; - top: 0; - left: 0; - right: 0; - opacity: 0; - visibility: hidden; -} -ul.tsd-descriptions h4, -ul.tsd-descriptions .tsd-index-panel h3, -.tsd-index-panel ul.tsd-descriptions h3 { - font-size: 16px; - margin: 1em 0 0.5em 0; +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; } -ul.tsd-parameters, -ul.tsd-type-parameters { +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { list-style: square; margin: 0; padding-left: 20px; } -ul.tsd-parameters > li.tsd-parameter-signature, -ul.tsd-type-parameters > li.tsd-parameter-signature { +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { list-style: none; margin-left: -20px; } -ul.tsd-parameters h5, -ul.tsd-type-parameters h5 { +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { font-size: 16px; margin: 1em 0 0.5em 0; } -ul.tsd-parameters .tsd-comment, -ul.tsd-type-parameters .tsd-comment { - margin-top: -0.5em; -} - .tsd-sources { - font-size: 14px; - color: var(--color-text-aside); - margin: 0 0 1em 0; + margin-top: 1rem; + font-size: 0.875em; } .tsd-sources a { color: var(--color-text-aside); text-decoration: underline; } -.tsd-sources ul, -.tsd-sources p { - margin: 0 !important; -} .tsd-sources ul { list-style: none; padding: 0; } .tsd-page-toolbar { - position: fixed; + position: sticky; z-index: 1; top: 0; left: 0; width: 100%; - height: 40px; - color: var(--color-toolbar-text); - background: var(--color-toolbar); - border-bottom: 1px solid var(--color-panel-divider); - transition: transform 0.3s linear; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; } .tsd-page-toolbar a { - color: var(--color-toolbar-text); + color: var(--color-text); text-decoration: none; } .tsd-page-toolbar a.title { @@ -1240,13 +1045,13 @@ ul.tsd-type-parameters .tsd-comment { .tsd-page-toolbar a.title:hover { text-decoration: underline; } -.tsd-page-toolbar .table-wrap { - display: table; - width: 100%; - height: 40px; +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; } .tsd-page-toolbar .table-cell { - display: table-cell; position: relative; white-space: nowrap; line-height: 40px; @@ -1254,32 +1059,10 @@ ul.tsd-type-parameters .tsd-comment { .tsd-page-toolbar .table-cell:first-child { width: 100%; } - -.tsd-page-toolbar--hide { - transform: translateY(-100%); -} - -.tsd-select .tsd-select-list li:before, -.tsd-select .tsd-select-label:before, -.tsd-widget:before { - content: ""; - display: inline-block; - width: 40px; - height: 40px; - margin: 0 -8px 0 0; - background-image: url(./widgets.png); - background-repeat: no-repeat; - text-indent: -1024px; - vertical-align: bottom; - filter: var(--icon-filter); -} -@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { - .tsd-select .tsd-select-list li:before, - .tsd-select .tsd-select-label:before, - .tsd-widget:before { - background-image: url(./widgets@2x.png); - background-size: 320px 40px; - } +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; } .tsd-widget { @@ -1296,7 +1079,7 @@ ul.tsd-type-parameters .tsd-comment { } .tsd-widget.active { opacity: 1; - background-color: var(--color-panel-divider); + background-color: var(--color-accent); } .tsd-widget.no-caption { width: 40px; @@ -1304,25 +1087,11 @@ ul.tsd-type-parameters .tsd-comment { .tsd-widget.no-caption:before { margin: 0; } -.tsd-widget.search:before { - background-position: 0 0; -} -.tsd-widget.menu:before { - background-position: -40px 0; -} -.tsd-widget.options:before { - background-position: -80px 0; -} + .tsd-widget.options, .tsd-widget.menu { display: none; } -@media (max-width: 900px) { - .tsd-widget.options, - .tsd-widget.menu { - display: inline-block; - } -} input[type="checkbox"] + .tsd-widget:before { background-position: -120px 0; } @@ -1330,85 +1099,269 @@ input[type="checkbox"]:checked + .tsd-widget:before { background-position: -160px 0; } -.tsd-select { - position: relative; - display: inline-block; - height: 40px; - transition: opacity 0.1s, background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-select .tsd-select-label { - opacity: 0.6; - transition: opacity 0.2s; +img { + max-width: 100%; } -.tsd-select .tsd-select-label:before { - background-position: -240px 0; + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); } -.tsd-select.active .tsd-select-label { - opacity: 0.8; + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; } -.tsd-select.active .tsd-select-list { + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { visibility: visible; - opacity: 1; - transition-delay: 0s; } -.tsd-select .tsd-select-list { - position: absolute; - visibility: hidden; - top: 40px; - left: 0; - margin: 0; - padding: 0; - opacity: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); - transition: visibility 0s 0.2s, opacity 0.2s; + +.deprecated { + text-decoration: line-through; } -.tsd-select .tsd-select-list li { - padding: 0 20px 0 0; - background-color: var(--color-background); + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); } -.tsd-select .tsd-select-list li:before { - background-position: 40px 0; +.tsd-kind-parameter { + color: var(--color-ts-parameter); } -.tsd-select .tsd-select-list li:nth-child(even) { - background-color: var(--color-panel); +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); } -.tsd-select .tsd-select-list li:hover { - background-color: var(--color-panel-divider); +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); } -.tsd-select .tsd-select-list li.selected:before { - background-position: -200px 0; +.tsd-kind-accessor { + color: var(--color-ts-accessor); } -@media (max-width: 900px) { - .tsd-select .tsd-select-list { +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; top: 0; - left: auto; - right: 100%; - margin-right: -5px; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; } - .tsd-select .tsd-select-label:before { - background-position: -280px 0; + + .to-has-menu .overlay { + animation: fade-in 0.4s; } -} -img { - max-width: 100%; -} + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } -.tsd-anchor-icon { - margin-left: 10px; - vertical-align: middle; - color: var(--color-text); + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } } -.tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } } -.tsd-anchor-link:hover > .tsd-anchor-icon svg { - visibility: visible; +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } } diff --git a/docs/assets/widgets.png b/docs/assets/widgets.png deleted file mode 100644 index c738053..0000000 Binary files a/docs/assets/widgets.png and /dev/null differ diff --git a/docs/assets/widgets@2x.png b/docs/assets/widgets@2x.png deleted file mode 100644 index 4bbbd57..0000000 Binary files a/docs/assets/widgets@2x.png and /dev/null differ diff --git a/docs/classes/Library.html b/docs/classes/Library.html deleted file mode 100644 index 8b4e523..0000000 --- a/docs/classes/Library.html +++ /dev/null @@ -1 +0,0 @@ -Library | @matrixai/typescript-demo-lib
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Library

Index

Constructors

Properties

Constructors

  • new Library(someParam?: string): Library

Properties

someParam: string

Legend

  • Constructor
  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/MDNS.html b/docs/classes/MDNS.html new file mode 100644 index 0000000..fe9e3af --- /dev/null +++ b/docs/classes/MDNS.html @@ -0,0 +1,976 @@ +MDNS | @matrixai/mdns
+
+ +
+
+
+
+ +

Class MDNS

+
+

Hierarchy

+
    +
  • StartStop +
      +
    • MDNS
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
[initLock]: RWLockWriter
+
+ +
_groups: Host[]
+
+ +
_hostname: Hostname
+
+ +
_id: number = 0
+
+ +
_localServices: Map<FQDN, Service> = ...
+
+ +
_networkServices: Map<FQDN, Service> = ...
+
+ +
_port: Port
+
+ +
_unicast: boolean = false
+
+ +
advertisements: Map<string, PromiseCancellable<void>> = ...
+
+ +
getNetworkInterfaces: (() => NetworkInterfaces | PromiseLike<NetworkInterfaces>)
+
+

Type declaration

+
+
+ +
localRecordCache: ResourceRecordCache
+
+ +
localRecordCacheDirty: boolean = true
+
+ +
logger: Logger
+
+ +
networkRecordCache: ResourceRecordCache
+
+ +
queries: Map<string, PromiseCancellable<void>> = ...
+
+ +
runningTasks: Set<PromiseCancellable<void>> = ...
+

Represents the advertisements and queries that have been cancelled and are in the process of stopping

+
+
+
+ +
socketHostTable: Table<SocketHostRow> = ...
+
+ +
socketMap: WeakMap<Socket, SocketInfo> = ...
+
+ +
sockets: Socket[] = []
+
+

Accessors

+
+ +
    +
  • get [eventHandled](): ReadonlyWeakSet<Event>
  • +
  • +

    Returns ReadonlyWeakSet<Event>

+
+ +
    +
  • get [eventHandlers](): ReadonlyMap<string, Set<EventHandlerInfo>>
  • +
  • +

    Returns ReadonlyMap<string, Set<EventHandlerInfo>>

+
+ +
    +
  • get [eventTarget](): EventTarget
  • +
  • +

    Returns EventTarget

+
+ +
    +
  • get [handleEventError](): ((evt) => void)
  • +
  • +

    Returns ((evt) => void)

    +
      +
    • +
        +
      • (evt): void
      • +
      • +
        +

        Parameters

        +
          +
        • +
          evt: EventError
        +

        Returns void

+
+ +
    +
  • get [running](): boolean
  • +
  • +

    Returns boolean

+
+ +
    +
  • get [statusP](): Promise<Status>
  • +
  • +

    Returns Promise<Status>

+
+ +
    +
  • get [status](): Status
  • +
  • +

    Returns Status

+
+ +
    +
  • get groups(): readonly Host[]
  • +
  • +

    Gets the multicast groups MDNS is bound to. +There will always be at least 1 value.

    +
    +

    Returns readonly Host[]

    +
+
+ +
    +
  • get hostname(): string
  • +
  • +

    Gets the multicast hostname this socket is bound to. +This will always end in .local.

    +
    +

    Returns string

    +
+
+ +
    +
  • get id(): number
  • +
  • +

    Gets the id used for DNS packets. +This is 16 bit.

    +
    +

    Returns number

    +
+
+ +
    +
  • get localServices(): ReadonlyMap<string, ServicePOJO>
  • +
  • +

    Returns a Map of services that you have registered. +The Key is a FQDN.

    +
    +

    Returns ReadonlyMap<string, ServicePOJO>

    +
+
+ +
    +
  • get networkServices(): ReadonlyMap<string, ServicePOJO>
  • +
  • +

    Returns a Map of services on the network. +The Key is a FQDN.

    +
    +

    Returns ReadonlyMap<string, ServicePOJO>

    +
+
+ +
    +
  • get port(): Port
  • +
  • +

    Gets the bound resolved port. +This cannot be 0. +Because 0 is always resolved to a specific port.

    +
    +

    Returns Port

    +
+
+ +
    +
  • get unicast(): boolean
  • +
  • +

    Gets the unicast flag. +This will be true if a socket is deemed able to receive unicast responses.

    +
    +

    Returns boolean

    +
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      callback: null | EventListenerOrEventListenerObject
    • +
    • +
      Optional options: boolean | AddEventListenerOptions
    +

    Returns void

+
+ +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      event: Event
    +

    Returns boolean

+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      e: any
    • +
    • +
      socket: Socket
    +

    Returns Promise<void>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      msg: Buffer
    • +
    • +
      rinfo: RemoteInfo
    • +
    • +
      socket: Socket
    +

    Returns Promise<undefined | boolean>

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns Promise<void>

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns Promise<void>

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Registers a service

    +
    +
    +

    Parameters

    +
      +
    • +
      opts: {
          advertise?: boolean;
          name: string;
          port: number;
          protocol: "udp" | "tcp";
          txt?: Record<string, string>;
          type: string;
      }
      +
      +
        +
      • +
        Optional advertise?: boolean
        +

        Allows MDNS to advertise the service on registration. Defaults to true.

        +
        +
      • +
      • +
        name: string
        +

        The name of the service you want to register.

        +
        +
      • +
      • +
        port: number
        +

        The port of the service you want to register.

        +
        +
      • +
      • +
        protocol: "udp" | "tcp"
        +

        The protocol of service you want to register. This is either 'udp' or 'tcp'.

        +
        +
      • +
      • +
        Optional txt?: Record<string, string>
        +

        The TXT data of the service you want to register. This is represented as a key-value POJO.

        +
        +
      • +
      • +
        type: string
        +

        The type of service you want to register.

        +
        +
    +

    Returns void

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      callback: null | EventListenerOrEventListenerObject
    • +
    • +
      Optional options: boolean | EventListenerOptions
    +

    Returns void

+
+ +
+
+ +
+
+ +
    + +
  • +

    Starts MDNS

    +
    +
    +

    Parameters

    +
      +
    • +
      opts: {
          advertise?: boolean;
          disableLinuxMulticastAllOption?: boolean;
          groups?: string[];
          hostname?: string;
          id?: number;
          ipv6Only?: boolean;
          port?: number;
      }
      +
      +
        +
      • +
        Optional advertise?: boolean
        +

        Allows MDNS to advertise it's hostnames. Defaults to true.

        +
        +
      • +
      • +
        Optional disableLinuxMulticastAllOption?: boolean
      • +
      • +
        Optional groups?: string[]
        +

        The multicast group IP addresses to multi-cast on. This must as least have one element. This can have both IPv4 and IPv6 and must. Defaults to ['224.0.0.251', 'ff02::fb'].

        +
        +
      • +
      • +
        Optional hostname?: string
        +

        The hostname to use for the MDNS stack. Defaults to the OS hostname.

        +
        +
      • +
      • +
        Optional id?: number
        +

        The unique unsigned 16 bit integer ID used for all outgoing MDNS packets. Defaults to a random number.

        +
        +
      • +
      • +
        Optional ipv6Only?: boolean
        +

        Makes MDNS to bind exclusively IPv6 sockets. Defaults to false.

        +
        +
      • +
      • +
        Optional port?: number
        +

        The port to bind to. Defaults to 5353 the default MDNS port. Defaults to 5353.

        +
        +
    +

    Returns Promise<void>

    +
    +

    Throws

      +
    • If opts.groups is empty.
    • +
    + +

    Throws

      +
    • If a socket cannot bind.
    • +
    + +

    Throws

      +
    • If no valid interfaces have been found.
    • +
    +
+
+ +
    + +
  • +

    Start a query for services of a specific type and protocol. +If there already is a query running for the type and protocol combination, it will be cancelled and restarted.

    +
    +
    +

    Parameters

    +
      +
    • +
      opts: {
          maxDelay?: number;
          minDelay?: number;
          protocol: "udp" | "tcp";
          type: string;
      }
      +
      +
        +
      • +
        Optional maxDelay?: number
        +

        The maximum delay between queries in seconds. Defaults to 3600 (1 hour).

        +
        +
      • +
      • +
        Optional minDelay?: number
        +

        The minimum delay between queries in seconds. Defaults to 1.

        +
        +
      • +
      • +
        protocol: "udp" | "tcp"
        +

        The protocol of service you want to query for. This is either 'udp' or 'tcp'.

        +
        +
      • +
      • +
        type: string
        +

        The type of service you want to query for.

        +
        +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Stops MDNS +This will unregister all services and hosts, sending a goodbye packet. +This will flush all records from the cache. +This will close all sockets.

    +
    +

    Returns Promise<void>

    +
+
+ +
    + +
  • +

    Stops a service query that you have started with startQuery

    +
    +
    +

    Parameters

    +
      +
    • +
      opts: {
          protocol: "udp" | "tcp";
          type: string;
      }
      +
      +
        +
      • +
        protocol: "udp" | "tcp"
        +

        The protocol of service you want to stop querying for. This is either 'udp' or 'tcp'.

        +
        +
      • +
      • +
        type: string
        +

        The type of service you want to stop querying for.

        +
        +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Un-registers a service that you have registered with registerService

    +
    +
    +

    Parameters

    +
      +
    • +
      opts: {
          name: string;
          protocol: "udp" | "tcp";
          type: string;
      }
      +
      +
        +
      • +
        name: string
        +

        The name of the service you want to unregister.

        +
        +
      • +
      • +
        protocol: "udp" | "tcp"
        +

        The protocol of service you want to unregister. This is either 'udp' or 'tcp'.

        +
        +
      • +
      • +
        type: string
        +

        The type of service you want to unregister.

        +
        +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.ErrorCache.html b/docs/classes/cache.ErrorCache.html new file mode 100644 index 0000000..281d33f --- /dev/null +++ b/docs/classes/cache.ErrorCache.html @@ -0,0 +1,337 @@ +ErrorCache | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorCache<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorCache<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'Cache error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.ErrorCacheDestroyed.html b/docs/classes/cache.ErrorCacheDestroyed.html new file mode 100644 index 0000000..6817489 --- /dev/null +++ b/docs/classes/cache.ErrorCacheDestroyed.html @@ -0,0 +1,335 @@ +ErrorCacheDestroyed | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorCacheDestroyed<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorCacheDestroyed<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'ResourceRecordCache is destroyed'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.EventResourceRecordCache.html b/docs/classes/cache.EventResourceRecordCache.html new file mode 100644 index 0000000..38692ec --- /dev/null +++ b/docs/classes/cache.EventResourceRecordCache.html @@ -0,0 +1,494 @@ +EventResourceRecordCache | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventResourceRecordCache<T>Abstract

+
+

Type Parameters

+
    +
  • +

    T = null

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T = null

    +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<T>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventResourceRecordCache<T>

  • + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T = null

    +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<T>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventResourceRecordCache<T>

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: T
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventResourceRecordCache<T>

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.EventResourceRecordCacheDestroy.html b/docs/classes/cache.EventResourceRecordCacheDestroy.html new file mode 100644 index 0000000..b060c85 --- /dev/null +++ b/docs/classes/cache.EventResourceRecordCacheDestroy.html @@ -0,0 +1,475 @@ +EventResourceRecordCacheDestroy | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventResourceRecordCacheDestroy

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: null
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.EventResourceRecordCacheDestroyed.html b/docs/classes/cache.EventResourceRecordCacheDestroyed.html new file mode 100644 index 0000000..1107012 --- /dev/null +++ b/docs/classes/cache.EventResourceRecordCacheDestroyed.html @@ -0,0 +1,475 @@ +EventResourceRecordCacheDestroyed | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventResourceRecordCacheDestroyed

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: null
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.EventResourceRecordCacheExpired.html b/docs/classes/cache.EventResourceRecordCacheExpired.html new file mode 100644 index 0000000..931ca36 --- /dev/null +++ b/docs/classes/cache.EventResourceRecordCacheExpired.html @@ -0,0 +1,475 @@ +EventResourceRecordCacheExpired | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventResourceRecordCacheExpired

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/cache.ResourceRecordCache.html b/docs/classes/cache.ResourceRecordCache.html new file mode 100644 index 0000000..6e0c8d3 --- /dev/null +++ b/docs/classes/cache.ResourceRecordCache.html @@ -0,0 +1,524 @@ +ResourceRecordCache | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ResourceRecordCache

+
+

Hierarchy

+
    +
  • CreateDestroy
  • +
  • EventTarget +
      +
    • ResourceRecordCache
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
[initLock]: RWLockWriter
+
+ +
_max: number
+
+ +
_timerDisabled: boolean
+
+ +
resourceRecordCache: Table<CachableResourceRecordRow> = ...
+
+ +
resourceRecordCacheIndexesByExpiration: number[] = []
+
+ +
resourceRecordCacheTimer: undefined | Timer<void>
+
+

Accessors

+
+ +
    +
  • get [destroyed](): boolean
  • +
  • +

    Returns boolean

+
+ +
    +
  • get [eventHandled](): ReadonlyWeakSet<Event>
  • +
  • +

    Returns ReadonlyWeakSet<Event>

+
+ +
    +
  • get [eventHandlers](): ReadonlyMap<string, Set<EventHandlerInfo>>
  • +
  • +

    Returns ReadonlyMap<string, Set<EventHandlerInfo>>

+
+ +
    +
  • get [eventTarget](): EventTarget
  • +
  • +

    Returns EventTarget

+
+ +
    +
  • get [handleEventError](): ((evt) => void)
  • +
  • +

    Returns ((evt) => void)

    +
      +
    • +
        +
      • (evt): void
      • +
      • +
        +

        Parameters

        +
          +
        • +
          evt: EventError
        +

        Returns void

+
+ +
    +
  • get [statusP](): Promise<Status>
  • +
  • +

    Returns Promise<Status>

+
+ +
    +
  • get [status](): Status
  • +
  • +

    Returns Status

+
+ +
+
+ +
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.

    +

    The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.

    +

    When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.

    +

    When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.

    +

    When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.

    +

    If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.

    +

    The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.

    +

    MDN Reference

    +
    +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      callback: null | EventListenerOrEventListenerObject
    • +
    • +
      Optional options: boolean | AddEventListenerOptions
    +

    Returns void

    +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    +

    MDN Reference

    +
    +
    +

    Parameters

    +
      +
    • +
      event: Event
    +

    Returns boolean

    +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Removes the event listener in target's event listener list with the same type, callback, and options.

    +

    MDN Reference

    +
    +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      callback: null | EventListenerOrEventListenerObject
    • +
    • +
      Optional options: boolean | EventListenerOptions
    +

    Returns void

    +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/dns.ErrorDNS.html b/docs/classes/dns.ErrorDNS.html new file mode 100644 index 0000000..837947c --- /dev/null +++ b/docs/classes/dns.ErrorDNS.html @@ -0,0 +1,377 @@ +ErrorDNS | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorDNS<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorDNS<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'DNS Packet error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/dns.ErrorDNSGenerate.html b/docs/classes/dns.ErrorDNSGenerate.html new file mode 100644 index 0000000..a8e4330 --- /dev/null +++ b/docs/classes/dns.ErrorDNSGenerate.html @@ -0,0 +1,374 @@ +ErrorDNSGenerate | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorDNSGenerate<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorDNSGenerate<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'DNS Packet generation error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/dns.ErrorDNSParse.html b/docs/classes/dns.ErrorDNSParse.html new file mode 100644 index 0000000..72a98ef --- /dev/null +++ b/docs/classes/dns.ErrorDNSParse.html @@ -0,0 +1,374 @@ +ErrorDNSParse | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorDNSParse<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorDNSParse<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'DNS Packet parse error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNS.html b/docs/classes/errors.ErrorMDNS.html new file mode 100644 index 0000000..ead4ba3 --- /dev/null +++ b/docs/classes/errors.ErrorMDNS.html @@ -0,0 +1,346 @@ +ErrorMDNS | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNS<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNS<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS Error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSInterfaceRange.html b/docs/classes/errors.ErrorMDNSInterfaceRange.html new file mode 100644 index 0000000..a9b7733 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSInterfaceRange.html @@ -0,0 +1,338 @@ +ErrorMDNSInterfaceRange | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSInterfaceRange<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSInterfaceRange<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS interface range error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSInvalidMulticastAddress.html b/docs/classes/errors.ErrorMDNSInvalidMulticastAddress.html new file mode 100644 index 0000000..852077d --- /dev/null +++ b/docs/classes/errors.ErrorMDNSInvalidMulticastAddress.html @@ -0,0 +1,338 @@ +ErrorMDNSInvalidMulticastAddress | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSInvalidMulticastAddress<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
    +
  • ErrorMDNS<T> +
      +
    • ErrorMDNSInvalidMulticastAddress
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSInvalidMulticastAddress<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS cannot process the invalid multicast address'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSNotRunning.html b/docs/classes/errors.ErrorMDNSNotRunning.html new file mode 100644 index 0000000..03974a9 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSNotRunning.html @@ -0,0 +1,338 @@ +ErrorMDNSNotRunning | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSNotRunning<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSNotRunning<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS is not running'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSPacket.html b/docs/classes/errors.ErrorMDNSPacket.html new file mode 100644 index 0000000..bab675e --- /dev/null +++ b/docs/classes/errors.ErrorMDNSPacket.html @@ -0,0 +1,341 @@ +ErrorMDNSPacket | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSPacket<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSPacket<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'DNS Packet error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSPacketGenerate.html b/docs/classes/errors.ErrorMDNSPacketGenerate.html new file mode 100644 index 0000000..f956264 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSPacketGenerate.html @@ -0,0 +1,338 @@ +ErrorMDNSPacketGenerate | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSPacketGenerate<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSPacketGenerate<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'DNS Packet generation error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSPacketParse.html b/docs/classes/errors.ErrorMDNSPacketParse.html new file mode 100644 index 0000000..4a22382 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSPacketParse.html @@ -0,0 +1,338 @@ +ErrorMDNSPacketParse | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSPacketParse<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSPacketParse<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'DNS Packet parse error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSRunning.html b/docs/classes/errors.ErrorMDNSRunning.html new file mode 100644 index 0000000..5833820 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSRunning.html @@ -0,0 +1,338 @@ +ErrorMDNSRunning | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSRunning<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSRunning<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS is running'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSSocket.html b/docs/classes/errors.ErrorMDNSSocket.html new file mode 100644 index 0000000..d12048e --- /dev/null +++ b/docs/classes/errors.ErrorMDNSSocket.html @@ -0,0 +1,343 @@ +ErrorMDNSSocket | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSSocket<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSSocket<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS socket error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSSocketInternal.html b/docs/classes/errors.ErrorMDNSSocketInternal.html new file mode 100644 index 0000000..bb0acf2 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSSocketInternal.html @@ -0,0 +1,338 @@ +ErrorMDNSSocketInternal | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSSocketInternal<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSSocketInternal<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS socket internal error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSSocketInvalidBindAddress.html b/docs/classes/errors.ErrorMDNSSocketInvalidBindAddress.html new file mode 100644 index 0000000..adcdce4 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSSocketInvalidBindAddress.html @@ -0,0 +1,338 @@ +ErrorMDNSSocketInvalidBindAddress | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSSocketInvalidBindAddress<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSSocketInvalidBindAddress<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS cannot bind to the specified address'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSSocketInvalidReceiveAddress.html b/docs/classes/errors.ErrorMDNSSocketInvalidReceiveAddress.html new file mode 100644 index 0000000..80ebba5 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSSocketInvalidReceiveAddress.html @@ -0,0 +1,338 @@ +ErrorMDNSSocketInvalidReceiveAddress | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSSocketInvalidReceiveAddress<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSSocketInvalidReceiveAddress<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS cannot correctly parse the receive address'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSSocketInvalidSendAddress.html b/docs/classes/errors.ErrorMDNSSocketInvalidSendAddress.html new file mode 100644 index 0000000..a261baa --- /dev/null +++ b/docs/classes/errors.ErrorMDNSSocketInvalidSendAddress.html @@ -0,0 +1,338 @@ +ErrorMDNSSocketInvalidSendAddress | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSSocketInvalidSendAddress<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSSocketInvalidSendAddress<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS cannot send to the specified address'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/errors.ErrorMDNSSocketSendFailed.html b/docs/classes/errors.ErrorMDNSSocketSendFailed.html new file mode 100644 index 0000000..a6a7a20 --- /dev/null +++ b/docs/classes/errors.ErrorMDNSSocketSendFailed.html @@ -0,0 +1,338 @@ +ErrorMDNSSocketSendFailed | @matrixai/mdns
+
+ +
+
+
+
+ +

Class ErrorMDNSSocketSendFailed<T>

+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Optional message: string
    • +
    • +
      Optional options: {
          cause?: T;
          data?: POJO;
          timestamp?: Date;
      }
      +
        +
      • +
        Optional cause?: T
      • +
      • +
        Optional data?: POJO
      • +
      • +
        Optional timestamp?: Date
    +

    Returns ErrorMDNSSocketSendFailed<T>

+
+

Properties

+
+ +
cause: T
+

Causation of the exception +Can be used to know what caused this exception

+
+
+
+ +
data: POJO
+

Arbitrary data

+
+
+
+ +
message: string
+
+ +
name: string
+
+ +
stack?: string
+
+ +
timestamp: Date
+

Timestamp when exception was constructed in milliseconds +Guaranteed to be weakly monotonic

+
+
+
+ +
description: string = 'MDNS socket error'
+
+ +
prepareStackTrace?: ((err, stackTraces) => any)
+
+

Type declaration

+
+
+ +
stackTraceLimit: number
+
+

Accessors

+
+ +
    +
  • get description(): string
  • +
  • +

    Returns string

+
+

Methods

+
+ +
    + +
  • +

    Encoding to JSON pojo +When overriding this, you can use super.toJSON +The replacer will:

    +
      +
    • delete undefined values in objects
    • +
    • replace undefined values for null in arrays
    • +
    +
    +

    Returns any

    +
+
+ +
    + +
  • +

    Create .stack property on a target object

    +
    +
    +

    Parameters

    +
      +
    • +
      targetObject: object
    • +
    • +
      Optional constructorOpt: Function
    +

    Returns void

    +
+
+ +
    + +
  • +

    Runtime decoding of JSON POJO to exception instance +When overriding this, you cannot use super.fromJSON +You must write it fully, and use the same type-hacks +to support polymorphic this in static methods +https://github.com/microsoft/TypeScript/issues/5863

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends Class<any>

    +
    +

    Parameters

    +
      +
    • +
      this: T
    • +
    • +
      json: any
    +

    Returns InstanceType<T>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNS.html b/docs/classes/events.EventMDNS.html new file mode 100644 index 0000000..ee5242c --- /dev/null +++ b/docs/classes/events.EventMDNS.html @@ -0,0 +1,495 @@ +EventMDNS | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNS<T>Abstract

+
+

Type Parameters

+
    +
  • +

    T = null

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T = null

    +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<T>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNS<T>

  • + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T = null

    +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<T>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNS<T>

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: T
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNS<T>

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSError.html b/docs/classes/events.EventMDNSError.html new file mode 100644 index 0000000..b01268f --- /dev/null +++ b/docs/classes/events.EventMDNSError.html @@ -0,0 +1,472 @@ +EventMDNSError | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSError

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSError

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSService.html b/docs/classes/events.EventMDNSService.html new file mode 100644 index 0000000..084791e --- /dev/null +++ b/docs/classes/events.EventMDNSService.html @@ -0,0 +1,472 @@ +EventMDNSService | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSService

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<ServicePOJO>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSService

  • + +
  • +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<ServicePOJO>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSService

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: ServicePOJO
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSService

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSServiceRemoved.html b/docs/classes/events.EventMDNSServiceRemoved.html new file mode 100644 index 0000000..4685cb7 --- /dev/null +++ b/docs/classes/events.EventMDNSServiceRemoved.html @@ -0,0 +1,472 @@ +EventMDNSServiceRemoved | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSServiceRemoved

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: ServicePOJO
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSServiceRemoved

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSStart.html b/docs/classes/events.EventMDNSStart.html new file mode 100644 index 0000000..841ce65 --- /dev/null +++ b/docs/classes/events.EventMDNSStart.html @@ -0,0 +1,472 @@ +EventMDNSStart | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSStart

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStart

  • + +
  • +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStart

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: null
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSStart

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSStarted.html b/docs/classes/events.EventMDNSStarted.html new file mode 100644 index 0000000..8c7a699 --- /dev/null +++ b/docs/classes/events.EventMDNSStarted.html @@ -0,0 +1,472 @@ +EventMDNSStarted | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSStarted

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStarted

  • + +
  • +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStarted

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: null
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSStarted

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSStop.html b/docs/classes/events.EventMDNSStop.html new file mode 100644 index 0000000..b9e9a66 --- /dev/null +++ b/docs/classes/events.EventMDNSStop.html @@ -0,0 +1,472 @@ +EventMDNSStop | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSStop

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStop

  • + +
  • +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStop

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: null
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSStop

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/classes/events.EventMDNSStopped.html b/docs/classes/events.EventMDNSStopped.html new file mode 100644 index 0000000..7946d44 --- /dev/null +++ b/docs/classes/events.EventMDNSStopped.html @@ -0,0 +1,472 @@ +EventMDNSStopped | @matrixai/mdns
+
+ +
+
+
+
+ +

Class EventMDNSStopped

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional type: string
    • +
    • +
      Optional options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStopped

  • + +
  • +
    +

    Parameters

    +
      +
    • +
      options: CustomEventInit<null>
    • +
    • +
      Optional constructorParams: IArguments
    +

    Returns EventMDNSStopped

+
+

Properties

+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+ +
bubbles: boolean
+

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

+

MDN Reference

+
+
+
+ +
cancelBubble: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
cancelable: boolean
+

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

+

MDN Reference

+
+
+
+ +
composed: boolean
+

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

+

MDN Reference

+
+
+
+ +
constructorParams: IArguments
+
+ +
currentTarget: null | EventTarget
+

Returns the object whose event listener's callback is currently being invoked.

+

MDN Reference

+
+
+
+ +
defaultPrevented: boolean
+

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

+

MDN Reference

+
+
+
+ +
detail: null
+
+ +
eventPhase: number
+

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

+

MDN Reference

+
+
+
+ +
isTrusted: boolean
+

Returns true if event was dispatched by the user agent, and false otherwise.

+

MDN Reference

+
+
+
+ +
returnValue: boolean
+
+

Deprecated

MDN Reference

+
+
+ +
srcElement: null | EventTarget
+
+

Deprecated

MDN Reference

+
+
+ +
target: null | EventTarget
+

Returns the object to which event is dispatched (its target).

+

MDN Reference

+
+
+
+ +
timeStamp: number
+

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

+

MDN Reference

+
+
+
+ +
type: string
+

Returns the type of event, e.g. "click", "hashchange", or "submit".

+

MDN Reference

+
+
+
+ +
AT_TARGET: 2
+
+ +
BUBBLING_PHASE: 3
+
+ +
CAPTURING_PHASE: 1
+
+ +
NONE: 0
+
+

Methods

+
+ +
    + +
  • +

    Events cannot be re-dispatched. This was probably to prevent infinite +loops. So instead of re-dispatching the same instance, we re-dispatch +a clone of the instance.

    +
    +

    Returns EventMDNSStopped

    +
+
+ +
    + +
  • +

    Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

    +

    MDN Reference

    +
    +

    Returns EventTarget[]

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      type: string
    • +
    • +
      Optional bubbles: boolean
    • +
    • +
      Optional cancelable: boolean
    +

    Returns void

    +
    +

    Deprecated

    MDN Reference

    +
+
+ +
    + +
  • +

    If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+ +
    + +
  • +

    When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

    +

    MDN Reference

    +
    +

    Returns void

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.PacketOpCode.html b/docs/enums/dns.PacketOpCode.html new file mode 100644 index 0000000..5d78150 --- /dev/null +++ b/docs/enums/dns.PacketOpCode.html @@ -0,0 +1,140 @@ +PacketOpCode | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.PacketType.html b/docs/enums/dns.PacketType.html new file mode 100644 index 0000000..610dde6 --- /dev/null +++ b/docs/enums/dns.PacketType.html @@ -0,0 +1,147 @@ +PacketType | @matrixai/mdns
+
+ +
+
+
+
+ +

Enumeration PacketTypeConst

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
QUERY: 0
+
+ +
RESPONSE: 1
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.QClass.html b/docs/enums/dns.QClass.html new file mode 100644 index 0000000..f83511d --- /dev/null +++ b/docs/enums/dns.QClass.html @@ -0,0 +1,147 @@ +QClass | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.QType.html b/docs/enums/dns.QType.html new file mode 100644 index 0000000..21a57d4 --- /dev/null +++ b/docs/enums/dns.QType.html @@ -0,0 +1,196 @@ +QType | @matrixai/mdns
+
+ +
+
+
+
+ +

Enumeration QTypeConst

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
A: 1
+
+ +
AAAA: 28
+
+ +
ANY: 255
+
+ +
CNAME: 5
+
+ +
NSEC: 47
+
+ +
OPT: 41
+
+ +
PTR: 12
+
+ +
SRV: 33
+
+ +
TXT: 16
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.RClass.html b/docs/enums/dns.RClass.html new file mode 100644 index 0000000..9986d80 --- /dev/null +++ b/docs/enums/dns.RClass.html @@ -0,0 +1,140 @@ +RClass | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.RCode.html b/docs/enums/dns.RCode.html new file mode 100644 index 0000000..4514151 --- /dev/null +++ b/docs/enums/dns.RCode.html @@ -0,0 +1,140 @@ +RCode | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/dns.RType.html b/docs/enums/dns.RType.html new file mode 100644 index 0000000..3314e75 --- /dev/null +++ b/docs/enums/dns.RType.html @@ -0,0 +1,189 @@ +RType | @matrixai/mdns
+
+ +
+
+
+
+ +

Enumeration RTypeConst

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
A: 1
+
+ +
AAAA: 28
+
+ +
CNAME: 5
+
+ +
NSEC: 47
+
+ +
OPT: 41
+
+ +
PTR: 12
+
+ +
SRV: 33
+
+ +
TXT: 16
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/cache.fromCachableResourceRecordRow.html b/docs/functions/cache.fromCachableResourceRecordRow.html new file mode 100644 index 0000000..6679425 --- /dev/null +++ b/docs/functions/cache.fromCachableResourceRecordRow.html @@ -0,0 +1,90 @@ +fromCachableResourceRecordRow | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/cache.insertionSort.html b/docs/functions/cache.insertionSort.html new file mode 100644 index 0000000..04f55ce --- /dev/null +++ b/docs/functions/cache.insertionSort.html @@ -0,0 +1,110 @@ +insertionSort | @matrixai/mdns
+
+ +
+
+
+
+ +

Function insertionSort

+
+
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      arr: T[]
    • +
    • +
      compare: ((a, b) => number)
      +
        +
      • +
          +
        • (a, b): number
        • +
        • +
          +

          Parameters

          +
            +
          • +
            a: T
          • +
          • +
            b: T
          +

          Returns number

    +

    Returns void

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/cache.toCachableResourceRecordRow.html b/docs/functions/cache.toCachableResourceRecordRow.html new file mode 100644 index 0000000..de637b8 --- /dev/null +++ b/docs/functions/cache.toCachableResourceRecordRow.html @@ -0,0 +1,94 @@ +toCachableResourceRecordRow | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.concatUInt8Array.html b/docs/functions/dns.concatUInt8Array.html new file mode 100644 index 0000000..4d3dbbb --- /dev/null +++ b/docs/functions/dns.concatUInt8Array.html @@ -0,0 +1,129 @@ +concatUInt8Array | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.encodeUInt16BE.html b/docs/functions/dns.encodeUInt16BE.html new file mode 100644 index 0000000..c6dfcc3 --- /dev/null +++ b/docs/functions/dns.encodeUInt16BE.html @@ -0,0 +1,129 @@ +encodeUInt16BE | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.encodeUInt32BE.html b/docs/functions/dns.encodeUInt32BE.html new file mode 100644 index 0000000..b43419b --- /dev/null +++ b/docs/functions/dns.encodeUInt32BE.html @@ -0,0 +1,129 @@ +encodeUInt32BE | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateIPv6.html b/docs/functions/dns.generateIPv6.html new file mode 100644 index 0000000..2343b94 --- /dev/null +++ b/docs/functions/dns.generateIPv6.html @@ -0,0 +1,129 @@ +generateIPv6 | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateLabels.html b/docs/functions/dns.generateLabels.html new file mode 100644 index 0000000..6fd1497 --- /dev/null +++ b/docs/functions/dns.generateLabels.html @@ -0,0 +1,131 @@ +generateLabels | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generatePacket.html b/docs/functions/dns.generatePacket.html new file mode 100644 index 0000000..e083e27 --- /dev/null +++ b/docs/functions/dns.generatePacket.html @@ -0,0 +1,129 @@ +generatePacket | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generatePacketFlags.html b/docs/functions/dns.generatePacketFlags.html new file mode 100644 index 0000000..d4b6083 --- /dev/null +++ b/docs/functions/dns.generatePacketFlags.html @@ -0,0 +1,129 @@ +generatePacketFlags | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateQuestionRecord.html b/docs/functions/dns.generateQuestionRecord.html new file mode 100644 index 0000000..b00a827 --- /dev/null +++ b/docs/functions/dns.generateQuestionRecord.html @@ -0,0 +1,129 @@ +generateQuestionRecord | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateQuestionRecords.html b/docs/functions/dns.generateQuestionRecords.html new file mode 100644 index 0000000..1898810 --- /dev/null +++ b/docs/functions/dns.generateQuestionRecords.html @@ -0,0 +1,129 @@ +generateQuestionRecords | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateResourceRecord.html b/docs/functions/dns.generateResourceRecord.html new file mode 100644 index 0000000..b97550d --- /dev/null +++ b/docs/functions/dns.generateResourceRecord.html @@ -0,0 +1,129 @@ +generateResourceRecord | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateResourceRecords.html b/docs/functions/dns.generateResourceRecords.html new file mode 100644 index 0000000..704f133 --- /dev/null +++ b/docs/functions/dns.generateResourceRecords.html @@ -0,0 +1,129 @@ +generateResourceRecords | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateSRVRecordData.html b/docs/functions/dns.generateSRVRecordData.html new file mode 100644 index 0000000..0c57511 --- /dev/null +++ b/docs/functions/dns.generateSRVRecordData.html @@ -0,0 +1,129 @@ +generateSRVRecordData | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.generateTXTRecordData.html b/docs/functions/dns.generateTXTRecordData.html new file mode 100644 index 0000000..c2b8729 --- /dev/null +++ b/docs/functions/dns.generateTXTRecordData.html @@ -0,0 +1,129 @@ +generateTXTRecordData | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.isCachableResourceRecord.html b/docs/functions/dns.isCachableResourceRecord.html new file mode 100644 index 0000000..ee03042 --- /dev/null +++ b/docs/functions/dns.isCachableResourceRecord.html @@ -0,0 +1,129 @@ +isCachableResourceRecord | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.isStringResourceRecord.html b/docs/functions/dns.isStringResourceRecord.html new file mode 100644 index 0000000..89c4226 --- /dev/null +++ b/docs/functions/dns.isStringResourceRecord.html @@ -0,0 +1,129 @@ +isStringResourceRecord | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parseIPv6.html b/docs/functions/dns.parseIPv6.html new file mode 100644 index 0000000..13aceda --- /dev/null +++ b/docs/functions/dns.parseIPv6.html @@ -0,0 +1,129 @@ +parseIPv6 | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parseLabels.html b/docs/functions/dns.parseLabels.html new file mode 100644 index 0000000..8219138 --- /dev/null +++ b/docs/functions/dns.parseLabels.html @@ -0,0 +1,133 @@ +parseLabels | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parsePacket.html b/docs/functions/dns.parsePacket.html new file mode 100644 index 0000000..00aff13 --- /dev/null +++ b/docs/functions/dns.parsePacket.html @@ -0,0 +1,129 @@ +parsePacket | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parsePacketFlags.html b/docs/functions/dns.parsePacketFlags.html new file mode 100644 index 0000000..ea8626d --- /dev/null +++ b/docs/functions/dns.parsePacketFlags.html @@ -0,0 +1,129 @@ +parsePacketFlags | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parseQuestionRecord.html b/docs/functions/dns.parseQuestionRecord.html new file mode 100644 index 0000000..0200136 --- /dev/null +++ b/docs/functions/dns.parseQuestionRecord.html @@ -0,0 +1,131 @@ +parseQuestionRecord | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parseQuestionRecords.html b/docs/functions/dns.parseQuestionRecords.html new file mode 100644 index 0000000..d4d1802 --- /dev/null +++ b/docs/functions/dns.parseQuestionRecords.html @@ -0,0 +1,133 @@ +parseQuestionRecords | @matrixai/mdns
+
+ +
+
+
+
+ +

Function parseQuestionRecords

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parseResourceRecord.html b/docs/functions/dns.parseResourceRecord.html new file mode 100644 index 0000000..bc27c4a --- /dev/null +++ b/docs/functions/dns.parseResourceRecord.html @@ -0,0 +1,131 @@ +parseResourceRecord | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/dns.parseResourceRecords.html b/docs/functions/dns.parseResourceRecords.html new file mode 100644 index 0000000..1aed7c5 --- /dev/null +++ b/docs/functions/dns.parseResourceRecords.html @@ -0,0 +1,133 @@ +parseResourceRecords | @matrixai/mdns
+
+ +
+
+
+
+ +

Function parseResourceRecords

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.bindSocket.html b/docs/functions/utils.bindSocket.html new file mode 100644 index 0000000..3f4359a --- /dev/null +++ b/docs/functions/utils.bindSocket.html @@ -0,0 +1,100 @@ +bindSocket | @matrixai/mdns
+
+ +
+
+
+
+ +

Function bindSocket

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      socket: Socket
    • +
    • +
      port: number
    • +
    • +
      Optional address: string
    +

    Returns Promise<{
        close: any;
        send: any;
    }>

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.fromIPv4MappedIPv6.html b/docs/functions/utils.fromIPv4MappedIPv6.html new file mode 100644 index 0000000..a0ffbfa --- /dev/null +++ b/docs/functions/utils.fromIPv4MappedIPv6.html @@ -0,0 +1,105 @@ +fromIPv4MappedIPv6 | @matrixai/mdns
+
+ +
+
+
+
+ +

Function fromIPv4MappedIPv6

+
+
    + +
  • +

    Extracts the IPv4 portion out of the IPv4 mapped IPv6 address. +Can handle both the dotted decimal and hex variants.

    +
      +
    1. ::ffff:7f00:1
    2. +
    3. ::ffff:127.0.0.1 +Always returns the dotted decimal variant.
    4. +
    +
    +
    +

    Parameters

    +
      +
    • +
      host: string
    +

    Returns Host

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.getHostname.html b/docs/functions/utils.getHostname.html new file mode 100644 index 0000000..7c628d7 --- /dev/null +++ b/docs/functions/utils.getHostname.html @@ -0,0 +1,91 @@ +getHostname | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.getNetworkInterfaces.html b/docs/functions/utils.getNetworkInterfaces.html new file mode 100644 index 0000000..351411d --- /dev/null +++ b/docs/functions/utils.getNetworkInterfaces.html @@ -0,0 +1,94 @@ +getNetworkInterfaces | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.getPlatform.html b/docs/functions/utils.getPlatform.html new file mode 100644 index 0000000..1059401 --- /dev/null +++ b/docs/functions/utils.getPlatform.html @@ -0,0 +1,91 @@ +getPlatform | @matrixai/mdns
+
+ +
+
+
+
+ +

Function getPlatform

+
+
    + +
  • +

    Returns "aix" | "android" | "darwin" | "freebsd" | "linux" | "openbsd" | "sunos" | "win32"

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.getRandomPacketId.html b/docs/functions/utils.getRandomPacketId.html new file mode 100644 index 0000000..b2d95ce --- /dev/null +++ b/docs/functions/utils.getRandomPacketId.html @@ -0,0 +1,94 @@ +getRandomPacketId | @matrixai/mdns
+
+ +
+
+
+
+ +

Function getRandomPacketId

+
+
    + +
  • +

    Returns a random unique unsigned 16 bit integer.

    +
    +

    Returns number

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.isIPv4.html b/docs/functions/utils.isIPv4.html new file mode 100644 index 0000000..50d996f --- /dev/null +++ b/docs/functions/utils.isIPv4.html @@ -0,0 +1,99 @@ +isIPv4 | @matrixai/mdns
+
+ +
+
+
+
+ +

Function isIPv4

+
+
    + +
  • +

    Is it an IPv4 address?

    +
    +
    +

    Parameters

    +
      +
    • +
      host: string
    +

    Returns host is Host

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.isIPv4MappedIPv6.html b/docs/functions/utils.isIPv4MappedIPv6.html new file mode 100644 index 0000000..ec2d6aa --- /dev/null +++ b/docs/functions/utils.isIPv4MappedIPv6.html @@ -0,0 +1,104 @@ +isIPv4MappedIPv6 | @matrixai/mdns
+
+ +
+
+
+
+ +

Function isIPv4MappedIPv6

+
+
    + +
  • +

    There are 2 kinds of IPv4 mapped IPv6 addresses.

    +
      +
    1. ::ffff:127.0.0.1 - dotted decimal version
    2. +
    3. ::ffff:7f00:1 - hex version +Both are accepted by Node's dgram module.
    4. +
    +
    +
    +

    Parameters

    +
      +
    • +
      host: string
    +

    Returns host is Host

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.isIPv6.html b/docs/functions/utils.isIPv6.html new file mode 100644 index 0000000..06f1f4c --- /dev/null +++ b/docs/functions/utils.isIPv6.html @@ -0,0 +1,100 @@ +isIPv6 | @matrixai/mdns
+
+ +
+
+
+
+ +

Function isIPv6

+
+
    + +
  • +

    Is it an IPv6 address? +This considers IPv4 mapped IPv6 addresses to also be IPv6 addresses.

    +
    +
    +

    Parameters

    +
      +
    • +
      host: string
    +

    Returns host is Host

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.isPort.html b/docs/functions/utils.isPort.html new file mode 100644 index 0000000..957a670 --- /dev/null +++ b/docs/functions/utils.isPort.html @@ -0,0 +1,99 @@ +isPort | @matrixai/mdns
+
+ +
+
+
+
+ +

Function isPort

+
+
    + +
  • +

    Is it a valid Port between 0 and 65535?

    +
    +
    +

    Parameters

    +
      +
    • +
      port: number
    +

    Returns port is Port

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.isService.html b/docs/functions/utils.isService.html new file mode 100644 index 0000000..8b6763a --- /dev/null +++ b/docs/functions/utils.isService.html @@ -0,0 +1,96 @@ +isService | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.promise.html b/docs/functions/utils.promise.html new file mode 100644 index 0000000..1840b84 --- /dev/null +++ b/docs/functions/utils.promise.html @@ -0,0 +1,99 @@ +promise | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.promisify.html b/docs/functions/utils.promisify.html new file mode 100644 index 0000000..e3b8c55 --- /dev/null +++ b/docs/functions/utils.promisify.html @@ -0,0 +1,132 @@ +promisify | @matrixai/mdns
+
+ +
+
+
+
+ +

Function promisify

+
+
    + +
  • +

    Convert callback-style to promise-style +If this is applied to overloaded function +it will only choose one of the function signatures to use

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends unknown[]

    • +
    • +

      P extends unknown[]

    • +
    • +

      R extends unknown[]

    +
    +

    Parameters

    +
      +
    • +
      f: ((...args) => unknown)
      +
        +
      • +
          +
        • (...args): unknown
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: [...params: P[], callback: Callback<T>]
          +

          Returns unknown

    +

    Returns ((...params) => Promise<R>)

    +
      +
    • +
        +
      • (...params): Promise<R>
      • +
      • +
        +

        Parameters

        +
          +
        • +
          Rest ...params: P
        +

        Returns Promise<R>

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.toFqdn.html b/docs/functions/utils.toFqdn.html new file mode 100644 index 0000000..cdbad89 --- /dev/null +++ b/docs/functions/utils.toFqdn.html @@ -0,0 +1,96 @@ +toFqdn | @matrixai/mdns
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.toHostResourceRecords.html b/docs/functions/utils.toHostResourceRecords.html new file mode 100644 index 0000000..08dc879 --- /dev/null +++ b/docs/functions/utils.toHostResourceRecords.html @@ -0,0 +1,102 @@ +toHostResourceRecords | @matrixai/mdns
+
+ +
+
+
+
+ +

Function toHostResourceRecords

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.toServiceDomain.html b/docs/functions/utils.toServiceDomain.html new file mode 100644 index 0000000..fa83b18 --- /dev/null +++ b/docs/functions/utils.toServiceDomain.html @@ -0,0 +1,101 @@ +toServiceDomain | @matrixai/mdns
+
+ +
+
+
+
+ +

Function toServiceDomain

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      __namedParameters: {
          protocol: "udp" | "tcp";
          type: string;
      }
      +
        +
      • +
        protocol: "udp" | "tcp"
      • +
      • +
        type: string
    +

    Returns Hostname

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/functions/utils.toServiceResourceRecords.html b/docs/functions/utils.toServiceResourceRecords.html new file mode 100644 index 0000000..c8f465c --- /dev/null +++ b/docs/functions/utils.toServiceResourceRecords.html @@ -0,0 +1,102 @@ +toServiceResourceRecords | @matrixai/mdns
+
+ +
+
+
+
+ +

Function toServiceResourceRecords

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 1734c04..4119f0e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,130 +1,89 @@ -@matrixai/typescript-demo-lib
Options
All
  • Public
  • Public/Protected
  • All
Menu

@matrixai/typescript-demo-lib

- -

TypeScript-Demo-Lib

-
-

staging:pipeline status -master:pipeline status

- - -

Installation

-
-

Note that JavaScript libraries are not packaged in Nix. Only JavaScript applications are.

-

Building the package:

-
nix-build -E '(import ./pkgs.nix {}).callPackage ./default.nix {}'
-
-

Building the releases:

-
nix-build ./release.nix --attr application
nix-build ./release.nix --attr docker
nix-build ./release.nix --attr package.linux.x64.elf
nix-build ./release.nix --attr package.windows.x64.exe
nix-build ./release.nix --attr package.macos.x64.macho -
-

Install into Nix user profile:

-
nix-env -f ./release.nix --install --attr application
-
-

Install into Docker:

-
loaded="$(docker load --input "$(nix-build ./release.nix --attr docker)")"
image="$(cut -d' ' -f3 <<< "$loaded")"
docker run -it "$image" -
- - -

Development

-
-

Run nix-shell, and once you're inside, you can use:

-
# install (or reinstall packages from package.json)
npm install
# build the dist
npm run build
# run the repl (this allows you to import from ./src)
npm run ts-node
# run the tests
npm run test
# lint the source code
npm run lint
# automatically fix the source
npm run lintfix -
- - -

Calling Executables

-
-

When calling executables in development, use this style:

-
npm run typescript-demo-lib -- p1 p2 p3
-
-

The -- is necessary to make npm understand that the parameters are for your own executable, and not parameters to npm.

- - -

Using the REPL

-
-
$ npm run ts-node
> import fs from 'fs';
> fs
> import { Library } from '@';
> Library
> import Library as Library2 from './src/lib/Library'; -
-

You can also create test files in ./src, and run them with npm run ts-node ./src/test.ts.

-

This allows you to test individual pieces of typescript code, and it makes it easier when doing large scale architecting of TypeScript code.

- - -

Path Aliases

-
-

Due to https://github.com/microsoft/TypeScript/issues/10866, you cannot use path aliases without a bundler like Webpack to further transform the generated JavaScript code in order to resolve the path aliases. Because this is a simple library demonstration, there's no need to use a bundler. In fact, for such libraries, it is far more efficient to not bundle the code.

-

However, we have left the path alias configuration in tsconfig.json, jest.config.js and in the tests we are making use of the @ alias.

- - -

Local Package Linking

-
-

When developing on multiple NPM packages, it can be easier to use npm link so that changes are immediately reflected rather than repeatedly publishing packages. To do this, you need to use npm link. After linking a local directory, you need to provide tsconfig.json paths so TypeScript compiler can find the right files.

-

For example when linking @matrixai/db located in ../js-db:

-
npm link ../js-db
-
-

You would need to add these paths to tsconfig.json:

-
  "paths": {
"@": ["index"],
"@/*": ["*"],
"@matrixai/db": ["../node_modules/@matrixai/db/src"],
"@matrixai/db/*": ["../node_modules/@matrixai/db/src/*"]
}, -
- - -

Native Module Toolchain

-
-

There are some nuances when packaging with native modules. -Included native modules are level witch include leveldown and utp-native.

-

If a module is not set to public then pkg defaults to including it as bytecode. -To avoid this breaking with the --no-bytecode flag we need to add --public-packages "*"

- - -

leveldown

-
-

To get leveldown to work with pkg we need to include the prebuilds with the executable. -after building with pkg you need to copy from node_modules/leveldown/prebuilds -> path_to_executable/prebuilds -You only need to include the prebuilds for the arch you are targeting. e.g. for linux-x64 you need prebuild/linux-x64.

-

The folder structure for the executable should look like this.

+@matrixai/mdns
+
+ +
+
+
+
+

@matrixai/mdns

+

js-mdns

Multicast DNS Stack for TypeScript/JavaScript Applications.

+

Installation

npm install --save @matrixai/mdns
+
+

Development

Run nix develop, and once you're inside, you can use:

+
# install (or reinstall packages from package.json)
npm install
# build the dist
npm run build
# run the repl (this allows you to import from ./src)
npm run tsx
# run the tests
npm run test
# lint the source code
npm run lint
# automatically fix the source
npm run lintfix +
+

Docs Generation

npm run docs
+
+

See the docs at: https://matrixai.github.io/js-mdns/

+

Publishing

# npm login
npm version patch # major/minor/patch
npm run build
npm publish --access public
git push
git push --tags +
+

License

js-mdns is licensed under Apache-2.0, you may read the terms of the license here.

+
+
+

Legend

  • Constructor
  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +
  • +
  • +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/dns.Parsed.html b/docs/interfaces/dns.Parsed.html new file mode 100644 index 0000000..78c4aa6 --- /dev/null +++ b/docs/interfaces/dns.Parsed.html @@ -0,0 +1,156 @@ +Parsed | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Interface Parsed<T>

    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Hierarchy

    +
      +
    • Parsed
    +
    +
    +
    + +
    +
    +

    Properties

    +
    +
    +

    Properties

    +
    + +
    data: T
    +
    + +
    remainder: Uint8Array
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 22f783b..5e844bf 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1,100 @@ -@matrixai/typescript-demo-lib
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    @matrixai/typescript-demo-lib

    Legend

    • Constructor
    • Property

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +@matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules/cache.html b/docs/modules/cache.html new file mode 100644 index 0000000..1f2cb3d --- /dev/null +++ b/docs/modules/cache.html @@ -0,0 +1,102 @@ +cache | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules/dns.html b/docs/modules/dns.html new file mode 100644 index 0000000..2a979b1 --- /dev/null +++ b/docs/modules/dns.html @@ -0,0 +1,186 @@ +dns | @matrixai/mdns
    +
    + +
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules/errors.html b/docs/modules/errors.html new file mode 100644 index 0000000..ad64f1a --- /dev/null +++ b/docs/modules/errors.html @@ -0,0 +1,102 @@ +errors | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules/events.html b/docs/modules/events.html new file mode 100644 index 0000000..30686c7 --- /dev/null +++ b/docs/modules/events.html @@ -0,0 +1,90 @@ +events | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules/utils.html b/docs/modules/utils.html new file mode 100644 index 0000000..c370d3a --- /dev/null +++ b/docs/modules/utils.html @@ -0,0 +1,108 @@ +utils | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Address.html b/docs/types/Address.html new file mode 100644 index 0000000..6b55a73 --- /dev/null +++ b/docs/types/Address.html @@ -0,0 +1,69 @@ +Address | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Address

    +
    Address: Opaque<"Address", string>
    +

    Combination of <HOST>:<PORT>

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/BaseSocketInfo.html b/docs/types/BaseSocketInfo.html new file mode 100644 index 0000000..94ce32c --- /dev/null +++ b/docs/types/BaseSocketInfo.html @@ -0,0 +1,94 @@ +BaseSocketInfo | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias BaseSocketInfo

    +
    BaseSocketInfo: {
        close: (() => Promise<void>);
        send: ((...params) => Promise<number>);
        udpType: "udp4" | "udp6";
        unicast?: boolean;
    }
    +
    +

    Type declaration

    +
      +
    • +
      close: (() => Promise<void>)
      +
        +
      • +
          +
        • (): Promise<void>
        • +
        • +

          Returns Promise<void>

    • +
    • +
      send: ((...params) => Promise<number>)
      +
        +
      • +
          +
        • (...params): Promise<number>
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...params: any[]
          +

          Returns Promise<number>

    • +
    • +
      udpType: "udp4" | "udp6"
    • +
    • +
      Optional unicast?: boolean
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Callback.html b/docs/types/Callback.html new file mode 100644 index 0000000..3343819 --- /dev/null +++ b/docs/types/Callback.html @@ -0,0 +1,106 @@ +Callback | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Callback<P, R, E>

    +
    Callback<P, R, E>: {
        (e, ...params): R;
        (e?, ...params): R;
    }
    +
    +

    Type Parameters

    +
      +
    • +

      P extends any[] = []

    • +
    • +

      R = any

    • +
    • +

      E extends Error = Error

    +
    +

    Type declaration

    +
      +
    • +
        +
      • (e, ...params): R
      • +
      • +

        Generic callback

        +
        +
        +

        Parameters

        +
          +
        • +
          e: E
        • +
        • +
          Rest ...params: Partial<P>
        +

        Returns R

        +
      • +
      • (e?, ...params): R
      • +
      • +

        Generic callback

        +
        +
        +

        Parameters

        +
          +
        • +
          Optional e: null
        • +
        • +
          Rest ...params: P
        +

        Returns R

        +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/FQDN.html b/docs/types/FQDN.html new file mode 100644 index 0000000..45a09a7 --- /dev/null +++ b/docs/types/FQDN.html @@ -0,0 +1,70 @@ +FQDN | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias FQDN

    +
    FQDN: Opaque<"FQDN", string>
    +

    FQDNs are in the format {service.name}._${service.type}._${service.protocol}.local. +FQDNs are also Hostnames.

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Host.html b/docs/types/Host.html new file mode 100644 index 0000000..840bce6 --- /dev/null +++ b/docs/types/Host.html @@ -0,0 +1,69 @@ +Host | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Host

    +
    Host: Opaque<"Host", string>
    +

    Host is always an IP address

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Hostname.html b/docs/types/Hostname.html new file mode 100644 index 0000000..5e998a2 --- /dev/null +++ b/docs/types/Hostname.html @@ -0,0 +1,69 @@ +Hostname | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Hostname

    +
    Hostname: Opaque<"Hostname", string> | FQDN
    +

    Hostnames are resolved to IP addresses

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/MulticastSocketInfo.html b/docs/types/MulticastSocketInfo.html new file mode 100644 index 0000000..75e40e7 --- /dev/null +++ b/docs/types/MulticastSocketInfo.html @@ -0,0 +1,77 @@ +MulticastSocketInfo | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias MulticastSocketInfo

    +
    MulticastSocketInfo: BaseSocketInfo & {
        group: Host;
        host: Host;
        networkInterfaceName: string;
        unicast?: false;
    }
    +
    +

    Type declaration

    +
      +
    • +
      group: Host
    • +
    • +
      host: Host
    • +
    • +
      networkInterfaceName: string
    • +
    • +
      Optional unicast?: false
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/NetworkAddress.html b/docs/types/NetworkAddress.html new file mode 100644 index 0000000..74b4037 --- /dev/null +++ b/docs/types/NetworkAddress.html @@ -0,0 +1,77 @@ +NetworkAddress | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias NetworkAddress

    +
    NetworkAddress: {
        address: Host;
        family: "IPv4" | "IPv6";
        internal: boolean;
        netmask: Host;
    } & ({
        family: "IPv4";
    } | {
        family: "IPv6";
        scopeid: number;
    })
    +
    +

    Type declaration

    +
      +
    • +
      address: Host
    • +
    • +
      family: "IPv4" | "IPv6"
    • +
    • +
      internal: boolean
    • +
    • +
      netmask: Host
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/NetworkInterfaces.html b/docs/types/NetworkInterfaces.html new file mode 100644 index 0000000..31cbfba --- /dev/null +++ b/docs/types/NetworkInterfaces.html @@ -0,0 +1,66 @@ +NetworkInterfaces | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias NetworkInterfaces

    +
    NetworkInterfaces: Record<string, NetworkAddress[] | undefined>
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Opaque.html b/docs/types/Opaque.html new file mode 100644 index 0000000..266db06 --- /dev/null +++ b/docs/types/Opaque.html @@ -0,0 +1,82 @@ +Opaque | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Opaque<K, T>

    +
    Opaque<K, T>: T & {
        [brand]: K;
    }
    +

    Opaque types are wrappers of existing types +that require smart constructors

    +
    +
    +

    Type Parameters

    +
      +
    • +

      K extends string

    • +
    • +

      T

    +
    +

    Type declaration

    +
      +
    • +
      Readonly [brand]: K
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Port.html b/docs/types/Port.html new file mode 100644 index 0000000..cfc2cc6 --- /dev/null +++ b/docs/types/Port.html @@ -0,0 +1,69 @@ +Port | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Port

    +
    Port: Opaque<"Port", number>
    +

    Ports are numbers from 0 to 65535

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/PromiseDeconstructed.html b/docs/types/PromiseDeconstructed.html new file mode 100644 index 0000000..5c9759c --- /dev/null +++ b/docs/types/PromiseDeconstructed.html @@ -0,0 +1,105 @@ +PromiseDeconstructed | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias PromiseDeconstructed<T>

    +
    PromiseDeconstructed<T>: {
        p: Promise<T>;
        rejectP: ((reason?) => void);
        resolveP: ((value) => void);
    }
    +

    Deconstructed promise

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Type declaration

    +
      +
    • +
      p: Promise<T>
    • +
    • +
      rejectP: ((reason?) => void)
      +
        +
      • +
          +
        • (reason?): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Optional reason: any
          +

          Returns void

    • +
    • +
      resolveP: ((value) => void)
      +
        +
      • +
          +
        • (value): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T | PromiseLike<T>
          +

          Returns void

    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/RemoteInfo.html b/docs/types/RemoteInfo.html new file mode 100644 index 0000000..eff320b --- /dev/null +++ b/docs/types/RemoteInfo.html @@ -0,0 +1,77 @@ +RemoteInfo | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias RemoteInfo

    +
    RemoteInfo: {
        address: Host;
        family: "IPv4" | "IPv6";
        port: Port;
        size: number;
    }
    +
    +

    Type declaration

    +
      +
    • +
      address: Host
    • +
    • +
      family: "IPv4" | "IPv6"
    • +
    • +
      port: Port
    • +
    • +
      size: number
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/Service.html b/docs/types/Service.html new file mode 100644 index 0000000..b5af8ac --- /dev/null +++ b/docs/types/Service.html @@ -0,0 +1,83 @@ +Service | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Service

    +
    Service: {
        hostname: Hostname;
        hosts: Host[];
        name: string;
        port: Port;
        protocol: "udp" | "tcp";
        txt?: Record<string, string>;
        type: string;
    }
    +
    +

    Type declaration

    +
      +
    • +
      hostname: Hostname
    • +
    • +
      hosts: Host[]
    • +
    • +
      name: string
    • +
    • +
      port: Port
    • +
    • +
      protocol: "udp" | "tcp"
    • +
    • +
      Optional txt?: Record<string, string>
    • +
    • +
      type: string
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/ServicePOJO.html b/docs/types/ServicePOJO.html new file mode 100644 index 0000000..dfc9be6 --- /dev/null +++ b/docs/types/ServicePOJO.html @@ -0,0 +1,83 @@ +ServicePOJO | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias ServicePOJO

    +
    ServicePOJO: {
        hostname: string;
        hosts: string[];
        name: string;
        port: number;
        protocol: "udp" | "tcp";
        txt?: Record<string, string>;
        type: string;
    }
    +
    +

    Type declaration

    +
      +
    • +
      hostname: string
    • +
    • +
      hosts: string[]
    • +
    • +
      name: string
    • +
    • +
      port: number
    • +
    • +
      protocol: "udp" | "tcp"
    • +
    • +
      Optional txt?: Record<string, string>
    • +
    • +
      type: string
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/SocketHostRow.html b/docs/types/SocketHostRow.html new file mode 100644 index 0000000..6353879 --- /dev/null +++ b/docs/types/SocketHostRow.html @@ -0,0 +1,75 @@ +SocketHostRow | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias SocketHostRow

    +
    SocketHostRow: {
        address: Host;
        netmask: Host;
        networkInterfaceName: string;
    } & ({
        family: "IPv4";
        parsedAddress: IPv4;
        parsedMask: IPv4Mask;
    } | {
        family: "IPv6";
        parsedAddress: IPv6;
        parsedMask: IPv6Mask;
        scopeid: number;
    })
    +
    +

    Type declaration

    +
      +
    • +
      address: Host
    • +
    • +
      netmask: Host
    • +
    • +
      networkInterfaceName: string
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/SocketInfo.html b/docs/types/SocketInfo.html new file mode 100644 index 0000000..52d1f1c --- /dev/null +++ b/docs/types/SocketInfo.html @@ -0,0 +1,66 @@ +SocketInfo | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias SocketInfo

    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/UnicastSocketInfo.html b/docs/types/UnicastSocketInfo.html new file mode 100644 index 0000000..2fe5466 --- /dev/null +++ b/docs/types/UnicastSocketInfo.html @@ -0,0 +1,71 @@ +UnicastSocketInfo | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias UnicastSocketInfo

    +
    UnicastSocketInfo: BaseSocketInfo & {
        unicast: true;
    }
    +
    +

    Type declaration

    +
      +
    • +
      unicast: true
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/cache.CachableResourceRecordRow.html b/docs/types/cache.CachableResourceRecordRow.html new file mode 100644 index 0000000..4f1904f --- /dev/null +++ b/docs/types/cache.CachableResourceRecordRow.html @@ -0,0 +1,88 @@ +CachableResourceRecordRow | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias CachableResourceRecordRow

    +
    CachableResourceRecordRow: CachableResourceRecord & {
        relatedHostname?: Hostname;
        timestamp: number;
    }
    +
    +

    Type declaration

    +
      +
    • +
      Optional relatedHostname?: Hostname
    • +
    • +
      timestamp: number
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.BaseResourceRecord.html b/docs/types/dns.BaseResourceRecord.html new file mode 100644 index 0000000..5ec7ca7 --- /dev/null +++ b/docs/types/dns.BaseResourceRecord.html @@ -0,0 +1,142 @@ +BaseResourceRecord | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias BaseResourceRecord<T, D>

    +
    BaseResourceRecord<T, D>: {
        class: RClass;
        data: D;
        flush?: boolean;
        name: Hostname;
        ttl: number;
        type: T;
    }
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      D

    +
    +

    Type declaration

    +
      +
    • +
      class: RClass
    • +
    • +
      data: D
    • +
    • +
      Optional flush?: boolean
    • +
    • +
      name: Hostname
    • +
    • +
      ttl: number
    • +
    • +
      type: T
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.CachableResourceRecord.html b/docs/types/dns.CachableResourceRecord.html new file mode 100644 index 0000000..2060f8d --- /dev/null +++ b/docs/types/dns.CachableResourceRecord.html @@ -0,0 +1,120 @@ +CachableResourceRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.HostRecord.html b/docs/types/dns.HostRecord.html new file mode 100644 index 0000000..aae978a --- /dev/null +++ b/docs/types/dns.HostRecord.html @@ -0,0 +1,120 @@ +HostRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.HostnameRecord.html b/docs/types/dns.HostnameRecord.html new file mode 100644 index 0000000..c96f002 --- /dev/null +++ b/docs/types/dns.HostnameRecord.html @@ -0,0 +1,120 @@ +HostnameRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.NSECRecord.html b/docs/types/dns.NSECRecord.html new file mode 100644 index 0000000..988eb40 --- /dev/null +++ b/docs/types/dns.NSECRecord.html @@ -0,0 +1,127 @@ +NSECRecord | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias NSECRecord

    +
    NSECRecord: BaseResourceRecord<NSEC, {
        nextDomainName: string;
        rrTypeWindows: {
            RRTypes: RType[];
            bitmapSize: number;
            windowId: number;
        }[];
    }>
    +
    +

    Type declaration

    +
      +
    • +
      nextDomainName: string
    • +
    • +
      rrTypeWindows: {
          RRTypes: RType[];
          bitmapSize: number;
          windowId: number;
      }[]
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.OPTRecord.html b/docs/types/dns.OPTRecord.html new file mode 100644 index 0000000..833bd6d --- /dev/null +++ b/docs/types/dns.OPTRecord.html @@ -0,0 +1,137 @@ +OPTRecord | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias OPTRecord

    +
    OPTRecord: BaseResourceRecord<OPT, any[]> & {
        ednsVersion: number;
        extendedRCode: number;
        flags: number;
        flush: false;
        name: "0";
        ttl: 0;
        udpPayloadSize: number;
    }
    +
    +

    Type declaration

    +
      +
    • +
      ednsVersion: number
    • +
    • +
      extendedRCode: number
    • +
    • +
      flags: number
    • +
    • +
      flush: false
    • +
    • +
      name: "0"
    • +
    • +
      ttl: 0
    • +
    • +
      udpPayloadSize: number
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.Packet.html b/docs/types/dns.Packet.html new file mode 100644 index 0000000..d0818c6 --- /dev/null +++ b/docs/types/dns.Packet.html @@ -0,0 +1,135 @@ +Packet | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias Packet

    +
    Packet: {
        additionals: ResourceRecord[];
        answers: ResourceRecord[];
        authorities: ResourceRecord[];
        flags: PacketFlags;
        id: number;
        questions: QuestionRecord[];
    }
    +
    +

    Type declaration

    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.PacketFlags.html b/docs/types/dns.PacketFlags.html new file mode 100644 index 0000000..e8d9eb0 --- /dev/null +++ b/docs/types/dns.PacketFlags.html @@ -0,0 +1,143 @@ +PacketFlags | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias PacketFlags

    +
    PacketFlags: {
        authenticData?: boolean;
        authoritativeAnswer?: boolean;
        checkingDisabled?: boolean;
        opcode: PacketOpCode;
        rcode: RCode;
        recursionAvailable?: boolean;
        recursionDesired?: boolean;
        truncation?: boolean;
        type: PacketType;
        zero?: boolean;
    }
    +
    +

    Type declaration

    +
      +
    • +
      Optional authenticData?: boolean
    • +
    • +
      Optional authoritativeAnswer?: boolean
    • +
    • +
      Optional checkingDisabled?: boolean
    • +
    • +
      opcode: PacketOpCode
    • +
    • +
      rcode: RCode
    • +
    • +
      Optional recursionAvailable?: boolean
    • +
    • +
      Optional recursionDesired?: boolean
    • +
    • +
      Optional truncation?: boolean
    • +
    • +
      type: PacketType
    • +
    • +
      Optional zero?: boolean
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.PacketHeader.html b/docs/types/dns.PacketHeader.html new file mode 100644 index 0000000..e7038c6 --- /dev/null +++ b/docs/types/dns.PacketHeader.html @@ -0,0 +1,135 @@ +PacketHeader | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias PacketHeader

    +
    PacketHeader: {
        ancount: number;
        arcount: number;
        flags: PacketFlags;
        id: number;
        nscount: number;
        qdcount: number;
    }
    +
    +

    Type declaration

    +
      +
    • +
      ancount: number
    • +
    • +
      arcount: number
    • +
    • +
      flags: PacketFlags
    • +
    • +
      id: number
    • +
    • +
      nscount: number
    • +
    • +
      qdcount: number
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.QuestionRecord.html b/docs/types/dns.QuestionRecord.html new file mode 100644 index 0000000..7b169be --- /dev/null +++ b/docs/types/dns.QuestionRecord.html @@ -0,0 +1,131 @@ +QuestionRecord | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias QuestionRecord

    +
    QuestionRecord: {
        class: QClass;
        name: Hostname;
        type: QType;
        unicast?: boolean;
    }
    +
    +

    Type declaration

    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.ResourceRecord.html b/docs/types/dns.ResourceRecord.html new file mode 100644 index 0000000..cabc8d6 --- /dev/null +++ b/docs/types/dns.ResourceRecord.html @@ -0,0 +1,120 @@ +ResourceRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.SRVRecord.html b/docs/types/dns.SRVRecord.html new file mode 100644 index 0000000..64e103b --- /dev/null +++ b/docs/types/dns.SRVRecord.html @@ -0,0 +1,120 @@ +SRVRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.SRVRecordValue.html b/docs/types/dns.SRVRecordValue.html new file mode 100644 index 0000000..759a5e7 --- /dev/null +++ b/docs/types/dns.SRVRecordValue.html @@ -0,0 +1,131 @@ +SRVRecordValue | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Type alias SRVRecordValue

    +
    SRVRecordValue: {
        port: Port;
        priority: number;
        target: Hostname;
        weight: number;
    }
    +
    +

    Type declaration

    +
      +
    • +
      port: Port
    • +
    • +
      priority: number
    • +
    • +
      target: Hostname
    • +
    • +
      weight: number
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.StringRecord.html b/docs/types/dns.StringRecord.html new file mode 100644 index 0000000..9e8eb8f --- /dev/null +++ b/docs/types/dns.StringRecord.html @@ -0,0 +1,120 @@ +StringRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.TXTRecord.html b/docs/types/dns.TXTRecord.html new file mode 100644 index 0000000..db31482 --- /dev/null +++ b/docs/types/dns.TXTRecord.html @@ -0,0 +1,120 @@ +TXTRecord | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/dns.TXTRecordValue.html b/docs/types/dns.TXTRecordValue.html new file mode 100644 index 0000000..e9a8730 --- /dev/null +++ b/docs/types/dns.TXTRecordValue.html @@ -0,0 +1,120 @@ +TXTRecordValue | @matrixai/mdns
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/brand.html b/docs/variables/brand.html new file mode 100644 index 0000000..baf2363 --- /dev/null +++ b/docs/variables/brand.html @@ -0,0 +1,66 @@ +brand | @matrixai/mdns
    +
    + +
    +
    +
    +
    + +

    Variable brandConst

    +
    brand: unique symbol
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a5619fd..eaa9720 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@matrixai/mdns", - "version": "1.3.3", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@matrixai/mdns", - "version": "1.3.3", + "version": "2.0.1", "license": "Apache-2.0", "dependencies": { "@matrixai/async-cancellable": "^2.0.1", @@ -51,7 +51,7 @@ "node": "^20.5.1" }, "optionalDependencies": { - "@matrixai/mdns-linux-x64": "1.3.3" + "@matrixai/mdns-linux-x64": "2.0.1" } }, "node_modules/@ampproject/remapping": { @@ -2160,18 +2160,6 @@ "resolved": "https://registry.npmjs.org/@matrixai/logger/-/logger-4.0.3.tgz", "integrity": "sha512-cu7e82iwN32H+K8HxsrvrWEYSEj7+RP/iVFhJ4RuacC8/BSOLFOYxry3EchVjrx4FP5G7QP1HnKYXAGpZN/46w==" }, - "node_modules/@matrixai/mdns-linux-x64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@matrixai/mdns-linux-x64/-/mdns-linux-x64-1.3.3.tgz", - "integrity": "sha512-NJmH0ZSRfcgtlmQzfdN5qyc8EVVRLTY/S9xSUTJLpXcAkdZ97MCT6UBMGKtkvlU6LVou+Mq+/fT7xpfdtgSBbA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ] - }, "node_modules/@matrixai/resources": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@matrixai/resources/-/resources-2.0.1.tgz", @@ -11767,12 +11755,6 @@ "resolved": "https://registry.npmjs.org/@matrixai/logger/-/logger-4.0.3.tgz", "integrity": "sha512-cu7e82iwN32H+K8HxsrvrWEYSEj7+RP/iVFhJ4RuacC8/BSOLFOYxry3EchVjrx4FP5G7QP1HnKYXAGpZN/46w==" }, - "@matrixai/mdns-linux-x64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@matrixai/mdns-linux-x64/-/mdns-linux-x64-1.3.3.tgz", - "integrity": "sha512-NJmH0ZSRfcgtlmQzfdN5qyc8EVVRLTY/S9xSUTJLpXcAkdZ97MCT6UBMGKtkvlU6LVou+Mq+/fT7xpfdtgSBbA==", - "optional": true - }, "@matrixai/resources": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@matrixai/resources/-/resources-2.0.1.tgz", diff --git a/package.json b/package.json index aa81536..d8675e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@matrixai/mdns", - "version": "1.3.3", + "version": "2.0.1", "author": "Matrix AI", "contributors": [ { @@ -37,9 +37,9 @@ "prepare": "tsc -p ./tsconfig.build.json", "prebuild": "node ./scripts/prebuild.mjs --allowed-platform=linux", "build": "shx rm -rf ./dist && tsc -p ./tsconfig.build.json", - "version": "node ./scripts/version.js", + "version": "node ./scripts/version.mjs", "postversion": "npm install --package-lock-only --ignore-scripts --silent", - "prepublishOnly": "node ./scripts/prepublishOnly.js", + "prepublishOnly": "node ./scripts/prepublishOnly.mjs", "tsx": "tsx", "test": "node ./scripts/test.mjs", "lint": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}'", @@ -62,7 +62,7 @@ "ip-num": "^1.5.1" }, "optionalDependencies": { - "@matrixai/mdns-linux-x64": "1.3.3" + "@matrixai/mdns-linux-x64": "2.0.1" }, "devDependencies": { "@fast-check/jest": "^2.1.0", diff --git a/scripts/prebuild.mjs b/scripts/prebuild.mjs index bc1483e..fc8a11d 100755 --- a/scripts/prebuild.mjs +++ b/scripts/prebuild.mjs @@ -135,7 +135,7 @@ async function main(argv = process.argv) { }); const buildsPath = path.join(projectPath, 'build', 'Release'); - const prebuildsPath = path.join(projectPath, 'prebuilds'); + const prebuildsPath = path.join(projectPath, 'prebuild'); const buildNames = await fs.promises.readdir(buildsPath); const buildName = buildNames.find((filename) => /\.node$/.test(filename));