文件操作 - index.d.mts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@nuxt/devtools-kit/dist/index.d.mts
编辑文件内容
import * as execa from 'execa'; import * as _nuxt_schema from '@nuxt/schema'; import { BirpcGroup } from 'birpc'; import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit.s0VF6R5p.mjs'; import 'vue'; import 'nuxt/schema'; import 'unimport'; import 'vite-plugin-vue-inspector'; import 'vue-router'; import 'nitropack'; import 'unstorage'; /** * Hooks to extend a custom tab in devtools. * * Provide a function to pass a factory that can be updated dynamically. */ declare function addCustomTab(tab: ModuleCustomTab | (() => ModuleCustomTab | Promise<ModuleCustomTab>), nuxt?: _nuxt_schema.Nuxt): void; /** * Retrigger update for custom tabs, `devtools:customTabs` will be called again. */ declare function refreshCustomTabs(nuxt?: _nuxt_schema.Nuxt): Promise<any>; /** * Create a subprocess that handled by the DevTools. */ declare function startSubprocess(execaOptions: SubprocessOptions, tabOptions: TerminalState, nuxt?: _nuxt_schema.Nuxt): { getProcess(): execa.ExecaChildProcess<string>; terminate: () => void; restart: () => void; clear: () => void; }; declare function extendServerRpc<ClientFunctions = Record<string, never>, ServerFunctions = Record<string, never>>(namespace: string, functions: ServerFunctions, nuxt?: _nuxt_schema.Nuxt): BirpcGroup<ClientFunctions, ServerFunctions>; declare function onDevToolsInitialized(fn: (info: NuxtDevtoolsInfo) => void, nuxt?: _nuxt_schema.Nuxt): void; export { addCustomTab, extendServerRpc, onDevToolsInitialized, refreshCustomTabs, startSubprocess };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件