lemon-core 2.2.17 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/common/test-helper.js +1 -1
- package/dist/common/test-helper.js.map +1 -1
- package/dist/controllers/dummy-controller.js.map +1 -1
- package/dist/cores/api-service.js.map +1 -1
- package/dist/cores/aws/aws-s3-service.d.ts +24 -46
- package/dist/cores/aws/aws-s3-service.js +103 -223
- package/dist/cores/aws/aws-s3-service.js.map +1 -1
- package/dist/cores/aws/aws-sns-service.js +3 -3
- package/dist/cores/aws/aws-sns-service.js.map +1 -1
- package/dist/cores/core-types.d.ts +98 -2
- package/dist/cores/core-types.js +1 -0
- package/dist/cores/core-types.js.map +1 -1
- package/dist/cores/dynamo-service.js +2 -2
- package/dist/cores/dynamo-service.js.map +1 -1
- package/dist/cores/elastic6-query-service.d.ts +42 -9
- package/dist/cores/elastic6-query-service.js +144 -127
- package/dist/cores/elastic6-query-service.js.map +1 -1
- package/dist/cores/elastic6-service.d.ts +144 -57
- package/dist/cores/elastic6-service.js +506 -321
- package/dist/cores/elastic6-service.js.map +1 -1
- package/dist/cores/lambda/lambda-cognito-handler.js.map +1 -1
- package/dist/cores/lambda/lambda-cron-handler.js.map +1 -1
- package/dist/cores/lambda/lambda-dynamo-stream-handler.js +3 -3
- package/dist/cores/lambda/lambda-dynamo-stream-handler.js.map +1 -1
- package/dist/cores/lambda/lambda-notification-handler.js.map +1 -1
- package/dist/cores/lambda/lambda-sns-handler.js.map +1 -1
- package/dist/cores/lambda/lambda-web-handler.js +2 -4
- package/dist/cores/lambda/lambda-web-handler.js.map +1 -1
- package/dist/cores/lambda/lambda-wss-handler.js.map +1 -1
- package/dist/cores/model-manager.d.ts +4 -1
- package/dist/cores/model-manager.js +9 -4
- package/dist/cores/model-manager.js.map +1 -1
- package/dist/cores/protocol/protocol-service.d.ts +1 -2
- package/dist/cores/protocol/protocol-service.js +5 -3
- package/dist/cores/protocol/protocol-service.js.map +1 -1
- package/dist/engine/builder.d.ts +1 -0
- package/dist/engine/builder.js +1 -1
- package/dist/engine/builder.js.map +1 -1
- package/dist/engine/engine.js +2 -1
- package/dist/engine/engine.js.map +1 -1
- package/dist/engine/index.d.ts +0 -1
- package/dist/engine/index.js +2 -4
- package/dist/engine/index.js.map +1 -1
- package/dist/engine/types.d.ts +0 -4
- package/dist/engine/types.js.map +1 -1
- package/dist/engine/utilities.d.ts +5 -1
- package/dist/engine/utilities.js +126 -11
- package/dist/engine/utilities.js.map +1 -1
- package/dist/tools/express.js +0 -3
- package/dist/tools/express.js.map +1 -1
- package/package.json +7 -13
- package/CHANGELOG.md +0 -61
- package/dist/docs/assets/css/main.css +0 -2321
- package/dist/docs/assets/images/icons.png +0 -0
- package/dist/docs/assets/images/icons@2x.png +0 -0
- package/dist/docs/assets/images/widgets.png +0 -0
- package/dist/docs/assets/images/widgets@2x.png +0 -0
- package/dist/docs/assets/js/main.js +0 -1
- package/dist/docs/assets/js/search.js +0 -3
- package/dist/docs/classes/abstractmanager.html +0 -1034
- package/dist/docs/classes/apiproxyclient.html +0 -509
- package/dist/docs/classes/apiservice.html +0 -805
- package/dist/docs/classes/awskmsservice.html +0 -468
- package/dist/docs/classes/awsmodule.html +0 -353
- package/dist/docs/classes/awss3service.html +0 -689
- package/dist/docs/classes/awssnsservice.html +0 -543
- package/dist/docs/classes/awssqsservice.html +0 -517
- package/dist/docs/classes/cacheservice.html +0 -996
- package/dist/docs/classes/configmodule.html +0 -311
- package/dist/docs/classes/dummycacheservice.html +0 -1000
- package/dist/docs/classes/dummycontroller.html +0 -709
- package/dist/docs/classes/dummydynamoservice.html +0 -915
- package/dist/docs/classes/dummyelastic6service.html +0 -791
- package/dist/docs/classes/dummyredisstorageservice.html +0 -804
- package/dist/docs/classes/dummystoragemaker.html +0 -383
- package/dist/docs/classes/dummystorageservice.html +0 -592
- package/dist/docs/classes/dynamoqueryservice.html +0 -413
- package/dist/docs/classes/dynamoscanservice.html +0 -358
- package/dist/docs/classes/dynamoservice.html +0 -844
- package/dist/docs/classes/dynamostorageservice.html +0 -623
- package/dist/docs/classes/elastic6queryservice.html +0 -458
- package/dist/docs/classes/elastic6service.html +0 -804
- package/dist/docs/classes/file.html +0 -579
- package/dist/docs/classes/generalapicontroller.html +0 -877
- package/dist/docs/classes/generalcontroller.html +0 -454
- package/dist/docs/classes/generalcontrollerlocal.html +0 -499
- package/dist/docs/classes/generalcontrollerlocal2.html +0 -523
- package/dist/docs/classes/generalkeymaker.html +0 -335
- package/dist/docs/classes/generalmodelfilter.html +0 -529
- package/dist/docs/classes/generalwebcontroller.html +0 -580
- package/dist/docs/classes/hangulservice.html +0 -636
- package/dist/docs/classes/httpstorageservice.html +0 -539
- package/dist/docs/classes/lambdacognitohandler.html +0 -355
- package/dist/docs/classes/lambdacronhandler.html +0 -390
- package/dist/docs/classes/lambdacronhandlerlocal.html +0 -371
- package/dist/docs/classes/lambdadynamostreamhandler.html +0 -472
- package/dist/docs/classes/lambdadynamostreamhandlerlocal.html +0 -455
- package/dist/docs/classes/lambdahandler.html +0 -479
- package/dist/docs/classes/lambdahandlerlocal.html +0 -472
- package/dist/docs/classes/lambdamodule.html +0 -433
- package/dist/docs/classes/lambdanotificationhandler.html +0 -474
- package/dist/docs/classes/lambdanotificationhandlerlocal.html +0 -457
- package/dist/docs/classes/lambdasnshandler.html +0 -394
- package/dist/docs/classes/lambdasnshandlerlocal.html +0 -397
- package/dist/docs/classes/lambdasqshandler.html +0 -394
- package/dist/docs/classes/lambdasqshandlerlocal.html +0 -397
- package/dist/docs/classes/lambdasubhandler.html +0 -305
- package/dist/docs/classes/lambdawebhandler.html +0 -603
- package/dist/docs/classes/lambdawebhandlerlocal.html +0 -581
- package/dist/docs/classes/lambdawsshandler.html +0 -359
- package/dist/docs/classes/memcachedbackend.html +0 -900
- package/dist/docs/classes/mocksapiservice.html +0 -691
- package/dist/docs/classes/modelutil.html +0 -311
- package/dist/docs/classes/myconfigservice.html +0 -561
- package/dist/docs/classes/myconfigservicetest.html +0 -527
- package/dist/docs/classes/myconfigservicetest2.html +0 -522
- package/dist/docs/classes/mydummysqsservice.html +0 -419
- package/dist/docs/classes/myenginemodules.html +0 -357
- package/dist/docs/classes/mygeneralapicontroller.html +0 -837
- package/dist/docs/classes/mylemonwebcontroller.html +0 -356
- package/dist/docs/classes/mymodelfilter.html +0 -479
- package/dist/docs/classes/myprotocolservice.html +0 -993
- package/dist/docs/classes/myprotocolservicetest.html +0 -983
- package/dist/docs/classes/myservice.html +0 -329
- package/dist/docs/classes/mystorage.html +0 -1370
- package/dist/docs/classes/nodecachebackend.html +0 -714
- package/dist/docs/classes/protocolmodule.html +0 -311
- package/dist/docs/classes/proxystorageservice.html +0 -1441
- package/dist/docs/classes/query.html +0 -850
- package/dist/docs/classes/redisbackend.html +0 -781
- package/dist/docs/classes/redisstorageservice.html +0 -867
- package/dist/docs/classes/scan.html +0 -685
- package/dist/docs/classes/snsprotocoltransformer.html +0 -334
- package/dist/docs/classes/sqsprotocoltransformer.html +0 -334
- package/dist/docs/classes/typedstorageservice.html +0 -914
- package/dist/docs/classes/uniquefieldmanager.html +0 -477
- package/dist/docs/classes/usermanager.html +0 -919
- package/dist/docs/classes/utilities.html +0 -1914
- package/dist/docs/classes/webprotocoltransformer.html +0 -330
- package/dist/docs/globals.html +0 -7477
- package/dist/docs/index.html +0 -1511
- package/dist/docs/interfaces/accountitem.html +0 -277
- package/dist/docs/interfaces/accountmodel.html +0 -306
- package/dist/docs/interfaces/adaptiveparam.html +0 -203
- package/dist/docs/interfaces/apiheaders.html +0 -183
- package/dist/docs/interfaces/apihttpproxy.html +0 -304
- package/dist/docs/interfaces/apiserviceclient.html +0 -448
- package/dist/docs/interfaces/autocompletesearchparam.html +0 -282
- package/dist/docs/interfaces/betweencondition.html +0 -226
- package/dist/docs/interfaces/cachebackend.html +0 -714
- package/dist/docs/interfaces/cacheentry.html +0 -248
- package/dist/docs/interfaces/cacheoptions.html +0 -267
- package/dist/docs/interfaces/callbackdata.html +0 -279
- package/dist/docs/interfaces/callbackparam.html +0 -252
- package/dist/docs/interfaces/comparisoncondition.html +0 -226
- package/dist/docs/interfaces/coreconfigservice.html +0 -342
- package/dist/docs/interfaces/corekey.html +0 -278
- package/dist/docs/interfaces/corekeymakeable.html +0 -292
- package/dist/docs/interfaces/corekmsservice.html +0 -311
- package/dist/docs/interfaces/coremodel.html +0 -499
- package/dist/docs/interfaces/coremodelfilterable.html +0 -281
- package/dist/docs/interfaces/cores3service.html +0 -485
- package/dist/docs/interfaces/coreservices.html +0 -232
- package/dist/docs/interfaces/coresnsservice.html +0 -317
- package/dist/docs/interfaces/corewebcontroller.html +0 -271
- package/dist/docs/interfaces/cronevent.html +0 -223
- package/dist/docs/interfaces/cronparam.html +0 -212
- package/dist/docs/interfaces/dynamooption.html +0 -254
- package/dist/docs/interfaces/dynamoqueryresult.html +0 -244
- package/dist/docs/interfaces/dynamoscanresult.html +0 -244
- package/dist/docs/interfaces/dynamosimplequeriable.html +0 -308
- package/dist/docs/interfaces/dynamosimplescannable.html +0 -255
- package/dist/docs/interfaces/dynamostreambody.html +0 -268
- package/dist/docs/interfaces/dynamostreamcallback.html +0 -209
- package/dist/docs/interfaces/dynamostreamfilter.html +0 -218
- package/dist/docs/interfaces/dynamostreamparam.html +0 -240
- package/dist/docs/interfaces/elastic6item.html +0 -221
- package/dist/docs/interfaces/elastic6option.html +0 -275
- package/dist/docs/interfaces/elastic6simplequeriable.html +0 -284
- package/dist/docs/interfaces/engineconsole.html +0 -292
- package/dist/docs/interfaces/enginecore.html +0 -344
- package/dist/docs/interfaces/enginemodule.html +0 -269
- package/dist/docs/interfaces/enginemodules.html +0 -316
- package/dist/docs/interfaces/engineoption.html +0 -244
- package/dist/docs/interfaces/enginescope.html +0 -220
- package/dist/docs/interfaces/existencecondition.html +0 -212
- package/dist/docs/interfaces/filter.html +0 -253
- package/dist/docs/interfaces/generalfuntion.html +0 -207
- package/dist/docs/interfaces/generalitem.html +0 -212
- package/dist/docs/interfaces/handlermap.html +0 -171
- package/dist/docs/interfaces/incrementable.html +0 -190
- package/dist/docs/interfaces/internalkey.html +0 -210
- package/dist/docs/interfaces/internalmodel.html +0 -226
- package/dist/docs/interfaces/itementry.html +0 -241
- package/dist/docs/interfaces/jwtcommon.html +0 -242
- package/dist/docs/interfaces/lambdahandlerservice.html +0 -340
- package/dist/docs/interfaces/lemonengine.html +0 -593
- package/dist/docs/interfaces/metricpostbody.html +0 -220
- package/dist/docs/interfaces/mygeneral.html +0 -271
- package/dist/docs/interfaces/mymodel.html +0 -554
- package/dist/docs/interfaces/myprotocolparam.html +0 -359
- package/dist/docs/interfaces/nextcontext.html +0 -381
- package/dist/docs/interfaces/nextidentity.html +0 -325
- package/dist/docs/interfaces/nextidentityaccess.html +0 -495
- package/dist/docs/interfaces/nextidentitycognito.html +0 -422
- package/dist/docs/interfaces/notificationbody.html +0 -171
- package/dist/docs/interfaces/notificationparam.html +0 -304
- package/dist/docs/interfaces/options.html +0 -226
- package/dist/docs/interfaces/parrallelcallback.html +0 -203
- package/dist/docs/interfaces/parrallelparam.html +0 -285
- package/dist/docs/interfaces/protocolbody.html +0 -183
- package/dist/docs/interfaces/protocolparam.html +0 -336
- package/dist/docs/interfaces/protocolservice.html +0 -548
- package/dist/docs/interfaces/protocoltransformer.html +0 -295
- package/dist/docs/interfaces/proxyparams.html +0 -212
- package/dist/docs/interfaces/putobjectresult.html +0 -282
- package/dist/docs/interfaces/queryresult.html +0 -272
- package/dist/docs/interfaces/redisoptions.html +0 -248
- package/dist/docs/interfaces/simplesearchparam.html +0 -351
- package/dist/docs/interfaces/slackaction.html +0 -240
- package/dist/docs/interfaces/slackattachment.html +0 -459
- package/dist/docs/interfaces/slackpostbody.html +0 -240
- package/dist/docs/interfaces/sqsattribute.html +0 -171
- package/dist/docs/interfaces/sqsmessage.html +0 -254
- package/dist/docs/interfaces/sqsrecord.html +0 -324
- package/dist/docs/interfaces/sqsservice.html +0 -333
- package/dist/docs/interfaces/sqsstatistics.html +0 -240
- package/dist/docs/interfaces/storagemakeable.html +0 -258
- package/dist/docs/interfaces/storagemodel.html +0 -285
- package/dist/docs/interfaces/storageservice.html +0 -497
- package/dist/docs/interfaces/stringcondition.html +0 -226
- package/dist/docs/interfaces/tagset.html +0 -171
- package/dist/docs/interfaces/testmodel.html +0 -334
- package/dist/docs/interfaces/timeout.html +0 -233
- package/dist/docs/interfaces/updatable.html +0 -193
- package/dist/docs/interfaces/user.html +0 -534
|
@@ -1,579 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>File | lemon-core - v2.2.17</title>
|
|
7
|
-
<meta name="description" content="">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<header>
|
|
13
|
-
<div class="tsd-page-toolbar">
|
|
14
|
-
<div class="container">
|
|
15
|
-
<div class="table-wrap">
|
|
16
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
|
|
17
|
-
<div class="field">
|
|
18
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
19
|
-
<input id="tsd-search-field" type="text" />
|
|
20
|
-
</div>
|
|
21
|
-
<ul class="results">
|
|
22
|
-
<li class="state loading">Preparing search index...</li>
|
|
23
|
-
<li class="state failure">The search index is not available</li>
|
|
24
|
-
</ul>
|
|
25
|
-
<a href="../index.html" class="title">lemon-core - v2.2.17</a>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="table-cell" id="tsd-widgets">
|
|
28
|
-
<div id="tsd-filter">
|
|
29
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
30
|
-
<div class="tsd-filter-group">
|
|
31
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
32
|
-
<span class="tsd-select-label">All</span>
|
|
33
|
-
<ul class="tsd-select-list">
|
|
34
|
-
<li data-value="public">Public</li>
|
|
35
|
-
<li data-value="protected">Public/Protected</li>
|
|
36
|
-
<li data-value="private" class="selected">All</li>
|
|
37
|
-
</ul>
|
|
38
|
-
</div>
|
|
39
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
40
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
41
|
-
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
42
|
-
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
43
|
-
<input type="checkbox" id="tsd-filter-only-exported" />
|
|
44
|
-
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="tsd-page-title">
|
|
53
|
-
<div class="container">
|
|
54
|
-
<ul class="tsd-breadcrumb">
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../globals.html">Globals</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="file.html">File</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Class File</h1>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</header>
|
|
66
|
-
<div class="container container-main">
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div class="col-8 col-content">
|
|
69
|
-
<section class="tsd-panel tsd-comment">
|
|
70
|
-
<div class="tsd-comment tsd-typography">
|
|
71
|
-
<div class="lead">
|
|
72
|
-
<p>class <code>File</code></p>
|
|
73
|
-
<ul>
|
|
74
|
-
<li>util class to get content information</li>
|
|
75
|
-
</ul>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</section>
|
|
79
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
80
|
-
<h3>Hierarchy</h3>
|
|
81
|
-
<ul class="tsd-hierarchy">
|
|
82
|
-
<li>
|
|
83
|
-
<span class="target">File</span>
|
|
84
|
-
</li>
|
|
85
|
-
</ul>
|
|
86
|
-
</section>
|
|
87
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
88
|
-
<h2>Index</h2>
|
|
89
|
-
<section class="tsd-panel tsd-index-panel">
|
|
90
|
-
<div class="tsd-index-content">
|
|
91
|
-
<section class="tsd-index-section tsd-is-not-exported">
|
|
92
|
-
<h3>Constructors</h3>
|
|
93
|
-
<ul class="tsd-index-list">
|
|
94
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
95
|
-
</ul>
|
|
96
|
-
</section>
|
|
97
|
-
<section class="tsd-index-section tsd-is-not-exported">
|
|
98
|
-
<h3>Properties</h3>
|
|
99
|
-
<ul class="tsd-index-list">
|
|
100
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#encoding" class="tsd-kind-icon">ENCODING</a></li>
|
|
101
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported"><a href="file.html#_buffer" class="tsd-kind-icon">_buffer</a></li>
|
|
102
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported"><a href="file.html#_contentlength" class="tsd-kind-icon">_content<wbr>Length</a></li>
|
|
103
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported"><a href="file.html#_contentmd5" class="tsd-kind-icon">_contentMD5</a></li>
|
|
104
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported"><a href="file.html#_contenttype" class="tsd-kind-icon">_content<wbr>Type</a></li>
|
|
105
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#isremotefile" class="tsd-kind-icon">is<wbr>Remote<wbr>File</a></li>
|
|
106
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported"><a href="file.html#urlobject" class="tsd-kind-icon">url<wbr>Object</a></li>
|
|
107
|
-
</ul>
|
|
108
|
-
</section>
|
|
109
|
-
<section class="tsd-index-section tsd-is-not-exported">
|
|
110
|
-
<h3>Accessors</h3>
|
|
111
|
-
<ul class="tsd-index-list">
|
|
112
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#basename" class="tsd-kind-icon">basename</a></li>
|
|
113
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#buffer" class="tsd-kind-icon">buffer</a></li>
|
|
114
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#contentlength" class="tsd-kind-icon">content<wbr>Length</a></li>
|
|
115
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#contentmd5" class="tsd-kind-icon">contentMD5</a></li>
|
|
116
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#contenttype" class="tsd-kind-icon">content<wbr>Type</a></li>
|
|
117
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#extname" class="tsd-kind-icon">extname</a></li>
|
|
118
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#url" class="tsd-kind-icon">url</a></li>
|
|
119
|
-
</ul>
|
|
120
|
-
</section>
|
|
121
|
-
<section class="tsd-index-section tsd-is-not-exported">
|
|
122
|
-
<h3>Methods</h3>
|
|
123
|
-
<ul class="tsd-index-list">
|
|
124
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-not-exported"><a href="file.html#load" class="tsd-kind-icon">load</a></li>
|
|
125
|
-
</ul>
|
|
126
|
-
</section>
|
|
127
|
-
</div>
|
|
128
|
-
</section>
|
|
129
|
-
</section>
|
|
130
|
-
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
|
|
131
|
-
<h2>Constructors</h2>
|
|
132
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported">
|
|
133
|
-
<a name="constructor" class="tsd-anchor"></a>
|
|
134
|
-
<h3>constructor</h3>
|
|
135
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported">
|
|
136
|
-
<li class="tsd-signature tsd-kind-icon">new <wbr>File<span class="tsd-signature-symbol">(</span>urlString<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="file.html" class="tsd-signature-type">File</a></li>
|
|
137
|
-
</ul>
|
|
138
|
-
<ul class="tsd-descriptions">
|
|
139
|
-
<li class="tsd-description">
|
|
140
|
-
<aside class="tsd-sources">
|
|
141
|
-
<ul>
|
|
142
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L381">src/cores/aws/aws-s3-service.ts:381</a></li>
|
|
143
|
-
</ul>
|
|
144
|
-
</aside>
|
|
145
|
-
<div class="tsd-comment tsd-typography">
|
|
146
|
-
<div class="lead">
|
|
147
|
-
<p>default constructor</p>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
151
|
-
<ul class="tsd-parameters">
|
|
152
|
-
<li>
|
|
153
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> urlString: <span class="tsd-signature-type">string</span></h5>
|
|
154
|
-
<div class="tsd-comment tsd-typography">
|
|
155
|
-
<div class="lead">
|
|
156
|
-
<p>URL or local path of file</p>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
</li>
|
|
160
|
-
</ul>
|
|
161
|
-
<h4 class="tsd-returns-title">Returns <a href="file.html" class="tsd-signature-type">File</a></h4>
|
|
162
|
-
</li>
|
|
163
|
-
</ul>
|
|
164
|
-
</section>
|
|
165
|
-
</section>
|
|
166
|
-
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
|
|
167
|
-
<h2>Properties</h2>
|
|
168
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
|
|
169
|
-
<a name="encoding" class="tsd-anchor"></a>
|
|
170
|
-
<h3>ENCODING</h3>
|
|
171
|
-
<div class="tsd-signature tsd-kind-icon">ENCODING<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BufferEncoding</span><span class="tsd-signature-symbol"> = "utf8"</span></div>
|
|
172
|
-
<aside class="tsd-sources">
|
|
173
|
-
<ul>
|
|
174
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L374">src/cores/aws/aws-s3-service.ts:374</a></li>
|
|
175
|
-
</ul>
|
|
176
|
-
</aside>
|
|
177
|
-
<div class="tsd-comment tsd-typography">
|
|
178
|
-
<div class="lead">
|
|
179
|
-
<p>default encoding of string.</p>
|
|
180
|
-
</div>
|
|
181
|
-
</div>
|
|
182
|
-
</section>
|
|
183
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
184
|
-
<a name="_buffer" class="tsd-anchor"></a>
|
|
185
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _buffer</h3>
|
|
186
|
-
<div class="tsd-signature tsd-kind-icon">_buffer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
|
187
|
-
<aside class="tsd-sources">
|
|
188
|
-
<ul>
|
|
189
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L378">src/cores/aws/aws-s3-service.ts:378</a></li>
|
|
190
|
-
</ul>
|
|
191
|
-
</aside>
|
|
192
|
-
</section>
|
|
193
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
194
|
-
<a name="_contentlength" class="tsd-anchor"></a>
|
|
195
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _content<wbr>Length</h3>
|
|
196
|
-
<div class="tsd-signature tsd-kind-icon">_content<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
197
|
-
<aside class="tsd-sources">
|
|
198
|
-
<ul>
|
|
199
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L380">src/cores/aws/aws-s3-service.ts:380</a></li>
|
|
200
|
-
</ul>
|
|
201
|
-
</aside>
|
|
202
|
-
</section>
|
|
203
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
204
|
-
<a name="_contentmd5" class="tsd-anchor"></a>
|
|
205
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _contentMD5</h3>
|
|
206
|
-
<div class="tsd-signature tsd-kind-icon">_contentMD5<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
207
|
-
<aside class="tsd-sources">
|
|
208
|
-
<ul>
|
|
209
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L381">src/cores/aws/aws-s3-service.ts:381</a></li>
|
|
210
|
-
</ul>
|
|
211
|
-
</aside>
|
|
212
|
-
</section>
|
|
213
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
214
|
-
<a name="_contenttype" class="tsd-anchor"></a>
|
|
215
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _content<wbr>Type</h3>
|
|
216
|
-
<div class="tsd-signature tsd-kind-icon">_content<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
217
|
-
<aside class="tsd-sources">
|
|
218
|
-
<ul>
|
|
219
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L379">src/cores/aws/aws-s3-service.ts:379</a></li>
|
|
220
|
-
</ul>
|
|
221
|
-
</aside>
|
|
222
|
-
</section>
|
|
223
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
|
|
224
|
-
<a name="isremotefile" class="tsd-anchor"></a>
|
|
225
|
-
<h3>is<wbr>Remote<wbr>File</h3>
|
|
226
|
-
<div class="tsd-signature tsd-kind-icon">is<wbr>Remote<wbr>File<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
227
|
-
<aside class="tsd-sources">
|
|
228
|
-
<ul>
|
|
229
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L369">src/cores/aws/aws-s3-service.ts:369</a></li>
|
|
230
|
-
</ul>
|
|
231
|
-
</aside>
|
|
232
|
-
<div class="tsd-comment tsd-typography">
|
|
233
|
-
<div class="lead">
|
|
234
|
-
<p>is file location remote or local</p>
|
|
235
|
-
</div>
|
|
236
|
-
<dl class="tsd-comment-tags">
|
|
237
|
-
<dt>readonly</dt>
|
|
238
|
-
<dd></dd>
|
|
239
|
-
</dl>
|
|
240
|
-
</div>
|
|
241
|
-
</section>
|
|
242
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
243
|
-
<a name="urlobject" class="tsd-anchor"></a>
|
|
244
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> url<wbr>Object</h3>
|
|
245
|
-
<div class="tsd-signature tsd-kind-icon">url<wbr>Object<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Url</span></div>
|
|
246
|
-
<aside class="tsd-sources">
|
|
247
|
-
<ul>
|
|
248
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L377">src/cores/aws/aws-s3-service.ts:377</a></li>
|
|
249
|
-
</ul>
|
|
250
|
-
</aside>
|
|
251
|
-
</section>
|
|
252
|
-
</section>
|
|
253
|
-
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
|
|
254
|
-
<h2>Accessors</h2>
|
|
255
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
256
|
-
<a name="basename" class="tsd-anchor"></a>
|
|
257
|
-
<h3>basename</h3>
|
|
258
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
259
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> basename<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
|
260
|
-
</ul>
|
|
261
|
-
<ul class="tsd-descriptions">
|
|
262
|
-
<li class="tsd-description">
|
|
263
|
-
<aside class="tsd-sources">
|
|
264
|
-
<ul>
|
|
265
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L446">src/cores/aws/aws-s3-service.ts:446</a></li>
|
|
266
|
-
</ul>
|
|
267
|
-
</aside>
|
|
268
|
-
<div class="tsd-comment tsd-typography">
|
|
269
|
-
<div class="lead">
|
|
270
|
-
<p>basename of file</p>
|
|
271
|
-
</div>
|
|
272
|
-
</div>
|
|
273
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
274
|
-
</li>
|
|
275
|
-
</ul>
|
|
276
|
-
</section>
|
|
277
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
278
|
-
<a name="buffer" class="tsd-anchor"></a>
|
|
279
|
-
<h3>buffer</h3>
|
|
280
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
281
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> buffer<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span></li>
|
|
282
|
-
</ul>
|
|
283
|
-
<ul class="tsd-descriptions">
|
|
284
|
-
<li class="tsd-description">
|
|
285
|
-
<aside class="tsd-sources">
|
|
286
|
-
<ul>
|
|
287
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L472">src/cores/aws/aws-s3-service.ts:472</a></li>
|
|
288
|
-
</ul>
|
|
289
|
-
</aside>
|
|
290
|
-
<div class="tsd-comment tsd-typography">
|
|
291
|
-
<div class="lead">
|
|
292
|
-
<p>buffer of file content</p>
|
|
293
|
-
</div>
|
|
294
|
-
</div>
|
|
295
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4>
|
|
296
|
-
</li>
|
|
297
|
-
</ul>
|
|
298
|
-
</section>
|
|
299
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
300
|
-
<a name="contentlength" class="tsd-anchor"></a>
|
|
301
|
-
<h3>content<wbr>Length</h3>
|
|
302
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
303
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> contentLength<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
|
304
|
-
</ul>
|
|
305
|
-
<ul class="tsd-descriptions">
|
|
306
|
-
<li class="tsd-description">
|
|
307
|
-
<aside class="tsd-sources">
|
|
308
|
-
<ul>
|
|
309
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L486">src/cores/aws/aws-s3-service.ts:486</a></li>
|
|
310
|
-
</ul>
|
|
311
|
-
</aside>
|
|
312
|
-
<div class="tsd-comment tsd-typography">
|
|
313
|
-
<div class="lead">
|
|
314
|
-
<p>content-length of file</p>
|
|
315
|
-
</div>
|
|
316
|
-
</div>
|
|
317
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
318
|
-
</li>
|
|
319
|
-
</ul>
|
|
320
|
-
</section>
|
|
321
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
322
|
-
<a name="contentmd5" class="tsd-anchor"></a>
|
|
323
|
-
<h3>contentMD5</h3>
|
|
324
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
325
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> contentMD5<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
|
326
|
-
</ul>
|
|
327
|
-
<ul class="tsd-descriptions">
|
|
328
|
-
<li class="tsd-description">
|
|
329
|
-
<aside class="tsd-sources">
|
|
330
|
-
<ul>
|
|
331
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L493">src/cores/aws/aws-s3-service.ts:493</a></li>
|
|
332
|
-
</ul>
|
|
333
|
-
</aside>
|
|
334
|
-
<div class="tsd-comment tsd-typography">
|
|
335
|
-
<div class="lead">
|
|
336
|
-
<p>content-MD5 of file</p>
|
|
337
|
-
</div>
|
|
338
|
-
</div>
|
|
339
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
340
|
-
</li>
|
|
341
|
-
</ul>
|
|
342
|
-
</section>
|
|
343
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
344
|
-
<a name="contenttype" class="tsd-anchor"></a>
|
|
345
|
-
<h3>content<wbr>Type</h3>
|
|
346
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
347
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> contentType<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
|
348
|
-
</ul>
|
|
349
|
-
<ul class="tsd-descriptions">
|
|
350
|
-
<li class="tsd-description">
|
|
351
|
-
<aside class="tsd-sources">
|
|
352
|
-
<ul>
|
|
353
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L479">src/cores/aws/aws-s3-service.ts:479</a></li>
|
|
354
|
-
</ul>
|
|
355
|
-
</aside>
|
|
356
|
-
<div class="tsd-comment tsd-typography">
|
|
357
|
-
<div class="lead">
|
|
358
|
-
<p>content-type of file</p>
|
|
359
|
-
</div>
|
|
360
|
-
</div>
|
|
361
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
362
|
-
</li>
|
|
363
|
-
</ul>
|
|
364
|
-
</section>
|
|
365
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
366
|
-
<a name="extname" class="tsd-anchor"></a>
|
|
367
|
-
<h3>extname</h3>
|
|
368
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
369
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> extname<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
|
370
|
-
</ul>
|
|
371
|
-
<ul class="tsd-descriptions">
|
|
372
|
-
<li class="tsd-description">
|
|
373
|
-
<aside class="tsd-sources">
|
|
374
|
-
<ul>
|
|
375
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L453">src/cores/aws/aws-s3-service.ts:453</a></li>
|
|
376
|
-
</ul>
|
|
377
|
-
</aside>
|
|
378
|
-
<div class="tsd-comment tsd-typography">
|
|
379
|
-
<div class="lead">
|
|
380
|
-
<p>extname of file</p>
|
|
381
|
-
</div>
|
|
382
|
-
</div>
|
|
383
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
384
|
-
</li>
|
|
385
|
-
</ul>
|
|
386
|
-
</section>
|
|
387
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
388
|
-
<a name="url" class="tsd-anchor"></a>
|
|
389
|
-
<h3>url</h3>
|
|
390
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
391
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
|
392
|
-
</ul>
|
|
393
|
-
<ul class="tsd-descriptions">
|
|
394
|
-
<li class="tsd-description">
|
|
395
|
-
<aside class="tsd-sources">
|
|
396
|
-
<ul>
|
|
397
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L439">src/cores/aws/aws-s3-service.ts:439</a></li>
|
|
398
|
-
</ul>
|
|
399
|
-
</aside>
|
|
400
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
401
|
-
</li>
|
|
402
|
-
</ul>
|
|
403
|
-
</section>
|
|
404
|
-
</section>
|
|
405
|
-
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
|
|
406
|
-
<h2>Methods</h2>
|
|
407
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-not-exported">
|
|
408
|
-
<a name="load" class="tsd-anchor"></a>
|
|
409
|
-
<h3>load</h3>
|
|
410
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-not-exported">
|
|
411
|
-
<li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>content<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">></span></li>
|
|
412
|
-
</ul>
|
|
413
|
-
<ul class="tsd-descriptions">
|
|
414
|
-
<li class="tsd-description">
|
|
415
|
-
<aside class="tsd-sources">
|
|
416
|
-
<ul>
|
|
417
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/aws/aws-s3-service.ts#L405">src/cores/aws/aws-s3-service.ts:405</a></li>
|
|
418
|
-
</ul>
|
|
419
|
-
</aside>
|
|
420
|
-
<div class="tsd-comment tsd-typography">
|
|
421
|
-
<div class="lead">
|
|
422
|
-
<p>load file content</p>
|
|
423
|
-
</div>
|
|
424
|
-
</div>
|
|
425
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
426
|
-
<ul class="tsd-parameters">
|
|
427
|
-
<li>
|
|
428
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> content: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></h5>
|
|
429
|
-
<div class="tsd-comment tsd-typography">
|
|
430
|
-
<p>(optional) load content from URL if not given</p>
|
|
431
|
-
</div>
|
|
432
|
-
</li>
|
|
433
|
-
</ul>
|
|
434
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">></span></h4>
|
|
435
|
-
</li>
|
|
436
|
-
</ul>
|
|
437
|
-
</section>
|
|
438
|
-
</section>
|
|
439
|
-
</div>
|
|
440
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
441
|
-
<nav class="tsd-navigation primary">
|
|
442
|
-
<ul>
|
|
443
|
-
<li class="globals ">
|
|
444
|
-
<a href="../globals.html"><em>Globals</em></a>
|
|
445
|
-
</li>
|
|
446
|
-
</ul>
|
|
447
|
-
</nav>
|
|
448
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
449
|
-
<ul class="before-current">
|
|
450
|
-
</ul>
|
|
451
|
-
<ul class="current">
|
|
452
|
-
<li class="current tsd-kind-class tsd-is-not-exported">
|
|
453
|
-
<a href="file.html" class="tsd-kind-icon">File</a>
|
|
454
|
-
<ul>
|
|
455
|
-
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported">
|
|
456
|
-
<a href="file.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
457
|
-
</li>
|
|
458
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
|
|
459
|
-
<a href="file.html#encoding" class="tsd-kind-icon">ENCODING</a>
|
|
460
|
-
</li>
|
|
461
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
462
|
-
<a href="file.html#_buffer" class="tsd-kind-icon">_buffer</a>
|
|
463
|
-
</li>
|
|
464
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
465
|
-
<a href="file.html#_contentlength" class="tsd-kind-icon">_content<wbr>Length</a>
|
|
466
|
-
</li>
|
|
467
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
468
|
-
<a href="file.html#_contentmd5" class="tsd-kind-icon">_contentMD5</a>
|
|
469
|
-
</li>
|
|
470
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
471
|
-
<a href="file.html#_contenttype" class="tsd-kind-icon">_content<wbr>Type</a>
|
|
472
|
-
</li>
|
|
473
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
|
|
474
|
-
<a href="file.html#isremotefile" class="tsd-kind-icon">is<wbr>Remote<wbr>File</a>
|
|
475
|
-
</li>
|
|
476
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported">
|
|
477
|
-
<a href="file.html#urlobject" class="tsd-kind-icon">url<wbr>Object</a>
|
|
478
|
-
</li>
|
|
479
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
480
|
-
<a href="file.html#basename" class="tsd-kind-icon">basename</a>
|
|
481
|
-
</li>
|
|
482
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
483
|
-
<a href="file.html#buffer" class="tsd-kind-icon">buffer</a>
|
|
484
|
-
</li>
|
|
485
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
486
|
-
<a href="file.html#contentlength" class="tsd-kind-icon">content<wbr>Length</a>
|
|
487
|
-
</li>
|
|
488
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
489
|
-
<a href="file.html#contentmd5" class="tsd-kind-icon">contentMD5</a>
|
|
490
|
-
</li>
|
|
491
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
492
|
-
<a href="file.html#contenttype" class="tsd-kind-icon">content<wbr>Type</a>
|
|
493
|
-
</li>
|
|
494
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
495
|
-
<a href="file.html#extname" class="tsd-kind-icon">extname</a>
|
|
496
|
-
</li>
|
|
497
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-not-exported">
|
|
498
|
-
<a href="file.html#url" class="tsd-kind-icon">url</a>
|
|
499
|
-
</li>
|
|
500
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-not-exported">
|
|
501
|
-
<a href="file.html#load" class="tsd-kind-icon">load</a>
|
|
502
|
-
</li>
|
|
503
|
-
</ul>
|
|
504
|
-
</li>
|
|
505
|
-
</ul>
|
|
506
|
-
<ul class="after-current">
|
|
507
|
-
</ul>
|
|
508
|
-
</nav>
|
|
509
|
-
</div>
|
|
510
|
-
</div>
|
|
511
|
-
</div>
|
|
512
|
-
<footer class="with-border-bottom">
|
|
513
|
-
<div class="container">
|
|
514
|
-
<h2>Legend</h2>
|
|
515
|
-
<div class="tsd-legend-group">
|
|
516
|
-
<ul class="tsd-legend">
|
|
517
|
-
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
|
|
518
|
-
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
|
|
519
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
520
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
521
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
522
|
-
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
|
|
523
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
524
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
525
|
-
</ul>
|
|
526
|
-
<ul class="tsd-legend">
|
|
527
|
-
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
|
|
528
|
-
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
|
|
529
|
-
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
|
|
530
|
-
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
|
|
531
|
-
</ul>
|
|
532
|
-
<ul class="tsd-legend">
|
|
533
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
534
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
535
|
-
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
|
|
536
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
537
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
|
|
538
|
-
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
|
|
539
|
-
</ul>
|
|
540
|
-
<ul class="tsd-legend">
|
|
541
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
542
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
543
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
544
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
545
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
546
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
|
|
547
|
-
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
|
|
548
|
-
</ul>
|
|
549
|
-
<ul class="tsd-legend">
|
|
550
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
|
551
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
552
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
553
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
|
|
554
|
-
</ul>
|
|
555
|
-
<ul class="tsd-legend">
|
|
556
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
|
|
557
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
|
|
558
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
|
|
559
|
-
</ul>
|
|
560
|
-
<ul class="tsd-legend">
|
|
561
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
|
562
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
|
|
563
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
|
|
564
|
-
</ul>
|
|
565
|
-
<ul class="tsd-legend">
|
|
566
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
|
|
567
|
-
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
568
|
-
</ul>
|
|
569
|
-
</div>
|
|
570
|
-
</div>
|
|
571
|
-
</footer>
|
|
572
|
-
<div class="container tsd-generator">
|
|
573
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
574
|
-
</div>
|
|
575
|
-
<div class="overlay"></div>
|
|
576
|
-
<script src="../assets/js/main.js"></script>
|
|
577
|
-
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
|
|
578
|
-
</body>
|
|
579
|
-
</html>
|