Skip to content

Commit 61cc7e1

Browse files
committed
deploy: 8f5e0e6
1 parent 4a3ad5e commit 61cc7e1

File tree

21 files changed

+322
-310
lines changed

21 files changed

+322
-310
lines changed

controllers/AppController.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,12 @@ <h3 id="methods">
441441
@Param(&#x27;project&#x27;) project?: string,
442442
@Query(&#x27;current&#x27;) current?: string,
443443
): Promise&lt;Response&gt; {
444+
const validProjects &#x3D; [&#x27;sesame-orchestrator&#x27;, &#x27;sesame-daemon&#x27;, &#x27;sesame-app-manager&#x27;];
445+
if (!validProjects.includes(project)) {
446+
throw new BadRequestException(&#x60;Invalid project: ${project}&#x60;);
447+
}
448+
444449
let data &#x3D; &lt;GithubUpdate&gt;{};
445-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
446450
if (storage.has(project)) {
447451
this.logger.log(&#x60;Fetching ${project} tags from cache&#x60;);
448452
data &#x3D; storage.get(project) as GithubUpdate;
@@ -454,7 +458,6 @@ <h3 id="methods">
454458
data &#x3D; await update.json();
455459
console.log(&#x27;update&#x27;, data)
456460
storage.set(project, data);
457-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
458461
}
459462
// if (!Array.isArray(data)) {
460463
// throw new BadRequestException(&#x60;Invalid data from Github &lt;${JSON.stringify(data)}&gt;&#x60;);

interfaces/GithubAsset.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,12 @@ <h3 id="inputs">Indexable</h3>
238238
@Param(&#x27;project&#x27;) project?: string,
239239
@Query(&#x27;current&#x27;) current?: string,
240240
): Promise&lt;Response&gt; {
241+
const validProjects &#x3D; [&#x27;sesame-orchestrator&#x27;, &#x27;sesame-daemon&#x27;, &#x27;sesame-app-manager&#x27;];
242+
if (!validProjects.includes(project)) {
243+
throw new BadRequestException(&#x60;Invalid project: ${project}&#x60;);
244+
}
245+
241246
let data &#x3D; &lt;GithubUpdate&gt;{};
242-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
243247
if (storage.has(project)) {
244248
this.logger.log(&#x60;Fetching ${project} tags from cache&#x60;);
245249
data &#x3D; storage.get(project) as GithubUpdate;
@@ -251,7 +255,6 @@ <h3 id="inputs">Indexable</h3>
251255
data &#x3D; await update.json();
252256
console.log(&#x27;update&#x27;, data)
253257
storage.set(project, data);
254-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
255258
}
256259
// if (!Array.isArray(data)) {
257260
// throw new BadRequestException(&#x60;Invalid data from Github &lt;${JSON.stringify(data)}&gt;&#x60;);

interfaces/GithubAuthor.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,8 +982,12 @@ <h3 id="inputs">Properties</h3>
982982
@Param(&#x27;project&#x27;) project?: string,
983983
@Query(&#x27;current&#x27;) current?: string,
984984
): Promise&lt;Response&gt; {
985+
const validProjects &#x3D; [&#x27;sesame-orchestrator&#x27;, &#x27;sesame-daemon&#x27;, &#x27;sesame-app-manager&#x27;];
986+
if (!validProjects.includes(project)) {
987+
throw new BadRequestException(&#x60;Invalid project: ${project}&#x60;);
988+
}
989+
985990
let data &#x3D; &lt;GithubUpdate&gt;{};
986-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
987991
if (storage.has(project)) {
988992
this.logger.log(&#x60;Fetching ${project} tags from cache&#x60;);
989993
data &#x3D; storage.get(project) as GithubUpdate;
@@ -995,7 +999,6 @@ <h3 id="inputs">Properties</h3>
995999
data &#x3D; await update.json();
9961000
console.log(&#x27;update&#x27;, data)
9971001
storage.set(project, data);
998-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
9991002
}
10001003
// if (!Array.isArray(data)) {
10011004
// throw new BadRequestException(&#x60;Invalid data from Github &lt;${JSON.stringify(data)}&gt;&#x60;);

interfaces/GithubUpdate.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,8 +943,12 @@ <h3 id="inputs">Properties</h3>
943943
@Param(&#x27;project&#x27;) project?: string,
944944
@Query(&#x27;current&#x27;) current?: string,
945945
): Promise&lt;Response&gt; {
946+
const validProjects &#x3D; [&#x27;sesame-orchestrator&#x27;, &#x27;sesame-daemon&#x27;, &#x27;sesame-app-manager&#x27;];
947+
if (!validProjects.includes(project)) {
948+
throw new BadRequestException(&#x60;Invalid project: ${project}&#x60;);
949+
}
950+
946951
let data &#x3D; &lt;GithubUpdate&gt;{};
947-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
948952
if (storage.has(project)) {
949953
this.logger.log(&#x60;Fetching ${project} tags from cache&#x60;);
950954
data &#x3D; storage.get(project) as GithubUpdate;
@@ -956,7 +960,6 @@ <h3 id="inputs">Properties</h3>
956960
data &#x3D; await update.json();
957961
console.log(&#x27;update&#x27;, data)
958962
storage.set(project, data);
959-
// console.log(&#x27;this.storage&#x27;, storage.get(project))
960963
}
961964
// if (!Array.isArray(data)) {
962965
// throw new BadRequestException(&#x60;Invalid data from Github &lt;${JSON.stringify(data)}&gt;&#x60;);

js/search/search_index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/AppModule.html

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -117,91 +117,91 @@
117117
<title>cluster_AppModule</title>
118118
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 866,-195 866,-70 8,-70"/>
119119
</g>
120-
<g id="clust3" class="cluster">
121-
<title>cluster_AppModule_imports</title>
122-
<polygon fill="none" stroke="black" points="343,-78 343,-130 858,-130 858,-78 343,-78"/>
123-
</g>
124120
<g id="clust6" class="cluster">
125121
<title>cluster_AppModule_providers</title>
126-
<polygon fill="none" stroke="black" points="16,-78 16,-130 335,-130 335,-78 16,-78"/>
122+
<polygon fill="none" stroke="black" points="539,-78 539,-130 858,-130 858,-78 539,-78"/>
123+
</g>
124+
<g id="clust3" class="cluster">
125+
<title>cluster_AppModule_imports</title>
126+
<polygon fill="none" stroke="black" points="16,-78 16,-130 531,-130 531,-78 16,-78"/>
127127
</g>
128128
<!-- CoreModule -->
129129
<g id="node1" class="node">
130130
<title>CoreModule</title>
131-
<polygon fill="#8dd3c7" stroke="black" points="850.26,-122 847.26,-126 826.26,-126 823.26,-122 763.74,-122 763.74,-86 850.26,-86 850.26,-122"/>
132-
<text text-anchor="middle" x="807" y="-99.8" font-family="Times,serif" font-size="14.00">CoreModule</text>
131+
<polygon fill="#8dd3c7" stroke="black" points="523.26,-122 520.26,-126 499.26,-126 496.26,-122 436.74,-122 436.74,-86 523.26,-86 523.26,-122"/>
132+
<text text-anchor="middle" x="480" y="-99.8" font-family="Times,serif" font-size="14.00">CoreModule</text>
133133
</g>
134134
<!-- AppModule -->
135135
<g id="node5" class="node">
136136
<title>AppModule</title>
137-
<polygon fill="#8dd3c7" stroke="black" points="509.66,-187 506.66,-191 485.66,-191 482.66,-187 426.34,-187 426.34,-151 509.66,-151 509.66,-187"/>
138-
<text text-anchor="middle" x="468" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
137+
<polygon fill="#8dd3c7" stroke="black" points="457.66,-187 454.66,-191 433.66,-191 430.66,-187 374.34,-187 374.34,-151 457.66,-151 457.66,-187"/>
138+
<text text-anchor="middle" x="416" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
139139
</g>
140140
<!-- CoreModule&#45;&gt;AppModule -->
141141
<g id="edge1" class="edge">
142142
<title>CoreModule&#45;&gt;AppModule</title>
143-
<path fill="none" stroke="black" d="M807,-122.28C807,-143.32 807,-175 807,-175 807,-175 519.91,-175 519.91,-175"/>
144-
<polygon fill="black" stroke="black" points="519.91,-171.5 509.91,-175 519.91,-178.5 519.91,-171.5"/>
143+
<path fill="none" stroke="black" d="M447.22,-122.11C447.22,-122.11 447.22,-140.99 447.22,-140.99"/>
144+
<polygon fill="black" stroke="black" points="443.72,-140.99 447.22,-150.99 450.72,-140.99 443.72,-140.99"/>
145145
</g>
146146
<!-- ManagementModule -->
147147
<g id="node2" class="node">
148148
<title>ManagementModule</title>
149-
<polygon fill="#8dd3c7" stroke="black" points="745.13,-122 742.13,-126 721.13,-126 718.13,-122 612.87,-122 612.87,-86 745.13,-86 745.13,-122"/>
150-
<text text-anchor="middle" x="679" y="-99.8" font-family="Times,serif" font-size="14.00">ManagementModule</text>
149+
<polygon fill="#8dd3c7" stroke="black" points="418.13,-122 415.13,-126 394.13,-126 391.13,-122 285.87,-122 285.87,-86 418.13,-86 418.13,-122"/>
150+
<text text-anchor="middle" x="352" y="-99.8" font-family="Times,serif" font-size="14.00">ManagementModule</text>
151151
</g>
152152
<!-- ManagementModule&#45;&gt;AppModule -->
153153
<g id="edge2" class="edge">
154154
<title>ManagementModule&#45;&gt;AppModule</title>
155-
<path fill="none" stroke="black" d="M679,-122.02C679,-139.37 679,-163 679,-163 679,-163 519.69,-163 519.69,-163"/>
156-
<polygon fill="black" stroke="black" points="519.69,-159.5 509.69,-163 519.69,-166.5 519.69,-159.5"/>
155+
<path fill="none" stroke="black" d="M396.24,-122.11C396.24,-122.11 396.24,-140.99 396.24,-140.99"/>
156+
<polygon fill="black" stroke="black" points="392.74,-140.99 396.24,-150.99 399.74,-140.99 392.74,-140.99"/>
157157
</g>
158158
<!-- MigrationsModule -->
159159
<g id="node3" class="node">
160160
<title>MigrationsModule</title>
161-
<polygon fill="#8dd3c7" stroke="black" points="594.49,-122 591.49,-126 570.49,-126 567.49,-122 473.51,-122 473.51,-86 594.49,-86 594.49,-122"/>
162-
<text text-anchor="middle" x="534" y="-99.8" font-family="Times,serif" font-size="14.00">MigrationsModule</text>
161+
<polygon fill="#8dd3c7" stroke="black" points="267.49,-122 264.49,-126 243.49,-126 240.49,-122 146.51,-122 146.51,-86 267.49,-86 267.49,-122"/>
162+
<text text-anchor="middle" x="207" y="-99.8" font-family="Times,serif" font-size="14.00">MigrationsModule</text>
163163
</g>
164164
<!-- MigrationsModule&#45;&gt;AppModule -->
165165
<g id="edge3" class="edge">
166166
<title>MigrationsModule&#45;&gt;AppModule</title>
167-
<path fill="none" stroke="black" d="M491.67,-122.11C491.67,-122.11 491.67,-140.99 491.67,-140.99"/>
168-
<polygon fill="black" stroke="black" points="488.17,-140.99 491.67,-150.99 495.17,-140.99 488.17,-140.99"/>
167+
<path fill="none" stroke="black" d="M207,-122.02C207,-139.37 207,-163 207,-163 207,-163 364.21,-163 364.21,-163"/>
168+
<polygon fill="black" stroke="black" points="364.21,-166.5 374.21,-163 364.21,-159.5 364.21,-166.5"/>
169169
</g>
170170
<!-- SettingsModule -->
171171
<g id="node4" class="node">
172172
<title>SettingsModule</title>
173-
<polygon fill="#8dd3c7" stroke="black" points="455.16,-122 452.16,-126 431.16,-126 428.16,-122 350.84,-122 350.84,-86 455.16,-86 455.16,-122"/>
174-
<text text-anchor="middle" x="403" y="-99.8" font-family="Times,serif" font-size="14.00">SettingsModule</text>
173+
<polygon fill="#8dd3c7" stroke="black" points="128.16,-122 125.16,-126 104.16,-126 101.16,-122 23.84,-122 23.84,-86 128.16,-86 128.16,-122"/>
174+
<text text-anchor="middle" x="76" y="-99.8" font-family="Times,serif" font-size="14.00">SettingsModule</text>
175175
</g>
176176
<!-- SettingsModule&#45;&gt;AppModule -->
177177
<g id="edge4" class="edge">
178178
<title>SettingsModule&#45;&gt;AppModule</title>
179-
<path fill="none" stroke="black" d="M440.75,-122.11C440.75,-122.11 440.75,-140.99 440.75,-140.99"/>
180-
<polygon fill="black" stroke="black" points="437.25,-140.99 440.75,-150.99 444.25,-140.99 437.25,-140.99"/>
179+
<path fill="none" stroke="black" d="M76,-122.28C76,-143.32 76,-175 76,-175 76,-175 364.31,-175 364.31,-175"/>
180+
<polygon fill="black" stroke="black" points="364.31,-178.5 374.31,-175 364.31,-171.5 364.31,-178.5"/>
181181
</g>
182182
<!-- AppService -->
183183
<g id="node6" class="node">
184184
<title>AppService</title>
185-
<ellipse fill="#fdb462" stroke="black" cx="270" cy="-104" rx="56.74" ry="18"/>
186-
<text text-anchor="middle" x="270" y="-99.8" font-family="Times,serif" font-size="14.00">AppService</text>
185+
<ellipse fill="#fdb462" stroke="black" cx="793" cy="-104" rx="56.74" ry="18"/>
186+
<text text-anchor="middle" x="793" y="-99.8" font-family="Times,serif" font-size="14.00">AppService</text>
187187
</g>
188188
<!-- AppService&#45;&gt;AppModule -->
189189
<g id="edge5" class="edge">
190190
<title>AppService&#45;&gt;AppModule</title>
191-
<path fill="none" stroke="black" d="M270,-122.02C270,-139.37 270,-163 270,-163 270,-163 416.01,-163 416.01,-163"/>
192-
<polygon fill="black" stroke="black" points="416.01,-166.5 426.01,-163 416.01,-159.5 416.01,-166.5"/>
191+
<path fill="none" stroke="black" d="M793,-122.28C793,-143.32 793,-175 793,-175 793,-175 467.79,-175 467.79,-175"/>
192+
<polygon fill="black" stroke="black" points="467.79,-171.5 457.79,-175 467.79,-178.5 467.79,-171.5"/>
193193
</g>
194194
<!-- ShutdownObserver -->
195195
<g id="node7" class="node">
196196
<title>ShutdownObserver</title>
197-
<ellipse fill="#fdb462" stroke="black" cx="110" cy="-104" rx="85.68" ry="18"/>
198-
<text text-anchor="middle" x="110" y="-99.8" font-family="Times,serif" font-size="14.00">ShutdownObserver</text>
197+
<ellipse fill="#fdb462" stroke="black" cx="633" cy="-104" rx="85.68" ry="18"/>
198+
<text text-anchor="middle" x="633" y="-99.8" font-family="Times,serif" font-size="14.00">ShutdownObserver</text>
199199
</g>
200200
<!-- ShutdownObserver&#45;&gt;AppModule -->
201201
<g id="edge6" class="edge">
202202
<title>ShutdownObserver&#45;&gt;AppModule</title>
203-
<path fill="none" stroke="black" d="M110,-122.28C110,-143.32 110,-175 110,-175 110,-175 416.23,-175 416.23,-175"/>
204-
<polygon fill="black" stroke="black" points="416.23,-178.5 426.23,-175 416.23,-171.5 416.23,-178.5"/>
203+
<path fill="none" stroke="black" d="M633,-122.02C633,-139.37 633,-163 633,-163 633,-163 467.84,-163 467.84,-163"/>
204+
<polygon fill="black" stroke="black" points="467.84,-159.5 457.84,-163 467.84,-166.5 467.84,-159.5"/>
205205
</g>
206206
</g>
207207
</svg>

0 commit comments

Comments
 (0)