Initial commit of akmon project

This commit is contained in:
2026-01-20 08:04:15 +08:00
commit 77a2bab985
1309 changed files with 343305 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
// @ts-nocheck
export type NullableString = string | null
export type ConversionType = 'toBase64' | 'toDataURL' | 'toFile'
// #ifndef APP-HARMONY
export type ProcessFileOptions = {
type : ConversionType
path: string
filename?: string
success ?: (res : string) => void
fail ?: (res : any) => void
complete ?: (res : any) => void
}
// #endif
// #ifdef APP-HARMONY
export interface ProcessFileOptions {
type : ConversionType
path: string
filename?: string
success ?: (res : string) => void
fail ?: (res : any) => void
complete ?: (res : any) => void
}
// #endif
/**
* 错误码
* 根据uni错误码规范要求建议错误码以90开头以下是错误码示例
* - 9010001 错误信息1
* - 9010002 错误信息2
*/
export type ProcessFileErrorCode = 9010001 | 9010002;
/**
* myApi 的错误回调参数
*/
export interface ProcessFileFail extends IUniError {
errCode : ProcessFileErrorCode
};