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,1441 +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>ProxyStorageService | 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="proxystorageservice.html">ProxyStorageService</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Class ProxyStorageService<T, ModelType></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>ProxyStorageService</code></p>
|
|
73
|
-
<ul>
|
|
74
|
-
<li>support <code>nextSeq()</code>, <code>doLock()</code>, <code>doRelease()</code></li>
|
|
75
|
-
<li>proxed storage-service to wrap the parent storage-service w/ more features.</li>
|
|
76
|
-
<li>table is supposed to have internal-key as <code>_id</code> string.</li>
|
|
77
|
-
</ul>
|
|
78
|
-
</div>
|
|
79
|
-
<p><strong>Usage</strong></p>
|
|
80
|
-
<pre><code class="language-js">type MyType = <span class="hljs-string">''</span> | <span class="hljs-string">'test'</span>;
|
|
81
|
-
interface MyModel extends CoreModel<MyType>{
|
|
82
|
-
name?: string;
|
|
83
|
-
}
|
|
84
|
-
<span class="hljs-keyword">const</span> storage = <span class="hljs-keyword">new</span> ProxyStorageService<MyModel, MyType>(<span class="hljs-keyword">this</span>, <span class="hljs-string">'TestTable'</span>, [<span class="hljs-string">'id'</span>,<span class="hljs-string">'name'</span>]);
|
|
85
|
-
<span class="hljs-keyword">const</span> $test = storage.makeTypedStorageService(<span class="hljs-string">'test'</span>);</code></pre>
|
|
86
|
-
</div>
|
|
87
|
-
</section>
|
|
88
|
-
<section class="tsd-panel tsd-type-parameters">
|
|
89
|
-
<h3>Type parameters</h3>
|
|
90
|
-
<ul class="tsd-type-parameters">
|
|
91
|
-
<li>
|
|
92
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../interfaces/coremodel.html" class="tsd-signature-type">CoreModel</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></h4>
|
|
93
|
-
</li>
|
|
94
|
-
<li>
|
|
95
|
-
<h4>ModelType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h4>
|
|
96
|
-
</li>
|
|
97
|
-
</ul>
|
|
98
|
-
</section>
|
|
99
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
100
|
-
<h3>Hierarchy</h3>
|
|
101
|
-
<ul class="tsd-hierarchy">
|
|
102
|
-
<li>
|
|
103
|
-
<span class="target">ProxyStorageService</span>
|
|
104
|
-
<ul class="tsd-hierarchy">
|
|
105
|
-
<li>
|
|
106
|
-
<a href="mystorage.html" class="tsd-signature-type">MyStorage</a>
|
|
107
|
-
</li>
|
|
108
|
-
</ul>
|
|
109
|
-
</li>
|
|
110
|
-
</ul>
|
|
111
|
-
</section>
|
|
112
|
-
<section class="tsd-panel">
|
|
113
|
-
<h3>Implements</h3>
|
|
114
|
-
<ul class="tsd-hierarchy">
|
|
115
|
-
<li><a href="../interfaces/storageservice.html" class="tsd-signature-type">StorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></li>
|
|
116
|
-
</ul>
|
|
117
|
-
</section>
|
|
118
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
119
|
-
<h2>Index</h2>
|
|
120
|
-
<section class="tsd-panel tsd-index-panel">
|
|
121
|
-
<div class="tsd-index-content">
|
|
122
|
-
<section class="tsd-index-section ">
|
|
123
|
-
<h3>Constructors</h3>
|
|
124
|
-
<ul class="tsd-index-list">
|
|
125
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="proxystorageservice.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
126
|
-
</ul>
|
|
127
|
-
</section>
|
|
128
|
-
<section class="tsd-index-section ">
|
|
129
|
-
<h3>Properties</h3>
|
|
130
|
-
<ul class="tsd-index-list">
|
|
131
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="proxystorageservice.html#_timer" class="tsd-kind-icon">$timer</a></li>
|
|
132
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="proxystorageservice.html#filters" class="tsd-kind-icon">filters</a></li>
|
|
133
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="proxystorageservice.html#idname" class="tsd-kind-icon">id<wbr>Name</a></li>
|
|
134
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="proxystorageservice.html#service" class="tsd-kind-icon">service</a></li>
|
|
135
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="proxystorageservice.html#storage" class="tsd-kind-icon">storage</a></li>
|
|
136
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="proxystorageservice.html#auto_sequence" class="tsd-kind-icon">AUTO_<wbr>SEQUENCE</a></li>
|
|
137
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="proxystorageservice.html#type_sequence" class="tsd-kind-icon">TYPE_<wbr>SEQUENCE</a></li>
|
|
138
|
-
</ul>
|
|
139
|
-
</section>
|
|
140
|
-
<section class="tsd-index-section ">
|
|
141
|
-
<h3>Methods</h3>
|
|
142
|
-
<ul class="tsd-index-list">
|
|
143
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#askey" class="tsd-kind-icon">as<wbr>Key</a></li>
|
|
144
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#astime" class="tsd-kind-icon">as<wbr>Time</a></li>
|
|
145
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#clearseq" class="tsd-kind-icon">clear<wbr>Seq</a></li>
|
|
146
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#delete" class="tsd-kind-icon">delete</a></li>
|
|
147
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#dodelete" class="tsd-kind-icon">do<wbr>Delete</a></li>
|
|
148
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#doincrement" class="tsd-kind-icon">do<wbr>Increment</a></li>
|
|
149
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#dolock" class="tsd-kind-icon">do<wbr>Lock</a></li>
|
|
150
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#doread" class="tsd-kind-icon">do<wbr>Read</a></li>
|
|
151
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#dorelease" class="tsd-kind-icon">do<wbr>Release</a></li>
|
|
152
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#dosave" class="tsd-kind-icon">do<wbr>Save</a></li>
|
|
153
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#doupdate" class="tsd-kind-icon">do<wbr>Update</a></li>
|
|
154
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#gettime" class="tsd-kind-icon">get<wbr>Time</a></li>
|
|
155
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#hello" class="tsd-kind-icon">hello</a></li>
|
|
156
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#increment" class="tsd-kind-icon">increment</a></li>
|
|
157
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="proxystorageservice.html#maketypedstorageservice" class="tsd-kind-icon">make<wbr>Typed<wbr>Storage<wbr>Service</a></li>
|
|
158
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#nextseq" class="tsd-kind-icon">next<wbr>Seq</a></li>
|
|
159
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#nextuuid" class="tsd-kind-icon">next<wbr>Uuid</a></li>
|
|
160
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#read" class="tsd-kind-icon">read</a></li>
|
|
161
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#readorcreate" class="tsd-kind-icon">read<wbr>OrCreate</a></li>
|
|
162
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#save" class="tsd-kind-icon">save</a></li>
|
|
163
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#settimer" class="tsd-kind-icon">set<wbr>Timer</a></li>
|
|
164
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="proxystorageservice.html#update" class="tsd-kind-icon">update</a></li>
|
|
165
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static"><a href="proxystorageservice.html#create" class="tsd-kind-icon">create</a></li>
|
|
166
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static"><a href="proxystorageservice.html#makestorageservice" class="tsd-kind-icon">make<wbr>Storage<wbr>Service</a></li>
|
|
167
|
-
</ul>
|
|
168
|
-
</section>
|
|
169
|
-
</div>
|
|
170
|
-
</section>
|
|
171
|
-
</section>
|
|
172
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
173
|
-
<h2>Constructors</h2>
|
|
174
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
|
|
175
|
-
<a name="constructor" class="tsd-anchor"></a>
|
|
176
|
-
<h3>constructor</h3>
|
|
177
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
|
178
|
-
<li class="tsd-signature tsd-kind-icon">new <wbr>Proxy<wbr>Storage<wbr>Service<span class="tsd-signature-symbol">(</span>service<span class="tsd-signature-symbol">: </span><a href="../interfaces/corekeymakeable.html" class="tsd-signature-type">CoreKeyMakeable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span>, storage<span class="tsd-signature-symbol">: </span><a href="../interfaces/storageservice.html" class="tsd-signature-type">StorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span>, fields<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, filters<span class="tsd-signature-symbol">?: </span><a href="../interfaces/coremodelfilterable.html" class="tsd-signature-type">CoreModelFilterable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span>, idName<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="proxystorageservice.html" class="tsd-signature-type">ProxyStorageService</a></li>
|
|
179
|
-
</ul>
|
|
180
|
-
<ul class="tsd-descriptions">
|
|
181
|
-
<li class="tsd-description">
|
|
182
|
-
<aside class="tsd-sources">
|
|
183
|
-
<ul>
|
|
184
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L374">src/cores/proxy-storage-service.ts:374</a></li>
|
|
185
|
-
</ul>
|
|
186
|
-
</aside>
|
|
187
|
-
<div class="tsd-comment tsd-typography">
|
|
188
|
-
<div class="lead">
|
|
189
|
-
<p>create proxed storage-service.</p>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
193
|
-
<ul class="tsd-parameters">
|
|
194
|
-
<li>
|
|
195
|
-
<h5>service: <a href="../interfaces/corekeymakeable.html" class="tsd-signature-type">CoreKeyMakeable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></h5>
|
|
196
|
-
<div class="tsd-comment tsd-typography">
|
|
197
|
-
<div class="lead">
|
|
198
|
-
<p>service to support <code>CoreKeyMakeable</code></p>
|
|
199
|
-
</div>
|
|
200
|
-
</div>
|
|
201
|
-
</li>
|
|
202
|
-
<li>
|
|
203
|
-
<h5>storage: <a href="../interfaces/storageservice.html" class="tsd-signature-type">StorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
|
204
|
-
<div class="tsd-comment tsd-typography">
|
|
205
|
-
<div class="lead">
|
|
206
|
-
<p>table-name or the parent storage-service</p>
|
|
207
|
-
</div>
|
|
208
|
-
</div>
|
|
209
|
-
</li>
|
|
210
|
-
<li>
|
|
211
|
-
<h5>fields: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
212
|
-
<div class="tsd-comment tsd-typography">
|
|
213
|
-
<div class="lead">
|
|
214
|
-
<p>list of fields.</p>
|
|
215
|
-
</div>
|
|
216
|
-
</div>
|
|
217
|
-
</li>
|
|
218
|
-
<li>
|
|
219
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> filters: <a href="../interfaces/coremodelfilterable.html" class="tsd-signature-type">CoreModelFilterable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h5>
|
|
220
|
-
<div class="tsd-comment tsd-typography">
|
|
221
|
-
<div class="lead">
|
|
222
|
-
<p>filters of <code>CoreModelFilterable</code></p>
|
|
223
|
-
</div>
|
|
224
|
-
</div>
|
|
225
|
-
</li>
|
|
226
|
-
<li>
|
|
227
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> idName: <span class="tsd-signature-type">string</span></h5>
|
|
228
|
-
<div class="tsd-comment tsd-typography">
|
|
229
|
-
<div class="lead">
|
|
230
|
-
<p>(optional) internal partition-key (default as '_id')</p>
|
|
231
|
-
</div>
|
|
232
|
-
</div>
|
|
233
|
-
</li>
|
|
234
|
-
</ul>
|
|
235
|
-
<h4 class="tsd-returns-title">Returns <a href="proxystorageservice.html" class="tsd-signature-type">ProxyStorageService</a></h4>
|
|
236
|
-
</li>
|
|
237
|
-
</ul>
|
|
238
|
-
</section>
|
|
239
|
-
</section>
|
|
240
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
241
|
-
<h2>Properties</h2>
|
|
242
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
243
|
-
<a name="_timer" class="tsd-anchor"></a>
|
|
244
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> $timer</h3>
|
|
245
|
-
<div class="tsd-signature tsd-kind-icon">$timer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span><span class="tsd-signature-symbol"> = null</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/proxy-storage-service.ts#L509">src/cores/proxy-storage-service.ts:509</a></li>
|
|
249
|
-
</ul>
|
|
250
|
-
</aside>
|
|
251
|
-
<div class="tsd-comment tsd-typography">
|
|
252
|
-
<div class="lead">
|
|
253
|
-
<p>timer to generate the current-time (msec)</p>
|
|
254
|
-
</div>
|
|
255
|
-
</div>
|
|
256
|
-
<div class="tsd-type-declaration">
|
|
257
|
-
<h4>Type declaration</h4>
|
|
258
|
-
<ul class="tsd-parameters">
|
|
259
|
-
<li class="tsd-parameter-siganture">
|
|
260
|
-
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported">
|
|
261
|
-
<li class="tsd-signature tsd-kind-icon"><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>
|
|
262
|
-
</ul>
|
|
263
|
-
<ul class="tsd-descriptions">
|
|
264
|
-
<li class="tsd-description">
|
|
265
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
266
|
-
</li>
|
|
267
|
-
</ul>
|
|
268
|
-
</li>
|
|
269
|
-
</ul>
|
|
270
|
-
</div>
|
|
271
|
-
</section>
|
|
272
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
273
|
-
<a name="filters" class="tsd-anchor"></a>
|
|
274
|
-
<h3>filters</h3>
|
|
275
|
-
<div class="tsd-signature tsd-kind-icon">filters<span class="tsd-signature-symbol">:</span> <a href="../interfaces/coremodelfilterable.html" class="tsd-signature-type">CoreModelFilterable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></div>
|
|
276
|
-
<aside class="tsd-sources">
|
|
277
|
-
<ul>
|
|
278
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L374">src/cores/proxy-storage-service.ts:374</a></li>
|
|
279
|
-
</ul>
|
|
280
|
-
</aside>
|
|
281
|
-
</section>
|
|
282
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
283
|
-
<a name="idname" class="tsd-anchor"></a>
|
|
284
|
-
<h3>id<wbr>Name</h3>
|
|
285
|
-
<div class="tsd-signature tsd-kind-icon">id<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
286
|
-
<aside class="tsd-sources">
|
|
287
|
-
<ul>
|
|
288
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L371">src/cores/proxy-storage-service.ts:371</a></li>
|
|
289
|
-
</ul>
|
|
290
|
-
</aside>
|
|
291
|
-
</section>
|
|
292
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
293
|
-
<a name="service" class="tsd-anchor"></a>
|
|
294
|
-
<h3>service</h3>
|
|
295
|
-
<div class="tsd-signature tsd-kind-icon">service<span class="tsd-signature-symbol">:</span> <a href="../interfaces/corekeymakeable.html" class="tsd-signature-type">CoreKeyMakeable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></div>
|
|
296
|
-
<aside class="tsd-sources">
|
|
297
|
-
<ul>
|
|
298
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L372">src/cores/proxy-storage-service.ts:372</a></li>
|
|
299
|
-
</ul>
|
|
300
|
-
</aside>
|
|
301
|
-
</section>
|
|
302
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
303
|
-
<a name="storage" class="tsd-anchor"></a>
|
|
304
|
-
<h3>storage</h3>
|
|
305
|
-
<div class="tsd-signature tsd-kind-icon">storage<span class="tsd-signature-symbol">:</span> <a href="../interfaces/storageservice.html" class="tsd-signature-type">StorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></div>
|
|
306
|
-
<aside class="tsd-sources">
|
|
307
|
-
<ul>
|
|
308
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L373">src/cores/proxy-storage-service.ts:373</a></li>
|
|
309
|
-
</ul>
|
|
310
|
-
</aside>
|
|
311
|
-
</section>
|
|
312
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
|
|
313
|
-
<a name="auto_sequence" class="tsd-anchor"></a>
|
|
314
|
-
<h3><span class="tsd-flag ts-flagStatic">Static</span> AUTO_<wbr>SEQUENCE</h3>
|
|
315
|
-
<div class="tsd-signature tsd-kind-icon">AUTO_<wbr>SEQUENCE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1000000</span><span class="tsd-signature-symbol"> = 1000000</span></div>
|
|
316
|
-
<aside class="tsd-sources">
|
|
317
|
-
<ul>
|
|
318
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L368">src/cores/proxy-storage-service.ts:368</a></li>
|
|
319
|
-
</ul>
|
|
320
|
-
</aside>
|
|
321
|
-
</section>
|
|
322
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
|
|
323
|
-
<a name="type_sequence" class="tsd-anchor"></a>
|
|
324
|
-
<h3><span class="tsd-flag ts-flagStatic">Static</span> TYPE_<wbr>SEQUENCE</h3>
|
|
325
|
-
<div class="tsd-signature tsd-kind-icon">TYPE_<wbr>SEQUENCE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"sequence"</span><span class="tsd-signature-symbol"> = "sequence"</span></div>
|
|
326
|
-
<aside class="tsd-sources">
|
|
327
|
-
<ul>
|
|
328
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L369">src/cores/proxy-storage-service.ts:369</a></li>
|
|
329
|
-
</ul>
|
|
330
|
-
</aside>
|
|
331
|
-
</section>
|
|
332
|
-
</section>
|
|
333
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
334
|
-
<h2>Methods</h2>
|
|
335
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
336
|
-
<a name="askey" class="tsd-anchor"></a>
|
|
337
|
-
<h3>as<wbr>Key</h3>
|
|
338
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
339
|
-
<li class="tsd-signature tsd-kind-icon">as<wbr>Key<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
|
340
|
-
</ul>
|
|
341
|
-
<ul class="tsd-descriptions">
|
|
342
|
-
<li class="tsd-description">
|
|
343
|
-
<aside class="tsd-sources">
|
|
344
|
-
<ul>
|
|
345
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L465">src/cores/proxy-storage-service.ts:465</a></li>
|
|
346
|
-
</ul>
|
|
347
|
-
</aside>
|
|
348
|
-
<div class="tsd-comment tsd-typography">
|
|
349
|
-
<div class="lead">
|
|
350
|
-
<p>get key-id by type+id</p>
|
|
351
|
-
</div>
|
|
352
|
-
</div>
|
|
353
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
354
|
-
<ul class="tsd-parameters">
|
|
355
|
-
<li>
|
|
356
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
357
|
-
</li>
|
|
358
|
-
<li>
|
|
359
|
-
<h5>id: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5>
|
|
360
|
-
</li>
|
|
361
|
-
</ul>
|
|
362
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
363
|
-
</li>
|
|
364
|
-
</ul>
|
|
365
|
-
</section>
|
|
366
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
367
|
-
<a name="astime" class="tsd-anchor"></a>
|
|
368
|
-
<h3>as<wbr>Time</h3>
|
|
369
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
370
|
-
<li class="tsd-signature tsd-kind-icon">as<wbr>Time<span class="tsd-signature-symbol">(</span>currentTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span></li>
|
|
371
|
-
</ul>
|
|
372
|
-
<ul class="tsd-descriptions">
|
|
373
|
-
<li class="tsd-description">
|
|
374
|
-
<aside class="tsd-sources">
|
|
375
|
-
<ul>
|
|
376
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L523">src/cores/proxy-storage-service.ts:523</a></li>
|
|
377
|
-
</ul>
|
|
378
|
-
</aside>
|
|
379
|
-
<div class="tsd-comment tsd-typography">
|
|
380
|
-
<div class="lead">
|
|
381
|
-
<p>get time-stamp as now.</p>
|
|
382
|
-
</div>
|
|
383
|
-
</div>
|
|
384
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
385
|
-
<ul class="tsd-parameters">
|
|
386
|
-
<li>
|
|
387
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> currentTime: <span class="tsd-signature-type">number</span></h5>
|
|
388
|
-
</li>
|
|
389
|
-
</ul>
|
|
390
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">object</span></h4>
|
|
391
|
-
<ul class="tsd-parameters">
|
|
392
|
-
<li class="tsd-parameter">
|
|
393
|
-
<h5>created<wbr>At<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
|
|
394
|
-
</li>
|
|
395
|
-
<li class="tsd-parameter">
|
|
396
|
-
<h5>deleted<wbr>At<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
|
|
397
|
-
</li>
|
|
398
|
-
<li class="tsd-parameter">
|
|
399
|
-
<h5>updated<wbr>At<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
|
|
400
|
-
</li>
|
|
401
|
-
</ul>
|
|
402
|
-
</li>
|
|
403
|
-
</ul>
|
|
404
|
-
</section>
|
|
405
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
406
|
-
<a name="clearseq" class="tsd-anchor"></a>
|
|
407
|
-
<h3>clear<wbr>Seq</h3>
|
|
408
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
409
|
-
<li class="tsd-signature tsd-kind-icon">clear<wbr>Seq<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</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">void</span><span class="tsd-signature-symbol">></span></li>
|
|
410
|
-
</ul>
|
|
411
|
-
<ul class="tsd-descriptions">
|
|
412
|
-
<li class="tsd-description">
|
|
413
|
-
<aside class="tsd-sources">
|
|
414
|
-
<ul>
|
|
415
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L535">src/cores/proxy-storage-service.ts:535</a></li>
|
|
416
|
-
</ul>
|
|
417
|
-
</aside>
|
|
418
|
-
<div class="tsd-comment tsd-typography">
|
|
419
|
-
<div class="lead">
|
|
420
|
-
<p>delete sequence-key.</p>
|
|
421
|
-
</div>
|
|
422
|
-
</div>
|
|
423
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
424
|
-
<ul class="tsd-parameters">
|
|
425
|
-
<li>
|
|
426
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
427
|
-
<div class="tsd-comment tsd-typography">
|
|
428
|
-
<p>type of seqeunce.</p>
|
|
429
|
-
</div>
|
|
430
|
-
</li>
|
|
431
|
-
</ul>
|
|
432
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
|
433
|
-
</li>
|
|
434
|
-
</ul>
|
|
435
|
-
</section>
|
|
436
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
437
|
-
<a name="delete" class="tsd-anchor"></a>
|
|
438
|
-
<h3>delete</h3>
|
|
439
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
440
|
-
<li class="tsd-signature tsd-kind-icon">delete<span class="tsd-signature-symbol">(</span>_id<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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></li>
|
|
441
|
-
</ul>
|
|
442
|
-
<ul class="tsd-descriptions">
|
|
443
|
-
<li class="tsd-description">
|
|
444
|
-
<aside class="tsd-sources">
|
|
445
|
-
<p>Implementation of <a href="../interfaces/storageservice.html">StorageService</a>.<a href="../interfaces/storageservice.html#delete">delete</a></p>
|
|
446
|
-
<ul>
|
|
447
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L460">src/cores/proxy-storage-service.ts:460</a></li>
|
|
448
|
-
</ul>
|
|
449
|
-
</aside>
|
|
450
|
-
<div class="tsd-comment tsd-typography">
|
|
451
|
-
<div class="lead">
|
|
452
|
-
<p>delete by _id</p>
|
|
453
|
-
</div>
|
|
454
|
-
</div>
|
|
455
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
456
|
-
<ul class="tsd-parameters">
|
|
457
|
-
<li>
|
|
458
|
-
<h5>_id: <span class="tsd-signature-type">string</span></h5>
|
|
459
|
-
</li>
|
|
460
|
-
</ul>
|
|
461
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
462
|
-
</li>
|
|
463
|
-
</ul>
|
|
464
|
-
</section>
|
|
465
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
466
|
-
<a name="dodelete" class="tsd-anchor"></a>
|
|
467
|
-
<h3>do<wbr>Delete</h3>
|
|
468
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
469
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Delete<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, destroy<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
470
|
-
</ul>
|
|
471
|
-
<ul class="tsd-descriptions">
|
|
472
|
-
<li class="tsd-description">
|
|
473
|
-
<aside class="tsd-sources">
|
|
474
|
-
<ul>
|
|
475
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L571">src/cores/proxy-storage-service.ts:571</a></li>
|
|
476
|
-
</ul>
|
|
477
|
-
</aside>
|
|
478
|
-
<div class="tsd-comment tsd-typography">
|
|
479
|
-
<div class="lead">
|
|
480
|
-
<p>delete model by id.</p>
|
|
481
|
-
</div>
|
|
482
|
-
</div>
|
|
483
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
484
|
-
<ul class="tsd-parameters">
|
|
485
|
-
<li>
|
|
486
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
487
|
-
<div class="tsd-comment tsd-typography">
|
|
488
|
-
<p>model-type</p>
|
|
489
|
-
</div>
|
|
490
|
-
</li>
|
|
491
|
-
<li>
|
|
492
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
493
|
-
<div class="tsd-comment tsd-typography">
|
|
494
|
-
<p>node-id</p>
|
|
495
|
-
</div>
|
|
496
|
-
</li>
|
|
497
|
-
<li>
|
|
498
|
-
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> destroy: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>
|
|
499
|
-
<div class="tsd-comment tsd-typography">
|
|
500
|
-
<p>flag to destroy (real delete)</p>
|
|
501
|
-
</div>
|
|
502
|
-
</li>
|
|
503
|
-
</ul>
|
|
504
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
505
|
-
</li>
|
|
506
|
-
</ul>
|
|
507
|
-
</section>
|
|
508
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
509
|
-
<a name="doincrement" class="tsd-anchor"></a>
|
|
510
|
-
<h3>do<wbr>Increment</h3>
|
|
511
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
512
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Increment<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, $inc<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, $up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
513
|
-
</ul>
|
|
514
|
-
<ul class="tsd-descriptions">
|
|
515
|
-
<li class="tsd-description">
|
|
516
|
-
<aside class="tsd-sources">
|
|
517
|
-
<ul>
|
|
518
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L608">src/cores/proxy-storage-service.ts:608</a></li>
|
|
519
|
-
</ul>
|
|
520
|
-
</aside>
|
|
521
|
-
<div class="tsd-comment tsd-typography">
|
|
522
|
-
<div class="lead">
|
|
523
|
-
<p>update model (or it will create automatically)</p>
|
|
524
|
-
</div>
|
|
525
|
-
</div>
|
|
526
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
527
|
-
<ul class="tsd-parameters">
|
|
528
|
-
<li>
|
|
529
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
530
|
-
<div class="tsd-comment tsd-typography">
|
|
531
|
-
<p>model-type</p>
|
|
532
|
-
</div>
|
|
533
|
-
</li>
|
|
534
|
-
<li>
|
|
535
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
536
|
-
<div class="tsd-comment tsd-typography">
|
|
537
|
-
<p>node-id</p>
|
|
538
|
-
</div>
|
|
539
|
-
</li>
|
|
540
|
-
<li>
|
|
541
|
-
<h5>$inc: <span class="tsd-signature-type">T</span></h5>
|
|
542
|
-
</li>
|
|
543
|
-
<li>
|
|
544
|
-
<h5>$up: <span class="tsd-signature-type">T</span></h5>
|
|
545
|
-
</li>
|
|
546
|
-
</ul>
|
|
547
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
548
|
-
</li>
|
|
549
|
-
</ul>
|
|
550
|
-
</section>
|
|
551
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
552
|
-
<a name="dolock" class="tsd-anchor"></a>
|
|
553
|
-
<h3>do<wbr>Lock</h3>
|
|
554
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
555
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Lock<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, tick<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, interval<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</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">boolean</span><span class="tsd-signature-symbol">></span></li>
|
|
556
|
-
</ul>
|
|
557
|
-
<ul class="tsd-descriptions">
|
|
558
|
-
<li class="tsd-description">
|
|
559
|
-
<aside class="tsd-sources">
|
|
560
|
-
<ul>
|
|
561
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L674">src/cores/proxy-storage-service.ts:674</a></li>
|
|
562
|
-
</ul>
|
|
563
|
-
</aside>
|
|
564
|
-
<div class="tsd-comment tsd-typography">
|
|
565
|
-
<div class="lead">
|
|
566
|
-
<p>lock data-entry by type+id w/ limited time tick</p>
|
|
567
|
-
<ul>
|
|
568
|
-
<li>WARN! must release lock by <code>doRelease()</code></li>
|
|
569
|
-
</ul>
|
|
570
|
-
</div>
|
|
571
|
-
<p><code>total-waited-time = tick * interval (msec)</code></p>
|
|
572
|
-
</div>
|
|
573
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
574
|
-
<ul class="tsd-parameters">
|
|
575
|
-
<li>
|
|
576
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
577
|
-
<div class="tsd-comment tsd-typography">
|
|
578
|
-
<p>model-type</p>
|
|
579
|
-
</div>
|
|
580
|
-
</li>
|
|
581
|
-
<li>
|
|
582
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
583
|
-
<div class="tsd-comment tsd-typography">
|
|
584
|
-
<p>model-id</p>
|
|
585
|
-
</div>
|
|
586
|
-
</li>
|
|
587
|
-
<li>
|
|
588
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> tick: <span class="tsd-signature-type">number</span></h5>
|
|
589
|
-
<div class="tsd-comment tsd-typography">
|
|
590
|
-
<p>tick count to wait.</p>
|
|
591
|
-
</div>
|
|
592
|
-
</li>
|
|
593
|
-
<li>
|
|
594
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> interval: <span class="tsd-signature-type">number</span></h5>
|
|
595
|
-
<div class="tsd-comment tsd-typography">
|
|
596
|
-
<p>timeout interval per each tick (in msec, default 1000 = 1sec)</p>
|
|
597
|
-
</div>
|
|
598
|
-
</li>
|
|
599
|
-
</ul>
|
|
600
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4>
|
|
601
|
-
</li>
|
|
602
|
-
</ul>
|
|
603
|
-
</section>
|
|
604
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
605
|
-
<a name="doread" class="tsd-anchor"></a>
|
|
606
|
-
<h3>do<wbr>Read</h3>
|
|
607
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
608
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Read<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, $create<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
609
|
-
</ul>
|
|
610
|
-
<ul class="tsd-descriptions">
|
|
611
|
-
<li class="tsd-description">
|
|
612
|
-
<aside class="tsd-sources">
|
|
613
|
-
<ul>
|
|
614
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L548">src/cores/proxy-storage-service.ts:548</a></li>
|
|
615
|
-
</ul>
|
|
616
|
-
</aside>
|
|
617
|
-
<div class="tsd-comment tsd-typography">
|
|
618
|
-
<div class="lead">
|
|
619
|
-
<p>read model by key + id with optional auto creation.</p>
|
|
620
|
-
</div>
|
|
621
|
-
</div>
|
|
622
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
623
|
-
<ul class="tsd-parameters">
|
|
624
|
-
<li>
|
|
625
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
626
|
-
<div class="tsd-comment tsd-typography">
|
|
627
|
-
<p>model-type</p>
|
|
628
|
-
</div>
|
|
629
|
-
</li>
|
|
630
|
-
<li>
|
|
631
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
632
|
-
<div class="tsd-comment tsd-typography">
|
|
633
|
-
<p>node-id</p>
|
|
634
|
-
</div>
|
|
635
|
-
</li>
|
|
636
|
-
<li>
|
|
637
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> $create: <span class="tsd-signature-type">T</span></h5>
|
|
638
|
-
<div class="tsd-comment tsd-typography">
|
|
639
|
-
<p>(optional) initial model if not exist. (or throw 404 error)</p>
|
|
640
|
-
</div>
|
|
641
|
-
</li>
|
|
642
|
-
</ul>
|
|
643
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
644
|
-
</li>
|
|
645
|
-
</ul>
|
|
646
|
-
</section>
|
|
647
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
648
|
-
<a name="dorelease" class="tsd-anchor"></a>
|
|
649
|
-
<h3>do<wbr>Release</h3>
|
|
650
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
651
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Release<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li>
|
|
652
|
-
</ul>
|
|
653
|
-
<ul class="tsd-descriptions">
|
|
654
|
-
<li class="tsd-description">
|
|
655
|
-
<aside class="tsd-sources">
|
|
656
|
-
<ul>
|
|
657
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L724">src/cores/proxy-storage-service.ts:724</a></li>
|
|
658
|
-
</ul>
|
|
659
|
-
</aside>
|
|
660
|
-
<div class="tsd-comment tsd-typography">
|
|
661
|
-
<div class="lead">
|
|
662
|
-
<p>release lock by resetting lock = 0.</p>
|
|
663
|
-
</div>
|
|
664
|
-
</div>
|
|
665
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
666
|
-
<ul class="tsd-parameters">
|
|
667
|
-
<li>
|
|
668
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
669
|
-
<div class="tsd-comment tsd-typography">
|
|
670
|
-
<p>model-type</p>
|
|
671
|
-
</div>
|
|
672
|
-
</li>
|
|
673
|
-
<li>
|
|
674
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
675
|
-
<div class="tsd-comment tsd-typography">
|
|
676
|
-
<p>model-id</p>
|
|
677
|
-
</div>
|
|
678
|
-
</li>
|
|
679
|
-
</ul>
|
|
680
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4>
|
|
681
|
-
</li>
|
|
682
|
-
</ul>
|
|
683
|
-
</section>
|
|
684
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
685
|
-
<a name="dosave" class="tsd-anchor"></a>
|
|
686
|
-
<h3>do<wbr>Save</h3>
|
|
687
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
688
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Save<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, $create<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
689
|
-
</ul>
|
|
690
|
-
<ul class="tsd-descriptions">
|
|
691
|
-
<li class="tsd-description">
|
|
692
|
-
<aside class="tsd-sources">
|
|
693
|
-
<ul>
|
|
694
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L627">src/cores/proxy-storage-service.ts:627</a></li>
|
|
695
|
-
</ul>
|
|
696
|
-
</aside>
|
|
697
|
-
<div class="tsd-comment tsd-typography">
|
|
698
|
-
<div class="lead">
|
|
699
|
-
<p>save model by checking origin node.</p>
|
|
700
|
-
<ul>
|
|
701
|
-
<li>use <code>doSave()</code> rather than <code>doUpdate()</code> for both create & update.</li>
|
|
702
|
-
<li>if <code>$create</code> is null, throw 404 error it if not found.</li>
|
|
703
|
-
</ul>
|
|
704
|
-
</div>
|
|
705
|
-
</div>
|
|
706
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
707
|
-
<ul class="tsd-parameters">
|
|
708
|
-
<li>
|
|
709
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
710
|
-
<div class="tsd-comment tsd-typography">
|
|
711
|
-
<p>model-type</p>
|
|
712
|
-
</div>
|
|
713
|
-
</li>
|
|
714
|
-
<li>
|
|
715
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
716
|
-
<div class="tsd-comment tsd-typography">
|
|
717
|
-
<p>node-id</p>
|
|
718
|
-
</div>
|
|
719
|
-
</li>
|
|
720
|
-
<li>
|
|
721
|
-
<h5>node: <span class="tsd-signature-type">T</span></h5>
|
|
722
|
-
<div class="tsd-comment tsd-typography">
|
|
723
|
-
<p>node to save (or update)</p>
|
|
724
|
-
</div>
|
|
725
|
-
</li>
|
|
726
|
-
<li>
|
|
727
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> $create: <span class="tsd-signature-type">T</span></h5>
|
|
728
|
-
<div class="tsd-comment tsd-typography">
|
|
729
|
-
<p>(optional) initial creation model if not found.</p>
|
|
730
|
-
</div>
|
|
731
|
-
</li>
|
|
732
|
-
</ul>
|
|
733
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
734
|
-
</li>
|
|
735
|
-
</ul>
|
|
736
|
-
</section>
|
|
737
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
738
|
-
<a name="doupdate" class="tsd-anchor"></a>
|
|
739
|
-
<h3>do<wbr>Update</h3>
|
|
740
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
741
|
-
<li class="tsd-signature tsd-kind-icon">do<wbr>Update<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, incrementals<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
742
|
-
</ul>
|
|
743
|
-
<ul class="tsd-descriptions">
|
|
744
|
-
<li class="tsd-description">
|
|
745
|
-
<aside class="tsd-sources">
|
|
746
|
-
<ul>
|
|
747
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L589">src/cores/proxy-storage-service.ts:589</a></li>
|
|
748
|
-
</ul>
|
|
749
|
-
</aside>
|
|
750
|
-
<div class="tsd-comment tsd-typography">
|
|
751
|
-
<div class="lead">
|
|
752
|
-
<p>update model (or it will create automatically)</p>
|
|
753
|
-
</div>
|
|
754
|
-
</div>
|
|
755
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
756
|
-
<ul class="tsd-parameters">
|
|
757
|
-
<li>
|
|
758
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
759
|
-
<div class="tsd-comment tsd-typography">
|
|
760
|
-
<p>model-type</p>
|
|
761
|
-
</div>
|
|
762
|
-
</li>
|
|
763
|
-
<li>
|
|
764
|
-
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
765
|
-
<div class="tsd-comment tsd-typography">
|
|
766
|
-
<p>node-id</p>
|
|
767
|
-
</div>
|
|
768
|
-
</li>
|
|
769
|
-
<li>
|
|
770
|
-
<h5>node: <span class="tsd-signature-type">T</span></h5>
|
|
771
|
-
<div class="tsd-comment tsd-typography">
|
|
772
|
-
<p>model</p>
|
|
773
|
-
</div>
|
|
774
|
-
</li>
|
|
775
|
-
<li>
|
|
776
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> incrementals: <span class="tsd-signature-type">T</span></h5>
|
|
777
|
-
<div class="tsd-comment tsd-typography">
|
|
778
|
-
<p>(optional) fields to increment</p>
|
|
779
|
-
</div>
|
|
780
|
-
</li>
|
|
781
|
-
</ul>
|
|
782
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
783
|
-
</li>
|
|
784
|
-
</ul>
|
|
785
|
-
</section>
|
|
786
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
787
|
-
<a name="gettime" class="tsd-anchor"></a>
|
|
788
|
-
<h3>get<wbr>Time</h3>
|
|
789
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
790
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Time<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>
|
|
791
|
-
</ul>
|
|
792
|
-
<ul class="tsd-descriptions">
|
|
793
|
-
<li class="tsd-description">
|
|
794
|
-
<aside class="tsd-sources">
|
|
795
|
-
<ul>
|
|
796
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L515">src/cores/proxy-storage-service.ts:515</a></li>
|
|
797
|
-
</ul>
|
|
798
|
-
</aside>
|
|
799
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
800
|
-
</li>
|
|
801
|
-
</ul>
|
|
802
|
-
</section>
|
|
803
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
804
|
-
<a name="hello" class="tsd-anchor"></a>
|
|
805
|
-
<h3>hello</h3>
|
|
806
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
807
|
-
<li class="tsd-signature tsd-kind-icon">hello<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>
|
|
808
|
-
</ul>
|
|
809
|
-
<ul class="tsd-descriptions">
|
|
810
|
-
<li class="tsd-description">
|
|
811
|
-
<aside class="tsd-sources">
|
|
812
|
-
<p>Implementation of <a href="../interfaces/storageservice.html">StorageService</a>.<a href="../interfaces/storageservice.html#hello">hello</a></p>
|
|
813
|
-
<ul>
|
|
814
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L428">src/cores/proxy-storage-service.ts:428</a></li>
|
|
815
|
-
</ul>
|
|
816
|
-
</aside>
|
|
817
|
-
<div class="tsd-comment tsd-typography">
|
|
818
|
-
<div class="lead">
|
|
819
|
-
<p>say hello()</p>
|
|
820
|
-
</div>
|
|
821
|
-
</div>
|
|
822
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
823
|
-
</li>
|
|
824
|
-
</ul>
|
|
825
|
-
</section>
|
|
826
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
827
|
-
<a name="increment" class="tsd-anchor"></a>
|
|
828
|
-
<h3>increment</h3>
|
|
829
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
830
|
-
<li class="tsd-signature tsd-kind-icon">increment<span class="tsd-signature-symbol">(</span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, model<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, $update<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
831
|
-
</ul>
|
|
832
|
-
<ul class="tsd-descriptions">
|
|
833
|
-
<li class="tsd-description">
|
|
834
|
-
<aside class="tsd-sources">
|
|
835
|
-
<ul>
|
|
836
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L454">src/cores/proxy-storage-service.ts:454</a></li>
|
|
837
|
-
</ul>
|
|
838
|
-
</aside>
|
|
839
|
-
<div class="tsd-comment tsd-typography">
|
|
840
|
-
<div class="lead">
|
|
841
|
-
<p>increment by _id</p>
|
|
842
|
-
</div>
|
|
843
|
-
</div>
|
|
844
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
845
|
-
<ul class="tsd-parameters">
|
|
846
|
-
<li>
|
|
847
|
-
<h5>_id: <span class="tsd-signature-type">string</span></h5>
|
|
848
|
-
</li>
|
|
849
|
-
<li>
|
|
850
|
-
<h5>model: <span class="tsd-signature-type">T</span></h5>
|
|
851
|
-
</li>
|
|
852
|
-
<li>
|
|
853
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> $update: <span class="tsd-signature-type">T</span></h5>
|
|
854
|
-
</li>
|
|
855
|
-
</ul>
|
|
856
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
857
|
-
</li>
|
|
858
|
-
</ul>
|
|
859
|
-
</section>
|
|
860
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
861
|
-
<a name="maketypedstorageservice" class="tsd-anchor"></a>
|
|
862
|
-
<h3>make<wbr>Typed<wbr>Storage<wbr>Service</h3>
|
|
863
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
864
|
-
<li class="tsd-signature tsd-kind-icon">make<wbr>Typed<wbr>Storage<wbr>Service<U><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="typedstorageservice.html" class="tsd-signature-type">TypedStorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">U</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></li>
|
|
865
|
-
</ul>
|
|
866
|
-
<ul class="tsd-descriptions">
|
|
867
|
-
<li class="tsd-description">
|
|
868
|
-
<aside class="tsd-sources">
|
|
869
|
-
<ul>
|
|
870
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L765">src/cores/proxy-storage-service.ts:765</a></li>
|
|
871
|
-
</ul>
|
|
872
|
-
</aside>
|
|
873
|
-
<div class="tsd-comment tsd-typography">
|
|
874
|
-
<div class="lead">
|
|
875
|
-
<p>create proxy-storage-service by type</p>
|
|
876
|
-
</div>
|
|
877
|
-
</div>
|
|
878
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
879
|
-
<ul class="tsd-type-parameters">
|
|
880
|
-
<li>
|
|
881
|
-
<h4>U<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span></h4>
|
|
882
|
-
</li>
|
|
883
|
-
</ul>
|
|
884
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
885
|
-
<ul class="tsd-parameters">
|
|
886
|
-
<li>
|
|
887
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
888
|
-
<div class="tsd-comment tsd-typography">
|
|
889
|
-
<p>model-type</p>
|
|
890
|
-
</div>
|
|
891
|
-
</li>
|
|
892
|
-
</ul>
|
|
893
|
-
<h4 class="tsd-returns-title">Returns <a href="typedstorageservice.html" class="tsd-signature-type">TypedStorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">U</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></h4>
|
|
894
|
-
</li>
|
|
895
|
-
</ul>
|
|
896
|
-
</section>
|
|
897
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
898
|
-
<a name="nextseq" class="tsd-anchor"></a>
|
|
899
|
-
<h3>next<wbr>Seq</h3>
|
|
900
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
901
|
-
<li class="tsd-signature tsd-kind-icon">next<wbr>Seq<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ModelType</span>, initNext<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</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">number</span><span class="tsd-signature-symbol">></span></li>
|
|
902
|
-
</ul>
|
|
903
|
-
<ul class="tsd-descriptions">
|
|
904
|
-
<li class="tsd-description">
|
|
905
|
-
<aside class="tsd-sources">
|
|
906
|
-
<ul>
|
|
907
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L479">src/cores/proxy-storage-service.ts:479</a></li>
|
|
908
|
-
</ul>
|
|
909
|
-
</aside>
|
|
910
|
-
<div class="tsd-comment tsd-typography">
|
|
911
|
-
<div class="lead">
|
|
912
|
-
<p>get next auto-sequence number.</p>
|
|
913
|
-
</div>
|
|
914
|
-
</div>
|
|
915
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
916
|
-
<ul class="tsd-parameters">
|
|
917
|
-
<li>
|
|
918
|
-
<h5>type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
919
|
-
<div class="tsd-comment tsd-typography">
|
|
920
|
-
<p>type of seqeunce.</p>
|
|
921
|
-
</div>
|
|
922
|
-
</li>
|
|
923
|
-
<li>
|
|
924
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> initNext: <span class="tsd-signature-type">number</span></h5>
|
|
925
|
-
<div class="tsd-comment tsd-typography">
|
|
926
|
-
<p>initial next value if not exist.</p>
|
|
927
|
-
</div>
|
|
928
|
-
</li>
|
|
929
|
-
</ul>
|
|
930
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4>
|
|
931
|
-
</li>
|
|
932
|
-
</ul>
|
|
933
|
-
</section>
|
|
934
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
935
|
-
<a name="nextuuid" class="tsd-anchor"></a>
|
|
936
|
-
<h3>next<wbr>Uuid</h3>
|
|
937
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
938
|
-
<li class="tsd-signature tsd-kind-icon">next<wbr>Uuid<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ModelType</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">string</span><span class="tsd-signature-symbol">></span></li>
|
|
939
|
-
</ul>
|
|
940
|
-
<ul class="tsd-descriptions">
|
|
941
|
-
<li class="tsd-description">
|
|
942
|
-
<aside class="tsd-sources">
|
|
943
|
-
<ul>
|
|
944
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L501">src/cores/proxy-storage-service.ts:501</a></li>
|
|
945
|
-
</ul>
|
|
946
|
-
</aside>
|
|
947
|
-
<div class="tsd-comment tsd-typography">
|
|
948
|
-
<div class="lead">
|
|
949
|
-
<p>get uuid by type.</p>
|
|
950
|
-
</div>
|
|
951
|
-
</div>
|
|
952
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
953
|
-
<ul class="tsd-parameters">
|
|
954
|
-
<li>
|
|
955
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> type: <span class="tsd-signature-type">ModelType</span></h5>
|
|
956
|
-
<div class="tsd-comment tsd-typography">
|
|
957
|
-
</div>
|
|
958
|
-
</li>
|
|
959
|
-
</ul>
|
|
960
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
|
961
|
-
</li>
|
|
962
|
-
</ul>
|
|
963
|
-
</section>
|
|
964
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
965
|
-
<a name="read" class="tsd-anchor"></a>
|
|
966
|
-
<h3>read</h3>
|
|
967
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
968
|
-
<li class="tsd-signature tsd-kind-icon">read<span class="tsd-signature-symbol">(</span>_id<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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></li>
|
|
969
|
-
</ul>
|
|
970
|
-
<ul class="tsd-descriptions">
|
|
971
|
-
<li class="tsd-description">
|
|
972
|
-
<aside class="tsd-sources">
|
|
973
|
-
<p>Implementation of <a href="../interfaces/storageservice.html">StorageService</a>.<a href="../interfaces/storageservice.html#read">read</a></p>
|
|
974
|
-
<ul>
|
|
975
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L433">src/cores/proxy-storage-service.ts:433</a></li>
|
|
976
|
-
</ul>
|
|
977
|
-
</aside>
|
|
978
|
-
<div class="tsd-comment tsd-typography">
|
|
979
|
-
<div class="lead">
|
|
980
|
-
<p>read by _id</p>
|
|
981
|
-
</div>
|
|
982
|
-
</div>
|
|
983
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
984
|
-
<ul class="tsd-parameters">
|
|
985
|
-
<li>
|
|
986
|
-
<h5>_id: <span class="tsd-signature-type">string</span></h5>
|
|
987
|
-
</li>
|
|
988
|
-
</ul>
|
|
989
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
990
|
-
</li>
|
|
991
|
-
</ul>
|
|
992
|
-
</section>
|
|
993
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
994
|
-
<a name="readorcreate" class="tsd-anchor"></a>
|
|
995
|
-
<h3>read<wbr>OrCreate</h3>
|
|
996
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
997
|
-
<li class="tsd-signature tsd-kind-icon">read<wbr>OrCreate<span class="tsd-signature-symbol">(</span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, model<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
998
|
-
</ul>
|
|
999
|
-
<ul class="tsd-descriptions">
|
|
1000
|
-
<li class="tsd-description">
|
|
1001
|
-
<aside class="tsd-sources">
|
|
1002
|
-
<ul>
|
|
1003
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L438">src/cores/proxy-storage-service.ts:438</a></li>
|
|
1004
|
-
</ul>
|
|
1005
|
-
</aside>
|
|
1006
|
-
<div class="tsd-comment tsd-typography">
|
|
1007
|
-
<div class="lead">
|
|
1008
|
-
<p>read or create by _id</p>
|
|
1009
|
-
</div>
|
|
1010
|
-
</div>
|
|
1011
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1012
|
-
<ul class="tsd-parameters">
|
|
1013
|
-
<li>
|
|
1014
|
-
<h5>_id: <span class="tsd-signature-type">string</span></h5>
|
|
1015
|
-
</li>
|
|
1016
|
-
<li>
|
|
1017
|
-
<h5>model: <span class="tsd-signature-type">T</span></h5>
|
|
1018
|
-
</li>
|
|
1019
|
-
</ul>
|
|
1020
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
1021
|
-
</li>
|
|
1022
|
-
</ul>
|
|
1023
|
-
</section>
|
|
1024
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
1025
|
-
<a name="save" class="tsd-anchor"></a>
|
|
1026
|
-
<h3>save</h3>
|
|
1027
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
1028
|
-
<li class="tsd-signature tsd-kind-icon">save<span class="tsd-signature-symbol">(</span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, model<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
1029
|
-
</ul>
|
|
1030
|
-
<ul class="tsd-descriptions">
|
|
1031
|
-
<li class="tsd-description">
|
|
1032
|
-
<aside class="tsd-sources">
|
|
1033
|
-
<ul>
|
|
1034
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L443">src/cores/proxy-storage-service.ts:443</a></li>
|
|
1035
|
-
</ul>
|
|
1036
|
-
</aside>
|
|
1037
|
-
<div class="tsd-comment tsd-typography">
|
|
1038
|
-
<div class="lead">
|
|
1039
|
-
<p>save by _id</p>
|
|
1040
|
-
</div>
|
|
1041
|
-
</div>
|
|
1042
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1043
|
-
<ul class="tsd-parameters">
|
|
1044
|
-
<li>
|
|
1045
|
-
<h5>_id: <span class="tsd-signature-type">string</span></h5>
|
|
1046
|
-
</li>
|
|
1047
|
-
<li>
|
|
1048
|
-
<h5>model: <span class="tsd-signature-type">T</span></h5>
|
|
1049
|
-
</li>
|
|
1050
|
-
</ul>
|
|
1051
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
1052
|
-
</li>
|
|
1053
|
-
</ul>
|
|
1054
|
-
</section>
|
|
1055
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
1056
|
-
<a name="settimer" class="tsd-anchor"></a>
|
|
1057
|
-
<h3>set<wbr>Timer</h3>
|
|
1058
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
1059
|
-
<li class="tsd-signature tsd-kind-icon">set<wbr>Timer<span class="tsd-signature-symbol">(</span>timer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span></li>
|
|
1060
|
-
</ul>
|
|
1061
|
-
<ul class="tsd-descriptions">
|
|
1062
|
-
<li class="tsd-description">
|
|
1063
|
-
<aside class="tsd-sources">
|
|
1064
|
-
<ul>
|
|
1065
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L510">src/cores/proxy-storage-service.ts:510</a></li>
|
|
1066
|
-
</ul>
|
|
1067
|
-
</aside>
|
|
1068
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1069
|
-
<ul class="tsd-parameters">
|
|
1070
|
-
<li>
|
|
1071
|
-
<h5>timer: <span class="tsd-signature-type">function</span></h5>
|
|
1072
|
-
<ul class="tsd-parameters">
|
|
1073
|
-
<li class="tsd-parameter-siganture">
|
|
1074
|
-
<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
|
|
1075
|
-
<li class="tsd-signature tsd-kind-icon"><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>
|
|
1076
|
-
</ul>
|
|
1077
|
-
<ul class="tsd-descriptions">
|
|
1078
|
-
<li class="tsd-description">
|
|
1079
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
1080
|
-
</li>
|
|
1081
|
-
</ul>
|
|
1082
|
-
</li>
|
|
1083
|
-
</ul>
|
|
1084
|
-
</li>
|
|
1085
|
-
</ul>
|
|
1086
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">function</span></h4>
|
|
1087
|
-
<ul class="tsd-parameters">
|
|
1088
|
-
<li class="tsd-parameter-siganture">
|
|
1089
|
-
<ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
|
|
1090
|
-
<li class="tsd-signature tsd-kind-icon"><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>
|
|
1091
|
-
</ul>
|
|
1092
|
-
<ul class="tsd-descriptions">
|
|
1093
|
-
<li class="tsd-description">
|
|
1094
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
1095
|
-
</li>
|
|
1096
|
-
</ul>
|
|
1097
|
-
</li>
|
|
1098
|
-
</ul>
|
|
1099
|
-
</li>
|
|
1100
|
-
</ul>
|
|
1101
|
-
</section>
|
|
1102
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
1103
|
-
<a name="update" class="tsd-anchor"></a>
|
|
1104
|
-
<h3>update</h3>
|
|
1105
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
1106
|
-
<li class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">(</span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, model<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, incrementals<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">T</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">T</span><span class="tsd-signature-symbol">></span></li>
|
|
1107
|
-
</ul>
|
|
1108
|
-
<ul class="tsd-descriptions">
|
|
1109
|
-
<li class="tsd-description">
|
|
1110
|
-
<aside class="tsd-sources">
|
|
1111
|
-
<ul>
|
|
1112
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L448">src/cores/proxy-storage-service.ts:448</a></li>
|
|
1113
|
-
</ul>
|
|
1114
|
-
</aside>
|
|
1115
|
-
<div class="tsd-comment tsd-typography">
|
|
1116
|
-
<div class="lead">
|
|
1117
|
-
<p>update by _id</p>
|
|
1118
|
-
</div>
|
|
1119
|
-
</div>
|
|
1120
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1121
|
-
<ul class="tsd-parameters">
|
|
1122
|
-
<li>
|
|
1123
|
-
<h5>_id: <span class="tsd-signature-type">string</span></h5>
|
|
1124
|
-
</li>
|
|
1125
|
-
<li>
|
|
1126
|
-
<h5>model: <span class="tsd-signature-type">T</span></h5>
|
|
1127
|
-
</li>
|
|
1128
|
-
<li>
|
|
1129
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> incrementals: <span class="tsd-signature-type">T</span></h5>
|
|
1130
|
-
</li>
|
|
1131
|
-
</ul>
|
|
1132
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
1133
|
-
</li>
|
|
1134
|
-
</ul>
|
|
1135
|
-
</section>
|
|
1136
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static">
|
|
1137
|
-
<a name="create" class="tsd-anchor"></a>
|
|
1138
|
-
<h3><span class="tsd-flag ts-flagStatic">Static</span> create</h3>
|
|
1139
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static">
|
|
1140
|
-
<li class="tsd-signature tsd-kind-icon">create<T, ModelType><span class="tsd-signature-symbol">(</span>service<span class="tsd-signature-symbol">: </span><a href="../interfaces/corekeymakeable.html" class="tsd-signature-type">CoreKeyMakeable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span>, table<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, fields<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, filters<span class="tsd-signature-symbol">?: </span><a href="../interfaces/coremodelfilterable.html" class="tsd-signature-type">CoreModelFilterable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span>, idName<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="proxystorageservice.html" class="tsd-signature-type">ProxyStorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></li>
|
|
1141
|
-
</ul>
|
|
1142
|
-
<ul class="tsd-descriptions">
|
|
1143
|
-
<li class="tsd-description">
|
|
1144
|
-
<aside class="tsd-sources">
|
|
1145
|
-
<ul>
|
|
1146
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L407">src/cores/proxy-storage-service.ts:407</a></li>
|
|
1147
|
-
</ul>
|
|
1148
|
-
</aside>
|
|
1149
|
-
<div class="tsd-comment tsd-typography">
|
|
1150
|
-
<div class="lead">
|
|
1151
|
-
<p>factory function to create this <code>proxy-storage-service</code></p>
|
|
1152
|
-
</div>
|
|
1153
|
-
</div>
|
|
1154
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
1155
|
-
<ul class="tsd-type-parameters">
|
|
1156
|
-
<li>
|
|
1157
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../interfaces/coremodel.html" class="tsd-signature-type">CoreModel</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></h4>
|
|
1158
|
-
</li>
|
|
1159
|
-
<li>
|
|
1160
|
-
<h4>ModelType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h4>
|
|
1161
|
-
</li>
|
|
1162
|
-
</ul>
|
|
1163
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1164
|
-
<ul class="tsd-parameters">
|
|
1165
|
-
<li>
|
|
1166
|
-
<h5>service: <a href="../interfaces/corekeymakeable.html" class="tsd-signature-type">CoreKeyMakeable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></h5>
|
|
1167
|
-
<div class="tsd-comment tsd-typography">
|
|
1168
|
-
<p>key-makeable</p>
|
|
1169
|
-
</div>
|
|
1170
|
-
</li>
|
|
1171
|
-
<li>
|
|
1172
|
-
<h5>table: <span class="tsd-signature-type">string</span></h5>
|
|
1173
|
-
<div class="tsd-comment tsd-typography">
|
|
1174
|
-
<p>table-name</p>
|
|
1175
|
-
</div>
|
|
1176
|
-
</li>
|
|
1177
|
-
<li>
|
|
1178
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> fields: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
1179
|
-
<div class="tsd-comment tsd-typography">
|
|
1180
|
-
<p>list of fields.</p>
|
|
1181
|
-
</div>
|
|
1182
|
-
</li>
|
|
1183
|
-
<li>
|
|
1184
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> filters: <a href="../interfaces/coremodelfilterable.html" class="tsd-signature-type">CoreModelFilterable</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h5>
|
|
1185
|
-
<div class="tsd-comment tsd-typography">
|
|
1186
|
-
<p>model filter.</p>
|
|
1187
|
-
</div>
|
|
1188
|
-
</li>
|
|
1189
|
-
<li>
|
|
1190
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> idName: <span class="tsd-signature-type">string</span></h5>
|
|
1191
|
-
<div class="tsd-comment tsd-typography">
|
|
1192
|
-
<p>(optional) internal partition-key (default as '_id')</p>
|
|
1193
|
-
</div>
|
|
1194
|
-
</li>
|
|
1195
|
-
</ul>
|
|
1196
|
-
<h4 class="tsd-returns-title">Returns <a href="proxystorageservice.html" class="tsd-signature-type">ProxyStorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">ModelType</span><span class="tsd-signature-symbol">></span></h4>
|
|
1197
|
-
</li>
|
|
1198
|
-
</ul>
|
|
1199
|
-
</section>
|
|
1200
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static">
|
|
1201
|
-
<a name="makestorageservice" class="tsd-anchor"></a>
|
|
1202
|
-
<h3><span class="tsd-flag ts-flagStatic">Static</span> make<wbr>Storage<wbr>Service</h3>
|
|
1203
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static">
|
|
1204
|
-
<li class="tsd-signature tsd-kind-icon">make<wbr>Storage<wbr>Service<T><span class="tsd-signature-symbol">(</span>table<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, fields<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, idName<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="../interfaces/storageservice.html" class="tsd-signature-type">StorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></li>
|
|
1205
|
-
</ul>
|
|
1206
|
-
<ul class="tsd-descriptions">
|
|
1207
|
-
<li class="tsd-description">
|
|
1208
|
-
<aside class="tsd-sources">
|
|
1209
|
-
<ul>
|
|
1210
|
-
<li>Defined in <a href="https://github.com/lemoncloud-io/lemon-core/blob/bbba320/src/cores/proxy-storage-service.ts#L741">src/cores/proxy-storage-service.ts:741</a></li>
|
|
1211
|
-
</ul>
|
|
1212
|
-
</aside>
|
|
1213
|
-
<div class="tsd-comment tsd-typography">
|
|
1214
|
-
<div class="lead">
|
|
1215
|
-
<p>create storage-service w/ fields list.</p>
|
|
1216
|
-
<ul>
|
|
1217
|
-
<li>idName should be <code>_id</code></li>
|
|
1218
|
-
</ul>
|
|
1219
|
-
</div>
|
|
1220
|
-
</div>
|
|
1221
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
1222
|
-
<ul class="tsd-type-parameters">
|
|
1223
|
-
<li>
|
|
1224
|
-
<h4>T</h4>
|
|
1225
|
-
</li>
|
|
1226
|
-
</ul>
|
|
1227
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1228
|
-
<ul class="tsd-parameters">
|
|
1229
|
-
<li>
|
|
1230
|
-
<h5>table: <span class="tsd-signature-type">string</span></h5>
|
|
1231
|
-
<div class="tsd-comment tsd-typography">
|
|
1232
|
-
<p>table-name or dummy file name (ex: <code>dummy-data.yml</code>).</p>
|
|
1233
|
-
</div>
|
|
1234
|
-
</li>
|
|
1235
|
-
<li>
|
|
1236
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> fields: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
1237
|
-
<div class="tsd-comment tsd-typography">
|
|
1238
|
-
<p>required for dynamo table.</p>
|
|
1239
|
-
</div>
|
|
1240
|
-
</li>
|
|
1241
|
-
<li>
|
|
1242
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> idName: <span class="tsd-signature-type">string</span></h5>
|
|
1243
|
-
<div class="tsd-comment tsd-typography">
|
|
1244
|
-
<p>internal partition-key name (default '_id')</p>
|
|
1245
|
-
</div>
|
|
1246
|
-
</li>
|
|
1247
|
-
</ul>
|
|
1248
|
-
<h4 class="tsd-returns-title">Returns <a href="../interfaces/storageservice.html" class="tsd-signature-type">StorageService</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
1249
|
-
</li>
|
|
1250
|
-
</ul>
|
|
1251
|
-
</section>
|
|
1252
|
-
</section>
|
|
1253
|
-
</div>
|
|
1254
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
1255
|
-
<nav class="tsd-navigation primary">
|
|
1256
|
-
<ul>
|
|
1257
|
-
<li class="globals ">
|
|
1258
|
-
<a href="../globals.html"><em>Globals</em></a>
|
|
1259
|
-
</li>
|
|
1260
|
-
</ul>
|
|
1261
|
-
</nav>
|
|
1262
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
1263
|
-
<ul class="before-current">
|
|
1264
|
-
</ul>
|
|
1265
|
-
<ul class="current">
|
|
1266
|
-
<li class="current tsd-kind-class tsd-has-type-parameter">
|
|
1267
|
-
<a href="proxystorageservice.html" class="tsd-kind-icon">Proxy<wbr>Storage<wbr>Service</a>
|
|
1268
|
-
<ul>
|
|
1269
|
-
<li class=" tsd-kind-constructor tsd-parent-kind-class">
|
|
1270
|
-
<a href="proxystorageservice.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
1271
|
-
</li>
|
|
1272
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
1273
|
-
<a href="proxystorageservice.html#_timer" class="tsd-kind-icon">$timer</a>
|
|
1274
|
-
</li>
|
|
1275
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1276
|
-
<a href="proxystorageservice.html#filters" class="tsd-kind-icon">filters</a>
|
|
1277
|
-
</li>
|
|
1278
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1279
|
-
<a href="proxystorageservice.html#idname" class="tsd-kind-icon">id<wbr>Name</a>
|
|
1280
|
-
</li>
|
|
1281
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1282
|
-
<a href="proxystorageservice.html#service" class="tsd-kind-icon">service</a>
|
|
1283
|
-
</li>
|
|
1284
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1285
|
-
<a href="proxystorageservice.html#storage" class="tsd-kind-icon">storage</a>
|
|
1286
|
-
</li>
|
|
1287
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
|
|
1288
|
-
<a href="proxystorageservice.html#auto_sequence" class="tsd-kind-icon">AUTO_<wbr>SEQUENCE</a>
|
|
1289
|
-
</li>
|
|
1290
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
|
|
1291
|
-
<a href="proxystorageservice.html#type_sequence" class="tsd-kind-icon">TYPE_<wbr>SEQUENCE</a>
|
|
1292
|
-
</li>
|
|
1293
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1294
|
-
<a href="proxystorageservice.html#askey" class="tsd-kind-icon">as<wbr>Key</a>
|
|
1295
|
-
</li>
|
|
1296
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1297
|
-
<a href="proxystorageservice.html#astime" class="tsd-kind-icon">as<wbr>Time</a>
|
|
1298
|
-
</li>
|
|
1299
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1300
|
-
<a href="proxystorageservice.html#clearseq" class="tsd-kind-icon">clear<wbr>Seq</a>
|
|
1301
|
-
</li>
|
|
1302
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1303
|
-
<a href="proxystorageservice.html#delete" class="tsd-kind-icon">delete</a>
|
|
1304
|
-
</li>
|
|
1305
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1306
|
-
<a href="proxystorageservice.html#dodelete" class="tsd-kind-icon">do<wbr>Delete</a>
|
|
1307
|
-
</li>
|
|
1308
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1309
|
-
<a href="proxystorageservice.html#doincrement" class="tsd-kind-icon">do<wbr>Increment</a>
|
|
1310
|
-
</li>
|
|
1311
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1312
|
-
<a href="proxystorageservice.html#dolock" class="tsd-kind-icon">do<wbr>Lock</a>
|
|
1313
|
-
</li>
|
|
1314
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1315
|
-
<a href="proxystorageservice.html#doread" class="tsd-kind-icon">do<wbr>Read</a>
|
|
1316
|
-
</li>
|
|
1317
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1318
|
-
<a href="proxystorageservice.html#dorelease" class="tsd-kind-icon">do<wbr>Release</a>
|
|
1319
|
-
</li>
|
|
1320
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1321
|
-
<a href="proxystorageservice.html#dosave" class="tsd-kind-icon">do<wbr>Save</a>
|
|
1322
|
-
</li>
|
|
1323
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1324
|
-
<a href="proxystorageservice.html#doupdate" class="tsd-kind-icon">do<wbr>Update</a>
|
|
1325
|
-
</li>
|
|
1326
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1327
|
-
<a href="proxystorageservice.html#gettime" class="tsd-kind-icon">get<wbr>Time</a>
|
|
1328
|
-
</li>
|
|
1329
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1330
|
-
<a href="proxystorageservice.html#hello" class="tsd-kind-icon">hello</a>
|
|
1331
|
-
</li>
|
|
1332
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1333
|
-
<a href="proxystorageservice.html#increment" class="tsd-kind-icon">increment</a>
|
|
1334
|
-
</li>
|
|
1335
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
1336
|
-
<a href="proxystorageservice.html#maketypedstorageservice" class="tsd-kind-icon">make<wbr>Typed<wbr>Storage<wbr>Service</a>
|
|
1337
|
-
</li>
|
|
1338
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1339
|
-
<a href="proxystorageservice.html#nextseq" class="tsd-kind-icon">next<wbr>Seq</a>
|
|
1340
|
-
</li>
|
|
1341
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1342
|
-
<a href="proxystorageservice.html#nextuuid" class="tsd-kind-icon">next<wbr>Uuid</a>
|
|
1343
|
-
</li>
|
|
1344
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1345
|
-
<a href="proxystorageservice.html#read" class="tsd-kind-icon">read</a>
|
|
1346
|
-
</li>
|
|
1347
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1348
|
-
<a href="proxystorageservice.html#readorcreate" class="tsd-kind-icon">read<wbr>OrCreate</a>
|
|
1349
|
-
</li>
|
|
1350
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1351
|
-
<a href="proxystorageservice.html#save" class="tsd-kind-icon">save</a>
|
|
1352
|
-
</li>
|
|
1353
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1354
|
-
<a href="proxystorageservice.html#settimer" class="tsd-kind-icon">set<wbr>Timer</a>
|
|
1355
|
-
</li>
|
|
1356
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1357
|
-
<a href="proxystorageservice.html#update" class="tsd-kind-icon">update</a>
|
|
1358
|
-
</li>
|
|
1359
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static">
|
|
1360
|
-
<a href="proxystorageservice.html#create" class="tsd-kind-icon">create</a>
|
|
1361
|
-
</li>
|
|
1362
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static">
|
|
1363
|
-
<a href="proxystorageservice.html#makestorageservice" class="tsd-kind-icon">make<wbr>Storage<wbr>Service</a>
|
|
1364
|
-
</li>
|
|
1365
|
-
</ul>
|
|
1366
|
-
</li>
|
|
1367
|
-
</ul>
|
|
1368
|
-
<ul class="after-current">
|
|
1369
|
-
</ul>
|
|
1370
|
-
</nav>
|
|
1371
|
-
</div>
|
|
1372
|
-
</div>
|
|
1373
|
-
</div>
|
|
1374
|
-
<footer class="with-border-bottom">
|
|
1375
|
-
<div class="container">
|
|
1376
|
-
<h2>Legend</h2>
|
|
1377
|
-
<div class="tsd-legend-group">
|
|
1378
|
-
<ul class="tsd-legend">
|
|
1379
|
-
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
|
|
1380
|
-
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
|
|
1381
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
1382
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
1383
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
1384
|
-
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
|
|
1385
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
1386
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
1387
|
-
</ul>
|
|
1388
|
-
<ul class="tsd-legend">
|
|
1389
|
-
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
|
|
1390
|
-
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
|
|
1391
|
-
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
|
|
1392
|
-
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
|
|
1393
|
-
</ul>
|
|
1394
|
-
<ul class="tsd-legend">
|
|
1395
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
1396
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
1397
|
-
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
|
|
1398
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
1399
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
|
|
1400
|
-
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
|
|
1401
|
-
</ul>
|
|
1402
|
-
<ul class="tsd-legend">
|
|
1403
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
1404
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
1405
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
1406
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
1407
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
1408
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
|
|
1409
|
-
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
|
|
1410
|
-
</ul>
|
|
1411
|
-
<ul class="tsd-legend">
|
|
1412
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
|
1413
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
1414
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
1415
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
|
|
1416
|
-
</ul>
|
|
1417
|
-
<ul class="tsd-legend">
|
|
1418
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
|
|
1419
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
|
|
1420
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
|
|
1421
|
-
</ul>
|
|
1422
|
-
<ul class="tsd-legend">
|
|
1423
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
|
1424
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
|
|
1425
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
|
|
1426
|
-
</ul>
|
|
1427
|
-
<ul class="tsd-legend">
|
|
1428
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
|
|
1429
|
-
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
1430
|
-
</ul>
|
|
1431
|
-
</div>
|
|
1432
|
-
</div>
|
|
1433
|
-
</footer>
|
|
1434
|
-
<div class="container tsd-generator">
|
|
1435
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
1436
|
-
</div>
|
|
1437
|
-
<div class="overlay"></div>
|
|
1438
|
-
<script src="../assets/js/main.js"></script>
|
|
1439
|
-
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
|
|
1440
|
-
</body>
|
|
1441
|
-
</html>
|