first commit
This commit is contained in:
27
shims/ant-computer-use-swift/index.ts
Normal file
27
shims/ant-computer-use-swift/index.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
export type ComputerUseAPI = {
|
||||
screens?: {
|
||||
list(): Promise<unknown[]>
|
||||
}
|
||||
apps?: {
|
||||
listInstalled(): Promise<unknown[]>
|
||||
listRunning(): Promise<unknown[]>
|
||||
}
|
||||
}
|
||||
|
||||
const stub: ComputerUseAPI = {
|
||||
screens: {
|
||||
async list() {
|
||||
return []
|
||||
},
|
||||
},
|
||||
apps: {
|
||||
async listInstalled() {
|
||||
return []
|
||||
},
|
||||
async listRunning() {
|
||||
return []
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default stub
|
||||
Reference in New Issue
Block a user