Files
appwrite/docs/specs/functions.drawio
T
2020-07-11 13:25:28 +03:00

142 lines
15 KiB
Plaintext

<mxfile host="71ea5d84-0b5b-468b-a357-e1e65d5eb9e8" modified="2020-07-11T06:55:23.364Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.47.0 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36" etag="76Tq4XGwpsCeO3oXa8Ri" version="13.1.3">
<diagram id="yGhE-bxLbvAmmQa4B8sF" name="Page-1">
<mxGraphModel dx="359" dy="226" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="1200" background="none" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="VRWtsPjFZcFOQ0dyWaPR-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="7Wyw-BhCzhfnSJz2-0qM-1" target="VRWtsPjFZcFOQ0dyWaPR-1" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="7Wyw-BhCzhfnSJz2-0qM-1" target="C25799qmdiSaeSuCInEC-36" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="7Wyw-BhCzhfnSJz2-0qM-1" target="C25799qmdiSaeSuCInEC-38" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-1" value="Console" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="280" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-38" value="Code Packger&lt;br&gt;&lt;font style=&quot;font-size: 8px&quot;&gt;(CLI Tool?)&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="120" y="280" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-36" value="Web IDE&lt;br&gt;&lt;font style=&quot;font-size: 8px&quot;&gt;(Based on PRISM?)&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="280" y="280" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="VRWtsPjFZcFOQ0dyWaPR-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="VRWtsPjFZcFOQ0dyWaPR-1" target="VRWtsPjFZcFOQ0dyWaPR-3" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="VRWtsPjFZcFOQ0dyWaPR-1" value="Database" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="360" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="VRWtsPjFZcFOQ0dyWaPR-3" target="C25799qmdiSaeSuCInEC-1" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="VRWtsPjFZcFOQ0dyWaPR-3" target="VRWtsPjFZcFOQ0dyWaPR-5" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="VRWtsPjFZcFOQ0dyWaPR-3" target="C25799qmdiSaeSuCInEC-6" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="VRWtsPjFZcFOQ0dyWaPR-3" target="C25799qmdiSaeSuCInEC-7" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="VRWtsPjFZcFOQ0dyWaPR-3" value="Functions" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="440" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="VRWtsPjFZcFOQ0dyWaPR-5" target="C25799qmdiSaeSuCInEC-14" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="VRWtsPjFZcFOQ0dyWaPR-5" value="PHP" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="345" y="560" width="70" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="C25799qmdiSaeSuCInEC-1" target="C25799qmdiSaeSuCInEC-14" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-1" value="Node.js" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="425" y="560" width="70" height="40" as="geometry"/>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBorderColor=none;strokeColor=#666666;" parent="1" source="7Wyw-BhCzhfnSJz2-0qM-12" target="7Wyw-BhCzhfnSJz2-0qM-1" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-12" value="appwrite" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="560" y="200" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBorderColor=none;strokeColor=#666666;" parent="1" source="7Wyw-BhCzhfnSJz2-0qM-16" target="7Wyw-BhCzhfnSJz2-0qM-12" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="260" y="160"/>
<mxPoint x="620" y="160"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-18" value="&amp;nbsp; &amp;nbsp; appwrite.demoapp.com/v1&amp;nbsp; &amp;nbsp;&amp;nbsp;" style="text;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;labelBorderColor=none;fontColor=#;html=1;" parent="7Wyw-BhCzhfnSJz2-0qM-17" vertex="1" connectable="0">
<mxGeometry x="-0.0182" y="3" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-16" value="demoapp.com" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="200" y="200" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="7Wyw-BhCzhfnSJz2-0qM-54" value="&lt;h1&gt;Cloud Functions&lt;/h1&gt;&lt;p&gt;Specification for adding, executing and managing custom, user supplied cloud functions.&lt;br&gt;&lt;/p&gt;" style="text;html=1;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="40" y="30" width="370" height="90" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="C25799qmdiSaeSuCInEC-6" target="C25799qmdiSaeSuCInEC-14" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-6" value="Python" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="505" y="560" width="70" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="C25799qmdiSaeSuCInEC-7" target="C25799qmdiSaeSuCInEC-14" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-7" value="Ruby" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="585" y="560" width="70" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="C25799qmdiSaeSuCInEC-14" target="C25799qmdiSaeSuCInEC-20" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="C25799qmdiSaeSuCInEC-14" target="C25799qmdiSaeSuCInEC-28" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-14" value="Versions / Tags" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="680" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-28" value="Encrypted Code&lt;br&gt;&lt;font style=&quot;font-size: 8px&quot;&gt;(Storage)&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="655" y="680" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="C25799qmdiSaeSuCInEC-20" target="C25799qmdiSaeSuCInEC-23" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-27" value="&amp;nbsp;Send Version Code and Metadata" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=#ffffff;noLabel=1;fontColor=none;" parent="C25799qmdiSaeSuCInEC-26" vertex="1" connectable="0">
<mxGeometry x="-0.175" y="1" relative="1" as="geometry">
<mxPoint x="28" y="1" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-20" value="Execution" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="760" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-31" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="C25799qmdiSaeSuCInEC-23" target="C25799qmdiSaeSuCInEC-30" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-23" value="Worker" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="870" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="C25799qmdiSaeSuCInEC-30" target="C25799qmdiSaeSuCInEC-32" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-30" value="Warmup / Pull&lt;br&gt;&lt;font style=&quot;font-size: 8px&quot;&gt;(All Docker Images)&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="950" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="C25799qmdiSaeSuCInEC-32" target="C25799qmdiSaeSuCInEC-34" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-32" value="Execute Code&lt;br&gt;&lt;font style=&quot;font-size: 8px&quot;&gt;(Limit Execution Time)&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="1030" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="C25799qmdiSaeSuCInEC-34" value="Log Result" style="rounded=0;whiteSpace=wrap;html=1;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="440" y="1110" width="120" height="40" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>