hunk.code_window: import { useAppSettingHelper } from '../hooks/affine/use-app-setting-helper';
   import { useSidebarDrag } from '../hooks/affine/use-sidebar-drag';
   import { useNavigateHelper } from '../hooks/use-navigate-helper';
   import { useRegisterWorkspaceCommands } from '../hooks/use-register-workspace-commands';
   import {
     AllWorkspaceModals,
     CurrentWorkspaceModals,
   } from '../providers/modal-provider';
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: import { Workbench } from '../modules/workbench';
  
hunk.file_path: packages/frontend/core/src/layouts/workspace-layout.tsx
hunk.type: add
file: replicaCount: 1
  image:
    repository: ghcr.io/toeverything/affine-graphql
    pullPolicy: IfNotPresent
    tag: ''
  
  imagePullSecrets: []
  nameOverride: ''
  fullnameOverride: ''
  # map to NODE_ENV environment variable
  env: 'production'
  app:
    experimental:
      enableJwstCodec: true
    # AFFINE_SERVER_SUB_PATH
    path: ''
    # AFFINE_SERVER_HOST
    host: '0.0.0.0'
    https: true
    doc:
      mergeInterval: "3000"
    jwt:
      secretName: jwt-private-key
      # base64 encoded ecdsa private key
      privateKey: ''
    captcha:
      enable: false
      secretName: captcha
      turnstile:
        secret: ''
    objectStorage:
      r2:
        enabled: false
        secretName: r2
        accountId: ''
        accessKeyId: ''
        secretAccessKey: ''
    oauth: 
      google:
        enabled: false
        secretName: oauth-google
        clientId: ''
        clientSecret: ''
      github:
        enabled: false
        secretName: oauth-github
        clientId: ''
        clientSecret: ''
    mailer:
      secretName: 'mailer'
      host: 'smtp.gmail.com'
      port: '465'
      user: ''
      password: ''
      sender: 'noreply@toeverything.info'
    payment:
      stripe:
        secretName: 'stripe'
        apiKey: ''
        webhookKey: ''
    features:
      earlyAccessPreview: false
      syncClientVersionCheck: false
  
  serviceAccount:
    create: true
    annotations: {}
    name: 'affine-graphql'
  
  podAnnotations: {}
  
  podSecurityContext:
    fsGroup: 2000
  
  resources:
    requests:
      cpu: '4'
      memory: 4Gi
  
  probe:
    initialDelaySeconds: 20
  
  nodeSelector: {}
  tolerations: []
  affinity: {}
  