Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 920f756

Browse files
committed
fix(soba/staging): soba build
1 parent 5a0ddd4 commit 920f756

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

libs/soba/staging/src/lib/environment/environment.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ import { mergeInputs } from 'ngxtension/inject-inputs';
2222
import * as THREE from 'three';
2323
import { CubeCamera } from 'three';
2424
import { GroundProjectedEnv } from 'three-stdlib';
25-
import { environmentResource } from './environment-resource';
26-
import { NgtsEnvironmentPresets, NgtsInjectEnvironmentOptions } from './inject-environment';
25+
import {
26+
environmentResource,
27+
type NgtsEnvironmentPresets,
28+
type NgtsEnvironmentResourceOptions,
29+
} from './environment-resource';
2730

2831
function resolveScene(scene: THREE.Scene | ElementRef<THREE.Scene>) {
2932
return is.ref(scene) ? scene.nativeElement : scene;
@@ -64,7 +67,7 @@ function setEnvProps(
6467
};
6568
}
6669

67-
export interface NgtsEnvironmentOptions extends Partial<NgtsInjectEnvironmentOptions> {
70+
export interface NgtsEnvironmentOptions extends Partial<NgtsEnvironmentResourceOptions> {
6871
frames?: number;
6972
near?: number;
7073
far?: number;

libs/soba/staging/src/lib/stage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { NgtsBounds } from './bounds';
1818
import { NgtsCenter, NgtsCenterOptions, NgtsCenterState } from './center';
1919
import { NgtsContactShadows, NgtsContactShadowsOptions } from './contact-shadows';
2020
import { NgtsEnvironment, NgtsEnvironmentOptions } from './environment/environment';
21-
import { NgtsEnvironmentPresets } from './environment/inject-environment';
21+
import { type NgtsEnvironmentPresets } from './environment/environment-resource';
2222
import { NgtsRandomizedLights, NgtsRandomizedLightsOptions } from './randomized-lights';
2323

2424
const presets = {

0 commit comments

Comments
 (0)