GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — lowcode-engine/packages/types/src/assets.ts at main · czfadmin/lowcode-engine Expand file tree/ Copy pathassets.tsMore file actions 52 lines (45 loc) · 1003 Bytes / Copy pathassets.tsFile metadata and controls52 lines (45 loc) · 1003 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 export enum AssetLevel { // 环境依赖库 比如 react, react-dom Environment = 1, // 基础类库,比如 lodash deep fusion antd Library = 2, // 主题 Theme = 3, // 运行时 Runtime = 4, // 业务组件 Components = 5, // 应用 & 页面 App = 6, } export const AssetLevels = [ AssetLevel.Environment, AssetLevel.Library, AssetLevel.Theme, AssetLevel.Runtime, AssetLevel.Components, AssetLevel.App, ]; export type URL = string; export enum AssetType { JSUrl = 'jsUrl', CSSUrl = 'cssUrl', CSSText = 'cssText', JSText = 'jsText', Bundle = 'bundle', } export interface AssetItem { type: AssetType; content?: string | null; device?: string; level?: AssetLevel; id?: string; scriptType?: string; } export type AssetList = Array<Asset | undefined | null>; export type Asset = AssetList | AssetBundle | AssetItem | URL; export interface AssetBundle { type: AssetType.Bundle; level?: AssetLevel; assets?: Asset | AssetList | null; } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |