1 line
No EOL
6.3 KiB
XML
1 line
No EOL
6.3 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="SEQUENCE" height="337px" preserveAspectRatio="none" style="width:448px;height:337px;background:#FFFFFF;" version="1.1" viewBox="0 0 448 337" width="448px" zoomAndPan="magnify"><title>Profile update (name/password)</title><defs/><g><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="254.3789" x="97.9983" y="27.9951">Profile update (name/password)</text><g><title>User</title><rect fill="#000000" fill-opacity="0.00000" height="137.6641" width="8" x="19.9551" y="118.5938"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="23" x2="23" y1="118.5938" y2="256.2578"/></g><g><title>Next API</title><rect fill="#000000" fill-opacity="0.00000" height="137.6641" width="8" x="199.3203" y="118.5938"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="202.5908" x2="202.5908" y1="118.5938" y2="256.2578"/></g><g><title>Postgres</title><rect fill="#000000" fill-opacity="0.00000" height="137.6641" width="8" x="409.2051" y="118.5938"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="413.0347" x2="413.0347" y1="118.5938" y2="256.2578"/></g><g class="participant participant-head" data-participant="User"><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31.9102" x="5" y="115.292">User</text><ellipse cx="23.9551" cy="50.7969" fill="#E2E2F0" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><path d="M23.9551,58.7969 L23.9551,85.7969 M10.9551,66.7969 L36.9551,66.7969 M23.9551,85.7969 L10.9551,100.7969 M23.9551,85.7969 L36.9551,100.7969" fill="none" style="stroke:#181818;stroke-width:0.5;"/></g><g class="participant participant-tail" data-participant="User"><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31.9102" x="5" y="268.2529">User</text><ellipse cx="23.9551" cy="280.0547" fill="#E2E2F0" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><path d="M23.9551,288.0547 L23.9551,315.0547 M10.9551,296.0547 L36.9551,296.0547 M23.9551,315.0547 L10.9551,330.0547 M23.9551,315.0547 L36.9551,330.0547" fill="none" style="stroke:#181818;stroke-width:0.5;"/></g><g class="participant participant-head" data-participant="API"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="73.459" x="166.5908" y="87.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="59.459" x="173.5908" y="107.292">Next API</text></g><g class="participant participant-tail" data-participant="API"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="73.459" x="166.5908" y="255.2578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="59.459" x="173.5908" y="275.2529">Next API</text></g><g class="participant participant-head" data-participant="DB"><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="60.3408" x="380.0347" y="115.292">Postgres</text><path d="M395.2051,66.2969 C395.2051,56.2969 413.2051,56.2969 413.2051,56.2969 C413.2051,56.2969 431.2051,56.2969 431.2051,66.2969 L431.2051,92.2969 C431.2051,102.2969 413.2051,102.2969 413.2051,102.2969 C413.2051,102.2969 395.2051,102.2969 395.2051,92.2969 L395.2051,66.2969" fill="#E2E2F0" style="stroke:#181818;stroke-width:0.5;"/><path d="M395.2051,66.2969 C395.2051,76.2969 413.2051,76.2969 413.2051,76.2969 C413.2051,76.2969 431.2051,76.2969 431.2051,66.2969" fill="none" style="stroke:#181818;stroke-width:0.5;"/></g><g class="participant participant-tail" data-participant="DB"><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="60.3408" x="380.0347" y="268.2529">Postgres</text><path d="M395.2051,281.5547 C395.2051,271.5547 413.2051,271.5547 413.2051,271.5547 C413.2051,271.5547 431.2051,271.5547 431.2051,281.5547 L431.2051,307.5547 C431.2051,317.5547 413.2051,317.5547 413.2051,317.5547 C413.2051,317.5547 395.2051,317.5547 395.2051,307.5547 L395.2051,281.5547" fill="#E2E2F0" style="stroke:#181818;stroke-width:0.5;"/><path d="M395.2051,281.5547 C395.2051,291.5547 413.2051,291.5547 413.2051,291.5547 C413.2051,291.5547 431.2051,291.5547 431.2051,281.5547" fill="none" style="stroke:#181818;stroke-width:0.5;"/></g><g class="message" data-participant-1="User" data-participant-2="API"><polygon fill="#181818" points="191.3203,160.8594,201.3203,164.8594,191.3203,168.8594,195.3203,164.8594" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="23.9551" x2="197.3203" y1="164.8594" y2="164.8594"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="96.9097" x="30.9551" y="144.6606">PATCH /api/me</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="131.022" x="30.9551" y="159.7935">(name?, password?)</text></g><g class="message" data-participant-1="API" data-participant-2="DB"><polygon fill="#181818" points="401.2051,205.125,411.2051,209.125,401.2051,213.125,405.2051,209.125" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="203.3203" x2="407.2051" y1="209.125" y2="209.125"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="185.8848" x="210.3203" y="188.9263">update name/passwordHash</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="120.231" x="210.3203" y="204.0591">(email immutable)</text></g><g class="message" data-participant-1="API" data-participant-2="User"><polygon fill="#181818" points="34.9551,234.2578,24.9551,238.2578,34.9551,242.2578,30.9551,238.2578" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;stroke-dasharray:2,2;" x1="28.9551" x2="202.3203" y1="238.2578" y2="238.2578"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="155.3652" x="40.9551" y="233.1919">updated profile payload</text></g><!--SRC=[LO-n3e9038RtUug6IH8DEuC4PC35CEZcKg7g9NVSvLgYlhrt1WQdV-Z_zMj5Yo7eWxlhcBCVKGWs4regF3A_N1XpXOEu01Uce3m6qOFsE0ba9teBrFqn0-IKAj9uGuuB7SiZ4AT1soYLMDZjKwc4lZuVEYZGwyBITVhPgYsilYfNiPRQRLEk9_rTr24_8qSMjG5jxHojXXOiSicsaYFuvJcF7-Dm_080]--></g></svg> |