@ticatec/common-express-server 0.0.4 → 0.0.6
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="ImplicitTypeConversion" enabled="true" level="WARNING" enabled_by_default="true">
|
|
5
|
+
<option name="BITS" value="1720" />
|
|
6
|
+
<option name="FLAG_EXPLICIT_CONVERSION" value="true" />
|
|
7
|
+
<option name="IGNORE_NODESET_TO_BOOLEAN_VIA_STRING" value="true" />
|
|
8
|
+
</inspection_tool>
|
|
9
|
+
<inspection_tool class="UsePropertyAccessSyntax" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
|
10
|
+
</profile>
|
|
11
|
+
</component>
|
package/.idea/misc.xml
CHANGED
package/lib/CommonRoutes.js
CHANGED
|
@@ -12,7 +12,7 @@ class CommonRoutes {
|
|
|
12
12
|
this.logger = log4js_1.default.getLogger(this.constructor.name);
|
|
13
13
|
if (checkUser) {
|
|
14
14
|
this.logger.debug('检查用户是否登录');
|
|
15
|
-
this.router.all('
|
|
15
|
+
this.router.all('/*', helper.checkLoggedUser());
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
bindRouter(app, path) {
|
package/lib/CommonRoutes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonRoutes.js","sourceRoot":"src/","sources":["CommonRoutes.ts"],"names":[],"mappings":";;;;;AAAA,qCAAwC;AAExC,oDAAsC;AAEtC,MAA8B,YAAY;IAKtC,YAAsB,MAA0B,EAAE,YAAqB,IAAI;QACvE,IAAI,CAAC,MAAM,GAAG,IAAA,gBAAM,GAAE,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,gBAAM,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACtD,IAAI,SAAS,EAAE;YACX,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;YAC7B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"CommonRoutes.js","sourceRoot":"src/","sources":["CommonRoutes.ts"],"names":[],"mappings":";;;;;AAAA,qCAAwC;AAExC,oDAAsC;AAEtC,MAA8B,YAAY;IAKtC,YAAsB,MAA0B,EAAE,YAAqB,IAAI;QACvE,IAAI,CAAC,MAAM,GAAG,IAAA,gBAAM,GAAE,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,gBAAM,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACtD,IAAI,SAAS,EAAE;YACX,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;YAC7B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;SACnD;IACL,CAAC;IAED,UAAU,CAAC,GAAY,EAAE,IAAY;QACjC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;CACJ;AAlBD,+BAkBC"}
|
package/package.json
CHANGED
package/.idea/workspace.xml
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="9b016121-d0d5-4be3-bbd2-0c1749841a7a" name="Changes" comment="" />
|
|
5
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
6
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
7
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
8
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
9
|
-
</component>
|
|
10
|
-
<component name="Git.Settings">
|
|
11
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
12
|
-
</component>
|
|
13
|
-
<component name="GitLabMergeRequestFiltersHistory"><![CDATA[{
|
|
14
|
-
"lastFilter": {
|
|
15
|
-
"state": "OPENED",
|
|
16
|
-
"assignee": {
|
|
17
|
-
"type": "org.jetbrains.plugins.gitlab.mergerequest.ui.filters.GitLabMergeRequestsFiltersValue.MergeRequestsMemberFilterValue.MergeRequestsAssigneeFilterValue",
|
|
18
|
-
"username": "huili_feng",
|
|
19
|
-
"fullname": "冯辉利"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}]]></component>
|
|
23
|
-
<component name="GitLabMergeRequestsSettings"><![CDATA[{
|
|
24
|
-
"selectedUrlAndAccountId": {
|
|
25
|
-
"first": "http://git.dev.ticatec.cn/open-source/node-library/common-express-server.git",
|
|
26
|
-
"second": "1c6eb983-bbca-437e-924e-79009ce1a5d2"
|
|
27
|
-
}
|
|
28
|
-
}]]></component>
|
|
29
|
-
<component name="KubernetesApiPersistence"><![CDATA[{}]]></component>
|
|
30
|
-
<component name="KubernetesApiProvider"><![CDATA[{
|
|
31
|
-
"isMigrated": true
|
|
32
|
-
}]]></component>
|
|
33
|
-
<component name="ProjectColorInfo"><![CDATA[{
|
|
34
|
-
"associatedIndex": 7
|
|
35
|
-
}]]></component>
|
|
36
|
-
<component name="ProjectId" id="2wpQaB9hwmokK0HhL4K4dlupk1s" />
|
|
37
|
-
<component name="ProjectViewState">
|
|
38
|
-
<option name="hideEmptyMiddlePackages" value="true" />
|
|
39
|
-
<option name="showLibraryContents" value="true" />
|
|
40
|
-
</component>
|
|
41
|
-
<component name="PropertiesComponent"><![CDATA[{
|
|
42
|
-
"keyToString": {
|
|
43
|
-
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
44
|
-
"dart.analysis.tool.window.visible": "false",
|
|
45
|
-
"git-widget-placeholder": "main",
|
|
46
|
-
"nodejs_package_manager_path": "npm",
|
|
47
|
-
"settings.editor.selected.configurable": "ssh.settings",
|
|
48
|
-
"show.migrate.to.gradle.popup": "false",
|
|
49
|
-
"vue.rearranger.settings.migration": "true"
|
|
50
|
-
}
|
|
51
|
-
}]]></component>
|
|
52
|
-
<component name="SharedIndexes">
|
|
53
|
-
<attachedChunks>
|
|
54
|
-
<set>
|
|
55
|
-
<option value="bundled-jdk-9823dce3aa75-fbdcb00ec9e3-intellij.indexing.shared.core-IU-251.23774.435" />
|
|
56
|
-
<option value="bundled-js-predefined-d6986cc7102b-f27c65a3e318-JavaScript-IU-251.23774.435" />
|
|
57
|
-
</set>
|
|
58
|
-
</attachedChunks>
|
|
59
|
-
</component>
|
|
60
|
-
<component name="TaskManager">
|
|
61
|
-
<task active="true" id="Default" summary="Default task">
|
|
62
|
-
<changelist id="9b016121-d0d5-4be3-bbd2-0c1749841a7a" name="Changes" comment="" />
|
|
63
|
-
<created>1746736096648</created>
|
|
64
|
-
<option name="number" value="Default" />
|
|
65
|
-
<option name="presentableId" value="Default" />
|
|
66
|
-
<updated>1746736096648</updated>
|
|
67
|
-
<workItem from="1746736097766" duration="1000" />
|
|
68
|
-
</task>
|
|
69
|
-
<servers />
|
|
70
|
-
</component>
|
|
71
|
-
<component name="TypeScriptGeneratedFilesManager">
|
|
72
|
-
<option name="version" value="3" />
|
|
73
|
-
</component>
|
|
74
|
-
</project>
|