refactor(nc-gui): move common datetime utils functions to sdk

This commit is contained in:
աɨռɢӄաօռɢ
2023-11-05 14:55:50 +08:00
parent 399b4c1c54
commit 9bc12eaee3
20 changed files with 34 additions and 127 deletions

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
import type { HookLogType, HookType } from 'nocodb-sdk'
import { AutomationLogLevel, extractSdkResponseErrorMsg, onBeforeMount, parseProp, timeAgo, useApi, useGlobal } from '#imports'
import { timeAgo } from 'nocodb-sdk'
import { AutomationLogLevel, extractSdkResponseErrorMsg, onBeforeMount, parseProp, useApi, useGlobal } from '#imports'
interface Props {
hook: HookType