How to use type method in Playwright Internal

Best JavaScript code snippet using playwright-internal

nav-data.js

Source:nav-data.js Github

copy

Full Screen

1// Meta data used by the AngularJS docs app2angular.module('navData', [])3 .value('NG_NAVIGATION', {4 "api": {5 "id": "api",6 "name": "API",7 "navGroups": [8 {9 "name": "ng",10 "href": "api/ng",11 "type": "group",12 "navItems": [13 {14 "name": "function",15 "type": "section",16 "href": "api/ng/function"17 },18 {19 "name": "angular.bind",20 "href": "api/ng/function/angular.bind",21 "type": "function"22 },23 {24 "name": "angular.bootstrap",25 "href": "api/ng/function/angular.bootstrap",26 "type": "function"27 },28 {29 "name": "angular.copy",30 "href": "api/ng/function/angular.copy",31 "type": "function"32 },33 {34 "name": "angular.element",35 "href": "api/ng/function/angular.element",36 "type": "function"37 },38 {39 "name": "angular.equals",40 "href": "api/ng/function/angular.equals",41 "type": "function"42 },43 {44 "name": "angular.extend",45 "href": "api/ng/function/angular.extend",46 "type": "function"47 },48 {49 "name": "angular.forEach",50 "href": "api/ng/function/angular.forEach",51 "type": "function"52 },53 {54 "name": "angular.fromJson",55 "href": "api/ng/function/angular.fromJson",56 "type": "function"57 },58 {59 "name": "angular.identity",60 "href": "api/ng/function/angular.identity",61 "type": "function"62 },63 {64 "name": "angular.injector",65 "href": "api/ng/function/angular.injector",66 "type": "function"67 },68 {69 "name": "angular.isArray",70 "href": "api/ng/function/angular.isArray",71 "type": "function"72 },73 {74 "name": "angular.isDate",75 "href": "api/ng/function/angular.isDate",76 "type": "function"77 },78 {79 "name": "angular.isDefined",80 "href": "api/ng/function/angular.isDefined",81 "type": "function"82 },83 {84 "name": "angular.isElement",85 "href": "api/ng/function/angular.isElement",86 "type": "function"87 },88 {89 "name": "angular.isFunction",90 "href": "api/ng/function/angular.isFunction",91 "type": "function"92 },93 {94 "name": "angular.isNumber",95 "href": "api/ng/function/angular.isNumber",96 "type": "function"97 },98 {99 "name": "angular.isObject",100 "href": "api/ng/function/angular.isObject",101 "type": "function"102 },103 {104 "name": "angular.isString",105 "href": "api/ng/function/angular.isString",106 "type": "function"107 },108 {109 "name": "angular.isUndefined",110 "href": "api/ng/function/angular.isUndefined",111 "type": "function"112 },113 {114 "name": "angular.merge",115 "href": "api/ng/function/angular.merge",116 "type": "function"117 },118 {119 "name": "angular.module",120 "href": "api/ng/function/angular.module",121 "type": "function"122 },123 {124 "name": "angular.noop",125 "href": "api/ng/function/angular.noop",126 "type": "function"127 },128 {129 "name": "angular.reloadWithDebugInfo",130 "href": "api/ng/function/angular.reloadWithDebugInfo",131 "type": "function"132 },133 {134 "name": "angular.toJson",135 "href": "api/ng/function/angular.toJson",136 "type": "function"137 },138 {139 "name": "directive",140 "type": "section",141 "href": "api/ng/directive"142 },143 {144 "name": "a",145 "href": "api/ng/directive/a",146 "type": "directive"147 },148 {149 "name": "form",150 "href": "api/ng/directive/form",151 "type": "directive"152 },153 {154 "name": "input",155 "href": "api/ng/directive/input",156 "type": "directive"157 },158 {159 "name": "input[checkbox]",160 "href": "api/ng/input/input[checkbox]",161 "type": "input"162 },163 {164 "name": "input[date]",165 "href": "api/ng/input/input[date]",166 "type": "input"167 },168 {169 "name": "input[datetime-local]",170 "href": "api/ng/input/input[datetime-local]",171 "type": "input"172 },173 {174 "name": "input[email]",175 "href": "api/ng/input/input[email]",176 "type": "input"177 },178 {179 "name": "input[month]",180 "href": "api/ng/input/input[month]",181 "type": "input"182 },183 {184 "name": "input[number]",185 "href": "api/ng/input/input[number]",186 "type": "input"187 },188 {189 "name": "input[radio]",190 "href": "api/ng/input/input[radio]",191 "type": "input"192 },193 {194 "name": "input[text]",195 "href": "api/ng/input/input[text]",196 "type": "input"197 },198 {199 "name": "input[time]",200 "href": "api/ng/input/input[time]",201 "type": "input"202 },203 {204 "name": "input[url]",205 "href": "api/ng/input/input[url]",206 "type": "input"207 },208 {209 "name": "input[week]",210 "href": "api/ng/input/input[week]",211 "type": "input"212 },213 {214 "name": "ngApp",215 "href": "api/ng/directive/ngApp",216 "type": "directive"217 },218 {219 "name": "ngBind",220 "href": "api/ng/directive/ngBind",221 "type": "directive"222 },223 {224 "name": "ngBindHtml",225 "href": "api/ng/directive/ngBindHtml",226 "type": "directive"227 },228 {229 "name": "ngBindTemplate",230 "href": "api/ng/directive/ngBindTemplate",231 "type": "directive"232 },233 {234 "name": "ngBlur",235 "href": "api/ng/directive/ngBlur",236 "type": "directive"237 },238 {239 "name": "ngChange",240 "href": "api/ng/directive/ngChange",241 "type": "directive"242 },243 {244 "name": "ngChecked",245 "href": "api/ng/directive/ngChecked",246 "type": "directive"247 },248 {249 "name": "ngClass",250 "href": "api/ng/directive/ngClass",251 "type": "directive"252 },253 {254 "name": "ngClassEven",255 "href": "api/ng/directive/ngClassEven",256 "type": "directive"257 },258 {259 "name": "ngClassOdd",260 "href": "api/ng/directive/ngClassOdd",261 "type": "directive"262 },263 {264 "name": "ngClick",265 "href": "api/ng/directive/ngClick",266 "type": "directive"267 },268 {269 "name": "ngCloak",270 "href": "api/ng/directive/ngCloak",271 "type": "directive"272 },273 {274 "name": "ngController",275 "href": "api/ng/directive/ngController",276 "type": "directive"277 },278 {279 "name": "ngCopy",280 "href": "api/ng/directive/ngCopy",281 "type": "directive"282 },283 {284 "name": "ngCsp",285 "href": "api/ng/directive/ngCsp",286 "type": "directive"287 },288 {289 "name": "ngCut",290 "href": "api/ng/directive/ngCut",291 "type": "directive"292 },293 {294 "name": "ngDblclick",295 "href": "api/ng/directive/ngDblclick",296 "type": "directive"297 },298 {299 "name": "ngDisabled",300 "href": "api/ng/directive/ngDisabled",301 "type": "directive"302 },303 {304 "name": "ngFocus",305 "href": "api/ng/directive/ngFocus",306 "type": "directive"307 },308 {309 "name": "ngForm",310 "href": "api/ng/directive/ngForm",311 "type": "directive"312 },313 {314 "name": "ngHide",315 "href": "api/ng/directive/ngHide",316 "type": "directive"317 },318 {319 "name": "ngHref",320 "href": "api/ng/directive/ngHref",321 "type": "directive"322 },323 {324 "name": "ngIf",325 "href": "api/ng/directive/ngIf",326 "type": "directive"327 },328 {329 "name": "ngInclude",330 "href": "api/ng/directive/ngInclude",331 "type": "directive"332 },333 {334 "name": "ngInit",335 "href": "api/ng/directive/ngInit",336 "type": "directive"337 },338 {339 "name": "ngJq",340 "href": "api/ng/directive/ngJq",341 "type": "directive"342 },343 {344 "name": "ngKeydown",345 "href": "api/ng/directive/ngKeydown",346 "type": "directive"347 },348 {349 "name": "ngKeypress",350 "href": "api/ng/directive/ngKeypress",351 "type": "directive"352 },353 {354 "name": "ngKeyup",355 "href": "api/ng/directive/ngKeyup",356 "type": "directive"357 },358 {359 "name": "ngList",360 "href": "api/ng/directive/ngList",361 "type": "directive"362 },363 {364 "name": "ngMaxlength",365 "href": "api/ng/directive/ngMaxlength",366 "type": "directive"367 },368 {369 "name": "ngMinlength",370 "href": "api/ng/directive/ngMinlength",371 "type": "directive"372 },373 {374 "name": "ngModel",375 "href": "api/ng/directive/ngModel",376 "type": "directive"377 },378 {379 "name": "ngModelOptions",380 "href": "api/ng/directive/ngModelOptions",381 "type": "directive"382 },383 {384 "name": "ngMousedown",385 "href": "api/ng/directive/ngMousedown",386 "type": "directive"387 },388 {389 "name": "ngMouseenter",390 "href": "api/ng/directive/ngMouseenter",391 "type": "directive"392 },393 {394 "name": "ngMouseleave",395 "href": "api/ng/directive/ngMouseleave",396 "type": "directive"397 },398 {399 "name": "ngMousemove",400 "href": "api/ng/directive/ngMousemove",401 "type": "directive"402 },403 {404 "name": "ngMouseover",405 "href": "api/ng/directive/ngMouseover",406 "type": "directive"407 },408 {409 "name": "ngMouseup",410 "href": "api/ng/directive/ngMouseup",411 "type": "directive"412 },413 {414 "name": "ngNonBindable",415 "href": "api/ng/directive/ngNonBindable",416 "type": "directive"417 },418 {419 "name": "ngOpen",420 "href": "api/ng/directive/ngOpen",421 "type": "directive"422 },423 {424 "name": "ngOptions",425 "href": "api/ng/directive/ngOptions",426 "type": "directive"427 },428 {429 "name": "ngPaste",430 "href": "api/ng/directive/ngPaste",431 "type": "directive"432 },433 {434 "name": "ngPattern",435 "href": "api/ng/directive/ngPattern",436 "type": "directive"437 },438 {439 "name": "ngPluralize",440 "href": "api/ng/directive/ngPluralize",441 "type": "directive"442 },443 {444 "name": "ngReadonly",445 "href": "api/ng/directive/ngReadonly",446 "type": "directive"447 },448 {449 "name": "ngRepeat",450 "href": "api/ng/directive/ngRepeat",451 "type": "directive"452 },453 {454 "name": "ngRequired",455 "href": "api/ng/directive/ngRequired",456 "type": "directive"457 },458 {459 "name": "ngSelected",460 "href": "api/ng/directive/ngSelected",461 "type": "directive"462 },463 {464 "name": "ngShow",465 "href": "api/ng/directive/ngShow",466 "type": "directive"467 },468 {469 "name": "ngSrc",470 "href": "api/ng/directive/ngSrc",471 "type": "directive"472 },473 {474 "name": "ngSrcset",475 "href": "api/ng/directive/ngSrcset",476 "type": "directive"477 },478 {479 "name": "ngStyle",480 "href": "api/ng/directive/ngStyle",481 "type": "directive"482 },483 {484 "name": "ngSubmit",485 "href": "api/ng/directive/ngSubmit",486 "type": "directive"487 },488 {489 "name": "ngSwitch",490 "href": "api/ng/directive/ngSwitch",491 "type": "directive"492 },493 {494 "name": "ngTransclude",495 "href": "api/ng/directive/ngTransclude",496 "type": "directive"497 },498 {499 "name": "ngValue",500 "href": "api/ng/directive/ngValue",501 "type": "directive"502 },503 {504 "name": "script",505 "href": "api/ng/directive/script",506 "type": "directive"507 },508 {509 "name": "select",510 "href": "api/ng/directive/select",511 "type": "directive"512 },513 {514 "name": "textarea",515 "href": "api/ng/directive/textarea",516 "type": "directive"517 },518 {519 "name": "object",520 "type": "section",521 "href": "api/ng/object"522 },523 {524 "name": "angular.version",525 "href": "api/ng/object/angular.version",526 "type": "object"527 },528 {529 "name": "type",530 "type": "section",531 "href": "api/ng/type"532 },533 {534 "name": "$cacheFactory.Cache",535 "href": "api/ng/type/$cacheFactory.Cache",536 "type": "type"537 },538 {539 "name": "$compile.directive.Attributes",540 "href": "api/ng/type/$compile.directive.Attributes",541 "type": "type"542 },543 {544 "name": "$rootScope.Scope",545 "href": "api/ng/type/$rootScope.Scope",546 "type": "type"547 },548 {549 "name": "angular.Module",550 "href": "api/ng/type/angular.Module",551 "type": "type"552 },553 {554 "name": "form.FormController",555 "href": "api/ng/type/form.FormController",556 "type": "type"557 },558 {559 "name": "ngModel.NgModelController",560 "href": "api/ng/type/ngModel.NgModelController",561 "type": "type"562 },563 {564 "name": "select.SelectController",565 "href": "api/ng/type/select.SelectController",566 "type": "type"567 },568 {569 "name": "provider",570 "type": "section",571 "href": "api/ng/provider"572 },573 {574 "name": "$anchorScrollProvider",575 "href": "api/ng/provider/$anchorScrollProvider",576 "type": "provider"577 },578 {579 "name": "$animateProvider",580 "href": "api/ng/provider/$animateProvider",581 "type": "provider"582 },583 {584 "name": "$compileProvider",585 "href": "api/ng/provider/$compileProvider",586 "type": "provider"587 },588 {589 "name": "$controllerProvider",590 "href": "api/ng/provider/$controllerProvider",591 "type": "provider"592 },593 {594 "name": "$filterProvider",595 "href": "api/ng/provider/$filterProvider",596 "type": "provider"597 },598 {599 "name": "$httpProvider",600 "href": "api/ng/provider/$httpProvider",601 "type": "provider"602 },603 {604 "name": "$interpolateProvider",605 "href": "api/ng/provider/$interpolateProvider",606 "type": "provider"607 },608 {609 "name": "$locationProvider",610 "href": "api/ng/provider/$locationProvider",611 "type": "provider"612 },613 {614 "name": "$logProvider",615 "href": "api/ng/provider/$logProvider",616 "type": "provider"617 },618 {619 "name": "$parseProvider",620 "href": "api/ng/provider/$parseProvider",621 "type": "provider"622 },623 {624 "name": "$rootScopeProvider",625 "href": "api/ng/provider/$rootScopeProvider",626 "type": "provider"627 },628 {629 "name": "$sceDelegateProvider",630 "href": "api/ng/provider/$sceDelegateProvider",631 "type": "provider"632 },633 {634 "name": "$sceProvider",635 "href": "api/ng/provider/$sceProvider",636 "type": "provider"637 },638 {639 "name": "$templateRequestProvider",640 "href": "api/ng/provider/$templateRequestProvider",641 "type": "provider"642 },643 {644 "name": "service",645 "type": "section",646 "href": "api/ng/service"647 },648 {649 "name": "$anchorScroll",650 "href": "api/ng/service/$anchorScroll",651 "type": "service"652 },653 {654 "name": "$animate",655 "href": "api/ng/service/$animate",656 "type": "service"657 },658 {659 "name": "$animateCss",660 "href": "api/ng/service/$animateCss",661 "type": "service"662 },663 {664 "name": "$cacheFactory",665 "href": "api/ng/service/$cacheFactory",666 "type": "service"667 },668 {669 "name": "$compile",670 "href": "api/ng/service/$compile",671 "type": "service"672 },673 {674 "name": "$controller",675 "href": "api/ng/service/$controller",676 "type": "service"677 },678 {679 "name": "$document",680 "href": "api/ng/service/$document",681 "type": "service"682 },683 {684 "name": "$exceptionHandler",685 "href": "api/ng/service/$exceptionHandler",686 "type": "service"687 },688 {689 "name": "$filter",690 "href": "api/ng/service/$filter",691 "type": "service"692 },693 {694 "name": "$http",695 "href": "api/ng/service/$http",696 "type": "service"697 },698 {699 "name": "$httpBackend",700 "href": "api/ng/service/$httpBackend",701 "type": "service"702 },703 {704 "name": "$httpParamSerializer",705 "href": "api/ng/service/$httpParamSerializer",706 "type": "service"707 },708 {709 "name": "$httpParamSerializerJQLike",710 "href": "api/ng/service/$httpParamSerializerJQLike",711 "type": "service"712 },713 {714 "name": "$interpolate",715 "href": "api/ng/service/$interpolate",716 "type": "service"717 },718 {719 "name": "$interval",720 "href": "api/ng/service/$interval",721 "type": "service"722 },723 {724 "name": "$locale",725 "href": "api/ng/service/$locale",726 "type": "service"727 },728 {729 "name": "$location",730 "href": "api/ng/service/$location",731 "type": "service"732 },733 {734 "name": "$log",735 "href": "api/ng/service/$log",736 "type": "service"737 },738 {739 "name": "$parse",740 "href": "api/ng/service/$parse",741 "type": "service"742 },743 {744 "name": "$q",745 "href": "api/ng/service/$q",746 "type": "service"747 },748 {749 "name": "$rootElement",750 "href": "api/ng/service/$rootElement",751 "type": "service"752 },753 {754 "name": "$rootScope",755 "href": "api/ng/service/$rootScope",756 "type": "service"757 },758 {759 "name": "$sce",760 "href": "api/ng/service/$sce",761 "type": "service"762 },763 {764 "name": "$sceDelegate",765 "href": "api/ng/service/$sceDelegate",766 "type": "service"767 },768 {769 "name": "$templateCache",770 "href": "api/ng/service/$templateCache",771 "type": "service"772 },773 {774 "name": "$templateRequest",775 "href": "api/ng/service/$templateRequest",776 "type": "service"777 },778 {779 "name": "$timeout",780 "href": "api/ng/service/$timeout",781 "type": "service"782 },783 {784 "name": "$window",785 "href": "api/ng/service/$window",786 "type": "service"787 },788 {789 "name": "$xhrFactory",790 "href": "api/ng/service/$xhrFactory",791 "type": "service"792 },793 {794 "name": "filter",795 "type": "section",796 "href": "api/ng/filter"797 },798 {799 "name": "currency",800 "href": "api/ng/filter/currency",801 "type": "filter"802 },803 {804 "name": "date",805 "href": "api/ng/filter/date",806 "type": "filter"807 },808 {809 "name": "filter",810 "href": "api/ng/filter/filter",811 "type": "filter"812 },813 {814 "name": "json",815 "href": "api/ng/filter/json",816 "type": "filter"817 },818 {819 "name": "limitTo",820 "href": "api/ng/filter/limitTo",821 "type": "filter"822 },823 {824 "name": "lowercase",825 "href": "api/ng/filter/lowercase",826 "type": "filter"827 },828 {829 "name": "number",830 "href": "api/ng/filter/number",831 "type": "filter"832 },833 {834 "name": "orderBy",835 "href": "api/ng/filter/orderBy",836 "type": "filter"837 },838 {839 "name": "uppercase",840 "href": "api/ng/filter/uppercase",841 "type": "filter"842 }843 ]844 },845 {846 "name": "auto",847 "href": "api/auto",848 "type": "group",849 "navItems": [850 {851 "name": "service",852 "type": "section",853 "href": "api/auto/service"854 },855 {856 "name": "$injector",857 "href": "api/auto/service/$injector",858 "type": "service"859 },860 {861 "name": "$provide",862 "href": "api/auto/service/$provide",863 "type": "service"864 }865 ]866 },867 {868 "name": "ngAnimate",869 "href": "api/ngAnimate",870 "type": "group",871 "navItems": [872 {873 "name": "directive",874 "type": "section",875 "href": "api/ngAnimate/directive"876 },877 {878 "name": "ngAnimateChildren",879 "href": "api/ngAnimate/directive/ngAnimateChildren",880 "type": "directive"881 },882 {883 "name": "ngAnimateSwap",884 "href": "api/ngAnimate/directive/ngAnimateSwap",885 "type": "directive"886 },887 {888 "name": "service",889 "type": "section",890 "href": "api/ngAnimate/service"891 },892 {893 "name": "$animate",894 "href": "api/ngAnimate/service/$animate",895 "type": "service"896 },897 {898 "name": "$animateCss",899 "href": "api/ngAnimate/service/$animateCss",900 "type": "service"901 }902 ]903 },904 {905 "name": "ngAria",906 "href": "api/ngAria",907 "type": "group",908 "navItems": [909 {910 "name": "provider",911 "type": "section",912 "href": "api/ngAria/provider"913 },914 {915 "name": "$ariaProvider",916 "href": "api/ngAria/provider/$ariaProvider",917 "type": "provider"918 },919 {920 "name": "service",921 "type": "section",922 "href": "api/ngAria/service"923 },924 {925 "name": "$aria",926 "href": "api/ngAria/service/$aria",927 "type": "service"928 }929 ]930 },931 {932 "name": "ngComponentRouter",933 "href": "api/ngComponentRouter",934 "type": "group",935 "navItems": [936 {937 "name": "type",938 "type": "section",939 "href": "api/ngComponentRouter/type"940 },941 {942 "name": "ChildRouter",943 "href": "api/ngComponentRouter/type/ChildRouter",944 "type": "type"945 },946 {947 "name": "ComponentInstruction",948 "href": "api/ngComponentRouter/type/ComponentInstruction",949 "type": "type"950 },951 {952 "name": "RootRouter",953 "href": "api/ngComponentRouter/type/RootRouter",954 "type": "type"955 },956 {957 "name": "RouteDefinition",958 "href": "api/ngComponentRouter/type/RouteDefinition",959 "type": "type"960 },961 {962 "name": "RouteParams",963 "href": "api/ngComponentRouter/type/RouteParams",964 "type": "type"965 },966 {967 "name": "Router",968 "href": "api/ngComponentRouter/type/Router",969 "type": "type"970 },971 {972 "name": "directive",973 "type": "section",974 "href": "api/ngComponentRouter/directive"975 },976 {977 "name": "ngOutlet",978 "href": "api/ngComponentRouter/directive/ngOutlet",979 "type": "directive"980 },981 {982 "name": "service",983 "type": "section",984 "href": "api/ngComponentRouter/service"985 },986 {987 "name": "$rootRouter",988 "href": "api/ngComponentRouter/service/$rootRouter",989 "type": "service"990 },991 {992 "name": "$routerRootComponent",993 "href": "api/ngComponentRouter/service/$routerRootComponent",994 "type": "service"995 }996 ]997 },998 {999 "name": "ngCookies",1000 "href": "api/ngCookies",1001 "type": "group",1002 "navItems": [1003 {1004 "name": "service",1005 "type": "section",1006 "href": "api/ngCookies/service"1007 },1008 {1009 "name": "$cookieStore",1010 "href": "api/ngCookies/service/$cookieStore",1011 "type": "service"1012 },1013 {1014 "name": "$cookies",1015 "href": "api/ngCookies/service/$cookies",1016 "type": "service"1017 },1018 {1019 "name": "provider",1020 "type": "section",1021 "href": "api/ngCookies/provider"1022 },1023 {1024 "name": "$cookiesProvider",1025 "href": "api/ngCookies/provider/$cookiesProvider",1026 "type": "provider"1027 }1028 ]1029 },1030 {1031 "name": "ngMessageFormat",1032 "href": "api/ngMessageFormat",1033 "type": "group",1034 "navItems": [1035 {1036 "name": "service",1037 "type": "section",1038 "href": "api/ngMessageFormat/service"1039 },1040 {1041 "name": "$$messageFormat",1042 "href": "api/ngMessageFormat/service/$$messageFormat",1043 "type": "service"1044 }1045 ]1046 },1047 {1048 "name": "ngMessages",1049 "href": "api/ngMessages",1050 "type": "group",1051 "navItems": [1052 {1053 "name": "directive",1054 "type": "section",1055 "href": "api/ngMessages/directive"1056 },1057 {1058 "name": "ngMessage",1059 "href": "api/ngMessages/directive/ngMessage",1060 "type": "directive"1061 },1062 {1063 "name": "ngMessageExp",1064 "href": "api/ngMessages/directive/ngMessageExp",1065 "type": "directive"1066 },1067 {1068 "name": "ngMessages",1069 "href": "api/ngMessages/directive/ngMessages",1070 "type": "directive"1071 },1072 {1073 "name": "ngMessagesInclude",1074 "href": "api/ngMessages/directive/ngMessagesInclude",1075 "type": "directive"1076 }1077 ]1078 },1079 {1080 "name": "ngMock",1081 "href": "api/ngMock",1082 "type": "group",1083 "navItems": [1084 {1085 "name": "object",1086 "type": "section",1087 "href": "api/ngMock/object"1088 },1089 {1090 "name": "angular.mock",1091 "href": "api/ngMock/object/angular.mock",1092 "type": "object"1093 },1094 {1095 "name": "provider",1096 "type": "section",1097 "href": "api/ngMock/provider"1098 },1099 {1100 "name": "$exceptionHandlerProvider",1101 "href": "api/ngMock/provider/$exceptionHandlerProvider",1102 "type": "provider"1103 },1104 {1105 "name": "service",1106 "type": "section",1107 "href": "api/ngMock/service"1108 },1109 {1110 "name": "$animate",1111 "href": "api/ngMock/service/$animate",1112 "type": "service"1113 },1114 {1115 "name": "$componentController",1116 "href": "api/ngMock/service/$componentController",1117 "type": "service"1118 },1119 {1120 "name": "$controller",1121 "href": "api/ngMock/service/$controller",1122 "type": "service"1123 },1124 {1125 "name": "$exceptionHandler",1126 "href": "api/ngMock/service/$exceptionHandler",1127 "type": "service"1128 },1129 {1130 "name": "$httpBackend",1131 "href": "api/ngMock/service/$httpBackend",1132 "type": "service"1133 },1134 {1135 "name": "$interval",1136 "href": "api/ngMock/service/$interval",1137 "type": "service"1138 },1139 {1140 "name": "$log",1141 "href": "api/ngMock/service/$log",1142 "type": "service"1143 },1144 {1145 "name": "$timeout",1146 "href": "api/ngMock/service/$timeout",1147 "type": "service"1148 },1149 {1150 "name": "type",1151 "type": "section",1152 "href": "api/ngMock/type"1153 },1154 {1155 "name": "$rootScope.Scope",1156 "href": "api/ngMock/type/$rootScope.Scope",1157 "type": "type"1158 },1159 {1160 "name": "angular.mock.TzDate",1161 "href": "api/ngMock/type/angular.mock.TzDate",1162 "type": "type"1163 },1164 {1165 "name": "function",1166 "type": "section",1167 "href": "api/ngMock/function"1168 },1169 {1170 "name": "angular.mock.dump",1171 "href": "api/ngMock/function/angular.mock.dump",1172 "type": "function"1173 },1174 {1175 "name": "angular.mock.inject",1176 "href": "api/ngMock/function/angular.mock.inject",1177 "type": "function"1178 },1179 {1180 "name": "angular.mock.module",1181 "href": "api/ngMock/function/angular.mock.module",1182 "type": "function"1183 },1184 {1185 "name": "angular.mock.module.sharedInjector",1186 "href": "api/ngMock/function/angular.mock.module.sharedInjector",1187 "type": "function"1188 }1189 ]1190 },1191 {1192 "name": "ngMockE2E",1193 "href": "api/ngMockE2E",1194 "type": "group",1195 "navItems": [1196 {1197 "name": "service",1198 "type": "section",1199 "href": "api/ngMockE2E/service"1200 },1201 {1202 "name": "$httpBackend",1203 "href": "api/ngMockE2E/service/$httpBackend",1204 "type": "service"1205 }1206 ]1207 },1208 {1209 "name": "ngParseExt",1210 "href": "api/ngParseExt",1211 "type": "group",1212 "navItems": []1213 },1214 {1215 "name": "ngResource",1216 "href": "api/ngResource",1217 "type": "group",1218 "navItems": [1219 {1220 "name": "provider",1221 "type": "section",1222 "href": "api/ngResource/provider"1223 },1224 {1225 "name": "$resourceProvider",1226 "href": "api/ngResource/provider/$resourceProvider",1227 "type": "provider"1228 },1229 {1230 "name": "service",1231 "type": "section",1232 "href": "api/ngResource/service"1233 },1234 {1235 "name": "$resource",1236 "href": "api/ngResource/service/$resource",1237 "type": "service"1238 }1239 ]1240 },1241 {1242 "name": "ngRoute",1243 "href": "api/ngRoute",1244 "type": "group",1245 "navItems": [1246 {1247 "name": "directive",1248 "type": "section",1249 "href": "api/ngRoute/directive"1250 },1251 {1252 "name": "ngView",1253 "href": "api/ngRoute/directive/ngView",1254 "type": "directive"1255 },1256 {1257 "name": "provider",1258 "type": "section",1259 "href": "api/ngRoute/provider"1260 },1261 {1262 "name": "$routeProvider",1263 "href": "api/ngRoute/provider/$routeProvider",1264 "type": "provider"1265 },1266 {1267 "name": "service",1268 "type": "section",1269 "href": "api/ngRoute/service"1270 },1271 {1272 "name": "$route",1273 "href": "api/ngRoute/service/$route",1274 "type": "service"1275 },1276 {1277 "name": "$routeParams",1278 "href": "api/ngRoute/service/$routeParams",1279 "type": "service"1280 }1281 ]1282 },1283 {1284 "name": "ngSanitize",1285 "href": "api/ngSanitize",1286 "type": "group",1287 "navItems": [1288 {1289 "name": "filter",1290 "type": "section",1291 "href": "api/ngSanitize/filter"1292 },1293 {1294 "name": "linky",1295 "href": "api/ngSanitize/filter/linky",1296 "type": "filter"1297 },1298 {1299 "name": "service",1300 "type": "section",1301 "href": "api/ngSanitize/service"1302 },1303 {1304 "name": "$sanitize",1305 "href": "api/ngSanitize/service/$sanitize",1306 "type": "service"1307 },1308 {1309 "name": "provider",1310 "type": "section",1311 "href": "api/ngSanitize/provider"1312 },1313 {1314 "name": "$sanitizeProvider",1315 "href": "api/ngSanitize/provider/$sanitizeProvider",1316 "type": "provider"1317 }1318 ]1319 },1320 {1321 "name": "ngTouch",1322 "href": "api/ngTouch",1323 "type": "group",1324 "navItems": [1325 {1326 "name": "directive",1327 "type": "section",1328 "href": "api/ngTouch/directive"1329 },1330 {1331 "name": "ngClick",1332 "href": "api/ngTouch/directive/ngClick",1333 "type": "directive"1334 },1335 {1336 "name": "ngSwipeLeft",1337 "href": "api/ngTouch/directive/ngSwipeLeft",1338 "type": "directive"1339 },1340 {1341 "name": "ngSwipeRight",1342 "href": "api/ngTouch/directive/ngSwipeRight",1343 "type": "directive"1344 },1345 {1346 "name": "service",1347 "type": "section",1348 "href": "api/ngTouch/service"1349 },1350 {1351 "name": "$swipe",1352 "href": "api/ngTouch/service/$swipe",1353 "type": "service"1354 },1355 {1356 "name": "$touch",1357 "href": "api/ngTouch/service/$touch",1358 "type": "service"1359 },1360 {1361 "name": "provider",1362 "type": "section",1363 "href": "api/ngTouch/provider"1364 },1365 {1366 "name": "$touchProvider",1367 "href": "api/ngTouch/provider/$touchProvider",1368 "type": "provider"1369 }1370 ]1371 }1372 ]1373 },1374 "error": {1375 "id": "error",1376 "name": "Error Reference",1377 "navGroups": [1378 {1379 "name": "Error Reference",1380 "type": "group",1381 "href": "error",1382 "navItems": [1383 {1384 "name": "$animate",1385 "href": "error/$animate",1386 "type": "section"1387 },1388 {1389 "name": "nocb",1390 "href": "error/$animate/nocb",1391 "type": "error"1392 },1393 {1394 "name": "notcsel",1395 "href": "error/$animate/notcsel",1396 "type": "error"1397 },1398 {1399 "name": "$cacheFactory",1400 "href": "error/$cacheFactory",1401 "type": "section"1402 },1403 {1404 "name": "iid",1405 "href": "error/$cacheFactory/iid",1406 "type": "error"1407 },1408 {1409 "name": "$compile",1410 "href": "error/$compile",1411 "type": "section"1412 },1413 {1414 "name": "baddir",1415 "href": "error/$compile/baddir",1416 "type": "error"1417 },1418 {1419 "name": "ctreq",1420 "href": "error/$compile/ctreq",1421 "type": "error"1422 },1423 {1424 "name": "infchng",1425 "href": "error/$compile/infchng",1426 "type": "error"1427 },1428 {1429 "name": "iscp",1430 "href": "error/$compile/iscp",1431 "type": "error"1432 },1433 {1434 "name": "multidir",1435 "href": "error/$compile/multidir",1436 "type": "error"1437 },1438 {1439 "name": "noctrl",1440 "href": "error/$compile/noctrl",1441 "type": "error"1442 },1443 {1444 "name": "nodomevents",1445 "href": "error/$compile/nodomevents",1446 "type": "error"1447 },1448 {1449 "name": "noident",1450 "href": "error/$compile/noident",1451 "type": "error"1452 },1453 {1454 "name": "nonassign",1455 "href": "error/$compile/nonassign",1456 "type": "error"1457 },1458 {1459 "name": "reqslot",1460 "href": "error/$compile/reqslot",1461 "type": "error"1462 },1463 {1464 "name": "selmulti",1465 "href": "error/$compile/selmulti",1466 "type": "error"1467 },1468 {1469 "name": "tpload",1470 "href": "error/$compile/tpload",1471 "type": "error"1472 },1473 {1474 "name": "tplrt",1475 "href": "error/$compile/tplrt",1476 "type": "error"1477 },1478 {1479 "name": "uterdir",1480 "href": "error/$compile/uterdir",1481 "type": "error"1482 },1483 {1484 "name": "$controller",1485 "href": "error/$controller",1486 "type": "section"1487 },1488 {1489 "name": "ctrlfmt",1490 "href": "error/$controller/ctrlfmt",1491 "type": "error"1492 },1493 {1494 "name": "noscp",1495 "href": "error/$controller/noscp",1496 "type": "error"1497 },1498 {1499 "name": "$http",1500 "href": "error/$http",1501 "type": "section"1502 },1503 {1504 "name": "badreq",1505 "href": "error/$http/badreq",1506 "type": "error"1507 },1508 {1509 "name": "legacy",1510 "href": "error/$http/legacy",1511 "type": "error"1512 },1513 {1514 "name": "$injector",1515 "href": "error/$injector",1516 "type": "section"1517 },1518 {1519 "name": "cdep",1520 "href": "error/$injector/cdep",1521 "type": "error"1522 },1523 {1524 "name": "itkn",1525 "href": "error/$injector/itkn",1526 "type": "error"1527 },1528 {1529 "name": "modulerr",1530 "href": "error/$injector/modulerr",1531 "type": "error"1532 },1533 {1534 "name": "nomod",1535 "href": "error/$injector/nomod",1536 "type": "error"1537 },1538 {1539 "name": "pget",1540 "href": "error/$injector/pget",1541 "type": "error"1542 },1543 {1544 "name": "strictdi",1545 "href": "error/$injector/strictdi",1546 "type": "error"1547 },1548 {1549 "name": "undef",1550 "href": "error/$injector/undef",1551 "type": "error"1552 },1553 {1554 "name": "unpr",1555 "href": "error/$injector/unpr",1556 "type": "error"1557 },1558 {1559 "name": "$interpolate",1560 "href": "error/$interpolate",1561 "type": "section"1562 },1563 {1564 "name": "badexpr",1565 "href": "error/$interpolate/badexpr",1566 "type": "error"1567 },1568 {1569 "name": "dupvalue",1570 "href": "error/$interpolate/dupvalue",1571 "type": "error"1572 },1573 {1574 "name": "interr",1575 "href": "error/$interpolate/interr",1576 "type": "error"1577 },1578 {1579 "name": "logicbug",1580 "href": "error/$interpolate/logicbug",1581 "type": "error"1582 },1583 {1584 "name": "nochgmustache",1585 "href": "error/$interpolate/nochgmustache",1586 "type": "error"1587 },1588 {1589 "name": "noconcat",1590 "href": "error/$interpolate/noconcat",1591 "type": "error"1592 },1593 {1594 "name": "reqarg",1595 "href": "error/$interpolate/reqarg",1596 "type": "error"1597 },1598 {1599 "name": "reqcomma",1600 "href": "error/$interpolate/reqcomma",1601 "type": "error"1602 },1603 {1604 "name": "reqendbrace",1605 "href": "error/$interpolate/reqendbrace",1606 "type": "error"1607 },1608 {1609 "name": "reqendinterp",1610 "href": "error/$interpolate/reqendinterp",1611 "type": "error"1612 },1613 {1614 "name": "reqopenbrace",1615 "href": "error/$interpolate/reqopenbrace",1616 "type": "error"1617 },1618 {1619 "name": "reqother",1620 "href": "error/$interpolate/reqother",1621 "type": "error"1622 },1623 {1624 "name": "unknarg",1625 "href": "error/$interpolate/unknarg",1626 "type": "error"1627 },1628 {1629 "name": "unsafe",1630 "href": "error/$interpolate/unsafe",1631 "type": "error"1632 },1633 {1634 "name": "untermstr",1635 "href": "error/$interpolate/untermstr",1636 "type": "error"1637 },1638 {1639 "name": "wantstring",1640 "href": "error/$interpolate/wantstring",1641 "type": "error"1642 },1643 {1644 "name": "$location",1645 "href": "error/$location",1646 "type": "section"1647 },1648 {1649 "name": "ipthprfx",1650 "href": "error/$location/ipthprfx",1651 "type": "error"1652 },1653 {1654 "name": "isrcharg",1655 "href": "error/$location/isrcharg",1656 "type": "error"1657 },1658 {1659 "name": "nobase",1660 "href": "error/$location/nobase",1661 "type": "error"1662 },1663 {1664 "name": "nostate",1665 "href": "error/$location/nostate",1666 "type": "error"1667 },1668 {1669 "name": "$parse",1670 "href": "error/$parse",1671 "type": "section"1672 },1673 {1674 "name": "isecdom",1675 "href": "error/$parse/isecdom",1676 "type": "error"1677 },1678 {1679 "name": "isecff",1680 "href": "error/$parse/isecff",1681 "type": "error"1682 },1683 {1684 "name": "isecfld",1685 "href": "error/$parse/isecfld",1686 "type": "error"1687 },1688 {1689 "name": "isecfn",1690 "href": "error/$parse/isecfn",1691 "type": "error"1692 },1693 {1694 "name": "isecobj",1695 "href": "error/$parse/isecobj",1696 "type": "error"1697 },1698 {1699 "name": "isecwindow",1700 "href": "error/$parse/isecwindow",1701 "type": "error"1702 },1703 {1704 "name": "lexerr",1705 "href": "error/$parse/lexerr",1706 "type": "error"1707 },1708 {1709 "name": "syntax",1710 "href": "error/$parse/syntax",1711 "type": "error"1712 },1713 {1714 "name": "ueoe",1715 "href": "error/$parse/ueoe",1716 "type": "error"1717 },1718 {1719 "name": "$q",1720 "href": "error/$q",1721 "type": "section"1722 },1723 {1724 "name": "norslvr",1725 "href": "error/$q/norslvr",1726 "type": "error"1727 },1728 {1729 "name": "qcycle",1730 "href": "error/$q/qcycle",1731 "type": "error"1732 },1733 {1734 "name": "$resource",1735 "href": "error/$resource",1736 "type": "section"1737 },1738 {1739 "name": "badargs",1740 "href": "error/$resource/badargs",1741 "type": "error"1742 },1743 {1744 "name": "badcfg",1745 "href": "error/$resource/badcfg",1746 "type": "error"1747 },1748 {1749 "name": "badmember",1750 "href": "error/$resource/badmember",1751 "type": "error"1752 },1753 {1754 "name": "badname",1755 "href": "error/$resource/badname",1756 "type": "error"1757 },1758 {1759 "name": "$rootScope",1760 "href": "error/$rootScope",1761 "type": "section"1762 },1763 {1764 "name": "infdig",1765 "href": "error/$rootScope/infdig",1766 "type": "error"1767 },1768 {1769 "name": "inprog",1770 "href": "error/$rootScope/inprog",1771 "type": "error"1772 },1773 {1774 "name": "$sanitize",1775 "href": "error/$sanitize",1776 "type": "section"1777 },1778 {1779 "name": "noinert",1780 "href": "error/$sanitize/noinert",1781 "type": "error"1782 },1783 {1784 "name": "uinput",1785 "href": "error/$sanitize/uinput",1786 "type": "error"1787 },1788 {1789 "name": "$sce",1790 "href": "error/$sce",1791 "type": "section"1792 },1793 {1794 "name": "icontext",1795 "href": "error/$sce/icontext",1796 "type": "error"1797 },1798 {1799 "name": "iequirks",1800 "href": "error/$sce/iequirks",1801 "type": "error"1802 },1803 {1804 "name": "imatcher",1805 "href": "error/$sce/imatcher",1806 "type": "error"1807 },1808 {1809 "name": "insecurl",1810 "href": "error/$sce/insecurl",1811 "type": "error"1812 },1813 {1814 "name": "itype",1815 "href": "error/$sce/itype",1816 "type": "error"1817 },1818 {1819 "name": "iwcard",1820 "href": "error/$sce/iwcard",1821 "type": "error"1822 },1823 {1824 "name": "unsafe",1825 "href": "error/$sce/unsafe",1826 "type": "error"1827 },1828 {1829 "name": "filter",1830 "href": "error/filter",1831 "type": "section"1832 },1833 {1834 "name": "notarray",1835 "href": "error/filter/notarray",1836 "type": "error"1837 },1838 {1839 "name": "jqLite",1840 "href": "error/jqLite",1841 "type": "section"1842 },1843 {1844 "name": "nosel",1845 "href": "error/jqLite/nosel",1846 "type": "error"1847 },1848 {1849 "name": "offargs",1850 "href": "error/jqLite/offargs",1851 "type": "error"1852 },1853 {1854 "name": "onargs",1855 "href": "error/jqLite/onargs",1856 "type": "error"1857 },1858 {1859 "name": "linky",1860 "href": "error/linky",1861 "type": "section"1862 },1863 {1864 "name": "notstring",1865 "href": "error/linky/notstring",1866 "type": "error"1867 },1868 {1869 "name": "ng",1870 "href": "error/ng",1871 "type": "section"1872 },1873 {1874 "name": "areq",1875 "href": "error/ng/areq",1876 "type": "error"1877 },1878 {1879 "name": "badname",1880 "href": "error/ng/badname",1881 "type": "error"1882 },1883 {1884 "name": "btstrpd",1885 "href": "error/ng/btstrpd",1886 "type": "error"1887 },1888 {1889 "name": "cpi",1890 "href": "error/ng/cpi",1891 "type": "error"1892 },1893 {1894 "name": "cpta",1895 "href": "error/ng/cpta",1896 "type": "error"1897 },1898 {1899 "name": "cpws",1900 "href": "error/ng/cpws",1901 "type": "error"1902 },1903 {1904 "name": "test",1905 "href": "error/ng/test",1906 "type": "error"1907 },1908 {1909 "name": "ngModel",1910 "href": "error/ngModel",1911 "type": "section"1912 },1913 {1914 "name": "constexpr",1915 "href": "error/ngModel/constexpr",1916 "type": "error"1917 },1918 {1919 "name": "datefmt",1920 "href": "error/ngModel/datefmt",1921 "type": "error"1922 },1923 {1924 "name": "nonassign",1925 "href": "error/ngModel/nonassign",1926 "type": "error"1927 },1928 {1929 "name": "nopromise",1930 "href": "error/ngModel/nopromise",1931 "type": "error"1932 },1933 {1934 "name": "numfmt",1935 "href": "error/ngModel/numfmt",1936 "type": "error"1937 },1938 {1939 "name": "ngOptions",1940 "href": "error/ngOptions",1941 "type": "section"1942 },1943 {1944 "name": "iexp",1945 "href": "error/ngOptions/iexp",1946 "type": "error"1947 },1948 {1949 "name": "ngPattern",1950 "href": "error/ngPattern",1951 "type": "section"1952 },1953 {1954 "name": "noregexp",1955 "href": "error/ngPattern/noregexp",1956 "type": "error"1957 },1958 {1959 "name": "ngRepeat",1960 "href": "error/ngRepeat",1961 "type": "section"1962 },1963 {1964 "name": "badident",1965 "href": "error/ngRepeat/badident",1966 "type": "error"1967 },1968 {1969 "name": "dupes",1970 "href": "error/ngRepeat/dupes",1971 "type": "error"1972 },1973 {1974 "name": "iexp",1975 "href": "error/ngRepeat/iexp",1976 "type": "error"1977 },1978 {1979 "name": "iidexp",1980 "href": "error/ngRepeat/iidexp",1981 "type": "error"1982 },1983 {1984 "name": "ngTransclude",1985 "href": "error/ngTransclude",1986 "type": "section"1987 },1988 {1989 "name": "orphan",1990 "href": "error/ngTransclude/orphan",1991 "type": "error"1992 },1993 {1994 "name": "orderBy",1995 "href": "error/orderBy",1996 "type": "section"1997 },1998 {1999 "name": "notarray",2000 "href": "error/orderBy/notarray",2001 "type": "error"2002 }2003 ]2004 }2005 ]2006 },2007 "guide": {2008 "id": "guide",2009 "name": "Developer Guide",2010 "navGroups": [2011 {2012 "name": "Developer Guide",2013 "type": "group",2014 "href": "guide",2015 "navItems": [2016 {2017 "name": "Introduction",2018 "href": "guide/introduction",2019 "type": "page"2020 },2021 {2022 "name": "Conceptual Overview",2023 "href": "guide/concepts",2024 "type": "page"2025 },2026 {2027 "name": "Data Binding",2028 "href": "guide/databinding",2029 "type": "page"2030 },2031 {2032 "name": "Controllers",2033 "href": "guide/controller",2034 "type": "page"2035 },2036 {2037 "name": "Services",2038 "href": "guide/services",2039 "type": "page"2040 },2041 {2042 "name": "Scopes",2043 "href": "guide/scope",2044 "type": "page"2045 },2046 {2047 "name": "Dependency Injection",2048 "href": "guide/di",2049 "type": "page"2050 },2051 {2052 "name": "Templates",2053 "href": "guide/templates",2054 "type": "page"2055 },2056 {2057 "name": "Expressions",2058 "href": "guide/expression",2059 "type": "page"2060 },2061 {2062 "name": "Interpolation",2063 "href": "guide/interpolation",2064 "type": "page"2065 },2066 {2067 "name": "Filters",2068 "href": "guide/filter",2069 "type": "page"2070 },2071 {2072 "name": "Forms",2073 "href": "guide/forms",2074 "type": "page"2075 },2076 {2077 "name": "Directives",2078 "href": "guide/directive",2079 "type": "page"2080 },2081 {2082 "name": "Components",2083 "href": "guide/component",2084 "type": "page"2085 },2086 {2087 "name": "Component Router",2088 "href": "guide/component-router",2089 "type": "page"2090 },2091 {2092 "name": "Animations",2093 "href": "guide/animations",2094 "type": "page"2095 },2096 {2097 "name": "Modules",2098 "href": "guide/module",2099 "type": "page"2100 },2101 {2102 "name": "HTML Compiler",2103 "href": "guide/compiler",2104 "type": "page"2105 },2106 {2107 "name": "Providers",2108 "href": "guide/providers",2109 "type": "page"2110 },2111 {2112 "name": "Decorators",2113 "href": "guide/decorators",2114 "type": "page"2115 },2116 {2117 "name": "Bootstrap",2118 "href": "guide/bootstrap",2119 "type": "page"2120 },2121 {2122 "name": "Unit Testing",2123 "href": "guide/unit-testing",2124 "type": "page"2125 },2126 {2127 "name": "E2E Testing",2128 "href": "guide/e2e-testing",2129 "type": "page"2130 },2131 {2132 "name": "Using $location",2133 "href": "guide/$location",2134 "type": "page"2135 },2136 {2137 "name": "Working With CSS",2138 "href": "guide/css-styling",2139 "type": "page"2140 },2141 {2142 "name": "i18n and l10n",2143 "href": "guide/i18n",2144 "type": "page"2145 },2146 {2147 "name": "Security",2148 "href": "guide/security",2149 "type": "page"2150 },2151 {2152 "name": "Accessibility",2153 "href": "guide/accessibility",2154 "type": "page"2155 },2156 {2157 "name": "Internet Explorer Compatibility",2158 "href": "guide/ie",2159 "type": "page"2160 },2161 {2162 "name": "Running in Production",2163 "href": "guide/production",2164 "type": "page"2165 },2166 {2167 "name": "Migrating from Previous Versions",2168 "href": "guide/migration",2169 "type": "page"2170 }2171 ]2172 }2173 ]2174 },2175 "misc": {2176 "id": "misc",2177 "name": "Miscellaneous",2178 "navGroups": [2179 {2180 "name": "Miscellaneous",2181 "type": "group",2182 "href": "misc",2183 "navItems": [2184 {2185 "name": "Develop",2186 "href": "misc/contribute",2187 "type": "page"2188 },2189 {2190 "name": "Downloading",2191 "href": "misc/downloading",2192 "type": "page"2193 },2194 {2195 "name": "FAQ",2196 "href": "misc/faq",2197 "type": "page"2198 },2199 {2200 "name": "Getting Started",2201 "href": "misc/started",2202 "type": "page"2203 }2204 ]2205 }2206 ]2207 },2208 "tutorial": {2209 "id": "tutorial",2210 "name": "Tutorial",2211 "navGroups": [2212 {2213 "name": "Tutorial",2214 "type": "group",2215 "href": "tutorial",2216 "navItems": [2217 {2218 "name": "0 - Bootstrapping",2219 "step": 0,2220 "href": "tutorial/step_00",2221 "type": "tutorial"2222 },2223 {2224 "name": "1 - Static Template",2225 "step": 1,2226 "href": "tutorial/step_01",2227 "type": "tutorial"2228 },2229 {2230 "name": "2 - Angular Templates",2231 "step": 2,2232 "href": "tutorial/step_02",2233 "type": "tutorial"2234 },2235 {2236 "name": "3 - Components",2237 "step": 3,2238 "href": "tutorial/step_03",2239 "type": "tutorial"2240 },2241 {2242 "name": "4 - Directory and File Organization",2243 "step": 4,2244 "href": "tutorial/step_04",2245 "type": "tutorial"2246 },2247 {2248 "name": "5 - Filtering Repeaters",2249 "step": 5,2250 "href": "tutorial/step_05",2251 "type": "tutorial"2252 },2253 {2254 "name": "6 - Two-way Data Binding",2255 "step": 6,2256 "href": "tutorial/step_06",2257 "type": "tutorial"2258 },2259 {2260 "name": "7 - XHR & Dependency Injection",2261 "step": 7,2262 "href": "tutorial/step_07",2263 "type": "tutorial"2264 },2265 {2266 "name": "8 - Templating Links & Images",2267 "step": 8,2268 "href": "tutorial/step_08",2269 "type": "tutorial"2270 },2271 {2272 "name": "9 - Routing & Multiple Views",2273 "step": 9,2274 "href": "tutorial/step_09",2275 "type": "tutorial"2276 },2277 {2278 "name": "10 - More Templating",2279 "step": 10,2280 "href": "tutorial/step_10",2281 "type": "tutorial"2282 },2283 {2284 "name": "11 - Custom Filters",2285 "step": 11,2286 "href": "tutorial/step_11",2287 "type": "tutorial"2288 },2289 {2290 "name": "12 - Event Handlers",2291 "step": 12,2292 "href": "tutorial/step_12",2293 "type": "tutorial"2294 },2295 {2296 "name": "13 - REST and Custom Services",2297 "step": 13,2298 "href": "tutorial/step_13",2299 "type": "tutorial"2300 },2301 {2302 "name": "14 - Animations",2303 "step": 14,2304 "href": "tutorial/step_14",2305 "type": "tutorial"2306 },2307 {2308 "name": "The End",2309 "step": 99,2310 "href": "tutorial/the_end",2311 "type": "tutorial"2312 }2313 ]2314 }2315 ]2316 }...

