feat: add ArkTS shell code skeleton placeholders
This commit is contained in:
1 parent
339756c1aa
commit
f8f18f185e
32 files changed
+561
No files matched your search
@@ -0,0 +1,21 @@
|
||||
export interface NativePackagePreviewDTO {
|
||||
name: string
|
||||
version?: string
|
||||
icon?: string
|
||||
size?: number
|
||||
valid: boolean
|
||||
}
|
||||
|
||||
export class NativeImportAdapter {
|
||||
async pickFile(): Promise<string | null> {
|
||||
return null
|
||||
}
|
||||
|
||||
async inspectPackage(_fileUri: string): Promise<NativePackagePreviewDTO> {
|
||||
return { name: '', valid: false }
|
||||
}
|
||||
|
||||
async importPackage(_fileUri: string): Promise<{ appId: string }> {
|
||||
return { appId: '' }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user