update all calls to onVerify
This commit is contained in:
parent
ccc8bae992
commit
3b3fc12e93
@ -14,19 +14,19 @@ interface YearDataEntryProps {
|
|||||||
mode?: 'view' | 'edit' | 'multi-edit';
|
mode?: 'view' | 'edit' | 'multi-edit';
|
||||||
onChange?: (key: string, value: any) => void;
|
onChange?: (key: string, value: any) => void;
|
||||||
|
|
||||||
onVerify: (slug: string, verify: boolean, x: number, y: number) => void;
|
onVerify: (slug: string, verify: boolean, x: number, y: number, value: any) => void;
|
||||||
user_verified: boolean;
|
user_verified: boolean;
|
||||||
user_verified_as: string;
|
user_verified_as: string;
|
||||||
verified_count: number;
|
verified_count: number;
|
||||||
allow_verify: boolean;
|
allow_verify: boolean;
|
||||||
|
|
||||||
onVerify_upper: (slug: string, verify: boolean, x: number, y: number) => void;
|
onVerify_upper: (slug: string, verify: boolean, x: number, y: number, value: any) => void;
|
||||||
user_verified_upper: boolean;
|
user_verified_upper: boolean;
|
||||||
user_verified_as_upper: string;
|
user_verified_as_upper: string;
|
||||||
verified_count_upper: number;
|
verified_count_upper: number;
|
||||||
allow_verify_upper: boolean;
|
allow_verify_upper: boolean;
|
||||||
|
|
||||||
onVerify_lower: (slug: string, verify: boolean, x: number, y: number) => void;
|
onVerify_lower: (slug: string, verify: boolean, x: number, y: number, value: any) => void;
|
||||||
user_verified_lower: boolean;
|
user_verified_lower: boolean;
|
||||||
user_verified_as_lower: string;
|
user_verified_as_lower: string;
|
||||||
verified_count_lower: number;
|
verified_count_lower: number;
|
||||||
|
@ -14,7 +14,7 @@ interface CategoryViewProps {
|
|||||||
edited: boolean;
|
edited: boolean;
|
||||||
copy: CopyProps;
|
copy: CopyProps;
|
||||||
onChange: (key: string, value: any) => void;
|
onChange: (key: string, value: any) => void;
|
||||||
onVerify: (slug: string, verify: boolean, x: number, y: number) => void;
|
onVerify: (slug: string, verify: boolean, x: number, y: number, value: any) => void;
|
||||||
|
|
||||||
/* Special handler for adding and immediately saving a new item of an array-like attribute */
|
/* Special handler for adding and immediately saving a new item of an array-like attribute */
|
||||||
onSaveAdd: (slug: string, newItem: any) => void;
|
onSaveAdd: (slug: string, newItem: any) => void;
|
||||||
|
Loading…
Reference in New Issue
Block a user