Full Screen

Full Screen

expoModules.js

Source:expoModules.js Github

copy

Full Screen

1module.exports = {2 AIRGoogleMapCalloutManager: {},3 AIRGoogleMapCalloutSubviewManager: {},4 AIRGoogleMapCircleManager: {},5 AIRGoogleMapHeatmapManager: {},6 AIRGoogleMapManager: {7 getConstants: { type: 'function' },8 legalNotice: { type: 'string' },9 animateCamera: { type: 'function', functionType: 'async' },10 animateToBearing: { type: 'function', functionType: 'async' },11 animateToCoordinate: { type: 'function', functionType: 'async' },12 animateToNavigation: { type: 'function', functionType: 'async' },13 animateToRegion: { type: 'function', functionType: 'async' },14 animateToViewingAngle: { type: 'function', functionType: 'async' },15 coordinateForPoint: { type: 'function', functionType: 'promise' },16 fitToCoordinates: { type: 'function', functionType: 'async' },17 fitToElements: { type: 'function', functionType: 'async' },18 fitToSuppliedMarkers: { type: 'function', functionType: 'async' },19 getCamera: { type: 'function', functionType: 'promise' },20 getMapBoundaries: { type: 'function', functionType: 'promise' },21 getMarkersFrames: { type: 'function', functionType: 'promise' },22 pointForCoordinate: { type: 'function', functionType: 'promise' },23 setCamera: { type: 'function', functionType: 'async' },24 setIndoorActiveLevelIndex: { type: 'function', functionType: 'async' },25 setMapBoundaries: { type: 'function', functionType: 'async' },26 takeSnapshot: { type: 'function', functionType: 'async' },27 },28 AIRGoogleMapMarkerManager: {29 getConstants: { type: 'function' },30 hideCallout: { type: 'function', functionType: 'async' },31 redraw: { type: 'function', functionType: 'async' },32 redrawCallout: { type: 'function', functionType: 'async' },33 showCallout: { type: 'function', functionType: 'async' },34 },35 AIRGoogleMapOverlayManager: {},36 AIRGoogleMapPolygonManager: {},37 AIRGoogleMapPolylineManager: {},38 AIRGoogleMapUrlTileManager: {},39 AIRGoogleMapWMSTileManager: {},40 AIRMapCalloutManager: {},41 AIRMapCalloutSubviewManager: {},42 AIRMapCircleManager: {},43 AIRMapLocalTileManager: {},44 AIRMapManager: {45 getConstants: { type: 'function' },46 animateCamera: { type: 'function', functionType: 'async' },47 animateToBearing: { type: 'function', functionType: 'async' },48 animateToCoordinate: { type: 'function', functionType: 'async' },49 animateToNavigation: { type: 'function', functionType: 'async' },50 animateToRegion: { type: 'function', functionType: 'async' },51 animateToViewingAngle: { type: 'function', functionType: 'async' },52 coordinateForPoint: { type: 'function', functionType: 'promise' },53 fitToCoordinates: { type: 'function', functionType: 'async' },54 fitToElements: { type: 'function', functionType: 'async' },55 fitToSuppliedMarkers: { type: 'function', functionType: 'async' },56 getCamera: { type: 'function', functionType: 'promise' },57 getMapBoundaries: { type: 'function', functionType: 'promise' },58 getMarkersFrames: { type: 'function', functionType: 'promise' },59 pointForCoordinate: { type: 'function', functionType: 'promise' },60 setCamera: { type: 'function', functionType: 'async' },61 takeSnapshot: { type: 'function', functionType: 'async' },62 },63 AIRMapMarkerManager: {64 getConstants: { type: 'function' },65 hideCallout: { type: 'function', functionType: 'async' },66 redrawCallout: { type: 'function', functionType: 'async' },67 showCallout: { type: 'function', functionType: 'async' },68 },69 AIRMapOverlayManager: {},70 AIRMapPolygonManager: {},71 AIRMapPolylineManager: {},72 AIRMapUrlTileManager: {},73 AIRMapWMSTileManager: {},74 ExpoNativeModuleIntrospection: {75 getConstants: { type: 'function' },76 getNativeModuleNamesAsync: { type: 'function', functionType: 'promise' },77 introspectNativeModuleAsync: { type: 'function', functionType: 'promise' },78 },79 ExponentNotifications: {80 getConstants: { type: 'function' },81 cancelAllScheduledNotificationsAsync: { type: 'function', functionType: 'promise' },82 cancelScheduledNotificationAsync: { type: 'function', functionType: 'promise' },83 createCategoryAsync: { type: 'function', functionType: 'promise' },84 deleteCategoryAsync: { type: 'function', functionType: 'promise' },85 getBadgeNumberAsync: { type: 'function', functionType: 'promise' },86 getDevicePushTokenAsync: { type: 'function', functionType: 'promise' },87 getExponentPushTokenAsync: { type: 'function', functionType: 'promise' },88 legacyScheduleLocalRepeatingNotification: { type: 'function', functionType: 'promise' },89 presentLocalNotification: { type: 'function', functionType: 'promise' },90 scheduleLocalNotification: { type: 'function', functionType: 'promise' },91 scheduleNotificationWithCalendar: { type: 'function', functionType: 'promise' },92 scheduleNotificationWithTimer: { type: 'function', functionType: 'promise' },93 setBadgeNumberAsync: { type: 'function', functionType: 'promise' },94 },95 ExpoRandom: {96 getRandomBase64StringAsync: { type: 'function', functionType: 'promise' },97 getRandomBase64String: { type: 'function' },98 },99 ExponentScopedModuleRegistry: {},100 ExponentSplashScreen: {101 getConstants: { type: 'function' },102 hide: { type: 'function', functionType: 'async' },103 preventAutoHide: { type: 'function', functionType: 'async' },104 },105 ExponentTest: {106 getConstants: { type: 'function' },107 isInCI: { type: 'number', mock: 0 },108 action: { type: 'function', functionType: 'promise' },109 completed: { type: 'function', functionType: 'async' },110 log: { type: 'function', functionType: 'async' },111 shouldSkipTestsRequiringPermissionsAsync: { type: 'function', functionType: 'promise' },112 },113 ExponentUpdates: {114 getConstants: { type: 'function' },115 checkForUpdateAsync: { type: 'function', functionType: 'promise' },116 fetchUpdateAsync: { type: 'function', functionType: 'promise' },117 reload: { type: 'function', functionType: 'async' },118 reloadFromCache: { type: 'function', functionType: 'async' },119 },120 ExponentUtil: {},121 LottieAnimationView: {122 VERSION: { type: 'number', mock: 1 },123 getConstants: { type: 'function' },124 play: { type: 'function', functionType: 'async' },125 reset: { type: 'function', functionType: 'async' },126 },127 NativeUnimoduleProxy: {128 exportedMethods: {129 type: 'object',130 mock: {131 AdIconViewManager: [],132 AdOptionsViewManager: [],133 CTKAdSettingsManager: [134 { key: 0, argumentsCount: 1, name: 'addTestDevice' },135 { key: 1, argumentsCount: 1, name: 'setIsChildDirected' },136 { key: 2, argumentsCount: 1, name: 'setMeditationService' },137 { key: 3, argumentsCount: 1, name: 'setUrlPrefix' },138 { key: 4, argumentsCount: 1, name: 'setLogLevel' },139 { key: 5, argumentsCount: 0, name: 'clearTestDevices' },140 ],141 CTKBannerViewManager: [],142 CTKInterstitialAdManager: [{ key: 0, argumentsCount: 1, name: 'showAd' }],143 CTKNativeAdManager: [144 { key: 0, argumentsCount: 1, name: 'disableAutoRefresh' },145 { key: 1, argumentsCount: 2, name: 'setMediaCachePolicy' },146 { key: 2, argumentsCount: 4, name: 'registerViewsForInteraction' },147 { key: 3, argumentsCount: 2, name: 'init' },148 ],149 ExpoAdsAdMob: [{ key: 0, argumentsCount: 1, name: 'setTestDeviceIDAsync' }],150 ExpoAdsAdMobBannerView: [],151 ExpoAdsAdMobInterstitialManager: [152 { key: 0, argumentsCount: 1, name: 'requestAd' },153 { key: 1, argumentsCount: 0, name: 'showAd' },154 { key: 2, argumentsCount: 0, name: 'dismissAd' },155 { key: 3, argumentsCount: 1, name: 'setAdUnitID' },156 { key: 4, argumentsCount: 0, name: 'getIsReady' },157 ],158 ExpoAdsAdMobRewardedVideoAdManager: [159 { key: 0, argumentsCount: 1, name: 'requestAd' },160 { key: 1, argumentsCount: 0, name: 'showAd' },161 { key: 2, argumentsCount: 0, name: 'dismissAd' },162 { key: 3, argumentsCount: 1, name: 'setAdUnitID' },163 { key: 4, argumentsCount: 0, name: 'getIsReady' },164 ],165 ExpoAmplitude: [166 { key: 0, argumentsCount: 1, name: 'setUserId' },167 { key: 1, argumentsCount: 1, name: 'logEvent' },168 { key: 2, argumentsCount: 2, name: 'logEventWithProperties' },169 { key: 3, argumentsCount: 1, name: 'initialize' },170 { key: 4, argumentsCount: 1, name: 'setTrackingOptions' },171 { key: 5, argumentsCount: 1, name: 'setUserProperties' },172 { key: 6, argumentsCount: 2, name: 'setGroup' },173 { key: 7, argumentsCount: 0, name: 'clearUserProperties' },174 ],175 ExpoAppAuth: [{ key: 0, argumentsCount: 1, name: 'executeAsync' }],176 ExpoAppleAuthentication: [177 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },178 { key: 1, argumentsCount: 1, name: 'requestAsync' },179 { key: 2, argumentsCount: 1, name: 'getCredentialStateAsync' },180 ],181 ExpoAppleAuthenticationButtonContinueBlack: [],182 ExpoAppleAuthenticationButtonContinueWhite: [],183 ExpoAppleAuthenticationButtonContinueWhiteOutline: [],184 ExpoAppleAuthenticationButtonSignInBlack: [],185 ExpoAppleAuthenticationButtonSignInWhite: [],186 ExpoAppleAuthenticationButtonSignInWhiteOutline: [],187 ExpoAppleAuthenticationButtonSignUpBlack: [],188 ExpoAppleAuthenticationButtonSignUpWhite: [],189 ExpoAppleAuthenticationButtonSignUpWhiteOutline: [],190 ExpoApplication: [191 { key: 0, argumentsCount: 0, name: 'getIosIdForVendorAsync' },192 { key: 1, argumentsCount: 0, name: 'getPushNotificationServiceEnvironmentAsync' },193 { key: 2, argumentsCount: 0, name: 'getApplicationReleaseTypeAsync' },194 { key: 3, argumentsCount: 0, name: 'getInstallationTimeAsync' },195 ],196 ExpoBackgroundFetch: [197 { key: 0, argumentsCount: 1, name: 'unregisterTaskAsync' },198 { key: 1, argumentsCount: 1, name: 'setMinimumIntervalAsync' },199 { key: 2, argumentsCount: 0, name: 'getStatusAsync' },200 { key: 3, argumentsCount: 2, name: 'registerTaskAsync' },201 ],202 ExpoBadgeModule: [203 { key: 0, argumentsCount: 1, name: 'setBadgeCountAsync' },204 { key: 1, argumentsCount: 0, name: 'getBadgeCountAsync' },205 ],206 ExpoBarCodeScannerModule: [207 { key: 0, argumentsCount: 0, name: 'getPermissionsAsync' },208 { key: 1, argumentsCount: 2, name: 'scanFromURLAsync' },209 { key: 2, argumentsCount: 0, name: 'requestPermissionsAsync' },210 ],211 ExpoBarCodeScannerView: [],212 ExpoBarometer: [213 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },214 { key: 1, argumentsCount: 1, name: 'setUpdateInterval' },215 ],216 ExpoBattery: [217 { key: 0, argumentsCount: 0, name: 'getBatteryLevelAsync' },218 { key: 1, argumentsCount: 0, name: 'isLowPowerModeEnabledAsync' },219 { key: 2, argumentsCount: 0, name: 'getBatteryStateAsync' },220 ],221 ExpoBlurViewManager: [{ key: 0, argumentsCount: 2, name: 'updateProps' }],222 ExpoBrightness: [223 { key: 0, argumentsCount: 0, name: 'getPermissionsAsync' },224 { key: 1, argumentsCount: 0, name: 'getSystemBrightnessAsync' },225 { key: 2, argumentsCount: 0, name: 'setSystemBrightnessAsync' },226 { key: 3, argumentsCount: 0, name: 'useSystemBrightnessAsync' },227 { key: 4, argumentsCount: 0, name: 'isUsingSystemBrightnessAsync' },228 { key: 5, argumentsCount: 0, name: 'getSystemBrightnessModeAsync' },229 { key: 6, argumentsCount: 0, name: 'requestPermissionsAsync' },230 { key: 7, argumentsCount: 1, name: 'setBrightnessAsync' },231 { key: 8, argumentsCount: 0, name: 'getBrightnessAsync' },232 { key: 9, argumentsCount: 0, name: 'setSystemBrightnessModeAsync' },233 ],234 ExpoCalendar: [235 { key: 0, argumentsCount: 1, name: 'deleteCalendarAsync' },236 { key: 1, argumentsCount: 1, name: 'deleteReminderAsync' },237 { key: 2, argumentsCount: 0, name: 'getCalendarPermissionsAsync' },238 { key: 3, argumentsCount: 2, name: 'deleteEventAsync' },239 { key: 4, argumentsCount: 0, name: 'requestRemindersPermissionsAsync' },240 { key: 5, argumentsCount: 3, name: 'getEventsAsync' },241 { key: 6, argumentsCount: 0, name: 'getSourcesAsync' },242 { key: 7, argumentsCount: 1, name: 'getReminderByIdAsync' },243 { key: 8, argumentsCount: 0, name: 'requestCalendarPermissionsAsync' },244 { key: 9, argumentsCount: 1, name: 'getAttendeesForEventAsync' },245 { key: 10, argumentsCount: 4, name: 'getRemindersAsync' },246 { key: 11, argumentsCount: 0, name: 'getRemindersPermissionsAsync' },247 { key: 12, argumentsCount: 2, name: 'saveEventAsync' },248 { key: 13, argumentsCount: 1, name: 'getCalendarsAsync' },249 { key: 14, argumentsCount: 2, name: 'getEventByIdAsync' },250 { key: 15, argumentsCount: 0, name: 'getDefaultCalendarAsync' },251 { key: 16, argumentsCount: 1, name: 'saveCalendarAsync' },252 { key: 17, argumentsCount: 1, name: 'saveReminderAsync' },253 { key: 18, argumentsCount: 1, name: 'getSourceByIdAsync' },254 ],255 ExpoCellular: [{ key: 0, argumentsCount: 0, name: 'getCellularGenerationAsync' }],256 ExpoContacts: [257 { key: 0, argumentsCount: 0, name: 'getDefaultContainerIdentifierAsync' },258 { key: 1, argumentsCount: 2, name: 'addExistingGroupToContainerAsync' },259 { key: 2, argumentsCount: 2, name: 'createGroupAsync' },260 { key: 3, argumentsCount: 2, name: 'addContactAsync' },261 { key: 4, argumentsCount: 1, name: 'removeGroupAsync' },262 { key: 5, argumentsCount: 2, name: 'removeContactFromGroupAsync' },263 { key: 6, argumentsCount: 1, name: 'removeContactAsync' },264 { key: 7, argumentsCount: 0, name: 'getPermissionsAsync' },265 { key: 8, argumentsCount: 1, name: 'updateContactAsync' },266 { key: 9, argumentsCount: 1, name: 'getGroupsAsync' },267 { key: 10, argumentsCount: 2, name: 'addExistingContactToGroupAsync' },268 { key: 11, argumentsCount: 1, name: 'getContainersAsync' },269 { key: 12, argumentsCount: 0, name: 'requestPermissionsAsync' },270 { key: 13, argumentsCount: 2, name: 'updateGroupNameAsync' },271 { key: 14, argumentsCount: 1, name: 'getContactsAsync' },272 { key: 15, argumentsCount: 3, name: 'presentFormAsync' },273 { key: 16, argumentsCount: 1, name: 'writeContactToFileAsync' },274 { key: 17, argumentsCount: 0, name: 'dismissFormAsync' },275 ],276 ExpoCrypto: [{ key: 0, argumentsCount: 3, name: 'digestStringAsync' }],277 ExpoDevice: [278 { key: 0, argumentsCount: 0, name: 'getDeviceTypeAsync' },279 { key: 1, argumentsCount: 0, name: 'isRootedExperimentalAsync' },280 { key: 2, argumentsCount: 0, name: 'getUptimeAsync' },281 ],282 ExpoDocumentPicker: [{ key: 0, argumentsCount: 1, name: 'getDocumentAsync' }],283 ExpoErrorRecovery: [{ key: 0, argumentsCount: 1, name: 'saveRecoveryProps' }],284 ExpoFaceDetector: [{ key: 0, argumentsCount: 1, name: 'detectFaces' }],285 ExpoFirebaseAnalytics: [286 { key: 0, argumentsCount: 2, name: 'logEvent' },287 { key: 1, argumentsCount: 1, name: 'setUserId' },288 { key: 2, argumentsCount: 1, name: 'setUserProperties' },289 { key: 3, argumentsCount: 2, name: 'setCurrentScreen' },290 { key: 4, argumentsCount: 0, name: 'resetAnalyticsData' },291 { key: 5, argumentsCount: 1, name: 'setAnalyticsCollectionEnabled' },292 ],293 ExpoFirebaseCore: [],294 ExpoFontLoader: [{ key: 0, argumentsCount: 2, name: 'loadAsync' }],295 ExpoGoogleSignIn: [296 { key: 0, argumentsCount: 1, name: 'getTokensAsync' },297 { key: 1, argumentsCount: 1, name: 'getPhotoAsync' },298 { key: 2, argumentsCount: 0, name: 'getCurrentUserAsync' },299 { key: 3, argumentsCount: 0, name: 'disconnectAsync' },300 { key: 4, argumentsCount: 0, name: 'signOutAsync' },301 { key: 5, argumentsCount: 1, name: 'initAsync' },302 { key: 6, argumentsCount: 0, name: 'signInAsync' },303 { key: 7, argumentsCount: 0, name: 'signInSilentlyAsync' },304 { key: 8, argumentsCount: 0, name: 'isConnectedAsync' },305 ],306 ExpoHaptics: [307 { key: 0, argumentsCount: 0, name: 'selectionAsync' },308 { key: 1, argumentsCount: 1, name: 'notificationAsync' },309 { key: 2, argumentsCount: 1, name: 'impactAsync' },310 ],311 ExpoImageManipulator: [{ key: 0, argumentsCount: 3, name: 'manipulateAsync' }],312 ExpoKeepAwake: [313 { key: 0, argumentsCount: 1, name: 'activate' },314 { key: 1, argumentsCount: 1, name: 'deactivate' },315 ],316 ExpoLinearGradientManager: [],317 ExpoLocalAuthentication: [318 { key: 0, argumentsCount: 0, name: 'supportedAuthenticationTypesAsync' },319 { key: 1, argumentsCount: 0, name: 'isEnrolledAsync' },320 { key: 2, argumentsCount: 0, name: 'hasHardwareAsync' },321 { key: 3, argumentsCount: 1, name: 'authenticateAsync' },322 ],323 ExpoLocalization: [{ key: 0, argumentsCount: 0, name: 'getLocalizationAsync' }],324 ExpoLocation: [325 { key: 0, argumentsCount: 2, name: 'watchPositionImplAsync' },326 { key: 1, argumentsCount: 2, name: 'startLocationUpdatesAsync' },327 { key: 2, argumentsCount: 1, name: 'removeWatchAsync' },328 { key: 3, argumentsCount: 0, name: 'hasServicesEnabledAsync' },329 { key: 4, argumentsCount: 0, name: 'getProviderStatusAsync' },330 { key: 5, argumentsCount: 1, name: 'hasStartedLocationUpdatesAsync' },331 { key: 6, argumentsCount: 1, name: 'geocodeAsync' },332 { key: 7, argumentsCount: 0, name: 'getPermissionsAsync' },333 { key: 8, argumentsCount: 2, name: 'startGeofencingAsync' },334 { key: 9, argumentsCount: 1, name: 'getCurrentPositionAsync' },335 { key: 10, argumentsCount: 0, name: 'requestPermissionsAsync' },336 { key: 11, argumentsCount: 1, name: 'stopGeofencingAsync' },337 { key: 12, argumentsCount: 1, name: 'stopLocationUpdatesAsync' },338 { key: 13, argumentsCount: 1, name: 'hasStartedGeofencingAsync' },339 { key: 14, argumentsCount: 1, name: 'reverseGeocodeAsync' },340 { key: 15, argumentsCount: 1, name: 'watchDeviceHeading' },341 { key: 16, argumentsCount: 0, name: 'getLastKnownPositionAsync' },342 ],343 ExpoMailComposer: [344 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },345 { key: 1, argumentsCount: 1, name: 'composeAsync' },346 ],347 ExpoNetwork: [348 { key: 0, argumentsCount: 0, name: 'getIpAddressAsync' },349 { key: 1, argumentsCount: 0, name: 'getMacAddressAsync' },350 { key: 2, argumentsCount: 0, name: 'getNetworkStateAsync' },351 ],352 ExpoNotificationPermissionsModule: [353 { key: 0, argumentsCount: 0, name: 'getPermissionsAsync' },354 { key: 1, argumentsCount: 1, name: 'requestPermissionsAsync' },355 ],356 ExpoNotificationPresenter: [357 { key: 0, argumentsCount: 2, name: 'presentNotificationAsync' },358 { key: 1, argumentsCount: 1, name: 'dismissNotificationAsync' },359 { key: 2, argumentsCount: 0, name: 'getPresentedNotificationsAsync' },360 { key: 3, argumentsCount: 0, name: 'dismissAllNotificationsAsync' },361 ],362 ExpoNotificationScheduler: [363 { key: 0, argumentsCount: 0, name: 'cancelAllScheduledNotificationsAsync' },364 { key: 1, argumentsCount: 0, name: 'getAllScheduledNotificationsAsync' },365 { key: 2, argumentsCount: 3, name: 'scheduleNotificationAsync' },366 { key: 3, argumentsCount: 1, name: 'cancelScheduledNotificationAsync' },367 ],368 ExpoNotificationsEmitter: [],369 ExpoNotificationsHandlerModule: [370 { key: 0, argumentsCount: 2, name: 'handleNotificationAsync' },371 ],372 ExpoPermissions: [373 { key: 0, argumentsCount: 1, name: 'getAsync' },374 { key: 1, argumentsCount: 1, name: 'askAsync' },375 ],376 ExpoPublisherBannerView: [],377 ExpoPushTokenManager: [{ key: 0, argumentsCount: 0, name: 'getDevicePushTokenAsync' }],378 ExpoSMS: [379 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },380 { key: 1, argumentsCount: 3, name: 'sendSMSAsync' },381 ],382 ExpoScreenCapture: [383 { key: 0, argumentsCount: 0, name: 'preventScreenCapture' },384 { key: 1, argumentsCount: 0, name: 'allowScreenCapture' },385 ],386 ExpoScreenOrientation: [387 { key: 0, argumentsCount: 1, name: 'lockAsync' },388 { key: 1, argumentsCount: 1, name: 'supportsOrientationLockAsync' },389 { key: 2, argumentsCount: 0, name: 'getOrientationAsync' },390 { key: 3, argumentsCount: 1, name: 'lockPlatformAsync' },391 { key: 4, argumentsCount: 0, name: 'getOrientationLockAsync' },392 { key: 5, argumentsCount: 0, name: 'getPlatformOrientationLockAsync' },393 ],394 ExpoSecureStore: [395 { key: 0, argumentsCount: 2, name: 'getValueWithKeyAsync' },396 { key: 1, argumentsCount: 2, name: 'deleteValueWithKeyAsync' },397 { key: 2, argumentsCount: 3, name: 'setValueWithKeyAsync' },398 ],399 ExpoSharing: [{ key: 0, argumentsCount: 2, name: 'shareAsync' }],400 ExpoStoreReview: [401 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },402 { key: 1, argumentsCount: 0, name: 'requestReview' },403 ],404 ExpoTaskManager: [405 { key: 0, argumentsCount: 1, name: 'isTaskRegisteredAsync' },406 { key: 1, argumentsCount: 1, name: 'unregisterTaskAsync' },407 { key: 2, argumentsCount: 0, name: 'unregisterAllTasksAsync' },408 { key: 3, argumentsCount: 0, name: 'getRegisteredTasksAsync' },409 { key: 4, argumentsCount: 1, name: 'getTaskOptionsAsync' },410 { key: 5, argumentsCount: 2, name: 'notifyTaskFinishedAsync' },411 ],412 ExpoUpdates: [413 { key: 0, argumentsCount: 0, name: 'reload' },414 { key: 1, argumentsCount: 0, name: 'checkForUpdateAsync' },415 { key: 2, argumentsCount: 0, name: 'fetchUpdateAsync' },416 ],417 ExpoVideoManager: [{ key: 0, argumentsCount: 2, name: 'setFullscreen' }],418 ExpoVideoThumbnails: [{ key: 0, argumentsCount: 2, name: 'getThumbnail' }],419 ExpoWebBrowser: [420 { key: 0, argumentsCount: 1, name: 'coolDownAsync' },421 { key: 1, argumentsCount: 0, name: 'dismissBrowser' },422 { key: 2, argumentsCount: 2, name: 'openBrowserAsync' },423 { key: 3, argumentsCount: 2, name: 'mayInitWithUrlAsync' },424 { key: 4, argumentsCount: 0, name: 'dismissAuthSession' },425 { key: 5, argumentsCount: 1, name: 'warmUpAsync' },426 { key: 6, argumentsCount: 0, name: 'getCustomTabsSupportingBrowsers' },427 { key: 7, argumentsCount: 2, name: 'openAuthSessionAsync' },428 ],429 ExponentAV: [430 { key: 0, argumentsCount: 1, name: 'getStatusForVideo' },431 { key: 1, argumentsCount: 1, name: 'setAudioMode' },432 { key: 2, argumentsCount: 0, name: 'unloadAudioRecorder' },433 { key: 3, argumentsCount: 0, name: 'stopAudioRecording' },434 { key: 4, argumentsCount: 0, name: 'requestPermissionsAsync' },435 { key: 5, argumentsCount: 3, name: 'loadForVideo' },436 { key: 6, argumentsCount: 1, name: 'setAudioIsEnabled' },437 { key: 7, argumentsCount: 1, name: 'prepareAudioRecorder' },438 { key: 8, argumentsCount: 2, name: 'replayVideo' },439 { key: 9, argumentsCount: 0, name: 'getPermissionsAsync' },440 { key: 10, argumentsCount: 1, name: 'unloadForSound' },441 { key: 11, argumentsCount: 2, name: 'setStatusForSound' },442 { key: 12, argumentsCount: 1, name: 'unloadForVideo' },443 { key: 13, argumentsCount: 2, name: 'replaySound' },444 { key: 14, argumentsCount: 0, name: 'getAudioRecordingStatus' },445 { key: 15, argumentsCount: 2, name: 'setStatusForVideo' },446 { key: 16, argumentsCount: 2, name: 'loadForSound' },447 { key: 17, argumentsCount: 0, name: 'pauseAudioRecording' },448 { key: 18, argumentsCount: 1, name: 'getStatusForSound' },449 { key: 19, argumentsCount: 0, name: 'startAudioRecording' },450 ],451 ExponentAccelerometer: [452 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },453 { key: 1, argumentsCount: 1, name: 'setUpdateInterval' },454 ],455 ExponentCameraManager: [456 { key: 0, argumentsCount: 2, name: 'record' },457 { key: 1, argumentsCount: 2, name: 'takePicture' },458 { key: 2, argumentsCount: 2, name: 'getAvailablePictureSizes' },459 { key: 3, argumentsCount: 1, name: 'pausePreview' },460 { key: 4, argumentsCount: 0, name: 'getPermissionsAsync' },461 { key: 5, argumentsCount: 1, name: 'resumePreview' },462 { key: 6, argumentsCount: 1, name: 'stopRecording' },463 { key: 7, argumentsCount: 0, name: 'requestPermissionsAsync' },464 ],465 ExponentConstants: [{ key: 0, argumentsCount: 0, name: 'getWebViewUserAgentAsync' }],466 ExponentDeviceMotion: [467 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },468 { key: 1, argumentsCount: 1, name: 'setUpdateInterval' },469 ],470 ExponentFacebook: [471 { key: 0, argumentsCount: 1, name: 'logInWithReadPermissionsAsync' },472 { key: 1, argumentsCount: 1, name: 'setAdvertiserIDCollectionEnabledAsync' },473 { key: 2, argumentsCount: 1, name: 'setAutoLogAppEventsEnabledAsync' },474 { key: 3, argumentsCount: 2, name: 'initializeAsync' },475 { key: 4, argumentsCount: 1, name: 'setAutoInitEnabledAsync' },476 ],477 ExponentFileSystem: [478 { key: 0, argumentsCount: 3, name: 'uploadAsync' },479 { key: 1, argumentsCount: 2, name: 'readDirectoryAsync' },480 { key: 2, argumentsCount: 0, name: 'getTotalDiskCapacityAsync' },481 { key: 3, argumentsCount: 2, name: 'getInfoAsync' },482 { key: 4, argumentsCount: 3, name: 'downloadAsync' },483 { key: 5, argumentsCount: 3, name: 'writeAsStringAsync' },484 { key: 6, argumentsCount: 2, name: 'deleteAsync' },485 { key: 7, argumentsCount: 1, name: 'moveAsync' },486 { key: 8, argumentsCount: 0, name: 'getFreeDiskStorageAsync' },487 { key: 9, argumentsCount: 2, name: 'readAsStringAsync' },488 { key: 10, argumentsCount: 5, name: 'downloadResumableStartAsync' },489 { key: 11, argumentsCount: 2, name: 'makeDirectoryAsync' },490 { key: 12, argumentsCount: 1, name: 'copyAsync' },491 { key: 13, argumentsCount: 1, name: 'downloadResumablePauseAsync' },492 ],493 ExponentGLObjectManager: [494 { key: 0, argumentsCount: 0, name: 'createContextAsync' },495 { key: 1, argumentsCount: 1, name: 'destroyContextAsync' },496 { key: 2, argumentsCount: 1, name: 'destroyObjectAsync' },497 { key: 3, argumentsCount: 2, name: 'createCameraTextureAsync' },498 { key: 4, argumentsCount: 2, name: 'takeSnapshotAsync' },499 ],500 ExponentGLViewManager: [],501 ExponentGyroscope: [502 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },503 { key: 1, argumentsCount: 1, name: 'setUpdateInterval' },504 ],505 ExponentImagePicker: [506 { key: 0, argumentsCount: 0, name: 'getCameraRollPermissionsAsync' },507 { key: 1, argumentsCount: 0, name: 'requestCameraPermissionsAsync' },508 { key: 2, argumentsCount: 0, name: 'requestCameraRollPermissionsAsync' },509 { key: 3, argumentsCount: 1, name: 'launchCameraAsync' },510 { key: 4, argumentsCount: 0, name: 'getCameraPermissionsAsync' },511 { key: 5, argumentsCount: 1, name: 'launchImageLibraryAsync' },512 ],513 ExponentMagnetometer: [514 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },515 { key: 1, argumentsCount: 1, name: 'setUpdateInterval' },516 ],517 ExponentMagnetometerUncalibrated: [518 { key: 0, argumentsCount: 0, name: 'isAvailableAsync' },519 { key: 1, argumentsCount: 1, name: 'setUpdateInterval' },520 ],521 ExponentMediaLibrary: [522 { key: 0, argumentsCount: 1, name: 'createAssetAsync' },523 { key: 1, argumentsCount: 1, name: 'deleteAssetsAsync' },524 { key: 2, argumentsCount: 0, name: 'getPermissionsAsync' },525 { key: 3, argumentsCount: 2, name: 'removeAssetsFromAlbumAsync' },526 { key: 4, argumentsCount: 1, name: 'saveToLibraryAsync' },527 { key: 5, argumentsCount: 0, name: 'requestPermissionsAsync' },528 { key: 6, argumentsCount: 1, name: 'getAlbumsAsync' },529 { key: 7, argumentsCount: 1, name: 'getAssetsAsync' },530 { key: 8, argumentsCount: 2, name: 'createAlbumAsync' },531 { key: 9, argumentsCount: 2, name: 'deleteAlbumsAsync' },532 { key: 10, argumentsCount: 0, name: 'getMomentsAsync' },533 { key: 11, argumentsCount: 2, name: 'addAssetsToAlbumAsync' },534 { key: 12, argumentsCount: 1, name: 'getAssetInfoAsync' },535 { key: 13, argumentsCount: 1, name: 'getAlbumAsync' },536 ],537 ExponentPedometer: [538 { key: 0, argumentsCount: 2, name: 'getStepCountAsync' },539 { key: 1, argumentsCount: 0, name: 'isAvailableAsync' },540 ],541 ExponentPrint: [542 { key: 0, argumentsCount: 1, name: 'print' },543 { key: 1, argumentsCount: 0, name: 'selectPrinter' },544 { key: 2, argumentsCount: 1, name: 'printToFileAsync' },545 ],546 ExponentSQLite: [547 { key: 0, argumentsCount: 1, name: 'close' },548 { key: 1, argumentsCount: 3, name: 'exec' },549 ],550 ExponentSegment: [551 { key: 0, argumentsCount: 1, name: 'setEnabledAsync' },552 { key: 1, argumentsCount: 2, name: 'screenWithProperties' },553 { key: 2, argumentsCount: 0, name: 'flush' },554 { key: 3, argumentsCount: 1, name: 'screen' },555 { key: 4, argumentsCount: 1, name: 'identify' },556 { key: 5, argumentsCount: 2, name: 'identifyWithTraits' },557 { key: 6, argumentsCount: 2, name: 'trackWithProperties' },558 { key: 7, argumentsCount: 2, name: 'groupWithTraits' },559 { key: 8, argumentsCount: 1, name: 'initialize' },560 { key: 9, argumentsCount: 0, name: 'getEnabledAsync' },561 { key: 10, argumentsCount: 2, name: 'alias' },562 { key: 11, argumentsCount: 1, name: 'group' },563 { key: 12, argumentsCount: 1, name: 'track' },564 { key: 13, argumentsCount: 0, name: 'reset' },565 ],566 ExponentSpeech: [567 { key: 0, argumentsCount: 3, name: 'speak' },568 { key: 1, argumentsCount: 0, name: 'stop' },569 { key: 2, argumentsCount: 0, name: 'pause' },570 { key: 3, argumentsCount: 0, name: 'resume' },571 { key: 4, argumentsCount: 0, name: 'isSpeaking' },572 { key: 5, argumentsCount: 0, name: 'getVoices' },573 ],574 MediaViewManager: [],575 NotificationsInstallationIdProvider: [576 { key: 0, argumentsCount: 0, name: 'getInstallationIdAsync' },577 ],578 },579 },580 getConstants: { type: 'function' },581 modulesConstants: {582 type: 'mock',583 mockDefinition: {584 CTKAdSettingsManager: {585 addListener: { type: 'function' },586 addTestDevice: { type: 'function' },587 clearTestDevices: { type: 'function' },588 currentDeviceHash: { type: 'string' },589 removeListeners: { type: 'function' },590 setIsChildDirected: { type: 'function' },591 setLogLevel: { type: 'function' },592 setMeditationService: { type: 'function' },593 setUrlPrefix: { type: 'function' },594 },595 ExpoAppAuth: {596 OAuthRedirect: { type: 'array' },597 URLSchemes: { type: 'array' },598 addListener: { type: 'function' },599 executeAsync: { type: 'function' },600 removeListeners: { type: 'function' },601 },602 ExpoApplication: {603 addListener: { type: 'function' },604 applicationId: { type: 'string' },605 applicationName: { type: 'string' },606 getApplicationReleaseTypeAsync: { type: 'function' },607 getInstallationTimeAsync: { type: 'function' },608 getIosIdForVendorAsync: { type: 'function' },609 getPushNotificationServiceEnvironmentAsync: { type: 'function' },610 nativeApplicationVersion: { type: 'string' },611 nativeBuildVersion: { type: 'string' },612 removeListeners: { type: 'function' },613 },614 ExpoBarCodeScannerModule: {615 BarCodeType: { type: 'object' },616 Type: { type: 'object' },617 addListener: { type: 'function' },618 getPermissionsAsync: { type: 'function' },619 removeListeners: { type: 'function' },620 requestPermissionsAsync: { type: 'function' },621 scanFromURLAsync: { type: 'function' },622 },623 ExpoBattery: {624 addListener: { type: 'function' },625 getBatteryLevelAsync: { type: 'function' },626 getBatteryStateAsync: { type: 'function' },627 isLowPowerModeEnabledAsync: { type: 'function' },628 isSupported: { type: 'boolean', mock: true },629 removeListeners: { type: 'function' },630 },631 ExpoCellular: {632 addListener: { type: 'function' },633 allowsVoip: { type: 'boolean', mock: true },634 carrier: { type: 'string' },635 getCellularGenerationAsync: { type: 'function' },636 isoCountryCode: { type: 'string' },637 mobileCountryCode: { type: 'string' },638 mobileNetworkCode: { type: 'string' },639 removeListeners: { type: 'function' },640 },641 ExpoDevice: {642 addListener: { type: 'function' },643 brand: { type: 'string' },644 deviceName: { type: 'string' },645 deviceYearClass: { type: 'number', mock: 2013 },646 getDeviceTypeAsync: { type: 'function' },647 getUptimeAsync: { type: 'function' },648 isDevice: { type: 'boolean', mock: true },649 isRootedExperimentalAsync: { type: 'function' },650 manufacturer: { type: 'string' },651 modelId: { type: 'string' },652 osBuildId: { type: 'string' },653 osInternalBuildId: { type: 'string' },654 osName: { type: 'string' },655 osVersion: { type: 'string' },656 removeListeners: { type: 'function' },657 supportedCpuArchitectures: { type: 'array' },658 totalMemory: { type: 'number', mock: 1048576000 },659 },660 ExpoErrorRecovery: {661 addListener: { type: 'function' },662 recoveredProps: { type: 'object', mock: null },663 removeListeners: { type: 'function' },664 saveRecoveryProps: { type: 'function' },665 },666 ExpoFaceDetector: {667 Classifications: { type: 'object' },668 Landmarks: { type: 'object' },669 Mode: { type: 'object' },670 addListener: { type: 'function' },671 detectFaces: { type: 'function' },672 removeListeners: { type: 'function' },673 },674 ExpoFirebaseCore: {675 DEFAULT_APP_NAME: { type: 'string' },676 addListener: { type: 'function' },677 removeListeners: { type: 'function' },678 },679 ExpoGoogleSignIn: {680 ERRORS: { type: 'object' },681 SCOPES: { type: 'object' },682 TYPES: { type: 'object' },683 addListener: { type: 'function' },684 disconnectAsync: { type: 'function' },685 getCurrentUserAsync: { type: 'function' },686 getPhotoAsync: { type: 'function' },687 getTokensAsync: { type: 'function' },688 initAsync: { type: 'function' },689 isConnectedAsync: { type: 'function' },690 removeListeners: { type: 'function' },691 signInAsync: { type: 'function' },692 signInSilentlyAsync: { type: 'function' },693 signOutAsync: { type: 'function' },694 },695 ExpoLocalization: {696 addListener: { type: 'function' },697 getLocalizationAsync: { type: 'function' },698 isRTL: { type: 'boolean', mock: false },699 isoCurrencyCodes: { type: 'array' },700 locale: { type: 'string' },701 locales: { type: 'array' },702 region: { type: 'string' },703 removeListeners: { type: 'function' },704 timezone: { type: 'string' },705 },706 ExpoSecureStore: {707 AFTER_FIRST_UNLOCK: { type: 'number', mock: 0 },708 AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: { type: 'number', mock: 1 },709 ALWAYS: { type: 'number', mock: 2 },710 ALWAYS_THIS_DEVICE_ONLY: { type: 'number', mock: 4 },711 WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: { type: 'number', mock: 3 },712 WHEN_UNLOCKED: { type: 'number', mock: 5 },713 WHEN_UNLOCKED_THIS_DEVICE_ONLY: { type: 'number', mock: 6 },714 addListener: { type: 'function' },715 deleteValueWithKeyAsync: { type: 'function' },716 getValueWithKeyAsync: { type: 'function' },717 removeListeners: { type: 'function' },718 setValueWithKeyAsync: { type: 'function' },719 },720 ExpoTaskManager: {721 EVENT_NAME: { type: 'string' },722 addListener: { type: 'function' },723 getRegisteredTasksAsync: { type: 'function' },724 getTaskOptionsAsync: { type: 'function' },725 isTaskRegisteredAsync: { type: 'function' },726 notifyTaskFinishedAsync: { type: 'function' },727 removeListeners: { type: 'function' },728 unregisterAllTasksAsync: { type: 'function' },729 unregisterTaskAsync: { type: 'function' },730 },731 ExpoVideoManager: {732 ScaleAspectFill: { type: 'string' },733 ScaleAspectFit: { type: 'string' },734 ScaleNone: { type: 'string' },735 ScaleToFill: { type: 'string' },736 addListener: { type: 'function' },737 removeListeners: { type: 'function' },738 setFullscreen: { type: 'function' },739 },740 ExponentAV: {741 Qualities: { type: 'object' },742 addListener: { type: 'function' },743 getAudioRecordingStatus: { type: 'function' },744 getPermissionsAsync: { type: 'function' },745 getStatusForSound: { type: 'function' },746 getStatusForVideo: { type: 'function' },747 loadForSound: { type: 'function' },748 loadForVideo: { type: 'function' },749 pauseAudioRecording: { type: 'function' },750 prepareAudioRecorder: { type: 'function' },751 removeListeners: { type: 'function' },752 replaySound: { type: 'function' },753 replayVideo: { type: 'function' },754 requestPermissionsAsync: { type: 'function' },755 setAudioIsEnabled: { type: 'function' },756 setAudioMode: { type: 'function' },757 setStatusForSound: { type: 'function' },758 setStatusForVideo: { type: 'function' },759 startAudioRecording: { type: 'function' },760 stopAudioRecording: { type: 'function' },761 unloadAudioRecorder: { type: 'function' },762 unloadForSound: { type: 'function' },763 unloadForVideo: { type: 'function' },764 },765 ExponentCameraManager: {766 AutoFocus: { type: 'object' },767 FlashMode: { type: 'object' },768 Type: { type: 'object' },769 VideoQuality: { type: 'object' },770 VideoStabilization: { type: 'object' },771 WhiteBalance: { type: 'object' },772 addListener: { type: 'function' },773 getAvailablePictureSizes: { type: 'function' },774 getPermissionsAsync: { type: 'function' },775 pausePreview: { type: 'function' },776 record: { type: 'function' },777 removeListeners: { type: 'function' },778 requestPermissionsAsync: { type: 'function' },779 resumePreview: { type: 'function' },780 stopRecording: { type: 'function' },781 takePicture: { type: 'function' },782 },783 ExponentConstants: {784 addListener: { type: 'function' },785 appOwnership: { type: 'string' },786 debugMode: { type: 'boolean', mock: true },787 deviceName: { type: 'string' },788 deviceYearClass: { type: 'number', mock: 2013 },789 experienceUrl: { type: 'string' },790 expoRuntimeVersion: { type: 'string' },791 expoVersion: { type: 'string' },792 getWebViewUserAgentAsync: { type: 'function' },793 installationId: { type: 'string' },794 isDetached: { type: 'boolean', mock: false },795 isDevice: { type: 'boolean', mock: true },796 isHeadless: { type: 'boolean', mock: false },797 linkingUri: { type: 'string' },798 manifest: { type: 'object' },799 nativeAppVersion: { type: 'string' },800 nativeBuildVersion: { type: 'string' },801 platform: { type: 'object' },802 removeListeners: { type: 'function' },803 sessionId: { type: 'string' },804 statusBarHeight: { type: 'number', mock: 20 },805 supportedExpoSdks: { type: 'array' },806 systemFonts: { type: 'array' },807 },808 ExponentDeviceMotion: {809 Gravity: { type: 'number', mock: 9.80665 },810 addListener: { type: 'function' },811 isAvailableAsync: { type: 'function' },812 removeListeners: { type: 'function' },813 setUpdateInterval: { type: 'function' },814 },815 ExponentFileSystem: {816 addListener: { type: 'function' },817 bundleDirectory: { type: 'object', mock: null },818 bundledAssets: { type: 'object', mock: null },819 cacheDirectory: { type: 'string' },820 copyAsync: { type: 'function' },821 deleteAsync: { type: 'function' },822 documentDirectory: { type: 'string' },823 downloadAsync: { type: 'function' },824 downloadResumablePauseAsync: { type: 'function' },825 downloadResumableStartAsync: { type: 'function' },826 getFreeDiskStorageAsync: { type: 'function' },827 getInfoAsync: { type: 'function' },828 getTotalDiskCapacityAsync: { type: 'function' },829 makeDirectoryAsync: { type: 'function' },830 moveAsync: { type: 'function' },831 readAsStringAsync: { type: 'function' },832 readDirectoryAsync: { type: 'function' },833 removeListeners: { type: 'function' },834 uploadAsync: { type: 'function' },835 writeAsStringAsync: { type: 'function' },836 },837 ExponentMediaLibrary: {838 CHANGE_LISTENER_NAME: { type: 'string' },839 MediaType: { type: 'object' },840 SortBy: { type: 'object' },841 addAssetsToAlbumAsync: { type: 'function' },842 addListener: { type: 'function' },843 createAlbumAsync: { type: 'function' },844 createAssetAsync: { type: 'function' },845 deleteAlbumsAsync: { type: 'function' },846 deleteAssetsAsync: { type: 'function' },847 getAlbumAsync: { type: 'function' },848 getAlbumsAsync: { type: 'function' },849 getAssetInfoAsync: { type: 'function' },850 getAssetsAsync: { type: 'function' },851 getMomentsAsync: { type: 'function' },852 getPermissionsAsync: { type: 'function' },853 removeAssetsFromAlbumAsync: { type: 'function' },854 removeListeners: { type: 'function' },855 requestPermissionsAsync: { type: 'function' },856 saveToLibraryAsync: { type: 'function' },857 },858 ExponentPrint: {859 Orientation: { type: 'object' },860 addListener: { type: 'function' },861 print: { type: 'function' },862 printToFileAsync: { type: 'function' },863 removeListeners: { type: 'function' },864 selectPrinter: { type: 'function' },865 },866 },867 },868 viewManagersNames: {869 type: 'array',870 mock: [871 'AdIconView',872 'AdOptionsView',873 'CTKBannerView',874 'CTKNativeAd',875 'ExpoAdsAdMobBannerView',876 'ExpoAdsPublisherBannerView',877 'ExpoAppleAuthenticationButtonContinueBlack',878 'ExpoAppleAuthenticationButtonContinueWhite',879 'ExpoAppleAuthenticationButtonContinueWhiteOutline',880 'ExpoAppleAuthenticationButtonSignInBlack',881 'ExpoAppleAuthenticationButtonSignInWhite',882 'ExpoAppleAuthenticationButtonSignInWhiteOutline',883 'ExpoAppleAuthenticationButtonSignUpBlack',884 'ExpoAppleAuthenticationButtonSignUpWhite',885 'ExpoAppleAuthenticationButtonSignUpWhiteOutline',886 'ExpoBarCodeScannerView',887 'ExpoBlurView',888 'ExpoLinearGradient',889 'ExpoVideoView',890 'ExponentCamera',891 'ExponentGLView',892 'MediaView',893 ],894 },895 callMethod: { type: 'function', functionType: 'promise' },896 },897 RNAWSCognito: {898 getConstants: { type: 'function' },899 computeModPow: { type: 'function', functionType: 'async' },900 computeS: { type: 'function', functionType: 'async' },901 },902 RNBranch: {903 ADD_TO_CART_EVENT: { type: 'string' },904 ADD_TO_WISHLIST_EVENT: { type: 'string' },905 INIT_SESSION_ERROR: { type: 'string' },906 INIT_SESSION_SUCCESS: { type: 'string' },907 PURCHASED_EVENT: { type: 'string' },908 PURCHASE_INITIATED_EVENT: { type: 'string' },909 REGISTER_VIEW_EVENT: { type: 'string' },910 SHARE_COMPLETED_EVENT: { type: 'string' },911 SHARE_INITIATED_EVENT: { type: 'string' },912 STANDARD_EVENT_ACHIEVE_LEVEL: { type: 'string' },913 STANDARD_EVENT_ADD_PAYMENT_INFO: { type: 'string' },914 STANDARD_EVENT_ADD_TO_CART: { type: 'string' },915 STANDARD_EVENT_ADD_TO_WISHLIST: { type: 'string' },916 STANDARD_EVENT_COMPLETE_REGISTRATION: { type: 'string' },917 STANDARD_EVENT_COMPLETE_TUTORIAL: { type: 'string' },918 STANDARD_EVENT_INITIATE_PURCHASE: { type: 'string' },919 STANDARD_EVENT_PURCHASE: { type: 'string' },920 STANDARD_EVENT_RATE: { type: 'string' },921 STANDARD_EVENT_SEARCH: { type: 'string' },922 STANDARD_EVENT_SHARE: { type: 'string' },923 STANDARD_EVENT_SPEND_CREDITS: { type: 'string' },924 STANDARD_EVENT_UNLOCK_ACHIEVEMENT: { type: 'string' },925 STANDARD_EVENT_VIEW_CART: { type: 'string' },926 STANDARD_EVENT_VIEW_ITEM: { type: 'string' },927 STANDARD_EVENT_VIEW_ITEMS: { type: 'string' },928 getConstants: { type: 'function' },929 createUniversalObject: { type: 'function', functionType: 'promise' },930 disableTracking: { type: 'function', functionType: 'async' },931 generateShortUrl: { type: 'function', functionType: 'promise' },932 getCreditHistory: { type: 'function', functionType: 'promise' },933 getFirstReferringParams: { type: 'function', functionType: 'promise' },934 getLatestReferringParams: { type: 'function', functionType: 'promise' },935 getShortUrl: { type: 'function', functionType: 'promise' },936 initializeBranch: { type: 'function', functionType: 'promise' },937 isTrackingDisabled: { type: 'function', functionType: 'promise' },938 listOnSpotlight: { type: 'function', functionType: 'promise' },939 loadRewards: { type: 'function', functionType: 'promise' },940 logEvent: { type: 'function', functionType: 'promise' },941 logout: { type: 'function', functionType: 'async' },942 openURL: { type: 'function', functionType: 'async' },943 redeemInitSessionResult: { type: 'function', functionType: 'promise' },944 redeemRewards: { type: 'function', functionType: 'promise' },945 registerView: { type: 'function', functionType: 'promise' },946 releaseUniversalObject: { type: 'function', functionType: 'async' },947 sendCommerceEvent: { type: 'function', functionType: 'promise' },948 setIdentity: { type: 'function', functionType: 'async' },949 showShareSheet: { type: 'function', functionType: 'promise' },950 userCompletedAction: { type: 'function', functionType: 'async' },951 userCompletedActionOnUniversalObject: { type: 'function', functionType: 'promise' },952 },953 RNBranchEventEmitter: {954 getConstants: { type: 'function' },955 addListener: { type: 'function', functionType: 'async' },956 removeListeners: { type: 'function', functionType: 'async' },957 },958 RNCAppearance: {959 getConstants: { type: 'function' },960 initialPreferences: { type: 'object' },961 addListener: { type: 'function', functionType: 'async' },962 removeListeners: { type: 'function', functionType: 'async' },963 },964 RNCAppearanceProvider: {},965 RNCMaskedViewManager: {},966 RNCNetInfo: {967 getConstants: { type: 'function' },968 addListener: { type: 'function', functionType: 'async' },969 getCurrentState: { type: 'function', functionType: 'promise' },970 removeListeners: { type: 'function', functionType: 'async' },971 },972 RNCSafeAreaProvider: {973 getConstants: { type: 'function' },974 initialWindowMetrics: { type: 'object' },975 },976 RNCSafeAreaView: {},977 RNCSegmentedControlManager: {},978 RNCViewPager: {979 getConstants: { type: 'function' },980 setPage: { type: 'function', functionType: 'async' },981 setPageWithoutAnimation: { type: 'function', functionType: 'async' },982 setScrollEnabled: { type: 'function', functionType: 'async' },983 },984 RNCWebViewManager: {985 getConstants: { type: 'function' },986 goBack: { type: 'function', functionType: 'async' },987 goForward: { type: 'function', functionType: 'async' },988 injectJavaScript: { type: 'function', functionType: 'async' },989 postMessage: { type: 'function', functionType: 'async' },990 reload: { type: 'function', functionType: 'async' },991 startLoadWithResult: { type: 'function', functionType: 'async' },992 stopLoading: { type: 'function', functionType: 'async' },993 },994 RNDateTimePickerManager: {},995 RNGestureHandlerButton: {},996 RNGestureHandlerModule: {997 Direction: { type: 'object' },998 State: { type: 'object' },999 getConstants: { type: 'function' },1000 addListener: { type: 'function', functionType: 'async' },1001 attachGestureHandler: { type: 'function', functionType: 'async' },1002 createGestureHandler: { type: 'function', functionType: 'async' },1003 dropGestureHandler: { type: 'function', functionType: 'async' },1004 handleClearJSResponder: { type: 'function', functionType: 'async' },1005 handleSetJSResponder: { type: 'function', functionType: 'async' },1006 removeListeners: { type: 'function', functionType: 'async' },1007 updateGestureHandler: { type: 'function', functionType: 'async' },1008 },1009 RNSScreenContainerManager: {},1010 RNSScreenManager: {},1011 RNSScreenStackHeaderConfigManager: {},1012 RNSScreenStackHeaderSubviewManager: {},1013 RNSScreenStackManager: {},1014 RNSVGCircleManager: {1015 getConstants: { type: 'function' },1016 getBBox: { type: 'function', functionType: 'sync' },1017 getCTM: { type: 'function', functionType: 'sync' },1018 getPointAtLength: { type: 'function', functionType: 'sync' },1019 getScreenCTM: { type: 'function', functionType: 'sync' },1020 getTotalLength: { type: 'function', functionType: 'sync' },1021 isPointInFill: { type: 'function', functionType: 'sync' },1022 isPointInStroke: { type: 'function', functionType: 'sync' },1023 },1024 RNSVGClipPathManager: {},1025 RNSVGDefsManager: {},1026 RNSVGEllipseManager: {1027 getConstants: { type: 'function' },1028 getBBox: { type: 'function', functionType: 'sync' },1029 getCTM: { type: 'function', functionType: 'sync' },1030 getPointAtLength: { type: 'function', functionType: 'sync' },1031 getScreenCTM: { type: 'function', functionType: 'sync' },1032 getTotalLength: { type: 'function', functionType: 'sync' },1033 isPointInFill: { type: 'function', functionType: 'sync' },1034 isPointInStroke: { type: 'function', functionType: 'sync' },1035 },1036 RNSVGForeignObjectManager: {1037 getConstants: { type: 'function' },1038 getBBox: { type: 'function', functionType: 'sync' },1039 getCTM: { type: 'function', functionType: 'sync' },1040 getPointAtLength: { type: 'function', functionType: 'sync' },1041 getScreenCTM: { type: 'function', functionType: 'sync' },1042 getTotalLength: { type: 'function', functionType: 'sync' },1043 isPointInFill: { type: 'function', functionType: 'sync' },1044 isPointInStroke: { type: 'function', functionType: 'sync' },1045 },1046 RNSVGGroupManager: {1047 getConstants: { type: 'function' },1048 getBBox: { type: 'function', functionType: 'sync' },1049 getCTM: { type: 'function', functionType: 'sync' },1050 getPointAtLength: { type: 'function', functionType: 'sync' },1051 getScreenCTM: { type: 'function', functionType: 'sync' },1052 getTotalLength: { type: 'function', functionType: 'sync' },1053 isPointInFill: { type: 'function', functionType: 'sync' },1054 isPointInStroke: { type: 'function', functionType: 'sync' },1055 },1056 RNSVGImageManager: {1057 getConstants: { type: 'function' },1058 getBBox: { type: 'function', functionType: 'sync' },1059 getCTM: { type: 'function', functionType: 'sync' },1060 getPointAtLength: { type: 'function', functionType: 'sync' },1061 getScreenCTM: { type: 'function', functionType: 'sync' },1062 getTotalLength: { type: 'function', functionType: 'sync' },1063 isPointInFill: { type: 'function', functionType: 'sync' },1064 isPointInStroke: { type: 'function', functionType: 'sync' },1065 },1066 RNSVGLineManager: {1067 getConstants: { type: 'function' },1068 getBBox: { type: 'function', functionType: 'sync' },1069 getCTM: { type: 'function', functionType: 'sync' },1070 getPointAtLength: { type: 'function', functionType: 'sync' },1071 getScreenCTM: { type: 'function', functionType: 'sync' },1072 getTotalLength: { type: 'function', functionType: 'sync' },1073 isPointInFill: { type: 'function', functionType: 'sync' },1074 isPointInStroke: { type: 'function', functionType: 'sync' },1075 },1076 RNSVGLinearGradientManager: {},1077 RNSVGMarkerManager: {1078 getConstants: { type: 'function' },1079 getBBox: { type: 'function', functionType: 'sync' },1080 getCTM: { type: 'function', functionType: 'sync' },1081 getPointAtLength: { type: 'function', functionType: 'sync' },1082 getScreenCTM: { type: 'function', functionType: 'sync' },1083 getTotalLength: { type: 'function', functionType: 'sync' },1084 isPointInFill: { type: 'function', functionType: 'sync' },1085 isPointInStroke: { type: 'function', functionType: 'sync' },1086 },1087 RNSVGMaskManager: {1088 getConstants: { type: 'function' },1089 getBBox: { type: 'function', functionType: 'sync' },1090 getCTM: { type: 'function', functionType: 'sync' },1091 getPointAtLength: { type: 'function', functionType: 'sync' },1092 getScreenCTM: { type: 'function', functionType: 'sync' },1093 getTotalLength: { type: 'function', functionType: 'sync' },1094 isPointInFill: { type: 'function', functionType: 'sync' },1095 isPointInStroke: { type: 'function', functionType: 'sync' },1096 },1097 RNSVGNodeManager: {},1098 RNSVGPathManager: {1099 getConstants: { type: 'function' },1100 getBBox: { type: 'function', functionType: 'sync' },1101 getCTM: { type: 'function', functionType: 'sync' },1102 getPointAtLength: { type: 'function', functionType: 'sync' },1103 getScreenCTM: { type: 'function', functionType: 'sync' },1104 getTotalLength: { type: 'function', functionType: 'sync' },1105 isPointInFill: { type: 'function', functionType: 'sync' },1106 isPointInStroke: { type: 'function', functionType: 'sync' },1107 },1108 RNSVGPatternManager: {1109 getConstants: { type: 'function' },1110 getBBox: { type: 'function', functionType: 'sync' },1111 getCTM: { type: 'function', functionType: 'sync' },1112 getPointAtLength: { type: 'function', functionType: 'sync' },1113 getScreenCTM: { type: 'function', functionType: 'sync' },1114 getTotalLength: { type: 'function', functionType: 'sync' },1115 isPointInFill: { type: 'function', functionType: 'sync' },1116 isPointInStroke: { type: 'function', functionType: 'sync' },1117 },1118 RNSVGRadialGradientManager: {},1119 RNSVGRectManager: {1120 getConstants: { type: 'function' },1121 getBBox: { type: 'function', functionType: 'sync' },1122 getCTM: { type: 'function', functionType: 'sync' },1123 getPointAtLength: { type: 'function', functionType: 'sync' },1124 getScreenCTM: { type: 'function', functionType: 'sync' },1125 getTotalLength: { type: 'function', functionType: 'sync' },1126 isPointInFill: { type: 'function', functionType: 'sync' },1127 isPointInStroke: { type: 'function', functionType: 'sync' },1128 },1129 RNSVGRenderableManager: {1130 getConstants: { type: 'function' },1131 getBBox: { type: 'function', functionType: 'sync' },1132 getCTM: { type: 'function', functionType: 'sync' },1133 getPointAtLength: { type: 'function', functionType: 'sync' },1134 getScreenCTM: { type: 'function', functionType: 'sync' },1135 getTotalLength: { type: 'function', functionType: 'sync' },1136 isPointInFill: { type: 'function', functionType: 'sync' },1137 isPointInStroke: { type: 'function', functionType: 'sync' },1138 },1139 RNSVGSvgViewManager: {1140 getConstants: { type: 'function' },1141 toDataURL: { type: 'function', functionType: 'async' },1142 },1143 RNSVGSymbolManager: {},1144 RNSVGTSpanManager: {1145 getConstants: { type: 'function' },1146 getBBox: { type: 'function', functionType: 'sync' },1147 getCTM: { type: 'function', functionType: 'sync' },1148 getPointAtLength: { type: 'function', functionType: 'sync' },1149 getScreenCTM: { type: 'function', functionType: 'sync' },1150 getTotalLength: { type: 'function', functionType: 'sync' },1151 isPointInFill: { type: 'function', functionType: 'sync' },1152 isPointInStroke: { type: 'function', functionType: 'sync' },1153 },1154 RNSVGTextManager: {1155 getConstants: { type: 'function' },1156 getBBox: { type: 'function', functionType: 'sync' },1157 getCTM: { type: 'function', functionType: 'sync' },1158 getPointAtLength: { type: 'function', functionType: 'sync' },1159 getScreenCTM: { type: 'function', functionType: 'sync' },1160 getTotalLength: { type: 'function', functionType: 'sync' },1161 isPointInFill: { type: 'function', functionType: 'sync' },1162 isPointInStroke: { type: 'function', functionType: 'sync' },1163 },1164 RNSVGTextPathManager: {1165 getConstants: { type: 'function' },1166 getBBox: { type: 'function', functionType: 'sync' },1167 getCTM: { type: 'function', functionType: 'sync' },1168 getPointAtLength: { type: 'function', functionType: 'sync' },1169 getScreenCTM: { type: 'function', functionType: 'sync' },1170 getTotalLength: { type: 'function', functionType: 'sync' },1171 isPointInFill: { type: 'function', functionType: 'sync' },1172 isPointInStroke: { type: 'function', functionType: 'sync' },1173 },1174 RNSVGUseManager: {1175 getConstants: { type: 'function' },1176 getBBox: { type: 'function', functionType: 'sync' },1177 getCTM: { type: 'function', functionType: 'sync' },1178 getPointAtLength: { type: 'function', functionType: 'sync' },1179 getScreenCTM: { type: 'function', functionType: 'sync' },1180 getTotalLength: { type: 'function', functionType: 'sync' },1181 isPointInFill: { type: 'function', functionType: 'sync' },1182 isPointInStroke: { type: 'function', functionType: 'sync' },1183 },1184 RNSharedElementTransition: {1185 getConstants: { type: 'function' },1186 configure: { type: 'function', functionType: 'promise' },1187 },1188 RNViewShot: {1189 getConstants: { type: 'function' },1190 captureRef: { type: 'function', functionType: 'promise' },1191 captureScreen: { type: 'function', functionType: 'promise' },1192 releaseCapture: { type: 'function', functionType: 'async' },1193 },1194 ReanimatedModule: {1195 getConstants: { type: 'function' },1196 addListener: { type: 'function', functionType: 'async' },1197 animateNextTransition: { type: 'function', functionType: 'async' },1198 attachEvent: { type: 'function', functionType: 'async' },1199 configureProps: { type: 'function', functionType: 'async' },1200 connectNodeToView: { type: 'function', functionType: 'async' },1201 connectNodes: { type: 'function', functionType: 'async' },1202 createNode: { type: 'function', functionType: 'async' },1203 detachEvent: { type: 'function', functionType: 'async' },1204 disconnectNodeFromView: { type: 'function', functionType: 'async' },1205 disconnectNodes: { type: 'function', functionType: 'async' },1206 dropNode: { type: 'function', functionType: 'async' },1207 getValue: { type: 'function', functionType: 'async' },1208 removeListeners: { type: 'function', functionType: 'async' },1209 setValue: { type: 'function', functionType: 'async' },1210 },...

