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