diff --git a/docs/index.md b/docs/index.md index 420f7e3..e9a889c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -85,7 +85,7 @@ git clone https://github.com/ai-lowcode/core pnpm install # 启动开发服务器 -pnpm --filter "ai-lowcode-admin" "dev" +pnpm dev ``` ### 加入社区 diff --git a/packages/hooks/markdown/hooks.localforage.md b/packages/hooks/markdown/hooks.localforage.md index c8c9954..d5cfe83 100644 --- a/packages/hooks/markdown/hooks.localforage.md +++ b/packages/hooks/markdown/hooks.localforage.md @@ -1,17 +1,17 @@ - - -[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) > [localForage](./hooks.localforage.md) - -## localForage() function - -二次封装 \[localforage\](https://localforage.docschina.org/) 支持设置过期时间,提供完整的类型提示 - -**Signature:** - -```typescript -localForage: () => StorageProxy -``` -**Returns:** - -StorageProxy - + + +[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) > [localForage](./hooks.localforage.md) + +## localForage() function + +二次封装 \[localforage\](https://localforage.docschina.org/) 支持设置过期时间,提供完整的类型提示 + +**Signature:** + +```typescript +localForage: () => StorageProxy +``` +**Returns:** + +StorageProxy + diff --git a/packages/hooks/markdown/hooks.md b/packages/hooks/markdown/hooks.md index e19939d..aca9d75 100644 --- a/packages/hooks/markdown/hooks.md +++ b/packages/hooks/markdown/hooks.md @@ -1,64 +1,64 @@ - - -[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) - -## hooks package - -## Functions - - - - -
- -Function - - - - -Description - - -
- -[localForage()](./hooks.localforage.md) - - - - -二次封装 \[localforage\](https://localforage.docschina.org/) 支持设置过期时间,提供完整的类型提示 - - -
- -[useEventBus(eventNames)](./hooks.useeventbus.md) - - - - - -
- -## Variables - - - -
- -Variable - - - - -Description - - -
- -[webStorage](./hooks.webstorage.md) - - - - - -
+ + +[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) + +## hooks package + +## Functions + + + + +
+ +Function + + + + +Description + + +
+ +[localForage()](./hooks.localforage.md) + + + + +二次封装 \[localforage\](https://localforage.docschina.org/) 支持设置过期时间,提供完整的类型提示 + + +
+ +[useEventBus(eventNames)](./hooks.useeventbus.md) + + + + + +
+ +## Variables + + + +
+ +Variable + + + + +Description + + +
+ +[webStorage](./hooks.webstorage.md) + + + + + +
diff --git a/packages/hooks/markdown/hooks.useeventbus.md b/packages/hooks/markdown/hooks.useeventbus.md index 3e0c882..eca7d79 100644 --- a/packages/hooks/markdown/hooks.useeventbus.md +++ b/packages/hooks/markdown/hooks.useeventbus.md @@ -1,51 +1,51 @@ - - -[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) > [useEventBus](./hooks.useeventbus.md) - -## useEventBus() function - -**Signature:** - -```typescript -export declare function useEventBus(eventNames?: string[]): any; -``` - -## Parameters - - - -
- -Parameter - - - - -Type - - - - -Description - - -
- -eventNames - - - - -string\[\] - - - - -_(Optional)_ - - -
-**Returns:** - -any - + + +[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) > [useEventBus](./hooks.useeventbus.md) + +## useEventBus() function + +**Signature:** + +```typescript +export declare function useEventBus(eventNames?: string[]): any; +``` + +## Parameters + + + +
+ +Parameter + + + + +Type + + + + +Description + + +
+ +eventNames + + + + +string\[\] + + + + +_(Optional)_ + + +
+**Returns:** + +any + diff --git a/packages/hooks/markdown/hooks.webstorage.md b/packages/hooks/markdown/hooks.webstorage.md index 1f6d47f..392f8e1 100644 --- a/packages/hooks/markdown/hooks.webstorage.md +++ b/packages/hooks/markdown/hooks.webstorage.md @@ -1,11 +1,11 @@ - - -[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) > [webStorage](./hooks.webstorage.md) - -## webStorage variable - -**Signature:** - -```typescript -webStorage: WebStorage -``` + + +[Home](./index.md) > [@ai-lowcode/hooks](./hooks.md) > [webStorage](./hooks.webstorage.md) + +## webStorage variable + +**Signature:** + +```typescript +webStorage: WebStorage +``` diff --git a/packages/hooks/markdown/index.md b/packages/hooks/markdown/index.md index 5a1ad19..fa979e6 100644 --- a/packages/hooks/markdown/index.md +++ b/packages/hooks/markdown/index.md @@ -1,29 +1,29 @@ - - -[Home](./index.md) - -## API Reference - -## Packages - - - -
- -Package - - - - -Description - - -
- -[@ai-lowcode/hooks](./hooks.md) - - - - - -
+ + +[Home](./index.md) + +## API Reference + +## Packages + + + +
+ +Package + + + + +Description + + +
+ +[@ai-lowcode/hooks](./hooks.md) + + + + + +
diff --git a/scripts/rollup-dts.js b/scripts/rollup-dts.js index 05d031a..4ed0b85 100755 --- a/scripts/rollup-dts.js +++ b/scripts/rollup-dts.js @@ -54,4 +54,4 @@ async function run() { } } -run() +await run()