Full Screen

Full Screen

dbtypes.js

Source:dbtypes.js Github

copy

Full Screen

1(function(exports) { 2const valueType={value:''}3const idType={value:'', attr:{schemeID:''}}4const numberValueType={value:0}5const booleanValueType={value:false}6const amountType={ value:0, attr:{ currencyID:''}}7const quantityType={ value:0, attr:{ unitCode:''}}8const measureType={ value:0, attr:{ unitCode:''}}9const codeType={ value:'', attr:{ name:''}}1011const countryType={12 identificationCode:valueType,13 name:valueType14}1516const periodType={17 startDate:valueType,18 startTime:valueType,19 endDate:valueType,20 endTime:valueType,21 description:valueType,22 durationMeasure:quantityType23}2425const partyIdentificationType={ID:{value:'', attr:{schemeID:''}}}2627const documentReferenceType={ 28 ID:idType,29 issueDate:valueType,30 documentTypeCode:valueType,31 documentType:valueType,32 documentDescription:[valueType],33 attachment: {34 embeddedDocumentBinaryObject: {35 value:'',36 attr: {37 format: '',38 mimeCode:'application/xml',39 encodingCode: 'Base64',40 characterSetCode: 'UTF-8',41 filename: 'xslt_sablon.xslt'42 }43 }44 },45 validityPeriod: periodType46}4748const orderReferenceType={49 ID:idType,50 issueDate:valueType,51 orderTypeCode:valueType,52 salesOrderId:idType,53 documentReference:documentReferenceType54}5556const contactType={57 ID:idType,58 name:valueType,59 note:valueType,60 telephone:valueType,61 telefax:valueType,62 electronicMail:valueType,63 otherCommunication:[valueType]64}6566const financialAccountType={67 currencyCode:valueType,68 financialInstitutionBranch:{69 financialInstitution:{name:valueType},70 name:valueType71 },72 ID:idType,73 paymentNote:valueType74}757677const personType={78 firstName:valueType,79 middleName:valueType,80 familyName:valueType,81 nameSuffix:valueType,82 title:valueType,83 financialAccount:financialAccountType,84 identityDocumentReference:documentReferenceType,85 nationalityId:idType86}8788const addressType={89 room:valueType,90 streetName:valueType,91 blockName:valueType,92 buildingName:valueType,93 buildingNumber:valueType,94 citySubdivisionName:valueType,95 cityName:valueType,96 postalZone:valueType,97 postbox:valueType,98 region:valueType,99 district:valueType,100 country:countryType101}102103const partyType={104 websiteURI:valueType,105 partyIdentification:[partyIdentificationType],106 partyName:{name:valueType},107 postalAddress:addressType,108 partyTaxScheme:{109 taxScheme:{110 name:valueType,111 taxTypeCode:valueType112 }113 },114 contact:contactType,115 person: personType116}117118const exchangeRateType={ 119 sourceCurrencyCode :valueType,120 targetCurrencyCode :valueType,121 calculationRate :numberValueType,122 date :valueType123}124125const actualPackageType={126 ID:idType,127 quantity:quantityType,128 packagingTypeCode:valueType129}130131const dimensionType={132 attributeId:idType,133 description:[valueType],134 measure:quantityType,135 minimumMeasure:quantityType,136 maximumMeasure:quantityType137}138139const itemPropertyType={140 ID:idType,141 importanceCode:valueType,142 itemPropertyGroup:[{143 ID:idType,144 importanceCode:valueType,145 name:valueType146 }],147 name:valueType,148 nameCode:valueType,149 rangeDimension:dimensionType,150 value: valueType,151 valueQuantity: quantityType,152 valueQualifier:[valueType],153 usabilityPeriod:periodType154}155156const itemInstanceType={157 additionalItemProperty:[itemPropertyType],158 serialId:idType,159 lotIdentification:{ 160 lotNumberId: idType,161 expiryDate: valueType,162 additionalItemProperty:[itemPropertyType]163 },164 manufactureDate:valueType,165 manufactureTime:valueType,166 productTraceId:idType,167 registrationId:idType168}169170const itemType={171 itemType:'',172 name:valueType,173 description:valueType,174 additionalItemIdentification:[{ID:idType}],175 brandName:valueType,176 buyersItemIdentification:{ID:idType},177 commodityClassification:[178 {179 itemClassificationCode:valueType180 }181 ],182 keyword:valueType,183 manufacturersItemIdentification:{ID:idType},184 modelName:valueType,185 sellersItemIdentification:{ID:idType},186 originCountry:countryType,187 itemInstance:[itemInstanceType],188 images:[{ data: '', type: '', fileName: '' },{ data: '', type: '', fileName: '' },{ data: '', type: '', fileName: '' }],189 files:[{ data: '', type: '', fileName: '' },{ data: '', type: '', fileName: '' },{ data: '', type: '', fileName: '' }],190 packingTypes:[],191 localDocumentId:'',192 passive:false193 194}195196const paymentTermsType={197 amount :amountType,198 note:valueType,199 paymentDueDate:valueType,200 penaltyAmount :amountType,201 penaltySurchargePercent :numberValueType,202 settlementPeriod:periodType203}204205const paymentMeansType={206 instructionNote:valueType,207 paymentMeansCode:codeType,208 paymentChannelCode:codeType,209 paymentDueDate:valueType,210 payerFinancialAccount:financialAccountType,211 payeeFinancialAccount:financialAccountType212}213214const taxTotalType ={215 taxAmount :amountType,216 taxSubtotal:[{217 taxableAmount:amountType,218 taxAmount :amountType,219 percent :numberValueType,220 calculationSequenceNumeric :numberValueType,221 taxCategory :{222 name:valueType,223 taxScheme:{224 ID:idType,225 name:valueType,226 taxTypeCode:valueType227 },228 taxExemptionReason:valueType,229 taxExemptionReasonCode:valueType230 }231 }]232}233234const allowanceChargeType={235 sequenceNumeric: numberValueType,236 allowanceChargeReason: valueType,237 amount: amountType,238 baseAmount: amountType,239 chargeIndicator:booleanValueType,240 multiplierFactorNumeric: numberValueType,241 perUnitAmount: amountType242}243244const lineReferencetype={245 documentReference:documentReferenceType,246 lineId:idType,247 lineStatusCode:valueType248}249250const orderLineReferenceType={251 lineId:idType,252 lineStatusCode:valueType,253 salesOrderLineId:idType,254 uuid:valueType,255 orderReference:{256 ID:idType,257 documentReference: documentReferenceType, 258 issueDate:valueType,259 orderTypeCode:valueType,260 salesOrderId:idType261 }262}263264const orderLineReferenceType2={265 lineId:idType,266 orderedQuantity:quantityType,267 producedQuantity:quantityType,268 deliveredQuantity:quantityType,269 orderReference:{270 order:'',271 ID:idType,272 issueDate:valueType,273 orderTypeCode:valueType,274 salesOrderId:idType,275 buyerCustomerParty:{276 party:partyType,277 deliveryContact:contactType,278 accountingContact:contactType,279 buyerContact:contactType280 }281 }282}283284const locationType={285 ID:idType,286 address:addressType287}288289const deliveryTermsType={290 amount : amountType,291 ID:{ 292 value:'',293 attr:{ schemeID :'INCOTERMS'}294 },295 specialTerms:valueType296}297298const despatchType={299 ID:idType,300 actualDespatchDate:valueType,301 actualDespatchTime:valueType,302 contact:contactType,303 despatchAddress:addressType,304 despatchParty:partyType,305 estimatedDespatchPeriod:periodType,306 instructions:valueType307}308309310const temperatureType={311 attributeId:valueType,312 description:[valueType],313 measure:measureType314}315316const goodsItemType={317 ID:idType, //*** ihracatta zorunlu alan318 requiredCustomsId:idType, //*** ihracatta zorunlu alan319 chargeableQuantity:quantityType,320 chargeableWeightMeasure:measureType,321 customsImportClassifiedIndicator:booleanValueType,322 customsStatusCode:codeType,323 customsTariffQuantity:quantityType,324 declaredCustomsValueAmount:amountType,325 declaredForCarriageValueAmount:amountType,326 declaredStatisticsValueAmount:amountType,327 description:valueType,328 freeOnBoardValueAmount:amountType,329 freightAllowanceCharge:[allowanceChargeType],330 grossVolumeMeasure:measureType,331 grossWeightMeasure:measureType,332 hazardousRiskIndicator:booleanValueType,333 insuranceValueAmount:amountType,334 invoiceLine:[],335 item:[itemType],336 measurementDimension:[dimensionType],337 NetVolumeMeasure:measureType,338 NetWeightMeasure:measureType,339 OriginAddress:addressType,340 quantity:quantityType,341 returnableQuantity:quantityType,342 temperature:[temperatureType],343 traceId:idType,344 valueAmount:amountType345}346347const customsDeclarationType={348 ID:idType,349 issuerParty:partyType350}351352const hazardousGoodsTransitType={353 hazardousRegulationCode:codeType,354 inhalationToxicityZoneCode:codeType,355 maximumTemperature:temperatureType,356 minimumTemperature:temperatureType,357 packingCriteriaCode:codeType,358 transportAuthorizationCode:codeType,359 transportEmergencyCardCode:codeType360361}362363const transportEquipmentType={364 ID:idType,365 description:valueType,366 transportEquipmentTypeCode:codeType367}368369const maritimeTransportType={370 grossTonnageMeasure:measureType,371 netTonnageMeasure:measureType,372 radioCallSignId:idType,373 registryCertificateDocumentReference:documentReferenceType,374 registryPortLocation:locationType,375 shipsRequirements:[valueType],376 vesselId:idType,377 vesselName:valueType378}379380const railTransportType={381 railCarId:idType,382 trainId:idType383}384385const roadTransportType={386 licensePlateId:idType,387 LocationId:idType388}389390const stowageType={391 location:[locationType],392 locationId:idType,393 measurementDimension:[dimensionType]394}395396const transportMeansType={397 airTransport:{398 aircraftId:idType399 },400 directionCode:codeType,401 journeyId:idType,402 maritimeTransport:maritimeTransportType,403 measurementDimension:[dimensionType],404 ownerParty:partyType,405 railTransport:railTransportType,406 registrationNationality:[valueType],407 registrationNationalityId:idType,408 roadTransport:roadTransportType,409 stowage:stowageType,410 tradeServiceCode:codeType,411 transportMeansTypeCode:codeType412}413414const transportHandlingUnitType={415 ID:idType,416 actualPackage:[{ //*** ihracatta zorunlu alan417 ID:idType, //*** ihracatta zorunlu alan418 quantity:quantityType, //*** ihracatta zorunlu alan419 packagingTypeCode:codeType //*** ihracatta zorunlu alan420 }],421 customsDeclaration:[customsDeclarationType],422 floorSpaceMeasurementDimension:dimensionType,423 minimumTemperature:temperatureType,424 maximumTemperature:temperatureType,425 damageRemarks:[valueType],426 handlingCode:codeType,427 handlingInstructions:valueType,428 hazardousGoodsTransit:[hazardousGoodsTransitType],429 measurementDimension:[dimensionType],430 palletSpaceMeasurementDimension:dimensionType,431 shipmentDocumentReference:[documentReferenceType],432 TotalGoodsItemQuantity:quantityType,433 TotalPackageQuantity:quantityType,434 traceId:idType,435 transportEquipment:[transportEquipmentType],436 transportHandlingUnitTypeCode:codeType,437 transportMeans:[transportMeansType]438}439440const shipmentStageType={441 driverPerson:[personType],442 transportModeCode:codeType,443 transportMeans:{roadTransport:{licensePlateId:valueType}}444}445446447const deliveryType={448 ID:idType,449 quantity:quantityType,450 actualDeliveryDate:valueType,451 actualDeliveryTime:valueType,452 latestDeliveryDate:valueType,453 latestDeliveryTime:valueType,454 trackingId:valueType,455 deliveryAddress:addressType,456 alternativeDeliveryLocation:locationType,457 estimatedDeliveryPeriod:periodType,458 carrierParty:partyType,459 deliveryParty:partyType,460 despatch:{},461 deliveryTerms:[],462 shipment:{}463}464465466const shipmentType={467 ID:idType,468 declaredCustomsValueAmount : amountType,469 declaredForCarriageValueAmount : amountType,470 declaredStatisticsValueAmount : amountType,471 delivery:{},472 firstArrivalPortLocation:locationType,473 freeOnBoardValueAmount : amountType,474 goodsItem:[goodsItemType],475 grossVolumeMeasure:quantityType,476 grossWeightMeasure:quantityType,477 handlingCode:valueType,478 handlingInstructions:valueType,479 insuranceValueAmount : amountType,480 lastExitPortLocation:locationType,481 netVolumeMeasure:quantityType,482 netWeightMeasure:quantityType,483 returnAddress:addressType,484 shipmentStage:[shipmentStageType], 485 specialInstructions:[valueType],486 totalGoodsItemQuantity:quantityType,487 totalTransportHandlingUnitQuantity:quantityType,488 transportHandlingUnit:[transportHandlingUnitType] 489}490491492const invoiceLineType={493 ID:idType,494 note:[valueType],495 invoicedQuantity : quantityType,496 price : {497 priceAmount:amountType498 },499 lineExtensionAmount: amountType,500 orderLineReference:[orderLineReferenceType],501 item:itemType,502 receiptLineReference:[lineReferencetype],503 allowanceCharge:[allowanceChargeType],504 delivery:[deliveryType],505 despatchLineReference:[lineReferencetype],506 taxTotal:taxTotalType,507 withholdingTaxTotal:[taxTotalType],508 subInvoiceLine:[{}]509}510511const orderLineType={512 ID:idType,513 salesOrderLineId:idType,514 note:[valueType],515 orderedQuantity:quantityType,516 producedQuantity:quantityType,517 deliveredQuantity:quantityType,518 price : {519 priceAmount:amountType520 },521 lineExtensionAmount: amountType,522 item:itemType,523 allowanceCharge:[allowanceChargeType],524 delivery:[deliveryType],525 taxTotal:taxTotalType,526 withholdingTaxTotal:[taxTotalType],527 subOrderLine:[{}]528}529530const billingReferenceLineType={531 ID: idType,532 amount:amountType,533 allowanceCharge:[allowanceChargeType]534}535const billingReferenceType={536 additionalDocumentReference:documentReferenceType,537 billingReferenceLine:[billingReferenceLineType],538 debitNoteDocumentReference:documentReferenceType,539 creditNoteDocumentReference:documentReferenceType,540 invoiceDocumentReference:documentReferenceType,541 reminderDocumentReference:documentReferenceType,542 selfBilledCreditNoteDocumentReference:documentReferenceType,543 selfBilledInvoiceDocumentReference:documentReferenceType544545546}547548const despatchLineType={549 ID:idType,550 item:itemType,551 note:[valueType],552 deliveredQuantity:quantityType,553 documentReference:[documentReferenceType],554 orderLineReference:orderLineReferenceType,555 outstandingQuantity:quantityType,556 outstandingReason:[valueType],557 oversupplyQuantity:quantityType,558 shipment:[shipmentType]559}560561const receiptLineType={562 ID:idType,563 item:itemType,564 note:[valueType],565 receivedDate:valueType,566 despatchLineReference:lineReferencetype,567 receivedQuantity:quantityType,568 rejectedQuantity:quantityType,569 rejectReason:[valueType],570 rejectReasonCode:codeType,571 shortQuantity:quantityType,572 documentReference:[documentReferenceType],573 orderLineReference:orderLineReferenceType,574 oversupplyQuantity:quantityType,575 timingComplaint:valueType,576 timingComplaintCode:codeType,577 shipment:[shipmentType]578}579580const transactionConditionsType={581 ID:idType,582 actionCode:codeType,583 description:[valueType],584 documentReference:[documentReferenceType]585}586587const invoiceType={588 ioType : 0, // 0 - cikis , 1- giris589 eIntegrator: '',590 location:'',591 profileId: valueType,592 ID: valueType,593 uuid: valueType,594 issueDate:valueType,595 issueTime:valueType,596 invoiceTypeCode: valueType,597 invoicePeriod: periodType,598 note:[valueType],599 documentCurrencyCode:valueType,600 taxCurrencyCode:valueType,601 pricingCurrencyCode:valueType,602 paymentCurrencyCode:valueType,603 paymentAlternativeCurrencyCode:valueType,604 lineCountNumeric:numberValueType,605 additionalDocumentReference:[documentReferenceType],606 orderReference:[orderReferenceType],607 despatchDocumentReference:[documentReferenceType],608 originatorDocumentReference:[documentReferenceType],609 accountingSupplierParty:{610 party:partyType,611 despatchContact:contactType612 },613 accountingCustomerParty:{614 party:partyType,615 deliveryContact:contactType616 },617 sellerSupplierParty:{618 party:partyType,619 despatchContact:contactType620 },621 buyerCustomerParty:{622 party:partyType,623 deliveryContact:contactType624 },625 accountingCost:valueType,626 delivery:[],627 billingReference:[],628 contractDocumentReference:[],629 paymentTerms:paymentTermsType,630 paymentMeans:[],631 taxExchangeRate:exchangeRateType,632 pricingExchangeRate:exchangeRateType,633 paymentExchangeRate:exchangeRateType,634 paymentAlternativeExchangeRate:exchangeRateType,635 taxTotal:[],636 withholdingTaxTotal:[],637 allowanceCharge:[],638 legalMonetaryTotal: { 639 lineExtensionAmount :amountType,640 taxExclusiveAmount : amountType,641 taxInclusiveAmount : amountType,642 allowanceTotalAmount : amountType,643 chargeTotalAmount : amountType,644 payableRoundingAmount : amountType,645 payableAmount :amountType646 },647 invoiceLine:[],648 localDocumentId:''649}650651const orderType={652 //ioType : 0, // 0 - cikis , 1- giris653 eIntegrator: '',654 profileId: valueType,655 ID: valueType,656 salesOrderId:valueType,657 uuid: valueType,658 issueDate: valueType,659 issueTime: valueType,660 orderTypeCode: valueType,661 note:[valueType],662 requestedInvoiceCurrencyCode:valueType,663 documentCurrencyCode:valueType,664 pricingCurrencyCode:valueType,665 taxCurrencyCode:valueType,666 customerReference:valueType,667 accountingCostCode:valueType,668 accountingCost:valueType,669 lineCountNumeric:numberValueType,670 validityPeriod: periodType,671 quotationDocumentReference:[],672 orderDocumentReference:[],673 originatorDocumentReference:[],674 catalogueReference:[],675 additionalDocumentReference:[],676 contract:[],677 projectReference:[],678 sellerSupplierParty:{679 customerAssignedAccountId:idType,680 additionalAccountId:idType,681 dataSendingCapability:valueType,682 party:partyType,683 despatchContact:contactType,684 accountingContact:contactType,685 sellerContact:contactType686 },687 buyerCustomerParty:{688 customerAssignedAccountId:idType,689 supplierAssignedAccountId:idType,690 additionalAccountId:idType,691 party:partyType,692 deliveryContact:contactType,693 accountingContact:contactType,694 buyerContact:contactType695 },696 accountingCost:valueType,697 delivery:[],698 billingReference:[],699 contractDocumentReference:[],700 paymentTerms:paymentTermsType,701 paymentMeans:[],702 taxExchangeRate:exchangeRateType,703 pricingExchangeRate:exchangeRateType,704 paymentExchangeRate:exchangeRateType,705 paymentAlternativeExchangeRate:exchangeRateType,706 taxTotal:[],707 withholdingTaxTotal:[],708 allowanceCharge:[],709 anticipatedMonetaryTotal: { 710 lineExtensionAmount :amountType,711 taxExclusiveAmount : amountType,712 taxInclusiveAmount : amountType,713 allowanceTotalAmount : amountType,714 chargeTotalAmount : amountType,715 payableRoundingAmount : amountType,716 payableAmount :amountType,717 payableAlternativeAmount :amountType718 },719 orderLine:[],720 localDocumentId:''721}722723const qualityControlType={724 param:'',725 value:''726 }727const materialType={728 item:'',729 quantity:0,730 unitCode:''731 }732const recipeProcessType={733 sequence:0,734 station: '',735 step: '',736 machines: [],737 input: [], //materialType738 output: [], //materialType739 parameters:''740}741const productionOrderType={742 item: '',743 sourceRecipe: '',744 productionTypeCode:'MUSTERI',745 productionId:'',746 issueDate: '',747 issueTime: '',748 plannedPeriod: {749 startDate: '',750 startTime: '',751 endDate: '',752 endTime: ''753 },754 producedPeriod: {755 startDate: '',756 startTime: '',757 endDate: '',758 endTime: ''759 },760 plannedQuantity:0,761 producedQuantity:0,762 unitCode:'',763 orderLineReference:[],764 description:'',765 process:[],766 materialSummary:[], //materialType767 outputSummary:[], //materialType768 qualityControl:[], //qualityControlType769 finishNotes:'',770 packingOption:{771 palletType:'',772 packingType:'',773 quantityInPacking:0,774 palletRowCount:0,775 packingCountInRow:0,776 unitCode:'',777 packingType2:'',778 packingType3:''779 },780 totalPallet:0,781 totalPacking:0,782 totalWeight:0,783 status:'Draft',784 cancelled: false785}786787const recipeType={788 item: '',789 name:'',790 description:'',791 revision:1,792 process:[], //recipeProcessType793 materialSummary:[], //materialType794 outputSummary:[], //materialType795 qualityControl:[], //qualityControlType796 isDefault: true,797 totalQuantity:100,798 totalWeight:100,799 passive: false800 801}802803const despatchAdviceType={804 eIntegrator: '',805 location:'',806 location2:'',807 profileId: valueType,808 ID: idType,809 uuid: valueType,810 issueDate: valueType,811 issueTime: valueType,812 despatchAdviceTypeCode: valueType,813 despatchPeriod: periodType,814 note:[valueType],815 additionalDocumentReference:[], //documentReferenceType816 orderReference:[], //orderReferenceType817 originatorDocumentReference:[], //documentReferenceType818 despatchSupplierParty:{819 party:partyType,820 despatchContact:contactType821 },822 deliveryCustomerParty:{823 party:partyType,824 deliveryContact:contactType825 },826 originatorCustomerParty:{827 party:partyType,828 deliveryContact:contactType829 },830 sellerSupplierParty:{831 party:partyType,832 despatchContact:contactType833 },834 buyerCustomerParty:{835 party:partyType,836 deliveryContact:contactType837 },838 shipment:shipmentType,839 lineCountNumeric:numberValueType,840 despatchLine:[], //despatchLineType841 localDocumentId: '',842 receiptAdvice:''843}844845846const receiptAdviceType={847 ioType:1,848 despatch:'',849 eIntegrator: '',850 profileId: valueType,851 ID: idType,852 uuid: valueType,853 issueDate: valueType,854 issueTime: valueType,855 receiptAdviceTypeCode: valueType,856 note:[valueType],857 despatchDocumentReference:documentReferenceType,858 additionalDocumentReference:[], //documentReferenceType859 orderReference:[], //orderReferenceType860 originatorDocumentReference:[], //documentReferenceType861 despatchSupplierParty:{862 party:partyType,863 despatchContact:contactType864 },865 deliveryCustomerParty:{866 party:partyType,867 deliveryContact:contactType868 },869 originatorCustomerParty:{870 party:partyType,871 deliveryContact:contactType872 },873 sellerSupplierParty:{874 party:partyType,875 despatchContact:contactType876 },877 buyerCustomerParty:{878 party:partyType,879 deliveryContact:contactType880 },881 shipment:shipmentType,882 lineCountNumeric:numberValueType,883 receiptLine:[], //receiptLineType884 localDocumentId: ''885}886887888889const receiptAdviceInfoType={890 despatch:'', //connected despatch891 receiptAdviceNumber:idType,892 localDocumentId:'',893 inboxDespatchId:valueType,894 note:valueType,895 deliveryContactName:valueType, 896 despatchContactName:valueType, 897 actualDeliveryDate:valueType, 898 receiptAdviceLineInfos:[] //receiptAdviceLineInfoType899}900901902const receiptAdviceLineInfoType={903 lineId:idType,904 timingComplaint:valueType,905 receivedQuantity:numberValueType,906 rejectedQuantity:numberValueType,907 rejectReason:valueType,908 rejectReasonCode:valueType,909 shortQuantity:numberValueType,910 oversupplyQuantity:numberValueType911}912913exports.types = Object.freeze({914 valueType:valueType,915 idType:idType,916 numberValueType:numberValueType,917 amountType:amountType,918 quantityType:quantityType,919 codeType:codeType,920 measureType:measureType,921 countryType:countryType,922 partyIdentificationType:partyIdentificationType,923 partyType:partyType,924 exchangeRateType:exchangeRateType,925 actualPackageType:actualPackageType,926 dimensionType:dimensionType,927 itemPropertyType:itemPropertyType,928 itemInstanceType:itemInstanceType,929 documentReferenceType:documentReferenceType,930 orderReferenceType:orderReferenceType,931 contactType:contactType,932 personType:personType,933 itemType:itemType,934 paymentTermsType:paymentTermsType,935 paymentMeansType:paymentMeansType,936 exchangeRateType:exchangeRateType,937 taxTotalType:taxTotalType,938 financialAccountType:financialAccountType,939 allowanceChargeType:allowanceChargeType,940 periodType:periodType,941 lineReferencetype:lineReferencetype,942 orderLineReferenceType:orderLineReferenceType,943 deliveryType:deliveryType,944 addressType:addressType,945 locationType:locationType,946 despatchType:despatchType,947 shipmentType:shipmentType,948 customsDeclarationType:customsDeclarationType,949 transportHandlingUnitType:transportHandlingUnitType,950 dimensionType:dimensionType,951 temperatureType:temperatureType,952 hazardousGoodsTransitType:hazardousGoodsTransitType,953 transportEquipmentType:transportEquipmentType,954 transportMeansType:transportMeansType,955 maritimeTransportType:maritimeTransportType,956 railTransportType:railTransportType,957 roadTransportType:roadTransportType,958 stowageType:stowageType,959 invoiceLineType:invoiceLineType,960 shipmentStageType:shipmentStageType,961 billingReferenceType:billingReferenceType,962 billingReferenceLineType:billingReferenceLineType,963 despatchLineType:despatchLineType,964 receiptLineType:receiptLineType,965 orderLineType:orderLineType,966 transactionConditionsType:transactionConditionsType,967 deliveryTermsType:deliveryTermsType,968 invoiceType:invoiceType,969 orderType:orderType,970 productionOrderType:productionOrderType,971 recipeType:recipeType,972 recipeProcessType:recipeProcessType,973 materialType:materialType,974 qualityControlType:qualityControlType,975 despatchAdviceType:despatchAdviceType,976 receiptAdviceType:receiptAdviceType977});978979 980})(typeof exports === 'undefined'? 981 this['types']={}: exports); ...

Full Screen

Full Screen

data.js

Source:data.js Github

copy

Full Screen

1const data =2 [3 {4 "type": "div",5 "childs": [6 {7 "type": "p",8 "childs": [9 {10 "type": "text",11 "text": "Support for Node.js debuggability "12 },13 {14 "type": "a",15 "childs": [16 {17 "type": "text",18 "text": "landed"19 }20 ]21 },22 {23 "type": "text",24 "text": " in Node.js in 2016. Here’s how to get up and running. "25 },26 {27 "type": "em",28 "childs": [29 {30 "type": "text",31 "text": "(Post updated Jan 2018)"32 }33 ]34 }35 ]36 },37 {38 "type": "p",39 "childs": [40 {41 "type": "strong",42 "childs": [43 {44 "type": "text",45 "text": "1. Download and install the "46 }47 ]48 },49 {50 "type": "a",51 "childs": [52 {53 "type": "strong",54 "childs": [55 {56 "type": "text",57 "text": "current version of node"58 }59 ]60 }61 ]62 },63 {64 "type": "strong",65 "childs": [66 {67 "type": "text",68 "text": ". "69 }70 ]71 },72 {73 "type": "text",74 "text": "(v6.3.0+ required)"75 }76 ]77 },78 {79 "type": "p",80 "childs": [81 {82 "type": "strong",83 "childs": [84 {85 "type": "text",86 "text": "2. Run node with the "87 }88 ]89 },90 {91 "type": "code",92 "childs": [93 {94 "type": "strong",95 "childs": [96 {97 "type": "text",98 "text": "--inspect"99 }100 ]101 }102 ]103 },104 {105 "type": "strong",106 "childs": [107 {108 "type": "text",109 "text": " flag:"110 }111 ]112 }113 ]114 },115 {116 "type": "pre",117 "childs": [118 {119 "type": "text",120 "text": "▸ "121 },122 {123 "type": "strong",124 "childs": [125 {126 "type": "text",127 "text": "node --inspect index.js"128 }129 ]130 }131 ]132 },133 {134 "type": "pre",135 "childs": [136 {137 "type": "text",138 "text": "# Break on the first statement of the script with --inspect-brk"139 }140 ]141 },142 {143 "type": "pre",144 "childs": [145 {146 "type": "text",147 "text": "▸ "148 },149 {150 "type": "strong",151 "childs": [152 {153 "type": "text",154 "text": "node --inspect-brk index.js"155 }156 ]157 }158 ]159 },160 {161 "type": "p",162 "childs": [163 {164 "type": "text",165 "text": "(In Node 6, you have to use "166 },167 {168 "type": "code",169 "childs": [170 {171 "type": "text",172 "text": "--inspect --debug-brk"173 }174 ]175 },176 {177 "type": "text",178 "text": " for this inspect & pseudo-breakpoint combo.)"179 }180 ]181 },182 {183 "type": "p",184 "childs": [185 {186 "type": "em",187 "childs": [188 {189 "type": "text",190 "text": "Next, you used to open the big "191 }192 ]193 },194 {195 "type": "code",196 "childs": [197 {198 "type": "em",199 "childs": [200 {201 "type": "text",202 "text": "chrome-devtools://"203 }204 ]205 }206 ]207 },208 {209 "type": "em",210 "childs": [211 {212 "type": "text",213 "text": " URL it spits out, "214 }215 ]216 },217 {218 "type": "strong",219 "childs": [220 {221 "type": "em",222 "childs": [223 {224 "type": "text",225 "text": "but don’t"226 }227 ]228 }229 ]230 },231 {232 "type": "em",233 "childs": [234 {235 "type": "text",236 "text": ". Now there’s a better way…"237 }238 ]239 }240 ]241 },242 {243 "type": "p",244 "childs": [245 {246 "type": "strong",247 "childs": [248 {249 "type": "text",250 "text": "3. Open "251 }252 ]253 },254 {255 "type": "code",256 "childs": [257 {258 "type": "strong",259 "childs": [260 {261 "type": "text",262 "text": "about:inspect"263 }264 ]265 }266 ]267 },268 {269 "type": "strong",270 "childs": [271 {272 "type": "text",273 "text": " in Chrome"274 }275 ]276 }277 ]278 },279 {280 "type": "p",281 "childs": [282 {283 "type": "text",284 "text": "It’ll redirect you to "285 },286 {287 "type": "code",288 "childs": [289 {290 "type": "text",291 "text": "chrome://inspect"292 }293 ]294 },295 {296 "type": "text",297 "text": " quickly and you’ll see something like:"298 }299 ]300 },301 {302 "type": "figure",303 "childs": [304 {305 "type": "div",306 "childs": [307 {308 "type": "img",309 "text": "",310 "src": "https://cdn-images-1.medium.com/max/1600/1*x4VXx50dLdD_HbqE6hpIRw.png"311 }312 ]313 },314 {315 "type": "figcaption",316 "childs": [317 {318 "type": "text",319 "text": "chrome://inspect screenshot"320 }321 ]322 }323 ]324 },325 {326 "type": "p",327 "childs": [328 {329 "type": "strong",330 "childs": [331 {332 "type": "text",333 "text": "4. Click the "334 },335 {336 "type": "em",337 "childs": [338 {339 "type": "text",340 "text": "Open dedicated DevTools for Node"341 }342 ]343 },344 {345 "type": "text",346 "text": " link."347 }348 ]349 }350 ]351 },352 {353 "type": "p",354 "childs": [355 {356 "type": "text",357 "text": "You’ll get a popup window for debugging your node session."358 }359 ]360 },361 {362 "type": "p",363 "childs": [364 {365 "type": "text",366 "text": "But better than that, when you kill and restart node, "367 },368 {369 "type": "strong",370 "childs": [371 {372 "type": "text",373 "text": "the window will automatically reconnect"374 }375 ]376 },377 {378 "type": "text",379 "text": " to it. 🔁🔁💥"380 }381 ]382 },383 {384 "type": "p",385 "childs": [386 {387 "type": "text",388 "text": "(Btw: the "389 },390 {391 "type": "strong",392 "childs": [393 {394 "type": "em",395 "childs": [396 {397 "type": "text",398 "text": "inspect"399 }400 ]401 }402 ]403 },404 {405 "type": "text",406 "text": "link beneath the specific target will only apply for that session of node and won’t reconnect.)"407 }408 ]409 },410 {411 "type": "figure",412 "childs": [413 {414 "type": "div",415 "childs": [416 {417 "type": "img",418 "text": "",419 "src": "https://cdn-images-1.medium.com/max/1600/1*iHurZ1VUsM54zGjZJHqexQ.png"420 }421 ]422 }423 ]424 },425 {426 "type": "p",427 "childs": [428 {429 "type": "text",430 "text": "In DevTools, now connected to Node, you’ll have all the Chrome DevTools features you’re used to:"431 }432 ]433 },434 {435 "type": "ul",436 "childs": [437 {438 "type": "li",439 "childs": [440 {441 "type": "text",442 "text": "Complete breakpoint debugging, stepping w/ blackboxing"443 }444 ]445 },446 {447 "type": "li",448 "childs": [449 {450 "type": "text",451 "text": "Source maps for transpiled code"452 }453 ]454 },455 {456 "type": "li",457 "childs": [458 {459 "type": "text",460 "text": "LiveEdit: JavaScript hot-swap evaluation w/ V8"461 }462 ]463 },464 {465 "type": "li",466 "childs": [467 {468 "type": "text",469 "text": "Console evaluation with ES6 feature/object support and "470 },471 {472 "type": "a",473 "childs": [474 {475 "type": "text",476 "text": "custom object formatting"477 }478 ]479 }480 ]481 },482 {483 "type": "li",484 "childs": [485 {486 "type": "text",487 "text": "Sampling JavaScript profiler w/ flamechart"488 }489 ]490 },491 {492 "type": "li",493 "childs": [494 {495 "type": "text",496 "text": "Heap snapshot inspection, heap allocation timeline, allocation profiling"497 }498 ]499 },500 {501 "type": "li",502 "childs": [503 {504 "type": "text",505 "text": "Asynchronous stacks for native promises"506 }507 ]508 }509 ]510 },511 {512 "type": "p",513 "childs": [514 {515 "type": "text",516 "text": "To see this in action, here’s my demo during the 2017 Node Summit:"517 }518 ]519 }520 ]521 }522]...

Full Screen

Full Screen

cpp_type_generator.py

Source:cpp_type_generator.py Github

copy

Full Screen

1# Copyright (c) 2012 The Chromium Authors. All rights reserved.2# Use of this source code is governed by a BSD-style license that can be3# found in the LICENSE file.4from code import Code5from model import PropertyType6import cpp_util7from json_parse import OrderedDict8import schema_util9class _TypeDependency(object):10 """Contains information about a dependency a namespace has on a type: the11 type's model, and whether that dependency is "hard" meaning that it cannot be12 forward declared.13 """14 def __init__(self, type_, hard=False):15 self.type_ = type_16 self.hard = hard17 def GetSortKey(self):18 return '%s.%s' % (self.type_.namespace.name, self.type_.name)19class CppTypeGenerator(object):20 """Manages the types of properties and provides utilities for getting the21 C++ type out of a model.Property22 """23 def __init__(self, model, schema_loader, default_namespace=None):24 """Creates a cpp_type_generator. The given root_namespace should be of the25 format extensions::api::sub. The generator will generate code suitable for26 use in the given model's namespace.27 """28 self._default_namespace = default_namespace29 if self._default_namespace is None:30 self._default_namespace = model.namespaces.values()[0]31 self._schema_loader = schema_loader32 def GetEnumNoneValue(self, type_):33 """Gets the enum value in the given model.Property indicating no value has34 been set.35 """36 return '%s_NONE' % self.FollowRef(type_).unix_name.upper()37 def GetEnumLastValue(self, type_):38 """Gets the enum value in the given model.Property indicating the last value39 for the type.40 """41 return '%s_LAST' % self.FollowRef(type_).unix_name.upper()42 def GetEnumValue(self, type_, enum_value):43 """Gets the enum value of the given model.Property of the given type.44 e.g VAR_STRING45 """46 value = cpp_util.Classname(enum_value.name.upper())47 prefix = (type_.cpp_enum_prefix_override or48 self.FollowRef(type_).unix_name)49 value = '%s_%s' % (prefix.upper(), value)50 # To avoid collisions with built-in OS_* preprocessor definitions, we add a51 # trailing slash to enum names that start with OS_.52 if value.startswith("OS_"):53 value += "_"54 return value55 def GetCppType(self, type_, is_ptr=False, is_in_container=False):56 """Translates a model.Property or model.Type into its C++ type.57 If REF types from different namespaces are referenced, will resolve58 using self._schema_loader.59 Use |is_ptr| if the type is optional. This will wrap the type in a60 scoped_ptr if possible (it is not possible to wrap an enum).61 Use |is_in_container| if the type is appearing in a collection, e.g. a62 std::vector or std::map. This will wrap it in the correct type with spacing.63 """64 cpp_type = None65 if type_.property_type == PropertyType.REF:66 ref_type = self._FindType(type_.ref_type)67 if ref_type is None:68 raise KeyError('Cannot find referenced type: %s' % type_.ref_type)69 cpp_type = self.GetCppType(ref_type)70 elif type_.property_type == PropertyType.BOOLEAN:71 cpp_type = 'bool'72 elif type_.property_type == PropertyType.INTEGER:73 cpp_type = 'int'74 elif type_.property_type == PropertyType.INT64:75 cpp_type = 'int64_t'76 elif type_.property_type == PropertyType.DOUBLE:77 cpp_type = 'double'78 elif type_.property_type == PropertyType.STRING:79 cpp_type = 'std::string'80 elif type_.property_type in (PropertyType.ENUM,81 PropertyType.OBJECT,82 PropertyType.CHOICES):83 if self._default_namespace is type_.namespace:84 cpp_type = cpp_util.Classname(type_.name)85 else:86 cpp_namespace = cpp_util.GetCppNamespace(87 type_.namespace.environment.namespace_pattern,88 type_.namespace.unix_name)89 cpp_type = '%s::%s' % (cpp_namespace,90 cpp_util.Classname(type_.name))91 elif type_.property_type == PropertyType.ANY:92 cpp_type = 'base::Value'93 elif type_.property_type == PropertyType.FUNCTION:94 # Functions come into the json schema compiler as empty objects. We can95 # record these as empty DictionaryValues so that we know if the function96 # was passed in or not.97 cpp_type = 'base::DictionaryValue'98 elif type_.property_type == PropertyType.ARRAY:99 item_cpp_type = self.GetCppType(type_.item_type, is_in_container=True)100 cpp_type = 'std::vector<%s>' % cpp_util.PadForGenerics(item_cpp_type)101 elif type_.property_type == PropertyType.BINARY:102 cpp_type = 'std::vector<char>'103 else:104 raise NotImplementedError('Cannot get type of %s' % type_.property_type)105 # HACK: optional ENUM is represented elsewhere with a _NONE value, so it106 # never needs to be wrapped in pointer shenanigans.107 # TODO(kalman): change this - but it's an exceedingly far-reaching change.108 if not self.FollowRef(type_).property_type == PropertyType.ENUM:109 is_base_value = (cpp_type == 'base::Value' or110 cpp_type == 'base::DictionaryValue')111 # Wrap ptrs and base::Values in containers (which aren't movable) in112 # scoped_ptrs.113 if is_ptr or (is_in_container and is_base_value):114 cpp_type = 'std::unique_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)115 return cpp_type116 def IsCopyable(self, type_):117 return not (self.FollowRef(type_).property_type in (PropertyType.ANY,118 PropertyType.ARRAY,119 PropertyType.OBJECT,120 PropertyType.CHOICES))121 def GenerateForwardDeclarations(self):122 """Returns the forward declarations for self._default_namespace.123 """124 c = Code()125 for namespace, deps in self._NamespaceTypeDependencies().iteritems():126 filtered_deps = [127 dep for dep in deps128 # Add more ways to forward declare things as necessary.129 if (not dep.hard and130 dep.type_.property_type in (PropertyType.CHOICES,131 PropertyType.OBJECT))]132 if not filtered_deps:133 continue134 cpp_namespace = cpp_util.GetCppNamespace(135 namespace.environment.namespace_pattern,136 namespace.unix_name)137 c.Concat(cpp_util.OpenNamespace(cpp_namespace))138 for dep in filtered_deps:139 c.Append('struct %s;' % dep.type_.name)140 c.Concat(cpp_util.CloseNamespace(cpp_namespace))141 return c142 def GenerateIncludes(self, include_soft=False):143 """Returns the #include lines for self._default_namespace.144 """145 c = Code()146 for namespace, dependencies in self._NamespaceTypeDependencies().items():147 for dependency in dependencies:148 if dependency.hard or include_soft:149 c.Append('#include "%s/%s.h"' % (namespace.source_file_dir,150 namespace.unix_name))151 return c152 def _FindType(self, full_name):153 """Finds the model.Type with name |qualified_name|. If it's not from154 |self._default_namespace| then it needs to be qualified.155 """156 namespace = self._schema_loader.ResolveType(full_name,157 self._default_namespace)158 if namespace is None:159 raise KeyError('Cannot resolve type %s. Maybe it needs a prefix '160 'if it comes from another namespace?' % full_name)161 return namespace.types[schema_util.StripNamespace(full_name)]162 def FollowRef(self, type_):163 """Follows $ref link of types to resolve the concrete type a ref refers to.164 If the property passed in is not of type PropertyType.REF, it will be165 returned unchanged.166 """167 if type_.property_type != PropertyType.REF:168 return type_169 return self.FollowRef(self._FindType(type_.ref_type))170 def _NamespaceTypeDependencies(self):171 """Returns a dict ordered by namespace name containing a mapping of172 model.Namespace to every _TypeDependency for |self._default_namespace|,173 sorted by the type's name.174 """175 dependencies = set()176 for function in self._default_namespace.functions.values():177 for param in function.params:178 dependencies |= self._TypeDependencies(param.type_,179 hard=not param.optional)180 if function.callback:181 for param in function.callback.params:182 dependencies |= self._TypeDependencies(param.type_,183 hard=not param.optional)184 for type_ in self._default_namespace.types.values():185 for prop in type_.properties.values():186 dependencies |= self._TypeDependencies(prop.type_,187 hard=not prop.optional)188 for event in self._default_namespace.events.values():189 for param in event.params:190 dependencies |= self._TypeDependencies(param.type_,191 hard=not param.optional)192 # Make sure that the dependencies are returned in alphabetical order.193 dependency_namespaces = OrderedDict()194 for dependency in sorted(dependencies, key=_TypeDependency.GetSortKey):195 namespace = dependency.type_.namespace196 if namespace is self._default_namespace:197 continue198 if namespace not in dependency_namespaces:199 dependency_namespaces[namespace] = []200 dependency_namespaces[namespace].append(dependency)201 return dependency_namespaces202 def _TypeDependencies(self, type_, hard=False):203 """Gets all the type dependencies of a property.204 """205 deps = set()206 if type_.property_type == PropertyType.REF:207 deps.add(_TypeDependency(self._FindType(type_.ref_type), hard=hard))208 elif type_.property_type == PropertyType.ARRAY:209 # Types in containers are hard dependencies because they are stored210 # directly and use move semantics.211 deps = self._TypeDependencies(type_.item_type, hard=hard)212 elif type_.property_type == PropertyType.CHOICES:213 for type_ in type_.choices:214 deps |= self._TypeDependencies(type_, hard=self.IsCopyable(type_))215 elif type_.property_type == PropertyType.OBJECT:216 for p in type_.properties.values():217 deps |= self._TypeDependencies(p.type_, hard=not p.optional)218 return deps219 def GeneratePropertyValues(self, prop, line, nodoc=False):220 """Generates the Code to display all value-containing properties.221 """222 c = Code()223 if not nodoc:224 c.Comment(prop.description)225 if prop.value is not None:226 cpp_type = self.GetCppType(prop.type_)227 cpp_value = prop.value228 if cpp_type == 'std::string':229 cpp_value = '"%s"' % cpp_type230 c.Append(line % {231 "type": cpp_type,232 "name": prop.name,233 "value": cpp_value234 })235 else:236 has_child_code = False237 c.Sblock('namespace %s {' % prop.name)238 for child_property in prop.type_.properties.values():239 child_code = self.GeneratePropertyValues(child_property,240 line,241 nodoc=nodoc)242 if child_code:243 has_child_code = True244 c.Concat(child_code)245 c.Eblock('} // namespace %s' % prop.name)246 if not has_child_code:247 c = None...

Full Screen

Full Screen

harSchema.js

Source:harSchema.js Github

copy

Full Screen

1/* See license.txt for terms of usage */2define([], function() {3// ************************************************************************************************4// HAR Schema Definition5// Date time fields use ISO8601 (YYYY-MM-DDThh:mm:ss.sTZD, e.g. 2009-07-24T19:20:30.45+01:00)6// eslint-disable-next-line max-len7var dateTimePattern = /^(\d{4})(-)?(\d\d)(-)?(\d\d)(T)?(\d\d)(:)?(\d\d)(:)?(\d\d)(\.\d+)?(Z|([+-])(\d\d)(:)?(\d\d))/;8/**9 * Root HTML Archive type.10 */11var logType = {12 "logType": {13 "id": "logType",14 "description": "HTTP Archive structure.",15 "type": "object",16 "properties": {17 "log": {18 "type": "object",19 "properties": {20 "version": {"type": "string"},21 "creator": {"$ref": "creatorType"},22 "browser": {"$ref": "browserType"},23 "pages": {"type": "array", "optional": true, "items": {"$ref": "pageType"}},24 "entries": {"type": "array", "items": {"$ref": "entryType"}},25 "comment": {"type": "string", "optional": true}26 }27 }28 }29 }30};31var creatorType = {32 "creatorType": {33 "id": "creatorType",34 "description": "Name and version info of the log creator app.",35 "type": "object",36 "properties": {37 "name": {"type": "string"},38 "version": {"type": "string"},39 "comment": {"type": "string", "optional": true}40 }41 }42};43var browserType = {44 "browserType": {45 "id": "browserType",46 "description": "Name and version info of used browser.",47 "type": "object",48 "optional": true,49 "properties": {50 "name": {"type": "string"},51 "version": {"type": "string"},52 "comment": {"type": "string", "optional": true}53 }54 }55};56var pageType = {57 "pageType": {58 "id": "pageType",59 "description": "Exported web page",60 "optional": true,61 "properties": {62 // eslint-disable-next-line max-len63 "startedDateTime": {"type": "string", "format": "date-time", "pattern": dateTimePattern},64 "id": {"type": "string", "unique": true},65 "title": {"type": "string"},66 "pageTimings": {"$ref": "pageTimingsType"},67 "comment": {"type": "string", "optional": true}68 }69 }70};71var pageTimingsType = {72 "pageTimingsType": {73 "id": "pageTimingsType",74 "description": "Timing info about page load",75 "properties": {76 "onContentLoad": {"type": "number", "optional": true, "min": -1},77 "onLoad": {"type": "number", "optional": true, "min": -1},78 "comment": {"type": "string", "optional": true}79 }80 }81};82var entryType = {83 "entryType": {84 "id": "entryType",85 "description": "Request and Response related info",86 "optional": true,87 "properties": {88 "pageref": {"type": "string", "optional": true},89 // eslint-disable-next-line max-len90 "startedDateTime": {"type": "string", "format": "date-time", "pattern": dateTimePattern},91 "time": {"type": "number", "min": 0},92 "request" : {"$ref": "requestType"},93 "response" : {"$ref": "responseType"},94 "cache" : {"$ref": "cacheType"},95 "timings" : {"$ref": "timingsType"},96 "serverIPAddress" : {"type": "string", "optional": true},97 "connection" : {"type": "string", "optional": true},98 "comment": {"type": "string", "optional": true}99 }100 }101};102var requestType = {103 "requestType": {104 "id": "requestType",105 "description": "Monitored request",106 "properties": {107 "method": {"type": "string"},108 "url": {"type": "string"},109 "httpVersion": {"type" : "string"},110 "cookies" : {"type": "array", "items": {"$ref": "cookieType"}},111 "headers" : {"type": "array", "items": {"$ref": "recordType"}},112 "queryString" : {"type": "array", "items": {"$ref": "recordType"}},113 "postData" : {"$ref": "postDataType"},114 "headersSize" : {"type": "integer"},115 "bodySize" : {"type": "integer"},116 "comment": {"type": "string", "optional": true}117 }118 }119};120var recordType = {121 "recordType": {122 "id": "recordType",123 "description": "Helper name-value pair structure.",124 "properties": {125 "name": {"type": "string"},126 "value": {"type": "string"},127 "comment": {"type": "string", "optional": true}128 }129 }130};131var responseType = {132 "responseType": {133 "id": "responseType",134 "description": "Monitored Response.",135 "properties": {136 "status": {"type": "integer"},137 "statusText": {"type": "string"},138 "httpVersion": {"type": "string"},139 "cookies" : {"type": "array", "items": {"$ref": "cookieType"}},140 "headers" : {"type": "array", "items": {"$ref": "recordType"}},141 "content" : {"$ref": "contentType"},142 "redirectURL" : {"type": "string"},143 "headersSize" : {"type": "integer"},144 "bodySize" : {"type": "integer"},145 "comment": {"type": "string", "optional": true}146 }147 }148};149// eslint-disable-next-line no-unused-vars150var cookieType = {151 "cookieType": {152 "id": "cookieType",153 "description": "Cookie description.",154 "properties": {155 "name": {"type": "string"},156 "value": {"type": "string"},157 "path": {"type": "string", "optional": true},158 "domain" : {"type": "string", "optional": true},159 "expires" : {"type": "string", "optional": true},160 "httpOnly" : {"type": "boolean", "optional": true},161 "secure" : {"type": "boolean", "optional": true},162 "comment": {"type": "string", "optional": true}163 }164 }165};166var postDataType = {167 "postDataType": {168 "id": "postDataType",169 "description": "Posted data info.",170 "optional": true,171 "properties": {172 "mimeType": {"type": "string"},173 "text": {"type": "string", "optional": true},174 "params": {175 "type": "array",176 "optional": true,177 "properties": {178 "name": {"type": "string"},179 "value": {"type": "string", "optional": true},180 "fileName": {"type": "string", "optional": true},181 "contentType": {"type": "string", "optional": true},182 "comment": {"type": "string", "optional": true}183 }184 },185 "comment": {"type": "string", "optional": true}186 }187 }188};189var contentType = {190 "contentType": {191 "id": "contentType",192 "description": "Response content",193 "properties": {194 "size": {"type": "integer"},195 "compression": {"type": "integer", "optional": true},196 "mimeType": {"type": "string"},197 "text": {"type": "string", "optional": true},198 "encoding": {"type": "string", "optional": true},199 "comment": {"type": "string", "optional": true}200 }201 }202};203var cacheType = {204 "cacheType": {205 "id": "cacheType",206 "description": "Info about a response coming from the cache.",207 "properties": {208 "beforeRequest": {"$ref": "cacheEntryType"},209 "afterRequest": {"$ref": "cacheEntryType"},210 "comment": {"type": "string", "optional": true}211 }212 }213};214var cacheEntryType = {215 "cacheEntryType": {216 "id": "cacheEntryType",217 "optional": true,218 "description": "Info about cache entry.",219 "properties": {220 "expires": {"type": "string", optional: "true"},221 "lastAccess": {"type": "string"},222 "eTag": {"type": "string"},223 "hitCount": {"type": "integer"},224 "comment": {"type": "string", "optional": true}225 }226 }227};228var timingsType = {229 "timingsType": {230 "id": "timingsType",231 "description": "Info about request-response timing.",232 "properties": {233 "dns": {"type": "number", "optional": true, "min": -1},234 "connect": {"type": "number", "optional": true, "min": -1},235 "blocked": {"type": "number", "optional": true, "min": -1},236 "send": {"type": "number", "min": -1},237 "wait": {"type": "number", "min": -1},238 "receive": {"type": "number", "min": -1},239 "ssl": {"type": "number", "optional": true, "min": -1},240 "comment": {"type": "string", "optional": true}241 }242 }243};244// ************************************************************************************************245// Helper schema object246function Schema() {}247Schema.prototype =248{249 registerType: function()250 {251 var doIt = function(my, obj){252 for (var name in obj) {253 if (obj.hasOwnProperty(name) && name !== "prototype") {254 my[name] = obj[name];255 }256 }257 };258 var that = this;259 for(var i=0; i < arguments.length; i +=1) {260 doIt(that, arguments[i]);261 }262 }263};264// ************************************************************************************************265// Registration266// Register all defined types into the final schema object.267var schema = new Schema();268schema.registerType(269 logType,270 creatorType,271 browserType,272 pageType,273 pageTimingsType,274 entryType,275 requestType,276 recordType,277 responseType,278 postDataType,279 contentType,280 cacheType,281 cacheEntryType,282 timingsType283);284// ************************************************************************************************285return schema;286// ************************************************************************************************...

Full Screen

Full Screen

MetaClasses.js

Source:MetaClasses.js Github

copy

Full Screen

1var WebExpressions;2(function (WebExpressions) {3 (function (Meta) {4 (function (ExpressionWrapperType) {5 ExpressionWrapperType[ExpressionWrapperType["Binary"] = 1] = "Binary";6 ExpressionWrapperType[ExpressionWrapperType["Constant"] = 2] = "Constant";7 ExpressionWrapperType[ExpressionWrapperType["Member"] = 3] = "Member";8 ExpressionWrapperType[ExpressionWrapperType["StaticMember"] = 4] = "StaticMember";9 ExpressionWrapperType[ExpressionWrapperType["MethodCall"] = 5] = "MethodCall";10 ExpressionWrapperType[ExpressionWrapperType["StaticMethodCall"] = 6] = "StaticMethodCall";11 ExpressionWrapperType[ExpressionWrapperType["Parameter"] = 7] = "Parameter";12 ExpressionWrapperType[ExpressionWrapperType["Unary"] = 8] = "Unary";13 ExpressionWrapperType[ExpressionWrapperType["Default"] = 9] = "Default";14 ExpressionWrapperType[ExpressionWrapperType["Block"] = 10] = "Block";15 ExpressionWrapperType[ExpressionWrapperType["Conditional"] = 11] = "Conditional";16 ExpressionWrapperType[ExpressionWrapperType["Invocation"] = 12] = "Invocation";17 ExpressionWrapperType[ExpressionWrapperType["New"] = 13] = "New";18 })(Meta.ExpressionWrapperType || (Meta.ExpressionWrapperType = {}));19 var ExpressionWrapperType = Meta.ExpressionWrapperType;20 (function (ExpressionType) {21 ExpressionType[ExpressionType["Add"] = 0] = "Add";22 ExpressionType[ExpressionType["AddChecked"] = 1] = "AddChecked";23 ExpressionType[ExpressionType["And"] = 2] = "And";24 ExpressionType[ExpressionType["AndAlso"] = 3] = "AndAlso";25 ExpressionType[ExpressionType["ArrayLength"] = 4] = "ArrayLength";26 ExpressionType[ExpressionType["ArrayIndex"] = 5] = "ArrayIndex";27 ExpressionType[ExpressionType["Call"] = 6] = "Call";28 ExpressionType[ExpressionType["Coalesce"] = 7] = "Coalesce";29 ExpressionType[ExpressionType["Conditional"] = 8] = "Conditional";30 ExpressionType[ExpressionType["Constant"] = 9] = "Constant";31 ExpressionType[ExpressionType["Convert"] = 10] = "Convert";32 ExpressionType[ExpressionType["ConvertChecked"] = 11] = "ConvertChecked";33 ExpressionType[ExpressionType["Divide"] = 12] = "Divide";34 ExpressionType[ExpressionType["Equal"] = 13] = "Equal";35 ExpressionType[ExpressionType["ExclusiveOr"] = 14] = "ExclusiveOr";36 ExpressionType[ExpressionType["GreaterThan"] = 15] = "GreaterThan";37 ExpressionType[ExpressionType["GreaterThanOrEqual"] = 16] = "GreaterThanOrEqual";38 ExpressionType[ExpressionType["Invoke"] = 17] = "Invoke";39 ExpressionType[ExpressionType["Lambda"] = 18] = "Lambda";40 ExpressionType[ExpressionType["LeftShift"] = 19] = "LeftShift";41 ExpressionType[ExpressionType["LessThan"] = 20] = "LessThan";42 ExpressionType[ExpressionType["LessThanOrEqual"] = 21] = "LessThanOrEqual";43 ExpressionType[ExpressionType["ListInit"] = 22] = "ListInit";44 ExpressionType[ExpressionType["MemberAccess"] = 23] = "MemberAccess";45 ExpressionType[ExpressionType["MemberInit"] = 24] = "MemberInit";46 ExpressionType[ExpressionType["Modulo"] = 25] = "Modulo";47 ExpressionType[ExpressionType["Multiply"] = 26] = "Multiply";48 ExpressionType[ExpressionType["MultiplyChecked"] = 27] = "MultiplyChecked";49 ExpressionType[ExpressionType["Negate"] = 28] = "Negate";50 ExpressionType[ExpressionType["UnaryPlus"] = 29] = "UnaryPlus";51 ExpressionType[ExpressionType["NegateChecked"] = 30] = "NegateChecked";52 ExpressionType[ExpressionType["New"] = 31] = "New";53 ExpressionType[ExpressionType["NewArrayInit"] = 32] = "NewArrayInit";54 ExpressionType[ExpressionType["NewArrayBounds"] = 33] = "NewArrayBounds";55 ExpressionType[ExpressionType["Not"] = 34] = "Not";56 ExpressionType[ExpressionType["NotEqual"] = 35] = "NotEqual";57 ExpressionType[ExpressionType["Or"] = 36] = "Or";58 ExpressionType[ExpressionType["OrElse"] = 37] = "OrElse";59 ExpressionType[ExpressionType["Parameter"] = 38] = "Parameter";60 ExpressionType[ExpressionType["Power"] = 39] = "Power";61 ExpressionType[ExpressionType["Quote"] = 40] = "Quote";62 ExpressionType[ExpressionType["RightShift"] = 41] = "RightShift";63 ExpressionType[ExpressionType["Subtract"] = 42] = "Subtract";64 ExpressionType[ExpressionType["SubtractChecked"] = 43] = "SubtractChecked";65 ExpressionType[ExpressionType["TypeAs"] = 44] = "TypeAs";66 ExpressionType[ExpressionType["TypeIs"] = 45] = "TypeIs";67 ExpressionType[ExpressionType["Assign"] = 46] = "Assign";68 ExpressionType[ExpressionType["Block"] = 47] = "Block";69 ExpressionType[ExpressionType["DebugInfo"] = 48] = "DebugInfo";70 ExpressionType[ExpressionType["Decrement"] = 49] = "Decrement";71 ExpressionType[ExpressionType["Dynamic"] = 50] = "Dynamic";72 ExpressionType[ExpressionType["Default"] = 51] = "Default";73 ExpressionType[ExpressionType["Extension"] = 52] = "Extension";74 ExpressionType[ExpressionType["Goto"] = 53] = "Goto";75 ExpressionType[ExpressionType["Increment"] = 54] = "Increment";76 ExpressionType[ExpressionType["Index"] = 55] = "Index";77 ExpressionType[ExpressionType["Label"] = 56] = "Label";78 ExpressionType[ExpressionType["RuntimeVariables"] = 57] = "RuntimeVariables";79 ExpressionType[ExpressionType["Loop"] = 58] = "Loop";80 ExpressionType[ExpressionType["Switch"] = 59] = "Switch";81 ExpressionType[ExpressionType["Throw"] = 60] = "Throw";82 ExpressionType[ExpressionType["Try"] = 61] = "Try";83 ExpressionType[ExpressionType["Unbox"] = 62] = "Unbox";84 ExpressionType[ExpressionType["AddAssign"] = 63] = "AddAssign";85 ExpressionType[ExpressionType["AndAssign"] = 64] = "AndAssign";86 ExpressionType[ExpressionType["DivideAssign"] = 65] = "DivideAssign";87 ExpressionType[ExpressionType["ExclusiveOrAssign"] = 66] = "ExclusiveOrAssign";88 ExpressionType[ExpressionType["LeftShiftAssign"] = 67] = "LeftShiftAssign";89 ExpressionType[ExpressionType["ModuloAssign"] = 68] = "ModuloAssign";90 ExpressionType[ExpressionType["MultiplyAssign"] = 69] = "MultiplyAssign";91 ExpressionType[ExpressionType["OrAssign"] = 70] = "OrAssign";92 ExpressionType[ExpressionType["PowerAssign"] = 71] = "PowerAssign";93 ExpressionType[ExpressionType["RightShiftAssign"] = 72] = "RightShiftAssign";94 ExpressionType[ExpressionType["SubtractAssign"] = 73] = "SubtractAssign";95 ExpressionType[ExpressionType["AddAssignChecked"] = 74] = "AddAssignChecked";96 ExpressionType[ExpressionType["MultiplyAssignChecked"] = 75] = "MultiplyAssignChecked";97 ExpressionType[ExpressionType["SubtractAssignChecked"] = 76] = "SubtractAssignChecked";98 ExpressionType[ExpressionType["PreIncrementAssign"] = 77] = "PreIncrementAssign";99 ExpressionType[ExpressionType["PreDecrementAssign"] = 78] = "PreDecrementAssign";100 ExpressionType[ExpressionType["PostIncrementAssign"] = 79] = "PostIncrementAssign";101 ExpressionType[ExpressionType["PostDecrementAssign"] = 80] = "PostDecrementAssign";102 ExpressionType[ExpressionType["TypeEqual"] = 81] = "TypeEqual";103 ExpressionType[ExpressionType["OnesComplement"] = 82] = "OnesComplement";104 ExpressionType[ExpressionType["IsTrue"] = 83] = "IsTrue";105 ExpressionType[ExpressionType["IsFalse"] = 84] = "IsFalse";106 })(Meta.ExpressionType || (Meta.ExpressionType = {}));107 var ExpressionType = Meta.ExpressionType;108 })(WebExpressions.Meta || (WebExpressions.Meta = {}));109 var Meta = WebExpressions.Meta;...

Full Screen

Full Screen

types.py

Source:types.py Github

copy

Full Screen

...5# Iterators in Python aren't a matter of type but of protocol. A large6# and changing number of builtin types implement *some* flavor of7# iterator. Don't check the type! Use hasattr to check for both8# "__iter__" and "next" attributes instead.9NoneType = type(None)10TypeType = type11ObjectType = object12IntType = int13LongType = long14FloatType = float15BooleanType = bool16try:17 ComplexType = complex18except NameError:19 pass20StringType = str21# StringTypes is already outdated. Instead of writing "type(x) in22# types.StringTypes", you should use "isinstance(x, basestring)". But23# we keep around for compatibility with Python 2.2.24try:25 UnicodeType = unicode26 StringTypes = (StringType, UnicodeType)27except NameError:28 StringTypes = (StringType,)29BufferType = buffer30TupleType = tuple31ListType = list32DictType = DictionaryType = dict33def _f(): pass34FunctionType = type(_f)35LambdaType = type(lambda: None) # Same as FunctionType36CodeType = type(_f.func_code)37def _g():38 yield 139GeneratorType = type(_g())40class _C:41 def _m(self): pass42ClassType = type(_C)43UnboundMethodType = type(_C._m) # Same as MethodType44_x = _C()45InstanceType = type(_x)46MethodType = type(_x._m)47BuiltinFunctionType = type(len)48BuiltinMethodType = type([].append) # Same as BuiltinFunctionType49ModuleType = type(sys)50FileType = file51XRangeType = xrange52try:53 raise TypeError54except TypeError:55 tb = sys.exc_info()[2]56 TracebackType = type(tb)57 FrameType = type(tb.tb_frame)58 del tb59SliceType = slice60EllipsisType = type(Ellipsis)61DictProxyType = type(TypeType.__dict__)62NotImplementedType = type(NotImplemented)63# For Jython, the following two types are identical64GetSetDescriptorType = type(FunctionType.func_code)65MemberDescriptorType = type(FunctionType.func_globals)66del sys, _f, _g, _C, _x # Not for export...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.type('#navbar-search', 'Hello World');7 await page.screenshot({ path: `example.png` });8 await browser.close();9})();

Full Screen

Using AI Code Generation

copy

Full Screen

1const path = require('path');2const { chromium } = require('playwright');3(async () => {4 const browser = await chromium.launch();5 const context = await browser.newContext();6 const page = await context.newPage();7 await page.screenshot({ path: path.join(__dirname, 'example.png') });8 await browser.close();9})();10const { chromium } = require('playwright');11(async () => {12 const browser = await chromium.launch();13 const context = await browser.newContext();14 const page = await context.newPage();15 await page.screenshot({ path: 'example.png' });16 await browser.close();17})();18const { chromium } = require('playwright');19(async () => {20 const browser = await chromium.launch();21 const context = await browser.newContext();22 const page = await context.newPage();23 await page.screenshot({ path: 'example.png' });24 await browser.close();25})();26const { chromium } = require('playwright');27(async () => {28 const browser = await chromium.launch();29 const context = await browser.newContext();30 const page = await context.newPage();31 await page.screenshot({ path: 'example.png' });32 await browser.close();33})();34const { chromium } = require('playwright');35(async () => {36 const browser = await chromium.launch();37 const context = await browser.newContext();38 const page = await context.newPage();39 await page.screenshot({ path: 'example.png' });40 await browser.close();41})();42const { chromium } = require('playwright');43(async () => {44 const browser = await chromium.launch();45 const context = await browser.newContext();46 const page = await context.newPage();47 await page.goto('

Full Screen

Using AI Code Generation

copy

Full Screen

1const { type } = require('@playwright/test/lib/server/keyboard');2const { chromium } = require('playwright');3(async () => {4 const browser = await chromium.launch();5 const context = await browser.newContext();6 const page = await context.newPage();7 await page.type('input[name="q"]', "Hello World!");8 await page.click('input[name="btnK"]');9 await page.waitForNavigation();10 await page.screenshot({ path: `example.png` });11 await browser.close();12})();13const { type } = require('@playwright/test/lib/server/keyboard');14const { chromium } = require('playwright');15(async () => {16 const browser = await chromium.launch();17 const context = await browser.newContext();18 const page = await context.newPage();19 await page.type('input[name="q"]', "Hello World!");20 await page.click('input[name="btnK"]');21 await page.waitForNavigation();22 await page.screenshot({ path: `example.png` });23 await browser.close();24})();25const { type } = require('@playwright/test/lib/server/keyboard');26const { chromium } = require('playwright');27(async () => {28 const browser = await chromium.launch();29 const context = await browser.newContext();30 const page = await context.newPage();31 await page.type('input[name="q"]', "Hello World!");32 await page.click('input[name="btnK"]');33 await page.waitForNavigation();34 await page.screenshot({ path: `example.png` });35 await browser.close();36})();37const { type } = require('@playwright/test/lib/server/keyboard');38const { chromium } = require('playwright');39(async () => {40 const browser = await chromium.launch();41 const context = await browser.newContext();42 const page = await context.newPage();43 await page.type('input[name="q"]', "Hello World!");44 await page.click('input[name="btnK"]');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const page = await browser.newPage();5 await page.goto(url);6 const elementHandle = await page.$('text=Get started');7 const boundingBox = await elementHandle.boundingBox();8 console.log(boundingBox);9 await browser.close();10})();11const { chromium } = require('playwright');12const { Browser, Page, ElementHandle } = require('playwright');13(async () => {14 const browser = await chromium.launch();15 const page = await browser.newPage();16 await page.goto(url);17 const elementHandle = await page.$('text=Get started');18 const boundingBox = await elementHandle.boundingBox();19 console.log(boundingBox);20 await browser.close();21})();22const { chromium } = require('playwright');23const { Browser, Page, ElementHandle } = require('playwright');24const { chromium } = require('playwright');25(async () => {26 const browser = await chromium.launch();27 const page = await browser.newPage();28 await page.goto(url);29 const elementHandle = await page.$('text=Get started');30 const boundingBox = await elementHandle.boundingBox();31 console.log(boundingBox);32 await browser.close();33})();34const { chromium } = require('playwright');35const { Browser, Page, ElementHandle } = require('playwright');36(async () => {37 const browser = await chromium.launch();38 const page = await browser.newPage();39 await page.goto(url);40 const elementHandle = await page.$('text=Get started');41 const boundingBox = await elementHandle.boundingBox();42 console.log(boundingBox);43 await browser.close();44})();45const { chromium } = require('playwright');46const { Browser, Page, ElementHandle } = require('playwright');47(async () => {48 const browser = await chromium.launch();49 const page = await browser.newPage();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch({ headless: false });4 const context = await browser.newContext();5 const page = await context.newPage();6 const element = await page.$('text=Get started');7 const type = await element.type();8 console.log(type);9 await browser.close();10})();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { type } = require('@playwright/test/lib/utils/keyboard');2const { type } = require('@playwright/test/lib/utils/keyboard');3const { type } = require('@playwright/test/lib/utils/keyboard');4const { type } = require('@playwright/test/lib/utils/keyboard');5const { type } = require('@playwright/test/lib/utils/keyboard');6const { type } = require('@playwright/test/lib/utils/keyboard');7const { type } = require('@playwright/test/lib/utils/keyboard');8const { type } = require('@playwright/test/lib/utils/keyboard');9const { type } = require('@playwright/test/lib/utils/keyboard');10const { type } = require('@playwright/test/lib/utils/keyboard');11const { type } = require('@playwright/test/lib/utils/keyboard');12const { type } = require('@playwright/test/lib/utils/keyboard');13const { type } = require('@playwright/test/lib/utils/keyboard');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { type } = require(‘@playwright/test/lib/server/input.js’);2const { chromium } = require(‘playwright’);3(async () => {4 const browser = await chromium.launch();5 const context = await browser.newContext();6 const page = await context.newPage();7 await type(page, ‘Hello’, {delay: 100});8 await browser.close();9})();10const { type } = require(‘@playwright/test/lib/server/input.js’);11const { chromium } = require(‘playwright’);12(async () => {13 const browser = await chromium.launch();14 const context = await browser.newContext();15 const page = await context.newPage();16 await type(page, ‘Hello’, {delay: 100});17 await browser.close();18})();19const { type } = require(‘@playwright/test/lib/server/input.js’);20const { chromium } = require(‘playwright’);21(async () => {22 const browser = await chromium.launch();23 const context = await browser.newContext();24 const page = await context.newPage();25 await type(page, ‘Hello’, {delay: 100});26 await browser.close();27})();28const { type } = require(‘@playwright/test/lib/server/input.js’);29const { chromium } = require(‘playwright’);30(async () => {31 const browser = await chromium.launch();32 const context = await browser.newContext();33 const page = await context.newPage();34 await type(page, ‘Hello’, {delay: 100});35 await browser.close();36})();37const { type } = require(‘@playwright/test/lib/server/input.js’);38const { chromium } = require(‘playwright’);39(async () => {40 const browser = await chromium.launch();41 const context = await browser.newContext();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { type } = require('@playwright/test/lib/autotools');2type('hello world');3module.exports = {4 test: {5 params: {6 },7 },8};9const { test } = require('@playwright/test');10test('test', async ({ page, testInfo }) => {11 const text = await page.innerText('.header-name');12 expect(text).toBe(test.params.name);13});14const { test } = require('@playwright/test');15test.use({ contextOptions: { viewport: null } });16test('test 1', async ({ context }) => {17});18test('test 2', async ({ context }) => {19});20const { test } = require('@playwright/test');21test.use({ pageOptions: { viewport: null } });22test('test 1', async ({ page }) => {23});24test('test

Full Screen

Playwright tutorial

LambdaTest’s Playwright tutorial will give you a broader idea about the Playwright automation framework, its unique features, and use cases with examples to exceed your understanding of Playwright testing. This tutorial will give A to Z guidance, from installing the Playwright framework to some best practices and advanced concepts.

Chapters:

  1. What is Playwright : Playwright is comparatively new but has gained good popularity. Get to know some history of the Playwright with some interesting facts connected with it.
  2. How To Install Playwright : Learn in detail about what basic configuration and dependencies are required for installing Playwright and run a test. Get a step-by-step direction for installing the Playwright automation framework.
  3. Playwright Futuristic Features: Launched in 2020, Playwright gained huge popularity quickly because of some obliging features such as Playwright Test Generator and Inspector, Playwright Reporter, Playwright auto-waiting mechanism and etc. Read up on those features to master Playwright testing.
  4. What is Component Testing: Component testing in Playwright is a unique feature that allows a tester to test a single component of a web application without integrating them with other elements. Learn how to perform Component testing on the Playwright automation framework.
  5. Inputs And Buttons In Playwright: Every website has Input boxes and buttons; learn about testing inputs and buttons with different scenarios and examples.
  6. Functions and Selectors in Playwright: Learn how to launch the Chromium browser with Playwright. Also, gain a better understanding of some important functions like “BrowserContext,” which allows you to run multiple browser sessions, and “newPage” which interacts with a page.
  7. Handling Alerts and Dropdowns in Playwright : Playwright interact with different types of alerts and pop-ups, such as simple, confirmation, and prompt, and different types of dropdowns, such as single selector and multi-selector get your hands-on with handling alerts and dropdown in Playright testing.
  8. Playwright vs Puppeteer: Get to know about the difference between two testing frameworks and how they are different than one another, which browsers they support, and what features they provide.
  9. Run Playwright Tests on LambdaTest: Playwright testing with LambdaTest leverages test performance to the utmost. You can run multiple Playwright tests in Parallel with the LammbdaTest test cloud. Get a step-by-step guide to run your Playwright test on the LambdaTest platform.
  10. Playwright Python Tutorial: Playwright automation framework support all major languages such as Python, JavaScript, TypeScript, .NET and etc. However, there are various advantages to Python end-to-end testing with Playwright because of its versatile utility. Get the hang of Playwright python testing with this chapter.
  11. Playwright End To End Testing Tutorial: Get your hands on with Playwright end-to-end testing and learn to use some exciting features such as TraceViewer, Debugging, Networking, Component testing, Visual testing, and many more.
  12. Playwright Video Tutorial: Watch the video tutorials on Playwright testing from experts and get a consecutive in-depth explanation of Playwright automation testing.

Run Playwright Internal automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful