wx-to-tt-no-launch
Version:
transform wx micro app to bytedance micro app
43 lines (42 loc) • 779 B
TypeScript
export declare enum Status {
COMPLETELY = 0,
PARTIALLY = 1,
NONE = 2
}
export declare enum Type {
MISSING = 0,
DIFF_NAME = 1,
DIFF_TAG = 2,
DIFF_ATTR = 3,
EQUAL = 4
}
export declare type Hint = {
msg: string;
doc?: string;
};
export interface APIDiffItem {
type: Type;
status: Status;
doc?: string;
params: Record<string, {
type: Type;
propsName: string;
replace?: string;
hint?: Hint;
}>;
replace?: string;
hint?: Hint;
}
export interface CompDiffItem {
type: Type;
status: Status;
doc?: string;
attrs: Record<string, {
type: Type;
attrName: string;
replace?: string;
hint?: Hint;
}>;
replace?: string;
hint?: Hint;
}