@things-factory/reference-app 6.0.27 → 6.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attachments/311f5a1f-9a28-4f45-b335-11f8bbb12317.png +0 -0
- package/attachments/4bff6789-9d9a-4b61-acfd-75e419eb9bf3.png +0 -0
- package/attachments/5f4b08bc-7574-461d-a54f-bd0462c3bd37.jpeg +0 -0
- package/attachments/8c562e28-85e9-4cff-a055-5a08a4e57b88.jpeg +0 -0
- package/attachments/a2f74466-cc49-47fb-8c2b-7b0cf23a644d.jpeg +0 -0
- package/attachments/da8aaec2-ad03-4eec-adfb-8a9812c8330a.jpeg +0 -0
- package/client/pages/data-set/data-set-list-page.js +1 -0
- package/config.development.js +7 -32
- package/config.production.js +55 -0
- package/db.sqlite +0 -0
- package/dist-client/033a8a362e39e81521c5.png +0 -0
- package/dist-client/04d0a0b4f98288ff2746.png +0 -0
- package/dist-client/0567329dce1421547133.png +0 -0
- package/dist-client/08bbd147bbaa98b332db.png +0 -0
- package/dist-client/0aed78d02c1b6c64de60.png +0 -0
- package/dist-client/1212.js +1 -0
- package/dist-client/1442.js +1 -0
- package/dist-client/1550.js +1 -0
- package/dist-client/1593.js +1 -0
- package/dist-client/1689.js +1 -0
- package/dist-client/1733.js +1 -0
- package/dist-client/1766.js +1 -0
- package/dist-client/190b9d948ce6d6a87e94.png +0 -0
- package/dist-client/1c0dbf70fa46fc25deb8.png +0 -0
- package/dist-client/1c555219c119d1c496df.png +0 -0
- package/dist-client/1f4e2dcff0657747fad0.png +0 -0
- package/dist-client/2098.js +1 -0
- package/dist-client/2142.js +1 -0
- package/dist-client/2265.js +1 -0
- package/dist-client/22cf3c62ad9582d39c28.png +0 -0
- package/dist-client/23bb06ca921d23b125ba.png +0 -0
- package/dist-client/2418.js +1 -0
- package/dist-client/2568.js +1 -0
- package/dist-client/258.js +1 -0
- package/dist-client/27c4af6600f89bc8aa4c.png +0 -0
- package/dist-client/2878.js +1 -0
- package/dist-client/2883.js +1 -0
- package/dist-client/2990.js +1 -0
- package/dist-client/2d144601a82af822ac30.png +0 -0
- package/dist-client/3098662927a30fdb8a4d.png +0 -0
- package/dist-client/3127ee8dd683ba59bd7b.png +0 -0
- package/dist-client/337c5d211682e431be6c.png +0 -0
- package/dist-client/3513.js +1 -0
- package/dist-client/3557.js +1 -0
- package/dist-client/3565.js +1 -0
- package/dist-client/3594.js +1 -0
- package/dist-client/3734.js +2 -0
- package/dist-client/3734.js.LICENSE.txt +11 -0
- package/dist-client/3746.js +1 -0
- package/dist-client/383.js +2 -0
- package/dist-client/383.js.LICENSE.txt +9 -0
- package/dist-client/3872.js +1 -0
- package/dist-client/3910.js +1 -0
- package/dist-client/3955.js +1 -0
- package/dist-client/4083.js +1 -0
- package/dist-client/411cbf41ec0faa4535ff.png +0 -0
- package/dist-client/4141.js +2 -0
- package/dist-client/4141.js.LICENSE.txt +11 -0
- package/dist-client/4162710af8eacb02b3d0.png +0 -0
- package/dist-client/4184cd4ea6a8d7349e21.png +0 -0
- package/dist-client/427c4cb716f8c30bbd1e.png +0 -0
- package/dist-client/4327.js +1 -0
- package/dist-client/4365cff2c5809bcf52d9.png +0 -0
- package/dist-client/4447.js +1 -0
- package/dist-client/4511.js +2 -0
- package/dist-client/4511.js.LICENSE.txt +345 -0
- package/dist-client/4516.js +1 -0
- package/dist-client/4575.js +1 -0
- package/dist-client/4820.js +1 -0
- package/dist-client/4e16d62bc1e459fc5b25.png +0 -0
- package/dist-client/5085.js +2 -0
- package/dist-client/5085.js.LICENSE.txt +11 -0
- package/dist-client/526ad807daa9d0c4a816.png +0 -0
- package/dist-client/5407.js +1 -0
- package/dist-client/5562.js +1 -0
- package/dist-client/556db371e2df3f29cea0.png +0 -0
- package/dist-client/55772bbc827ad7017d35.png +0 -0
- package/dist-client/5665.js +1 -0
- package/dist-client/5671.js +1 -0
- package/dist-client/574.js +2 -0
- package/dist-client/574.js.LICENSE.txt +11 -0
- package/dist-client/5761.js +1 -0
- package/dist-client/5824.js +1 -0
- package/dist-client/5873.js +1 -0
- package/dist-client/591.js +1 -0
- package/dist-client/5beb3d1071d94d67b73b.png +0 -0
- package/dist-client/5c45b501555a5bcaf6bd.png +0 -0
- package/dist-client/5e63fb5c3d72a5c3854d.png +0 -0
- package/dist-client/6067.js +1 -0
- package/dist-client/6100.js +1 -0
- package/dist-client/6163.js +1 -0
- package/dist-client/6204.js +1 -0
- package/dist-client/6264682326a8907cc922.png +0 -0
- package/dist-client/6283.js +1 -0
- package/dist-client/6331.js +1 -0
- package/dist-client/64224c44c766e71e3253.png +0 -0
- package/dist-client/6466.js +1 -0
- package/dist-client/6671.js +1 -0
- package/dist-client/6791e5773eac3f253e24.png +0 -0
- package/dist-client/689d645de355b5bf70e9.png +0 -0
- package/dist-client/68fa02818b287fa99811.png +0 -0
- package/dist-client/6955.js +2 -0
- package/dist-client/6955.js.LICENSE.txt +649 -0
- package/dist-client/6fbc47ded1e56a97b6a9.png +0 -0
- package/dist-client/70ef12050d5c2bc1d18b.png +0 -0
- package/dist-client/7263.js +1 -0
- package/dist-client/73d122c80f6803d982ae.png +0 -0
- package/dist-client/7462.js +1 -0
- package/dist-client/7471.js +2 -0
- package/dist-client/7471.js.LICENSE.txt +20 -0
- package/dist-client/7528.js +2 -0
- package/dist-client/7528.js.LICENSE.txt +29 -0
- package/dist-client/7566.js +1 -0
- package/dist-client/7627.js +1 -0
- package/dist-client/763.js +2 -0
- package/dist-client/763.js.LICENSE.txt +11 -0
- package/dist-client/77407838ded3346a802e.png +0 -0
- package/dist-client/7793.js +1 -0
- package/dist-client/7809.js +1 -0
- package/dist-client/7862.js +1 -0
- package/dist-client/7953.js +1 -0
- package/dist-client/7a8893ef51203b1d41ba.png +0 -0
- package/dist-client/7bcfa66864686ddce32a.png +0 -0
- package/dist-client/7ca1e30e518e350cff5a.png +0 -0
- package/dist-client/7d9596c5140e7290967f.png +0 -0
- package/dist-client/8085.js +1 -0
- package/dist-client/8184.js +1 -0
- package/dist-client/8299.js +1 -0
- package/dist-client/8317.js +1 -0
- package/dist-client/8645.js +1 -0
- package/dist-client/8653.js +1 -0
- package/dist-client/8654.js +1 -0
- package/dist-client/8695.js +1 -0
- package/dist-client/8733.js +2 -0
- package/dist-client/8733.js.LICENSE.txt +3 -0
- package/dist-client/8752.js +1 -0
- package/dist-client/8795.js +1 -0
- package/dist-client/8818.js +1 -0
- package/dist-client/8848.js +2 -0
- package/dist-client/8848.js.LICENSE.txt +11 -0
- package/dist-client/8852.js +1 -0
- package/dist-client/8957.js +1 -0
- package/dist-client/8cf3afd5f21703b894da.png +0 -0
- package/dist-client/8f04bd1494e66102676e.png +0 -0
- package/dist-client/8f778f433221cc09f419.png +0 -0
- package/dist-client/9041.js +1 -0
- package/dist-client/9092.js +1 -0
- package/dist-client/9193.js +2 -0
- package/dist-client/9193.js.LICENSE.txt +8 -0
- package/dist-client/9251.js +1 -0
- package/dist-client/9288819b91c1e64a752d.png +0 -0
- package/dist-client/9313.js +2 -0
- package/dist-client/9313.js.LICENSE.txt +6 -0
- package/dist-client/9454482d54ddf8bb8f60.png +0 -0
- package/dist-client/9550.js +1 -0
- package/dist-client/960ff955855910a0f418.png +0 -0
- package/dist-client/9659.js +1 -0
- package/dist-client/9726.js +1 -0
- package/dist-client/9864.js +1 -0
- package/dist-client/9a6591477d12befc59d2.png +0 -0
- package/dist-client/9bac8829b2e3a98d04f5.png +0 -0
- package/dist-client/9d136a4324aad2667a79.png +0 -0
- package/dist-client/9d14a3b8c05bd19fde84.png +0 -0
- package/dist-client/aa152d1b3d3fd105c1e6.png +0 -0
- package/dist-client/assets/data-report.jpg +0 -0
- package/dist-client/assets/data-samples.jpg +0 -0
- package/dist-client/assets/diagram.jpg +0 -0
- package/dist-client/assets/editorjs-demo.css +415 -0
- package/dist-client/assets/favicon.ico +0 -0
- package/dist-client/assets/glue-table-indices.png +0 -0
- package/dist-client/assets/helps/index.md +1 -0
- package/dist-client/assets/images/add-user-1.png +0 -0
- package/dist-client/assets/images/add-user-2.png +0 -0
- package/dist-client/assets/images/add-user-3.png +0 -0
- package/dist-client/assets/images/add-user-4.png +0 -0
- package/dist-client/assets/images/background-animation.json +1 -0
- package/dist-client/assets/images/bg-auth-ui.png +0 -0
- package/dist-client/assets/images/bg-blue.png +0 -0
- package/dist-client/assets/images/bg-green.png +0 -0
- package/dist-client/assets/images/bg-input-select.png +0 -0
- package/dist-client/assets/images/bg-rail.png +0 -0
- package/dist-client/assets/images/create-policy-1.png +0 -0
- package/dist-client/assets/images/create-policy-2.png +0 -0
- package/dist-client/assets/images/create-policy-3.png +0 -0
- package/dist-client/assets/images/create-s3-bucket-1.png +0 -0
- package/dist-client/assets/images/create-s3-bucket-2.png +0 -0
- package/dist-client/assets/images/forklift.png +0 -0
- package/dist-client/assets/images/hatiolab-logo.png +0 -0
- package/dist-client/assets/images/home.png +0 -0
- package/dist-client/assets/images/icon-activate.png +0 -0
- package/dist-client/assets/images/icon-backinfo.png +0 -0
- package/dist-client/assets/images/icon-brand.png +0 -0
- package/dist-client/assets/images/icon-close.png +0 -0
- package/dist-client/assets/images/icon-congratulations.png +0 -0
- package/dist-client/assets/images/icon-domain.png +0 -0
- package/dist-client/assets/images/icon-editor-gradient-direction.png +0 -0
- package/dist-client/assets/images/icon-mobile-brand.png +0 -0
- package/dist-client/assets/images/icon-nametag.png +0 -0
- package/dist-client/assets/images/icon-profile.png +0 -0
- package/dist-client/assets/images/icon-properties-label.png +0 -0
- package/dist-client/assets/images/icon-properties-line-type.png +0 -0
- package/dist-client/assets/images/icon-properties-table.png +0 -0
- package/dist-client/assets/images/icon-resource-select.png +0 -0
- package/dist-client/assets/images/icon-result.png +0 -0
- package/dist-client/assets/images/icon-setting.png +0 -0
- package/dist-client/assets/images/invitation.png +0 -0
- package/dist-client/assets/images/person.png +0 -0
- package/dist-client/assets/images/profile.png +0 -0
- package/dist-client/assets/images/spinner.png +0 -0
- package/dist-client/assets/manifest/apple-1024.png +0 -0
- package/dist-client/assets/manifest/apple-120.png +0 -0
- package/dist-client/assets/manifest/apple-152.png +0 -0
- package/dist-client/assets/manifest/apple-167.png +0 -0
- package/dist-client/assets/manifest/apple-180.png +0 -0
- package/dist-client/assets/manifest/apple-touch-icon.png +0 -0
- package/dist-client/assets/manifest/badge-128x128.png +0 -0
- package/dist-client/assets/manifest/chrome-splashscreen-icon-384x384.png +0 -0
- package/dist-client/assets/manifest/chrome-touch-icon-192x192.png +0 -0
- package/dist-client/assets/manifest/icon-128x128.png +0 -0
- package/dist-client/assets/manifest/icon-192x192.png +0 -0
- package/dist-client/assets/manifest/icon-512x512.png +0 -0
- package/dist-client/assets/manifest/icon-72x72.png +0 -0
- package/dist-client/assets/manifest/icon-96x96.png +0 -0
- package/dist-client/assets/manifest/image-metaog.png +0 -0
- package/dist-client/assets/manifest/maskable_icon.png +0 -0
- package/dist-client/assets/manifest/ms-icon-144x144.png +0 -0
- package/dist-client/assets/manifest/ms-touch-icon-144x144-precomposed.png +0 -0
- package/dist-client/assets/manifest.json +27 -0
- package/dist-client/auth/activate.js +2 -0
- package/dist-client/auth/activate.js.LICENSE.txt +162 -0
- package/dist-client/auth/checkin.js +2 -0
- package/dist-client/auth/checkin.js.LICENSE.txt +83 -0
- package/dist-client/auth/forgot-password.js +2 -0
- package/dist-client/auth/forgot-password.js.LICENSE.txt +122 -0
- package/dist-client/auth/reset-password.js +2 -0
- package/dist-client/auth/reset-password.js.LICENSE.txt +122 -0
- package/dist-client/auth/result.js +2 -0
- package/dist-client/auth/result.js.LICENSE.txt +93 -0
- package/dist-client/auth/signin.js +2 -0
- package/dist-client/auth/signin.js.LICENSE.txt +122 -0
- package/dist-client/auth/signup.js +2 -0
- package/dist-client/auth/signup.js.LICENSE.txt +122 -0
- package/dist-client/auth/unlock-user.js +2 -0
- package/dist-client/auth/unlock-user.js.LICENSE.txt +122 -0
- package/dist-client/b62c2497caa3978e4cdc.png +0 -0
- package/dist-client/b640388996621bd3040e.png +0 -0
- package/dist-client/bac71281339c69e63421.png +0 -0
- package/dist-client/bb346e05d6b711d2ed8d.png +0 -0
- package/dist-client/c077fa0074e73452db46.png +0 -0
- package/dist-client/c62cd64b1413e4d1e652.png +0 -0
- package/dist-client/c81c6f2c0e82b3796b6e.png +0 -0
- package/dist-client/c9269a93bb18ae06affd.png +0 -0
- package/dist-client/ccd36ed4e050b84e523c.png +0 -0
- package/dist-client/cf23c1dc8743cf26dc75.png +0 -0
- package/dist-client/d39c2ce57a8c38e27e56.png +0 -0
- package/dist-client/d40282055a8309c96c4c.png +0 -0
- package/dist-client/d74f294abfe31d14964e.png +0 -0
- package/dist-client/d9b6b3243cd4bf2e63a8.png +0 -0
- package/dist-client/daacdd8ee024ac5b0379.png +0 -0
- package/dist-client/de7b6dfdbf9dfde49467.png +0 -0
- package/dist-client/e3466c7d8a49da978517.png +0 -0
- package/dist-client/e3efea6b1e596f2ceda3.png +0 -0
- package/dist-client/e433275c03dc4c240f48.png +0 -0
- package/dist-client/e6b1f9447b8d520a2f21.png +0 -0
- package/dist-client/e8af6dc62316e5759a73.png +0 -0
- package/dist-client/e8f855ba4a7793d0e0a4.png +0 -0
- package/dist-client/ed4ff0096ff238659d69.png +0 -0
- package/dist-client/f157b0233d3f083166e3.png +0 -0
- package/dist-client/f7183d9fb4a53537e50b.png +0 -0
- package/dist-client/fa33c0372723348a71c5.png +0 -0
- package/dist-client/fcdcd3b1851ab73ff6a0.png +0 -0
- package/dist-client/fd251baa5700266586a0.png +0 -0
- package/dist-client/fe12850d008bc2190ee7.png +0 -0
- package/dist-client/fffbf4ec108e494462bb.png +0 -0
- package/dist-client/headless-scene-components.js +2 -0
- package/dist-client/headless-scene-components.js.LICENSE.txt +688 -0
- package/dist-client/helps/about/components.md +3 -0
- package/dist-client/helps/about/framework/redirection.md +45 -0
- package/dist-client/helps/about/framework/typegraphql.md +74 -0
- package/dist-client/helps/about/framework.md +10 -0
- package/dist-client/helps/about/modules.md +7 -0
- package/dist-client/helps/about/things-factory.en.md +255 -0
- package/dist-client/helps/about/things-factory.ko.md +258 -0
- package/dist-client/helps/auth/appliance.en.md +22 -0
- package/dist-client/helps/auth/appliance.ko.md +40 -0
- package/dist-client/helps/auth/application.en.md +33 -0
- package/dist-client/helps/auth/images/app-binding.png +0 -0
- package/dist-client/helps/auth/images/appliance-generate-key.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-1.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-2.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-3.png +0 -0
- package/dist-client/helps/auth/images/application-hub.png +0 -0
- package/dist-client/helps/auth/images/authorization-postman.png +0 -0
- package/dist-client/helps/auth/images/create-button2.png +0 -0
- package/dist-client/helps/auth/images/create-role.png +0 -0
- package/dist-client/helps/auth/images/flowchart-appliance-registration.jpg +0 -0
- package/dist-client/helps/auth/images/flowchart-role-management.jpg +0 -0
- package/dist-client/helps/auth/images/flowchart-user-account.jpg +0 -0
- package/dist-client/helps/auth/images/invite-user.png +0 -0
- package/dist-client/helps/auth/images/owner-transfer-confirm.png +0 -0
- package/dist-client/helps/auth/images/owner-transfer.png +0 -0
- package/dist-client/helps/auth/images/postman.png +0 -0
- package/dist-client/helps/auth/images/register-appliance-new.png +0 -0
- package/dist-client/helps/auth/images/register-appliance.png +0 -0
- package/dist-client/helps/auth/images/register-application.png +0 -0
- package/dist-client/helps/auth/images/registered-role.png +0 -0
- package/dist-client/helps/auth/images/role-list.png +0 -0
- package/dist-client/helps/auth/images/role-privilage.png +0 -0
- package/dist-client/helps/auth/images/role-privileges.png +0 -0
- package/dist-client/helps/auth/images/save-button2.png +0 -0
- package/dist-client/helps/auth/images/save-button3.png +0 -0
- package/dist-client/helps/auth/images/transfer-owner.png +0 -0
- package/dist-client/helps/auth/images/update-roles.png +0 -0
- package/dist-client/helps/auth/images/user-delete.png +0 -0
- package/dist-client/helps/auth/images/user-error.png +0 -0
- package/dist-client/helps/auth/images/user-invite.png +0 -0
- package/dist-client/helps/auth/images/user-roles.png +0 -0
- package/dist-client/helps/auth/roles.en.md +59 -0
- package/dist-client/helps/auth/roles.ko.md +42 -0
- package/dist-client/helps/auth/users.en.md +33 -0
- package/dist-client/helps/auth/users.ko.md +54 -0
- package/dist-client/helps/board-modeller/accessor.ko.md +4 -0
- package/dist-client/helps/board-modeller/accessor.md +4 -0
- package/dist-client/helps/board-modeller/accessor.zh.md +4 -0
- package/dist-client/helps/board-modeller/data-binding.ko.md +100 -0
- package/dist-client/helps/board-modeller/data-binding.md +100 -0
- package/dist-client/helps/board-modeller/data-binding.zh.md +89 -0
- package/dist-client/helps/board-modeller/data-spread.ko.md +57 -0
- package/dist-client/helps/board-modeller/data-spread.md +57 -0
- package/dist-client/helps/board-modeller/data-spread.zh.md +55 -0
- package/dist-client/helps/board-modeller/effects/animation.ko.md +46 -0
- package/dist-client/helps/board-modeller/effects/animation.md +47 -0
- package/dist-client/helps/board-modeller/effects/animation.zh.md +47 -0
- package/dist-client/helps/board-modeller/effects/hover-event.ko.md +55 -0
- package/dist-client/helps/board-modeller/effects/hover-event.md +57 -0
- package/dist-client/helps/board-modeller/effects/hover-event.zh.md +55 -0
- package/dist-client/helps/board-modeller/effects/retention.ko.md +4 -0
- package/dist-client/helps/board-modeller/effects/retention.md +4 -0
- package/dist-client/helps/board-modeller/effects/retention.zh.md +4 -0
- package/dist-client/helps/board-modeller/effects/shadow.ko.md +18 -0
- package/dist-client/helps/board-modeller/effects/shadow.md +21 -0
- package/dist-client/helps/board-modeller/effects/shadow.zh.md +19 -0
- package/dist-client/helps/board-modeller/effects/tap-event.ko.md +86 -0
- package/dist-client/helps/board-modeller/effects/tap-event.md +74 -0
- package/dist-client/helps/board-modeller/effects/tap-event.zh.md +74 -0
- package/dist-client/helps/board-modeller/images/animation-01.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-02.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-03.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-04.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-05.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-06.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-07.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-08.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-09.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-10.gif +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-align-horizontal.png +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-align-vertical.png +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-margin.png +0 -0
- package/dist-client/helps/board-modeller/images/component-3D.png +0 -0
- package/dist-client/helps/board-modeller/images/component-arrow.png +0 -0
- package/dist-client/helps/board-modeller/images/component-chart-gauge.png +0 -0
- package/dist-client/helps/board-modeller/images/component-container.png +0 -0
- package/dist-client/helps/board-modeller/images/component-datasource.png +0 -0
- package/dist-client/helps/board-modeller/images/component-etc.png +0 -0
- package/dist-client/helps/board-modeller/images/component-form.png +0 -0
- package/dist-client/helps/board-modeller/images/component-gauge.png +0 -0
- package/dist-client/helps/board-modeller/images/component-image.png +0 -0
- package/dist-client/helps/board-modeller/images/component-iot.png +0 -0
- package/dist-client/helps/board-modeller/images/component-line.png +0 -0
- package/dist-client/helps/board-modeller/images/component-shape.png +0 -0
- package/dist-client/helps/board-modeller/images/component-table.png +0 -0
- package/dist-client/helps/board-modeller/images/component-text-media.png +0 -0
- package/dist-client/helps/board-modeller/images/component-toolbar.png +0 -0
- package/dist-client/helps/board-modeller/images/component-warehouse.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-02.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-03.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-04.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-05.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-06.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-07.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-08.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-09.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-10.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-11.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-12.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-13.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-14.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-15.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-16.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-17.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-18.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-19.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-20.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-21.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-22.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-23.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-24.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-25.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-26.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-27.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-28.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-29.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-30.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-31.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-32.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar.png +0 -0
- package/dist-client/helps/board-modeller/images/effect-property.png +0 -0
- package/dist-client/helps/board-modeller/images/hover-01.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-bevel.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-miter.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-round.png +0 -0
- package/dist-client/helps/board-modeller/images/modeler-layout-01.png +0 -0
- package/dist-client/helps/board-modeller/images/property-window.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-02.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-03.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-04.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-05.png +0 -0
- package/dist-client/helps/board-modeller/images/shape-property.png +0 -0
- package/dist-client/helps/board-modeller/images/specific-property.png +0 -0
- package/dist-client/helps/board-modeller/images/style-property.png +0 -0
- package/dist-client/helps/board-modeller/images/target-property.png +0 -0
- package/dist-client/helps/board-modeller/images/variable-property.png +0 -0
- package/dist-client/helps/board-modeller/initial-data.ko.md +8 -0
- package/dist-client/helps/board-modeller/initial-data.md +8 -0
- package/dist-client/helps/board-modeller/initial-data.zh.md +8 -0
- package/dist-client/helps/board-modeller/modeller.ko.md +244 -0
- package/dist-client/helps/board-modeller/modeller.md +206 -0
- package/dist-client/helps/board-modeller/modeller.zh.md +241 -0
- package/dist-client/helps/board-modeller/shapes/3dish.ko.md +17 -0
- package/dist-client/helps/board-modeller/shapes/3dish.md +17 -0
- package/dist-client/helps/board-modeller/shapes/3dish.zh.md +17 -0
- package/dist-client/helps/board-modeller/shapes/print-option.ko.md +26 -0
- package/dist-client/helps/board-modeller/shapes/print-option.md +26 -0
- package/dist-client/helps/board-modeller/shapes/print-option.zh.md +26 -0
- package/dist-client/helps/board-modeller/shapes/shapes.ko.md +19 -0
- package/dist-client/helps/board-modeller/shapes/shapes.md +21 -0
- package/dist-client/helps/board-modeller/shapes/shapes.zh.md +19 -0
- package/dist-client/helps/board-modeller/shapes/size.ko.md +8 -0
- package/dist-client/helps/board-modeller/shapes/size.md +8 -0
- package/dist-client/helps/board-modeller/shapes/size.zh.md +8 -0
- package/dist-client/helps/board-modeller/shapes/text-box.ko.md +16 -0
- package/dist-client/helps/board-modeller/shapes/text-box.md +16 -0
- package/dist-client/helps/board-modeller/shapes/text-box.zh.md +16 -0
- package/dist-client/helps/board-modeller/shapes/viewer-option.ko.md +9 -0
- package/dist-client/helps/board-modeller/shapes/viewer-option.md +9 -0
- package/dist-client/helps/board-modeller/shapes/viewer-option.zh.md +9 -0
- package/dist-client/helps/board-modeller/styles/fill-style.ko.md +18 -0
- package/dist-client/helps/board-modeller/styles/fill-style.md +18 -0
- package/dist-client/helps/board-modeller/styles/fill-style.zh.md +18 -0
- package/dist-client/helps/board-modeller/styles/line-style.ko.md +19 -0
- package/dist-client/helps/board-modeller/styles/line-style.md +23 -0
- package/dist-client/helps/board-modeller/styles/line-style.zh.md +19 -0
- package/dist-client/helps/board-modeller/styles/opacity.ko.md +3 -0
- package/dist-client/helps/board-modeller/styles/opacity.md +3 -0
- package/dist-client/helps/board-modeller/styles/opacity.zh.md +3 -0
- package/dist-client/helps/board-modeller/styles/text-style.ko.md +8 -0
- package/dist-client/helps/board-modeller/styles/text-style.md +8 -0
- package/dist-client/helps/board-modeller/styles/text-style.zh.md +8 -0
- package/dist-client/helps/components/oops-progress.md +73 -0
- package/dist-client/helps/contact/contact.md +160 -0
- package/dist-client/helps/dataset/data-archive.md +9 -0
- package/dist-client/helps/dataset/data-entry-list.md +2 -0
- package/dist-client/helps/dataset/data-key-set.md +10 -0
- package/dist-client/helps/dataset/data-ooc.md +11 -0
- package/dist-client/helps/dataset/data-report-list.md +4 -0
- package/dist-client/helps/dataset/data-sample-search.md +2 -0
- package/dist-client/helps/dataset/data-sample.md +11 -0
- package/dist-client/helps/dataset/data-sensor.md +13 -0
- package/dist-client/helps/dataset/data-set.md +28 -0
- package/dist-client/helps/dataset/ui/data-item-list.md +19 -0
- package/dist-client/helps/dataset/ui/data-key-item-list.md +2 -0
- package/dist-client/helps/index.md +1 -0
- package/dist-client/helps/integration/concept/connection.md +27 -0
- package/dist-client/helps/integration/concept/data-accessor.ko.md +11 -0
- package/dist-client/helps/integration/concept/data-accessor.md +11 -0
- package/dist-client/helps/integration/concept/data-accessor.zh.md +11 -0
- package/dist-client/helps/integration/concept/pending-queue.md +32 -0
- package/dist-client/helps/integration/concept/scenario-context.md +83 -0
- package/dist-client/helps/integration/concept/scenario-engine.md +10 -0
- package/dist-client/helps/integration/concept/scenario.md +4 -0
- package/dist-client/helps/integration/concept/task.md +25 -0
- package/dist-client/helps/integration/connector/mqtt-connector.md +17 -0
- package/dist-client/helps/integration/connector/mssql-connector.md +38 -0
- package/dist-client/helps/integration/connector/oracle-connector.md +66 -0
- package/dist-client/helps/integration/connector/postgresql-connector.md +34 -0
- package/dist-client/helps/integration/connector/sqlite-connector.md +17 -0
- package/dist-client/helps/integration/index.md +37 -0
- package/dist-client/helps/integration/task/book-up-scenario.md +24 -0
- package/dist-client/helps/integration/task/end.md +3 -0
- package/dist-client/helps/integration/task/floating-point.md +34 -0
- package/dist-client/helps/integration/task/goto.md +8 -0
- package/dist-client/helps/integration/task/graphql-mutate.md +44 -0
- package/dist-client/helps/integration/task/graphql-query.md +44 -0
- package/dist-client/helps/integration/task/local-graphql-mutate.md +44 -0
- package/dist-client/helps/integration/task/local-graphql-query.md +44 -0
- package/dist-client/helps/integration/task/log.md +14 -0
- package/dist-client/helps/integration/task/mqtt-publish.md +10 -0
- package/dist-client/helps/integration/task/mqtt-subscribe.md +15 -0
- package/dist-client/helps/integration/task/pick-pending-scenario.md +13 -0
- package/dist-client/helps/integration/task/publish.md +16 -0
- package/dist-client/helps/integration/task/script.md +39 -0
- package/dist-client/helps/integration/task/sleep.md +8 -0
- package/dist-client/helps/integration/task/throw.md +12 -0
- package/dist-client/helps/integration/task/variables.md +37 -0
- package/dist-client/helps/integration/ui/connection.md +16 -0
- package/dist-client/helps/integration/ui/crontab-editor.md +9 -0
- package/dist-client/helps/integration/ui/integration-monitor.md +29 -0
- package/dist-client/helps/integration/ui/scenario-detail.md +35 -0
- package/dist-client/helps/integration/ui/scenario.md +35 -0
- package/dist-client/helps/module/api.md +117 -0
- package/dist-client/helps/module/dashboard.md +27 -0
- package/dist-client/helps/module/help.md +40 -0
- package/dist-client/helps/module/lite-menu.md +112 -0
- package/dist-client/helps/module/notification-images/config-app-1.png +0 -0
- package/dist-client/helps/module/notification-images/config-app-2.png +0 -0
- package/dist-client/helps/module/notification-images/config-server-key.png +0 -0
- package/dist-client/helps/module/notification-images/config-service-account.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-1.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-2-get-public-key.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-3-get-private-key.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-badge.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-list.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-setting-let.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-chrome-1.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-chrome-2.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-1.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-2.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-3.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-4.png +0 -0
- package/dist-client/helps/module/notification.md +161 -0
- package/dist-client/helps/oauth2-client/code-verifier.md +5 -0
- package/dist-client/helps/oauth2-client/credentials.md +160 -0
- package/dist-client/helps/oauth2-client/grant-type.md +33 -0
- package/dist-client/helps/organization/department.md +160 -0
- package/dist-client/helps/organization/employee.md +160 -0
- package/dist-client/helps/scene/component/analog-clock.ko.md +6 -0
- package/dist-client/helps/scene/component/analog-clock.md +8 -0
- package/dist-client/helps/scene/component/analog-clock.zh.md +6 -0
- package/dist-client/helps/scene/component/arrow.ko.md +9 -0
- package/dist-client/helps/scene/component/arrow.md +9 -0
- package/dist-client/helps/scene/component/arrow.zh.md +9 -0
- package/dist-client/helps/scene/component/audio.ko.md +1 -0
- package/dist-client/helps/scene/component/audio.md +1 -0
- package/dist-client/helps/scene/component/audio.zh.md +1 -0
- package/dist-client/helps/scene/component/both-arrow.ko.md +9 -0
- package/dist-client/helps/scene/component/both-arrow.md +9 -0
- package/dist-client/helps/scene/component/both-arrow.zh.md +9 -0
- package/dist-client/helps/scene/component/chartjs.ko.md +332 -0
- package/dist-client/helps/scene/component/chartjs.md +333 -0
- package/dist-client/helps/scene/component/chartjs.zh.md +331 -0
- package/dist-client/helps/scene/component/color-image.ko.md +9 -0
- package/dist-client/helps/scene/component/color-image.md +9 -0
- package/dist-client/helps/scene/component/color-image.zh.md +9 -0
- package/dist-client/helps/scene/component/container.ko.md +7 -0
- package/dist-client/helps/scene/component/container.md +9 -0
- package/dist-client/helps/scene/component/container.zh.md +8 -0
- package/dist-client/helps/scene/component/donut.ko.md +14 -0
- package/dist-client/helps/scene/component/donut.md +17 -0
- package/dist-client/helps/scene/component/donut.zh.md +18 -0
- package/dist-client/helps/scene/component/dotted-line.ko.md +7 -0
- package/dist-client/helps/scene/component/dotted-line.md +9 -0
- package/dist-client/helps/scene/component/dotted-line.zh.md +7 -0
- package/dist-client/helps/scene/component/ellipse.ko.md +11 -0
- package/dist-client/helps/scene/component/ellipse.md +11 -0
- package/dist-client/helps/scene/component/ellipse.zh.md +10 -0
- package/dist-client/helps/scene/component/gauge-circle.ko.md +168 -0
- package/dist-client/helps/scene/component/gauge-circle.md +167 -0
- package/dist-client/helps/scene/component/gauge-circle.zh.md +164 -0
- package/dist-client/helps/scene/component/gauge-horizon.ko.md +145 -0
- package/dist-client/helps/scene/component/gauge-horizon.md +145 -0
- package/dist-client/helps/scene/component/gauge-horizon.zh.md +145 -0
- package/dist-client/helps/scene/component/gauge-vertical.ko.md +12 -0
- package/dist-client/helps/scene/component/gauge-vertical.md +9 -0
- package/dist-client/helps/scene/component/gauge-vertical.zh.md +10 -0
- package/dist-client/helps/scene/component/gif-view.ko.md +10 -0
- package/dist-client/helps/scene/component/gif-view.md +10 -0
- package/dist-client/helps/scene/component/gif-view.zh.md +10 -0
- package/dist-client/helps/scene/component/global-ref.ko.md +1 -0
- package/dist-client/helps/scene/component/global-ref.md +1 -0
- package/dist-client/helps/scene/component/global-ref.zh.md +1 -0
- package/dist-client/helps/scene/component/gray-image.ko.md +9 -0
- package/dist-client/helps/scene/component/gray-image.md +9 -0
- package/dist-client/helps/scene/component/gray-image.zh.md +8 -0
- package/dist-client/helps/scene/component/indoor-map.ko.md +65 -0
- package/dist-client/helps/scene/component/indoor-map.md +65 -0
- package/dist-client/helps/scene/component/indoor-map.zh.md +65 -0
- package/dist-client/helps/scene/component/info-window.ko.md +1 -0
- package/dist-client/helps/scene/component/info-window.md +1 -0
- package/dist-client/helps/scene/component/info-window.zh.md +1 -0
- package/dist-client/helps/scene/component/input.ko.md +59 -0
- package/dist-client/helps/scene/component/input.md +59 -0
- package/dist-client/helps/scene/component/input.zh.md +58 -0
- package/dist-client/helps/scene/component/line.ko.md +9 -0
- package/dist-client/helps/scene/component/line.md +9 -0
- package/dist-client/helps/scene/component/line.zh.md +7 -0
- package/dist-client/helps/scene/component/local-ref.ko.md +1 -0
- package/dist-client/helps/scene/component/local-ref.md +1 -0
- package/dist-client/helps/scene/component/local-ref.zh.md +1 -0
- package/dist-client/helps/scene/component/marker.ko.md +15 -0
- package/dist-client/helps/scene/component/marker.md +15 -0
- package/dist-client/helps/scene/component/marker.zh.md +15 -0
- package/dist-client/helps/scene/component/news-ticker.ko.md +27 -0
- package/dist-client/helps/scene/component/news-ticker.md +27 -0
- package/dist-client/helps/scene/component/news-ticker.zh.md +27 -0
- package/dist-client/helps/scene/component/polygon.ko.md +9 -0
- package/dist-client/helps/scene/component/polygon.md +9 -0
- package/dist-client/helps/scene/component/polygon.zh.md +9 -0
- package/dist-client/helps/scene/component/polyline.ko.md +10 -0
- package/dist-client/helps/scene/component/polyline.md +10 -0
- package/dist-client/helps/scene/component/polyline.zh.md +10 -0
- package/dist-client/helps/scene/component/popup.ko.md +27 -0
- package/dist-client/helps/scene/component/popup.md +27 -0
- package/dist-client/helps/scene/component/progress-circle.ko.md +41 -0
- package/dist-client/helps/scene/component/progress-circle.md +42 -0
- package/dist-client/helps/scene/component/progress-circle.zh.md +39 -0
- package/dist-client/helps/scene/component/progress-horizontal.ko.md +37 -0
- package/dist-client/helps/scene/component/progress-horizontal.md +31 -0
- package/dist-client/helps/scene/component/progress-horizontal.zh.md +31 -0
- package/dist-client/helps/scene/component/progress-vertical.ko.md +23 -0
- package/dist-client/helps/scene/component/progress-vertical.md +24 -0
- package/dist-client/helps/scene/component/progress-vertical.zh.md +23 -0
- package/dist-client/helps/scene/component/rack.ko.md +17 -0
- package/dist-client/helps/scene/component/rack.md +15 -0
- package/dist-client/helps/scene/component/rack.zh.md +16 -0
- package/dist-client/helps/scene/component/random.ko.md +12 -0
- package/dist-client/helps/scene/component/random.md +11 -0
- package/dist-client/helps/scene/component/random.zh.md +11 -0
- package/dist-client/helps/scene/component/rect.ko.md +17 -0
- package/dist-client/helps/scene/component/rect.md +16 -0
- package/dist-client/helps/scene/component/rect.zh.md +16 -0
- package/dist-client/helps/scene/component/simple-switch.ko.md +20 -0
- package/dist-client/helps/scene/component/simple-switch.md +19 -0
- package/dist-client/helps/scene/component/simple-switch.zh.md +19 -0
- package/dist-client/helps/scene/component/star.ko.md +19 -0
- package/dist-client/helps/scene/component/star.md +19 -0
- package/dist-client/helps/scene/component/star.zh.md +19 -0
- package/dist-client/helps/scene/component/tab-container.ko.md +58 -0
- package/dist-client/helps/scene/component/tab-container.md +57 -0
- package/dist-client/helps/scene/component/tab-container.zh.md +59 -0
- package/dist-client/helps/scene/component/tab.ko.md +14 -0
- package/dist-client/helps/scene/component/tab.md +13 -0
- package/dist-client/helps/scene/component/tab.zh.md +13 -0
- package/dist-client/helps/scene/component/text-clock.ko.md +25 -0
- package/dist-client/helps/scene/component/text-clock.md +22 -0
- package/dist-client/helps/scene/component/text-clock.zh.md +22 -0
- package/dist-client/helps/scene/component/text.ko.md +9 -0
- package/dist-client/helps/scene/component/text.md +9 -0
- package/dist-client/helps/scene/component/text.zh.md +9 -0
- package/dist-client/helps/scene/component/top-rounded-ractangle.ko.md +15 -0
- package/dist-client/helps/scene/component/top-rounded-ractangle.md +15 -0
- package/dist-client/helps/scene/component/top-rounded-ractangle.zh.md +15 -0
- package/dist-client/helps/scene/component/triangle.ko.md +9 -0
- package/dist-client/helps/scene/component/triangle.md +9 -0
- package/dist-client/helps/scene/component/triangle.zh.md +9 -0
- package/dist-client/helps/scene/images/both-arrow-01.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-01.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-02.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-03.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-02.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-03.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-08.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-12.png +0 -0
- package/dist-client/helps/scene/images/chart-data-01.png +0 -0
- package/dist-client/helps/scene/images/chart-data-04.png +0 -0
- package/dist-client/helps/scene/images/chart-doughnut-01.png +0 -0
- package/dist-client/helps/scene/images/chart-horizontal-bar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-line-01.png +0 -0
- package/dist-client/helps/scene/images/chart-mix-01.png +0 -0
- package/dist-client/helps/scene/images/chart-mix-02.png +0 -0
- package/dist-client/helps/scene/images/chart-pie-01.png +0 -0
- package/dist-client/helps/scene/images/chart-polar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-radar-01.png +0 -0
- package/dist-client/helps/scene/images/clock-analog-01.png +0 -0
- package/dist-client/helps/scene/images/clock-text-01.png +0 -0
- package/dist-client/helps/scene/images/clock-text-02.png +0 -0
- package/dist-client/helps/scene/images/clock-text-03.png +0 -0
- package/dist-client/helps/scene/images/clock-text-04.png +0 -0
- package/dist-client/helps/scene/images/container-01.png +0 -0
- package/dist-client/helps/scene/images/container-03.png +0 -0
- package/dist-client/helps/scene/images/container-04.png +0 -0
- package/dist-client/helps/scene/images/dash-01.png +0 -0
- package/dist-client/helps/scene/images/donut-01.png +0 -0
- package/dist-client/helps/scene/images/donut-02.png +0 -0
- package/dist-client/helps/scene/images/ellipse-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-02.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-03.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-04.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-05.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-06.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-07.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-08.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-09.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-10.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-11.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-12.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-13.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-14.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-15.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-16.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-17.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-18.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-19.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-20.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-21.png +0 -0
- package/dist-client/helps/scene/images/gauge-horizontal-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-02.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-03.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-04.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-05.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-06.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-07.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-08.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-09.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-10.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-11.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-12.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-13.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-14.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-15.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-16.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-17.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-18.png +0 -0
- package/dist-client/helps/scene/images/half-round-rect-01.png +0 -0
- package/dist-client/helps/scene/images/half-round-rect-02.png +0 -0
- package/dist-client/helps/scene/images/indoor-button-finish-01.gif +0 -0
- package/dist-client/helps/scene/images/indoor-create-01.png +0 -0
- package/dist-client/helps/scene/images/indoor-create-02.png +0 -0
- package/dist-client/helps/scene/images/indoor-create-03.png +0 -0
- package/dist-client/helps/scene/images/indoor-setting-01.png +0 -0
- package/dist-client/helps/scene/images/line-01.png +0 -0
- package/dist-client/helps/scene/images/marker-01.png +0 -0
- package/dist-client/helps/scene/images/marker-02.png +0 -0
- package/dist-client/helps/scene/images/media-01.png +0 -0
- package/dist-client/helps/scene/images/media-02.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_1.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_2.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_3.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_video_1.gif +0 -0
- package/dist-client/helps/scene/images/news_ticker_video_2.gif +0 -0
- package/dist-client/helps/scene/images/polygon-01.png +0 -0
- package/dist-client/helps/scene/images/polyline-01.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-01.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-02.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-03.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-04.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-05.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-01.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-02.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-03.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-04.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-01.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-02.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-03.png +0 -0
- package/dist-client/helps/scene/images/rect-01.png +0 -0
- package/dist-client/helps/scene/images/rect-02.png +0 -0
- package/dist-client/helps/scene/images/single-arrow-01.png +0 -0
- package/dist-client/helps/scene/images/star-01.png +0 -0
- package/dist-client/helps/scene/images/star-02.png +0 -0
- package/dist-client/helps/scene/images/star-03.png +0 -0
- package/dist-client/helps/scene/images/tab-button-finish-01.gif +0 -0
- package/dist-client/helps/scene/images/tab-container-03.png +0 -0
- package/dist-client/helps/scene/images/tab-container-create-01.png +0 -0
- package/dist-client/helps/scene/images/tab-container-create-02.png +0 -0
- package/dist-client/helps/scene/images/tab-container-create-03.png +0 -0
- package/dist-client/helps/scene/images/tab-container-setting-01.png +0 -0
- package/dist-client/helps/scene/images/text-01.png +0 -0
- package/dist-client/helps/scene/images/triangle-01.png +0 -0
- package/dist-client/helps/setting/images/confirm-button.PNG +0 -0
- package/dist-client/helps/setting/images/delete-button.png +0 -0
- package/dist-client/helps/setting/images/error-setting.png +0 -0
- package/dist-client/helps/setting/images/export-button.png +0 -0
- package/dist-client/helps/setting/images/flowchart-setting-management.jpg +0 -0
- package/dist-client/helps/setting/images/partner-setting.png +0 -0
- package/dist-client/helps/setting/images/partners-list.PNG +0 -0
- package/dist-client/helps/setting/images/save-button.png +0 -0
- package/dist-client/helps/setting/images/select-button.PNG +0 -0
- package/dist-client/helps/setting/images/setting-board.png +0 -0
- package/dist-client/helps/setting/images/upload-button.png +0 -0
- package/dist-client/helps/setting/partner-setting.en.md +19 -0
- package/dist-client/helps/setting/settings.en.md +26 -0
- package/dist-client/helps/setting/settings.ko.md +4 -0
- package/dist-client/index.html +40 -0
- package/dist-client/main.js +2 -0
- package/dist-client/main.js.LICENSE.txt +53 -0
- package/dist-client/modules.js +2 -0
- package/dist-client/modules.js.LICENSE.txt +3 -0
- package/dist-client/node_modules/@hatiolab/things-scene/babel.config.js +1 -0
- package/dist-client/node_modules/@hatiolab/things-scene/package.json +89 -0
- package/dist-client/node_modules/@hatiolab/things-scene/rollup.config.js +1 -0
- package/dist-client/node_modules/@hatiolab/things-scene/things-board.js +1 -0
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-ie.js +2 -0
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-ie.js.LICENSE.txt +3 -0
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-min.js +2 -0
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-min.js.LICENSE.txt +3 -0
- package/dist-client/node_modules/@hatiolab/things-scene/tsconfig.json +9 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/CHANGELOG.md +71 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/LICENSE.md +19 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/README.md +259 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js +2 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js.LICENSE.txt +9 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/package.json +51 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.d.ts +175 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js +2 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.LICENSE.txt +9 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.map +1 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +2 -0
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js.LICENSE.txt +9 -0
- package/dist-client/node_modules/web-animations-js/web-animations-next.min.js +1 -0
- package/dist-client/node_modules/web-animations-js/web-animations-next.min.js.map +1 -0
- package/dist-client/oauth2/oauth2-decision-error-page.js +2 -0
- package/dist-client/oauth2/oauth2-decision-error-page.js.LICENSE.txt +70 -0
- package/dist-client/oauth2/oauth2-decision-page.js +2 -0
- package/dist-client/oauth2/oauth2-decision-page.js.LICENSE.txt +104 -0
- package/dist-client/openapi/unstable/scenario.yaml +240 -0
- package/dist-client/openapi/unstable.yaml +41 -0
- package/dist-client/profile.js +1 -0
- package/dist-client/public/home.js +2 -0
- package/dist-client/public/home.js.LICENSE.txt +81 -0
- package/dist-client/scene-player.js +2 -0
- package/dist-client/scene-player.js.LICENSE.txt +822 -0
- package/dist-client/scene-viewer.js +2 -0
- package/dist-client/scene-viewer.js.LICENSE.txt +822 -0
- package/dist-client/service-worker.js +2 -0
- package/dist-client/service-worker.js.LICENSE.txt +6 -0
- package/dist-client/theme.css +17 -0
- package/dist-client/translations/en.json +1242 -0
- package/dist-client/translations/ko.json +1245 -0
- package/dist-client/translations/ms.json +1210 -0
- package/dist-client/translations/zh.json +1192 -0
- package/dist-client/views/auth-page.html +96 -0
- package/dist-client/views/dependencies-view-graphviz.html +75 -0
- package/dist-client/views/dependencies-view.html +139 -0
- package/dist-client/views/internal-board-full-feature-view.html +61 -0
- package/dist-client/views/internal-board-service-view.html +65 -0
- package/dist-client/views/internal-label-command-view.html +300 -0
- package/dist-client/views/oauth2-page.html +90 -0
- package/dist-client/views/public/home.html +87 -0
- package/dist-client/views/public/html-editor-editorjs.html +269 -0
- package/dist-client/views/public/html-editor-jodit.html +31 -0
- package/dist-client/views/public/html-editor-tui.html +54 -0
- package/dist-client/views/scenario-view.html +64 -0
- package/dist-client/views/template.html +21 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +24 -49
- package/logs/.18d091b2bdb152ebed6b3b89b64872d0259f255d-audit.json +20 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +12 -32
- package/logs/application-2022-04-25-13.log +3 -0
- package/logs/application-2022-04-25-17.log +9 -0
- package/logs/application-2022-04-26-10.log +28 -0
- package/logs/application-2022-04-26-11.log +13 -0
- package/logs/application-2022-04-26-13.log +9 -0
- package/logs/application-2023-01-17-09.log +7 -0
- package/logs/application-2023-01-17-18.log +2 -0
- package/logs/application-2023-01-19-00.log +3 -0
- package/logs/application-2023-01-19-01.log +3 -0
- package/logs/application-2023-01-19-08.log +3 -0
- package/logs/application-2023-01-19-09.log +1 -0
- package/logs/application-2023-01-19-10.log +1 -0
- package/logs/application-2023-01-19-17.log +1 -0
- package/logs/connections-2022-04-18-20.log +0 -0
- package/logs/connections-2022-04-25-13.log +0 -0
- package/logs/connections-2022-04-25-17.log +0 -0
- package/logs/connections-2022-04-26-10.log +0 -0
- package/logs/connections-2022-04-26-11.log +0 -0
- package/logs/connections-2022-04-26-13.log +0 -0
- package/logs/connections-2023-01-17-09.log +0 -0
- package/logs/connections-2023-01-19-00.log +0 -0
- package/logs/connections-2023-01-19-01.log +0 -0
- package/logs/connections-2023-01-19-08.log +0 -0
- package/logs/system/.277b657c3d28ef3f7f13e894f05f9a5b78225124-audit.json +15 -0
- package/logs/system/.48785e489f583edb47e5bfd3d5cf6ac2a7e0bf3a-audit.json +15 -0
- package/logs/system/.4f2031dfc4e0de16454872a65d0a8b59646970f7-audit.json +15 -0
- package/logs/system/.6da447827b9a5ea2ccd1f5f28a0b784317582531-audit.json +20 -0
- package/logs/system/.8d440e4a6e875d88d938061d3d3037e6b0d7dc58-audit.json +15 -0
- package/logs/system/.b295089be805f3597aa7380952ce4f2670ac8e21-audit.json +20 -0
- package/logs/system/scenario-MAIN-2022-03-04-16.log +190 -0
- package/logs/system/scenario-PUBLISH-2022-03-16-13.log +8 -0
- package/logs/system/scenario-PUBLISH-2023-01-19-08.log +36 -0
- package/logs/system/scenario-SCALER-TEST-2022-02-25-11.log +14 -0
- package/logs/system/scenario-SCHEDULE-TESt-2022-03-02-12.log +66 -0
- package/logs/system/scenario-SCHEDULE-TESt-2022-03-02-13.log +1396 -0
- package/logs/system/scenario-pubsub-2-2022-04-11-23.log +12 -0
- package/logs/system/scenario-pubsub-2-2022-04-12-14.log +12 -0
- package/logs/system/scenario-pubsub-2022-04-11-23.log +277 -0
- package/package.json +34 -34
- package/attachments/03e21709-60c1-4796-bb0b-9920148ce2c6.png +0 -0
- package/attachments/1c5f7b4e-45f7-47dc-94e2-6d4aa04c331d.png +0 -0
- package/attachments/5c7f2330-a93d-4c48-bcca-6b2a10974386.png +0 -0
- package/attachments/97e18c62-6e73-4407-a062-276cd25de43a.png +0 -0
- package/attachments/9c6e1599-a4e2-483e-833d-c67e336b27e5.png +0 -0
- package/attachments/9d1d12ea-0140-46cc-8eba-b1ab475bfd98.png +0 -0
- package/attachments/a727d8fa-5afe-47b3-9b29-97a1f26637f3.png +0 -0
- package/attachments/b713c6b6-15e3-4c80-a288-b0e8eba5e091.png +0 -0
- package/attachments/c7b6e18b-fd21-49c5-8a38-9b2455957c2a.png +0 -0
- package/attachments/dabc0a7e-bb5b-46a3-b73c-d310c95f0832.png +0 -0
- package/attachments/f099313a-c616-4753-b2d7-33db2ac29b3b.png +0 -0
- package/attachments/f90a4af7-5555-4078-8960-2c978363ac42.png +0 -0
- package/logs/application-2023-03-19-07.log +0 -11
- package/logs/application-2023-03-19-08.log +0 -4
- package/logs/application-2023-03-19-10.log +0 -5
- package/logs/application-2023-03-19-11.log +0 -10
- package/logs/application-2023-03-19-12.log +0 -5
- package/logs/application-2023-03-19-16.log +0 -3
- package/logs/application-2023-03-19-19.log +0 -1
- package/logs/application-2023-03-19-20.log +0 -2
- package/logs/application-2023-03-19-21.log +0 -1
- package/logs/application-2023-03-21-03.log +0 -15
- package/logs/application-2023-03-21-04.log +0 -15
- package/logs/application-2023-03-21-12.log +0 -3
- package/logs/application-2023-03-21-13.log +0 -3
- /package/{attachments/92a49294-725c-445c-8fe3-98d328d6d0a5.png → dist-client/assets/images/image-api.png} +0 -0
- /package/{logs/connections-2023-03-13-10.log → dist-client/helps/scene/component/image-view.md} +0 -0
- /package/{logs/connections-2023-03-13-11.log → dist-client/theme.js} +0 -0
- /package/logs/{connections-2023-03-19-07.log → connections-2022-04-12-14.log} +0 -0
- /package/logs/{connections-2023-03-19-10.log → connections-2022-04-12-16.log} +0 -0
- /package/logs/{connections-2023-03-19-11.log → connections-2022-04-14-13.log} +0 -0
- /package/logs/{connections-2023-03-19-12.log → connections-2022-04-14-17.log} +0 -0
- /package/logs/{connections-2023-03-21-03.log → connections-2022-04-15-08.log} +0 -0
- /package/logs/{connections-2023-03-21-04.log → connections-2022-04-18-10.log} +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# redirection
|
|
2
|
+
|
|
3
|
+
사용자가 브라우저에서 어플리케이션을 사용하는 경우에 사용자의 액션에 의한 URL 요청이 서버쪽에서 여러가지 상황에서 다른 URL로 리디렉트될 수 있다.
|
|
4
|
+
(HTTP 응답코드 302(임시이동)로 응답되는 상황을 의미한다.)
|
|
5
|
+
URL 리디렉션으로 브라우저에는 사용자가 요청한 URL이 아닌 리디렉트된 페이지가 보여지게 된다.
|
|
6
|
+
통상적으로 리디렉트된 페이지는 적절한 과정을 거쳐서 최종적으로는 항상 사용자가 최초에 요청한 URL에 해당하는 페이지로 도달하게 된다.
|
|
7
|
+
|
|
8
|
+
## URL 리디렉션이 배제되는 경우
|
|
9
|
+
|
|
10
|
+
- 데이타만을 요청하는 API호출인 경우에는 리디렉션이 동작하지 않는다.
|
|
11
|
+
- 모든 graphql 요청은 API 호출이다.
|
|
12
|
+
- Restful 요청의 경우에도 API로 호출된 경우가 있다.
|
|
13
|
+
- 클라이언트 요청이 API 호출인지 여부는 accept 헤더에 'text/html', '\*/\*\' 이 포함되어있는지로 판단한다. 즉, accept 헤더에 'text/html', '\*/\*'중의 하나라도 포함되어있으면, API호출이 아니라고 판단한다.
|
|
14
|
+
|
|
15
|
+
## GET/POST method Routing Pair (리디렉션과 서버사이드 페이지 렌더링)
|
|
16
|
+
|
|
17
|
+
사용자의 페이지 요청에 대해 리디렉션을 사용하는 경우와 서버사이드 페이지 렌더링이 사용되는 경우를 판단할 필요가 있다.
|
|
18
|
+
클라이언트 페이지 네비게이션이 동반되는 플로우는 엄밀하게 이 원칙을 따라야 한다.
|
|
19
|
+
다음 사례를 생각해보자
|
|
20
|
+
|
|
21
|
+
- signin
|
|
22
|
+
- 사용자가 보낸 요청이 인증 정보를 필요로 하는 요청인 경우, 서버에서는 요청 패킷과 세션정보를 분석해서 현재 사용자 인증여부를 판단한다.
|
|
23
|
+
- 만약 인증에 실패하였다면, 사용자의 요청을 처리하게 전에 먼저 인증을 요청하는 페이지(signin)로 리디렉트 된다.
|
|
24
|
+
- 사용자의 최초 요청은 리디렉트 URL(signin)에 (redirectTo - URL Query String 파라미터로) 포함되어서 계속 유지되게 된다.
|
|
25
|
+
- 사용자 인증 페이지(signin)는 서버사이드 페이지 렌더링을 통해서 사용자에게 제공된다.
|
|
26
|
+
- 사용자는 인증 정보를 작성한 후 (signin) POST 요청으로 서버에 전달된다. POST 요청에도 최초 요청 URL은 (redirectTo Body 파라미터로) 계속 포함되어있다.
|
|
27
|
+
- 인증정보가 잘못되었다면, 다시 서버사이드 페이지 렌더링을 통해서 signin 페이지가 다시 제공된다.
|
|
28
|
+
- 서버에서는 사용자가 선택한 도메인 정보와 사용자가 원래 요청한 URL을 조합한 URL로 다시 리디렉트 한다.
|
|
29
|
+
- checkin
|
|
30
|
+
- 사용자가 보낸 요청이 도메인(테넌시) 정보를 필요로하는 요청인 경우, 서버에서는 요청 패킷을 분석해서 어떤 도메인에서 서비스되어야 하는 지를 판단한다. (도메인을 판단하는데 세션정보를 사용해서는 안된다.)
|
|
31
|
+
- 만약 요청 패킷에서 도메인 정보를 찾을 수 없는 경우, 사용자의 요청을 처리하기 전에 먼저 도메인 선택을 요구하는 페이지(checkin)로 리디렉트 된다.
|
|
32
|
+
- 사용자의 최초 요청은 리디렉트 URL(checkin)에 (redirectTo - URL Query String 파라미터로) 포함되어서 계속 유지되게 된다.
|
|
33
|
+
- 도메인 선택을 요구하는 페이지(checkin)는 서버사이드 페이지 렌더링을 통해서 선택할 수 있는 도메인의 리스트를 포함해서 사용자에게 제공된다.
|
|
34
|
+
- 사용자가 도메인을 선택한 결과는 (checkin) POST 요청으로 서버에 전달된다. POST 요청에도 최초 요청 URL은 (redirectTo Body 파라미터로) 계속 포함되어있다.
|
|
35
|
+
- 서버에서는 사용자가 선택한 도메인 정보와 사용자가 원래 요청한 URL을 조합한 URL로 다시 리디렉트 한다.
|
|
36
|
+
|
|
37
|
+
위의 사례에 따른 원칙은
|
|
38
|
+
|
|
39
|
+
- 리디렉션 프로세스를 위해서는 각 페이지 PATH(eg. signin, checkin) 별로 2개의 라우팅 구현을 제공한다.
|
|
40
|
+
- get 메쏘드
|
|
41
|
+
- 리디렉션의 목적을 위한 페이지를 서버사이드에서 렌더링해서 브라우저에 제공한다.
|
|
42
|
+
- 원래의 요청 페이지 정보는 redirectTo URL Query String 파라미터로 포함한다.
|
|
43
|
+
- post 메쏘드
|
|
44
|
+
- 사용자의 대응을 통해 리디렉션의 목적을 처리하고, 원래의 요청 페이지로 리디렉션하는 기능을 제공한다.
|
|
45
|
+
- 원래의 요청 페이지 정보는 redirectTo Body 파라미터로 유지한다.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# TypeGraphql을 적용하는 이유.
|
|
2
|
+
|
|
3
|
+
[Modern framework for GraphQL API in Node.js](https://typegraphql.com/)
|
|
4
|
+
|
|
5
|
+
## 이전 방식에서 아쉬운 점
|
|
6
|
+
|
|
7
|
+
[관련 이슈 - [shell] typegraphql fully support](https://github.com/hatiolab/things-factory/issues/770)
|
|
8
|
+
|
|
9
|
+
- graphql의 타입이 typescript의 타입형태가 아니므로 resolver 구현시 명시적인 타입 적용이 어려워서 typescript의 장점이 반감됨.
|
|
10
|
+
- 사실상 graphql타입과 entity는 거의 동일한 경우가 많은데, graphql의 타입이 entity의 타입과 일치하지 않으므로, resolver 구현시 typescript 타입을 다시 정의하게되는 경우도 있음.
|
|
11
|
+
- graphql 관련된 구현(타입, 리솔버, 엔티티)가 분산되어 있으므로, redundant한 느낌이 있으며, 오류를 인식하거나 찾아내기가 어려웠음.
|
|
12
|
+
|
|
13
|
+
## typegraphql을 적용시 개선되는 점
|
|
14
|
+
|
|
15
|
+
- resolver를 구현할 때, typescript 타입을 온전히 적용할 수 있으므로, 타입관련된 코드 오류를 코딩 시점에 인지할 가능성이 높다.
|
|
16
|
+
- gql template literal을 사용하여 graphql 타입을 정의하지 않아도 되므로, gql template literal과 관련된 오류가 방지된다.
|
|
17
|
+
- resolver 구현시 graphql 타입정보가 같이 있으므로(타입과 구현이 분산되지 않으므로), 코드 오류가 방지된다.
|
|
18
|
+
|
|
19
|
+
## 적용 방법
|
|
20
|
+
|
|
21
|
+
- 이전방식과 typegraphql 방식이 혼용될 수 있도록 구성하였으므로, 신규로 개발하는 모듈부터 적용할 것을 추천함.
|
|
22
|
+
- 다른 entity와 resolver에서 많이 레퍼런스되는 것들 우선하여 typegraphql을 적용하였음 (domain, auth-base, ..)
|
|
23
|
+
- shell
|
|
24
|
+
- auth-base (일부)
|
|
25
|
+
- setting-base
|
|
26
|
+
- integration-base
|
|
27
|
+
- board-service
|
|
28
|
+
- lite-menu
|
|
29
|
+
- ..
|
|
30
|
+
- plop template - 'entity' generator 를 'service' generator 로 변경 적용하였음
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
## 유의 사항
|
|
35
|
+
|
|
36
|
+
### types mapping
|
|
37
|
+
|
|
38
|
+
| description | typescript | typegraphql | graphql |
|
|
39
|
+
| ----------------- | ----------------- | ------------------------------------------ | --------------- |
|
|
40
|
+
| 문자열 | string | String (tyepgraphql 자동 매핑) | String |
|
|
41
|
+
| 정수형 | number (Integer) | Int | Int |
|
|
42
|
+
| 실수형 | number (Float) | Float | Float |
|
|
43
|
+
| 날자형 | Date | Timestamp (tyepgraphql 자동 매핑) | Timestamp |
|
|
44
|
+
| 오브젝트형 | ScalarObject | ScalarObject | ScalarObject |
|
|
45
|
+
| any | any | ScalarAny | ScalarAny |
|
|
46
|
+
| 사용자정의 클래스 | SomeClass | SomeClass (ObjectType or InputType로 정의) | SomeClass |
|
|
47
|
+
| 사용자정의 Enum | SomeEnumeration | SomeEnumeration | SomeEnumeration |
|
|
48
|
+
| 어레이형 | SomeType[] | [SomeType] | [SomeType!] |
|
|
49
|
+
| mandatory | 변수명: SomeType | SomeType with nullable => false (default) | SomeType! |
|
|
50
|
+
| optional | 변수명?: SomeType | SomeType with nullable => true | SomeType |
|
|
51
|
+
|
|
52
|
+
### Annotations
|
|
53
|
+
|
|
54
|
+
- ObjectType / InputType
|
|
55
|
+
- Field
|
|
56
|
+
- Resolver
|
|
57
|
+
- Query / Mutation
|
|
58
|
+
- Directive
|
|
59
|
+
- Arg / Args
|
|
60
|
+
- Context
|
|
61
|
+
|
|
62
|
+
### Query sample
|
|
63
|
+
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
### Resolver sample
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
|
|
70
|
+
### 기존 방식과 새로운 방식의 혼용
|
|
71
|
+
|
|
72
|
+
- auth-base 모듈에 기존 방식과 새로운 방식이 혼용되어 있으므로 참고.
|
|
73
|
+
|
|
74
|
+

|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Things Factory Framework
|
|
2
|
+
|
|
3
|
+
## Developers Guide
|
|
4
|
+
|
|
5
|
+
[Things Factory Framework Developers Guide](http://www.hatiolab.com/things-factory-doc/ko/intro/framework/)
|
|
6
|
+
|
|
7
|
+
## Framework Concepts
|
|
8
|
+
|
|
9
|
+
- [redirection](/helps/about/framework/redirection.md)
|
|
10
|
+
- [typegraphql](/helps/about/framework/typegraphql.md)
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# about things factory
|
|
2
|
+
|
|
3
|
+
Things-Factory is an framework to develop web-based apps for desktop, mobile and edge device environment.
|
|
4
|
+
|
|
5
|
+
Things-Factory framework is managed as a monorepo that is composed of hundreds of npm packages.
|
|
6
|
+
These modules compose together to help you create performant modern JS apps that you love to develop and test. These packages are developed primarily to be used on top of the stack we like best for our JS apps; Typescript for the flavor, Koa for the server, LitElement for UI, Apollo for data fetching, and Jest for tests. That said, you can mix and match as you like.
|
|
7
|
+
|
|
8
|
+
- [Contents for modules](./modules.md)
|
|
9
|
+
- [Contents for components](./components.md)
|
|
10
|
+
|
|
11
|
+
## features
|
|
12
|
+
|
|
13
|
+
- It is based on module structure.
|
|
14
|
+
- You can configure related feature sets for each module.
|
|
15
|
+
- It is removable by module.
|
|
16
|
+
- You can define dependencies between modules. Apply nodejs module dependency structure.
|
|
17
|
+
- [Things Factory Modules](./modules.md)
|
|
18
|
+
- [What modules does this application consist of ? (click here with holding ALT key.)](/dependencies)
|
|
19
|
+
- Responsible Web App
|
|
20
|
+
- by Service Worker, Webpush notification, Manifest
|
|
21
|
+
- application layout for mobile
|
|
22
|
+
- Help
|
|
23
|
+
- markdown based online help
|
|
24
|
+
- Support Theme
|
|
25
|
+
- Monorepo managed by lerna and yarn
|
|
26
|
+
- [things-factory github repository](https://github.com/hatiolab/things-factory)
|
|
27
|
+
- Powerful Graphic UI design & viewing tools (board modules)
|
|
28
|
+
- Redux pattern
|
|
29
|
+
- Use i18next for internationalization
|
|
30
|
+
- Simple datagrid
|
|
31
|
+
- responsible design
|
|
32
|
+
- Packaging function uses webpack
|
|
33
|
+
- The code set is based on es6,7,8, and transpiling with babel
|
|
34
|
+
- class-properties
|
|
35
|
+
- decorators
|
|
36
|
+
- object-rest-spread
|
|
37
|
+
- Using Web Component-based DomElement - Defining custom element with LitElement
|
|
38
|
+
- It is activated by linking with URL path and history in Single Page Application.
|
|
39
|
+
- Each page is loaded at the time of initial activation. (lazy loading)
|
|
40
|
+
- Zero Configuration function. It uses SSDP (Service Discovery Protocol) to automatically find services to be connected automatically and provide related functions. For example, it attempts to connect automatically by finding a server to connect to.
|
|
41
|
+
- JWT based authentication (requires improvement to be supported by the server framework)
|
|
42
|
+
- Oauth2 based extern interface
|
|
43
|
+
- as a Oauth2 Server
|
|
44
|
+
- as a Oauth2 Client
|
|
45
|
+
- Free branding
|
|
46
|
+
- Deploy
|
|
47
|
+
- [docker](http://docker.com) ready
|
|
48
|
+
- [kubernetes](http://kubernetes.io) ready
|
|
49
|
+
|
|
50
|
+
## structural conventions
|
|
51
|
+
|
|
52
|
+
- Redux
|
|
53
|
+
- The way to manage the overall state of an Application is using Redux pattern.
|
|
54
|
+
- The application, or base modules, can prepare points in the store that can be extended by a sub-module and provide an action.
|
|
55
|
+
- The sub-modules connect to the extension structure of the application or parent module using the action defined in the parent (base) module.
|
|
56
|
+
- Page, Layout and Component
|
|
57
|
+
- Pages are activated by associating with the URL. (route)
|
|
58
|
+
- Layouts provide a framework for the layout and structure of the entire application UI elements.
|
|
59
|
+
- The components provide independent (atomic) functionality.
|
|
60
|
+
- The component excludes dependencies on the application in order to maintain implementation independence.
|
|
61
|
+
- Style maintains its independence by using css variables.
|
|
62
|
+
- Multilinguals maintain independence by using ox-i18n components. (Only have dependencies on ox-i18n.)
|
|
63
|
+
- The component does not have a premise for the layout (display, position) of the host (container) to which it will be used.
|
|
64
|
+
- page, layouts are connected to redux.
|
|
65
|
+
- Components do not connect to redux, but they work with pages through properties.
|
|
66
|
+
- Base Module and extension (common) Modules (ex. provider, ui)
|
|
67
|
+
- The Base Module provides an abstract definition of special functions.
|
|
68
|
+
- The Base Module is said to provide functional services to the extension module.
|
|
69
|
+
- The extension module can add the base module as a dependent module and directly use the functions defined in the base module.
|
|
70
|
+
- Another way the extension module extends the Base Module is by using the reducer and action added to the store.
|
|
71
|
+
- The Base Module is a base module that reads a group of modules. For example, board-base module is a base module for all board functions. In addition, label-base module defines and implements functions related to the label, including barcode label pop-up, barcode label scanning, barcode label rendering and printing.
|
|
72
|
+
- The naming convention of base module for xxx module is 'xxx-base'.
|
|
73
|
+
- Provider Module
|
|
74
|
+
- Sub-module that fills the data of Base module
|
|
75
|
+
- It mainly serves to fill the data defined in Base module from the external server.
|
|
76
|
+
- The naming convention for Provider module of xxx module is 'xxx-provider'.
|
|
77
|
+
- If it is necessary to be distinguished by the way data is provided, the naming convention for Provider module of xxx module using yyy method can be defined as 'xxx-provider-yyy'.
|
|
78
|
+
- UI Module
|
|
79
|
+
- Sub-module responsible for the screen configuration related to Base module
|
|
80
|
+
- The naming convention for UI module of xxx module is 'xxx-ui'.
|
|
81
|
+
- If it is necessary to be distinguished by UI configuration method, the naming convention for UI module of xxx module using yyy method may be 'xxx-ui-yyy'.
|
|
82
|
+
- Shell, Module and Application
|
|
83
|
+
- Shell provides all the structures that enable the module structure in the development and execution stages.
|
|
84
|
+
- redux, assets, routing
|
|
85
|
+
- build module, build application
|
|
86
|
+
- Module is only responsible for implementing its own purpose in the Shell base.
|
|
87
|
+
- Application is the final product that consists of the modules necessary for the purpose of Shell and the user.
|
|
88
|
+
- Configurations by Application
|
|
89
|
+
- Manifest file (brand-related - application name, logo image)
|
|
90
|
+
- Other brand related - homepage link, banner logo
|
|
91
|
+
- Style : Representative color table, other css variables
|
|
92
|
+
- Server connection IP
|
|
93
|
+
- Other source/resource override
|
|
94
|
+
|
|
95
|
+
## Other coding conventions
|
|
96
|
+
|
|
97
|
+
- Source file length recommended
|
|
98
|
+
- Each source file implements one of the most important purposes. (Be responsible for simple purposes rather than multiple purposes.)
|
|
99
|
+
- If there is no specific reason for each source file, it is recommended not to exceed 200 lines.
|
|
100
|
+
- Naming
|
|
101
|
+
|
|
102
|
+
- class
|
|
103
|
+
- Class name : starts with uppercase, camel-case
|
|
104
|
+
- private property, method : starts with \_(underscore), camel-case
|
|
105
|
+
- public property, method : starts with lowercase, camel-case
|
|
106
|
+
- class property, method : starts with lowercase, camel-case
|
|
107
|
+
- Event handler : starts with on + EventName, camel-case
|
|
108
|
+
|
|
109
|
+
- Localization
|
|
110
|
+
- Don’t capitalize explicitly in locale file
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
"field.system brief": "System Brief" (x)
|
|
114
|
+
"field.system brief": "system brief" (o)
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
You can set it to style where you need it.
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
text-transform: capitalize;
|
|
121
|
+
text-transform: uppercase;
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
- If possible, use ‘ms.json’ rather than ‘ms-My.json’. In particular, use ‘ms-My’ only if it is a Malay language that is used differently only in Malaysia.
|
|
125
|
+
|
|
126
|
+
## authentication
|
|
127
|
+
|
|
128
|
+
### things-factory/shell
|
|
129
|
+
|
|
130
|
+
- Control the authentication process through auth base.
|
|
131
|
+
- Set authentication through auth base.
|
|
132
|
+
- Provide auth action.
|
|
133
|
+
- You can change store through authentication related action.
|
|
134
|
+
- Provide auth reducer.
|
|
135
|
+
- That is, it sets through auth base and provides auth-related extension point.
|
|
136
|
+
- In particular, auth base function is provided directly in things-factory shell.
|
|
137
|
+
|
|
138
|
+
### things-factory/auth-ui
|
|
139
|
+
|
|
140
|
+
- Provide the client side authentication process based on JSON webtoken.
|
|
141
|
+
|
|
142
|
+
## prerequisites
|
|
143
|
+
|
|
144
|
+
- Install Windows Subsystem for Linux on Windows (Windows)
|
|
145
|
+
- Install WSL using Ubuntu following https://docs.microsoft.com/en-gb/windows/wsl/install-win10
|
|
146
|
+
- VS Code Extensions
|
|
147
|
+
- Prettier - Code formatter
|
|
148
|
+
- es6-string-css
|
|
149
|
+
- lit-html
|
|
150
|
+
- VS Code Configuration
|
|
151
|
+
- Format on save: true
|
|
152
|
+
- nodejs (v8.0.0 and above)
|
|
153
|
+
- yarn
|
|
154
|
+
- Chrome Browser Extension
|
|
155
|
+
- https://github.com/zalmoxisus/redux-devtools-extension
|
|
156
|
+
- Node-gyp (For Ubuntu)
|
|
157
|
+
- npm install -g node-gyp
|
|
158
|
+
- Python2 (For Ubuntu)
|
|
159
|
+
- sudo apt-get install python
|
|
160
|
+
- npm install --python=python2.7
|
|
161
|
+
- npm config set python python2.7
|
|
162
|
+
- mdns (For Ubuntu)
|
|
163
|
+
- sudo apt-get install build-essential
|
|
164
|
+
- sudo apt-get install libavahi-compat-libdnssd-dev
|
|
165
|
+
- node-printer (For Ubuntu)
|
|
166
|
+
- sudo apt-get install libcups2-dev
|
|
167
|
+
|
|
168
|
+
## Usages
|
|
169
|
+
|
|
170
|
+
The things-factory repo is managed as a monorepo that is composed of hundreds of npm packages.
|
|
171
|
+
Each package has its own `README.md` and documentation describing usage.
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
# very first time
|
|
175
|
+
$ yarn install
|
|
176
|
+
$ yarn build # build all packages
|
|
177
|
+
$ DEBUG=things-factory:*,typeorm:* yarn workspace @things-factory/operato-mms run migration
|
|
178
|
+
$ DEBUG=things-factory:* yarn workspace @things-factory/operato-mms run serve:dev
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
# after a new module package(ie. @things-factory/newbee) added
|
|
183
|
+
$ yarn install # make newbee package join
|
|
184
|
+
$ yarn workspace @things-factory/newbee build
|
|
185
|
+
$ DEBUG=things-factory:* yarn workspace @things-factory/operato-mms run serve:dev
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
# after a dependent package(ie. @things-factory/dependa) modified
|
|
190
|
+
$ yarn workspace @things-factory/dependa build
|
|
191
|
+
$ DEBUG=things-factory:* yarn workspace @things-factory/operato-mms run serve:dev
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
# run application (ie. @things-factory/operato-mms) in production mode
|
|
196
|
+
$ yarn workspace @things-factory/dependa build
|
|
197
|
+
$ yarn workspace @things-factory/dependa build:client
|
|
198
|
+
$ yarn workspace @things-factory/operato-mms run serve
|
|
199
|
+
|
|
200
|
+
# The way to use the config file is the same as before.
|
|
201
|
+
# Don't forget to give a config file to make the app run.
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
# generate new application (ie. @things-factory/operato-xyz)
|
|
206
|
+
$ yarn generate app
|
|
207
|
+
? What should this application's name be? Ex. operato-abc > # type "operato-xyz"
|
|
208
|
+
|
|
209
|
+
# generate new module (ie. @things-factory/notification)
|
|
210
|
+
$ yarn generate module
|
|
211
|
+
? What should this module's name be? Ex. menu > # type "notification"
|
|
212
|
+
|
|
213
|
+
# generate new entity in a module (ie. "sms" entity in @things-factory/notification module)
|
|
214
|
+
$ yarn generate entity
|
|
215
|
+
? What is target package's name? Ex. biz-base, operato-mms > # type "notification"
|
|
216
|
+
? What should this entitie's name be? Ex. company, company-ext > # type "sms"
|
|
217
|
+
|
|
218
|
+
# generate new page in a module (ie. "sms-view" page in @things-factory/notification module)
|
|
219
|
+
$ yarn generate page
|
|
220
|
+
? What is target package's name? Ex. biz-base, operato-mms > # type "notification"
|
|
221
|
+
? What should this pages's name be? Ex. abc-viewer > # type "sms-view"
|
|
222
|
+
|
|
223
|
+
# generate new scene-module from scratch (ie. @things-factory/scene-random)
|
|
224
|
+
$ yarn generate app
|
|
225
|
+
? What should this module's name be? Ex. random > # type "scene-random"
|
|
226
|
+
|
|
227
|
+
# generate new scene-component in a module (ie. "button" component in @things-factory/scene-switch module)
|
|
228
|
+
$ yarn generate component
|
|
229
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
230
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
231
|
+
|
|
232
|
+
# generate new container component in a module (ie. "button" container component in @things-factory/scene-switch module)
|
|
233
|
+
$ yarn generate container
|
|
234
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
235
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
236
|
+
|
|
237
|
+
# generate new html base scene component in a module (ie. "button" html-component in @things-factory/scene-switch module)
|
|
238
|
+
$ yarn generate html-component
|
|
239
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
240
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
241
|
+
|
|
242
|
+
# generate new data source scene component in a module (ie. "button" component in @things-factory/scene-switch module)
|
|
243
|
+
$ yarn generate data-source
|
|
244
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
245
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
246
|
+
|
|
247
|
+
# generate new data transform scene component in a module (ie. "button" component in @things-factory/scene-switch module)
|
|
248
|
+
$ yarn generate data-transform
|
|
249
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
250
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
## References
|
|
254
|
+
|
|
255
|
+
- https://github.com/material-components/material-components-web-components
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# about things factory
|
|
2
|
+
|
|
3
|
+
Things-Factory는 데스크톱 및 모바일 그리고 엣지 디바이스 환경에서 구동되는 웹기반 어플리케이션을 개발하기위한 프레임워크입니다.
|
|
4
|
+
|
|
5
|
+
Things-Factory 프레임워크는 수많은 NPM 패키지들로 구성된 모노리포 개발환경을 제공합니다.
|
|
6
|
+
이 패키지들은 잘 조합되어 고성능의 자바스크립트 앱을 개발하는데 있어서 최신의 개발 및 테스트 환경을 제공합니다.
|
|
7
|
+
이 패키지들은 자바스크립트 앱을 개발하기위한 최적의 계층적 구조를 구성하도록 개발되었습니다.
|
|
8
|
+
Typescript를 포함하여, 서버사이들의 Koa, 웹컴포넌트 UI를 위한 LitElement, 클라이언트 서버간의 Graphql 통신을 위한 Apollo 그리고 테스트를 위한 Jest 등이 적용되었습니다. 이들을 잘 연결하고 조립하여 최고의 어플리케이션을 만들어보세요.
|
|
9
|
+
|
|
10
|
+
- [Contents for modules](./modules.md)
|
|
11
|
+
- [Contents for components](./components.md)
|
|
12
|
+
- [Concepts for framework](./framework.md)
|
|
13
|
+
|
|
14
|
+
## features
|
|
15
|
+
|
|
16
|
+
- It is based on module structure.
|
|
17
|
+
- You can configure related feature sets for each module.
|
|
18
|
+
- It is removable by module.
|
|
19
|
+
- You can define dependencies between modules. Apply nodejs module dependency structure.
|
|
20
|
+
- [Things Factory Modules](./modules.md)
|
|
21
|
+
- [What modules does this application consist of ? (click here with holding ALT key.)](/dependencies)
|
|
22
|
+
- Responsible Web App
|
|
23
|
+
- by Service Worker, Webpush notification, Manifest
|
|
24
|
+
- application layout for mobile
|
|
25
|
+
- Help
|
|
26
|
+
- markdown based online help
|
|
27
|
+
- Support Theme
|
|
28
|
+
- Monorepo managed by lerna and yarn
|
|
29
|
+
- [things-factory github repository](https://github.com/hatiolab/things-factory)
|
|
30
|
+
- Powerful Graphic UI design & viewing tools (board modules)
|
|
31
|
+
- Redux pattern
|
|
32
|
+
- Use i18next for internationalization
|
|
33
|
+
- Simple datagrid
|
|
34
|
+
- responsible design
|
|
35
|
+
- Packaging function uses webpack
|
|
36
|
+
- The code set is based on es6,7,8, and transpiling with babel
|
|
37
|
+
- class-properties
|
|
38
|
+
- decorators
|
|
39
|
+
- object-rest-spread
|
|
40
|
+
- Using Web Component-based DomElement - Defining custom element with LitElement
|
|
41
|
+
- It is activated by linking with URL path and history in Single Page Application.
|
|
42
|
+
- Each page is loaded at the time of initial activation. (lazy loading)
|
|
43
|
+
- Zero Configuration function. It uses SSDP (Service Discovery Protocol) to automatically find services to be connected automatically and provide related functions. For example, it attempts to connect automatically by finding a server to connect to.
|
|
44
|
+
- JWT based authentication (requires improvement to be supported by the server framework)
|
|
45
|
+
- Oauth2 based extern interface
|
|
46
|
+
- as a Oauth2 Server
|
|
47
|
+
- as a Oauth2 Client
|
|
48
|
+
- Free branding
|
|
49
|
+
- Deploy
|
|
50
|
+
- [docker](http://docker.com) ready
|
|
51
|
+
- [kubernetes](http://kubernetes.io) ready
|
|
52
|
+
|
|
53
|
+
## structural conventions
|
|
54
|
+
|
|
55
|
+
- Redux
|
|
56
|
+
- The way to manage the overall state of an Application is using Redux pattern.
|
|
57
|
+
- The application, or base modules, can prepare points in the store that can be extended by a sub-module and provide an action.
|
|
58
|
+
- The sub-modules connect to the extension structure of the application or parent module using the action defined in the parent (base) module.
|
|
59
|
+
- Page, Layout and Component
|
|
60
|
+
- Pages are activated by associating with the URL. (route)
|
|
61
|
+
- Layouts provide a framework for the layout and structure of the entire application UI elements.
|
|
62
|
+
- The components provide independent (atomic) functionality.
|
|
63
|
+
- The component excludes dependencies on the application in order to maintain implementation independence.
|
|
64
|
+
- Style maintains its independence by using css variables.
|
|
65
|
+
- Multilinguals maintain independence by using ox-i18n components. (Only have dependencies on ox-i18n.)
|
|
66
|
+
- The component does not have a premise for the layout (display, position) of the host (container) to which it will be used.
|
|
67
|
+
- page, layouts are connected to redux.
|
|
68
|
+
- Components do not connect to redux, but they work with pages through properties.
|
|
69
|
+
- Base Module and extension (common) Modules (ex. provider, ui)
|
|
70
|
+
- The Base Module provides an abstract definition of special functions.
|
|
71
|
+
- The Base Module is said to provide functional services to the extension module.
|
|
72
|
+
- The extension module can add the base module as a dependent module and directly use the functions defined in the base module.
|
|
73
|
+
- Another way the extension module extends the Base Module is by using the reducer and action added to the store.
|
|
74
|
+
- The Base Module is a base module that reads a group of modules. For example, board-base module is a base module for all board functions. In addition, label-base module defines and implements functions related to the label, including barcode label pop-up, barcode label scanning, barcode label rendering and printing.
|
|
75
|
+
- The naming convention of base module for xxx module is 'xxx-base'.
|
|
76
|
+
- Provider Module
|
|
77
|
+
- Sub-module that fills the data of Base module
|
|
78
|
+
- It mainly serves to fill the data defined in Base module from the external server.
|
|
79
|
+
- The naming convention for Provider module of xxx module is 'xxx-provider'.
|
|
80
|
+
- If it is necessary to be distinguished by the way data is provided, the naming convention for Provider module of xxx module using yyy method can be defined as 'xxx-provider-yyy'.
|
|
81
|
+
- UI Module
|
|
82
|
+
- Sub-module responsible for the screen configuration related to Base module
|
|
83
|
+
- The naming convention for UI module of xxx module is 'xxx-ui'.
|
|
84
|
+
- If it is necessary to be distinguished by UI configuration method, the naming convention for UI module of xxx module using yyy method may be 'xxx-ui-yyy'.
|
|
85
|
+
- Shell, Module and Application
|
|
86
|
+
- Shell provides all the structures that enable the module structure in the development and execution stages.
|
|
87
|
+
- redux, assets, routing
|
|
88
|
+
- build module, build application
|
|
89
|
+
- Module is only responsible for implementing its own purpose in the Shell base.
|
|
90
|
+
- Application is the final product that consists of the modules necessary for the purpose of Shell and the user.
|
|
91
|
+
- Configurations by Application
|
|
92
|
+
- Manifest file (brand-related - application name, logo image)
|
|
93
|
+
- Other brand related - homepage link, banner logo
|
|
94
|
+
- Style : Representative color table, other css variables
|
|
95
|
+
- Server connection IP
|
|
96
|
+
- Other source/resource override
|
|
97
|
+
|
|
98
|
+
## Other coding conventions
|
|
99
|
+
|
|
100
|
+
- Source file length recommended
|
|
101
|
+
- Each source file implements one of the most important purposes. (Be responsible for simple purposes rather than multiple purposes.)
|
|
102
|
+
- If there is no specific reason for each source file, it is recommended not to exceed 200 lines.
|
|
103
|
+
- Naming
|
|
104
|
+
|
|
105
|
+
- class
|
|
106
|
+
- Class name : starts with uppercase, camel-case
|
|
107
|
+
- private property, method : starts with \_(underscore), camel-case
|
|
108
|
+
- public property, method : starts with lowercase, camel-case
|
|
109
|
+
- class property, method : starts with lowercase, camel-case
|
|
110
|
+
- Event handler : starts with on + EventName, camel-case
|
|
111
|
+
|
|
112
|
+
- Localization
|
|
113
|
+
- Don’t capitalize explicitly in locale file
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
"field.system brief": "System Brief" (x)
|
|
117
|
+
"field.system brief": "system brief" (o)
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
You can set it to style where you need it.
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
text-transform: capitalize;
|
|
124
|
+
text-transform: uppercase;
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
- If possible, use ‘ms.json’ rather than ‘ms-My.json’. In particular, use ‘ms-My’ only if it is a Malay language that is used differently only in Malaysia.
|
|
128
|
+
|
|
129
|
+
## authentication
|
|
130
|
+
|
|
131
|
+
### things-factory/shell
|
|
132
|
+
|
|
133
|
+
- Control the authentication process through auth base.
|
|
134
|
+
- Set authentication through auth base.
|
|
135
|
+
- Provide auth action.
|
|
136
|
+
- You can change store through authentication related action.
|
|
137
|
+
- Provide auth reducer.
|
|
138
|
+
- That is, it sets through auth base and provides auth-related extension point.
|
|
139
|
+
- In particular, auth base function is provided directly in things-factory shell.
|
|
140
|
+
|
|
141
|
+
### things-factory/auth-ui
|
|
142
|
+
|
|
143
|
+
- Provide the client side authentication process based on JSON webtoken.
|
|
144
|
+
|
|
145
|
+
## prerequisites
|
|
146
|
+
|
|
147
|
+
- Install Windows Subsystem for Linux on Windows (Windows)
|
|
148
|
+
- Install WSL using Ubuntu following https://docs.microsoft.com/en-gb/windows/wsl/install-win10
|
|
149
|
+
- VS Code Extensions
|
|
150
|
+
- Prettier - Code formatter
|
|
151
|
+
- es6-string-css
|
|
152
|
+
- lit-html
|
|
153
|
+
- VS Code Configuration
|
|
154
|
+
- Format on save: true
|
|
155
|
+
- nodejs (v8.0.0 and above)
|
|
156
|
+
- yarn
|
|
157
|
+
- Chrome Browser Extension
|
|
158
|
+
- https://github.com/zalmoxisus/redux-devtools-extension
|
|
159
|
+
- Node-gyp (For Ubuntu)
|
|
160
|
+
- npm install -g node-gyp
|
|
161
|
+
- Python2 (For Ubuntu)
|
|
162
|
+
- sudo apt-get install python
|
|
163
|
+
- npm install --python=python2.7
|
|
164
|
+
- npm config set python python2.7
|
|
165
|
+
- mdns (For Ubuntu)
|
|
166
|
+
- sudo apt-get install build-essential
|
|
167
|
+
- sudo apt-get install libavahi-compat-libdnssd-dev
|
|
168
|
+
- node-printer (For Ubuntu)
|
|
169
|
+
- sudo apt-get install libcups2-dev
|
|
170
|
+
|
|
171
|
+
## Usages
|
|
172
|
+
|
|
173
|
+
The things-factory repo is managed as a monorepo that is composed of hundreds of npm packages.
|
|
174
|
+
Each package has its own `README.md` and documentation describing usage.
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
# very first time
|
|
178
|
+
$ yarn install
|
|
179
|
+
$ yarn build # build all packages
|
|
180
|
+
$ DEBUG=things-factory:*,typeorm:* yarn workspace @things-factory/operato-mms run migration
|
|
181
|
+
$ DEBUG=things-factory:* yarn workspace @things-factory/operato-mms run serve:dev
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
# after a new module package(ie. @things-factory/newbee) added
|
|
186
|
+
$ yarn install # make newbee package join
|
|
187
|
+
$ yarn workspace @things-factory/newbee build
|
|
188
|
+
$ DEBUG=things-factory:* yarn workspace @things-factory/operato-mms run serve:dev
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
```
|
|
192
|
+
# after a dependent package(ie. @things-factory/dependa) modified
|
|
193
|
+
$ yarn workspace @things-factory/dependa build
|
|
194
|
+
$ DEBUG=things-factory:* yarn workspace @things-factory/operato-mms run serve:dev
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
# run application (ie. @things-factory/operato-mms) in production mode
|
|
199
|
+
$ yarn workspace @things-factory/dependa build
|
|
200
|
+
$ yarn workspace @things-factory/dependa build:client
|
|
201
|
+
$ yarn workspace @things-factory/operato-mms run serve
|
|
202
|
+
|
|
203
|
+
# The way to use the config file is the same as before.
|
|
204
|
+
# Don't forget to give a config file to make the app run.
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
# generate new application (ie. @things-factory/operato-xyz)
|
|
209
|
+
$ yarn generate app
|
|
210
|
+
? What should this application's name be? Ex. operato-abc > # type "operato-xyz"
|
|
211
|
+
|
|
212
|
+
# generate new module (ie. @things-factory/notification)
|
|
213
|
+
$ yarn generate module
|
|
214
|
+
? What should this module's name be? Ex. menu > # type "notification"
|
|
215
|
+
|
|
216
|
+
# generate new entity in a module (ie. "sms" entity in @things-factory/notification module)
|
|
217
|
+
$ yarn generate entity
|
|
218
|
+
? What is target package's name? Ex. biz-base, operato-mms > # type "notification"
|
|
219
|
+
? What should this entitie's name be? Ex. company, company-ext > # type "sms"
|
|
220
|
+
|
|
221
|
+
# generate new page in a module (ie. "sms-view" page in @things-factory/notification module)
|
|
222
|
+
$ yarn generate page
|
|
223
|
+
? What is target package's name? Ex. biz-base, operato-mms > # type "notification"
|
|
224
|
+
? What should this pages's name be? Ex. abc-viewer > # type "sms-view"
|
|
225
|
+
|
|
226
|
+
# generate new scene-module from scratch (ie. @things-factory/scene-random)
|
|
227
|
+
$ yarn generate app
|
|
228
|
+
? What should this module's name be? Ex. random > # type "scene-random"
|
|
229
|
+
|
|
230
|
+
# generate new scene-component in a module (ie. "button" component in @things-factory/scene-switch module)
|
|
231
|
+
$ yarn generate component
|
|
232
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
233
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
234
|
+
|
|
235
|
+
# generate new container component in a module (ie. "button" container component in @things-factory/scene-switch module)
|
|
236
|
+
$ yarn generate container
|
|
237
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
238
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
239
|
+
|
|
240
|
+
# generate new html base scene component in a module (ie. "button" html-component in @things-factory/scene-switch module)
|
|
241
|
+
$ yarn generate html-component
|
|
242
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
243
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
244
|
+
|
|
245
|
+
# generate new data source scene component in a module (ie. "button" component in @things-factory/scene-switch module)
|
|
246
|
+
$ yarn generate data-source
|
|
247
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
248
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
249
|
+
|
|
250
|
+
# generate new data transform scene component in a module (ie. "button" component in @things-factory/scene-switch module)
|
|
251
|
+
$ yarn generate data-transform
|
|
252
|
+
? What is target package's name? Ex. switch > # type "switch"
|
|
253
|
+
? What should this component's name be? Ex. button > # type "button"
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
## References
|
|
257
|
+
|
|
258
|
+
- https://github.com/material-components/material-components-web-components
|