Skip to content

Commit

Permalink
Update api
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Sep 27, 2023
1 parent 17c6f9d commit 8110b96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type { InplaceVolumetricsCategoricalMetaData as InplaceVolumetricsCategor
export type { InplaceVolumetricsTableMetaData as InplaceVolumetricsTableMetaData_api } from './models/InplaceVolumetricsTableMetaData';
export type { PolygonData as PolygonData_api } from './models/PolygonData';
export type { PvtData as PvtData_api } from './models/PvtData';
export type { SeismicMeta as SeismicMeta_api } from './models/SeismicMeta';
export type { SeismicCubeMeta as SeismicCubeMeta_api } from './models/SeismicCubeMeta';
export { SensitivityType as SensitivityType_api } from './models/SensitivityType';
export { StatisticFunction as StatisticFunction_api } from './models/StatisticFunction';
export type { StatisticValueObject as StatisticValueObject_api } from './models/StatisticValueObject';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
/* tslint:disable */
/* eslint-disable */

export type SeismicMeta = {
export type SeismicCubeMeta = {
seismic_attribute: string;
iso_date_or_interval: (string | null);
iso_date_or_interval: string;
is_observation: boolean;
zmin: (number | null);
zmax: (number | null);
is_depth: boolean;
};

6 changes: 3 additions & 3 deletions frontend/src/api/services/SeismicService.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { SeismicMeta } from '../models/SeismicMeta';
import type { SeismicCubeMeta } from '../models/SeismicCubeMeta';

import type { CancelablePromise } from '../core/CancelablePromise';
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
Expand All @@ -15,13 +15,13 @@ export class SeismicService {
* Get a directory of seismic cubes.
* @param caseUuid Sumo case uuid
* @param ensembleName Ensemble name
* @returns SeismicMeta Successful Response
* @returns SeismicCubeMeta Successful Response
* @throws ApiError
*/
public getSeismicDirectory(
caseUuid: string,
ensembleName: string,
): CancelablePromise<Array<SeismicMeta>> {
): CancelablePromise<Array<SeismicCubeMeta>> {
return this.httpRequest.request({
method: 'GET',
url: '/seismic/seismic_directory/',
Expand Down

0 comments on commit 8110b96

Please sign in to comment.