Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
console
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
console
Commits
dcb29acb
Commit
dcb29acb
authored
Apr 24, 2017
by
nano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fIx model
parent
19f5c588
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
82 additions
and
43 deletions
+82
-43
.idea/workspace.xml
.idea/workspace.xml
+78
-39
src/models/App.ts
src/models/App.ts
+1
-1
src/routes/app.ts
src/routes/app.ts
+1
-1
src/routes/package.ts
src/routes/package.ts
+1
-1
src/routes/upload.ts
src/routes/upload.ts
+1
-1
No files found.
.idea/workspace.xml
View file @
dcb29acb
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"f0cbce64-0ebc-4f60-8c2d-2fe9e214a8c0"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"f0cbce64-0ebc-4f60-8c2d-2fe9e214a8c0"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/models/App.ts"
afterPath=
"$PROJECT_DIR$/src/models/App.ts"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/app.ts"
afterPath=
"$PROJECT_DIR$/src/routes/app.ts"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/package.ts"
afterPath=
"$PROJECT_DIR$/src/routes/package.ts"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/upload.ts"
afterPath=
"$PROJECT_DIR$/src/routes/upload.ts"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/upload.ts"
afterPath=
"$PROJECT_DIR$/src/routes/upload.ts"
/>
</list>
</list>
<ignored
path=
"mycard-console-backend.iws"
/>
<ignored
path=
"mycard-console-backend.iws"
/>
...
@@ -25,11 +29,11 @@
...
@@ -25,11 +29,11 @@
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf>
<file
leaf-file-name=
"server.ts"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"server.ts"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/server.ts"
>
<entry
file=
"file://$PROJECT_DIR$/server.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
306
"
>
<state
relative-caret-position=
"
197
"
>
<caret
line=
"
17"
column=
"0"
lean-forward=
"false"
selection-start-line=
"17"
selection-start-column=
"0"
selection-end-line=
"18"
selection-end-column=
"
0"
/>
<caret
line=
"
28"
column=
"40"
lean-forward=
"false"
selection-start-line=
"28"
selection-start-column=
"40"
selection-end-line=
"28"
selection-end-column=
"4
0"
/>
<folding>
<folding>
<element
signature=
"e#77#104#0"
expanded=
"true"
/>
<element
signature=
"e#77#104#0"
expanded=
"true"
/>
<element
signature=
"e#387#427#0"
expanded=
"true"
/>
<element
signature=
"e#387#427#0"
expanded=
"true"
/>
...
@@ -38,11 +42,45 @@
...
@@ -38,11 +42,45 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"App.ts"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/models/App.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"72"
>
<caret
line=
"4"
column=
"22"
lean-forward=
"true"
selection-start-line=
"4"
selection-start-column=
"22"
selection-end-line=
"4"
selection-end-column=
"22"
/>
<folding>
<element
signature=
"e#0#62#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"app.ts"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/app.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"18"
>
<caret
line=
"1"
column=
"42"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"42"
selection-end-line=
"1"
selection-end-column=
"42"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"upload.ts"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"upload.ts"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/upload.ts"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/upload.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<state
relative-caret-position=
"202"
>
<caret
line=
"29"
column=
"36"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"36"
selection-end-line=
"29"
selection-end-column=
"36"
/>
<caret
line=
"12"
column=
"34"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"34"
selection-end-line=
"12"
selection-end-column=
"34"
/>
<folding>
<element
signature=
"e#0#28#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"package.ts"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/package.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"18"
>
<caret
line=
"1"
column=
"35"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"35"
selection-end-line=
"1"
selection-end-column=
"35"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -108,9 +146,7 @@
...
@@ -108,9 +146,7 @@
<option
value=
"$PROJECT_DIR$/package/main.ts"
/>
<option
value=
"$PROJECT_DIR$/package/main.ts"
/>
<option
value=
"$PROJECT_DIR$/package/utils.ts"
/>
<option
value=
"$PROJECT_DIR$/package/utils.ts"
/>
<option
value=
"$PROJECT_DIR$/.editorconfig"
/>
<option
value=
"$PROJECT_DIR$/.editorconfig"
/>
<option
value=
"$PROJECT_DIR$/src/routes/package.ts"
/>
<option
value=
"$PROJECT_DIR$/tslint.json"
/>
<option
value=
"$PROJECT_DIR$/tslint.json"
/>
<option
value=
"$PROJECT_DIR$/src/routes/app.ts"
/>
<option
value=
"$PROJECT_DIR$/src/models/Iridium.ts"
/>
<option
value=
"$PROJECT_DIR$/src/models/Iridium.ts"
/>
<option
value=
"$PROJECT_DIR$/src/models/Package.ts"
/>
<option
value=
"$PROJECT_DIR$/src/models/Package.ts"
/>
<option
value=
"$PROJECT_DIR$/src/inversify.config.ts"
/>
<option
value=
"$PROJECT_DIR$/src/inversify.config.ts"
/>
...
@@ -123,6 +159,8 @@
...
@@ -123,6 +159,8 @@
<option
value=
"$PROJECT_DIR$/docker-compose.yml"
/>
<option
value=
"$PROJECT_DIR$/docker-compose.yml"
/>
<option
value=
"$PROJECT_DIR$/src/models/App.ts"
/>
<option
value=
"$PROJECT_DIR$/src/models/App.ts"
/>
<option
value=
"$PROJECT_DIR$/src/routes/upload.ts"
/>
<option
value=
"$PROJECT_DIR$/src/routes/upload.ts"
/>
<option
value=
"$PROJECT_DIR$/src/routes/app.ts"
/>
<option
value=
"$PROJECT_DIR$/src/routes/package.ts"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -142,8 +180,8 @@
...
@@ -142,8 +180,8 @@
<handled-path
value=
"$PROJECT_DIR$/node_modules"
/>
<handled-path
value=
"$PROJECT_DIR$/node_modules"
/>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
357
"
/>
<option
name=
"x"
value=
"
134
"
/>
<option
name=
"y"
value=
"
162
"
/>
<option
name=
"y"
value=
"
23
"
/>
<option
name=
"width"
value=
"1232"
/>
<option
name=
"width"
value=
"1232"
/>
<option
name=
"height"
value=
"777"
/>
<option
name=
"height"
value=
"777"
/>
</component>
</component>
...
@@ -384,12 +422,12 @@
...
@@ -384,12 +422,12 @@
<workItem
from=
"1492655792313"
duration=
"22867000"
/>
<workItem
from=
"1492655792313"
duration=
"22867000"
/>
<workItem
from=
"1492741754173"
duration=
"2869000"
/>
<workItem
from=
"1492741754173"
duration=
"2869000"
/>
<workItem
from=
"1492753774887"
duration=
"9061000"
/>
<workItem
from=
"1492753774887"
duration=
"9061000"
/>
<workItem
from=
"1493001126170"
duration=
"
480
4000"
/>
<workItem
from=
"1493001126170"
duration=
"
957
4000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"12
249
5000"
/>
<option
name=
"totallyTimeSpent"
value=
"12
726
5000"
/>
</component>
</component>
<component
name=
"TodoView"
>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
<todo-panel
id=
"selected-file"
>
...
@@ -401,7 +439,8 @@
...
@@ -401,7 +439,8 @@
</todo-panel>
</todo-panel>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"357"
y=
"162"
width=
"1232"
height=
"777"
extended-state=
"0"
/>
<frame
x=
"134"
y=
"23"
width=
"1232"
height=
"777"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"TypeScript"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32846716"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TypeScript"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32846716"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.23947151"
sideWeight=
"0.49384886"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.23947151"
sideWeight=
"0.49384886"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
...
@@ -412,7 +451,7 @@
...
@@ -412,7 +451,7 @@
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32975295"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32975295"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32990867"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32990867"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
tru
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.41167882"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
fals
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.41167882"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.23725356"
sideWeight=
"0.50615114"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.23725356"
sideWeight=
"0.50615114"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -480,7 +519,7 @@
...
@@ -480,7 +519,7 @@
<state
relative-caret-position=
"840"
>
<state
relative-caret-position=
"840"
>
<caret
line=
"44"
column=
"29"
lean-forward=
"false"
selection-start-line=
"44"
selection-start-column=
"29"
selection-end-line=
"44"
selection-end-column=
"29"
/>
<caret
line=
"44"
column=
"29"
lean-forward=
"false"
selection-start-line=
"44"
selection-start-column=
"29"
selection-end-line=
"44"
selection-end-column=
"29"
/>
<folding>
<folding>
<element
signature=
"e#39#81#0"
expanded=
"
fals
e"
/>
<element
signature=
"e#39#81#0"
expanded=
"
tru
e"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -499,7 +538,7 @@
...
@@ -499,7 +538,7 @@
<state
relative-caret-position=
"80"
>
<state
relative-caret-position=
"80"
>
<caret
line=
"6"
column=
"0"
lean-forward=
"false"
selection-start-line=
"6"
selection-start-column=
"0"
selection-end-line=
"6"
selection-end-column=
"0"
/>
<caret
line=
"6"
column=
"0"
lean-forward=
"false"
selection-start-line=
"6"
selection-start-column=
"0"
selection-end-line=
"6"
selection-end-column=
"0"
/>
<folding>
<folding>
<element
signature=
"e#39#81#0"
expanded=
"
fals
e"
/>
<element
signature=
"e#39#81#0"
expanded=
"
tru
e"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -692,16 +731,6 @@
...
@@ -692,16 +731,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/package.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-848"
>
<caret
line=
"43"
column=
"5"
lean-forward=
"true"
selection-start-line=
"43"
selection-start-column=
"5"
selection-end-line=
"43"
selection-end-column=
"5"
/>
<folding>
<element
signature=
"e#39#74#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/inversify.config.ts"
>
<entry
file=
"file://$PROJECT_DIR$/src/inversify.config.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
<state
relative-caret-position=
"90"
>
...
@@ -772,42 +801,52 @@
...
@@ -772,42 +801,52 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/s
rc/models/App
.ts"
>
<entry
file=
"file://$PROJECT_DIR$/s
erver
.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"197"
>
<state
relative-caret-position=
"197"
>
<caret
line=
"
116"
column=
"3"
lean-forward=
"true"
selection-start-line=
"116"
selection-start-column=
"3"
selection-end-line=
"116"
selection-end-column=
"3
"
/>
<caret
line=
"
28"
column=
"40"
lean-forward=
"false"
selection-start-line=
"28"
selection-start-column=
"40"
selection-end-line=
"28"
selection-end-column=
"40
"
/>
<folding>
<folding>
<element
signature=
"e#0#62#0"
expanded=
"true"
/>
<element
signature=
"e#77#104#0"
expanded=
"true"
/>
<element
signature=
"e#387#427#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/app.ts"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/app.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
359
"
>
<state
relative-caret-position=
"
18
"
>
<caret
line=
"
26"
column=
"33"
lean-forward=
"true"
selection-start-line=
"26"
selection-start-column=
"33"
selection-end-line=
"26"
selection-end-column=
"33
"
/>
<caret
line=
"
1"
column=
"42"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"42"
selection-end-line=
"1"
selection-end-column=
"42
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
routes/upload
.ts"
>
<entry
file=
"file://$PROJECT_DIR$/src/
models/App
.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<state
relative-caret-position=
"72"
>
<caret
line=
"29"
column=
"36"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"36"
selection-end-line=
"29"
selection-end-column=
"36"
/>
<caret
line=
"4"
column=
"22"
lean-forward=
"true"
selection-start-line=
"4"
selection-start-column=
"22"
selection-end-line=
"4"
selection-end-column=
"22"
/>
<folding
/>
<folding>
<element
signature=
"e#0#62#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/s
erver
.ts"
>
<entry
file=
"file://$PROJECT_DIR$/s
rc/routes/upload
.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
306
"
>
<state
relative-caret-position=
"
202
"
>
<caret
line=
"1
7"
column=
"0"
lean-forward=
"false"
selection-start-line=
"17"
selection-start-column=
"0"
selection-end-line=
"18"
selection-end-column=
"0
"
/>
<caret
line=
"1
2"
column=
"34"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"34"
selection-end-line=
"12"
selection-end-column=
"34
"
/>
<folding>
<folding>
<element
signature=
"e#77#104#0"
expanded=
"true"
/>
<element
signature=
"e#0#28#0"
expanded=
"true"
/>
<element
signature=
"e#387#427#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/package.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"18"
>
<caret
line=
"1"
column=
"35"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"35"
selection-end-line=
"1"
selection-end-column=
"35"
/>
<folding
/>
</state>
</provider>
</entry>
</component>
</component>
</project>
</project>
\ No newline at end of file
src/models/App.ts
View file @
dcb29acb
import
{
Collection
,
Index
,
Instance
,
Property
}
from
'
i
ridium
'
;
import
{
Collection
,
Index
,
Instance
,
Property
}
from
'
I
ridium
'
;
import
{
handleImg
}
from
'
../utils
'
;
import
{
handleImg
}
from
'
../utils
'
;
interface
I18n
<
T
>
{
interface
I18n
<
T
>
{
...
...
src/routes/app.ts
View file @
dcb29acb
import
Router
=
require
(
'
koa-router
'
);
import
Router
=
require
(
'
koa-router
'
);
import
{
mongodb
}
from
'
../models/
i
ridium
'
;
import
{
mongodb
}
from
'
../models/
I
ridium
'
;
import
{
App
,
AppSchema
}
from
'
../models/App
'
;
import
{
App
,
AppSchema
}
from
'
../models/App
'
;
import
{
Context
}
from
'
koa
'
;
import
{
Context
}
from
'
koa
'
;
const
router
=
new
Router
();
const
router
=
new
Router
();
...
...
src/routes/package.ts
View file @
dcb29acb
import
Router
=
require
(
'
koa-router
'
);
import
Router
=
require
(
'
koa-router
'
);
import
{
toObjectID
}
from
'
iridium
'
;
import
{
toObjectID
}
from
'
iridium
'
;
import
{
mongodb
}
from
'
../models/
i
ridium
'
;
import
{
mongodb
}
from
'
../models/
I
ridium
'
;
import
{
Context
}
from
'
koa
'
;
import
{
Context
}
from
'
koa
'
;
import
config
from
'
../../config
'
;
import
config
from
'
../../config
'
;
import
{
Archive
,
Package
}
from
'
../models/Package
'
;
import
{
Archive
,
Package
}
from
'
../models/Package
'
;
...
...
src/routes/upload.ts
View file @
dcb29acb
...
@@ -8,7 +8,7 @@ import * as fs from 'fs-extra-promise';
...
@@ -8,7 +8,7 @@ import * as fs from 'fs-extra-promise';
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
path
'
;
import
*
as
Aria2
from
'
aria2
'
;
import
*
as
Aria2
from
'
aria2
'
;
import
{
bundle
}
from
'
../../package/main
'
;
import
{
bundle
}
from
'
../../package/main
'
;
import
{
mongodb
}
from
'
../models/
i
ridium
'
;
import
{
mongodb
}
from
'
../models/
I
ridium
'
;
import
{
toObjectID
}
from
'
iridium
'
;
import
{
toObjectID
}
from
'
iridium
'
;
import
config
from
'
../../config
'
;
import
config
from
'
../../config
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment