Skip to content

Instantly share code, notes, and snippets.

View ArturBaybulatov's full-sized avatar

Artur Baybulatov ArturBaybulatov

View GitHub Profile
import ky from 'ky'
import { makeAutoObservable } from 'mobx'
import { observer } from 'mobx-react-lite'
import { useState } from 'react'
import { queryClient } from 'src/singletons/query-client/queryClient'
import { fromQuery } from './_utils/fromQuery'
type User = {
email: string
id: number
Go to https://gist.github.com/ArturBaybulatov/3143f912676ae0140a1473938c6a79b2
Index: package-lock.json
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/package-lock.json b/package-lock.json
--- a/package-lock.json (revision e777c676ec5c29941d9d529b5fcfc9f55aea4f80)
+++ b/package-lock.json (revision ff77096a037c0484155fc8ab4a7d36df5d987664)
@@ -14,6 +14,7 @@
"@types/node": "^12.20.15",

Query:

{
  brands(luxury: true) {
    edges {
      node {
        name
        luxury