{"result":{"component":{"name":"Application","properties":[{"name":"getData","type":"Method","exposure":{"call":true}}],"providedComponents":[{"name":"User","mixins":["Storable"],"properties":[{"name":"get","type":"Method","exposure":{"call":true}},{"name":"find","type":"Method","exposure":{"call":true}},{"name":"count","type":"Method","exposure":{"call":true}},{"name":"token","type":"StorableAttribute","exposure":{"get":true,"set":true},"value":{"__undefined":true},"valueType":"string?"},{"name":"getAuthenticatedUser","type":"StorableMethod","exposure":{"call":true}}],"prototype":{"properties":[{"name":"load","type":"Method","exposure":{"call":true}},{"name":"save","type":"Method","exposure":{"call":true}},{"name":"delete","type":"Method","exposure":{"call":true}},{"name":"id","type":"StorablePrimaryIdentifierAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function(){return this.constructor.generateId()}"},"valueType":"string"},{"name":"createdAt","type":"StorableAttribute","exposure":{"get":true},"valueType":"Date"},{"name":"email","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[3,100]]}}]},{"name":"firstName","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,40]]}}]},{"name":"lastName","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,40]]}}]},{"name":"company","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,40]]}}]},{"name":"usedStorage","type":"StorableAttribute","exposure":{"get":true},"valueType":"number"},{"name":"maximumStorage","type":"StorableAttribute","exposure":{"get":true},"valueType":"number"},{"name":"isAdmin","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn !1\n}"},"valueType":"boolean"},{"name":"changeEmail","type":"StorableMethod","exposure":{"call":true}}]},"consumedComponents":["User","EmailVerification","Collection","Work","CloudFile","Device"]},{"name":"EmailVerification","mixins":["Storable"],"properties":[{"name":"generate","type":"Method","exposure":{"call":true}},{"name":"verify","type":"Method","exposure":{"call":true}}],"prototype":{"properties":[{"name":"id","type":"StorablePrimaryIdentifierAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function(){return this.constructor.generateId()}"},"valueType":"string"},{"name":"createdAt","type":"StorableAttribute","exposure":{"get":true},"valueType":"Date"}]},"consumedComponents":["User","Device"]},{"name":"Collection","mixins":["Storable"],"properties":[{"name":"get","type":"Method","exposure":{"call":true}},{"name":"find","type":"Method","exposure":{"call":true}},{"name":"count","type":"Method","exposure":{"call":true}}],"prototype":{"properties":[{"name":"load","type":"Method","exposure":{"call":true}},{"name":"save","type":"Method","exposure":{"call":true}},{"name":"delete","type":"Method","exposure":{"call":true}},{"name":"id","type":"StorablePrimaryIdentifierAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function(){return this.constructor.generateId()}"},"valueType":"string"},{"name":"createdAt","type":"StorableAttribute","exposure":{"get":true},"valueType":"Date"},{"name":"owner","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"User"},{"name":"name","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[1,40]]}}]},{"name":"thumbnail","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"CloudFile?"},{"name":"isExhibited","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn !1\n}"},"valueType":"boolean"},{"name":"isPublic","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn !1\n}"},"valueType":"boolean"},{"name":"numberOfWorks","type":"StorableAttribute","exposure":{"get":true},"valueType":"number"},{"name":"reorderWork","type":"Method","exposure":{"call":true}}]},"consumedComponents":["User","Work","CloudFile"]},{"name":"Work","mixins":["Storable"],"properties":[{"name":"get","type":"Method","exposure":{"call":true}},{"name":"find","type":"Method","exposure":{"call":true}},{"name":"count","type":"Method","exposure":{"call":true}}],"prototype":{"properties":[{"name":"load","type":"Method","exposure":{"call":true}},{"name":"save","type":"Method","exposure":{"call":true}},{"name":"delete","type":"Method","exposure":{"call":true}},{"name":"id","type":"StorablePrimaryIdentifierAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function(){return this.constructor.generateId()}"},"valueType":"string"},{"name":"createdAt","type":"StorableAttribute","exposure":{"get":true},"valueType":"Date"},{"name":"owner","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"User"},{"name":"collection","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"Collection"},{"name":"type","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"file\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"anyOf","function":{"__function":"(t,e)=>e.includes(t)"},"arguments":[["file","url"]]}}]},{"name":"file","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"CloudFile?"},{"name":"url","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"string?","validators":[{"__validator":{"name":"optional","function":{"__function":"(t,e)=>(Array.isArray(e)||(e=[e]),t===void 0||e.every(r=>r.run(t)))"},"arguments":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[5,1000]]}}]}}]},{"name":"thumbnail","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"CloudFile?"},{"name":"artist","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,120]]}}]},{"name":"title","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,120]]}}]},{"name":"technique","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,120]]}}]},{"name":"courtesy","type":"StorableAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function () {\nreturn \"\"\n}"},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[0,120]]}}]},{"name":"number","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"number"}]},"consumedComponents":["User","Collection","CloudFile"]},{"name":"CloudFile","mixins":["Storable"],"properties":[{"name":"get","type":"Method","exposure":{"call":true}},{"name":"find","type":"Method","exposure":{"call":true}},{"name":"count","type":"Method","exposure":{"call":true}}],"prototype":{"properties":[{"name":"load","type":"Method","exposure":{"call":true}},{"name":"save","type":"Method","exposure":{"call":true}},{"name":"delete","type":"Method","exposure":{"call":true}},{"name":"id","type":"StorablePrimaryIdentifierAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function(){return this.constructor.generateId()}"},"valueType":"string"},{"name":"createdAt","type":"StorableAttribute","exposure":{"get":true},"valueType":"Date"},{"name":"owner","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"User"},{"name":"name","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[1,200]]}}]},{"name":"type","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[1,100]]}}]},{"name":"size","type":"StorableAttribute","exposure":{"get":true,"set":true},"valueType":"number","validators":[{"__validator":{"name":"integer","function":{"__function":"t=>t!==void 0&&Number.isInteger(t)"}}},{"__validator":{"name":"positive","function":{"__function":"t=>t!==void 0&&t>=0"}}}]},{"name":"downloadURL","type":"StorableAttribute","exposure":{"get":true},"valueType":"string"},{"name":"generateDownloadURL","type":"StorableMethod","exposure":{"call":true}},{"name":"generateUploadURL","type":"StorableMethod","exposure":{"call":true}}]},"consumedComponents":["User"]},{"name":"Device","mixins":["Storable"],"properties":[{"name":"get","type":"Method","exposure":{"call":true}},{"name":"find","type":"Method","exposure":{"call":true}},{"name":"count","type":"Method","exposure":{"call":true}}],"prototype":{"properties":[{"name":"load","type":"Method","exposure":{"call":true}},{"name":"delete","type":"Method","exposure":{"call":true}},{"name":"id","type":"StorablePrimaryIdentifierAttribute","exposure":{"get":true,"set":true},"default":{"__function":"function(){return this.constructor.generateId()}"},"valueType":"string"},{"name":"createdAt","type":"StorableAttribute","exposure":{"get":true},"valueType":"Date"},{"name":"serialNumber","type":"SecondaryIdentifierAttribute","exposure":{"get":true},"valueType":"string","validators":[{"__validator":{"name":"rangeLength","function":{"__function":"(t,[e,r])=>t!==void 0&&t.length>=e&&t.length<=r"},"arguments":[[1,40]]}}]},{"name":"currentUser","type":"StorableAttribute","exposure":{"get":true},"valueType":"User?"}]},"consumedComponents":["User"]}]}}}