mutation: { createWebPushSubscription: [{ data: Variable<"CreateSubscriptionInput!", "data">; }, { message: boolean; subscription: { authKey: boolean; createdAt: boolean; endpoint: boolean; id: boolean; isActive: boolean; p256dhKey: boolean; updatedAt: boolean; userAgent: boolean; username: boolean; }; success: boolean; }]; } = ... Type declaration
createWebPushSubscription: [{
data: Variable<"CreateSubscriptionInput!", "data">;
}, {
message: boolean;
subscription: {
authKey: boolean;
createdAt: boolean;
endpoint: boolean;
id: boolean;
isActive: boolean;
p256dhKey: boolean;
updatedAt: boolean;
userAgent: boolean;
username: boolean;
};
success: boolean;
}]
Создать веб-пуш подписку для пользователя