init server python để điều khiển adb

This commit is contained in:
Victor Phan
2026-07-21 08:54:30 +07:00
parent d36007d989
commit 7625bdd37b
1557 changed files with 326 additions and 53 deletions
+4
View File
@@ -0,0 +1,4 @@
export declare class ZaloApiError extends Error {
code: number | null;
constructor(message: string, code?: number);
}
+7
View File
@@ -0,0 +1,7 @@
export class ZaloApiError extends Error {
constructor(message, code) {
super(message);
this.name = "ZcaApiError";
this.code = code || null;
}
}
+4
View File
@@ -0,0 +1,4 @@
import { ZaloApiError } from "./ZaloApiError.js";
export declare class ZaloApiLoginQRAborted extends ZaloApiError {
constructor(message?: string);
}
+7
View File
@@ -0,0 +1,7 @@
import { ZaloApiError } from "./ZaloApiError.js";
export class ZaloApiLoginQRAborted extends ZaloApiError {
constructor(message = "Operation aborted") {
super(message);
this.name = "ZaloApiLoginQRAborted";
}
}
@@ -0,0 +1,4 @@
import { ZaloApiError } from "./ZaloApiError.js";
export declare class ZaloApiLoginQRDeclined extends ZaloApiError {
constructor(message?: string);
}
+7
View File
@@ -0,0 +1,7 @@
import { ZaloApiError } from "./ZaloApiError.js";
export class ZaloApiLoginQRDeclined extends ZaloApiError {
constructor(message = "Login QR request declined") {
super(message);
this.name = "ZaloApiLoginQRDeclined";
}
}
@@ -0,0 +1,4 @@
import { ZaloApiError } from "./ZaloApiError.js";
export declare class ZaloApiMissingImageMetadataGetter extends ZaloApiError {
constructor();
}
@@ -0,0 +1,7 @@
import { ZaloApiError } from "./ZaloApiError.js";
export class ZaloApiMissingImageMetadataGetter extends ZaloApiError {
constructor() {
super("Missing `imageMetadataGetter`. Please provide it in the Zalo object options.");
this.name = "ZaloApiMissingImageMetadataGetter";
}
}
+4
View File
@@ -0,0 +1,4 @@
export * from "./ZaloApiError.js";
export * from "./ZaloApiMissingImageMetadataGetter.js";
export * from "./ZaloApiLoginQRAborted.js";
export * from "./ZaloApiLoginQRDeclined.js";
+4
View File
@@ -0,0 +1,4 @@
export * from "./ZaloApiError.js";
export * from "./ZaloApiMissingImageMetadataGetter.js";
export * from "./ZaloApiLoginQRAborted.js";
export * from "./ZaloApiLoginQRDeclined.js";