@things-factory/dataset 6.0.25 → 6.0.28
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/README.md +26 -11
- package/assets/images/data-collect.png +0 -0
- package/assets/images/ooc.png +0 -0
- package/assets/images/oos.png +0 -0
- package/client/{bootstrap.js → bootstrap.ts} +5 -1
- package/client/components/data-collect-activity-view.ts +100 -0
- package/client/components/{data-entry-form.js → data-entry-form.ts} +30 -33
- package/client/components/ooc-resolve-activity-view.ts +174 -0
- package/client/components/ooc-review-activity-view.ts +153 -0
- package/client/pages/data-archive/{data-archive-list-page.js → data-archive-list-page.ts} +67 -53
- package/client/pages/data-archive/{data-archive-request-popup.js → data-archive-request-popup.ts} +41 -39
- package/client/pages/data-entry/{data-entry-list-page.js → data-entry-list-page.ts} +41 -38
- package/client/pages/data-key-set/{data-key-item-list.js → data-key-item-list.ts} +31 -39
- package/client/pages/data-key-set/data-key-set-importer.ts +95 -0
- package/client/pages/data-key-set/{data-key-set-list-page.js → data-key-set-list-page.ts} +54 -35
- package/client/pages/data-ooc/{data-ooc-list-page.js → data-ooc-list-page.ts} +56 -36
- package/client/pages/data-ooc/data-ooc-view-page.ts +115 -0
- package/client/pages/data-ooc/data-ooc-view.ts +124 -0
- package/client/pages/data-report/{data-report-embed-page.js → data-report-embed-page.ts} +25 -34
- package/client/pages/data-report/{data-report-list-page.js → data-report-list-page.ts} +49 -43
- package/client/pages/data-report/{data-report-samples-page.js → data-report-samples-page.ts} +29 -43
- package/client/pages/data-report/{jasper-report-oocs-page.js → jasper-report-oocs-page.ts} +22 -34
- package/client/pages/data-report/{jasper-report-samples-crosstab-page.js → jasper-report-samples-crosstab-page.ts} +22 -34
- package/client/pages/data-report/{jasper-report-samples-page.js → jasper-report-samples-page.ts} +22 -34
- package/client/pages/data-sample/{data-sample-list-page.js → data-sample-list-page.ts} +49 -36
- package/client/pages/data-sample/{data-sample-search-page.js → data-sample-search-page.ts} +53 -39
- package/client/pages/data-sample/{data-sample-view.js → data-sample-view.ts} +29 -33
- package/client/pages/data-sensor/{data-sensor-list-page.js → data-sensor-list-page.ts} +41 -35
- package/client/pages/data-set/{data-item-list.js → data-item-list.ts} +31 -37
- package/client/pages/data-set/data-set-importer.ts +96 -0
- package/client/pages/data-set/{data-set-list-page.js → data-set-list-page.ts} +173 -40
- package/client/{route.js → route.ts} +5 -1
- package/client/tsconfig.json +11 -0
- package/config/config.development.js +30 -30
- package/config/config.production.js +31 -31
- package/dist-client/bootstrap.d.ts +5 -0
- package/dist-client/bootstrap.js +16 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/components/data-collect-activity-view.d.ts +19 -0
- package/dist-client/components/data-collect-activity-view.js +101 -0
- package/dist-client/components/data-collect-activity-view.js.map +1 -0
- package/dist-client/components/data-entry-form.d.ts +15 -0
- package/dist-client/components/data-entry-form.js +83 -0
- package/dist-client/components/data-entry-form.js.map +1 -0
- package/dist-client/components/data-ooc-activity-view.d.ts +1 -0
- package/dist-client/components/data-ooc-activity-view.js +154 -0
- package/dist-client/components/data-ooc-activity-view.js.map +1 -0
- package/dist-client/components/ooc-resolve-activity-view.d.ts +1 -0
- package/dist-client/components/ooc-resolve-activity-view.js +175 -0
- package/dist-client/components/ooc-resolve-activity-view.js.map +1 -0
- package/dist-client/components/ooc-review-activity-view.d.ts +1 -0
- package/dist-client/components/ooc-review-activity-view.js +155 -0
- package/dist-client/components/ooc-review-activity-view.js.map +1 -0
- package/dist-client/index.d.ts +1 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/pages/data-archive/data-archive-list-page.d.ts +71 -0
- package/dist-client/pages/data-archive/data-archive-list-page.js +287 -0
- package/dist-client/pages/data-archive/data-archive-list-page.js.map +1 -0
- package/dist-client/pages/data-archive/data-archive-request-popup.d.ts +1 -0
- package/dist-client/pages/data-archive/data-archive-request-popup.js +161 -0
- package/dist-client/pages/data-archive/data-archive-request-popup.js.map +1 -0
- package/dist-client/pages/data-entry/data-entry-list-page.d.ts +36 -0
- package/dist-client/pages/data-entry/data-entry-list-page.js +383 -0
- package/dist-client/pages/data-entry/data-entry-list-page.js.map +1 -0
- package/dist-client/pages/data-key-set/data-key-item-list.d.ts +18 -0
- package/dist-client/pages/data-key-set/data-key-item-list.js +188 -0
- package/dist-client/pages/data-key-set/data-key-item-list.js.map +1 -0
- package/dist-client/pages/data-key-set/data-key-set-importer.d.ts +9 -0
- package/dist-client/pages/data-key-set/data-key-set-importer.js +100 -0
- package/dist-client/pages/data-key-set/data-key-set-importer.js.map +1 -0
- package/dist-client/pages/data-key-set/data-key-set-list-page.d.ts +60 -0
- package/dist-client/pages/data-key-set/data-key-set-list-page.js +450 -0
- package/dist-client/pages/data-key-set/data-key-set-list-page.js.map +1 -0
- package/dist-client/pages/data-ooc/data-ooc-list-page.d.ts +58 -0
- package/dist-client/pages/data-ooc/data-ooc-list-page.js +479 -0
- package/dist-client/pages/data-ooc/data-ooc-list-page.js.map +1 -0
- package/dist-client/pages/data-ooc/data-ooc-view-page.d.ts +18 -0
- package/dist-client/pages/data-ooc/data-ooc-view-page.js +114 -0
- package/dist-client/pages/data-ooc/data-ooc-view-page.js.map +1 -0
- package/dist-client/pages/data-ooc/data-ooc-view.d.ts +15 -0
- package/dist-client/pages/data-ooc/data-ooc-view.js +130 -0
- package/dist-client/pages/data-ooc/data-ooc-view.js.map +1 -0
- package/dist-client/pages/data-report/data-report-embed-page.d.ts +36 -0
- package/dist-client/pages/data-report/data-report-embed-page.js +101 -0
- package/dist-client/pages/data-report/data-report-embed-page.js.map +1 -0
- package/dist-client/pages/data-report/data-report-list-page.d.ts +36 -0
- package/dist-client/pages/data-report/data-report-list-page.js +431 -0
- package/dist-client/pages/data-report/data-report-list-page.js.map +1 -0
- package/dist-client/pages/data-report/data-report-samples-page.d.ts +32 -0
- package/dist-client/pages/data-report/data-report-samples-page.js +164 -0
- package/dist-client/pages/data-report/data-report-samples-page.js.map +1 -0
- package/dist-client/pages/data-report/jasper-report-oocs-page.d.ts +2 -0
- package/dist-client/pages/data-report/jasper-report-oocs-page.js +101 -0
- package/dist-client/pages/data-report/jasper-report-oocs-page.js.map +1 -0
- package/dist-client/pages/data-report/jasper-report-samples-crosstab-page.d.ts +2 -0
- package/dist-client/pages/data-report/jasper-report-samples-crosstab-page.js +101 -0
- package/dist-client/pages/data-report/jasper-report-samples-crosstab-page.js.map +1 -0
- package/dist-client/pages/data-report/jasper-report-samples-page.d.ts +2 -0
- package/dist-client/pages/data-report/jasper-report-samples-page.js +101 -0
- package/dist-client/pages/data-report/jasper-report-samples-page.js.map +1 -0
- package/dist-client/pages/data-sample/data-sample-list-page.d.ts +58 -0
- package/dist-client/pages/data-sample/data-sample-list-page.js +412 -0
- package/dist-client/pages/data-sample/data-sample-list-page.js.map +1 -0
- package/dist-client/pages/data-sample/data-sample-search-page.d.ts +63 -0
- package/dist-client/pages/data-sample/data-sample-search-page.js +413 -0
- package/dist-client/pages/data-sample/data-sample-search-page.js.map +1 -0
- package/dist-client/pages/data-sample/data-sample-view.d.ts +1 -0
- package/dist-client/pages/data-sample/data-sample-view.js +109 -0
- package/dist-client/pages/data-sample/data-sample-view.js.map +1 -0
- package/dist-client/pages/data-sensor/data-sensor-list-page.d.ts +49 -0
- package/dist-client/pages/data-sensor/data-sensor-list-page.js +419 -0
- package/dist-client/pages/data-sensor/data-sensor-list-page.js.map +1 -0
- package/dist-client/pages/data-set/data-item-list.d.ts +1 -0
- package/dist-client/pages/data-set/data-item-list.js +267 -0
- package/dist-client/pages/data-set/data-item-list.js.map +1 -0
- package/dist-client/pages/data-set/data-set-importer.d.ts +10 -0
- package/dist-client/pages/data-set/data-set-importer.js +103 -0
- package/dist-client/pages/data-set/data-set-importer.js.map +1 -0
- package/dist-client/pages/data-set/data-set-list-page.d.ts +73 -0
- package/dist-client/pages/data-set/data-set-list-page.js +861 -0
- package/dist-client/pages/data-set/data-set-list-page.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +50 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-server/controllers/activity-template/activity-data-collect.js +82 -0
- package/dist-server/controllers/activity-template/activity-data-collect.js.map +1 -0
- package/dist-server/controllers/activity-template/activity-ooc-resolve.js +100 -0
- package/dist-server/controllers/activity-template/activity-ooc-resolve.js.map +1 -0
- package/dist-server/controllers/activity-template/activity-ooc-review.js +107 -0
- package/dist-server/controllers/activity-template/activity-ooc-review.js.map +1 -0
- package/dist-server/controllers/activity-template/activity-ooc.js +59 -0
- package/dist-server/controllers/activity-template/activity-ooc.js.map +1 -0
- package/dist-server/controllers/create-data-sample.js +53 -14
- package/dist-server/controllers/create-data-sample.js.map +1 -1
- package/dist-server/controllers/data-use-case.js +1 -1
- package/dist-server/controllers/data-use-case.js.map +1 -1
- package/dist-server/controllers/index.js +7 -0
- package/dist-server/controllers/index.js.map +1 -1
- package/dist-server/index.js +1 -2
- package/dist-server/index.js.map +1 -1
- package/dist-server/routes.js +47 -3
- package/dist-server/routes.js.map +1 -1
- package/dist-server/service/data-ooc/data-ooc-query.js +22 -2
- package/dist-server/service/data-ooc/data-ooc-query.js.map +1 -1
- package/dist-server/service/data-ooc/data-ooc.js +26 -0
- package/dist-server/service/data-ooc/data-ooc.js.map +1 -1
- package/dist-server/service/data-set/data-set-mutation.js +88 -0
- package/dist-server/service/data-set/data-set-mutation.js.map +1 -1
- package/dist-server/service/data-set/data-set-query.js +38 -4
- package/dist-server/service/data-set/data-set-query.js.map +1 -1
- package/dist-server/service/data-set/data-set-type.js +16 -0
- package/dist-server/service/data-set/data-set-type.js.map +1 -1
- package/dist-server/service/data-set/data-set.js +55 -3
- package/dist-server/service/data-set/data-set.js.map +1 -1
- package/dist-server/service/data-set-history/data-set-history-query.js +4 -3
- package/dist-server/service/data-set-history/data-set-history-query.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/helps/dataset/data-ooc.md +5 -4
- package/package.json +17 -12
- package/server/controllers/activity-template/activity-data-collect.ts +84 -0
- package/server/controllers/activity-template/activity-ooc-resolve.ts +114 -0
- package/server/controllers/activity-template/activity-ooc-review.ts +118 -0
- package/server/controllers/create-data-sample.ts +61 -21
- package/server/controllers/data-use-case.ts +1 -1
- package/server/controllers/index.ts +11 -0
- package/server/index.ts +1 -2
- package/server/routes.ts +62 -5
- package/server/service/data-ooc/data-ooc-query.ts +12 -2
- package/server/service/data-ooc/data-ooc.ts +23 -0
- package/server/service/data-set/data-set-mutation.ts +99 -0
- package/server/service/data-set/data-set-query.ts +39 -5
- package/server/service/data-set/data-set-type.ts +14 -0
- package/server/service/data-set/data-set.ts +43 -2
- package/server/service/data-set-history/data-set-history-query.ts +4 -3
- package/server/tsconfig.json +10 -0
- package/things-factory.config.js +6 -2
- package/translations/en.json +3 -1
- package/translations/ko.json +3 -1
- package/translations/ms.json +3 -0
- package/translations/zh.json +3 -0
- package/client/pages/data-key-set/data-key-set-importer.js +0 -105
- package/client/pages/data-ooc/data-ooc-view.js +0 -188
- package/client/pages/data-set/data-set-importer.js +0 -103
- package/server/middlewares/index.ts +0 -3
- package/server/migrations/index.ts +0 -9
- package/tsconfig.json +0 -9
- /package/assets/{data-report.jpg → images/data-report.jpg} +0 -0
- /package/assets/{data-samples.jpg → images/data-samples.jpg} +0 -0
- /package/assets/{diagram.jpg → images/dataset-diagram.jpg} +0 -0
- /package/assets/{glue-table-indices.png → images/glue-table-indices-for-dataset.png} +0 -0
- /package/client/{index.js → index.ts} +0 -0
@@ -1,188 +0,0 @@
|
|
1
|
-
import '@operato/dataset/ox-data-ooc-view.js'
|
2
|
-
|
3
|
-
import gql from 'graphql-tag'
|
4
|
-
import { css, html, LitElement } from 'lit'
|
5
|
-
|
6
|
-
import { client } from '@operato/graphql'
|
7
|
-
import { i18next, localize } from '@operato/i18n'
|
8
|
-
import { ScrollbarStyles } from '@operato/styles'
|
9
|
-
|
10
|
-
class DataOocView extends localize(i18next)(LitElement) {
|
11
|
-
static get styles() {
|
12
|
-
return [
|
13
|
-
ScrollbarStyles,
|
14
|
-
css`
|
15
|
-
:host {
|
16
|
-
display: flex;
|
17
|
-
flex-direction: column;
|
18
|
-
|
19
|
-
background-color: #fff;
|
20
|
-
}
|
21
|
-
|
22
|
-
div[content] {
|
23
|
-
flex: 1;
|
24
|
-
|
25
|
-
display: flex;
|
26
|
-
overflow: auto;
|
27
|
-
}
|
28
|
-
|
29
|
-
ox-data-ooc-view {
|
30
|
-
flex: 1;
|
31
|
-
padding: var(--padding-wide);
|
32
|
-
overflow: auto;
|
33
|
-
}
|
34
|
-
|
35
|
-
label[comment] {
|
36
|
-
display: flex;
|
37
|
-
flex-direction: column;
|
38
|
-
|
39
|
-
padding: var(--padding-wide);
|
40
|
-
}
|
41
|
-
|
42
|
-
label[comment] div {
|
43
|
-
display: flex;
|
44
|
-
}
|
45
|
-
|
46
|
-
mwc-icon {
|
47
|
-
color: var(--status-danger-color);
|
48
|
-
}
|
49
|
-
|
50
|
-
textarea {
|
51
|
-
border: var(--input-field-border);
|
52
|
-
border-radius: var(--input-border-radius);
|
53
|
-
padding: var(--input-field-padding);
|
54
|
-
font: var(--input-field-font);
|
55
|
-
}
|
56
|
-
|
57
|
-
.button-container {
|
58
|
-
display: flex;
|
59
|
-
margin-left: auto;
|
60
|
-
padding: var(--padding-default);
|
61
|
-
}
|
62
|
-
`
|
63
|
-
]
|
64
|
-
}
|
65
|
-
|
66
|
-
static get properties() {
|
67
|
-
return {
|
68
|
-
dataSet: Object,
|
69
|
-
dataOoc: Object
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
get sampleView() {
|
74
|
-
return this.renderRoot.querySelector('ox-data-ooc-view')
|
75
|
-
}
|
76
|
-
|
77
|
-
render() {
|
78
|
-
const state = this.dataOoc.state
|
79
|
-
|
80
|
-
return html`
|
81
|
-
<div content>
|
82
|
-
<ox-data-ooc-view .dataSet=${this.dataSet} .dataOoc=${this.dataOoc}></ox-data-ooc-view>
|
83
|
-
</div>
|
84
|
-
|
85
|
-
${
|
86
|
-
state === 'CREATED' || state === 'REVIEWED'
|
87
|
-
? html`
|
88
|
-
<label comment>
|
89
|
-
<div><mwc-icon>build_circle</mwc-icon> <span>correction activity</span></div>
|
90
|
-
<textarea placeholder="조치 내용을 입력해주세요."></textarea>
|
91
|
-
</label>
|
92
|
-
`
|
93
|
-
: html``
|
94
|
-
}
|
95
|
-
|
96
|
-
<div class="button-container">
|
97
|
-
${
|
98
|
-
state === 'CREATED'
|
99
|
-
? html`<mwc-button raised @click=${() => this._processOoc('REVIEWED')}
|
100
|
-
>${i18next.t('button.reviewed')}</mwc-button
|
101
|
-
>`
|
102
|
-
: state === 'REVIEWED'
|
103
|
-
? html`<mwc-button raised @click=${() => this._processOoc('CORRECTED')}
|
104
|
-
>${i18next.t('button.corrected')}</mwc-button
|
105
|
-
>`
|
106
|
-
: html``
|
107
|
-
}
|
108
|
-
</div>
|
109
|
-
`
|
110
|
-
}
|
111
|
-
|
112
|
-
updated(changes) {
|
113
|
-
if (changes.has('dataOoc')) {
|
114
|
-
this.fetchDataSet()
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
async fetchDataSet() {
|
119
|
-
const id = this.dataOoc?.dataSet?.id
|
120
|
-
|
121
|
-
if (id) {
|
122
|
-
const response = await client.query({
|
123
|
-
query: gql`
|
124
|
-
query ($id: String!) {
|
125
|
-
dataSet(id: $id) {
|
126
|
-
id
|
127
|
-
name
|
128
|
-
description
|
129
|
-
useCase
|
130
|
-
dataItems {
|
131
|
-
name
|
132
|
-
description
|
133
|
-
active
|
134
|
-
tag
|
135
|
-
type
|
136
|
-
unit
|
137
|
-
options
|
138
|
-
quota
|
139
|
-
spec
|
140
|
-
}
|
141
|
-
}
|
142
|
-
}
|
143
|
-
`,
|
144
|
-
variables: {
|
145
|
-
id: this.dataOoc.dataSet.id
|
146
|
-
}
|
147
|
-
})
|
148
|
-
|
149
|
-
this.dataSet = response.data.dataSet
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
async _processOoc(state) {
|
154
|
-
const commentTextArea = this.renderRoot.querySelector('textarea')
|
155
|
-
const comment = commentTextArea && commentTextArea.value
|
156
|
-
if (!comment || !comment.trim()) {
|
157
|
-
commentTextArea.focus()
|
158
|
-
return
|
159
|
-
}
|
160
|
-
|
161
|
-
const patch = {
|
162
|
-
state,
|
163
|
-
correctiveAction: comment
|
164
|
-
}
|
165
|
-
|
166
|
-
const response = await client.mutate({
|
167
|
-
mutation: gql`
|
168
|
-
mutation ($id: String!, $patch: DataOocPatch!) {
|
169
|
-
updateDataOoc(id: $id, patch: $patch) {
|
170
|
-
id
|
171
|
-
}
|
172
|
-
}
|
173
|
-
`,
|
174
|
-
variables: {
|
175
|
-
id: this.dataOoc.id,
|
176
|
-
patch
|
177
|
-
}
|
178
|
-
})
|
179
|
-
|
180
|
-
if (!response.errors) {
|
181
|
-
document.dispatchEvent(
|
182
|
-
new CustomEvent('notify', { detail: { message: i18next.t('text.data ooc updated successfully') } })
|
183
|
-
)
|
184
|
-
}
|
185
|
-
}
|
186
|
-
}
|
187
|
-
|
188
|
-
window.customElements.define('data-ooc-view', DataOocView)
|
@@ -1,103 +0,0 @@
|
|
1
|
-
import '@operato/data-grist'
|
2
|
-
|
3
|
-
import gql from 'graphql-tag'
|
4
|
-
import { css, html, LitElement } from 'lit'
|
5
|
-
|
6
|
-
import { client } from '@operato/graphql'
|
7
|
-
import { i18next } from '@operato/i18n'
|
8
|
-
import { isMobileDevice } from '@operato/utils'
|
9
|
-
|
10
|
-
export class DataSetImporter extends LitElement {
|
11
|
-
static get properties() {
|
12
|
-
return {
|
13
|
-
columns: Object,
|
14
|
-
scenarios: Array
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
constructor() {
|
19
|
-
super()
|
20
|
-
this.columns = {
|
21
|
-
list: { fields: ['name', 'description'] },
|
22
|
-
pagination: { infinite: true },
|
23
|
-
columns: [
|
24
|
-
{
|
25
|
-
type: 'string',
|
26
|
-
name: 'name',
|
27
|
-
header: i18next.t('field.name'),
|
28
|
-
width: 150
|
29
|
-
},
|
30
|
-
{
|
31
|
-
type: 'string',
|
32
|
-
name: 'description',
|
33
|
-
header: i18next.t('field.description'),
|
34
|
-
width: 200
|
35
|
-
},
|
36
|
-
{
|
37
|
-
type: 'checkbox',
|
38
|
-
name: 'active',
|
39
|
-
header: i18next.t('field.active'),
|
40
|
-
width: 60
|
41
|
-
}
|
42
|
-
]
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
static get styles() {
|
47
|
-
return [
|
48
|
-
css`
|
49
|
-
:host {
|
50
|
-
display: flex;
|
51
|
-
flex-direction: column;
|
52
|
-
|
53
|
-
background-color: #fff;
|
54
|
-
}
|
55
|
-
|
56
|
-
ox-grist {
|
57
|
-
flex: 1;
|
58
|
-
}
|
59
|
-
|
60
|
-
.button-container {
|
61
|
-
display: flex;
|
62
|
-
margin-left: auto;
|
63
|
-
padding: var(--padding-default);
|
64
|
-
}
|
65
|
-
|
66
|
-
mwc-button {
|
67
|
-
margin-left: var(--margin-default);
|
68
|
-
}
|
69
|
-
`
|
70
|
-
]
|
71
|
-
}
|
72
|
-
|
73
|
-
render() {
|
74
|
-
return html`
|
75
|
-
<ox-grist
|
76
|
-
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
77
|
-
.config=${this.columns}
|
78
|
-
.data="${{ records: this.scenarios }}"
|
79
|
-
></ox-grist>
|
80
|
-
|
81
|
-
<div class="button-container">
|
82
|
-
<mwc-button raised @click="${this.save.bind(this)}">${i18next.t('button.save')}</mwc-button>
|
83
|
-
</div>
|
84
|
-
`
|
85
|
-
}
|
86
|
-
|
87
|
-
async save() {
|
88
|
-
const response = await client.mutate({
|
89
|
-
mutation: gql`
|
90
|
-
mutation importDataSets($dataSets: [DataSetPatch!]!) {
|
91
|
-
importDataSets(dataSets: $dataSets)
|
92
|
-
}
|
93
|
-
`,
|
94
|
-
variables: { dataSets: this.dataSets }
|
95
|
-
})
|
96
|
-
|
97
|
-
if (response.errors?.length) return
|
98
|
-
|
99
|
-
this.dispatchEvent(new CustomEvent('imported'))
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
customElements.define('data-set-importer', DataSetImporter)
|
@@ -1,9 +0,0 @@
|
|
1
|
-
const glob = require('glob')
|
2
|
-
const path = require('path')
|
3
|
-
|
4
|
-
export var migrations = []
|
5
|
-
|
6
|
-
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {
|
7
|
-
if (file.indexOf('index.js') !== -1) return
|
8
|
-
migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])
|
9
|
-
})
|
package/tsconfig.json
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|