chore: docs 迁移至 apps
This commit is contained in:
1
apps/designer/src/env.d.ts
vendored
1
apps/designer/src/env.d.ts
vendored
@@ -20,6 +20,7 @@ declare namespace global {
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
$uploader: any;
|
||||
// cspell:disable-next-line
|
||||
$reqeust: any;
|
||||
$apis: any;
|
||||
$libs: any;
|
||||
|
||||
@@ -79,9 +79,6 @@ export const publishAllFile = async (
|
||||
* 发布单个文件
|
||||
* @param {string} fileId - 需要发布的文件ID
|
||||
* @returns {Promise<any>} 包含发布操作结果的Promise对象
|
||||
* @example
|
||||
* // 发布文件ID为45tnbgeme的文件
|
||||
* await publishFile('45tnbgeme')
|
||||
*/
|
||||
export const publishFile = async (fileId: string): Promise<PublishResponse> => {
|
||||
const response = await instance.post('/api/v1/files/publish-file', {
|
||||
|
||||
Reference in New Issue
Block a user