@dssp/dcsp 0.0.2
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/CHANGELOG.md +8 -0
- package/Dockerfile +16 -0
- package/_index.html +92 -0
- package/assets/favicon.ico +0 -0
- package/assets/helps/index.md +1 -0
- package/assets/images/hatiolab-logo.png +0 -0
- package/assets/images/spinner.png +0 -0
- package/assets/images/user.png +0 -0
- package/assets/manifest/apple-1024.png +0 -0
- package/assets/manifest/apple-120.png +0 -0
- package/assets/manifest/apple-152.png +0 -0
- package/assets/manifest/apple-167.png +0 -0
- package/assets/manifest/apple-180.png +0 -0
- package/assets/manifest/apple-touch-icon.png +0 -0
- package/assets/manifest/badge-128x128.png +0 -0
- package/assets/manifest/chrome-splashscreen-icon-384x384.png +0 -0
- package/assets/manifest/chrome-touch-icon-192x192.png +0 -0
- package/assets/manifest/icon-128x128.png +0 -0
- package/assets/manifest/icon-192x192.png +0 -0
- package/assets/manifest/icon-512x512.png +0 -0
- package/assets/manifest/icon-72x72.png +0 -0
- package/assets/manifest/icon-96x96.png +0 -0
- package/assets/manifest/image-metaog.png +0 -0
- package/assets/manifest/maskable_icon.png +0 -0
- package/assets/manifest/ms-icon-144x144.png +0 -0
- package/assets/manifest/ms-touch-icon-144x144-precomposed.png +0 -0
- package/assets/manifest.json +27 -0
- package/assets/style/home.css +134 -0
- package/config/config.development.js +49 -0
- package/config/config.production.js +83 -0
- package/dist-client/bootstrap.d.ts +5 -0
- package/dist-client/bootstrap.js +179 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/icons/menu-icons.d.ts +5 -0
- package/dist-client/icons/menu-icons.js +98 -0
- package/dist-client/icons/menu-icons.js.map +1 -0
- package/dist-client/index.d.ts +0 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/menu.d.ts +1 -0
- package/dist-client/menu.js +4 -0
- package/dist-client/menu.js.map +1 -0
- package/dist-client/pages/sv-user-management.d.ts +4 -0
- package/dist-client/pages/sv-user-management.js +218 -0
- package/dist-client/pages/sv-user-management.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +10 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/themes/dark.css +51 -0
- package/dist-client/themes/light.css +51 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-client/viewparts/menu-tools.d.ts +17 -0
- package/dist-client/viewparts/menu-tools.js +172 -0
- package/dist-client/viewparts/menu-tools.js.map +1 -0
- package/dist-client/viewparts/user-circle.d.ts +5 -0
- package/dist-client/viewparts/user-circle.js +26 -0
- package/dist-client/viewparts/user-circle.js.map +1 -0
- package/dist-server/index.js +1 -0
- package/dist-server/index.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/installer/config.production.js +40 -0
- package/installer/docker-compose.yml +37 -0
- package/installer/install.sh +54 -0
- package/installer/migrate.sh +1 -0
- package/installer/start.sh +18 -0
- package/installer/stop.sh +1 -0
- package/installer/upgrade.sh +1 -0
- package/openapi/unstable.yaml +41 -0
- package/package.json +93 -0
- package/schema.graphql +4199 -0
- package/things-factory.config.js +8 -0
- package/translations/en.json +3 -0
- package/translations/ja.json +3 -0
- package/translations/ko.json +3 -0
- package/translations/ms.json +3 -0
- package/translations/zh.json +3 -0
- package/views/auth-page.html +97 -0
- package/views/public/home.html +88 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare const MenuTools_base: (new (...args: any[]) => {
|
|
3
|
+
_storeUnsubscribe: import("redux").Unsubscribe;
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
disconnectedCallback(): void;
|
|
6
|
+
stateChanged(_state: unknown): void;
|
|
7
|
+
readonly isConnected: boolean;
|
|
8
|
+
}) & typeof LitElement;
|
|
9
|
+
export declare class MenuTools extends MenuTools_base {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
page?: string;
|
|
12
|
+
width?: string;
|
|
13
|
+
private menus;
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
stateChanged(state: any): void;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { css, html, LitElement } from 'lit';
|
|
3
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
4
|
+
import { connect } from 'pwa-helpers';
|
|
5
|
+
import { store } from '@operato/shell';
|
|
6
|
+
import { ICONS_PROGRESS, ICONS_COMPLETED, ICONS_STATUS, ICONS_OPERATING, ICONS_SETTING } from '../icons/menu-icons';
|
|
7
|
+
let MenuTools = class MenuTools extends connect(store)(LitElement) {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.menus = [];
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
this.menus = [
|
|
14
|
+
{
|
|
15
|
+
name: '진행중',
|
|
16
|
+
path: 'project-list',
|
|
17
|
+
icons: ICONS_PROGRESS
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: '완료',
|
|
21
|
+
path: 'project-completed-list',
|
|
22
|
+
icons: ICONS_COMPLETED
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'status',
|
|
26
|
+
path: 'dssp-status',
|
|
27
|
+
icons: ICONS_STATUS
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: '공정표',
|
|
31
|
+
path: 'project-schedule-list',
|
|
32
|
+
icons: ICONS_OPERATING
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: '셋팅',
|
|
36
|
+
path: 'project-setting-list',
|
|
37
|
+
icons: ICONS_SETTING
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
var page = this.page || '';
|
|
41
|
+
return html `
|
|
42
|
+
<ul>
|
|
43
|
+
${this.menus.map(menu => html `
|
|
44
|
+
<li>
|
|
45
|
+
<a href=${menu.path} ?active=${!!~page.indexOf(menu.path)}>
|
|
46
|
+
<img src=${!!~page.indexOf(menu.path) ? menu.icons[1] : menu.icons[0]} />
|
|
47
|
+
<div>${menu.name}</div>
|
|
48
|
+
</a>
|
|
49
|
+
</li>
|
|
50
|
+
`)}
|
|
51
|
+
</ul>
|
|
52
|
+
`;
|
|
53
|
+
}
|
|
54
|
+
stateChanged(state) {
|
|
55
|
+
this.page = state.route.page;
|
|
56
|
+
this.width = state.layout.width;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
MenuTools.styles = [
|
|
60
|
+
css `
|
|
61
|
+
:host {
|
|
62
|
+
display: flex;
|
|
63
|
+
background-color: var(--secondary-color);
|
|
64
|
+
|
|
65
|
+
/* for narrow mode */
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
width: 100%;
|
|
68
|
+
--menu-tools-color: rgba(255, 255, 255, 0.9);
|
|
69
|
+
--menu-tools-active-color: rgba(107, 178, 249, 1);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([width='WIDE']) {
|
|
73
|
+
/* for wide mode */
|
|
74
|
+
flex-direction: row;
|
|
75
|
+
width: initial;
|
|
76
|
+
height: 100%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
ul {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: row;
|
|
82
|
+
|
|
83
|
+
margin: auto;
|
|
84
|
+
padding: 0;
|
|
85
|
+
list-style: none;
|
|
86
|
+
height: 100%;
|
|
87
|
+
overflow: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:host([width='NARROW']) ul {
|
|
91
|
+
width: 100%;
|
|
92
|
+
justify-content: space-around;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:host([width='WIDE']) ul {
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
}
|
|
98
|
+
:host([width='NARROW']) li {
|
|
99
|
+
flex: 1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host([width='WIDE']) li {
|
|
103
|
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
104
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
a {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
padding: 5px 0px;
|
|
111
|
+
opacity: 0.7;
|
|
112
|
+
align-items: center;
|
|
113
|
+
text-align: center;
|
|
114
|
+
text-decoration: none;
|
|
115
|
+
text-transform: capitalize;
|
|
116
|
+
color: var(--menu-tools-color);
|
|
117
|
+
border-left: 2px solid transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
a[active] {
|
|
121
|
+
opacity: 1;
|
|
122
|
+
color: var(--menu-tools-active-color);
|
|
123
|
+
font-weight: bold;
|
|
124
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
125
|
+
border-left: 2px solid var(--menu-tools-active-color);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:host([width='NARROW']) a {
|
|
129
|
+
padding: 0px 0px 5px 0px;
|
|
130
|
+
opacity: 0.8;
|
|
131
|
+
color: var(--menu-tools-color);
|
|
132
|
+
border-left: none;
|
|
133
|
+
border-top: 2px solid transparent;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([width='NARROW']) a[active] {
|
|
137
|
+
opacity: 1;
|
|
138
|
+
color: var(--menu-tools-active-color);
|
|
139
|
+
font-weight: bold;
|
|
140
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
141
|
+
border-left: none;
|
|
142
|
+
border-top: 2px solid var(--menu-tools-active-color);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
img {
|
|
146
|
+
display: block;
|
|
147
|
+
width: 35px;
|
|
148
|
+
padding: 5px 10px 0px 10px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
:host([width='NARROW']) img {
|
|
152
|
+
padding: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
div {
|
|
156
|
+
font-size: 0.6em;
|
|
157
|
+
}
|
|
158
|
+
`
|
|
159
|
+
];
|
|
160
|
+
__decorate([
|
|
161
|
+
property({ type: String }),
|
|
162
|
+
__metadata("design:type", String)
|
|
163
|
+
], MenuTools.prototype, "page", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
property({ type: String, reflect: true }),
|
|
166
|
+
__metadata("design:type", String)
|
|
167
|
+
], MenuTools.prototype, "width", void 0);
|
|
168
|
+
MenuTools = __decorate([
|
|
169
|
+
customElement('menu-tools')
|
|
170
|
+
], MenuTools);
|
|
171
|
+
export { MenuTools };
|
|
172
|
+
//# sourceMappingURL=menu-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-tools.js","sourceRoot":"","sources":["../../client/viewparts/menu-tools.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAS,MAAM,mBAAmB,CAAA;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAG5G,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC;IAAlD;;QA0GG,UAAK,GAAsD,EAAE,CAAA;IAqDvE,CAAC;IAnDC,MAAM;QACJ,IAAI,CAAC,KAAK,GAAG;YACX;gBACE,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,cAAc;aACtB;YACD;gBACE,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,wBAAwB;gBAC9B,KAAK,EAAE,eAAe;aACvB;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;aACpB;YACD;gBACE,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,eAAe;aACvB;YACD;gBACE,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,sBAAsB;gBAC5B,KAAK,EAAE,aAAa;aACrB;SACF,CAAA;QAED,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,CAAA;QAE1B,OAAO,IAAI,CAAA;;UAEL,IAAI,CAAC,KAAK,CAAC,GAAG,CACd,IAAI,CAAC,EAAE,CAAC,IAAI,CAAA;;wBAEE,IAAI,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;2BAC5C,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;uBAC9D,IAAI,CAAC,IAAI;;;WAGrB,CACF;;KAEJ,CAAA;IACH,CAAC;IAED,YAAY,CAAC,KAAK;QAChB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAA;QAC5B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;IACjC,CAAC;;AA7JM,gBAAM,GAAG;IACd,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkGF;CACF,CAAA;AAED;IAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uCAAc;AACzC;IAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wCAAe;AAxG9C,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CA+JrB;SA/JY,SAAS","sourcesContent":["import { css, html, LitElement } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\n\nimport { connect } from 'pwa-helpers'\n\nimport { store } from '@operato/shell'\n\nimport { ICONS_PROGRESS, ICONS_COMPLETED, ICONS_STATUS, ICONS_OPERATING, ICONS_SETTING } from '../icons/menu-icons'\n\n@customElement('menu-tools')\nexport class MenuTools extends connect(store)(LitElement) {\n static styles = [\n css`\n :host {\n display: flex;\n background-color: var(--secondary-color);\n\n /* for narrow mode */\n flex-direction: column;\n width: 100%;\n --menu-tools-color: rgba(255, 255, 255, 0.9);\n --menu-tools-active-color: rgba(107, 178, 249, 1);\n }\n\n :host([width='WIDE']) {\n /* for wide mode */\n flex-direction: row;\n width: initial;\n height: 100%;\n }\n\n ul {\n display: flex;\n flex-direction: row;\n\n margin: auto;\n padding: 0;\n list-style: none;\n height: 100%;\n overflow: none;\n }\n\n :host([width='NARROW']) ul {\n width: 100%;\n justify-content: space-around;\n }\n\n :host([width='WIDE']) ul {\n flex-direction: column;\n }\n :host([width='NARROW']) li {\n flex: 1;\n }\n\n :host([width='WIDE']) li {\n border-top: 1px solid rgba(255, 255, 255, 0.1);\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n a {\n display: flex;\n flex-direction: column;\n padding: 5px 0px;\n opacity: 0.7;\n align-items: center;\n text-align: center;\n text-decoration: none;\n text-transform: capitalize;\n color: var(--menu-tools-color);\n border-left: 2px solid transparent;\n }\n\n a[active] {\n opacity: 1;\n color: var(--menu-tools-active-color);\n font-weight: bold;\n background-color: rgba(0, 0, 0, 0.15);\n border-left: 2px solid var(--menu-tools-active-color);\n }\n\n :host([width='NARROW']) a {\n padding: 0px 0px 5px 0px;\n opacity: 0.8;\n color: var(--menu-tools-color);\n border-left: none;\n border-top: 2px solid transparent;\n }\n\n :host([width='NARROW']) a[active] {\n opacity: 1;\n color: var(--menu-tools-active-color);\n font-weight: bold;\n background-color: rgba(0, 0, 0, 0.15);\n border-left: none;\n border-top: 2px solid var(--menu-tools-active-color);\n }\n\n img {\n display: block;\n width: 35px;\n padding: 5px 10px 0px 10px;\n }\n\n :host([width='NARROW']) img {\n padding: 0;\n }\n\n div {\n font-size: 0.6em;\n }\n `\n ]\n\n @property({ type: String }) page?: string\n @property({ type: String, reflect: true }) width?: string\n\n private menus: { name: string; path: string; icons: string[] }[] = []\n\n render() {\n this.menus = [\n {\n name: '진행중',\n path: 'project-list',\n icons: ICONS_PROGRESS\n },\n {\n name: '완료',\n path: 'project-completed-list',\n icons: ICONS_COMPLETED\n },\n {\n name: 'status',\n path: 'dssp-status',\n icons: ICONS_STATUS\n },\n {\n name: '공정표',\n path: 'project-schedule-list',\n icons: ICONS_OPERATING\n },\n {\n name: '셋팅',\n path: 'project-setting-list',\n icons: ICONS_SETTING\n }\n ]\n\n var page = this.page || ''\n\n return html`\n <ul>\n ${this.menus.map(\n menu => html`\n <li>\n <a href=${menu.path} ?active=${!!~page.indexOf(menu.path)}>\n <img src=${!!~page.indexOf(menu.path) ? menu.icons[1] : menu.icons[0]} />\n <div>${menu.name}</div>\n </a>\n </li>\n `\n )}\n </ul>\n `\n }\n\n stateChanged(state) {\n this.page = state.route.page\n this.width = state.layout.width\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { LitElement, html, css } from 'lit';
|
|
3
|
+
import { customElement } from 'lit/decorators.js';
|
|
4
|
+
const userIcon = new URL('../../assets/images/user.png', import.meta.url).href;
|
|
5
|
+
let UserCircle = class UserCircle extends LitElement {
|
|
6
|
+
render() {
|
|
7
|
+
return html ` <img src=${userIcon} class="user" /> `;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
UserCircle.styles = [
|
|
11
|
+
css `
|
|
12
|
+
img {
|
|
13
|
+
display: block;
|
|
14
|
+
width: 36px;
|
|
15
|
+
height: 36px;
|
|
16
|
+
border-radius: 50%;
|
|
17
|
+
|
|
18
|
+
object-fit: cover;
|
|
19
|
+
}
|
|
20
|
+
`
|
|
21
|
+
];
|
|
22
|
+
UserCircle = __decorate([
|
|
23
|
+
customElement('user-circle')
|
|
24
|
+
], UserCircle);
|
|
25
|
+
export { UserCircle };
|
|
26
|
+
//# sourceMappingURL=user-circle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-circle.js","sourceRoot":"","sources":["../../client/viewparts/user-circle.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,8BAA8B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAGvE,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAcxC,MAAM;QACJ,OAAO,IAAI,CAAA,aAAa,QAAQ,mBAAmB,CAAA;IACrD,CAAC;;AAfM,iBAAM,GAAG;IACd,GAAG,CAAA;;;;;;;;;KASF;CACF,CAAA;AAZU,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAiBtB;SAjBY,UAAU","sourcesContent":["import { LitElement, html, css } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nconst userIcon = new URL('../../assets/images/user.png', import.meta.url).href\n\n@customElement('user-circle')\nexport class UserCircle extends LitElement {\n static styles = [\n css`\n img {\n display: block;\n width: 36px;\n height: 36px;\n border-radius: 50%;\n\n object-fit: cover;\n }\n `\n ]\n\n render() {\n return html` <img src=${userIcon} class=\"user\" /> `\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/lerna/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.esnext.intl.d.ts","../server/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"071d4b4af5755e1a081aa3b785b5526d09276af5a50e4725dea26edd4e7deb31","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":false,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":1,"noEmitOnError":true,"noImplicitAny":false,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":false,"target":4,"useDefineForClassFields":false},"fileIdsList":[[135],[137,140],[45],[81],[82,87,116],[83,88,94,95,102,113,124],[83,84,94,102],[85,125],[86,87,95,103],[87,113,121],[88,90,94,102],[81,89],[90,91],[94],[92,94],[81,94],[94,95,96,113,124],[94,95,96,109,113,116],[79,82,129],[90,94,97,102,113,124],[94,95,97,98,102,113,121,124],[97,99,113,121,124],[45,46,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131],[94,100],[101,124,129],[90,94,102,113],[103],[104],[81,105],[102,103,106,123,129],[107],[108],[94,109,110],[109,111,125,127],[82,94,113,114,115,116],[82,113,115],[113,114],[116],[117],[81,113],[94,119,120],[119,120],[87,102,113,121],[122],[102,123],[82,97,108,124],[87,125],[113,126],[101,127],[128],[82,87,94,96,105,113,124,127,129],[113,130],[133,139],[137],[134,138],[136],[56,60,124],[56,113,124],[51],[53,56,121,124],[102,121],[132],[51,132],[53,56,102,124],[48,49,52,55,82,94,113,124],[48,54],[52,56,82,116,124,132],[82,132],[72,82,132],[50,51,132],[56],[50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78],[56,63,64],[54,56,64,65],[55],[48,51,56],[56,60,64,65],[60],[54,56,59,124],[48,53,54,56,60,63],[82,113],[51,56,72,82,129,132]],"referencedMap":[[136,1],[141,2],[45,3],[46,3],[81,4],[82,5],[83,6],[84,7],[85,8],[86,9],[87,10],[88,11],[89,12],[90,13],[91,13],[93,14],[92,15],[94,16],[95,17],[96,18],[80,19],[97,20],[98,21],[99,22],[132,23],[100,24],[101,25],[102,26],[103,27],[104,28],[105,29],[106,30],[107,31],[108,32],[109,33],[110,33],[111,34],[113,35],[115,36],[114,37],[116,38],[117,39],[118,40],[119,41],[120,42],[121,43],[122,44],[123,45],[124,46],[125,47],[126,48],[127,49],[128,50],[129,51],[130,52],[140,53],[138,54],[139,55],[137,56],[63,57],[70,58],[62,57],[77,59],[54,60],[53,61],[76,62],[71,63],[74,64],[56,65],[55,66],[51,67],[50,68],[73,69],[52,70],[57,71],[61,71],[79,72],[78,71],[65,73],[66,74],[68,75],[64,76],[67,77],[72,62],[59,78],[60,79],[69,80],[49,81],[75,82]],"exportedModulesMap":[[136,1],[141,2],[45,3],[46,3],[81,4],[82,5],[83,6],[84,7],[85,8],[86,9],[87,10],[88,11],[89,12],[90,13],[91,13],[93,14],[92,15],[94,16],[95,17],[96,18],[80,19],[97,20],[98,21],[99,22],[132,23],[100,24],[101,25],[102,26],[103,27],[104,28],[105,29],[106,30],[107,31],[108,32],[109,33],[110,33],[111,34],[113,35],[115,36],[114,37],[116,38],[117,39],[118,40],[119,41],[120,42],[121,43],[122,44],[123,45],[124,46],[125,47],[126,48],[127,49],[128,50],[129,51],[130,52],[140,53],[138,54],[139,55],[137,56],[63,57],[70,58],[62,57],[77,59],[54,60],[53,61],[76,62],[71,63],[74,64],[56,65],[55,66],[51,67],[50,68],[73,69],[52,70],[57,71],[61,71],[79,72],[78,71],[65,73],[66,74],[68,75],[64,76],[67,77],[72,62],[59,78],[60,79],[69,80],[49,81],[75,82]],"semanticDiagnosticsPerFile":[133,136,135,141,45,46,81,82,83,84,85,86,87,88,89,90,91,93,92,94,95,96,80,131,97,98,99,132,100,101,102,103,104,105,106,107,108,109,110,111,112,113,115,114,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,47,134,140,138,139,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,137,63,70,62,77,54,53,76,71,74,56,55,51,50,73,52,57,58,61,48,79,78,65,66,68,64,67,72,59,60,69,49,75,44]},"version":"4.9.5"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dAC95', // should be changed
|
|
3
|
+
email: {
|
|
4
|
+
host: 'smtp.office365.com', // your sender-email smtp host
|
|
5
|
+
port: 587, // smtp server port
|
|
6
|
+
secure: false, // true for 465, false for other ports
|
|
7
|
+
auth: {
|
|
8
|
+
user: 'your sender-email',
|
|
9
|
+
pass: 'your sender-email password' // generated ethereal password
|
|
10
|
+
},
|
|
11
|
+
secureConnection: false,
|
|
12
|
+
tls: {
|
|
13
|
+
ciphers: 'SSLv3'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
logger: {
|
|
17
|
+
file: {
|
|
18
|
+
filename: 'logs/application-%DATE%.log',
|
|
19
|
+
datePattern: 'YYYY-MM-DD-HH',
|
|
20
|
+
zippedArchive: false,
|
|
21
|
+
maxSize: '20m',
|
|
22
|
+
maxFiles: '2d',
|
|
23
|
+
level: 'info'
|
|
24
|
+
},
|
|
25
|
+
console: {
|
|
26
|
+
level: 'silly'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
ormconfig: {
|
|
30
|
+
name: 'default',
|
|
31
|
+
type: 'postgres',
|
|
32
|
+
host: 'postgres',
|
|
33
|
+
port: 5432,
|
|
34
|
+
database: 'postgres',
|
|
35
|
+
username: 'postgres',
|
|
36
|
+
password: 'abcd1234',
|
|
37
|
+
synchronize: true,
|
|
38
|
+
logging: true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
version: '3'
|
|
2
|
+
services:
|
|
3
|
+
nginx:
|
|
4
|
+
image: hatiolab/operato-nginx:latest
|
|
5
|
+
ports:
|
|
6
|
+
- ${HostPort}:80
|
|
7
|
+
depends_on:
|
|
8
|
+
- app
|
|
9
|
+
app:
|
|
10
|
+
build: .
|
|
11
|
+
container_name: dssp
|
|
12
|
+
image: hatiolab/dssp:latest
|
|
13
|
+
privileged: true
|
|
14
|
+
volumes:
|
|
15
|
+
- ./logs:/app/logs
|
|
16
|
+
- ./config.production.js:/app/config.production.js
|
|
17
|
+
ports:
|
|
18
|
+
- 4000:3000
|
|
19
|
+
depends_on:
|
|
20
|
+
- postgres
|
|
21
|
+
- mosquitto
|
|
22
|
+
postgres:
|
|
23
|
+
image: postgres:13.2
|
|
24
|
+
container_name: db-dssp
|
|
25
|
+
environment:
|
|
26
|
+
POSTGRES_PASSWORD: abcd1234
|
|
27
|
+
POSTGRES_USER: postgres
|
|
28
|
+
PGDATA: /var/lib/postgresql/data/pgdata
|
|
29
|
+
volumes:
|
|
30
|
+
- ./postgres_data:/var/lib/postgresql/data/pgdata
|
|
31
|
+
ports:
|
|
32
|
+
- '55432:5432'
|
|
33
|
+
mosquitto:
|
|
34
|
+
image: eclipse-mosquitto:latest
|
|
35
|
+
ports:
|
|
36
|
+
- 1883:1883
|
|
37
|
+
- 9001:9001
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
if [ -f "config.production.js" ] ; then
|
|
2
|
+
echo "config.production.js exist"
|
|
3
|
+
else
|
|
4
|
+
echo "config.production.js create"
|
|
5
|
+
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/config.production.js
|
|
6
|
+
fi
|
|
7
|
+
|
|
8
|
+
if [ -f "start.sh" ] ; then
|
|
9
|
+
echo "start.sh exist"
|
|
10
|
+
else
|
|
11
|
+
echo "start.sh create"
|
|
12
|
+
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/start.sh
|
|
13
|
+
fi
|
|
14
|
+
|
|
15
|
+
if [ -f "stop.sh" ] ; then
|
|
16
|
+
echo "stop.sh exist"
|
|
17
|
+
else
|
|
18
|
+
echo "stop.sh create"
|
|
19
|
+
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/stop.sh
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
if [ -f "upgrade.sh" ] ; then
|
|
23
|
+
echo "upgrade.sh exist"
|
|
24
|
+
else
|
|
25
|
+
echo "upgrade.sh create"
|
|
26
|
+
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/upgrade.sh
|
|
27
|
+
fi
|
|
28
|
+
|
|
29
|
+
if [ -f "migrate.sh" ] ; then
|
|
30
|
+
echo "migrate.sh exist"
|
|
31
|
+
else
|
|
32
|
+
echo "migrate.sh create"
|
|
33
|
+
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/migrate.sh
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
if [ -f "docker-compose.yml" ] ; then
|
|
37
|
+
echo "docker-compose.yml exist"
|
|
38
|
+
else
|
|
39
|
+
echo "docker-compose.yml create"
|
|
40
|
+
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/docker-compose.yml
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
chmod u+x start.sh
|
|
44
|
+
chmod u+x stop.sh
|
|
45
|
+
chmod u+x upgrade.sh
|
|
46
|
+
chmod u+x migrate.sh
|
|
47
|
+
|
|
48
|
+
echo "HostPort=3000" > .env
|
|
49
|
+
|
|
50
|
+
docker pull hatiolab/dssp:latest
|
|
51
|
+
|
|
52
|
+
docker pull hatiolab/operato-nginx:latest
|
|
53
|
+
|
|
54
|
+
docker-compose create
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
docker exec -it dssp npm run migration -- --mode=production
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
HOST_PORT=3000
|
|
2
|
+
|
|
3
|
+
if [ $# -eq 0 ] ; then
|
|
4
|
+
echo "Warning: default port 3000"
|
|
5
|
+
else
|
|
6
|
+
HOST_PORT=$1
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
echo "HOST_PORT : ${HOST_PORT}"
|
|
11
|
+
|
|
12
|
+
echo "HostPort="$HOST_PORT > .env
|
|
13
|
+
|
|
14
|
+
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
|
15
|
+
xhost +"local:docker@"
|
|
16
|
+
fi
|
|
17
|
+
|
|
18
|
+
docker-compose up -d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
docker-compose stop
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
curl -fsSL https://raw.githubusercontent.com/things-factory/things-factory/master/packages/dssp/installer/install.sh | bash -s
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
openapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
description: >
|
|
4
|
+
For the latest release information please check our [release notes](https://developer.dssp.com/release_notes).
|
|
5
|
+
The Digital Construction Supervision Platform API exposes integrations endpoint and related functions.
|
|
6
|
+
version: 'unstable'
|
|
7
|
+
title: 'Digital Construction Supervision Platform'
|
|
8
|
+
termsOfService: 'https://dssp.com/terms/'
|
|
9
|
+
contact:
|
|
10
|
+
email: 'heartyoh@hatiolab.com'
|
|
11
|
+
license:
|
|
12
|
+
name: MIT
|
|
13
|
+
url: http://mit-license.org/
|
|
14
|
+
tags:
|
|
15
|
+
- name: 'dssp'
|
|
16
|
+
description: 'API for read, create and update operato-haccps'
|
|
17
|
+
schemes:
|
|
18
|
+
- 'https'
|
|
19
|
+
- 'http'
|
|
20
|
+
servers:
|
|
21
|
+
- url: '/api/unstable'
|
|
22
|
+
|
|
23
|
+
components:
|
|
24
|
+
securitySchemes:
|
|
25
|
+
basicAuth:
|
|
26
|
+
type: http
|
|
27
|
+
scheme: basic
|
|
28
|
+
bearerAuth:
|
|
29
|
+
type: http
|
|
30
|
+
scheme: bearer
|
|
31
|
+
|
|
32
|
+
security:
|
|
33
|
+
- basicAuth: []
|
|
34
|
+
- bearerAuth: []
|
|
35
|
+
responses:
|
|
36
|
+
UnauthorizedError:
|
|
37
|
+
description: Unauthorized
|
|
38
|
+
|
|
39
|
+
externalDocs:
|
|
40
|
+
description: 'Find out about our release notes'
|
|
41
|
+
url: 'https://developer.dssp.com/release_notes'
|
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dssp/dcsp",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"main": "dist-server/index.js",
|
|
5
|
+
"browser": "dist-client/index.js",
|
|
6
|
+
"things-factory": true,
|
|
7
|
+
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
8
|
+
"description": "Foundation of the Future: Digitalizing Supervision for Quality Construction",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"@dssp:registry": "https://registry.npmjs.org"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/hatiolab/dssp.git",
|
|
16
|
+
"directory": "packages/dcsp"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"serve": "things-factory dcsp",
|
|
20
|
+
"serve:dev": "npm run build:server && concurrently -k -r \"npm run build:client:watch\" \"things-factory-dev dcsp\"",
|
|
21
|
+
"copy:files": "copyfiles -e \"./client/**/*.{ts,js,json}\" -u 1 \"./client/**/*\" dist-client",
|
|
22
|
+
"build": "npm run build:server && npm run build:client",
|
|
23
|
+
"build:client": "npm run clean:client && npm run copy:files && tsc --p ./client/tsconfig.json",
|
|
24
|
+
"build:client:watch": "npm run copy:files && tsc --p ./client/tsconfig.json --watch --preserveWatchOutput",
|
|
25
|
+
"build:server": "npm run clean:server && tsc --p ./server/tsconfig.json",
|
|
26
|
+
"build:app": "npm run clean:app && webpack --config ../../node_modules/@things-factory/builder/webpack.config.js",
|
|
27
|
+
"clean:server": "rimraf dist-server",
|
|
28
|
+
"clean:client": "rimraf dist-client",
|
|
29
|
+
"clean:app": "rimraf dist-app",
|
|
30
|
+
"clean": "npm run clean:server && npm run clean:client",
|
|
31
|
+
"migration": "npm run build:server && things-factory-migration",
|
|
32
|
+
"migration:privileges": "npm run build:server && things-factory-migration-privileges",
|
|
33
|
+
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations",
|
|
34
|
+
"migration:generate": "node ../../node_modules/typeorm/cli.js migration:generate",
|
|
35
|
+
"migration:run": "node ../../node_modules/typeorm/cli.js migration:run",
|
|
36
|
+
"migration:revert": "node ../../node_modules/typeorm/cli.js migration:revert",
|
|
37
|
+
"stop:dev": "kill $(lsof -t -i:3000,3001)",
|
|
38
|
+
"stop": "things-factory-stop dcsp",
|
|
39
|
+
"docker": "npm run build:app && things-factory-dockerize hatiolab/dcsp:latest hatiolab/dcsp:$npm_package_version linux/amd64",
|
|
40
|
+
"docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/dcsp:latest",
|
|
41
|
+
"docker:push": "docker image push hatiolab/dcsp:latest && docker image push hatiolab/dcsp:$npm_package_version"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@dssp/building-complex": "^0.0.2",
|
|
45
|
+
"@dssp/project": "^0.0.2",
|
|
46
|
+
"@operato/scene-auth": "^7.0.0",
|
|
47
|
+
"@operato/scene-chartjs": "^7.0.0",
|
|
48
|
+
"@operato/scene-clock": "^7.0.0",
|
|
49
|
+
"@operato/scene-data-transform": "^7.0.0",
|
|
50
|
+
"@operato/scene-form": "^7.0.0",
|
|
51
|
+
"@operato/scene-gauge": "^7.0.0",
|
|
52
|
+
"@operato/scene-grist": "^7.0.0",
|
|
53
|
+
"@operato/scene-half-roundrect": "^7.0.0",
|
|
54
|
+
"@operato/scene-image-slider": "^7.0.0",
|
|
55
|
+
"@operato/scene-integration": "^7.0.0",
|
|
56
|
+
"@operato/scene-legend": "^7.0.0",
|
|
57
|
+
"@operato/scene-news-ticker": "^7.0.0",
|
|
58
|
+
"@operato/scene-progressbar": "^7.0.0",
|
|
59
|
+
"@operato/scene-random": "^7.0.0",
|
|
60
|
+
"@operato/scene-switch": "^7.0.0",
|
|
61
|
+
"@operato/scene-tab": "^7.0.0",
|
|
62
|
+
"@operato/scene-table": "^7.0.0",
|
|
63
|
+
"@operato/scene-timer": "^7.0.0",
|
|
64
|
+
"@things-factory/api": "^7.0.0",
|
|
65
|
+
"@things-factory/apptool-base": "^7.0.0",
|
|
66
|
+
"@things-factory/apptool-ui": "^7.0.0",
|
|
67
|
+
"@things-factory/auth-base": "^7.0.0",
|
|
68
|
+
"@things-factory/auth-ui": "^7.0.0",
|
|
69
|
+
"@things-factory/board-service": "^7.0.0",
|
|
70
|
+
"@things-factory/board-ui": "^7.0.0",
|
|
71
|
+
"@things-factory/code-ui": "^7.0.0",
|
|
72
|
+
"@things-factory/context-ui": "^7.0.0",
|
|
73
|
+
"@things-factory/dashboard": "^7.0.0",
|
|
74
|
+
"@things-factory/export-ui": "^7.0.0",
|
|
75
|
+
"@things-factory/help": "^7.0.0",
|
|
76
|
+
"@things-factory/i18n-base": "^7.0.0",
|
|
77
|
+
"@things-factory/integration-base": "^7.0.0",
|
|
78
|
+
"@things-factory/integration-ui": "^7.0.0",
|
|
79
|
+
"@things-factory/lite-menu": "^7.0.0",
|
|
80
|
+
"@things-factory/more-base": "^7.0.0",
|
|
81
|
+
"@things-factory/more-ui": "^7.0.0",
|
|
82
|
+
"@things-factory/notification": "^7.0.0",
|
|
83
|
+
"@things-factory/resource-ui": "^7.0.0",
|
|
84
|
+
"@things-factory/setting-base": "^7.0.0",
|
|
85
|
+
"@things-factory/setting-ui": "^7.0.0",
|
|
86
|
+
"@things-factory/shell": "^7.0.0",
|
|
87
|
+
"@things-factory/system": "^7.0.0"
|
|
88
|
+
},
|
|
89
|
+
"devDependencies": {
|
|
90
|
+
"@things-factory/builder": "^7.0.0"
|
|
91
|
+
},
|
|
92
|
+
"gitHead": "d2d9c69dd4dc2e4098becc405c3641dc440766b7"
|
|
93
|
+
}
|