@geode/opengeodeweb-back 6.17.0 → 7.0.0-rc.1
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.
|
@@ -1888,158 +1888,171 @@
|
|
|
1888
1888
|
"response": {
|
|
1889
1889
|
"type": "object",
|
|
1890
1890
|
"properties": {
|
|
1891
|
-
"
|
|
1892
|
-
"type": "string"
|
|
1893
|
-
},
|
|
1894
|
-
"id": {
|
|
1895
|
-
"type": "string",
|
|
1896
|
-
"minLength": 32,
|
|
1897
|
-
"maxLength": 32
|
|
1898
|
-
},
|
|
1899
|
-
"name": {
|
|
1900
|
-
"type": "string"
|
|
1901
|
-
},
|
|
1902
|
-
"viewer_type": {
|
|
1903
|
-
"type": "string"
|
|
1904
|
-
},
|
|
1905
|
-
"is_viewable": {
|
|
1906
|
-
"type": "boolean"
|
|
1907
|
-
},
|
|
1908
|
-
"geode_object_type": {
|
|
1909
|
-
"type": "string"
|
|
1910
|
-
},
|
|
1911
|
-
"viewable_file": {
|
|
1912
|
-
"type": "string"
|
|
1913
|
-
},
|
|
1914
|
-
"binary_light_viewable": {
|
|
1915
|
-
"type": "string"
|
|
1916
|
-
},
|
|
1917
|
-
"nb_vertices": {
|
|
1918
|
-
"type": "integer"
|
|
1919
|
-
},
|
|
1920
|
-
"mesh_components": {
|
|
1891
|
+
"data": {
|
|
1921
1892
|
"type": "array",
|
|
1922
1893
|
"items": {
|
|
1894
|
+
"title": "SaveViewableFileItem",
|
|
1923
1895
|
"type": "object",
|
|
1924
1896
|
"properties": {
|
|
1925
|
-
"
|
|
1926
|
-
"type": "
|
|
1897
|
+
"native_file": {
|
|
1898
|
+
"type": "string"
|
|
1927
1899
|
},
|
|
1928
|
-
"
|
|
1900
|
+
"id": {
|
|
1929
1901
|
"type": "string",
|
|
1930
|
-
"minLength":
|
|
1931
|
-
"maxLength":
|
|
1902
|
+
"minLength": 32,
|
|
1903
|
+
"maxLength": 32
|
|
1932
1904
|
},
|
|
1933
1905
|
"name": {
|
|
1934
1906
|
"type": "string"
|
|
1935
1907
|
},
|
|
1936
|
-
"
|
|
1908
|
+
"viewer_type": {
|
|
1909
|
+
"type": "string"
|
|
1910
|
+
},
|
|
1911
|
+
"is_viewable": {
|
|
1912
|
+
"type": "boolean"
|
|
1913
|
+
},
|
|
1914
|
+
"geode_object_type": {
|
|
1915
|
+
"type": "string"
|
|
1916
|
+
},
|
|
1917
|
+
"viewable_file": {
|
|
1937
1918
|
"type": "string"
|
|
1938
1919
|
},
|
|
1939
|
-
"
|
|
1920
|
+
"binary_light_viewable": {
|
|
1921
|
+
"type": "string"
|
|
1922
|
+
},
|
|
1923
|
+
"nb_vertices": {
|
|
1924
|
+
"type": "integer"
|
|
1925
|
+
},
|
|
1926
|
+
"mesh_components": {
|
|
1940
1927
|
"type": "array",
|
|
1941
1928
|
"items": {
|
|
1942
|
-
"type": "
|
|
1943
|
-
"
|
|
1944
|
-
|
|
1929
|
+
"type": "object",
|
|
1930
|
+
"properties": {
|
|
1931
|
+
"viewer_id": {
|
|
1932
|
+
"type": "integer"
|
|
1933
|
+
},
|
|
1934
|
+
"geode_id": {
|
|
1935
|
+
"type": "string",
|
|
1936
|
+
"minLength": 36,
|
|
1937
|
+
"maxLength": 36
|
|
1938
|
+
},
|
|
1939
|
+
"name": {
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
},
|
|
1942
|
+
"type": {
|
|
1943
|
+
"type": "string"
|
|
1944
|
+
},
|
|
1945
|
+
"boundaries": {
|
|
1946
|
+
"type": "array",
|
|
1947
|
+
"items": {
|
|
1948
|
+
"type": "string",
|
|
1949
|
+
"minLength": 36,
|
|
1950
|
+
"maxLength": 36
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
"internals": {
|
|
1954
|
+
"type": "array",
|
|
1955
|
+
"items": {
|
|
1956
|
+
"type": "string",
|
|
1957
|
+
"minLength": 36,
|
|
1958
|
+
"maxLength": 36
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"is_active": {
|
|
1962
|
+
"type": "boolean"
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
"required": [
|
|
1966
|
+
"viewer_id",
|
|
1967
|
+
"geode_id",
|
|
1968
|
+
"name",
|
|
1969
|
+
"type",
|
|
1970
|
+
"boundaries",
|
|
1971
|
+
"internals",
|
|
1972
|
+
"is_active"
|
|
1973
|
+
],
|
|
1974
|
+
"additionalProperties": false
|
|
1945
1975
|
}
|
|
1946
1976
|
},
|
|
1947
|
-
"
|
|
1977
|
+
"collection_components": {
|
|
1948
1978
|
"type": "array",
|
|
1949
1979
|
"items": {
|
|
1950
|
-
"type": "
|
|
1951
|
-
"
|
|
1952
|
-
|
|
1980
|
+
"type": "object",
|
|
1981
|
+
"properties": {
|
|
1982
|
+
"geode_id": {
|
|
1983
|
+
"type": "string",
|
|
1984
|
+
"minLength": 36,
|
|
1985
|
+
"maxLength": 36
|
|
1986
|
+
},
|
|
1987
|
+
"name": {
|
|
1988
|
+
"type": "string"
|
|
1989
|
+
},
|
|
1990
|
+
"type": {
|
|
1991
|
+
"type": "string"
|
|
1992
|
+
},
|
|
1993
|
+
"items": {
|
|
1994
|
+
"type": "array",
|
|
1995
|
+
"items": {
|
|
1996
|
+
"type": "string",
|
|
1997
|
+
"minLength": 36,
|
|
1998
|
+
"maxLength": 36
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
"is_active": {
|
|
2002
|
+
"type": "boolean"
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
2005
|
+
"required": [
|
|
2006
|
+
"geode_id",
|
|
2007
|
+
"name",
|
|
2008
|
+
"type",
|
|
2009
|
+
"items",
|
|
2010
|
+
"is_active"
|
|
2011
|
+
],
|
|
2012
|
+
"additionalProperties": false
|
|
1953
2013
|
}
|
|
1954
2014
|
},
|
|
1955
|
-
"is_active": {
|
|
1956
|
-
"type": "boolean"
|
|
1957
|
-
}
|
|
1958
|
-
},
|
|
1959
|
-
"required": [
|
|
1960
|
-
"viewer_id",
|
|
1961
|
-
"geode_id",
|
|
1962
|
-
"name",
|
|
1963
|
-
"type",
|
|
1964
|
-
"boundaries",
|
|
1965
|
-
"internals",
|
|
1966
|
-
"is_active"
|
|
1967
|
-
],
|
|
1968
|
-
"additionalProperties": false
|
|
1969
|
-
}
|
|
1970
|
-
},
|
|
1971
|
-
"collection_components": {
|
|
1972
|
-
"type": "array",
|
|
1973
|
-
"items": {
|
|
1974
|
-
"type": "object",
|
|
1975
|
-
"properties": {
|
|
1976
2015
|
"geode_id": {
|
|
1977
2016
|
"type": "string",
|
|
1978
2017
|
"minLength": 36,
|
|
1979
2018
|
"maxLength": 36
|
|
1980
2019
|
},
|
|
1981
|
-
"
|
|
1982
|
-
"type": "
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
"
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2020
|
+
"crs": {
|
|
2021
|
+
"type": "object",
|
|
2022
|
+
"properties": {
|
|
2023
|
+
"authority": {
|
|
2024
|
+
"type": "string"
|
|
2025
|
+
},
|
|
2026
|
+
"code": {
|
|
2027
|
+
"type": "string"
|
|
2028
|
+
},
|
|
2029
|
+
"name": {
|
|
2030
|
+
"type": "string"
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
"required": [
|
|
2034
|
+
"authority",
|
|
2035
|
+
"code",
|
|
2036
|
+
"name"
|
|
2037
|
+
],
|
|
2038
|
+
"additionalProperties": false
|
|
1997
2039
|
}
|
|
1998
2040
|
},
|
|
1999
2041
|
"required": [
|
|
2000
|
-
"
|
|
2042
|
+
"native_file",
|
|
2043
|
+
"id",
|
|
2001
2044
|
"name",
|
|
2002
|
-
"
|
|
2003
|
-
"
|
|
2004
|
-
"
|
|
2045
|
+
"viewer_type",
|
|
2046
|
+
"is_viewable",
|
|
2047
|
+
"geode_object_type",
|
|
2048
|
+
"geode_id"
|
|
2005
2049
|
],
|
|
2006
2050
|
"additionalProperties": false
|
|
2007
2051
|
}
|
|
2008
|
-
},
|
|
2009
|
-
"geode_id": {
|
|
2010
|
-
"type": "string",
|
|
2011
|
-
"minLength": 36,
|
|
2012
|
-
"maxLength": 36
|
|
2013
|
-
},
|
|
2014
|
-
"crs": {
|
|
2015
|
-
"type": "object",
|
|
2016
|
-
"properties": {
|
|
2017
|
-
"authority": {
|
|
2018
|
-
"type": "string"
|
|
2019
|
-
},
|
|
2020
|
-
"code": {
|
|
2021
|
-
"type": "string"
|
|
2022
|
-
},
|
|
2023
|
-
"name": {
|
|
2024
|
-
"type": "string"
|
|
2025
|
-
}
|
|
2026
|
-
},
|
|
2027
|
-
"required": [
|
|
2028
|
-
"authority",
|
|
2029
|
-
"code",
|
|
2030
|
-
"name"
|
|
2031
|
-
],
|
|
2032
|
-
"additionalProperties": false
|
|
2033
2052
|
}
|
|
2034
2053
|
},
|
|
2035
2054
|
"required": [
|
|
2036
|
-
"
|
|
2037
|
-
"id",
|
|
2038
|
-
"name",
|
|
2039
|
-
"viewer_type",
|
|
2040
|
-
"is_viewable",
|
|
2041
|
-
"geode_object_type",
|
|
2042
|
-
"geode_id"
|
|
2055
|
+
"data"
|
|
2043
2056
|
],
|
|
2044
2057
|
"additionalProperties": false
|
|
2045
2058
|
}
|
|
@@ -487,14 +487,18 @@ export interface SaveViewableFileParams {
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
export interface SaveViewableFileResponse {
|
|
490
|
+
data: SaveViewableFileItem[];
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export interface SaveViewableFileItem {
|
|
490
494
|
binary_light_viewable?: string;
|
|
491
|
-
collection_components?:
|
|
492
|
-
crs?:
|
|
495
|
+
collection_components?: DatumCollectionComponent[];
|
|
496
|
+
crs?: DatumCRS;
|
|
493
497
|
geode_id: string;
|
|
494
498
|
geode_object_type: string;
|
|
495
499
|
id: string;
|
|
496
500
|
is_viewable: boolean;
|
|
497
|
-
mesh_components?:
|
|
501
|
+
mesh_components?: DatumMeshComponent[];
|
|
498
502
|
name: string;
|
|
499
503
|
native_file: string;
|
|
500
504
|
nb_vertices?: number;
|
|
@@ -502,7 +506,7 @@ export interface SaveViewableFileResponse {
|
|
|
502
506
|
viewer_type: string;
|
|
503
507
|
}
|
|
504
508
|
|
|
505
|
-
export interface
|
|
509
|
+
export interface DatumCollectionComponent {
|
|
506
510
|
geode_id: string;
|
|
507
511
|
is_active: boolean;
|
|
508
512
|
items: string[];
|
|
@@ -510,13 +514,13 @@ export interface SaveViewableFileResponseCollectionComponent {
|
|
|
510
514
|
type: string;
|
|
511
515
|
}
|
|
512
516
|
|
|
513
|
-
export interface
|
|
517
|
+
export interface DatumCRS {
|
|
514
518
|
authority: string;
|
|
515
519
|
code: string;
|
|
516
520
|
name: string;
|
|
517
521
|
}
|
|
518
522
|
|
|
519
|
-
export interface
|
|
523
|
+
export interface DatumMeshComponent {
|
|
520
524
|
boundaries: string[];
|
|
521
525
|
geode_id: string;
|
|
522
526
|
internals: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/opengeodeweb-back",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-rc.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Back",
|
|
6
6
|
"bugs": {
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
"build": "npm run json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@geode/opengeodeweb-microservice": "
|
|
43
|
+
"@geode/opengeodeweb-microservice": "next"
|
|
44
44
|
}
|
|
45
45
|
}
|