phx-node
Version:
PHX NODE
10 lines (9 loc) • 1.28 kB
TypeScript
export declare const QUERY_GET_LIST_NOTIFICATION_BY_ACTION: string;
export declare const QUERY_GET_STATISTICAL_NOTIFICATION_UNREAD_BY_MODULE: (studentCode: string) => string;
export declare const MUTATION_UPDATE_NOTIFICATION_UNREAD: ({ studentCode, action }: {
studentCode: string;
action: string;
}) => string;
export declare const MUTATION_UPDATE_READ_NOTIFICATION: string;
export declare const MUTATION_INSERT_NOTIFICATION = "\n mutation MyMutation($total_notification: Int!, $total_notification_important: Int!, $user_id: Int!, $hostname: String!, $app: String!, $device_id: String!, $module_code: String!, $action: String = null, $student_code: String = null) {\n insert_feature_mobile_push_count_notification_unread(objects: {app: $app, created_at: \"now\", hostname: $hostname, module_code: $module_code, total_notification: $total_notification, total_notification_important: $total_notification_important, user_id: $user_id, device_id: $device_id, action: $action, student_code: $student_code}) {\n returning {\n total_notification_important\n total_notification\n module_code\n }\n }\n }\n";
export declare const MUTATION_UPDATE_READ_NOTIFICATION_IN_DETAIL_FORM: string;