PageSourceSearch

https://driftgolf-qa.netlify.app/assets/EditGameplayUserPage-f49051ad.js

js driftgolf-qa.netlify.app collected 2026-10-03 10:40:32 UTC 2,016 bytes, 58 lines download raw bytes

1import{d as i,j as a,a as t}from"./index-4ce00ee7.js";import{g as d}from"./index-7de85521.js";import{t as r}from"./index-51f3a61d.js";import{G as p}from"./GameplayUserForm-c64a80b9.js";import"./index-e629a575.js";const u=d`
2  query EditGameplayUserById($id: String!) {
3    gameplayUser: gameplayUser(id: $id) {
4      id
5      firstName
6      lastName
7      email
8      username
9      birthYear
10      city
11      stateProvince
12      country
13      hashedPassword
14      salt
15      resetToken
16      resetTokenExpiresAt
17      handedness
18      gender
19      handicap
20      ballFlight
21      club150yard
22      role
23      active
24      createdAt
25      updatedAt
26    }
27  }
28`,h=d`
29  mutation UpdateGameplayUserMutation(
30    $id: String!
31    $input: UpdateGameplayUserInput!
32  ) {
33    updateGameplayUser(id: $id, input: $input) {
34      id
35      firstName
36      lastName
37      email
38      username
39      birthYear
40      city
41      stateProvince
42      country
43      hashedPassword
44      salt
45      resetToken
46      resetTokenExpiresAt
47      handedness
48      gender
49      handicap
50      ballFlight
51      club150yard
52      role
53      active
54      createdAt
55      updatedAt
56    }
57  }
58`,y=()=>a.jsx("div",{children:"Loading..."}),g=({error:e})=>a.jsx("div",{className:"rw-cell-error",children:e==null?void 0:e.message}),U=({gameplayUser:e})=>{const[n,{loading:l,error:o}]=i.useMutation(h,{onCompleted:()=>{r.toast.success("GameplayUser updated"),t.navigate(t.routes.gameplayUsers())},onError:s=>{r.toast.error(s.message)}}),m=(s,c)=>{n({variables:{id:c,input:s}})};return a.jsxs("div",{className:"rw-segment",children:[a.jsx("header",{className:"rw-segment-header",children:a.jsxs("h2",{className:"rw-heading rw-heading-secondary",children:["Edit GameplayUser ",e==null?void 0:e.id]})}),a.jsx("div",{className:"rw-segment-main",children:a.jsx(p,{gameplayUser:e,onSave:m,error:o,loading:l})})]})},x=i.createCell({QUERY:u,Loading:y,Failure:g,Success:U,displayName:"EditGameplayUserCell"}),A=({id:e})=>a.jsx(x,{id:e});export{A as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.