geonetwork-ui 2.5.0-dev.b51c2cb0f → 2.5.0-dev.b87edcffd
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/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +11 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +34 -28
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +22 -2
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +7 -4
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +24 -14
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +7 -4
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +3 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -23
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +3 -4
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +25 -5
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +10 -7
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +4 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +7 -2
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +9 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +19 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +6 -1
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +6 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +46 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +3 -2
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +78 -0
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +43 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +1 -6
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +2 -7
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +14 -4
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +10 -3
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -6
- package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +5 -4
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base-cache.mjs +12 -0
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base-file.mjs +3 -3
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/csv.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/excel.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/geojson.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/gml.mjs +5 -3
- package/esm2022/libs/util/data-fetcher/src/lib/readers/json.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/wfs.mjs +19 -11
- package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +13 -9
- package/esm2022/translations/de.json +4 -76
- package/esm2022/translations/en.json +4 -76
- package/esm2022/translations/es.json +3 -75
- package/esm2022/translations/fr.json +16 -88
- package/esm2022/translations/it.json +21 -92
- package/esm2022/translations/nl.json +3 -75
- package/esm2022/translations/pt.json +3 -75
- package/fesm2022/geonetwork-ui.mjs +558 -880
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +3 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -0
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +2 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +2 -2
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +2 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +1 -3
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +2 -3
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +5 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -2
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +16 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +5 -0
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +4 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +10 -0
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts +16 -0
- package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +0 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +16 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +27 -28
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +2 -3
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -2
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +3 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +0 -1
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +8 -9
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/base-cache.d.ts +8 -0
- package/libs/util/data-fetcher/src/lib/readers/base-cache.d.ts.map +1 -0
- package/libs/util/data-fetcher/src/lib/readers/base-file.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/readers/base-file.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/base.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/readers/base.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/gml.d.ts +5 -3
- package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts +7 -4
- package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/utils.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +25 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +4 -0
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +36 -27
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +41 -2
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +4 -1
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +75 -0
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +4 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +43 -20
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +2 -1
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -13
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -20
- package/src/libs/feature/editor/src/lib/fields.config.ts +1 -1
- package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +24 -11
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +26 -4
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +71 -60
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +6 -3
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +16 -0
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +21 -2
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +15 -0
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +30 -1
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +12 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +1 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +2 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +55 -0
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.css +0 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +25 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +70 -0
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +2 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
- package/src/libs/ui/inputs/src/index.ts +0 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +48 -0
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +1 -7
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +37 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +8 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +2 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +6 -0
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -3
- package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +13 -4
- package/src/libs/util/data-fetcher/src/lib/readers/base-cache.ts +14 -0
- package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +2 -1
- package/src/libs/util/data-fetcher/src/lib/readers/base.ts +2 -2
- package/src/libs/util/data-fetcher/src/lib/readers/csv.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/excel.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/geojson.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/gml.ts +7 -7
- package/src/libs/util/data-fetcher/src/lib/readers/json.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +34 -11
- package/src/libs/util/data-fetcher/src/lib/utils.ts +38 -32
- package/translations/de.json +4 -76
- package/translations/en.json +4 -76
- package/translations/es.json +3 -75
- package/translations/fr.json +16 -88
- package/translations/it.json +21 -92
- package/translations/nl.json +3 -75
- package/translations/pt.json +3 -75
- package/translations/sk.json +3 -75
- package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +0 -78
- package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +0 -55
- package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts +0 -33
- package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +0 -1
- package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts +0 -21
- package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts.map +0 -1
- package/src/libs/data-access/datafeeder/src/index.ts +0 -1
- package/src/libs/data-access/datafeeder/src/openapi/api/api.ts +0 -11
- package/src/libs/data-access/datafeeder/src/openapi/api/config.api.service.ts +0 -168
- package/src/libs/data-access/datafeeder/src/openapi/api/dataPublishing.api.service.ts +0 -270
- package/src/libs/data-access/datafeeder/src/openapi/api/fileUpload.api.service.ts +0 -734
- package/src/libs/data-access/datafeeder/src/openapi/api.module.ts +0 -46
- package/src/libs/data-access/datafeeder/src/openapi/configuration.ts +0 -125
- package/src/libs/data-access/datafeeder/src/openapi/encoder.ts +0 -20
- package/src/libs/data-access/datafeeder/src/openapi/index.ts +0 -5
- package/src/libs/data-access/datafeeder/src/openapi/model/analysisStatusEnum.api.model.ts +0 -24
- package/src/libs/data-access/datafeeder/src/openapi/model/boundingBox.api.model.ts +0 -20
- package/src/libs/data-access/datafeeder/src/openapi/model/cRS.api.model.ts +0 -25
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +0 -45
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishRequest.api.model.ts +0 -39
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishingStatus.api.model.ts +0 -50
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +0 -39
- package/src/libs/data-access/datafeeder/src/openapi/model/models.ts +0 -13
- package/src/libs/data-access/datafeeder/src/openapi/model/property.api.model.ts +0 -17
- package/src/libs/data-access/datafeeder/src/openapi/model/publishJobStatus.api.model.ts +0 -33
- package/src/libs/data-access/datafeeder/src/openapi/model/publishRequest.api.model.ts +0 -16
- package/src/libs/data-access/datafeeder/src/openapi/model/publishStatusEnum.api.model.ts +0 -20
- package/src/libs/data-access/datafeeder/src/openapi/model/publishStepEnum.api.model.ts +0 -42
- package/src/libs/data-access/datafeeder/src/openapi/model/uploadJobStatus.api.model.ts +0 -33
- package/src/libs/data-access/datafeeder/src/openapi/variables.ts +0 -9
- package/src/libs/data-access/datafeeder/src/spec.yaml +0 -537
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.css +0 -36
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.html +0 -23
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +0 -81
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.css +0 -3
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.html +0 -13
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +0 -55
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
NgModule,
|
|
3
|
-
ModuleWithProviders,
|
|
4
|
-
SkipSelf,
|
|
5
|
-
Optional,
|
|
6
|
-
} from '@angular/core'
|
|
7
|
-
import { Configuration } from './configuration'
|
|
8
|
-
import { HttpClient } from '@angular/common/http'
|
|
9
|
-
|
|
10
|
-
import { ConfigApiService } from './api/config.api.service'
|
|
11
|
-
import { DataPublishingApiService } from './api/dataPublishing.api.service'
|
|
12
|
-
import { FileUploadApiService } from './api/fileUpload.api.service'
|
|
13
|
-
|
|
14
|
-
@NgModule({
|
|
15
|
-
imports: [],
|
|
16
|
-
declarations: [],
|
|
17
|
-
exports: [],
|
|
18
|
-
providers: [],
|
|
19
|
-
})
|
|
20
|
-
export class ApiModule {
|
|
21
|
-
public static forRoot(
|
|
22
|
-
configurationFactory: () => Configuration
|
|
23
|
-
): ModuleWithProviders<ApiModule> {
|
|
24
|
-
return {
|
|
25
|
-
ngModule: ApiModule,
|
|
26
|
-
providers: [{ provide: Configuration, useFactory: configurationFactory }],
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
@Optional() @SkipSelf() parentModule: ApiModule,
|
|
32
|
-
@Optional() http: HttpClient
|
|
33
|
-
) {
|
|
34
|
-
if (parentModule) {
|
|
35
|
-
throw new Error(
|
|
36
|
-
'ApiModule is already loaded. Import in your base AppModule only.'
|
|
37
|
-
)
|
|
38
|
-
}
|
|
39
|
-
if (!http) {
|
|
40
|
-
throw new Error(
|
|
41
|
-
'You need to import the HttpClientModule in your AppModule! \n' +
|
|
42
|
-
'See also https://github.com/angular/angular/issues/20575'
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http'
|
|
2
|
-
|
|
3
|
-
export interface ConfigurationParameters {
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
6
|
-
*/
|
|
7
|
-
apiKeys?: { [key: string]: string }
|
|
8
|
-
username?: string
|
|
9
|
-
password?: string
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
12
|
-
*/
|
|
13
|
-
accessToken?: string | (() => string)
|
|
14
|
-
basePath?: string
|
|
15
|
-
withCredentials?: boolean
|
|
16
|
-
encoder?: HttpParameterCodec
|
|
17
|
-
/**
|
|
18
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
19
|
-
* document. They should map to the value used for authentication
|
|
20
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
21
|
-
*/
|
|
22
|
-
credentials?: { [key: string]: string | (() => string | undefined) }
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export class Configuration {
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
28
|
-
*/
|
|
29
|
-
apiKeys?: { [key: string]: string }
|
|
30
|
-
username?: string
|
|
31
|
-
password?: string
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
34
|
-
*/
|
|
35
|
-
accessToken?: string | (() => string)
|
|
36
|
-
basePath?: string
|
|
37
|
-
withCredentials?: boolean
|
|
38
|
-
encoder?: HttpParameterCodec
|
|
39
|
-
/**
|
|
40
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
41
|
-
* document. They should map to the value used for authentication
|
|
42
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
43
|
-
*/
|
|
44
|
-
credentials: { [key: string]: string | (() => string | undefined) }
|
|
45
|
-
|
|
46
|
-
constructor(configurationParameters: ConfigurationParameters = {}) {
|
|
47
|
-
this.apiKeys = configurationParameters.apiKeys
|
|
48
|
-
this.username = configurationParameters.username
|
|
49
|
-
this.password = configurationParameters.password
|
|
50
|
-
this.accessToken = configurationParameters.accessToken
|
|
51
|
-
this.basePath = configurationParameters.basePath
|
|
52
|
-
this.withCredentials = configurationParameters.withCredentials
|
|
53
|
-
this.encoder = configurationParameters.encoder
|
|
54
|
-
if (configurationParameters.credentials) {
|
|
55
|
-
this.credentials = configurationParameters.credentials
|
|
56
|
-
} else {
|
|
57
|
-
this.credentials = {}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Select the correct content-type to use for a request.
|
|
63
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
64
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
65
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
66
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
67
|
-
*/
|
|
68
|
-
public selectHeaderContentType(contentTypes: string[]): string | undefined {
|
|
69
|
-
if (contentTypes.length === 0) {
|
|
70
|
-
return undefined
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
const type = contentTypes.find((x: string) => this.isJsonMime(x))
|
|
74
|
-
if (type === undefined) {
|
|
75
|
-
return contentTypes[0]
|
|
76
|
-
}
|
|
77
|
-
return type
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Select the correct accept content-type to use for a request.
|
|
82
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
83
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
84
|
-
* @param accepts - the array of content types that are available for selection.
|
|
85
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
86
|
-
*/
|
|
87
|
-
public selectHeaderAccept(accepts: string[]): string | undefined {
|
|
88
|
-
if (accepts.length === 0) {
|
|
89
|
-
return undefined
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
const type = accepts.find((x: string) => this.isJsonMime(x))
|
|
93
|
-
if (type === undefined) {
|
|
94
|
-
return accepts[0]
|
|
95
|
-
}
|
|
96
|
-
return type
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Check if the given MIME is a JSON MIME.
|
|
101
|
-
* JSON MIME examples:
|
|
102
|
-
* application/json
|
|
103
|
-
* application/json; charset=UTF8
|
|
104
|
-
* APPLICATION/JSON
|
|
105
|
-
* application/vnd.company+json
|
|
106
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
107
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
108
|
-
*/
|
|
109
|
-
public isJsonMime(mime: string): boolean {
|
|
110
|
-
const jsonMime: RegExp = new RegExp(
|
|
111
|
-
'^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$',
|
|
112
|
-
'i'
|
|
113
|
-
)
|
|
114
|
-
return (
|
|
115
|
-
mime !== null &&
|
|
116
|
-
(jsonMime.test(mime) ||
|
|
117
|
-
mime.toLowerCase() === 'application/json-patch+json')
|
|
118
|
-
)
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
public lookupCredential(key: string): string | undefined {
|
|
122
|
-
const value = this.credentials[key]
|
|
123
|
-
return typeof value === 'function' ? value() : value
|
|
124
|
-
}
|
|
125
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Custom HttpParameterCodec
|
|
5
|
-
* Workaround for https://github.com/angular/angular/issues/18261
|
|
6
|
-
*/
|
|
7
|
-
export class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
8
|
-
encodeKey(k: string): string {
|
|
9
|
-
return encodeURIComponent(k)
|
|
10
|
-
}
|
|
11
|
-
encodeValue(v: string): string {
|
|
12
|
-
return encodeURIComponent(v)
|
|
13
|
-
}
|
|
14
|
-
decodeKey(k: string): string {
|
|
15
|
-
return decodeURIComponent(k)
|
|
16
|
-
}
|
|
17
|
-
decodeValue(v: string): string {
|
|
18
|
-
return decodeURIComponent(v)
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export type AnalysisStatusEnumApiModel =
|
|
14
|
-
| 'PENDING'
|
|
15
|
-
| 'ANALYZING'
|
|
16
|
-
| 'DONE'
|
|
17
|
-
| 'ERROR'
|
|
18
|
-
|
|
19
|
-
export const AnalysisStatusEnumApiModel = {
|
|
20
|
-
Pending: 'PENDING' as AnalysisStatusEnumApiModel,
|
|
21
|
-
Analyzing: 'ANALYZING' as AnalysisStatusEnumApiModel,
|
|
22
|
-
Done: 'DONE' as AnalysisStatusEnumApiModel,
|
|
23
|
-
Error: 'ERROR' as AnalysisStatusEnumApiModel,
|
|
24
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { CRSApiModel } from './cRS.api.model'
|
|
13
|
-
|
|
14
|
-
export interface BoundingBoxApiModel {
|
|
15
|
-
crs?: CRSApiModel
|
|
16
|
-
minx?: number
|
|
17
|
-
maxx?: number
|
|
18
|
-
miny?: number
|
|
19
|
-
maxy?: number
|
|
20
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Coordinate Reference System
|
|
15
|
-
*/
|
|
16
|
-
export interface CRSApiModel {
|
|
17
|
-
/**
|
|
18
|
-
* Coordinate Reference System\'s EPSG identifier. Can be null if a matching reference system couldn\'t be found in the EPSG database.
|
|
19
|
-
*/
|
|
20
|
-
srs?: string
|
|
21
|
-
/**
|
|
22
|
-
* Coordinate Reference System\'s Well Known Text representation. Despite the \'srs\' identifier being found or not, the WKT representation is still available.
|
|
23
|
-
*/
|
|
24
|
-
wkt?: string
|
|
25
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* User supplied dataset metadata information
|
|
15
|
-
*/
|
|
16
|
-
export interface DatasetMetadataApiModel {
|
|
17
|
-
/**
|
|
18
|
-
* Metadata title for the dataset
|
|
19
|
-
*/
|
|
20
|
-
title: string
|
|
21
|
-
/**
|
|
22
|
-
* Metadata abtract text for the dataset
|
|
23
|
-
*/
|
|
24
|
-
abstract: string
|
|
25
|
-
/**
|
|
26
|
-
* metadata keyworkds for the dataset
|
|
27
|
-
*/
|
|
28
|
-
tags?: Array<string>
|
|
29
|
-
/**
|
|
30
|
-
* Dataset creation date, in RFC3339 format
|
|
31
|
-
*/
|
|
32
|
-
creationDate?: string
|
|
33
|
-
/**
|
|
34
|
-
* Optional, scale the data was created for (e.g. 500000 for a 1:500000 scale)
|
|
35
|
-
*/
|
|
36
|
-
scale?: number
|
|
37
|
-
/**
|
|
38
|
-
* textual description of dataset lineage
|
|
39
|
-
*/
|
|
40
|
-
creationProcessDescription?: string
|
|
41
|
-
/**
|
|
42
|
-
* Optional, additional options for the dataset
|
|
43
|
-
*/
|
|
44
|
-
options: any
|
|
45
|
-
}
|
package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishRequest.api.model.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { DatasetMetadataApiModel } from './datasetMetadata.api.model'
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Name of the dataset in the uploaded package, necessary to identify which dataset to publish from the UploadJobStatus
|
|
16
|
-
*/
|
|
17
|
-
export interface DatasetPublishRequestApiModel {
|
|
18
|
-
/**
|
|
19
|
-
* Name of the dataset in the uploaded package, necessary to identify which dataset to publish from the UploadJobStatus
|
|
20
|
-
*/
|
|
21
|
-
nativeName: string
|
|
22
|
-
/**
|
|
23
|
-
* Name under which the dataset is published to GeoServer, defaults to nativeName. It can be modified by the system to avoid duplicated layer names.
|
|
24
|
-
*/
|
|
25
|
-
publishedName?: string
|
|
26
|
-
/**
|
|
27
|
-
* Specify which charset (e.g. ISO-8859-1, UTF-8, etc.) to interpret the dataset alphanumeric properties with. Takes effect only for uploaded shapefiles.
|
|
28
|
-
*/
|
|
29
|
-
encoding?: string
|
|
30
|
-
/**
|
|
31
|
-
* Optional, Coordinate Reference System identifier to publish the dataset in. If not provided, the dataset is published using the CRS inferred during the upload analysis process. If no CRS identifier was determined, the job will fail.
|
|
32
|
-
*/
|
|
33
|
-
srs?: string
|
|
34
|
-
/**
|
|
35
|
-
* Optional, whether to reproject from the native CRS to the one provided in the srs parameter. If false or not provided, the srs parameter overrides the native CRS without reprojection.
|
|
36
|
-
*/
|
|
37
|
-
srs_reproject?: boolean
|
|
38
|
-
metadata: DatasetMetadataApiModel
|
|
39
|
-
}
|
package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishingStatus.api.model.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { PublishStepEnumApiModel } from './publishStepEnum.api.model'
|
|
13
|
-
import { PublishStatusEnumApiModel } from './publishStatusEnum.api.model'
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Describes the status of publishing a given dataset
|
|
17
|
-
*/
|
|
18
|
-
export interface DatasetPublishingStatusApiModel {
|
|
19
|
-
/**
|
|
20
|
-
* Name of the dataset in the uploaded package, necessary to identify which dataset to publish from the UploadJobStatus
|
|
21
|
-
*/
|
|
22
|
-
nativeName?: string
|
|
23
|
-
/**
|
|
24
|
-
* Name of the GeoServer workspace under which the dataset has been published.
|
|
25
|
-
*/
|
|
26
|
-
publishedWorkspace?: string
|
|
27
|
-
/**
|
|
28
|
-
* Final name under which the layer was published to GeoServer. It may have been modified from the requested layer name in order to avoid duplication if a layer with such name already exists in the target GeoServer workspace.
|
|
29
|
-
*/
|
|
30
|
-
publishedName?: string
|
|
31
|
-
/**
|
|
32
|
-
* Identifier for the metadta record created while publishing the dataset\'s metadata to GeoNetwork.
|
|
33
|
-
*/
|
|
34
|
-
metadataRecordId?: string
|
|
35
|
-
title?: string
|
|
36
|
-
status?: PublishStatusEnumApiModel
|
|
37
|
-
/**
|
|
38
|
-
* short description of the error that prevents the dataset to be published
|
|
39
|
-
*/
|
|
40
|
-
error?: string
|
|
41
|
-
/**
|
|
42
|
-
* true if this dataset is scheduled to be published (as requested through a PublishRequest)
|
|
43
|
-
*/
|
|
44
|
-
publish?: boolean
|
|
45
|
-
/**
|
|
46
|
-
* Estimated completion progress, from 0 to 1.
|
|
47
|
-
*/
|
|
48
|
-
progress?: number
|
|
49
|
-
progressStep?: PublishStepEnumApiModel
|
|
50
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { BoundingBoxApiModel } from './boundingBox.api.model'
|
|
13
|
-
import { AnalysisStatusEnumApiModel } from './analysisStatusEnum.api.model'
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Describes a recognized uploaded dataset
|
|
17
|
-
*/
|
|
18
|
-
export interface DatasetUploadStatusApiModel {
|
|
19
|
-
/**
|
|
20
|
-
* Name of the dataset in the uploaded package
|
|
21
|
-
*/
|
|
22
|
-
name?: string
|
|
23
|
-
status?: AnalysisStatusEnumApiModel
|
|
24
|
-
/**
|
|
25
|
-
* short description of the error that prevents the dataset to be analysed
|
|
26
|
-
*/
|
|
27
|
-
error?: string
|
|
28
|
-
/**
|
|
29
|
-
* Number of features in the dataset
|
|
30
|
-
*/
|
|
31
|
-
featureCount?: number
|
|
32
|
-
nativeBounds?: BoundingBoxApiModel
|
|
33
|
-
/**
|
|
34
|
-
* detected charset
|
|
35
|
-
*/
|
|
36
|
-
encoding?: string
|
|
37
|
-
format?: 'CSV' | 'SHAPEFILE'
|
|
38
|
-
options?: any
|
|
39
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './analysisStatusEnum.api.model'
|
|
2
|
-
export * from './boundingBox.api.model'
|
|
3
|
-
export * from './cRS.api.model'
|
|
4
|
-
export * from './datasetMetadata.api.model'
|
|
5
|
-
export * from './datasetPublishRequest.api.model'
|
|
6
|
-
export * from './datasetPublishingStatus.api.model'
|
|
7
|
-
export * from './datasetUploadStatus.api.model'
|
|
8
|
-
export * from './property.api.model'
|
|
9
|
-
export * from './publishJobStatus.api.model'
|
|
10
|
-
export * from './publishRequest.api.model'
|
|
11
|
-
export * from './publishStatusEnum.api.model'
|
|
12
|
-
export * from './publishStepEnum.api.model'
|
|
13
|
-
export * from './uploadJobStatus.api.model'
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export interface PropertyApiModel {
|
|
14
|
-
name?: string
|
|
15
|
-
value?: string
|
|
16
|
-
type?: string
|
|
17
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { PublishStatusEnumApiModel } from './publishStatusEnum.api.model'
|
|
13
|
-
import { DatasetPublishingStatusApiModel } from './datasetPublishingStatus.api.model'
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Describes the processing status of a publishing job for a given upload
|
|
17
|
-
*/
|
|
18
|
-
export interface PublishJobStatusApiModel {
|
|
19
|
-
/**
|
|
20
|
-
* Identifier for the upload processing job
|
|
21
|
-
*/
|
|
22
|
-
jobId?: string
|
|
23
|
-
/**
|
|
24
|
-
* Estimated completion progress, from 0 to 1.
|
|
25
|
-
*/
|
|
26
|
-
progress?: number
|
|
27
|
-
status?: PublishStatusEnumApiModel
|
|
28
|
-
/**
|
|
29
|
-
* short description of the error that prevents the job to complete successfully
|
|
30
|
-
*/
|
|
31
|
-
error?: string
|
|
32
|
-
datasets?: Array<DatasetPublishingStatusApiModel>
|
|
33
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { DatasetPublishRequestApiModel } from './datasetPublishRequest.api.model'
|
|
13
|
-
|
|
14
|
-
export interface PublishRequestApiModel {
|
|
15
|
-
datasets?: Array<DatasetPublishRequestApiModel>
|
|
16
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export type PublishStatusEnumApiModel = 'PENDING' | 'RUNNING' | 'DONE' | 'ERROR'
|
|
14
|
-
|
|
15
|
-
export const PublishStatusEnumApiModel = {
|
|
16
|
-
Pending: 'PENDING' as PublishStatusEnumApiModel,
|
|
17
|
-
Running: 'RUNNING' as PublishStatusEnumApiModel,
|
|
18
|
-
Done: 'DONE' as PublishStatusEnumApiModel,
|
|
19
|
-
Error: 'ERROR' as PublishStatusEnumApiModel,
|
|
20
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export type PublishStepEnumApiModel =
|
|
14
|
-
| 'SKIPPED'
|
|
15
|
-
| 'SCHEDULED'
|
|
16
|
-
| 'DATA_IMPORT_STARTED'
|
|
17
|
-
| 'DATA_IMPORT_FINISHED'
|
|
18
|
-
| 'OWS_PUBLISHING_STARTED'
|
|
19
|
-
| 'OWS_PUBLISHING_FINISHED'
|
|
20
|
-
| 'METADATA_PUBLISHING_STARTED'
|
|
21
|
-
| 'METADATA_PUBLISHING_FINISHED'
|
|
22
|
-
| 'OWS_METADATA_UPDATE_STARTED'
|
|
23
|
-
| 'OWS_METADATA_UPDATE_FINISHED'
|
|
24
|
-
| 'COMPLETED'
|
|
25
|
-
|
|
26
|
-
export const PublishStepEnumApiModel = {
|
|
27
|
-
Skipped: 'SKIPPED' as PublishStepEnumApiModel,
|
|
28
|
-
Scheduled: 'SCHEDULED' as PublishStepEnumApiModel,
|
|
29
|
-
DataImportStarted: 'DATA_IMPORT_STARTED' as PublishStepEnumApiModel,
|
|
30
|
-
DataImportFinished: 'DATA_IMPORT_FINISHED' as PublishStepEnumApiModel,
|
|
31
|
-
OwsPublishingStarted: 'OWS_PUBLISHING_STARTED' as PublishStepEnumApiModel,
|
|
32
|
-
OwsPublishingFinished: 'OWS_PUBLISHING_FINISHED' as PublishStepEnumApiModel,
|
|
33
|
-
MetadataPublishingStarted:
|
|
34
|
-
'METADATA_PUBLISHING_STARTED' as PublishStepEnumApiModel,
|
|
35
|
-
MetadataPublishingFinished:
|
|
36
|
-
'METADATA_PUBLISHING_FINISHED' as PublishStepEnumApiModel,
|
|
37
|
-
OwsMetadataUpdateStarted:
|
|
38
|
-
'OWS_METADATA_UPDATE_STARTED' as PublishStepEnumApiModel,
|
|
39
|
-
OwsMetadataUpdateFinished:
|
|
40
|
-
'OWS_METADATA_UPDATE_FINISHED' as PublishStepEnumApiModel,
|
|
41
|
-
Completed: 'COMPLETED' as PublishStepEnumApiModel,
|
|
42
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFeeder API
|
|
3
|
-
* This API covers dataset upload and publishing features of the application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: psc@georchestra.org
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AnalysisStatusEnumApiModel } from './analysisStatusEnum.api.model'
|
|
13
|
-
import { DatasetUploadStatusApiModel } from './datasetUploadStatus.api.model'
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Describes the status of processing a dataset upload
|
|
17
|
-
*/
|
|
18
|
-
export interface UploadJobStatusApiModel {
|
|
19
|
-
/**
|
|
20
|
-
* Identifier for the upload processing job
|
|
21
|
-
*/
|
|
22
|
-
jobId?: string
|
|
23
|
-
/**
|
|
24
|
-
* Estimated completion progress, from 0 to 1.
|
|
25
|
-
*/
|
|
26
|
-
progress?: number
|
|
27
|
-
status?: AnalysisStatusEnumApiModel
|
|
28
|
-
/**
|
|
29
|
-
* short description of the error that prevents the job to complete successfully
|
|
30
|
-
*/
|
|
31
|
-
error?: string
|
|
32
|
-
datasets?: Array<DatasetUploadStatusApiModel>
|
|
33
|
-
}
|