@cocos/cocos-cli-types 0.0.1-alpha.22.1 → 0.0.1-alpha.23.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.
- package/assets.d.ts +13 -1
- package/builder.d.ts +1 -0
- package/{service.d.ts → cli.d.ts} +337 -624
- package/configuration.d.ts +2 -0
- package/engine.d.ts +9 -0
- package/index.d.ts +994 -55
- package/package.json +1 -1
package/configuration.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ declare type EventEmitterMethods = Pick<EventEmitter, 'on' | 'off' | 'once' | 'e
|
|
|
9
9
|
|
|
10
10
|
export declare function get<T>(key: string, scope?: ConfigurationScope): Promise<T>;
|
|
11
11
|
|
|
12
|
+
export declare function getConfigPath(): Promise<string>;
|
|
13
|
+
|
|
12
14
|
export declare function getMetadata(): Promise<ICocosConfigurationNode[]>;
|
|
13
15
|
|
|
14
16
|
/**
|
package/engine.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { __private } from 'cc';
|
|
2
|
+
|
|
1
3
|
export declare interface BaseItem {
|
|
2
4
|
/**
|
|
3
5
|
* @zh 在项目设置上显示的模块名称,支持 i18n 格式
|
|
@@ -352,6 +354,13 @@ export declare interface ModuleRenderConfig {
|
|
|
352
354
|
migrationScript?: string;
|
|
353
355
|
}
|
|
354
356
|
|
|
357
|
+
export declare function queryLayerBuiltin(): Promise<{
|
|
358
|
+
name: string;
|
|
359
|
+
value: number;
|
|
360
|
+
}[]>;
|
|
361
|
+
|
|
362
|
+
export declare function querySortingLayerBuiltin(): Promise<readonly __private._cocos_sorting_sorting_layers__SortingItem[]>;
|
|
363
|
+
|
|
355
364
|
export declare function startEngineCompilation(force?: boolean): Promise<void>;
|
|
356
365
|
|
|
357
366
|
export { };
|